From 424a5f74617dbfefdce879657112bcfc3b960561 Mon Sep 17 00:00:00 2001 From: Miroir Framework Date: Tue, 6 Aug 2024 00:21:28 +0200 Subject: [PATCH] create basic elements for Miroir Action Script (MAS), migrate Tools.submit to MAS #28. refactor fetchQuery attribute to "extractors" in Reports, so that "pure" extraction and join extraction are handled separately. Migrated all reports to new format. --- .../miroirFundamentalJzodSchema.ts | 6 ++++++ .../preprocessor-generated/miroirFundamentalType.ts | 12 ++++++------ .../08acd6c2-710a-4b17-a92a-60b81c936cfc.json | 2 -- .../2d690e4f-16f6-4332-be6c-45d5179b3981.json | 2 -- .../e4488cba-b743-4b46-80e5-18c441c9882c.json | 2 -- .../faaf8c68-020a-48b1-b439-abc196855295.json | 2 -- .../3df9413d-5050-4357-910c-f764aacae7e6.json | 2 -- .../8adee3d5-f8cc-4118-aa02-5a2cd07908aa.json | 2 -- .../6d9faa54-643c-4aec-87c3-32635ad95902.json | 2 +- .../952d2c65-4da2-45c2-9394-a0920ceedfb6.json | 1 + 10 files changed, 14 insertions(+), 19 deletions(-) diff --git a/packages/miroir-core/src/0_interfaces/1_core/preprocessor-generated/miroirFundamentalJzodSchema.ts b/packages/miroir-core/src/0_interfaces/1_core/preprocessor-generated/miroirFundamentalJzodSchema.ts index a156362e..ca30351c 100644 --- a/packages/miroir-core/src/0_interfaces/1_core/preprocessor-generated/miroirFundamentalJzodSchema.ts +++ b/packages/miroir-core/src/0_interfaces/1_core/preprocessor-generated/miroirFundamentalJzodSchema.ts @@ -2801,6 +2801,7 @@ export const miroirFundamentalJzodSchema = { }, "fetchQuery": { "type": "schemaReference", + "optional": true, "definition": { "absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739", "relativePath": "miroirSelectQueriesRecord" @@ -3364,6 +3365,7 @@ export const miroirFundamentalJzodSchema = { }, "fetchQuery": { "type": "schemaReference", + "optional": true, "definition": { "absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739", "relativePath": "miroirSelectQueriesRecord" @@ -16222,10 +16224,12 @@ export const miroirFundamentalJzodSchema = { ] }, "fetchQuery": { + "optional": true, "type": "union", "definition": [ { "type": "schemaReference", + "optional": true, "definition": { "relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_miroirSelectQueriesRecord" }, @@ -17409,10 +17413,12 @@ export const miroirFundamentalJzodSchema = { ] }, "fetchQuery": { + "optional": true, "type": "union", "definition": [ { "type": "schemaReference", + "optional": true, "definition": { "absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739", "relativePath": "miroirSelectQueriesRecord" diff --git a/packages/miroir-core/src/0_interfaces/1_core/preprocessor-generated/miroirFundamentalType.ts b/packages/miroir-core/src/0_interfaces/1_core/preprocessor-generated/miroirFundamentalType.ts index 22f9c6cd..b9302d0b 100644 --- a/packages/miroir-core/src/0_interfaces/1_core/preprocessor-generated/miroirFundamentalType.ts +++ b/packages/miroir-core/src/0_interfaces/1_core/preprocessor-generated/miroirFundamentalType.ts @@ -682,7 +682,7 @@ export type RootReportSection = { extractors?: { [x: string]: QuerySelectExtractor; } | undefined; - fetchQuery: MiroirSelectQueriesRecord; + fetchQuery?: MiroirSelectQueriesRecord | undefined; section: ReportSection; }; export type JzodObjectOrReference = JzodReference | JzodObject; @@ -717,7 +717,7 @@ export type Report = { extractors?: { [x: string]: QuerySelectExtractor; } | undefined; - fetchQuery: MiroirSelectQueriesRecord; + fetchQuery?: MiroirSelectQueriesRecord | undefined; section: ReportSection; }; }; @@ -2200,7 +2200,7 @@ export type CarryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_rootReportSection = Car extractors?: (({ [x: string]: CarryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_querySelectExtractor | CarryOnObject; } | undefined) | CarryOnObject) | undefined; - fetchQuery: CarryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_miroirSelectQueriesRecord | CarryOnObject; + fetchQuery?: ((CarryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_miroirSelectQueriesRecord | undefined) | CarryOnObject) | undefined; section: CarryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_reportSection | CarryOnObject; }; export type CarryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_report = CarryOnObject | { @@ -2773,10 +2773,10 @@ export const objectListReportSection: z.ZodType = z.obj export const gridReportSection: z.ZodType = z.object({type:z.literal("grid"), fetchQuery:z.lazy(() =>miroirSelectQueriesRecord).optional(), selectData:z.lazy(() =>miroirSelectQueriesRecord).optional(), definition:z.array(z.array(z.lazy(() =>reportSection)))}).strict(); export const listReportSection: z.ZodType = z.object({type:z.literal("list"), fetchQuery:z.lazy(() =>miroirSelectQueriesRecord).optional(), selectData:z.lazy(() =>miroirSelectQueriesRecord).optional(), definition:z.array(z.union([z.lazy(() =>objectInstanceReportSection), z.lazy(() =>objectListReportSection)]))}).strict(); export const reportSection: z.ZodType = z.union([z.lazy(() =>gridReportSection), z.lazy(() =>listReportSection), z.lazy(() =>objectListReportSection), z.lazy(() =>objectInstanceReportSection)]); -export const rootReportSection: z.ZodType = z.object({reportParametersToFetchQueryParametersTransformer:z.record(z.string(),z.string()).optional(), reportParameters:z.record(z.string(),z.string()).optional(), extractors:z.record(z.string(),z.lazy(() =>querySelectExtractor)).optional(), fetchQuery:z.lazy(() =>miroirSelectQueriesRecord), section:z.lazy(() =>reportSection)}).strict(); +export const rootReportSection: z.ZodType = z.object({reportParametersToFetchQueryParametersTransformer:z.record(z.string(),z.string()).optional(), reportParameters:z.record(z.string(),z.string()).optional(), extractors:z.record(z.string(),z.lazy(() =>querySelectExtractor)).optional(), fetchQuery:z.lazy(() =>miroirSelectQueriesRecord).optional(), section:z.lazy(() =>reportSection)}).strict(); export const jzodObjectOrReference: z.ZodType = z.union([z.lazy(() =>jzodReference), z.lazy(() =>jzodObject)]); export const jzodSchema: z.ZodType = z.object({uuid:z.string().uuid(), parentName:z.string(), parentUuid:z.string().uuid(), parentDefinitionVersionUuid:z.string().uuid().optional(), name:z.string(), conceptLevel:z.enum(["MetaModel","Model","Data"]).optional(), defaultLabel:z.string().optional(), description:z.string().optional(), definition:z.lazy(() =>jzodObjectOrReference).optional()}).strict(); -export const report: z.ZodType = z.object({uuid:z.string().uuid(), parentName:z.string().optional(), parentUuid:z.string().uuid(), parentDefinitionVersionUuid:z.string().uuid().optional(), conceptLevel:z.enum(["MetaModel","Model","Data"]).optional(), name:z.string(), defaultLabel:z.string(), type:z.enum(["list","grid"]).optional(), application:z.string().uuid().optional(), definition:z.object({reportParametersToFetchQueryParametersTransformer:z.record(z.string(),z.string()).optional(), reportParameters:z.record(z.string(),z.string()).optional(), extractors:z.record(z.string(),z.lazy(() =>querySelectExtractor)).optional(), fetchQuery:z.lazy(() =>miroirSelectQueriesRecord), section:z.lazy(() =>reportSection)}).strict()}).strict(); +export const report: z.ZodType = z.object({uuid:z.string().uuid(), parentName:z.string().optional(), parentUuid:z.string().uuid(), parentDefinitionVersionUuid:z.string().uuid().optional(), conceptLevel:z.enum(["MetaModel","Model","Data"]).optional(), name:z.string(), defaultLabel:z.string(), type:z.enum(["list","grid"]).optional(), application:z.string().uuid().optional(), definition:z.object({reportParametersToFetchQueryParametersTransformer:z.record(z.string(),z.string()).optional(), reportParameters:z.record(z.string(),z.string()).optional(), extractors:z.record(z.string(),z.lazy(() =>querySelectExtractor)).optional(), fetchQuery:z.lazy(() =>miroirSelectQueriesRecord).optional(), section:z.lazy(() =>reportSection)}).strict()}).strict(); export const metaModel: z.ZodType = z.object({applicationVersions:z.array(z.lazy(() =>applicationVersion)), applicationVersionCrossEntityDefinition:z.array(z.object({uuid:z.string().uuid(), parentName:z.string().optional(), parentUuid:z.string().uuid(), conceptLevel:z.enum(["MetaModel","Model","Data"]).optional(), applicationVersion:z.string().uuid(), entityDefinition:z.string().uuid()}).strict()), configuration:z.array(z.lazy(() =>storeBasedConfiguration)), entities:z.array(z.lazy(() =>entity)), entityDefinitions:z.array(z.lazy(() =>entityDefinition)), jzodSchemas:z.array(z.lazy(() =>jzodSchema)), menus:z.array(z.lazy(() =>menu)), reports:z.array(z.lazy(() =>report))}).strict(); export const _________________________________configuration_and_bundles_________________________________: z.ZodType<_________________________________configuration_and_bundles_________________________________> = z.never(); export const indexedDbStoreSectionConfiguration: z.ZodType = z.object({emulatedServerType:z.literal("indexedDb"), indexedDbName:z.string()}).strict(); @@ -2946,7 +2946,7 @@ export const carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_objectListReportSectio export const carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_gridReportSection: z.ZodType = z.union([z.lazy(() =>carryOnObject), z.object({type:z.union([z.literal("grid"), z.lazy(() =>carryOnObject)]), fetchQuery:z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_miroirSelectQueriesRecord).optional(), z.lazy(() =>carryOnObject)]).optional(), selectData:z.union([z.lazy(() =>miroirSelectQueriesRecord).optional(), z.lazy(() =>carryOnObject)]).optional(), definition:z.union([z.array(z.union([z.array(z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_reportSection), z.lazy(() =>carryOnObject)])), z.lazy(() =>carryOnObject)])), z.lazy(() =>carryOnObject)])}).strict()]); export const carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_listReportSection: z.ZodType = z.union([z.lazy(() =>carryOnObject), z.object({type:z.union([z.literal("list"), z.lazy(() =>carryOnObject)]), fetchQuery:z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_miroirSelectQueriesRecord).optional(), z.lazy(() =>carryOnObject)]).optional(), selectData:z.union([z.lazy(() =>miroirSelectQueriesRecord).optional(), z.lazy(() =>carryOnObject)]).optional(), definition:z.union([z.array(z.union([z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_objectInstanceReportSection), z.lazy(() =>carryOnObject)]), z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_objectListReportSection), z.lazy(() =>carryOnObject)]), z.lazy(() =>carryOnObject)])), z.lazy(() =>carryOnObject)])}).strict()]); export const carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_reportSection: z.ZodType = z.union([z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_gridReportSection), z.lazy(() =>carryOnObject)]), z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_listReportSection), z.lazy(() =>carryOnObject)]), z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_objectListReportSection), z.lazy(() =>carryOnObject)]), z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_objectInstanceReportSection), z.lazy(() =>carryOnObject)]), z.lazy(() =>carryOnObject)]); -export const carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_rootReportSection: z.ZodType = z.union([z.lazy(() =>carryOnObject), z.object({reportParametersToFetchQueryParametersTransformer:z.union([z.record(z.string(),z.union([z.string(), z.lazy(() =>carryOnObject)])).optional(), z.lazy(() =>carryOnObject)]).optional(), reportParameters:z.union([z.record(z.string(),z.union([z.string(), z.lazy(() =>carryOnObject)])).optional(), z.lazy(() =>carryOnObject)]).optional(), extractors:z.union([z.record(z.string(),z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_querySelectExtractor), z.lazy(() =>carryOnObject)])).optional(), z.lazy(() =>carryOnObject)]).optional(), fetchQuery:z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_miroirSelectQueriesRecord), z.lazy(() =>carryOnObject)]), section:z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_reportSection), z.lazy(() =>carryOnObject)])}).strict()]); +export const carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_rootReportSection: z.ZodType = z.union([z.lazy(() =>carryOnObject), z.object({reportParametersToFetchQueryParametersTransformer:z.union([z.record(z.string(),z.union([z.string(), z.lazy(() =>carryOnObject)])).optional(), z.lazy(() =>carryOnObject)]).optional(), reportParameters:z.union([z.record(z.string(),z.union([z.string(), z.lazy(() =>carryOnObject)])).optional(), z.lazy(() =>carryOnObject)]).optional(), extractors:z.union([z.record(z.string(),z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_querySelectExtractor), z.lazy(() =>carryOnObject)])).optional(), z.lazy(() =>carryOnObject)]).optional(), fetchQuery:z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_miroirSelectQueriesRecord).optional(), z.lazy(() =>carryOnObject)]).optional(), section:z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_reportSection), z.lazy(() =>carryOnObject)])}).strict()]); export const carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_report: z.ZodType = z.union([z.lazy(() =>carryOnObject), z.object({uuid:z.union([z.string().uuid(), z.lazy(() =>carryOnObject)]), parentName:z.union([z.string().optional(), z.lazy(() =>carryOnObject)]).optional(), parentUuid:z.union([z.string().uuid(), z.lazy(() =>carryOnObject)]), parentDefinitionVersionUuid:z.union([z.string().uuid().optional(), z.lazy(() =>carryOnObject)]).optional(), conceptLevel:z.union([z.enum(["MetaModel","Model","Data"]).optional(), z.lazy(() =>carryOnObject)]).optional(), name:z.union([z.string(), z.lazy(() =>carryOnObject)]), defaultLabel:z.union([z.string(), z.lazy(() =>carryOnObject)]), type:z.union([z.enum(["list","grid"]).optional(), z.lazy(() =>carryOnObject)]).optional(), application:z.union([z.string().uuid().optional(), z.lazy(() =>carryOnObject)]).optional(), definition:z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_rootReportSection), z.lazy(() =>carryOnObject)])}).strict()]); export const carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_transformer: z.ZodType = z.union([z.object({transformerType:z.union([z.literal("objectTransformer"), z.lazy(() =>carryOnObject)]), attributeName:z.union([z.string(), z.lazy(() =>carryOnObject)])}).strict(), z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_recordOfTransformers), z.lazy(() =>carryOnObject)]), z.lazy(() =>carryOnObject)]); export const carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_recordOfTransformers: z.ZodType = z.union([z.lazy(() =>carryOnObject), z.object({transformerType:z.union([z.literal("recordOfTransformers"), z.lazy(() =>carryOnObject)]), definition:z.union([z.record(z.string(),z.union([z.lazy(() =>carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_transformer), z.lazy(() =>carryOnObject)])), z.lazy(() =>carryOnObject)])}).strict()]); diff --git a/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/08acd6c2-710a-4b17-a92a-60b81c936cfc.json b/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/08acd6c2-710a-4b17-a92a-60b81c936cfc.json index c18bd771..52ce245d 100644 --- a/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/08acd6c2-710a-4b17-a92a-60b81c936cfc.json +++ b/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/08acd6c2-710a-4b17-a92a-60b81c936cfc.json @@ -21,8 +21,6 @@ } } }, - "fetchQuery": { - }, "section": { "type": "list", "definition": [ diff --git a/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/2d690e4f-16f6-4332-be6c-45d5179b3981.json b/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/2d690e4f-16f6-4332-be6c-45d5179b3981.json index fa4f1edc..c5634750 100644 --- a/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/2d690e4f-16f6-4332-be6c-45d5179b3981.json +++ b/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/2d690e4f-16f6-4332-be6c-45d5179b3981.json @@ -17,8 +17,6 @@ } } }, - "fetchQuery": { - }, "section": { "type":"objectListReportSection", "definition": { diff --git a/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/e4488cba-b743-4b46-80e5-18c441c9882c.json b/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/e4488cba-b743-4b46-80e5-18c441c9882c.json index cdab6893..9a974676 100644 --- a/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/e4488cba-b743-4b46-80e5-18c441c9882c.json +++ b/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/e4488cba-b743-4b46-80e5-18c441c9882c.json @@ -17,8 +17,6 @@ } } }, - "fetchQuery": { - }, "section": { "type":"objectListReportSection", "definition": { diff --git a/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/faaf8c68-020a-48b1-b439-abc196855295.json b/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/faaf8c68-020a-48b1-b439-abc196855295.json index 8a4e9e88..fdbd7f5f 100644 --- a/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/faaf8c68-020a-48b1-b439-abc196855295.json +++ b/packages/miroir-core/src/assets/admin_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/faaf8c68-020a-48b1-b439-abc196855295.json @@ -21,8 +21,6 @@ } } }, - "fetchQuery": { - }, "section": { "type": "list", "definition": [ diff --git a/packages/miroir-core/src/assets/library_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/3df9413d-5050-4357-910c-f764aacae7e6.json b/packages/miroir-core/src/assets/library_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/3df9413d-5050-4357-910c-f764aacae7e6.json index d2e8bbb8..8d08e39b 100644 --- a/packages/miroir-core/src/assets/library_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/3df9413d-5050-4357-910c-f764aacae7e6.json +++ b/packages/miroir-core/src/assets/library_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/3df9413d-5050-4357-910c-f764aacae7e6.json @@ -18,8 +18,6 @@ } } }, - "fetchQuery": { - }, "section": { "type":"objectListReportSection", "definition": { diff --git a/packages/miroir-core/src/assets/library_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/8adee3d5-f8cc-4118-aa02-5a2cd07908aa.json b/packages/miroir-core/src/assets/library_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/8adee3d5-f8cc-4118-aa02-5a2cd07908aa.json index d8ba6b73..c614ff8c 100644 --- a/packages/miroir-core/src/assets/library_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/8adee3d5-f8cc-4118-aa02-5a2cd07908aa.json +++ b/packages/miroir-core/src/assets/library_model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/8adee3d5-f8cc-4118-aa02-5a2cd07908aa.json @@ -21,8 +21,6 @@ } } }, - "fetchQuery": { - }, "section": { "type": "list", "definition": [ diff --git a/packages/miroir-core/src/assets/miroirAdmin/model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/6d9faa54-643c-4aec-87c3-32635ad95902.json b/packages/miroir-core/src/assets/miroirAdmin/model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/6d9faa54-643c-4aec-87c3-32635ad95902.json index 89592429..54bb0de6 100644 --- a/packages/miroir-core/src/assets/miroirAdmin/model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/6d9faa54-643c-4aec-87c3-32635ad95902.json +++ b/packages/miroir-core/src/assets/miroirAdmin/model/3f2baa83-3ef7-45ce-82ea-6a43f7a8c916/6d9faa54-643c-4aec-87c3-32635ad95902.json @@ -8,7 +8,7 @@ "name":"DeploymentList", "defaultLabel": "List of Deployments", "definition": { - "fetchQuery": { + "extractors": { "deployments": { "queryType": "selectObjectByDirectReference", "parentName": "Deployment", diff --git a/packages/miroir-core/src/assets/miroir_model/54b9c72f-d4f3-4db9-9e0e-0dc840b530bd/952d2c65-4da2-45c2-9394-a0920ceedfb6.json b/packages/miroir-core/src/assets/miroir_model/54b9c72f-d4f3-4db9-9e0e-0dc840b530bd/952d2c65-4da2-45c2-9394-a0920ceedfb6.json index 320f18b8..decf80f5 100644 --- a/packages/miroir-core/src/assets/miroir_model/54b9c72f-d4f3-4db9-9e0e-0dc840b530bd/952d2c65-4da2-45c2-9394-a0920ceedfb6.json +++ b/packages/miroir-core/src/assets/miroir_model/54b9c72f-d4f3-4db9-9e0e-0dc840b530bd/952d2c65-4da2-45c2-9394-a0920ceedfb6.json @@ -315,6 +315,7 @@ }, "fetchQuery": { "type": "schemaReference", + "optional":true, "definition": { "absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739", "relativePath": "miroirSelectQueriesRecord"