Skip to content

Commit

Permalink
Fix build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Aug 25, 2024
1 parent 989e18c commit 5241006
Show file tree
Hide file tree
Showing 180 changed files with 286 additions and 279 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/setup-node@v3

- name: Compile
run: yarn && yarn build
run: npm build

publish:
needs: [ compile ]
Expand All @@ -29,10 +29,10 @@ jobs:
uses: actions/setup-node@v3

- name: Install dependencies
run: yarn install
run: npm install

- name: Build
run: yarn build
run: npm build

- name: Publish to npm
run: |
Expand Down
11 changes: 9 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/generated/models/AddFieldDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface AddFieldDto {
/**
* Check if a given object implements the AddFieldDto interface.
*/
export function instanceOfAddFieldDto(value: object): value is AddFieldDto {
export function instanceOfAddFieldDto(value: any): value is AddFieldDto {
if (!('name' in value) || value['name'] === undefined) return false;
if (!('properties' in value) || value['properties'] === undefined) return false;
return true;
Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/AddLanguageDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface AddLanguageDto {
/**
* Check if a given object implements the AddLanguageDto interface.
*/
export function instanceOfAddLanguageDto(value: object): value is AddLanguageDto {
export function instanceOfAddLanguageDto(value: any): value is AddLanguageDto {
if (!('language' in value) || value['language'] === undefined) return false;
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/AddRoleDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface AddRoleDto {
/**
* Check if a given object implements the AddRoleDto interface.
*/
export function instanceOfAddRoleDto(value: object): value is AddRoleDto {
export function instanceOfAddRoleDto(value: any): value is AddRoleDto {
if (!('name' in value) || value['name'] === undefined) return false;
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/AddWorkflowDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface AddWorkflowDto {
/**
* Check if a given object implements the AddWorkflowDto interface.
*/
export function instanceOfAddWorkflowDto(value: object): value is AddWorkflowDto {
export function instanceOfAddWorkflowDto(value: any): value is AddWorkflowDto {
if (!('name' in value) || value['name'] === undefined) return false;
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/AlgoliaRuleActionDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface AlgoliaRuleActionDto extends RuleActionDto {
/**
* Check if a given object implements the AlgoliaRuleActionDto interface.
*/
export function instanceOfAlgoliaRuleActionDto(value: object): value is AlgoliaRuleActionDto {
export function instanceOfAlgoliaRuleActionDto(value: any): value is AlgoliaRuleActionDto {
if (!('appId' in value) || value['appId'] === undefined) return false;
if (!('apiKey' in value) || value['apiKey'] === undefined) return false;
if (!('indexName' in value) || value['indexName'] === undefined) return false;
Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/AllContentsByPostDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export interface AllContentsByPostDto {
/**
* Check if a given object implements the AllContentsByPostDto interface.
*/
export function instanceOfAllContentsByPostDto(value: object): value is AllContentsByPostDto {
export function instanceOfAllContentsByPostDto(value: any): value is AllContentsByPostDto {
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/AnnotateAssetDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface AnnotateAssetDto {
/**
* Check if a given object implements the AnnotateAssetDto interface.
*/
export function instanceOfAnnotateAssetDto(value: object): value is AnnotateAssetDto {
export function instanceOfAnnotateAssetDto(value: any): value is AnnotateAssetDto {
return true;
}

Expand Down
4 changes: 2 additions & 2 deletions src/generated/models/AppDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export interface AppDto {
/**
* Check if a given object implements the AppDto interface.
*/
export function instanceOfAppDto(value: object): value is AppDto {
export function instanceOfAppDto(value: any): value is AppDto {
if (!('links' in value) || value['links'] === undefined) return false;
if (!('id' in value) || value['id'] === undefined) return false;
if (!('name' in value) || value['name'] === undefined) return false;
Expand Down Expand Up @@ -164,7 +164,7 @@ export function AppDtoToJSON(value?: AppDto | null, ignoreDiscriminator = false)
}
return {

'_links': (mapValues(value['links'], ResourceLinkToJSON)),
'_links': (mapValues(value['links'], x => ResourceLinkToJSON(x))),
'id': value['id'],
'name': value['name'],
'label': value['label'],
Expand Down
4 changes: 2 additions & 2 deletions src/generated/models/AppLanguageDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export interface AppLanguageDto {
/**
* Check if a given object implements the AppLanguageDto interface.
*/
export function instanceOfAppLanguageDto(value: object): value is AppLanguageDto {
export function instanceOfAppLanguageDto(value: any): value is AppLanguageDto {
if (!('links' in value) || value['links'] === undefined) return false;
if (!('iso2Code' in value) || value['iso2Code'] === undefined) return false;
if (!('englishName' in value) || value['englishName'] === undefined) return false;
Expand Down Expand Up @@ -103,7 +103,7 @@ export function AppLanguageDtoToJSON(value?: AppLanguageDto | null, ignoreDiscri
}
return {

'_links': (mapValues(value['links'], ResourceLinkToJSON)),
'_links': (mapValues(value['links'], x => ResourceLinkToJSON(x))),
'iso2Code': value['iso2Code'],
'englishName': value['englishName'],
'fallback': value['fallback'],
Expand Down
6 changes: 3 additions & 3 deletions src/generated/models/AppLanguagesDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface AppLanguagesDto {
/**
* Check if a given object implements the AppLanguagesDto interface.
*/
export function instanceOfAppLanguagesDto(value: object): value is AppLanguagesDto {
export function instanceOfAppLanguagesDto(value: any): value is AppLanguagesDto {
if (!('links' in value) || value['links'] === undefined) return false;
if (!('items' in value) || value['items'] === undefined) return false;
return true;
Expand All @@ -77,7 +77,7 @@ export function AppLanguagesDtoToJSON(value?: AppLanguagesDto | null, ignoreDisc
}
return {

'_links': (mapValues(value['links'], ResourceLinkToJSON)),
'items': ((value['items'] as Array<any>).map(AppLanguageDtoToJSON)),
'_links': (mapValues(value['links'], x => ResourceLinkToJSON(x))),
'items': ((value['items'] as Array<any>).map(x => AppLanguageDtoToJSON(x))),
};
}
8 changes: 4 additions & 4 deletions src/generated/models/AppSettingsDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export interface AppSettingsDto {
/**
* Check if a given object implements the AppSettingsDto interface.
*/
export function instanceOfAppSettingsDto(value: object): value is AppSettingsDto {
export function instanceOfAppSettingsDto(value: any): value is AppSettingsDto {
if (!('links' in value) || value['links'] === undefined) return false;
if (!('patterns' in value) || value['patterns'] === undefined) return false;
if (!('editors' in value) || value['editors'] === undefined) return false;
Expand Down Expand Up @@ -115,9 +115,9 @@ export function AppSettingsDtoToJSON(value?: AppSettingsDto | null, ignoreDiscri
}
return {

'_links': (mapValues(value['links'], ResourceLinkToJSON)),
'patterns': ((value['patterns'] as Array<any>).map(PatternDtoToJSON)),
'editors': ((value['editors'] as Array<any>).map(EditorDtoToJSON)),
'_links': (mapValues(value['links'], x => ResourceLinkToJSON(x))),
'patterns': ((value['patterns'] as Array<any>).map(x => PatternDtoToJSON(x))),
'editors': ((value['editors'] as Array<any>).map(x => EditorDtoToJSON(x))),
'hideScheduler': value['hideScheduler'],
'hideDateTimeModeButton': value['hideDateTimeModeButton'],
'version': value['version'],
Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/ArrayFieldPropertiesDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface ArrayFieldPropertiesDto extends FieldPropertiesDto {
/**
* Check if a given object implements the ArrayFieldPropertiesDto interface.
*/
export function instanceOfArrayFieldPropertiesDto(value: object): value is ArrayFieldPropertiesDto {
export function instanceOfArrayFieldPropertiesDto(value: any): value is ArrayFieldPropertiesDto {
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/AssetChangedRuleTriggerDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface AssetChangedRuleTriggerDto extends RuleTriggerDto {
/**
* Check if a given object implements the AssetChangedRuleTriggerDto interface.
*/
export function instanceOfAssetChangedRuleTriggerDto(value: object): value is AssetChangedRuleTriggerDto {
export function instanceOfAssetChangedRuleTriggerDto(value: any): value is AssetChangedRuleTriggerDto {
return true;
}

Expand Down
4 changes: 2 additions & 2 deletions src/generated/models/AssetDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export interface AssetDto {
/**
* Check if a given object implements the AssetDto interface.
*/
export function instanceOfAssetDto(value: object): value is AssetDto {
export function instanceOfAssetDto(value: any): value is AssetDto {
if (!('links' in value) || value['links'] === undefined) return false;
if (!('id' in value) || value['id'] === undefined) return false;
if (!('parentId' in value) || value['parentId'] === undefined) return false;
Expand Down Expand Up @@ -266,7 +266,7 @@ export function AssetDtoToJSON(value?: AssetDto | null, ignoreDiscriminator = fa
}
return {

'_links': (mapValues(value['links'], ResourceLinkToJSON)),
'_links': (mapValues(value['links'], x => ResourceLinkToJSON(x))),
'id': value['id'],
'parentId': value['parentId'],
'fileName': value['fileName'],
Expand Down
4 changes: 2 additions & 2 deletions src/generated/models/AssetFolderDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface AssetFolderDto {
/**
* Check if a given object implements the AssetFolderDto interface.
*/
export function instanceOfAssetFolderDto(value: object): value is AssetFolderDto {
export function instanceOfAssetFolderDto(value: any): value is AssetFolderDto {
if (!('links' in value) || value['links'] === undefined) return false;
if (!('id' in value) || value['id'] === undefined) return false;
if (!('parentId' in value) || value['parentId'] === undefined) return false;
Expand Down Expand Up @@ -95,7 +95,7 @@ export function AssetFolderDtoToJSON(value?: AssetFolderDto | null, ignoreDiscri
}
return {

'_links': (mapValues(value['links'], ResourceLinkToJSON)),
'_links': (mapValues(value['links'], x => ResourceLinkToJSON(x))),
'id': value['id'],
'parentId': value['parentId'],
'folderName': value['folderName'],
Expand Down
8 changes: 4 additions & 4 deletions src/generated/models/AssetFoldersDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface AssetFoldersDto {
/**
* Check if a given object implements the AssetFoldersDto interface.
*/
export function instanceOfAssetFoldersDto(value: object): value is AssetFoldersDto {
export function instanceOfAssetFoldersDto(value: any): value is AssetFoldersDto {
if (!('links' in value) || value['links'] === undefined) return false;
if (!('total' in value) || value['total'] === undefined) return false;
if (!('items' in value) || value['items'] === undefined) return false;
Expand Down Expand Up @@ -93,9 +93,9 @@ export function AssetFoldersDtoToJSON(value?: AssetFoldersDto | null, ignoreDisc
}
return {

'_links': (mapValues(value['links'], ResourceLinkToJSON)),
'_links': (mapValues(value['links'], x => ResourceLinkToJSON(x))),
'total': value['total'],
'items': ((value['items'] as Array<any>).map(AssetFolderDtoToJSON)),
'path': ((value['path'] as Array<any>).map(AssetFolderDtoToJSON)),
'items': ((value['items'] as Array<any>).map(x => AssetFolderDtoToJSON(x))),
'path': ((value['path'] as Array<any>).map(x => AssetFolderDtoToJSON(x))),
};
}
2 changes: 1 addition & 1 deletion src/generated/models/AssetMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface AssetMeta {
/**
* Check if a given object implements the AssetMeta interface.
*/
export function instanceOfAssetMeta(value: object): value is AssetMeta {
export function instanceOfAssetMeta(value: any): value is AssetMeta {
if (!('isDuplicate' in value) || value['isDuplicate'] === undefined) return false;
return true;
}
Expand Down
4 changes: 2 additions & 2 deletions src/generated/models/AssetScriptsDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export interface AssetScriptsDto {
/**
* Check if a given object implements the AssetScriptsDto interface.
*/
export function instanceOfAssetScriptsDto(value: object): value is AssetScriptsDto {
export function instanceOfAssetScriptsDto(value: any): value is AssetScriptsDto {
if (!('links' in value) || value['links'] === undefined) return false;
if (!('version' in value) || value['version'] === undefined) return false;
return true;
Expand Down Expand Up @@ -120,7 +120,7 @@ export function AssetScriptsDtoToJSON(value?: AssetScriptsDto | null, ignoreDisc
}
return {

'_links': (mapValues(value['links'], ResourceLinkToJSON)),
'_links': (mapValues(value['links'], x => ResourceLinkToJSON(x))),
'query': value['query'],
'queryPre': value['queryPre'],
'create': value['create'],
Expand Down
6 changes: 3 additions & 3 deletions src/generated/models/AssetsDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface AssetsDto {
/**
* Check if a given object implements the AssetsDto interface.
*/
export function instanceOfAssetsDto(value: object): value is AssetsDto {
export function instanceOfAssetsDto(value: any): value is AssetsDto {
if (!('links' in value) || value['links'] === undefined) return false;
if (!('total' in value) || value['total'] === undefined) return false;
if (!('items' in value) || value['items'] === undefined) return false;
Expand Down Expand Up @@ -85,8 +85,8 @@ export function AssetsDtoToJSON(value?: AssetsDto | null, ignoreDiscriminator =
}
return {

'_links': (mapValues(value['links'], ResourceLinkToJSON)),
'_links': (mapValues(value['links'], x => ResourceLinkToJSON(x))),
'total': value['total'],
'items': ((value['items'] as Array<any>).map(AssetDtoToJSON)),
'items': ((value['items'] as Array<any>).map(x => AssetDtoToJSON(x))),
};
}
2 changes: 1 addition & 1 deletion src/generated/models/AssetsFieldPropertiesDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export interface AssetsFieldPropertiesDto extends FieldPropertiesDto {
/**
* Check if a given object implements the AssetsFieldPropertiesDto interface.
*/
export function instanceOfAssetsFieldPropertiesDto(value: object): value is AssetsFieldPropertiesDto {
export function instanceOfAssetsFieldPropertiesDto(value: any): value is AssetsFieldPropertiesDto {
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/AssignContributorDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface AssignContributorDto {
/**
* Check if a given object implements the AssignContributorDto interface.
*/
export function instanceOfAssignContributorDto(value: object): value is AssignContributorDto {
export function instanceOfAssignContributorDto(value: any): value is AssignContributorDto {
if (!('contributorId' in value) || value['contributorId'] === undefined) return false;
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/AuthSchemeDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export interface AuthSchemeDto {
/**
* Check if a given object implements the AuthSchemeDto interface.
*/
export function instanceOfAuthSchemeDto(value: object): value is AuthSchemeDto {
export function instanceOfAuthSchemeDto(value: any): value is AuthSchemeDto {
if (!('domain' in value) || value['domain'] === undefined) return false;
if (!('displayName' in value) || value['displayName'] === undefined) return false;
if (!('clientId' in value) || value['clientId'] === undefined) return false;
Expand Down
Loading

0 comments on commit 5241006

Please sign in to comment.