pareto 0.80.55 → 0.80.57
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/implementation/queries/pareto_to_typescript.d.ts +8 -0
- package/dist/implementation/queries/pareto_to_typescript.js +14 -0
- package/dist/implementation/transformers/implementation/serialized_typescript.d.ts +1 -3
- package/dist/implementation/transformers/implementation/serialized_typescript.js +40 -30
- package/dist/implementation/transformers/implementation/typescript.d.ts +9 -10
- package/dist/implementation/transformers/implementation/typescript.js +76 -101
- package/dist/implementation/transformers/interface/serialized_typescript.d.ts +1 -3
- package/dist/implementation/transformers/interface/serialized_typescript.js +27 -16
- package/dist/implementation/transformers/interface/typescript.d.ts +7 -8
- package/dist/implementation/transformers/interface/typescript.js +9 -32
- package/dist/implementation/transformers/library/typescript.d.ts +8 -9
- package/dist/implementation/transformers/library/typescript.js +7 -7
- package/dist/implementation/transformers/serializers/filename.d.ts +6 -0
- package/dist/implementation/transformers/serializers/filename.js +23 -0
- package/dist/interface/schemas/typescript_light.d.ts +1 -0
- package/dist/interface/schemas/typescript_light.js +2 -0
- package/dist/shorthands/command/target.d.ts +2 -0
- package/dist/shorthands/command/target.js +2 -0
- package/dist/shorthands/implementation/target.d.ts +83 -83
- package/dist/shorthands/interface/target.d.ts +34 -34
- package/dist/shorthands/interface/target.js +5 -5
- package/dist/shorthands/interface_command/target.d.ts +2 -0
- package/dist/shorthands/interface_command/target.js +2 -0
- package/dist/shorthands/interface_query/target.d.ts +2 -0
- package/dist/shorthands/interface_query/target.js +2 -0
- package/dist/shorthands/module/target.d.ts +2 -0
- package/dist/shorthands/module/target.js +16 -0
- package/dist/shorthands/query/target.d.ts +2 -0
- package/dist/shorthands/query/target.js +2 -0
- package/dist/shorthands/refiner/target.d.ts +8 -0
- package/dist/shorthands/refiner/target.js +23 -0
- package/dist/shorthands/schema_reference/target.d.ts +2 -0
- package/dist/shorthands/schema_reference/target.js +5 -0
- package/dist/shorthands/schemas/target.d.ts +22 -0
- package/dist/shorthands/schemas/target.js +88 -0
- package/dist/shorthands/transformer/target.d.ts +7 -0
- package/dist/shorthands/transformer/target.js +61 -0
- package/dist/shorthands/type_reference/target.d.ts +3 -0
- package/dist/shorthands/type_reference/target.js +8 -0
- package/dist/shorthands/value_reference/target.d.ts +10 -0
- package/dist/shorthands/value_reference/target.js +18 -0
- package/dist/{modules/implementation/interface/data → submodules/implementation/interface/schemas}/resolved.d.ts +2 -2
- package/dist/submodules/implementation/interface/schemas/resolved.js +4 -0
- package/dist/{modules/implementation/interface/data → submodules/implementation/interface/schemas}/unresolved.d.ts +3 -3
- package/dist/submodules/implementation/interface/schemas/unresolved.js +4 -0
- package/dist/submodules/interface/schemas/location.d.ts +1 -0
- package/dist/submodules/interface/schemas/location.js +2 -0
- package/dist/{modules/interface/interface/data → submodules/interface/schemas}/resolved.d.ts +1 -1
- package/dist/submodules/interface/schemas/resolved.js +3 -0
- package/dist/{modules/interface/interface/data → submodules/interface/schemas}/unresolved.d.ts +2 -2
- package/dist/submodules/interface/schemas/unresolved.js +4 -0
- package/dist/submodules/pareto_new/implementation/transformers/command/typescript_light.d.ts +8 -0
- package/dist/submodules/pareto_new/implementation/transformers/command/typescript_light.js +10 -0
- package/dist/submodules/pareto_new/implementation/transformers/interface_command/typescript_light.d.ts +8 -0
- package/dist/submodules/pareto_new/implementation/transformers/interface_command/typescript_light.js +11 -0
- package/dist/submodules/pareto_new/implementation/transformers/interface_query/typescript_light.d.ts +8 -0
- package/dist/submodules/pareto_new/implementation/transformers/interface_query/typescript_light.js +8 -0
- package/dist/submodules/pareto_new/implementation/transformers/module/typescript_light.d.ts +10 -0
- package/dist/submodules/pareto_new/implementation/transformers/module/typescript_light.js +30 -0
- package/dist/submodules/pareto_new/implementation/transformers/query/typescript_light.d.ts +8 -0
- package/dist/submodules/pareto_new/implementation/transformers/query/typescript_light.js +8 -0
- package/dist/submodules/pareto_new/implementation/transformers/refiner/typescript_light.d.ts +8 -0
- package/dist/submodules/pareto_new/implementation/transformers/refiner/typescript_light.js +58 -0
- package/dist/submodules/pareto_new/implementation/transformers/schema/typescript_light.d.ts +13 -0
- package/dist/submodules/pareto_new/implementation/transformers/schema/typescript_light.js +163 -0
- package/dist/submodules/pareto_new/implementation/transformers/transformer/typescript_light.d.ts +10 -0
- package/dist/submodules/pareto_new/implementation/transformers/transformer/typescript_light.js +72 -0
- package/dist/submodules/pareto_new/interface/schemas/command.d.ts +1 -0
- package/dist/submodules/pareto_new/interface/schemas/command.js +2 -0
- package/dist/submodules/pareto_new/interface/schemas/interface_command.d.ts +1 -0
- package/dist/submodules/pareto_new/interface/schemas/interface_command.js +2 -0
- package/dist/submodules/pareto_new/interface/schemas/interface_query.d.ts +1 -0
- package/dist/submodules/pareto_new/interface/schemas/interface_query.js +2 -0
- package/dist/submodules/pareto_new/interface/schemas/module.d.ts +23 -0
- package/dist/submodules/pareto_new/interface/schemas/module.js +9 -0
- package/dist/submodules/pareto_new/interface/schemas/query.d.ts +1 -0
- package/dist/submodules/pareto_new/interface/schemas/query.js +2 -0
- package/dist/submodules/pareto_new/interface/schemas/refiner.d.ts +25 -0
- package/dist/submodules/pareto_new/interface/schemas/refiner.js +5 -0
- package/dist/submodules/pareto_new/interface/schemas/schema.d.ts +88 -0
- package/dist/submodules/pareto_new/interface/schemas/schema.js +2 -0
- package/dist/submodules/pareto_new/interface/schemas/schema_reference.d.ts +13 -0
- package/dist/submodules/pareto_new/interface/schemas/schema_reference.js +2 -0
- package/dist/submodules/pareto_new/interface/schemas/transformer.d.ts +55 -0
- package/dist/submodules/pareto_new/interface/schemas/transformer.js +4 -0
- package/dist/submodules/pareto_new/interface/schemas/type_reference.d.ts +18 -0
- package/dist/submodules/pareto_new/interface/schemas/type_reference.js +2 -0
- package/dist/submodules/pareto_new/interface/schemas/value_reference.d.ts +18 -0
- package/dist/submodules/pareto_new/interface/schemas/value_reference.js +3 -0
- package/dist/submodules/typescript_light/implementation/serializers/identifier.d.ts +2 -0
- package/dist/{modules/typescript_light/implementation/transformers/text → submodules/typescript_light/implementation/serializers}/identifier.js +6 -6
- package/dist/submodules/typescript_light/implementation/serializers/primitives.d.ts +19 -0
- package/dist/submodules/typescript_light/implementation/serializers/primitives.js +257 -0
- package/dist/submodules/typescript_light/implementation/transformers/typescript_light/directory_content.d.ts +9 -0
- package/dist/submodules/typescript_light/implementation/transformers/typescript_light/directory_content.js +33 -0
- package/dist/submodules/typescript_light/implementation/transformers/typescript_light/paragraph.d.ts +26 -0
- package/dist/submodules/typescript_light/implementation/transformers/typescript_light/paragraph.js +495 -0
- package/dist/submodules/typescript_light/implementation/transformers/typescript_light/serialized.d.ts +5 -0
- package/dist/submodules/typescript_light/implementation/transformers/typescript_light/serialized.js +10 -0
- package/dist/submodules/typescript_light/schemas/paragraph.d.ts +1 -0
- package/dist/submodules/typescript_light/schemas/paragraph.js +2 -0
- package/dist/submodules/typescript_light/schemas/serialization.d.ts +7 -0
- package/dist/submodules/typescript_light/schemas/serialization.js +2 -0
- package/dist/submodules/typescript_light/schemas/serialized.d.ts +1 -0
- package/dist/submodules/typescript_light/schemas/serialized.js +2 -0
- package/dist/{interface/data → submodules/typescript_light/schemas}/typescript_light.d.ts +10 -15
- package/dist/submodules/typescript_light/schemas/typescript_light.js +4 -0
- package/dist/submodules/typescript_light/shorthands/typescript_light/target.d.ts +70 -0
- package/dist/submodules/typescript_light/shorthands/typescript_light/target.js +266 -0
- package/package.json +4 -3
- package/dist/declarations/transformers/implementation/serialized_typescript.d.ts +0 -1
- package/dist/declarations/transformers/implementation/serialized_typescript.js +0 -2
- package/dist/declarations/transformers/implementation/typescript.d.ts +0 -1
- package/dist/declarations/transformers/implementation/typescript.js +0 -2
- package/dist/declarations/transformers/interface/serialized_typescript.d.ts +0 -1
- package/dist/declarations/transformers/interface/serialized_typescript.js +0 -2
- package/dist/declarations/transformers/interface/typescript.d.ts +0 -9
- package/dist/declarations/transformers/interface/typescript.js +0 -2
- package/dist/declarations/transformers/library/typescript.d.ts +0 -1
- package/dist/declarations/transformers/library/typescript.js +0 -2
- package/dist/declarations/transformers/text/filename.d.ts +0 -3
- package/dist/declarations/transformers/text/filename.js +0 -2
- package/dist/implementation/transformers/text/filename.d.ts +0 -2
- package/dist/implementation/transformers/text/filename.js +0 -25
- package/dist/interface/data/pareto_to_typescript.d.ts +0 -3
- package/dist/interface/data/pareto_to_typescript.js +0 -2
- package/dist/interface/data/typescript_light.js +0 -3
- package/dist/modules/implementation/interface/data/resolved.js +0 -4
- package/dist/modules/implementation/interface/data/unresolved.js +0 -5
- package/dist/modules/interface/interface/data/resolved.js +0 -3
- package/dist/modules/interface/interface/data/unresolved.js +0 -4
- package/dist/modules/typescript_light/implementation/transformers/text/identifier.d.ts +0 -3
- package/dist/modules/typescript_light/implementation/transformers/typescript_light/prose.d.ts +0 -42
- package/dist/modules/typescript_light/implementation/transformers/typescript_light/prose.js +0 -753
- package/dist/modules/typescript_light/shorthands/typescript_light/target.d.ts +0 -66
- package/dist/modules/typescript_light/shorthands/typescript_light/target.js +0 -253
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as p_ from 'pareto-core/implementation/query';
|
|
2
|
+
import type * as query_interfaces_file_in_directory_out from "pareto-common/modules/file_in_directory_out/interface/queries";
|
|
3
|
+
import type * as s_serialize_prose from "../../submodules/typescript_light/schemas/serialization.js";
|
|
4
|
+
import type * as s_module from "../../submodules/pareto_new/interface/schemas/module.js";
|
|
5
|
+
export declare const $$: p_.Query_Implementation<query_interfaces_file_in_directory_out.operation, {
|
|
6
|
+
'module': s_module.Root;
|
|
7
|
+
'serialization parameters': s_serialize_prose.Source_File_Parameters;
|
|
8
|
+
}, null>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as p_ from 'pareto-core/implementation/query';
|
|
2
|
+
import p_super_query_result from 'pareto-core/implementation/query/super_query_result';
|
|
3
|
+
//dependencies
|
|
4
|
+
import * as t_typescript_to_directory_content from "../../submodules/typescript_light/implementation/transformers/typescript_light/directory_content.js";
|
|
5
|
+
import * as t_pareto_to_typescript from "../../submodules/pareto_new/implementation/transformers/module/typescript_light.js";
|
|
6
|
+
export const $$ = p_.query(($d, $s, $q) => p_super_query_result(p_.e.direct_result(null)).transform(($) => ({
|
|
7
|
+
'data': t_typescript_to_directory_content.Directory(t_pareto_to_typescript.Module($s.module), {
|
|
8
|
+
'file write parameters': {
|
|
9
|
+
'newline': '\n',
|
|
10
|
+
},
|
|
11
|
+
'serialization parameters': $s['serialization parameters'],
|
|
12
|
+
})
|
|
13
|
+
})));
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyZXRvX3RvX3R5cGVzY3JpcHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW1wbGVtZW50YXRpb24vcXVlcmllcy9wYXJldG9fdG9fdHlwZXNjcmlwdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxNQUFNLGtDQUFrQyxDQUFBO0FBQ3RELE9BQU8sb0JBQW9CLE1BQU0scURBQXFELENBQUE7QUFVdEYsY0FBYztBQUNkLE9BQU8sS0FBSyxpQ0FBaUMsTUFBTSxxR0FBcUcsQ0FBQTtBQUN4SixPQUFPLEtBQUssc0JBQXNCLE1BQU0sb0ZBQW9GLENBQUE7QUFJNUgsTUFBTSxDQUFDLE1BQU0sRUFBRSxHQU9YLEVBQUUsQ0FBQyxLQUFLLENBQ1IsQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFLENBQUMsb0JBQW9CLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxTQUFTLENBQ3BFLENBQUMsQ0FBQyxFQUF3QyxFQUFFLENBQUMsQ0FBQztJQUMxQyxNQUFNLEVBQUUsaUNBQWlDLENBQUMsU0FBUyxDQUMvQyxzQkFBc0IsQ0FBQyxNQUFNLENBQ3pCLEVBQUUsQ0FBQyxNQUFNLENBQ1osRUFDRDtRQUNJLHVCQUF1QixFQUFFO1lBQ3JCLFNBQVMsRUFBRSxJQUFJO1NBQ2xCO1FBQ0QsMEJBQTBCLEVBQUUsRUFBRSxDQUFDLDBCQUEwQixDQUFDO0tBQzdELENBQ0o7Q0FDSixDQUFDLENBQ0wsQ0FDSixDQUFBIn0=
|
|
@@ -1,30 +1,40 @@
|
|
|
1
|
-
import * as p_ from 'pareto-core/implementation/transformer'
|
|
2
|
-
import p_unreachable_code_path from 'pareto-core/implementation/transformer/specials/unreachable_code_path'
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
//
|
|
7
|
-
// import * as
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
// import * as p_ from 'pareto-core/implementation/transformer'
|
|
2
|
+
// import p_unreachable_code_path from 'pareto-core/implementation/transformer/specials/unreachable_code_path'
|
|
3
|
+
export {};
|
|
4
|
+
// //FIXME, this one should be moved to pareto-targets
|
|
5
|
+
// //schemas
|
|
6
|
+
// import type * as s_in from "../../../submodules/implementation/interface/schemas/resolved.js"
|
|
7
|
+
// import type * as s_out from "pareto-filesystem-unrestricted-api/interface/schemas/directory_content"
|
|
8
|
+
// //transformations
|
|
9
|
+
// import * as t_typescript from "./typescript.js"
|
|
10
|
+
// import * as t_typescript_light_to_directory_content from "../../../submodules/typescript_light/implementation/transformers/typescript_light/directory_content.js"
|
|
11
|
+
// //resolvers
|
|
12
|
+
// // import * as r_pareto_implementation from "pareto/implementation/generated/liana/schemas/implementation/resolve"
|
|
13
|
+
// export const Package_Set = ($: s_in.Package_Set): s_out.Directory => {
|
|
14
|
+
// return t_typescript_light_to_directory_content.Directory(
|
|
15
|
+
// t_typescript.Package_Set(
|
|
16
|
+
// $,
|
|
17
|
+
// ($) => p_.from.state($).decide(
|
|
18
|
+
// ($) => {
|
|
19
|
+
// switch ($[0]) {
|
|
20
|
+
// case 'directory name ending with ts': return p_.option($, () => p_unreachable_code_path("I think this needs proper implementation"))
|
|
21
|
+
// default: return p_.exhaustive($[0])
|
|
22
|
+
// }
|
|
23
|
+
// })
|
|
24
|
+
// // r_pareto_implementation.r_Module_Set(
|
|
25
|
+
// // t_pareto_to_pareto_implementation.Module($),
|
|
26
|
+
// // {
|
|
27
|
+
// // 'parameters': {
|
|
28
|
+
// // 'lookups': null,
|
|
29
|
+
// // 'values': null,
|
|
30
|
+
// // },
|
|
31
|
+
// // 'location 2 string': location_to_string
|
|
32
|
+
// // }
|
|
33
|
+
// // ),
|
|
34
|
+
// // {
|
|
35
|
+
// // 'phase': 'development',
|
|
36
|
+
// // }
|
|
37
|
+
// )
|
|
38
|
+
// )
|
|
39
|
+
// }
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplZF90eXBlc2NyaXB0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ltcGxlbWVudGF0aW9uL3RyYW5zZm9ybWVycy9pbXBsZW1lbnRhdGlvbi9zZXJpYWxpemVkX3R5cGVzY3JpcHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsK0RBQStEO0FBQy9ELDhHQUE4Rzs7QUFFOUcsc0RBQXNEO0FBRXRELFlBQVk7QUFDWixnR0FBZ0c7QUFDaEcsdUdBQXVHO0FBRXZHLG9CQUFvQjtBQUNwQixrREFBa0Q7QUFDbEQsb0tBQW9LO0FBRXBLLGNBQWM7QUFDZCxxSEFBcUg7QUFHckgseUVBQXlFO0FBQ3pFLGdFQUFnRTtBQUNoRSxvQ0FBb0M7QUFDcEMsaUJBQWlCO0FBQ2pCLDhDQUE4QztBQUM5QywyQkFBMkI7QUFDM0Isc0NBQXNDO0FBQ3RDLCtKQUErSjtBQUMvSiw4REFBOEQ7QUFDOUQsd0JBQXdCO0FBQ3hCLHFCQUFxQjtBQUNyQix1REFBdUQ7QUFDdkQsa0VBQWtFO0FBQ2xFLHVCQUF1QjtBQUN2Qix5Q0FBeUM7QUFDekMsOENBQThDO0FBQzlDLDZDQUE2QztBQUM3Qyw0QkFBNEI7QUFDNUIsaUVBQWlFO0FBQ2pFLHVCQUF1QjtBQUN2QixvQkFBb0I7QUFDcEIsbUJBQW1CO0FBQ25CLDZDQUE2QztBQUM3QyxtQkFBbUI7QUFDbkIsWUFBWTtBQUNaLFFBQVE7QUFDUixJQUFJIn0=
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import * as p_ from 'pareto-core/implementation/transformer';
|
|
1
2
|
import type * as p_i from 'pareto-core/interface/transformer';
|
|
2
|
-
import type * as p_di from 'pareto-core/interface/
|
|
3
|
-
import type * as
|
|
4
|
-
import type * as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const Temp_Value_Type_Specification: ($: d_in.Temp_Value_Type_Specification) => d_out.Type;
|
|
9
|
-
export declare const Assign: p_i.Transformer<d_in.Assign, d_out.Expression>;
|
|
3
|
+
import type * as p_di from 'pareto-core/interface/schema';
|
|
4
|
+
import type * as s_in from "../../../submodules/implementation/interface/schemas/resolved.js";
|
|
5
|
+
import type * as s_out from "../../../interface/schemas/typescript_light.js";
|
|
6
|
+
export declare const Package_Set: p_.Transformer<s_in.Package_Set, s_out.Directory>;
|
|
7
|
+
export declare const Temp_Value_Type_Specification: ($: s_in.Temp_Value_Type_Specification) => s_out.Type;
|
|
8
|
+
export declare const Assign: p_i.Transformer<s_in.Assign, s_out.Expression>;
|
|
10
9
|
export declare const reduce: <Item extends p_di.Value, Result_Type extends p_di.Value>($: p_di.List<Item>, initial_state: Result_Type, update_state: (value: Item, current: Result_Type) => Result_Type) => Result_Type;
|
|
11
|
-
export declare const Select_Value: ($:
|
|
12
|
-
export declare const Select_Lookup: ($:
|
|
10
|
+
export declare const Select_Value: ($: s_in.Select_Value) => s_out.Expression;
|
|
11
|
+
export declare const Select_Lookup: ($: s_in.Select_Lookup) => s_out.Expression;
|