fix: export collectionTemplates
This commit is contained in:
parent
c9572fc9f6
commit
8e11e4d561
@ -3,7 +3,7 @@ import * as types from '../templates';
|
|||||||
|
|
||||||
export const templates = new Map<string, ISchema>();
|
export const templates = new Map<string, ISchema>();
|
||||||
|
|
||||||
const collectionTemplates: any = {};
|
export const collectionTemplates: any = {};
|
||||||
|
|
||||||
export function registerTemplate(key: string, schema: any) {
|
export function registerTemplate(key: string, schema: any) {
|
||||||
collectionTemplates[key] = schema;
|
collectionTemplates[key] = schema;
|
||||||
|
Loading…
Reference in New Issue
Block a user