pareto 0.80.74 → 0.80.75

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.
Files changed (79) hide show
  1. package/dist/modules/pareto_new/schemas/module/shorthands/target.d.ts +10 -0
  2. package/dist/modules/pareto_new/schemas/module/shorthands/target.js +11 -1
  3. package/dist/modules/pareto_new/schemas/refiner/schema.d.ts +406 -37
  4. package/dist/modules/pareto_new/schemas/refiner/schema.js +3 -4
  5. package/dist/modules/pareto_new/schemas/refiner/shorthands/target.d.ts +77 -5
  6. package/dist/modules/pareto_new/schemas/refiner/shorthands/target.js +205 -8
  7. package/dist/modules/pareto_new/schemas/refiner/transformers/typescript_light.d.ts +6 -0
  8. package/dist/modules/pareto_new/schemas/refiner/transformers/typescript_light.js +363 -18
  9. package/dist/modules/pareto_new/schemas/schema/schema.d.ts +123 -56
  10. package/dist/modules/pareto_new/schemas/schema/schema.js +3 -3
  11. package/dist/modules/pareto_new/schemas/schema/shorthands/target.d.ts +12 -11
  12. package/dist/modules/pareto_new/schemas/schema/shorthands/target.js +9 -6
  13. package/dist/modules/pareto_new/schemas/schema/transformers/typescript_light.js +6 -6
  14. package/dist/modules/pareto_new/schemas/schema_reference/schema.d.ts +48 -11
  15. package/dist/modules/pareto_new/schemas/schema_reference/schema.js +2 -1
  16. package/dist/modules/pareto_new/schemas/schema_reference/shorthands/target.d.ts +11 -2
  17. package/dist/modules/pareto_new/schemas/schema_reference/shorthands/target.js +29 -6
  18. package/dist/modules/pareto_new/schemas/schema_reference/transformers/typescript_light.d.ts +8 -0
  19. package/dist/modules/pareto_new/schemas/schema_reference/transformers/typescript_light.js +23 -3
  20. package/dist/modules/pareto_new/schemas/transformer/schema.d.ts +388 -33
  21. package/dist/modules/pareto_new/schemas/transformer/schema.js +3 -4
  22. package/dist/modules/pareto_new/schemas/transformer/shorthands/target.d.ts +75 -3
  23. package/dist/modules/pareto_new/schemas/transformer/shorthands/target.js +196 -47
  24. package/dist/modules/pareto_new/schemas/transformer/transformers/typescript_light.d.ts +7 -1
  25. package/dist/modules/pareto_new/schemas/transformer/transformers/typescript_light.js +313 -30
  26. package/dist/modules/typescript_light/schemas/typescript_light/schema.d.ts +293 -259
  27. package/dist/modules/typescript_light/schemas/typescript_light/schema.js +3 -3
  28. package/dist/modules/typescript_light/schemas/{primitives → typescript_light}/serializers.d.ts +7 -8
  29. package/dist/modules/typescript_light/schemas/typescript_light/serializers.js +487 -0
  30. package/dist/modules/typescript_light/schemas/typescript_light/shorthands/target.d.ts +16 -14
  31. package/dist/modules/typescript_light/schemas/typescript_light/shorthands/target.js +39 -37
  32. package/dist/modules/typescript_light/schemas/typescript_light/transformers/paragraph.d.ts +8 -1
  33. package/dist/modules/typescript_light/schemas/typescript_light/transformers/paragraph.js +206 -222
  34. package/package.json +1 -1
  35. package/dist/modules/file_name/schemas/file_name/schema.d.ts +0 -1
  36. package/dist/modules/file_name/schemas/file_name/schema.js +0 -2
  37. package/dist/modules/file_name/schemas/file_name/serializers.d.ts +0 -6
  38. package/dist/modules/file_name/schemas/file_name/serializers.js +0 -23
  39. package/dist/modules/implementation_old/schemas/resolved/schema.d.ts +0 -748
  40. package/dist/modules/implementation_old/schemas/resolved/schema.js +0 -4
  41. package/dist/modules/implementation_old/schemas/resolved/shorthands/target.d.ts +0 -134
  42. package/dist/modules/implementation_old/schemas/resolved/shorthands/target.js +0 -460
  43. package/dist/modules/implementation_old/schemas/resolved/transformers/typescript_project.d.ts +0 -5
  44. package/dist/modules/implementation_old/schemas/resolved/transformers/typescript_project.js +0 -9
  45. package/dist/modules/implementation_old/schemas/resolved/transformers/typescript_source_file.d.ts +0 -9
  46. package/dist/modules/implementation_old/schemas/resolved/transformers/typescript_source_file.js +0 -647
  47. package/dist/modules/implementation_old/schemas/unresolved/schema.d.ts +0 -1288
  48. package/dist/modules/implementation_old/schemas/unresolved/schema.js +0 -4
  49. package/dist/modules/interface_old/schemas/resolved/schema.d.ts +0 -160
  50. package/dist/modules/interface_old/schemas/resolved/schema.js +0 -3
  51. package/dist/modules/interface_old/schemas/resolved/shorthands/target.d.ts +0 -47
  52. package/dist/modules/interface_old/schemas/resolved/shorthands/target.js +0 -185
  53. package/dist/modules/interface_old/schemas/resolved/transformers/to_be_written_directory_content.d.ts +0 -5
  54. package/dist/modules/interface_old/schemas/resolved/transformers/to_be_written_directory_content.js +0 -9
  55. package/dist/modules/interface_old/schemas/resolved/transformers/typescript.d.ts +0 -10
  56. package/dist/modules/interface_old/schemas/resolved/transformers/typescript.js +0 -270
  57. package/dist/modules/interface_old/schemas/unresolved/schema.d.ts +0 -371
  58. package/dist/modules/interface_old/schemas/unresolved/schema.js +0 -4
  59. package/dist/modules/pareto_new/schemas/type_reference/schema.d.ts +0 -18
  60. package/dist/modules/pareto_new/schemas/type_reference/schema.js +0 -2
  61. package/dist/modules/pareto_new/schemas/type_reference/shorthands/target.d.ts +0 -3
  62. package/dist/modules/pareto_new/schemas/type_reference/shorthands/target.js +0 -8
  63. package/dist/modules/pareto_new/schemas/value_reference/schema.d.ts +0 -18
  64. package/dist/modules/pareto_new/schemas/value_reference/schema.js +0 -3
  65. package/dist/modules/pareto_new/schemas/value_reference/shorthands/target.d.ts +0 -10
  66. package/dist/modules/pareto_new/schemas/value_reference/shorthands/target.js +0 -18
  67. package/dist/modules/pareto_old/schemas/library/schema.d.ts +0 -1
  68. package/dist/modules/pareto_old/schemas/library/schema.js +0 -2
  69. package/dist/modules/pareto_old/schemas/library/transformers/typescript_light.d.ts +0 -12
  70. package/dist/modules/pareto_old/schemas/library/transformers/typescript_light.js +0 -13
  71. package/dist/modules/typescript_light/schemas/identifier/schema.d.ts +0 -1
  72. package/dist/modules/typescript_light/schemas/identifier/schema.js +0 -2
  73. package/dist/modules/typescript_light/schemas/identifier/serializers.d.ts +0 -2
  74. package/dist/modules/typescript_light/schemas/identifier/serializers.js +0 -230
  75. package/dist/modules/typescript_light/schemas/primitives/schema.d.ts +0 -2
  76. package/dist/modules/typescript_light/schemas/primitives/schema.js +0 -2
  77. package/dist/modules/typescript_light/schemas/primitives/serializers.js +0 -255
  78. package/dist/temp/single_entry_dictionary.d.ts +0 -2
  79. package/dist/temp/single_entry_dictionary.js +0 -8
