@dialecte/core 0.0.17 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{src/chain-methods → chain-methods}/chain-assembler.d.ts +4 -3
- package/dist/chain-methods/chain-assembler.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/chain-creator.d.ts +4 -3
- package/dist/chain-methods/chain-creator.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/index.d.ts +1 -0
- package/dist/chain-methods/ending/index.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/queries/context.d.ts +3 -2
- package/dist/chain-methods/ending/queries/context.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/queries/descendants/filter-utils.helper.d.ts +3 -2
- package/dist/chain-methods/ending/queries/descendants/filter-utils.helper.d.ts.map +1 -0
- package/dist/chain-methods/ending/queries/descendants/find-descendants-as-tree.d.ts +9 -0
- package/dist/chain-methods/ending/queries/descendants/find-descendants-as-tree.d.ts.map +1 -0
- package/dist/chain-methods/ending/queries/descendants/find-descendants.d.ts +16 -0
- package/dist/chain-methods/ending/queries/descendants/find-descendants.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/queries/descendants/flatten-tree.helper.d.ts +2 -1
- package/dist/chain-methods/ending/queries/descendants/flatten-tree.helper.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/queries/descendants/group-records.helper.d.ts +2 -1
- package/dist/chain-methods/ending/queries/descendants/group-records.helper.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/queries/descendants/index.d.ts +1 -0
- package/dist/chain-methods/ending/queries/descendants/index.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/queries/descendants/match-conditions.helper.d.ts +3 -2
- package/dist/chain-methods/ending/queries/descendants/match-conditions.helper.d.ts.map +1 -0
- package/dist/chain-methods/ending/queries/descendants/types.d.ts +35 -0
- package/dist/chain-methods/ending/queries/descendants/types.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/queries/descendants/walk-ancestry.helper.d.ts +2 -1
- package/dist/chain-methods/ending/queries/descendants/walk-ancestry.helper.d.ts.map +1 -0
- package/dist/chain-methods/ending/queries/find-children.d.ts +9 -0
- package/dist/chain-methods/ending/queries/find-children.d.ts.map +1 -0
- package/dist/chain-methods/ending/queries/find-children.types.d.ts +6 -0
- package/dist/chain-methods/ending/queries/find-children.types.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/queries/get-attributes-values.d.ts +2 -1
- package/dist/chain-methods/ending/queries/get-attributes-values.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/queries/get-parent.d.ts +2 -1
- package/dist/chain-methods/ending/queries/get-parent.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/queries/get-tree.d.ts +4 -3
- package/dist/chain-methods/ending/queries/get-tree.d.ts.map +1 -0
- package/dist/chain-methods/ending/queries/get-tree.types.d.ts +18 -0
- package/dist/chain-methods/ending/queries/get-tree.types.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/queries/index.d.ts +1 -0
- package/dist/chain-methods/ending/queries/index.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/ending/transaction/commit.d.ts +3 -2
- package/dist/chain-methods/ending/transaction/commit.d.ts.map +1 -0
- package/dist/chain-methods/ending/transaction/index.d.ts +2 -0
- package/dist/chain-methods/ending/transaction/index.d.ts.map +1 -0
- package/dist/chain-methods/ending/transaction/merge-operations.d.ts +33 -0
- package/dist/chain-methods/ending/transaction/merge-operations.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/index.d.ts +1 -0
- package/dist/chain-methods/index.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/mutations/clone.d.ts +3 -2
- package/dist/chain-methods/mutations/clone.d.ts.map +1 -0
- package/dist/chain-methods/mutations/clone.types.d.ts +17 -0
- package/dist/chain-methods/mutations/clone.types.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/mutations/create.d.ts +4 -3
- package/dist/chain-methods/mutations/create.d.ts.map +1 -0
- package/dist/chain-methods/mutations/create.types.d.ts +32 -0
- package/dist/chain-methods/mutations/create.types.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/mutations/delete.d.ts +5 -4
- package/dist/chain-methods/mutations/delete.d.ts.map +1 -0
- package/dist/chain-methods/mutations/delete.types.d.ts +6 -0
- package/dist/chain-methods/mutations/delete.types.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/mutations/index.d.ts +1 -0
- package/dist/chain-methods/mutations/index.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/mutations/update.d.ts +4 -3
- package/dist/chain-methods/mutations/update.d.ts.map +1 -0
- package/dist/chain-methods/mutations/update.types.d.ts +6 -0
- package/dist/chain-methods/mutations/update.types.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/navigation/go-to-element.d.ts +5 -4
- package/dist/chain-methods/navigation/go-to-element.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/navigation/go-to-parent.d.ts +6 -5
- package/dist/chain-methods/navigation/go-to-parent.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/navigation/index.d.ts +1 -0
- package/dist/chain-methods/navigation/index.d.ts.map +1 -0
- package/dist/chain-methods/navigation/types.d.ts +12 -0
- package/dist/chain-methods/navigation/types.d.ts.map +1 -0
- package/dist/{src/chain-methods → chain-methods}/types.d.ts +10 -9
- package/dist/chain-methods/types.d.ts.map +1 -0
- package/dist/{src/database → database}/index.d.ts +1 -0
- package/dist/database/index.d.ts.map +1 -0
- package/dist/{src/database → database}/instance.d.ts +3 -2
- package/dist/database/instance.d.ts.map +1 -0
- package/dist/database/types.d.ts +8 -0
- package/dist/database/types.d.ts.map +1 -0
- package/dist/{src/dialecte → dialecte}/entrypoints.d.ts +5 -4
- package/dist/dialecte/entrypoints.d.ts.map +1 -0
- package/dist/{src/dialecte → dialecte}/index.d.ts +1 -0
- package/dist/dialecte/index.d.ts.map +1 -0
- package/dist/{src/dialecte → dialecte}/main.d.ts +3 -2
- package/dist/dialecte/main.d.ts.map +1 -0
- package/dist/{src/dialecte → dialecte}/state.d.ts +2 -1
- package/dist/dialecte/state.d.ts.map +1 -0
- package/dist/{src/dialecte → dialecte}/types.d.ts +7 -6
- package/dist/dialecte/types.d.ts.map +1 -0
- package/dist/{src/errors → errors}/codes.d.ts +1 -0
- package/dist/errors/codes.d.ts.map +1 -0
- package/dist/{src/errors → errors}/errors.d.ts +3 -2
- package/dist/errors/errors.d.ts.map +1 -0
- package/dist/{src/errors → errors}/index.d.ts +1 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/types.d.ts +23 -0
- package/dist/errors/types.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/assert.d.ts +1 -0
- package/dist/helpers/assert.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/record/converter.d.ts +2 -1
- package/dist/helpers/record/converter.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/record/guard.d.ts +2 -1
- package/dist/helpers/record/guard.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/record/index.d.ts +1 -0
- package/dist/helpers/record/index.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/record/operations.d.ts +2 -1
- package/dist/helpers/record/operations.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/record/query/find-by-attributes.d.ts +4 -3
- package/dist/helpers/record/query/find-by-attributes.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/record/query/index.d.ts +1 -0
- package/dist/helpers/record/query/index.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/record/query/record.d.ts +3 -2
- package/dist/helpers/record/query/record.d.ts.map +1 -0
- package/dist/helpers/record/query/types.d.ts +10 -0
- package/dist/helpers/record/query/types.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/record/standardizing.d.ts +2 -1
- package/dist/helpers/record/standardizing.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/test-fixtures/config.d.ts +36 -35
- package/dist/helpers/test-fixtures/config.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/test-fixtures/constant.d.ts +1 -0
- package/dist/helpers/test-fixtures/constant.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/test-fixtures/create-test-dialecte.d.ts +4 -3
- package/dist/helpers/test-fixtures/create-test-dialecte.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/test-fixtures/generated/constants.generated.d.ts +42 -41
- package/dist/helpers/test-fixtures/generated/constants.generated.d.ts.map +1 -0
- package/dist/helpers/test-fixtures/generated/definition.d.ts +3 -0
- package/dist/helpers/test-fixtures/generated/definition.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/test-fixtures/generated/index.d.ts +1 -0
- package/dist/helpers/test-fixtures/generated/index.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/test-fixtures/generated/types.generated.d.ts +38 -37
- package/dist/helpers/test-fixtures/generated/types.generated.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/test-fixtures/index.d.ts +1 -0
- package/dist/helpers/test-fixtures/index.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/test-fixtures/test-operations.d.ts +5 -4
- package/dist/helpers/test-fixtures/test-operations.d.ts.map +1 -0
- package/dist/helpers/test-fixtures/test-operations.types.d.ts +20 -0
- package/dist/helpers/test-fixtures/test-operations.types.d.ts.map +1 -0
- package/dist/{src/helpers → helpers}/test-fixtures/test-record.d.ts +3 -2
- package/dist/helpers/test-fixtures/test-record.d.ts.map +1 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +576 -579
- package/dist/{src/io → io}/export/constant.d.ts +1 -0
- package/dist/io/export/constant.d.ts.map +1 -0
- package/dist/{src/io → io}/export/download-file.d.ts +2 -1
- package/dist/io/export/download-file.d.ts.map +1 -0
- package/dist/{src/io → io}/export/formatter.d.ts +1 -0
- package/dist/io/export/formatter.d.ts.map +1 -0
- package/dist/{src/io → io}/export/index.d.ts +1 -0
- package/dist/io/export/index.d.ts.map +1 -0
- package/dist/{src/io → io}/export/main.d.ts +4 -9
- package/dist/io/export/main.d.ts.map +1 -0
- package/dist/{src/io → io}/import/database-helpers.d.ts +2 -1
- package/dist/io/import/database-helpers.d.ts.map +1 -0
- package/dist/{src/io → io}/import/guards.d.ts +1 -0
- package/dist/io/import/guards.d.ts.map +1 -0
- package/dist/{src/io → io}/import/index.d.ts +1 -0
- package/dist/io/import/index.d.ts.map +1 -0
- package/dist/{src/io → io}/import/main.d.ts +2 -1
- package/dist/io/import/main.d.ts.map +1 -0
- package/dist/{src/io → io}/import/parser.d.ts +3 -2
- package/dist/io/import/parser.d.ts.map +1 -0
- package/dist/{src/io → io}/import/relationships.d.ts +2 -1
- package/dist/io/import/relationships.d.ts.map +1 -0
- package/dist/io/import/test.handler.d.ts +9 -0
- package/dist/io/import/test.handler.d.ts.map +1 -0
- package/dist/io/import/test.types.d.ts +4 -0
- package/dist/io/import/test.types.d.ts.map +1 -0
- package/dist/{src/io → io}/import/types.d.ts +5 -4
- package/dist/io/import/types.d.ts.map +1 -0
- package/dist/{src/io → io}/index.d.ts +1 -0
- package/dist/io/index.d.ts.map +1 -0
- package/dist/script/element-parent-mapping.d.ts +2 -0
- package/dist/script/element-parent-mapping.d.ts.map +1 -0
- package/dist/script/find-unreferenced-elements.d.ts +3 -0
- package/dist/script/find-unreferenced-elements.d.ts.map +1 -0
- package/dist/script/generate-definition.d.ts +3 -0
- package/dist/script/generate-definition.d.ts.map +1 -0
- package/dist/script/generate-definition.types.d.ts +86 -0
- package/dist/script/generate-definition.types.d.ts.map +1 -0
- package/dist/script/generate-test-fixtures.d.ts +16 -0
- package/dist/script/generate-test-fixtures.d.ts.map +1 -0
- package/dist/script/pyodide.d.ts +12 -0
- package/dist/script/pyodide.d.ts.map +1 -0
- package/dist/script/sorted-dexie-dump-json.d.ts +2 -0
- package/dist/script/sorted-dexie-dump-json.d.ts.map +1 -0
- package/dist/script/test-pyodide.d.ts +9 -0
- package/dist/script/test-pyodide.d.ts.map +1 -0
- package/dist/types/context.d.ts +16 -0
- package/dist/types/context.d.ts.map +1 -0
- package/dist/{src/types → types}/definition.d.ts +7 -6
- package/dist/types/definition.d.ts.map +1 -0
- package/dist/{src/types → types}/dialecte-config.d.ts +32 -31
- package/dist/types/dialecte-config.d.ts.map +1 -0
- package/dist/{src/types → types}/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/{src/types → types}/io.d.ts +4 -3
- package/dist/types/io.d.ts.map +1 -0
- package/dist/{src/types → types}/operations.d.ts +6 -5
- package/dist/types/operations.d.ts.map +1 -0
- package/dist/types/records.d.ts +57 -0
- package/dist/types/records.d.ts.map +1 -0
- package/dist/{src/utils → utils}/attributes.d.ts +2 -1
- package/dist/utils/attributes.d.ts.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/package.json +8 -8
- package/dist/env.d.ts +0 -1
- package/dist/src/chain-methods/ending/queries/descendants/find-descendants-as-tree.d.ts +0 -51
- package/dist/src/chain-methods/ending/queries/descendants/find-descendants.d.ts +0 -59
- package/dist/src/chain-methods/ending/queries/descendants/types.d.ts +0 -34
- package/dist/src/chain-methods/ending/queries/find-children.d.ts +0 -8
- package/dist/src/chain-methods/ending/queries/find-children.types.d.ts +0 -5
- package/dist/src/chain-methods/ending/queries/get-tree.types.d.ts +0 -17
- package/dist/src/chain-methods/ending/transaction/index.d.ts +0 -1
- package/dist/src/chain-methods/ending/transaction/merge-operations.d.ts +0 -20
- package/dist/src/chain-methods/mutations/clone.types.d.ts +0 -16
- package/dist/src/chain-methods/mutations/create.types.d.ts +0 -31
- package/dist/src/chain-methods/mutations/delete.types.d.ts +0 -5
- package/dist/src/chain-methods/mutations/update.types.d.ts +0 -5
- package/dist/src/chain-methods/navigation/types.d.ts +0 -11
- package/dist/src/database/types.d.ts +0 -8
- package/dist/src/errors/types.d.ts +0 -22
- package/dist/src/helpers/record/query/types.d.ts +0 -9
- package/dist/src/helpers/test-fixtures/generated/definition.d.ts +0 -1
- package/dist/src/helpers/test-fixtures/test-operations.types.d.ts +0 -19
- package/dist/src/index.d.ts +0 -7
- package/dist/src/types/context.d.ts +0 -15
- package/dist/src/types/records.d.ts +0 -56
- package/dist/src/utils/index.d.ts +0 -1
- package/dist/vitest.shims.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const IO_CONFIG: {
|
|
2
2
|
readonly supportedFileExtensions: readonly [".xml"];
|
|
3
|
-
}
|
|
3
|
+
};
|
|
4
4
|
export declare const DATABASE_CONFIG: {
|
|
5
5
|
readonly tables: {
|
|
6
6
|
readonly xmlElements: {
|
|
@@ -8,7 +8,7 @@ export declare const DATABASE_CONFIG: {
|
|
|
8
8
|
readonly schema: "id, tagName, [id+tagName], parent.id, parent.tagName, *children.id, *children.tagName";
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
12
|
export declare const TEST_DIALECTE_CONFIG: {
|
|
13
13
|
readonly rootElementName: "Root";
|
|
14
14
|
readonly singletonElements: readonly ["Root", "A", "B", "C", "D"];
|
|
@@ -28,37 +28,37 @@ export declare const TEST_DIALECTE_CONFIG: {
|
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
readonly attributes: {
|
|
31
|
-
readonly A: import(
|
|
32
|
-
readonly AAAA_1: import(
|
|
33
|
-
readonly AAAA_2: import(
|
|
34
|
-
readonly AAAA_3: import(
|
|
35
|
-
readonly AAA_1: import(
|
|
36
|
-
readonly AAA_2: import(
|
|
37
|
-
readonly AAA_3: import(
|
|
38
|
-
readonly AA_1: import(
|
|
39
|
-
readonly AA_2: import(
|
|
40
|
-
readonly AA_3: import(
|
|
41
|
-
readonly B: import(
|
|
42
|
-
readonly BBBB_1: import(
|
|
43
|
-
readonly BBBB_2: import(
|
|
44
|
-
readonly BBBB_3: import(
|
|
45
|
-
readonly BBB_1: import(
|
|
46
|
-
readonly BBB_2: import(
|
|
47
|
-
readonly BBB_3: import(
|
|
48
|
-
readonly BB_1: import(
|
|
49
|
-
readonly BB_2: import(
|
|
50
|
-
readonly BB_3: import(
|
|
51
|
-
readonly C: import(
|
|
52
|
-
readonly CCCC_1: import(
|
|
53
|
-
readonly CCCC_2: import(
|
|
54
|
-
readonly CCCC_3: import(
|
|
55
|
-
readonly CCC_1: import(
|
|
56
|
-
readonly CCC_2: import(
|
|
57
|
-
readonly CCC_3: import(
|
|
58
|
-
readonly CC_1: import(
|
|
59
|
-
readonly CC_2: import(
|
|
60
|
-
readonly CC_3: import(
|
|
61
|
-
readonly Root: import(
|
|
31
|
+
readonly A: import('./generated').AttributesOf<"A">;
|
|
32
|
+
readonly AAAA_1: import('./generated').AttributesOf<"AAAA_1">;
|
|
33
|
+
readonly AAAA_2: import('./generated').AttributesOf<"AAAA_2">;
|
|
34
|
+
readonly AAAA_3: import('./generated').AttributesOf<"AAAA_3">;
|
|
35
|
+
readonly AAA_1: import('./generated').AttributesOf<"AAA_1">;
|
|
36
|
+
readonly AAA_2: import('./generated').AttributesOf<"AAA_2">;
|
|
37
|
+
readonly AAA_3: import('./generated').AttributesOf<"AAA_3">;
|
|
38
|
+
readonly AA_1: import('./generated').AttributesOf<"AA_1">;
|
|
39
|
+
readonly AA_2: import('./generated').AttributesOf<"AA_2">;
|
|
40
|
+
readonly AA_3: import('./generated').AttributesOf<"AA_3">;
|
|
41
|
+
readonly B: import('./generated').AttributesOf<"B">;
|
|
42
|
+
readonly BBBB_1: import('./generated').AttributesOf<"BBBB_1">;
|
|
43
|
+
readonly BBBB_2: import('./generated').AttributesOf<"BBBB_2">;
|
|
44
|
+
readonly BBBB_3: import('./generated').AttributesOf<"BBBB_3">;
|
|
45
|
+
readonly BBB_1: import('./generated').AttributesOf<"BBB_1">;
|
|
46
|
+
readonly BBB_2: import('./generated').AttributesOf<"BBB_2">;
|
|
47
|
+
readonly BBB_3: import('./generated').AttributesOf<"BBB_3">;
|
|
48
|
+
readonly BB_1: import('./generated').AttributesOf<"BB_1">;
|
|
49
|
+
readonly BB_2: import('./generated').AttributesOf<"BB_2">;
|
|
50
|
+
readonly BB_3: import('./generated').AttributesOf<"BB_3">;
|
|
51
|
+
readonly C: import('./generated').AttributesOf<"C">;
|
|
52
|
+
readonly CCCC_1: import('./generated').AttributesOf<"CCCC_1">;
|
|
53
|
+
readonly CCCC_2: import('./generated').AttributesOf<"CCCC_2">;
|
|
54
|
+
readonly CCCC_3: import('./generated').AttributesOf<"CCCC_3">;
|
|
55
|
+
readonly CCC_1: import('./generated').AttributesOf<"CCC_1">;
|
|
56
|
+
readonly CCC_2: import('./generated').AttributesOf<"CCC_2">;
|
|
57
|
+
readonly CCC_3: import('./generated').AttributesOf<"CCC_3">;
|
|
58
|
+
readonly CC_1: import('./generated').AttributesOf<"CC_1">;
|
|
59
|
+
readonly CC_2: import('./generated').AttributesOf<"CC_2">;
|
|
60
|
+
readonly CC_3: import('./generated').AttributesOf<"CC_3">;
|
|
61
|
+
readonly Root: import('./generated').AttributesOf<"Root">;
|
|
62
62
|
};
|
|
63
63
|
readonly children: {
|
|
64
64
|
readonly A: readonly ["AA_1", "AA_2", "AA_3"];
|
|
@@ -203,6 +203,7 @@ export declare const TEST_DIALECTE_CONFIG: {
|
|
|
203
203
|
readonly io: {
|
|
204
204
|
readonly supportedFileExtensions: readonly [".xml"];
|
|
205
205
|
};
|
|
206
|
-
readonly definition: Record<string, ElementDefinition>;
|
|
206
|
+
readonly definition: Record<string, import('../../types').ElementDefinition>;
|
|
207
207
|
readonly hooks: {};
|
|
208
|
-
}
|
|
208
|
+
};
|
|
209
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/helpers/test-fixtures/config.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS;;CAEO,CAAA;AAG7B,eAAO,MAAM,eAAe;;;;;;;CAQO,CAAA;AAEnC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcK,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constant.d.ts","sourceRoot":"","sources":["../../../src/helpers/test-fixtures/constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;CAa/B,CAAA;AAED,eAAO,MAAM,uBAAuB,QAA+C,CAAA;AACnF,eAAO,MAAM,mBAAmB,QAA6E,CAAA;AAC7G,eAAO,MAAM,mBAAmB,QAA6E,CAAA;AAC7G,eAAO,MAAM,mCAAmC,UAAU,CAAA;AAC1D,eAAO,MAAM,MAAM,QAA6E,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TEST_DIALECTE_CONFIG } from './config';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
2
|
+
import { DialecteCore } from '../../dialecte';
|
|
3
|
+
import { AnyDialecteConfig, ExtensionRegistry } from '../../types';
|
|
4
|
+
type TestDialecteConfig = typeof TEST_DIALECTE_CONFIG;
|
|
5
5
|
/**
|
|
6
6
|
* Create SDK instance from XML string for testing
|
|
7
7
|
* Imports the XML into a database and returns configured SDK
|
|
@@ -16,3 +16,4 @@ export declare function createTestDialecte<GenericConfig extends AnyDialecteConf
|
|
|
16
16
|
cleanup: () => Promise<void>;
|
|
17
17
|
}>;
|
|
18
18
|
export {};
|
|
19
|
+
//# sourceMappingURL=create-test-dialecte.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-test-dialecte.d.ts","sourceRoot":"","sources":["../../../src/helpers/test-fixtures/create-test-dialecte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAO/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEnE,KAAK,kBAAkB,GAAG,OAAO,oBAAoB,CAAA;AAErD;;;GAGG;AACH,wBAAsB,kBAAkB,CACvC,aAAa,SAAS,iBAAiB,GAAG,kBAAkB,EAC5D,wBAAwB,SAAS,iBAAiB,CAAC,aAAa,CAAC,GAAG,EAAE,EACrE,MAAM,EAAE;IACT,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,CAAC,EAAE,aAAa,CAAA;IAC9B,UAAU,CAAC,EAAE,wBAAwB,CAAA;CACrC,GAAG,OAAO,CAAC;IACX,QAAQ,EAAE,YAAY,CAAC,aAAa,EAAE,wBAAwB,CAAC,CAAA;IAC/D,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC5B,CAAC,CA+BD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { AvailableElement, AttributesOf } from './types.generated';
|
|
2
2
|
export declare const ELEMENT_NAMES: readonly ["A", "AAAA_1", "AAAA_2", "AAAA_3", "AAA_1", "AAA_2", "AAA_3", "AA_1", "AA_2", "AA_3", "B", "BBBB_1", "BBBB_2", "BBBB_3", "BBB_1", "BBB_2", "BBB_3", "BB_1", "BB_2", "BB_3", "C", "CCCC_1", "CCCC_2", "CCCC_3", "CCC_1", "CCC_2", "CCC_3", "CC_1", "CC_2", "CC_3", "Root"];
|
|
3
3
|
export declare const ELEMENT_NAMES_WITH_ATTRIBUTES_PATTERNS: readonly [];
|
|
4
4
|
export declare const REQUIRED_ATTRIBUTES: {
|
|
@@ -33,41 +33,41 @@ export declare const REQUIRED_ATTRIBUTES: {
|
|
|
33
33
|
readonly CC_2: readonly ["aCC_2"];
|
|
34
34
|
readonly CC_3: readonly ["aCC_3"];
|
|
35
35
|
readonly Root: readonly ["root"];
|
|
36
|
-
}
|
|
37
|
-
export declare const PATTERNS: {}
|
|
36
|
+
};
|
|
37
|
+
export declare const PATTERNS: {};
|
|
38
38
|
export declare const ATTRIBUTES: {
|
|
39
|
-
readonly A:
|
|
40
|
-
readonly AAAA_1:
|
|
41
|
-
readonly AAAA_2:
|
|
42
|
-
readonly AAAA_3:
|
|
43
|
-
readonly AAA_1:
|
|
44
|
-
readonly AAA_2:
|
|
45
|
-
readonly AAA_3:
|
|
46
|
-
readonly AA_1:
|
|
47
|
-
readonly AA_2:
|
|
48
|
-
readonly AA_3:
|
|
49
|
-
readonly B:
|
|
50
|
-
readonly BBBB_1:
|
|
51
|
-
readonly BBBB_2:
|
|
52
|
-
readonly BBBB_3:
|
|
53
|
-
readonly BBB_1:
|
|
54
|
-
readonly BBB_2:
|
|
55
|
-
readonly BBB_3:
|
|
56
|
-
readonly BB_1:
|
|
57
|
-
readonly BB_2:
|
|
58
|
-
readonly BB_3:
|
|
59
|
-
readonly C:
|
|
60
|
-
readonly CCCC_1:
|
|
61
|
-
readonly CCCC_2:
|
|
62
|
-
readonly CCCC_3:
|
|
63
|
-
readonly CCC_1:
|
|
64
|
-
readonly CCC_2:
|
|
65
|
-
readonly CCC_3:
|
|
66
|
-
readonly CC_1:
|
|
67
|
-
readonly CC_2:
|
|
68
|
-
readonly CC_3:
|
|
69
|
-
readonly Root:
|
|
70
|
-
}
|
|
39
|
+
readonly A: AttributesOf<"A">;
|
|
40
|
+
readonly AAAA_1: AttributesOf<"AAAA_1">;
|
|
41
|
+
readonly AAAA_2: AttributesOf<"AAAA_2">;
|
|
42
|
+
readonly AAAA_3: AttributesOf<"AAAA_3">;
|
|
43
|
+
readonly AAA_1: AttributesOf<"AAA_1">;
|
|
44
|
+
readonly AAA_2: AttributesOf<"AAA_2">;
|
|
45
|
+
readonly AAA_3: AttributesOf<"AAA_3">;
|
|
46
|
+
readonly AA_1: AttributesOf<"AA_1">;
|
|
47
|
+
readonly AA_2: AttributesOf<"AA_2">;
|
|
48
|
+
readonly AA_3: AttributesOf<"AA_3">;
|
|
49
|
+
readonly B: AttributesOf<"B">;
|
|
50
|
+
readonly BBBB_1: AttributesOf<"BBBB_1">;
|
|
51
|
+
readonly BBBB_2: AttributesOf<"BBBB_2">;
|
|
52
|
+
readonly BBBB_3: AttributesOf<"BBBB_3">;
|
|
53
|
+
readonly BBB_1: AttributesOf<"BBB_1">;
|
|
54
|
+
readonly BBB_2: AttributesOf<"BBB_2">;
|
|
55
|
+
readonly BBB_3: AttributesOf<"BBB_3">;
|
|
56
|
+
readonly BB_1: AttributesOf<"BB_1">;
|
|
57
|
+
readonly BB_2: AttributesOf<"BB_2">;
|
|
58
|
+
readonly BB_3: AttributesOf<"BB_3">;
|
|
59
|
+
readonly C: AttributesOf<"C">;
|
|
60
|
+
readonly CCCC_1: AttributesOf<"CCCC_1">;
|
|
61
|
+
readonly CCCC_2: AttributesOf<"CCCC_2">;
|
|
62
|
+
readonly CCCC_3: AttributesOf<"CCCC_3">;
|
|
63
|
+
readonly CCC_1: AttributesOf<"CCC_1">;
|
|
64
|
+
readonly CCC_2: AttributesOf<"CCC_2">;
|
|
65
|
+
readonly CCC_3: AttributesOf<"CCC_3">;
|
|
66
|
+
readonly CC_1: AttributesOf<"CC_1">;
|
|
67
|
+
readonly CC_2: AttributesOf<"CC_2">;
|
|
68
|
+
readonly CC_3: AttributesOf<"CC_3">;
|
|
69
|
+
readonly Root: AttributesOf<"Root">;
|
|
70
|
+
};
|
|
71
71
|
export declare const CHILDREN: {
|
|
72
72
|
readonly A: readonly ["AA_1", "AA_2", "AA_3"];
|
|
73
73
|
readonly AAAA_1: readonly [];
|
|
@@ -100,7 +100,7 @@ export declare const CHILDREN: {
|
|
|
100
100
|
readonly CC_2: readonly ["CCC_1", "CCC_2", "CCC_3"];
|
|
101
101
|
readonly CC_3: readonly ["CCC_1", "CCC_2", "CCC_3"];
|
|
102
102
|
readonly Root: readonly ["A", "B", "C"];
|
|
103
|
-
}
|
|
103
|
+
};
|
|
104
104
|
export declare const PARENTS: {
|
|
105
105
|
readonly A: readonly ["Root"];
|
|
106
106
|
readonly AAAA_1: readonly ["AAA_1"];
|
|
@@ -133,7 +133,7 @@ export declare const PARENTS: {
|
|
|
133
133
|
readonly CC_2: readonly ["C"];
|
|
134
134
|
readonly CC_3: readonly ["C"];
|
|
135
135
|
readonly Root: readonly [];
|
|
136
|
-
}
|
|
136
|
+
};
|
|
137
137
|
/**
|
|
138
138
|
* DESCENDANTS maps each element to all its possible descendants (children, grandchildren, etc.)
|
|
139
139
|
* Computed by traversing the CHILDREN graph.
|
|
@@ -170,7 +170,7 @@ export declare const DESCENDANTS: {
|
|
|
170
170
|
readonly CC_2: readonly ["CCCC_1", "CCCC_2", "CCCC_3", "CCC_1", "CCC_2", "CCC_3"];
|
|
171
171
|
readonly CC_3: readonly ["CCCC_1", "CCCC_2", "CCCC_3", "CCC_1", "CCC_2", "CCC_3"];
|
|
172
172
|
readonly Root: readonly ["A", "AAAA_1", "AAAA_2", "AAAA_3", "AAA_1", "AAA_2", "AAA_3", "AA_1", "AA_2", "AA_3", "B", "BBBB_1", "BBBB_2", "BBBB_3", "BBB_1", "BBB_2", "BBB_3", "BB_1", "BB_2", "BB_3", "C", "CCCC_1", "CCCC_2", "CCCC_3", "CCC_1", "CCC_2", "CCC_3", "CC_1", "CC_2", "CC_3"];
|
|
173
|
-
}
|
|
173
|
+
};
|
|
174
174
|
/**
|
|
175
175
|
* ANCESTORS maps each element to all its possible ancestors (parents, grandparents, etc.)
|
|
176
176
|
* Computed by traversing the PARENTS graph.
|
|
@@ -207,12 +207,13 @@ export declare const ANCESTORS: {
|
|
|
207
207
|
readonly CC_2: readonly ["C", "Root"];
|
|
208
208
|
readonly CC_3: readonly ["C", "Root"];
|
|
209
209
|
readonly Root: readonly [];
|
|
210
|
-
}
|
|
210
|
+
};
|
|
211
211
|
/**
|
|
212
212
|
* Type helper to get all descendants of an element
|
|
213
213
|
*/
|
|
214
|
-
export
|
|
214
|
+
export type DescendantsOf<T extends AvailableElement> = (typeof DESCENDANTS)[T][number];
|
|
215
215
|
/**
|
|
216
216
|
* Type helper to get all ancestors of an element
|
|
217
217
|
*/
|
|
218
|
-
export
|
|
218
|
+
export type AncestorsOf<T extends AvailableElement> = (typeof ANCESTORS)[T][number];
|
|
219
|
+
//# sourceMappingURL=constants.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.generated.d.ts","sourceRoot":"","sources":["../../../../src/helpers/test-fixtures/generated/constants.generated.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEvE,eAAO,MAAM,aAAa,qRAgChB,CAAA;AACV,eAAO,MAAM,sCAAsC,aAAc,CAAA;AAEjE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCgC,CAAA;AAEhE,eAAO,MAAM,QAAQ,IAEpB,CAAA;AAGD,eAAO,MAAM,UAAU;gBACyC,YAAY,CAAC,GAAG,CAAC;qBAK3E,YAAY,CAAC,QAAQ,CAAC;qBAKtB,YAAY,CAAC,QAAQ,CAAC;qBAKtB,YAAY,CAAC,QAAQ,CAAC;oBAKtB,YAAY,CAAC,OAAO,CAAC;oBAKrB,YAAY,CAAC,OAAO,CAAC;oBAKrB,YAAY,CAAC,OAAO,CAAC;mBACiD,YAAY,CAAC,MAAM,CAAC;mBACpB,YAAY,CAAC,MAAM,CAAC;mBACpB,YAAY,CAAC,MAAM,CAAC;gBAChC,YAAY,CAAC,GAAG,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AC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../src/helpers/test-fixtures/generated/definition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AA2PhD,eAAO,MAAM,UAAU,mCAA2B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/helpers/test-fixtures/generated/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA"}
|
|
@@ -1,160 +1,160 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
import { ELEMENT_NAMES, REQUIRED_ATTRIBUTES } from './constants.generated';
|
|
2
|
+
export type AvailableElement = (typeof ELEMENT_NAMES)[number];
|
|
3
|
+
export type AttributesA = {
|
|
4
4
|
aA: string;
|
|
5
5
|
bA?: string;
|
|
6
6
|
cA?: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type AttributesAAAA_1 = {
|
|
9
9
|
aAAAA_1: string;
|
|
10
10
|
bAAAA_1?: string;
|
|
11
11
|
cAAAA_1?: string;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type AttributesAAAA_2 = {
|
|
14
14
|
aAAAA_2: string;
|
|
15
15
|
bAAAA_2?: string;
|
|
16
16
|
cAAAA_2?: string;
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type AttributesAAAA_3 = {
|
|
19
19
|
aAAAA_3: string;
|
|
20
20
|
bAAAA_3?: string;
|
|
21
21
|
cAAAA_3?: string;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type AttributesAAA_1 = {
|
|
24
24
|
aAAA_1: string;
|
|
25
25
|
bAAA_1?: string;
|
|
26
26
|
cAAA_1?: string;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type AttributesAAA_2 = {
|
|
29
29
|
aAAA_2: string;
|
|
30
30
|
bAAA_2?: string;
|
|
31
31
|
cAAA_2?: string;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type AttributesAAA_3 = {
|
|
34
34
|
aAAA_3: string;
|
|
35
35
|
bAAA_3?: string;
|
|
36
36
|
cAAA_3?: string;
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type AttributesAA_1 = {
|
|
39
39
|
aAA_1: string;
|
|
40
40
|
bAA_1?: string;
|
|
41
41
|
cAA_1?: string;
|
|
42
42
|
};
|
|
43
|
-
export
|
|
43
|
+
export type AttributesAA_2 = {
|
|
44
44
|
aAA_2: string;
|
|
45
45
|
bAA_2?: string;
|
|
46
46
|
cAA_2?: string;
|
|
47
47
|
};
|
|
48
|
-
export
|
|
48
|
+
export type AttributesAA_3 = {
|
|
49
49
|
aAA_3: string;
|
|
50
50
|
bAA_3?: string;
|
|
51
51
|
cAA_3?: string;
|
|
52
52
|
};
|
|
53
|
-
export
|
|
53
|
+
export type AttributesB = {
|
|
54
54
|
aB: string;
|
|
55
55
|
bB?: string;
|
|
56
56
|
cB?: string;
|
|
57
57
|
};
|
|
58
|
-
export
|
|
58
|
+
export type AttributesBBBB_1 = {
|
|
59
59
|
aBBBB_1: string;
|
|
60
60
|
bBBBB_1?: string;
|
|
61
61
|
cBBBB_1?: string;
|
|
62
62
|
};
|
|
63
|
-
export
|
|
63
|
+
export type AttributesBBBB_2 = {
|
|
64
64
|
aBBBB_2: string;
|
|
65
65
|
bBBBB_2?: string;
|
|
66
66
|
cBBBB_2?: string;
|
|
67
67
|
};
|
|
68
|
-
export
|
|
68
|
+
export type AttributesBBBB_3 = {
|
|
69
69
|
aBBBB_3: string;
|
|
70
70
|
bBBBB_3?: string;
|
|
71
71
|
cBBBB_3?: string;
|
|
72
72
|
};
|
|
73
|
-
export
|
|
73
|
+
export type AttributesBBB_1 = {
|
|
74
74
|
aBBB_1: string;
|
|
75
75
|
bBBB_1?: string;
|
|
76
76
|
cBBB_1?: string;
|
|
77
77
|
};
|
|
78
|
-
export
|
|
78
|
+
export type AttributesBBB_2 = {
|
|
79
79
|
aBBB_2: string;
|
|
80
80
|
bBBB_2?: string;
|
|
81
81
|
cBBB_2?: string;
|
|
82
82
|
};
|
|
83
|
-
export
|
|
83
|
+
export type AttributesBBB_3 = {
|
|
84
84
|
aBBB_3: string;
|
|
85
85
|
bBBB_3?: string;
|
|
86
86
|
cBBB_3?: string;
|
|
87
87
|
};
|
|
88
|
-
export
|
|
88
|
+
export type AttributesBB_1 = {
|
|
89
89
|
aBB_1: string;
|
|
90
90
|
bBB_1?: string;
|
|
91
91
|
cBB_1?: string;
|
|
92
92
|
};
|
|
93
|
-
export
|
|
93
|
+
export type AttributesBB_2 = {
|
|
94
94
|
aBB_2: string;
|
|
95
95
|
bBB_2?: string;
|
|
96
96
|
cBB_2?: string;
|
|
97
97
|
};
|
|
98
|
-
export
|
|
98
|
+
export type AttributesBB_3 = {
|
|
99
99
|
aBB_3: string;
|
|
100
100
|
bBB_3?: string;
|
|
101
101
|
cBB_3?: string;
|
|
102
102
|
};
|
|
103
|
-
export
|
|
103
|
+
export type AttributesC = {
|
|
104
104
|
aC: string;
|
|
105
105
|
bC?: string;
|
|
106
106
|
cC?: string;
|
|
107
107
|
};
|
|
108
|
-
export
|
|
108
|
+
export type AttributesCCCC_1 = {
|
|
109
109
|
aCCCC_1: string;
|
|
110
110
|
bCCCC_1?: string;
|
|
111
111
|
cCCCC_1?: string;
|
|
112
112
|
};
|
|
113
|
-
export
|
|
113
|
+
export type AttributesCCCC_2 = {
|
|
114
114
|
aCCCC_2: string;
|
|
115
115
|
bCCCC_2?: string;
|
|
116
116
|
cCCCC_2?: string;
|
|
117
117
|
};
|
|
118
|
-
export
|
|
118
|
+
export type AttributesCCCC_3 = {
|
|
119
119
|
aCCCC_3: string;
|
|
120
120
|
bCCCC_3?: string;
|
|
121
121
|
cCCCC_3?: string;
|
|
122
122
|
};
|
|
123
|
-
export
|
|
123
|
+
export type AttributesCCC_1 = {
|
|
124
124
|
aCCC_1: string;
|
|
125
125
|
bCCC_1?: string;
|
|
126
126
|
cCCC_1?: string;
|
|
127
127
|
};
|
|
128
|
-
export
|
|
128
|
+
export type AttributesCCC_2 = {
|
|
129
129
|
aCCC_2: string;
|
|
130
130
|
bCCC_2?: string;
|
|
131
131
|
cCCC_2?: string;
|
|
132
132
|
};
|
|
133
|
-
export
|
|
133
|
+
export type AttributesCCC_3 = {
|
|
134
134
|
aCCC_3: string;
|
|
135
135
|
bCCC_3?: string;
|
|
136
136
|
cCCC_3?: string;
|
|
137
137
|
};
|
|
138
|
-
export
|
|
138
|
+
export type AttributesCC_1 = {
|
|
139
139
|
aCC_1: string;
|
|
140
140
|
bCC_1?: string;
|
|
141
141
|
cCC_1?: string;
|
|
142
142
|
};
|
|
143
|
-
export
|
|
143
|
+
export type AttributesCC_2 = {
|
|
144
144
|
aCC_2: string;
|
|
145
145
|
bCC_2?: string;
|
|
146
146
|
cCC_2?: string;
|
|
147
147
|
};
|
|
148
|
-
export
|
|
148
|
+
export type AttributesCC_3 = {
|
|
149
149
|
aCC_3: string;
|
|
150
150
|
bCC_3?: string;
|
|
151
151
|
cCC_3?: string;
|
|
152
152
|
};
|
|
153
|
-
export
|
|
153
|
+
export type AttributesRoot = {
|
|
154
154
|
root: string;
|
|
155
155
|
'ext:root'?: string;
|
|
156
156
|
};
|
|
157
|
-
|
|
157
|
+
type AttributesMap = {
|
|
158
158
|
A: AttributesA;
|
|
159
159
|
AAAA_1: AttributesAAAA_1;
|
|
160
160
|
AAAA_2: AttributesAAAA_2;
|
|
@@ -187,7 +187,8 @@ declare type AttributesMap = {
|
|
|
187
187
|
CC_3: AttributesCC_3;
|
|
188
188
|
Root: AttributesRoot;
|
|
189
189
|
};
|
|
190
|
-
export
|
|
191
|
-
export
|
|
192
|
-
export
|
|
190
|
+
export type AttributesOf<T extends AvailableElement> = AttributesMap[T];
|
|
191
|
+
export type RequiredAttributeNames<T extends AvailableElement> = (typeof REQUIRED_ATTRIBUTES)[T][number];
|
|
192
|
+
export type OptionalAttributeNames<T extends AvailableElement> = Exclude<keyof AttributesOf<T>, RequiredAttributeNames<T>>;
|
|
193
193
|
export {};
|
|
194
|
+
//# sourceMappingURL=types.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.generated.d.ts","sourceRoot":"","sources":["../../../../src/helpers/test-fixtures/generated/types.generated.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE/E,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAA;AAE7D,MAAM,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;CACX,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IAC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C,CAAC,SAAS,gBAAgB,IAAI,OAAO,CACvE,MAAM,YAAY,CAAC,CAAC,CAAC,EACrB,sBAAsB,CAAC,CAAC,CAAC,CACzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/helpers/test-fixtures/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AAEjC,mBAAmB,yBAAyB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { ChainTestOperation } from './test-operations.types';
|
|
2
|
+
import { Chain } from '../../chain-methods';
|
|
3
|
+
import { AnyDialecteConfig, ElementsOf, ChildrenOf, ExtensionRegistry } from '../../types';
|
|
4
4
|
/**
|
|
5
5
|
* Execute a series of operations on a chain
|
|
6
6
|
* Returns committed context
|
|
@@ -11,4 +11,5 @@ import type { AnyDialecteConfig, ElementsOf, ChildrenOf, ExtensionRegistry } fro
|
|
|
11
11
|
export declare function executeTableDrivenTestsChainOperations<GenericConfig extends AnyDialecteConfig, GenericElement extends ElementsOf<GenericConfig> = ElementsOf<GenericConfig>, GenericExtensionRegistry extends ExtensionRegistry<GenericConfig> = {}>(params: {
|
|
12
12
|
chain: Chain<GenericConfig, GenericElement, GenericExtensionRegistry>;
|
|
13
13
|
operations: Array<ChainTestOperation<GenericConfig, ElementsOf<GenericConfig>, ChildrenOf<GenericConfig, ElementsOf<GenericConfig>>>>;
|
|
14
|
-
}): Promise<
|
|
14
|
+
}): Promise<import('../../types').Context<AnyDialecteConfig, string>>;
|
|
15
|
+
//# sourceMappingURL=test-operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-operations.d.ts","sourceRoot":"","sources":["../../../src/helpers/test-fixtures/test-operations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,KAAK,EAAY,MAAM,iBAAiB,CAAA;AAEtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3F;;;;;;GAMG;AACH,wBAAsB,sCAAsC,CAC3D,aAAa,SAAS,iBAAiB,EACvC,cAAc,SAAS,UAAU,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC,aAAa,CAAC,EAC5E,wBAAwB,SAAS,iBAAiB,CAAC,aAAa,CAAC,GAAG,EAAE,EAErE,MAAM,EAAE;IACT,KAAK,EAAE,KAAK,CAAC,aAAa,EAAE,cAAc,EAAE,wBAAwB,CAAC,CAAA;IACrE,UAAU,EAAE,KAAK,CAChB,kBAAkB,CACjB,aAAa,EACb,UAAU,CAAC,aAAa,CAAC,EACzB,UAAU,CAAC,aAAa,EAAE,UAAU,CAAC,aAAa,CAAC,CAAC,CACpD,CACD,CAAA;CACD,iEA6DA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GoToElementParams } from '../../chain-methods/navigation';
|
|
2
|
+
import { AddChildParams, UpdateElementParams } from '../../chain-methods/mutations';
|
|
3
|
+
import { AnyDialecteConfig, ChildrenOf, ElementsOf } from '../../types';
|
|
4
|
+
export type ChainTestOperation<GenericConfig extends AnyDialecteConfig, GenericElement extends ElementsOf<GenericConfig>, GenericChildElement extends ChildrenOf<GenericConfig, GenericElement>> = ({
|
|
5
|
+
type: 'update';
|
|
6
|
+
goTo?: GoToElementParams<GenericConfig, GenericElement>;
|
|
7
|
+
} & UpdateElementParams<GenericConfig, GenericElement>) | {
|
|
8
|
+
type: 'delete';
|
|
9
|
+
goTo?: GoToElementParams<GenericConfig, GenericElement>;
|
|
10
|
+
} | ({
|
|
11
|
+
type: 'addChild';
|
|
12
|
+
goTo?: GoToElementParams<GenericConfig, GenericElement>;
|
|
13
|
+
} & AddChildParams<GenericConfig, GenericElement, GenericChildElement>);
|
|
14
|
+
export type AnyChainTestOperation = ChainTestOperation<AnyDialecteConfig, ElementsOf<AnyDialecteConfig>, ChildrenOf<AnyDialecteConfig, ElementsOf<AnyDialecteConfig>>>;
|
|
15
|
+
/**
|
|
16
|
+
* For table-driven tests where operations can target any element in the config.
|
|
17
|
+
* This creates a distributive union that maintains proper type narrowing for each operation.
|
|
18
|
+
*/
|
|
19
|
+
export type AnyElementChainTestOperation<GenericConfig extends AnyDialecteConfig> = ElementsOf<GenericConfig> extends infer Element ? Element extends ElementsOf<GenericConfig> ? ChainTestOperation<GenericConfig, Element, ChildrenOf<GenericConfig, Element>> : never : never;
|
|
20
|
+
//# sourceMappingURL=test-operations.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-operations.types.d.ts","sourceRoot":"","sources":["../../../src/helpers/test-fixtures/test-operations.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAE9D,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAExE,MAAM,MAAM,kBAAkB,CAC7B,aAAa,SAAS,iBAAiB,EACvC,cAAc,SAAS,UAAU,CAAC,aAAa,CAAC,EAChD,mBAAmB,SAAS,UAAU,CAAC,aAAa,EAAE,cAAc,CAAC,IAEnE,CAAC;IACD,IAAI,EAAE,QAAQ,CAAA;IACd,IAAI,CAAC,EAAE,iBAAiB,CAAC,aAAa,EAAE,cAAc,CAAC,CAAA;CACtD,GAAG,mBAAmB,CAAC,aAAa,EAAE,cAAc,CAAC,CAAC,GACvD;IACA,IAAI,EAAE,QAAQ,CAAA;IACd,IAAI,CAAC,EAAE,iBAAiB,CAAC,aAAa,EAAE,cAAc,CAAC,CAAA;CACtD,GACD,CAAC;IACD,IAAI,EAAE,UAAU,CAAA;IAChB,IAAI,CAAC,EAAE,iBAAiB,CAAC,aAAa,EAAE,cAAc,CAAC,CAAA;CACtD,GAAG,cAAc,CAAC,aAAa,EAAE,cAAc,EAAE,mBAAmB,CAAC,CAAC,CAAA;AAE1E,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,CACrD,iBAAiB,EACjB,UAAU,CAAC,iBAAiB,CAAC,EAC7B,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAC5D,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,4BAA4B,CAAC,aAAa,SAAS,iBAAiB,IAC/E,UAAU,CAAC,aAAa,CAAC,SAAS,MAAM,OAAO,GAC5C,OAAO,SAAS,UAAU,CAAC,aAAa,CAAC,GACxC,kBAAkB,CAAC,aAAa,EAAE,OAAO,EAAE,UAAU,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,GAC9E,KAAK,GACN,KAAK,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TEST_DIALECTE_CONFIG } from './config';
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
import { ElementsOf, FullAttributeObjectOf, RawRecord, ChainRecord, AttributesValueObjectOf, TreeRecord } from '../../types';
|
|
3
|
+
type TestDialecteConfig = typeof TEST_DIALECTE_CONFIG;
|
|
4
4
|
/**
|
|
5
5
|
* Create a test record for TEST_DIALECTE_CONFIG
|
|
6
6
|
* Helper function for test data generation
|
|
@@ -33,3 +33,4 @@ export declare function createTestRecord<GenericElement extends ElementsOf<TestD
|
|
|
33
33
|
} & Partial<RawRecord<TestDialecteConfig, GenericElement>>;
|
|
34
34
|
}): TreeRecord<TestDialecteConfig, GenericElement>;
|
|
35
35
|
export {};
|
|
36
|
+
//# sourceMappingURL=test-record.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|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O,CAAA;IACb,MAAM,EAAE;QACP,OAAO,EAAE,cAAc,CAAA;QACvB,UAAU,CAAC,EACR,uBAAuB,CAAC,kBAAkB,EAAE,cAAc,CAAC,GAC3D,qBAAqB,CAAC,kBAAkB,EAAE,cAAc,CAAC,EAAE,CAAA;KAC9D,GAAG,OAAO,CAAC,SAAS,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC,CAAA;CAC1D,GAAG,WAAW,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAA;AAEnD,wBAAgB,gBAAgB,CAAC,cAAc,SAAS,UAAU,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE;IAC/F,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE;QACP,OAAO,EAAE,cAAc,CAAA;QACvB,UAAU,CAAC,EACR,uBAAuB,CAAC,kBAAkB,EAAE,cAAc,CAAC,GAC3D,qBAAqB,CAAC,kBAAkB,EAAE,cAAc,CAAC,EAAE,CAAA;KAC9D,GAAG,OAAO,CAAC,SAAS,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC,CAAA;CAC1D,GAAG,UAAU,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,8 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './chain-methods';
|
|
2
|
+
export * from './database';
|
|
3
|
+
export * from './io';
|
|
4
|
+
export * from './dialecte';
|
|
5
|
+
export * from './helpers';
|
|
6
|
+
export * from './utils';
|
|
7
|
+
export type * from './types';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,MAAM,CAAA;AACpB,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AAEvB,mBAAmB,SAAS,CAAA"}
|