From 8858cc27490b5006f2a1887d2b2d4b1c1977d37a Mon Sep 17 00:00:00 2001 From: Ivan Kiral Date: Wed, 25 Sep 2024 08:23:39 +0200 Subject: [PATCH] fixup add workflows validation --- src/modules/sync/utils/getContentModel.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/sync/utils/getContentModel.ts b/src/modules/sync/utils/getContentModel.ts index d22ce84f..8ce1f171 100644 --- a/src/modules/sync/utils/getContentModel.ts +++ b/src/modules/sync/utils/getContentModel.ts @@ -17,6 +17,7 @@ import { spacesFileName, taxonomiesFileName, webSpotlightFileName, + workflowsFileName, } from "../constants/filename.js"; import { fetchModel, transformSyncModel } from "../generateSyncModel.js"; import { FileContentModel } from "../types/fileContentModel.js"; @@ -29,6 +30,7 @@ import { SyncTaxonomySchema, SyncTypesSchema, SyncWebSpotlightSchema, + SyncWorkflowSchema, } from "../validation/syncSchemas.js"; import { getRequiredCodenames } from "./contentTypeHelpers.js"; import { fetchRequiredAssetsByCodename, fetchRequiredContentItemsByCodename } from "./fetchers.js"; @@ -47,6 +49,7 @@ export const readContentModelFromFolder = async (folderName: string): Promise): a is ParseError => !a.success;