@@ -1,3 +1,13 @@
1
1
  import type * as s_out from "../schema.js";
2
+ export * as refiner from "../../refiner/shorthands/target.js";
3
+ export * as schema_reference from "../../schema_reference/shorthands/target.js";
4
+ export * as schema from "../../schema/shorthands/target.js";
5
+ export * as transformer from "../../transformer/shorthands/target.js";
6
+ export * as serializer from "../../serializer/shorthands/target.js";
7
+ export * as deserializer from "../../deserializer/shorthands/target.js";
8
+ export * as command_implementation from "../../command_implementation/shorthands/target.js";
9
+ export * as command_interface from "../../command_interface/shorthands/target.js";
10
+ export * as query_implementation from "../../query_implementation/shorthands/target.js";
11
+ export * as query_interface from "../../query_interface/shorthands/target.js";
2
12
  export declare const module: (submodules: s_out.Module["modules"], schema_packages: s_out.Module["schemas"], query_interfaces: s_out.Module["queries"]["interfaces"], query_implementations: s_out.Module["queries"]["implementations"], command_interfaces: s_out.Module["commands"]["interfaces"], command_implementations: s_out.Module["commands"]["implementations"]) => s_out.Module;
3
13
  export declare const schema_package: (schema: s_out.Schema_Package["schema"], transformers: s_out.Schema_Package["transformers"], serializers: s_out.Schema_Package["serializers"], refiners: s_out.Schema_Package["refiners"], deserializers: s_out.Schema_Package["deserializers"]) => s_out.Schema_Package;
@@ -1,4 +1,14 @@
1
1
  import * as p_ from 'pareto-core-shorthands/unconstrained_target';
