Devrel 1216/sync workflows #592
Annotations
2 errors
build:
src/modules/sync/utils/getContentModel.ts#L63
Property 'workflows' is missing in type '{ contentTypes: readonly (Omit<Omit<ContentTypeContracts.IContentTypeContract, "id" | "external_id" | "last_modified">, "codename" | "elements" | "content_groups"> & Readonly<Readonly<{ codename: string; elements: ReadonlyArray<Replace<SyncTypeElement, { codename: string; }>>; content_groups?: ReadonlyArray<Replace<ContentTypeContracts.IContentTypeGroup, { codename: string; }>>; }>>)[]; contentTypeSnippets: readonly (Omit<Omit<ContentTypeSnippetContracts.IContentTypeSnippetContract, "id" | "external_id" | "last_modified">, "codename" | "elements"> & Readonly<Readonly<{ codename: string; elements: ReadonlyArray<SyncSnippetElement>; }>>)[]; taxonomyGroups: readonly (Omit<Omit<TaxonomyContracts.ITaxonomyContract, "id" | "external_id" | "last_modified">, "codename" | "terms"> & Readonly<Readonly<{ codename: string; terms: ReadonlyArray<TaxonomySyncModel>; }>>)[]; collections: readonly (Omit<Omit<TaxonomyContracts.ITaxonomyContract, "id" | "external_id" | "last_modified">, "codename" | "terms"> & Readonly<Readonly<{ codename: string; terms: ReadonlyArray<TaxonomySyncModel>; }>>)[]; webSpotlight: Omit<WebSpotlightContracts.IWebSpotlightStatus, "root_type"> & Readonly<{ root_type: Readonly<{ codename: string; }> | null; }>; assetFolders: readonly (Omit<Omit<AssetFolderContracts.IAssetFolderContract, "id" | "external_id">, "folders"> & Readonly<Readonly<{ folders: ReadonlyArray<AssetFolderSyncModel>; }>>)[]; spaces: readonly (Omit<Omit<SpaceContracts.ISpaceContract, "id">, "collections" | "web_spotlight_root_item"> & Readonly<Readonly<{ web_spotlight_root_item?: Readonly<{ codename: string; }>; collections: ReadonlyArray<Readonly<{ codename: string; }>>; }>>)[]; languages: readonly (Omit<Omit<LanguageContracts.ILanguageModelContract, "id" | "external_id">, "fallback_language"> & Readonly<Readonly<{ fallback_language?: CodenameReference; }>>)[]; }' but required in type 'Readonly<{ taxonomyGroups: readonly (Omit<Omit<ITaxonomyContract, "id" | "external_id" | "last_modified">, "codename" | "terms"> & Readonly<Readonly<{ codename: string; terms: readonly (Omit<Omit<ITaxonomyContract, "id" | "external_id" | "last_modified">, "codename" | "terms"> & Readonly<Readonly<any>>)[]; }>>)[]; contentTypeSnippets: readonly (Omit<Omit<IContentTypeSnippetContract, "id" | "external_id" | "last_modified">, "codename" | "elements"> & Readonly<Readonly<{ codename: string; elements: readonly SyncSnippetElement[]; }>>)[]; contentTypes: readonly (Omit<Omit<IContentTypeContract, "id" | "external_id" | "last_modified">, "codename" | "elements" | "content_groups"> & Readonly<Readonly<{ codename: string; elements: readonly Replace<SyncTypeElement, { codename: string; }>[]; content_groups?: readonly (Omit<IContentTypeGroup, "codename"> & Readonly<{ codename: string; }>)[] | undefined; }>>)[]; webSpotlight: Omit<IWebSpotlightStatus, "root_type"> & Readonly<{ root_type: Readonly<{ codename: string; }> | null; }>; assetFolders: readonly (Omit<Omit<IAssetFolderContract, "id" | "external_id">, "folders"> & Readonly<Readonly<{ folders: readonly (Omit<Omit<IAssetFolderContract, "id" | "external_id">, "folders"> & Readonly<Readonly<any>>)[]; }>>)[]; collections: readonly CollectionSyncModel[]; spaces: readonly (Omit<Omit<ISpaceContract, "id">, "collections" | "web_spotlight_root_item"> & Readonly<Readonly<{ web_spotlight_root_item?: Readonly<{ codename: string; }> | undefined; collections: readonly Readonly<{ codename: string; }>[]; }>>)[]; languages: readonly (Omit<Omit<ILanguageModelContract, "id" | "external_id">, "fallback_language"> & Readonly<Readonly<{ fallback_language?: Readonly<{ codename: string; }> | undefined; }>>)[]; workflows: readonly (Omit<Omit<IWorkflowContract, "id" | "scheduled_step">, "scopes" | "steps" | "published_step" | "archived_step"> & Readonly<Readonly<{ scopes: { content_types: Readonly<{ codename: string; }>[]; collections: Readonly<{ codename: string; }>[]; }[]; steps: (Omit<Omit<IWorkflowStepNewContract, "id">, "transitions_to"> & Readonly<Readonly<{ transitions_to: { step: Readonly<{ codenam
|
build
Process completed with exit code 2.
|