From 8e11e4d56175f0aad49c9c9de307b7cec964ffe6 Mon Sep 17 00:00:00 2001 From: Chareice Date: Fri, 24 Feb 2023 20:49:00 +0800 Subject: [PATCH] fix: export collectionTemplates --- .../client/src/collection-manager/Configuration/templates.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/collection-manager/Configuration/templates.tsx b/packages/core/client/src/collection-manager/Configuration/templates.tsx index 7b6b95a62..49b9fd1e2 100644 --- a/packages/core/client/src/collection-manager/Configuration/templates.tsx +++ b/packages/core/client/src/collection-manager/Configuration/templates.tsx @@ -3,7 +3,7 @@ import * as types from '../templates'; export const templates = new Map(); -const collectionTemplates: any = {}; +export const collectionTemplates: any = {}; export function registerTemplate(key: string, schema: any) { collectionTemplates[key] = schema;