2
+ export * as refiner from "../../refiner/shorthands/target.js";
3
+ export * as schema_reference from "../../schema_reference/shorthands/target.js";
4
+ export * as schema from "../../schema/shorthands/target.js";
5
+ export * as transformer from "../../transformer/shorthands/target.js";
6
+ export * as serializer from "../../serializer/shorthands/target.js";
7
+ export * as deserializer from "../../deserializer/shorthands/target.js";
8
+ export * as command_implementation from "../../command_implementation/shorthands/target.js";
9
+ export * as command_interface from "../../command_interface/shorthands/target.js";
10
+ export * as query_implementation from "../../query_implementation/shorthands/target.js";
11
+ export * as query_interface from "../../query_interface/shorthands/target.js";
2
12
  export const module = (submodules, schema_packages, query_interfaces, query_implementations, command_interfaces, command_implementations) => ({
3
13
  'modules': submodules,
4
14
  'schemas': schema_packages,
@@ -18,4 +28,4 @@ export const schema_package = (schema, transformers, serializers, refiners, dese
18
28
  'refiners': refiners,
19
29
  'deserializers': deserializers,
20
30
  });
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFyZ2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21vZHVsZXMvcGFyZXRvX25ldy9zY2hlbWFzL21vZHVsZS9zaG9ydGhhbmRzL3RhcmdldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxNQUFNLDZDQUE2QyxDQUFBO0FBSWpFLE1BQU0sQ0FBQyxNQUFNLE1BQU0sR0FBRyxDQUNsQixVQUFtQyxFQUNuQyxlQUF3QyxFQUN4QyxnQkFBdUQsRUFDdkQscUJBQWlFLEVBQ2pFLGtCQUEwRCxFQUMxRCx1QkFBb0UsRUFDeEQsRUFBRSxDQUFDLENBQUM7SUFDaEIsU0FBUyxFQUFFLFVBQVU7SUFDckIsU0FBUyxFQUFFLGVBQWU7SUFDMUIsU0FBUyxFQUFFO1FBQ1AsaUJBQWlCLEVBQUUscUJBQXFCO1FBQ3hDLFlBQVksRUFBRSxnQkFBZ0I7S0FDakM7SUFDRCxVQUFVLEVBQUU7UUFDUixpQkFBaUIsRUFBRSx1QkFBdUI7UUFDMUMsWUFBWSxFQUFFLGtCQUFrQjtLQUNuQztDQUNKLENBQUMsQ0FBQTtBQUVGLE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRyxDQUMxQixNQUFzQyxFQUN0QyxZQUFrRCxFQUNsRCxXQUFnRCxFQUNoRCxRQUEwQyxFQUMxQyxhQUFvRCxFQUNoQyxFQUFFLENBQUMsQ0FBQztJQUN4QixRQUFRLEVBQUUsTUFBTTtJQUNoQixjQUFjLEVBQUUsWUFBWTtJQUM1QixhQUFhLEVBQUUsV0FBVztJQUMxQixVQUFVLEVBQUUsUUFBUTtJQUNwQixlQUFlLEVBQUUsYUFBYTtDQUNqQyxDQUFDLENBQUEifQ==
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFyZ2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21vZHVsZXMvcGFyZXRvX25ldy9zY2hlbWFzL21vZHVsZS9zaG9ydGhhbmRzL3RhcmdldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxNQUFNLDZDQUE2QyxDQUFBO0FBSWpFLE9BQU8sS0FBSyxPQUFPLE1BQU0sb0NBQW9DLENBQUE7QUFDN0QsT0FBTyxLQUFLLGdCQUFnQixNQUFNLDZDQUE2QyxDQUFBO0FBQy9FLE9BQU8sS0FBSyxNQUFNLE1BQU0sbUNBQW1DLENBQUE7QUFDM0QsT0FBTyxLQUFLLFdBQVcsTUFBTSx3Q0FBd0MsQ0FBQTtBQUNyRSxPQUFPLEtBQUssVUFBVSxNQUFNLHVDQUF1QyxDQUFBO0FBQ25FLE9BQU8sS0FBSyxZQUFZLE1BQU0seUNBQXlDLENBQUE7QUFDdkUsT0FBTyxLQUFLLHNCQUFzQixNQUFNLG1EQUFtRCxDQUFBO0FBQzNGLE9BQU8sS0FBSyxpQkFBaUIsTUFBTSw4Q0FBOEMsQ0FBQTtBQUNqRixPQUFPLEtBQUssb0JBQW9CLE1BQU0saURBQWlELENBQUE7QUFDdkYsT0FBTyxLQUFLLGVBQWUsTUFBTSw0Q0FBNEMsQ0FBQTtBQUU3RSxNQUFNLENBQUMsTUFBTSxNQUFNLEdBQUcsQ0FDbEIsVUFBbUMsRUFDbkMsZUFBd0MsRUFDeEMsZ0JBQXVELEVBQ3ZELHFCQUFpRSxFQUNqRSxrQkFBMEQsRUFDMUQsdUJBQW9FLEVBQ3hELEVBQUUsQ0FBQyxDQUFDO0lBQ2hCLFNBQVMsRUFBRSxVQUFVO0lBQ3JCLFNBQVMsRUFBRSxlQUFlO0lBQzFCLFNBQVMsRUFBRTtRQUNQLGlCQUFpQixFQUFFLHFCQUFxQjtRQUN4QyxZQUFZLEVBQUUsZ0JBQWdCO0tBQ2pDO0lBQ0QsVUFBVSxFQUFFO1FBQ1IsaUJBQWlCLEVBQUUsdUJBQXVCO1FBQzFDLFlBQVksRUFBRSxrQkFBa0I7S0FDbkM7Q0FDSixDQUFDLENBQUE7QUFFRixNQUFNLENBQUMsTUFBTSxjQUFjLEdBQUcsQ0FDMUIsTUFBc0MsRUFDdEMsWUFBa0QsRUFDbEQsV0FBZ0QsRUFDaEQsUUFBMEMsRUFDMUMsYUFBb0QsRUFDaEMsRUFBRSxDQUFDLENBQUM7SUFDeEIsUUFBUSxFQUFFLE1BQU07SUFDaEIsY0FBYyxFQUFFLFlBQVk7SUFDNUIsYUFBYSxFQUFFLFdBQVc7SUFDMUIsVUFBVSxFQUFFLFFBQVE7SUFDcEIsZUFBZSxFQUFFLGFBQWE7Q0FDakMsQ0FBQyxDQUFBIn0=
@@ -1,47 +1,416 @@
1
1
  import * as p_ from 'pareto-core/schema';
2
- import * as i_value_reference from "../value_reference/schema.js";
3
- import * as i_type_reference from "../type_reference/schema.js";
4
- import * as i_schema_reference from "../schema_reference/schema.js";
5
- export type Root = {
6
- 'development mode': boolean;
7
- 'source schema': i_schema_reference.Schema_Reference;
8
- 'error schema': p_.Optional_Value<i_schema_reference.Schema_Reference>;
9
- 'parameters schema': p_.Optional_Value<i_schema_reference.Schema_Reference>;
10
- 'declarations': p_.Dictionary<Root.declarations_D>;
11
- 'dependencies': p_.Dictionary<Root.dependencies_D>;
12
- 'implementations': p_.Dictionary<Root.implementations_D>;
13
- };
14
- export declare namespace Root {
15
- type declarations_D = {
16
- 'source': ['value', i_value_reference.Value_Reference] | ['iterator', i_value_reference.Value_Reference];
17
- 'error': p_.Optional_Value<i_type_reference.Type_Reference>;
18
- 'parameter': p_.Optional_Value<i_type_reference.Type_Reference>;
2
+ declare namespace Value_Selection_Tail_ {
3
+ type L = string;
4
+ }
5
+ type Value_Selection_Tail_ = p_.List<Value_Selection_Tail_.L>;
6
+ declare namespace Select_Value_ {
7
+ namespace call {
8
+ namespace scope {
9
+ namespace external {
10
+ type refiner = string;
11
+ type function_ = string;
12
+ }
13
+ type external = {
14
+ readonly 'refiner': external.refiner;
15
+ readonly 'function': external.function_;
16
+ };
17
+ namespace local {
18
+ type function_ = string;
19
+ }
20
+ type local = {
21
+ readonly 'function': local.function_;
22
+ };
23
+ }
24
+ type scope = readonly ['external', scope.external] | readonly ['local', scope.local];
25
+ type context = Select_Value_;
26
+ namespace error {
27
+ type omit = null;
28
+ type pass_through = null;
29
+ namespace handle {
30
+ type expression = Expression_;
31
+ }
32
+ type handle = {
33
+ readonly 'expression': handle.expression;
34
+ };
35
+ }
36
+ type error = readonly ['omit', error.omit] | readonly ['pass through', error.pass_through] | readonly ['handle', error.handle];
37
+ namespace arguments_ {
38
+ type omit = null;
39
+ type pass_through = null;
40
+ namespace initialize {
41
+ type expression = Expression_;
42
+ }
43
+ type initialize = {
44
+ readonly 'expression': initialize.expression;
45
+ };
46
+ }
47
+ type arguments_ = readonly ['omit', arguments_.omit] | readonly ['pass through', arguments_.pass_through] | readonly ['initialize', arguments_.initialize];
48
+ type tail = Value_Selection_Tail_;
49
+ }
50
+ type call = {
51
+ readonly 'scope': call.scope;
52
+ readonly 'context': call.context;
53
+ readonly 'error': call.error;
54
+ readonly 'arguments': call.arguments_;
55
+ readonly 'tail': call.tail;
19
56
  };
20
- type dependencies_D = {};
21
- type implementations_D = {
22
- 'expression': Expression;
57
+ namespace context_value {
58
+ type tail = Value_Selection_Tail_;
59
+ }
60
+ type context_value = {
61
+ readonly 'tail': context_value.tail;
23
62
  };
24
63
  }
25
- export type Expression = ['from', Expression.from] | [
26
- 'implement me',
27
- {
28
- 'remark': string;
29
- }
30
- ];
31
- export declare namespace Expression {
32
- type from = {
33
- 'selection': Value_Selection;
34
- 'type': ['dictionary map', null];
64
+ type Select_Value_ = readonly ['call', Select_Value_.call] | readonly ['context value', Select_Value_.context_value];
65
+ declare namespace Value_Reference_ {
66
+ type type_ = string;
67
+ namespace subselection {
68
+ namespace L {
69
+ type dictionary = null;
70
+ namespace group {
71
+ type property = string;
72
+ }
73
+ type group = {
74
+ readonly 'property': group.property;
75
+ };
76
+ type list = null;
77
+ type optional = null;
78
+ namespace state {
79
+ type option = string;
80
+ }
81
+ type state = {
82
+ readonly 'option': state.option;
83
+ };
84
+ }
85
+ type L = readonly ['dictionary', L.dictionary] | readonly ['group', L.group] | readonly ['list', L.list] | readonly ['optional', L.optional] | readonly ['state', L.state];
86
+ }
87
+ type subselection = p_.List<subselection.L>;
88
+ }
89
+ type Value_Reference_ = {
90
+ readonly 'type': Value_Reference_.type_;
91
+ readonly 'subselection': Value_Reference_.subselection;
92
+ };
93
+ declare namespace Expression_ {
94
+ type abort = Expression_;
95
+ namespace change_context {
96
+ type select = Select_Value_;
97
+ type callback = Expression_;
98
+ }
99
+ type change_context = {
100
+ readonly 'select': change_context.select;
101
+ readonly 'callback': change_context.callback;
102
+ };
103
+ namespace convert {
104
+ type select = Select_Value_;
105
+ namespace type_ {
106
+ namespace component {
107
+ namespace transform {
108
+ namespace scope {
109
+ namespace external {
110
+ type refiner = string;
111
+ type function_ = string;
112
+ }
113
+ type external = {
114
+ readonly 'refiner': external.refiner;
115
+ readonly 'function': external.function_;
116
+ };
117
+ namespace local {
118
+ type function_ = string;
119
+ }
120
+ type local = {
121
+ readonly 'function': local.function_;
122
+ };
123
+ }
124
+ type scope = readonly ['external', scope.external] | readonly ['local', scope.local];
125
+ namespace error {
126
+ type omit = null;
127
+ type pass_through = null;
128
+ type handle = Expression_;
129
+ }
130
+ type error = readonly ['omit', error.omit] | readonly ['pass through', error.pass_through] | readonly ['handle', error.handle];
131
+ namespace arguments_ {
132
+ type omit = null;
133
+ type pass_through = null;
134
+ type initialize = Expression_;
135
+ }
136
+ type arguments_ = readonly ['omit', arguments_.omit] | readonly ['pass through', arguments_.pass_through] | readonly ['initialize', arguments_.initialize];
137
+ }
138
+ type transform = {
139
+ readonly 'scope': transform.scope;
140
+ readonly 'error': transform.error;
141
+ readonly 'arguments': transform.arguments_;
142
+ };
143
+ }
144
+ type component = readonly ['transform', component.transform];
145
+ namespace dictionary {
146
+ namespace map {
147
+ type on_entry = Expression_;
148
+ }
149
+ type map = {
150
+ readonly 'on entry': map.on_entry;
151
+ };
152
+ }
153
+ type dictionary = readonly ['map', dictionary.map];
154
+ namespace list {
155
+ namespace map {
156
+ type on_item = Expression_;
157
+ }
158
+ type map = {
159
+ readonly 'on item': map.on_item;
160
+ };
161
+ }
162
+ type list = readonly ['map', list.map];
163
+ namespace optional {
164
+ namespace decide {
165
+ namespace temp_return_type {
166
+ type O = Value_Reference_;
167
+ }
168
+ type temp_return_type = p_.Optional_Value<temp_return_type.O>;
169
+ type on_set = Expression_;
170
+ type on_not_set = Expression_;
171
+ }
172
+ type decide = {
173
+ readonly 'temp return type': decide.temp_return_type;
174
+ readonly 'on set': decide.on_set;
175
+ readonly 'on not set': decide.on_not_set;
176
+ };
177
+ namespace map {
178
+ type on_set = Expression_;
179
+ }
180
+ type map = {
181
+ readonly 'on set': map.on_set;
182
+ };
183
+ }
184
+ type optional = readonly ['decide', optional.decide] | readonly ['map', optional.map];
185
+ namespace state {
186
+ namespace decide {
187
+ namespace temp_return_type {
188
+ type O = Value_Reference_;
189
+ }
190
+ type temp_return_type = p_.Optional_Value<temp_return_type.O>;
191
+ namespace options {
192
+ type D = Expression_;
193
+ }
194
+ type options = p_.Dictionary<options.D>;
195
+ }
196
+ type decide = {
197
+ readonly 'temp return type': decide.temp_return_type;
198
+ readonly 'options': decide.options;
199
+ };
200
+ }
201
+ type state = readonly ['decide', state.decide];
202
+ namespace text {
203
+ namespace decide {
204
+ namespace temp_return_type {
205
+ type O = Value_Reference_;
206
+ }
207
+ type temp_return_type = p_.Optional_Value<temp_return_type.O>;
208
+ namespace matches {
209
+ type D = Expression_;
210
+ }
211
+ type matches = p_.Dictionary<matches.D>;
212
+ type no_match = Expression_;
213
+ }
214
+ type decide = {
215
+ readonly 'temp return type': decide.temp_return_type;
216
+ readonly 'matches': decide.matches;
217
+ readonly 'no match': decide.no_match;
218
+ };
219
+ }
220
+ type text = readonly ['decide', text.decide];
221
+ }
222
+ type type_ = readonly ['component', type_.component] | readonly ['dictionary', type_.dictionary] | readonly ['list', type_.list] | readonly ['optional', type_.optional] | readonly ['state', type_.state] | readonly ['text', type_.text];
223
+ }
224
+ type convert = {
225
+ readonly 'select': convert.select;
226
+ readonly 'type': convert.type_;
227
+ };
228
+ namespace implement_me {
229
+ type remark = string;
230
+ }
231
+ type implement_me = {
232
+ readonly 'remark': implement_me.remark;
35
233
  };
36
- namespace from {
234
+ namespace initialize {
235
+ namespace boolean_ {
236
+ type false_ = null;
237
+ type true_ = null;
238
+ }
239
+ type boolean_ = readonly ['false', boolean_.false_] | readonly ['true', boolean_.true_];
240
+ namespace dictionary {
241
+ type D = Expression_;
242
+ }
243
+ type dictionary = p_.Dictionary<dictionary.D>;
244
+ namespace group {
245
+ type D = Expression_;
246
+ }
247
+ type group = p_.Dictionary<group.D>;
248
+ namespace list {
249
+ type L = Expression_;
250
+ }
251
+ type list = p_.List<list.L>;
252
+ type nothing = null;
253
+ namespace number_ {
254
+ type natural = number;
255
+ type integer = number;
256
+ }
257
+ type number_ = readonly ['natural', number_.natural] | readonly ['integer', number_.integer];
258
+ namespace optional {
259
+ type not_set = null;
260
+ type set_ = Expression_;
261
+ }
262
+ type optional = readonly ['not set', optional.not_set] | readonly ['set', optional.set_];
263
+ type reference = string;
264
+ namespace state {
265
+ type option = string;
266
+ type data = Expression_;
267
+ }
268
+ type state = {
269
+ readonly 'option': state.option;
270
+ readonly 'data': state.data;
271
+ };
272
+ type text = string;
273
+ }
274
+ type initialize = readonly ['boolean', initialize.boolean_] | readonly ['dictionary', initialize.dictionary] | readonly ['group', initialize.group] | readonly ['list', initialize.list] | readonly ['nothing', initialize.nothing] | readonly ['number', initialize.number_] | readonly ['optional', initialize.optional] | readonly ['reference', initialize.reference] | readonly ['state', initialize.state] | readonly ['text', initialize.text];
275
+ type select = Select_Value_;
276
+ }
277
+ type Expression_ = readonly ['abort', Expression_.abort] | readonly ['change context', Expression_.change_context] | readonly ['convert', Expression_.convert] | readonly ['implement me', Expression_.implement_me] | readonly ['initialize', Expression_.initialize] | readonly ['select', Expression_.select];
278
+ declare namespace Schema_Reference_ {
279
+ type sibling = string;
280
+ namespace external {
281
+ type package_ = string;
282
+ type module_ = string;
283
+ type schema = string;
37
284
  }
285
+ type external = {
286
+ readonly 'package': external.package_;
287
+ readonly 'module': external.module_;
288
+ readonly 'schema': external.schema;
289
+ };
290
+ }
291
+ type Schema_Reference_ = readonly ['sibling', Schema_Reference_.sibling] | readonly ['external', Schema_Reference_.external];
292
+ declare namespace Type_Reference_ {
293
+ type type_ = string;
38
294
  }
39
- export type Value_Selection = {
40
- 'start': ['context value', null];
41
- 'tail': p_.List<Value_Selection.tail.L>;
295
+ type Type_Reference_ = {
296
+ readonly 'type': Type_Reference_.type_;
42
297
  };
43
- export declare namespace Value_Selection {
44
- namespace tail {
45
- type L = string;
298
+ declare namespace Root_ {
299
+ type development_mode = boolean;
300
+ type source_schema = Schema_Reference_;
301
+ namespace error_schema {
302
+ type O = Schema_Reference_;
303
+ }
304
+ type error_schema = p_.Optional_Value<error_schema.O>;
305
+ namespace parameters_schema {
306
+ type O = Schema_Reference_;
46
307
  }
308
+ type parameters_schema = p_.Optional_Value<parameters_schema.O>;
309
+ namespace dependencies {
310
+ namespace deserializers {
311
+ namespace D {
312
+ type this_schema = null;
313
+ namespace cousin {
314
+ type schema = string;
315
+ }
316
+ type cousin = {
317
+ readonly 'schema': cousin.schema;
318
+ };
319
+ namespace external {
320
+ type package_ = string;
321
+ type module_ = string;
322
+ type schema = string;
323
+ }
324
+ type external = {
325
+ readonly 'package': external.package_;
326
+ readonly 'module': external.module_;
327
+ readonly 'schema': external.schema;
328
+ };
329
+ }
330
+ type D = readonly ['this schema', D.this_schema] | readonly ['cousin', D.cousin] | readonly ['external', D.external];
331
+ }
332
+ type deserializers = p_.Dictionary<deserializers.D>;
333
+ namespace refiners {
334
+ namespace D {
335
+ namespace sibling {
336
+ type refiner = string;
337
+ }
338
+ type sibling = {
339
+ readonly 'refiner': sibling.refiner;
340
+ };
341
+ namespace cousin {
342
+ type schema = string;
343
+ type refiner = string;
344
+ }
345
+ type cousin = {
346
+ readonly 'schema': cousin.schema;
347
+ readonly 'refiner': cousin.refiner;
348
+ };
349
+ namespace external {
350
+ type package_ = string;
351
+ type module_ = string;
352
+ type schema = string;
353
+ type refiner = string;
354
+ }
355
+ type external = {
356
+ readonly 'package': external.package_;
357
+ readonly 'module': external.module_;
358
+ readonly 'schema': external.schema;
359
+ readonly 'refiner': external.refiner;
360
+ };
361
+ }
362
+ type D = readonly ['sibling', D.sibling] | readonly ['cousin', D.cousin] | readonly ['external', D.external];
363
+ }
364
+ type refiners = p_.Dictionary<refiners.D>;
365
+ }
366
+ type dependencies = {
367
+ readonly 'deserializers': dependencies.deserializers;
368
+ readonly 'refiners': dependencies.refiners;
369
+ };
370
+ namespace declarations {
371
+ namespace D {
372
+ namespace source {
373
+ type value = Value_Reference_;
374
+ type iterator = Value_Reference_;
375
+ }
376
+ type source = readonly ['value', source.value] | readonly ['iterator', source.iterator];
377
+ namespace error {
378
+ type O = Type_Reference_;
379
+ }
380
+ type error = p_.Optional_Value<error.O>;
381
+ namespace parameters {
382
+ type O = Type_Reference_;
383
+ }
384
+ type parameters = p_.Optional_Value<parameters.O>;
385
+ }
386
+ type D = {
387
+ readonly 'source': D.source;
388
+ readonly 'error': D.error;
389
+ readonly 'parameters': D.parameters;
390
+ };
391
+ }
392
+ type declarations = p_.Dictionary<declarations.D>;
393
+ namespace implementations {
394
+ namespace D {
395
+ type temp_has_error = boolean;
396
+ type temp_has_parameters = boolean;
397
+ type expression = Expression_;
398
+ }
399
+ type D = {
400
+ readonly 'temp has error': D.temp_has_error;
401
+ readonly 'temp has parameters': D.temp_has_parameters;
402
+ readonly 'expression': D.expression;
403
+ };
404
+ }
405
+ type implementations = p_.Dictionary<implementations.D>;
47
406
  }
407
+ type Root_ = {
408
+ readonly 'development mode': Root_.development_mode;
409
+ readonly 'source schema': Root_.source_schema;
410
+ readonly 'error schema': Root_.error_schema;
411
+ readonly 'parameters schema': Root_.parameters_schema;
412
+ readonly 'dependencies': Root_.dependencies;
413
+ readonly 'declarations': Root_.declarations;
414
+ readonly 'implementations': Root_.implementations;
415
+ };
416
+ export { type Value_Selection_Tail_ as Value_Selection_Tail, type Select_Value_ as Select_Value, type Value_Reference_ as Value_Reference, type Expression_ as Expression, type Schema_Reference_ as Schema_Reference, type Type_Reference_ as Type_Reference, type Root_ as Root, };
@@ -1,5 +1,4 @@
1
1
  import * as p_ from 'pareto-core/schema';
2
- import * as i_value_reference from "../value_reference/schema.js";
3
- import * as i_type_reference from "../type_reference/schema.js";
4
- import * as i_schema_reference from "../schema_reference/schema.js";
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21vZHVsZXMvcGFyZXRvX25ldy9zY2hlbWFzL3JlZmluZXIvc2NoZW1hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLE1BQU0sb0JBQW9CLENBQUE7QUFFeEMsT0FBTyxLQUFLLGlCQUFpQixNQUFNLDhCQUE4QixDQUFBO0FBQ2pFLE9BQU8sS0FBSyxnQkFBZ0IsTUFBTSw2QkFBNkIsQ0FBQTtBQUMvRCxPQUFPLEtBQUssa0JBQWtCLE1BQU0sK0JBQStCLENBQUEifQ==
2
+ // exported root types
3
+ export {};
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21vZHVsZXMvcGFyZXRvX25ldy9zY2hlbWFzL3JlZmluZXIvc2NoZW1hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxFQUFFLE1BQU0sb0JBQW9CLENBQUE7QUF1dkJ4QyxzQkFBc0I7QUFDdEIsT0FBTyxFQVFOLENBQUEifQ==
@@ -1,12 +1,84 @@
1
1
  import * as p_ from 'pareto-core-shorthands/unconstrained_target';
2
2
  import type * as s_out from "../schema.js";
3
- import type * as s_vr from "../../value_reference/schema.js";
4
- export declare const root: (development_mode: boolean, source_schema: s_out.Root["source schema"], error_schema: s_out.Root["error schema"], parameters_schema: s_out.Root["parameters schema"], declarations: p_.Normal_Dictionary<s_out.Root.declarations_D>, dependencies: p_.Normal_Dictionary<s_out.Root.dependencies_D>, implementations: p_.Normal_Dictionary<s_out.Root.implementations_D>) => s_out.Root;
3
+ export * as schema_reference from "../../schema_reference/shorthands/target.js";
4
+ export declare const root: (development_mode: boolean, source_schema: s_out.Root.source_schema, error_schema: s_out.Root.error_schema, parameters_schema: s_out.Root.parameters_schema, dependencies_dererializers: p_.Normal_Dictionary<s_out.Root.dependencies.deserializers.D>, dependencies_refiners: p_.Normal_Dictionary<s_out.Root.dependencies.refiners.D>, declarations: p_.Normal_Dictionary<s_out.Root.declarations.D>, implementations: p_.Normal_Dictionary<s_out.Root.implementations.D>) => s_out.Root;
5
+ export declare namespace dependency {
6
+ namespace deserializer {
7
+ const cousin: (schema: string) => s_out.Root.dependencies.deserializers.D;
8
+ const external: (pkg: string, module: string, schema: string) => s_out.Root.dependencies.deserializers.D;
9
+ const this_schema: () => s_out.Root.dependencies.deserializers.D;
10
+ }
11
+ namespace refiner {
12
+ const cousin: (schema: string, refiner: string) => s_out.Root.dependencies.refiners.D;
13
+ const external: (pkg: string, module: string, schema: string, refiner: string) => s_out.Root.dependencies.refiners.D;
14
+ const sibling: (refiner: string) => s_out.Root.dependencies.refiners.D;
15
+ }
16
+ }
5
17
  export declare namespace declaration {
6
- const production: (source: s_vr.Value_Reference, error: s_out.Root.declarations_D["error"], parameter: s_out.Root.declarations_D["parameter"]) => s_out.Root.declarations_D;
7
- const refiner: (source: s_vr.Value_Reference, error: s_out.Root.declarations_D["error"], parameter: s_out.Root.declarations_D["parameter"]) => s_out.Root.declarations_D;
18
+ const production: (source: s_out.Root.declarations.D.source.iterator, error: s_out.Root.declarations.D.error, parameters: s_out.Root.declarations.D.parameters) => s_out.Root.declarations.D;
19
+ const refiner: (source: s_out.Root.declarations.D.source.value, error: s_out.Root.declarations.D.error, parameters: s_out.Root.declarations.D.parameters) => s_out.Root.declarations.D;
8
20
  }
9
- export declare const implementation: (expression: s_out.Expression) => s_out.Root.implementations_D;
21
+ export declare const implementation: (temp_has_error: boolean, temp_has_parameters: boolean, expression: s_out.Expression) => s_out.Root.implementations.D;
10
22
  export declare namespace expr {
23
+ const abort: (expression: s_out.Expression) => s_out.Expression;
24
+ const change_context: (select: s_out.Expression.change_context.select, callback: s_out.Expression.change_context.callback) => s_out.Expression;
25
+ namespace convert {
26
+ namespace component {
27
+ const transform: (select: s_out.Expression.convert.select, scope: s_out.Expression.convert.type_.component.transform.scope, error: null | "pass through" | s_out.Expression, arguments_: null | "pass through" | s_out.Expression) => s_out.Expression;
28
+ namespace transform_ {
29
+ const external: (refiner: string, function_: string) => s_out.Expression.convert.type_.component.transform.scope;
30
+ const local: (function_: string) => s_out.Expression.convert.type_.component.transform.scope;
31
+ }
32
+ }
33
+ namespace dictionary {
34
+ const map: (select: s_out.Expression.convert.select, on_entry: s_out.Expression.convert.type_.dictionary.map.on_entry) => s_out.Expression;
35
+ }
36
+ namespace group {
37
+ }
38
+ namespace list {
39
+ const map: (select: s_out.Expression.convert.select, on_item: s_out.Expression.convert.type_.list.map.on_item) => s_out.Expression;
40
+ }
41
+ namespace optional {
42
+ const decide: (select: s_out.Expression.convert.select, temp_return_value: s_out.Expression.convert.type_.optional.decide.temp_return_type, on_set: s_out.Expression.convert.type_.optional.map.on_set, on_not_set: s_out.Expression.convert.type_.optional.map.on_set) => s_out.Expression;
43
+ const map: (select: s_out.Expression.convert.select, on_set: s_out.Expression.convert.type_.optional.map.on_set) => s_out.Expression;
44
+ }
45
+ namespace state {
46
+ const decide: (select: s_out.Expression.convert.select, temp_return_value: s_out.Expression.convert.type_.optional.decide.temp_return_type, options: s_out.Expression.convert.type_.state.decide.options) => s_out.Expression;
47
+ }
48
+ namespace text {
49
+ const decide: (select: s_out.Expression.convert.select, temp_return_value: s_out.Expression.convert.type_.optional.decide.temp_return_type, matches: s_out.Expression.convert.type_.text.decide.matches, no_match: s_out.Expression.convert.type_.text.decide.no_match) => s_out.Expression;
50
+ }
51
+ }
11
52
  const implement_me: (remark: string) => s_out.Expression;
53
+ namespace initialize {
54
+ const false_: () => s_out.Expression;
55
+ const true_: () => s_out.Expression;
56
+ const dictionary: (dict: s_out.Expression.initialize.dictionary) => s_out.Expression;
57
+ const group: (group: s_out.Expression.initialize.group) => s_out.Expression;
58
+ const list: (list: s_out.Expression.initialize.list) => s_out.Expression;
59
+ const natural: (value: number) => s_out.Expression;
60
+ const integer: (value: number) => s_out.Expression;
61
+ const nothing: () => s_out.Expression;
62
+ const not_set: () => s_out.Expression;
63
+ const set: (value: s_out.Expression) => s_out.Expression;
64
+ const state: (option: string, data: s_out.Expression) => s_out.Expression;
65
+ const text: (text: s_out.Expression.initialize.text) => s_out.Expression;
66
+ const reference: (reference: s_out.Expression.initialize.reference) => s_out.Expression;
67
+ }
68
+ const select: (value_selection: s_out.Select_Value) => s_out.Expression;
69
+ }
70
+ export declare namespace select {
71
+ const call: (scope: s_out.Select_Value.call.scope, context: s_out.Select_Value, error: null | "pass through" | s_out.Expression, arguments_: null | "pass through" | s_out.Expression, tail: s_out.Select_Value.call.tail) => s_out.Select_Value;
72
+ namespace call_ {
73
+ const external: (refiner: string, function_: string) => s_out.Select_Value.call.scope;
74
+ const local: (function_: string) => s_out.Select_Value.call.scope;
75
+ }
76
+ const context_value: (tail: s_out.Select_Value.context_value.tail) => s_out.Select_Value;
77
+ }
78
+ export declare namespace vr {
79
+ const dictionary: () => s_out.Value_Reference.subselection.L;
80
+ const group: (property: string) => s_out.Value_Reference.subselection.L;
81
+ const list: () => s_out.Value_Reference.subselection.L;
82
+ const optional: () => s_out.Value_Reference.subselection.L;
83
+ const state: (option: string) => s_out.Value_Reference.subselection.L;
12
84
  }