Skip to content

Commit

Permalink
create basic elements for Miroir Action Script (MAS), migrate Tools.s…
Browse files Browse the repository at this point in the history
…ubmit to MAS #28. Refactor handling of runtimeTransformers in sqlDbExtractorRunner: allow only QueryExtractorTransformers as runtimeTransformers (and not MiroirSelectQueriesRecord). Also, QueryExtractorTransformers are not part of MiroirSelectQueriesRecord anymore.
  • Loading branch information
miroir-framework committed Aug 27, 2024
1 parent 8678b9d commit 2738e5d
Show file tree
Hide file tree
Showing 15 changed files with 445 additions and 399 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1549,15 +1549,15 @@ export function getMiroirFundamentalJzodSchema(
// type: "schemaReference",
// definition: {
// absolutePath: "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
// relativePath: "queryExtractorTransformer",
// relativePath: "queryExtractorRuntimeTransformer",
// },
// },
type: "schemaReference",
optional: true,
definition: {
absolutePath: "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
relativePath: "miroirSelectQueriesRecord",
// relativePath: "queryExtractorTransformer",
// relativePath: "queryExtractorRuntimeTransformer",
},
},
runtimeTransformers: {
Expand All @@ -1567,7 +1567,7 @@ export function getMiroirFundamentalJzodSchema(
type: "schemaReference",
definition: {
absolutePath: "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
relativePath: "queryExtractorTransformer",
relativePath: "queryExtractorRuntimeTransformer",
},
},
// type: "schemaReference",
Expand Down Expand Up @@ -2264,7 +2264,7 @@ export function getMiroirFundamentalJzodSchema(
metaModel: (miroirFundamentalJzodSchema as any).definition.context.metaModel,
objectTemplateInnerReference: (transformerJzodSchema as any).definition.context.objectTemplateInnerReference,
objectBuildTemplate: (transformerJzodSchema as any).definition.context.objectBuildTemplate,
objectRuntimeTemplate: (transformerJzodSchema as any).definition.context.objectRuntimeTemplate,
runtimeTransformer: (transformerJzodSchema as any).definition.context.runtimeTransformer,
indexedDbStoreSectionConfiguration: (miroirFundamentalJzodSchema as any).definition.context
.indexedDbStoreSectionConfiguration,
filesystemDbStoreSectionConfiguration: (miroirFundamentalJzodSchema as any).definition.context
Expand Down Expand Up @@ -2320,9 +2320,8 @@ export function getMiroirFundamentalJzodSchema(
querySelectExtractorWrapper: (miroirFundamentalJzodSchema as any).definition.context.querySelectExtractorWrapper,
queryExtractorTransformerAbstract: (miroirFundamentalJzodSchema as any).definition.context.queryExtractorTransformerAbstract,
queryExtractorTransformerUnique: (miroirFundamentalJzodSchema as any).definition.context.queryExtractorTransformerUnique,
queryExtractorRuntimeTransformer: (miroirFundamentalJzodSchema as any).definition.context.queryExtractorRuntimeTransformer,
queryExtractorTransformerCount: (miroirFundamentalJzodSchema as any).definition.context.queryExtractorTransformerCount,
queryExtractorTransformer: (miroirFundamentalJzodSchema as any).definition.context.queryExtractorTransformer,
queryExtractorRuntimeTransformer: (miroirFundamentalJzodSchema as any).definition.context.queryExtractorRuntimeTransformer,
querySelectObject: (miroirFundamentalJzodSchema as any).definition.context.querySelectObject,
querySelectObjectList: (miroirFundamentalJzodSchema as any).definition.context.querySelectObjectList,
querySelectByQueryCombiner: (miroirFundamentalJzodSchema as any).definition.context.querySelectByQueryCombiner,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2534,7 +2534,7 @@ export const miroirFundamentalJzodSchema = {
"optional": true,
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
}
},
"definition": {
Expand Down Expand Up @@ -2679,7 +2679,7 @@ export const miroirFundamentalJzodSchema = {
"optional": true,
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
}
},
"selectData": {
Expand Down Expand Up @@ -2725,7 +2725,7 @@ export const miroirFundamentalJzodSchema = {
"optional": true,
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
}
},
"selectData": {
Expand Down Expand Up @@ -2836,7 +2836,7 @@ export const miroirFundamentalJzodSchema = {
"optional": true,
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
}
},
"section": {
Expand Down Expand Up @@ -3127,7 +3127,7 @@ export const miroirFundamentalJzodSchema = {
"optional": true,
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
}
},
"definition": {
Expand Down Expand Up @@ -3272,7 +3272,7 @@ export const miroirFundamentalJzodSchema = {
"optional": true,
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
}
},
"selectData": {
Expand Down Expand Up @@ -3318,7 +3318,7 @@ export const miroirFundamentalJzodSchema = {
"optional": true,
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
}
},
"selectData": {
Expand Down Expand Up @@ -3432,7 +3432,7 @@ export const miroirFundamentalJzodSchema = {
"optional": true,
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
}
},
"section": {
Expand Down Expand Up @@ -4677,20 +4677,12 @@ export const miroirFundamentalJzodSchema = {
"type": "schemaReference",
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "objectRuntimeTemplate"
"relativePath": "runtimeTransformer"
},
"context": {}
}
}
},
"queryExtractorTransformer": {
"type": "schemaReference",
"definition": {
"relativePath": "queryExtractorRuntimeTransformer",
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739"
},
"context": {}
},
"querySelect": {
"type": "union",
"discriminator": "queryType",
Expand All @@ -4703,14 +4695,6 @@ export const miroirFundamentalJzodSchema = {
},
"context": {}
},
{
"type": "schemaReference",
"definition": {
"relativePath": "queryExtractorTransformer",
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739"
},
"context": {}
},
{
"type": "object",
"definition": {
Expand Down Expand Up @@ -5436,7 +5420,7 @@ export const miroirFundamentalJzodSchema = {
"type": "schemaReference",
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
}
}
}
Expand Down Expand Up @@ -8280,7 +8264,7 @@ export const miroirFundamentalJzodSchema = {
}
]
},
"objectRuntimeTemplate": {
"runtimeTransformer": {
"type": "union",
"discriminator": "templateType",
"definition": [
Expand Down Expand Up @@ -16057,7 +16041,7 @@ export const miroirFundamentalJzodSchema = {
"type": "schemaReference",
"optional": true,
"definition": {
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorTransformer"
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorRuntimeTransformer"
},
"context": {}
},
Expand Down Expand Up @@ -16465,7 +16449,7 @@ export const miroirFundamentalJzodSchema = {
"type": "schemaReference",
"optional": true,
"definition": {
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorTransformer"
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorRuntimeTransformer"
},
"context": {}
},
Expand Down Expand Up @@ -16603,7 +16587,7 @@ export const miroirFundamentalJzodSchema = {
"type": "schemaReference",
"optional": true,
"definition": {
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorTransformer"
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorRuntimeTransformer"
},
"context": {}
},
Expand Down Expand Up @@ -16920,7 +16904,7 @@ export const miroirFundamentalJzodSchema = {
"type": "schemaReference",
"optional": true,
"definition": {
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorTransformer"
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorRuntimeTransformer"
},
"context": {}
},
Expand Down Expand Up @@ -17307,7 +17291,7 @@ export const miroirFundamentalJzodSchema = {
"type": "schemaReference",
"optional": true,
"definition": {
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorTransformer"
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorRuntimeTransformer"
},
"context": {}
},
Expand Down Expand Up @@ -17718,7 +17702,7 @@ export const miroirFundamentalJzodSchema = {
"optional": true,
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
},
"context": {}
},
Expand Down Expand Up @@ -17858,7 +17842,7 @@ export const miroirFundamentalJzodSchema = {
"optional": true,
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
},
"context": {}
},
Expand Down Expand Up @@ -18193,7 +18177,7 @@ export const miroirFundamentalJzodSchema = {
"optional": true,
"definition": {
"absolutePath": "fe9b7d99-f216-44de-bb6e-60e1a1ebb739",
"relativePath": "queryExtractorTransformer"
"relativePath": "queryExtractorRuntimeTransformer"
},
"context": {}
},
Expand Down Expand Up @@ -19089,7 +19073,7 @@ export const miroirFundamentalJzodSchema = {
}
]
},
"carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_objectRuntimeTemplate": {
"carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_runtimeTransformer": {
"type": "union",
"discriminator": "templateType",
"definition": [
Expand Down Expand Up @@ -25539,7 +25523,7 @@ export const miroirFundamentalJzodSchema = {
}
]
},
"carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorRuntimeTransformer": {
"carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorTransformerCount": {
"type": "union",
"definition": [
{
Expand All @@ -25564,7 +25548,7 @@ export const miroirFundamentalJzodSchema = {
"definition": [
{
"type": "literal",
"definition": "actionRuntimeTransformer"
"definition": "count"
},
{
"type": "schemaReference",
Expand All @@ -25574,15 +25558,13 @@ export const miroirFundamentalJzodSchema = {
}
]
},
"actionRuntimeTransformer": {
"groupBy": {
"type": "union",
"optional": true,
"definition": [
{
"type": "schemaReference",
"definition": {
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_objectRuntimeTemplate"
},
"context": {}
"type": "string",
"optional": true
},
{
"type": "schemaReference",
Expand All @@ -25596,7 +25578,7 @@ export const miroirFundamentalJzodSchema = {
}
]
},
"carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorTransformerCount": {
"carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorRuntimeTransformer": {
"type": "union",
"definition": [
{
Expand All @@ -25621,7 +25603,7 @@ export const miroirFundamentalJzodSchema = {
"definition": [
{
"type": "literal",
"definition": "count"
"definition": "actionRuntimeTransformer"
},
{
"type": "schemaReference",
Expand All @@ -25631,13 +25613,15 @@ export const miroirFundamentalJzodSchema = {
}
]
},
"groupBy": {
"actionRuntimeTransformer": {
"type": "union",
"optional": true,
"definition": [
{
"type": "string",
"optional": true
"type": "schemaReference",
"definition": {
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_runtimeTransformer"
},
"context": {}
},
{
"type": "schemaReference",
Expand All @@ -25651,24 +25635,6 @@ export const miroirFundamentalJzodSchema = {
}
]
},
"carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorTransformer": {
"type": "union",
"definition": [
{
"type": "schemaReference",
"definition": {
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorRuntimeTransformer"
},
"context": {}
},
{
"type": "schemaReference",
"definition": {
"relativePath": "carryOnObject"
}
}
]
},
"carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_querySelectObject": {
"type": "union",
"discriminator": "queryType",
Expand Down Expand Up @@ -25907,24 +25873,6 @@ export const miroirFundamentalJzodSchema = {
}
]
},
{
"type": "union",
"definition": [
{
"type": "schemaReference",
"definition": {
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorTransformer"
},
"context": {}
},
{
"type": "schemaReference",
"definition": {
"relativePath": "carryOnObject"
}
}
]
},
{
"type": "object",
"definition": {
Expand Down Expand Up @@ -26511,7 +26459,7 @@ export const miroirFundamentalJzodSchema = {
{
"type": "schemaReference",
"definition": {
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorTransformer"
"relativePath": "carryOn_fe9b7d99$f216$44de$bb6e$60e1a1ebb739_queryExtractorRuntimeTransformer"
},
"context": {}
},
Expand Down
Loading

0 comments on commit 2738e5d

Please sign in to comment.