pareto 0.76.68 → 0.78.0
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/bin/{compile.js → compile_temp_schemas.js} +3 -3
- package/dist/bin/seal.js +2 -2
- package/dist/bin/serialize_schemas.js +2 -2
- package/dist/bin/validate.js +2 -2
- package/dist/exceptional/deserializers/load_schema.d.ts +4 -4
- package/dist/exceptional/deserializers/load_schema.js +10 -9
- package/dist/implementation/{operations → algorithms/operations}/impure/tbd/path.d.ts +1 -1
- package/dist/implementation/algorithms/operations/impure/tbd/path.js +16 -0
- package/dist/implementation/algorithms/procedures/unguaranteed/compile_temp_schemas.d.ts +3 -0
- package/dist/implementation/algorithms/procedures/unguaranteed/compile_temp_schemas.js +152 -0
- package/dist/implementation/algorithms/procedures/unguaranteed/seal.d.ts +3 -0
- package/dist/implementation/{procedures → algorithms/procedures}/unguaranteed/seal.js +2 -2
- package/dist/implementation/algorithms/procedures/unguaranteed/serialize_schemas.d.ts +3 -0
- package/dist/implementation/algorithms/procedures/unguaranteed/serialize_schemas.js +62 -0
- package/dist/implementation/algorithms/procedures/unguaranteed/validate.d.ts +3 -0
- package/dist/implementation/{procedures → algorithms/procedures}/unguaranteed/validate.js +4 -4
- package/dist/implementation/{queries → algorithms/queries}/unguaranteed/load_pareto_document.d.ts +1 -1
- package/dist/implementation/algorithms/queries/unguaranteed/load_pareto_document.js +75 -0
- package/dist/implementation/{queries → algorithms/queries}/unguaranteed/load_pareto_file.d.ts +1 -1
- package/dist/implementation/{queries → algorithms/queries}/unguaranteed/load_pareto_file.js +4 -4
- package/dist/implementation/{transformations → algorithms/transformations}/module/exupery_implementation.d.ts +1 -1
- package/dist/implementation/{transformations → algorithms/transformations}/module/exupery_implementation.js +1 -1
- package/dist/implementation/{transformations → algorithms/transformations}/module/exupery_interface.d.ts +4 -4
- package/dist/implementation/{transformations → algorithms/transformations}/module/exupery_interface.js +6 -6
- package/dist/implementation/{transformations/module/temp_typescript.d.ts → algorithms/transformations/module/temp_typescript_implementation.d.ts} +1 -1
- package/dist/implementation/algorithms/transformations/module/temp_typescript_implementation.js +45 -0
- package/dist/implementation/algorithms/transformations/module/temp_typescript_interface.d.ts +3 -0
- package/dist/implementation/algorithms/transformations/module/temp_typescript_interface.js +43 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_implementation/deserialize.d.ts +8 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_implementation/deserialize.js +52 -0
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_implementation/main.d.ts +1 -1
- package/dist/implementation/algorithms/transformations/schema/exupery_implementation/main.js +92 -0
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_implementation/marshall.d.ts +1 -1
- package/dist/implementation/algorithms/transformations/schema/exupery_implementation/marshall.js +142 -0
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_implementation/migrate_boilerplate.d.ts +6 -6
- package/dist/implementation/algorithms/transformations/schema/exupery_implementation/migrate_boilerplate.js +105 -0
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_implementation/resolve.d.ts +1 -1
- package/dist/implementation/algorithms/transformations/schema/exupery_implementation/resolve.js +300 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_implementation/serialize.d.ts +9 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_implementation/serialize.js +53 -0
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_implementation/unmarshall.d.ts +1 -1
- package/dist/implementation/algorithms/transformations/schema/exupery_implementation/unmarshall.js +158 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/deserialize.d.ts +6 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/deserialize.js +39 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/dummy_resolve.d.ts +3 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/dummy_resolve.js +13 -0
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_interface/main.d.ts +5 -5
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/main.js +116 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/marshall.d.ts +6 -0
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_interface/marshall.js +1 -1
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_interface/migrate_boilerplate.d.ts +3 -3
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_interface/migrate_boilerplate.js +1 -1
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/resolve.d.ts +12 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/resolve.js +110 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/serialize.d.ts +6 -0
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/serialize.js +39 -0
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_interface/types.d.ts +6 -6
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/types.js +192 -0
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_interface/unmarshall.d.ts +1 -1
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_interface/unmarshall.js +1 -1
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/value_deserializers.d.ts +6 -0
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_interface/value_deserializers.js +1 -1
- package/dist/implementation/algorithms/transformations/schema/exupery_interface/value_serializers.d.ts +6 -0
- package/dist/implementation/{transformations → algorithms/transformations}/schema/exupery_interface/value_serializers.js +1 -1
- package/dist/implementation/algorithms/transformations/temp/astn_schema.d.ts +10 -0
- package/dist/implementation/algorithms/transformations/temp/astn_schema.js +140 -0
- package/dist/implementation/{transformations → algorithms/transformations}/temp/unmarshall_astn_ast.d.ts +2 -2
- package/dist/implementation/{transformations → algorithms/transformations}/temp/unmarshall_astn_ast.js +7 -24
- package/dist/implementation/{transformations → algorithms/transformations}/unmarshall_errors/fountain_pen.d.ts +1 -1
- package/dist/implementation/algorithms/transformations/unmarshall_errors/fountain_pen.js +86 -0
- package/dist/implementation/{transformations → algorithms/transformations}/unmarshall_result/astn_authoring_target.d.ts +1 -1
- package/dist/implementation/{transformations → algorithms/transformations}/unmarshall_result/astn_authoring_target.js +1 -1
- package/dist/implementation/{transformations → algorithms/transformations}/unmarshall_result/unmarshall_errors.d.ts +2 -2
- package/dist/implementation/{transformations → algorithms/transformations}/unmarshall_result/unmarshall_errors.js +3 -3
- package/dist/implementation/generated/pareto/generic/parse/ast.d.ts +10 -0
- package/dist/implementation/generated/pareto/generic/parse/ast.js +245 -0
- package/dist/implementation/generated/pareto/generic/parse/astn_parse_generic.d.ts +13 -0
- package/dist/implementation/generated/pareto/generic/parse/astn_parse_generic.js +50 -0
- package/dist/implementation/generated/pareto/generic/parse/parse.d.ts +6 -0
- package/dist/implementation/generated/pareto/generic/parse/parse.js +65 -0
- package/dist/implementation/generated/pareto/generic/parse/string_iterator.d.ts +40 -0
- package/dist/implementation/generated/pareto/generic/parse/string_iterator.js +109 -0
- package/dist/implementation/generated/pareto/generic/parse/token.d.ts +9 -0
- package/dist/implementation/generated/pareto/generic/parse/token.js +519 -0
- package/dist/implementation/generated/pareto/generic/resolve.js +7 -7
- package/dist/implementation/generated/pareto/generic/serialize.d.ts +4 -0
- package/dist/implementation/generated/pareto/generic/serialize.js +93 -0
- package/dist/implementation/generated/pareto/generic/unmarshall.d.ts +26 -26
- package/dist/implementation/generated/pareto/generic/unmarshall.js +38 -29
- package/dist/implementation/generated/pareto/schemas/astn_schema/resolve.js +3 -3
- package/dist/implementation/generated/pareto/schemas/schema/resolve.js +470 -470
- package/dist/implementation/generated/pareto/schemas/schema/unmarshall.js +1 -1
- package/dist/interface/algorithms/operations/impure/tbd/path.d.ts +1 -0
- package/dist/interface/algorithms/operations/impure/tbd/path.js +5 -0
- package/dist/interface/algorithms/procedures/unguaranteed/compile.d.ts +1 -0
- package/dist/interface/algorithms/procedures/unguaranteed/compile.js +5 -0
- package/dist/interface/algorithms/procedures/unguaranteed/seal.d.ts +1 -0
- package/dist/interface/algorithms/procedures/unguaranteed/seal.js +5 -0
- package/dist/interface/algorithms/procedures/unguaranteed/serialize_schemas.d.ts +1 -0
- package/dist/interface/algorithms/procedures/unguaranteed/serialize_schemas.js +5 -0
- package/dist/interface/algorithms/procedures/unguaranteed/validate.d.ts +1 -0
- package/dist/interface/algorithms/procedures/unguaranteed/validate.js +5 -0
- package/dist/interface/algorithms/queries/unguaranteed/load_pareto_document.d.ts +1 -0
- package/dist/interface/algorithms/queries/unguaranteed/load_pareto_document.js +5 -0
- package/dist/interface/algorithms/queries/unguaranteed/load_pareto_file.d.ts +1 -0
- package/dist/interface/algorithms/queries/unguaranteed/load_pareto_file.js +5 -0
- package/dist/interface/algorithms/transformations/module/exupery_implementation.d.ts +1 -0
- package/dist/interface/algorithms/transformations/module/exupery_implementation.js +5 -0
- package/dist/interface/algorithms/transformations/module/exupery_interface.d.ts +1 -0
- package/dist/interface/algorithms/transformations/module/exupery_interface.js +5 -0
- package/dist/interface/algorithms/transformations/module/temp_typescript.d.ts +1 -0
- package/dist/interface/algorithms/transformations/module/temp_typescript.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_implementation/main.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_implementation/main.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_implementation/marshall.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_implementation/marshall.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_implementation/migrate_boilerplate.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_implementation/migrate_boilerplate.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_implementation/resolve.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_implementation/resolve.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_implementation/unmarshall.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_implementation/unmarshall.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/dummy_resolve.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/dummy_resolve.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/main.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/main.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/marshall.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/marshall.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/migrate_boilerplate.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/migrate_boilerplate.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/resolve.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/resolve.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/types.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/types.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/unmarshall.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/unmarshall.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/value_deserializers.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/value_deserializers.js +5 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/value_serializers.d.ts +1 -0
- package/dist/interface/algorithms/transformations/schema/exupery_interface/value_serializers.js +5 -0
- package/dist/interface/algorithms/transformations/temp/astn_schema.d.ts +1 -0
- package/dist/interface/algorithms/transformations/temp/astn_schema.js +5 -0
- package/dist/interface/algorithms/transformations/temp/unmarshall_astn_ast.d.ts +1 -0
- package/dist/interface/algorithms/transformations/temp/unmarshall_astn_ast.js +5 -0
- package/dist/interface/algorithms/transformations/unmarshall_errors/fountain_pen.d.ts +1 -0
- package/dist/interface/algorithms/transformations/unmarshall_errors/fountain_pen.js +5 -0
- package/dist/interface/algorithms/transformations/unmarshall_result/astn_authoring_target.d.ts +1 -0
- package/dist/interface/algorithms/transformations/unmarshall_result/astn_authoring_target.js +5 -0
- package/dist/interface/algorithms/transformations/unmarshall_result/unmarshall_errors.d.ts +1 -0
- package/dist/interface/algorithms/transformations/unmarshall_result/unmarshall_errors.js +5 -0
- package/dist/interface/generated/pareto/core/astn_source.d.ts +15 -0
- package/dist/interface/generated/pareto/core/parse_result.d.ts +25 -0
- package/dist/interface/generated/pareto/core/parse_result.js +3 -0
- package/dist/interface/generated/pareto/core/resolve.d.ts +1 -1
- package/dist/interface/generated/pareto/core/resolved.d.ts +3 -3
- package/dist/interface/generated/pareto/core/token.d.ts +49 -0
- package/dist/interface/generated/pareto/core/token.js +3 -0
- package/dist/temp/resolvers/module.js +30 -30
- package/dist/temp/resolvers/schema.js +68 -68
- package/dist/temp/temporary_schemas/all.js +19 -17
- package/dist/temp/temporary_schemas/astn/schema_tree.astn.js +5 -9
- package/dist/temp/temporary_schemas/exupery-resources/schema_tree.astn.js +29 -23
- package/dist/temp/temporary_schemas/exupery-resources/schemas/copy/$.types.astn.js +2 -2
- package/dist/temp/temporary_schemas/exupery-resources/schemas/execute_procedure_executable/$.types.astn.js +3 -3
- package/dist/temp/temporary_schemas/exupery-resources/schemas/execute_query_executable/$.types.astn.js +3 -3
- package/dist/temp/temporary_schemas/exupery-resources/schemas/execute_query_executable_and_catch/$.types.astn.js +2 -2
- package/dist/temp/temporary_schemas/exupery-resources/schemas/execute_smelly_procedure_executable/$.globals.astn.js +6 -0
- package/dist/temp/temporary_schemas/{astn/schemas/sealed_ast → exupery-resources/schemas/execute_smelly_procedure_executable}/$.module.astn.js +2 -4
- package/dist/temp/temporary_schemas/exupery-resources/schemas/execute_smelly_procedure_executable/$.types.astn.js +26 -0
- package/dist/temp/temporary_schemas/exupery-resources/schemas/make_directory/$.types.astn.js +2 -2
- package/dist/temp/temporary_schemas/exupery-resources/schemas/read_directory/$.types.astn.js +6 -3
- package/dist/temp/temporary_schemas/exupery-resources/schemas/read_file/$.types.astn.js +2 -2
- package/dist/temp/temporary_schemas/exupery-resources/schemas/remove/$.types.astn.js +2 -2
- package/dist/temp/temporary_schemas/exupery-resources/schemas/stat/$.types.astn.js +2 -2
- package/dist/temp/temporary_schemas/exupery-resources/schemas/write_file/$.types.astn.js +2 -2
- package/dist/temp/temporary_schemas/exupery-resources/schemas/write_to_stderr/$.globals.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/{astn/schemas/sealed_ast → exupery-resources/schemas/write_to_stderr}/$.globals.astn.js +1 -1
- package/dist/temp/temporary_schemas/exupery-resources/schemas/write_to_stderr/$.module.astn.js +8 -0
- package/dist/temp/temporary_schemas/exupery-resources/schemas/write_to_stderr/$.types.astn.js +8 -0
- package/dist/temp/temporary_schemas/exupery-resources/schemas/write_to_stdout/$.globals.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/{astn/schemas/sealed_parse_result → exupery-resources/schemas/write_to_stdout}/$.globals.astn.js +1 -1
- package/dist/temp/temporary_schemas/exupery-resources/schemas/write_to_stdout/$.module.astn.js +8 -0
- package/dist/temp/temporary_schemas/exupery-resources/schemas/write_to_stdout/$.types.astn.js +8 -0
- package/dist/temp/temporary_schemas/pareto-boekhouding/schemas/boekhouding/$.types.astn.js +2 -1
- package/dist/temp/temporary_schemas/pareto-boekhouding/schemas/boekhouding_oude_model/$.types.astn.js +3 -2
- package/dist/temp/temporary_schemas/pareto-lionweb/schema_tree.astn.js +5 -3
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/lioncore/$.types.astn.js +13 -9
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/serialization_chunk/$.globals.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/{m3_normalized → serialization_chunk}/$.globals.astn.js +1 -1
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/serialization_chunk/$.module.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/serialization_chunk/$.module.astn.js +8 -0
- package/dist/temp/temporary_schemas/{astn/schemas/sealed_ast/$.globals.astn.d.ts → pareto-lionweb/schemas/serialization_chunk/$.types.astn.d.ts} +1 -1
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/serialization_chunk/$.types.astn.js +41 -0
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/serialization_tree/$.globals.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/serialization_tree/$.globals.astn.js +10 -0
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/serialization_tree/$.module.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/serialization_tree/$.module.astn.js +8 -0
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/serialization_tree/$.types.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/serialization_tree/$.types.astn.js +27 -0
- package/dist/temp/temporary_schemas/pareto-static-html/module.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/pareto-static-html/module.astn.js +8 -0
- package/dist/temp/temporary_schemas/pareto-static-html/operations.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/pareto-static-html/operations.astn.js +6 -0
- package/dist/temp/temporary_schemas/pareto-static-html/schema_tree.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/pareto-static-html/schema_tree.astn.js +9 -0
- package/dist/temp/temporary_schemas/pareto-static-html/schemas/html-print/$.globals.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/pareto-static-html/schemas/html-print/$.globals.astn.js +10 -0
- package/dist/temp/temporary_schemas/pareto-static-html/schemas/html-print/$.module.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/{pareto-lionweb/schemas/m3_normalized → pareto-static-html/schemas/html-print}/$.module.astn.js +1 -1
- package/dist/temp/temporary_schemas/pareto-static-html/schemas/html-print/$.types.astn.d.ts +3 -0
- package/dist/temp/temporary_schemas/pareto-static-html/schemas/html-print/$.types.astn.js +81 -0
- package/package.json +9 -9
- package/dist/implementation/operations/impure/tbd/path.js +0 -16
- package/dist/implementation/procedures/unguaranteed/compile.d.ts +0 -2
- package/dist/implementation/procedures/unguaranteed/compile.js +0 -160
- package/dist/implementation/procedures/unguaranteed/seal.d.ts +0 -2
- package/dist/implementation/procedures/unguaranteed/serialize_schemas.d.ts +0 -2
- package/dist/implementation/procedures/unguaranteed/serialize_schemas.js +0 -69
- package/dist/implementation/procedures/unguaranteed/validate.d.ts +0 -2
- package/dist/implementation/queries/unguaranteed/load_pareto_document.js +0 -79
- package/dist/implementation/transformations/module/temp_typescript.js +0 -56
- package/dist/implementation/transformations/schema/exupery_implementation/main.js +0 -81
- package/dist/implementation/transformations/schema/exupery_implementation/marshall.js +0 -142
- package/dist/implementation/transformations/schema/exupery_implementation/migrate_boilerplate.js +0 -105
- package/dist/implementation/transformations/schema/exupery_implementation/resolve.js +0 -300
- package/dist/implementation/transformations/schema/exupery_implementation/unmarshall.js +0 -158
- package/dist/implementation/transformations/schema/exupery_interface/dummy_resolve.d.ts +0 -3
- package/dist/implementation/transformations/schema/exupery_interface/dummy_resolve.js +0 -13
- package/dist/implementation/transformations/schema/exupery_interface/main.js +0 -108
- package/dist/implementation/transformations/schema/exupery_interface/marshall.d.ts +0 -6
- package/dist/implementation/transformations/schema/exupery_interface/resolve.d.ts +0 -12
- package/dist/implementation/transformations/schema/exupery_interface/resolve.js +0 -110
- package/dist/implementation/transformations/schema/exupery_interface/types.js +0 -192
- package/dist/implementation/transformations/schema/exupery_interface/value_deserializers.d.ts +0 -6
- package/dist/implementation/transformations/schema/exupery_interface/value_serializers.d.ts +0 -6
- package/dist/implementation/transformations/temp/astn_schema.d.ts +0 -10
- package/dist/implementation/transformations/temp/astn_schema.js +0 -140
- package/dist/implementation/transformations/unmarshall_errors/fountain_pen.js +0 -86
- package/dist/temp/temporary_schemas/astn/schemas/sealed_ast/$.types.astn.js +0 -74
- package/dist/temp/temporary_schemas/astn/schemas/sealed_parse_result/$.globals.astn.d.ts +0 -3
- package/dist/temp/temporary_schemas/astn/schemas/sealed_parse_result/$.module.astn.js +0 -11
- package/dist/temp/temporary_schemas/astn/schemas/sealed_parse_result/$.types.astn.js +0 -50
- package/dist/temp/temporary_schemas/pareto-lionweb/schemas/m3_normalized/$.types.astn.js +0 -38
- /package/dist/bin/{compile.d.ts → compile_temp_schemas.d.ts} +0 -0
- /package/dist/temp/temporary_schemas/{pareto-lionweb/schemas/m3_normalized → exupery-resources/schemas/execute_smelly_procedure_executable}/$.globals.astn.d.ts +0 -0
- /package/dist/temp/temporary_schemas/{astn/schemas/sealed_ast → exupery-resources/schemas/execute_smelly_procedure_executable}/$.module.astn.d.ts +0 -0
- /package/dist/temp/temporary_schemas/{astn/schemas/sealed_ast → exupery-resources/schemas/execute_smelly_procedure_executable}/$.types.astn.d.ts +0 -0
- /package/dist/temp/temporary_schemas/{astn/schemas/sealed_parse_result → exupery-resources/schemas/write_to_stderr}/$.module.astn.d.ts +0 -0
- /package/dist/temp/temporary_schemas/{astn/schemas/sealed_parse_result → exupery-resources/schemas/write_to_stderr}/$.types.astn.d.ts +0 -0
- /package/dist/temp/temporary_schemas/{pareto-lionweb/schemas/m3_normalized → exupery-resources/schemas/write_to_stdout}/$.module.astn.d.ts +0 -0
- /package/dist/temp/temporary_schemas/{pareto-lionweb/schemas/m3_normalized → exupery-resources/schemas/write_to_stdout}/$.types.astn.d.ts +0 -0
|
@@ -25,6 +25,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
const _eb = __importStar(require("exupery-core-bin"));
|
|
28
|
-
const
|
|
29
|
-
_eb.run_unguaranteed_main_procedure(
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
28
|
+
const compile_temp_schemas_1 = require("../implementation/algorithms/procedures/unguaranteed/compile_temp_schemas");
|
|
29
|
+
_eb.run_unguaranteed_main_procedure(compile_temp_schemas_1.$$);
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsZV90ZW1wX3NjaGVtYXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYmluL2NvbXBpbGVfdGVtcF9zY2hlbWFzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRUEsc0RBQXVDO0FBRXZDLG9IQUE4RjtBQUU5RixHQUFHLENBQUMsK0JBQStCLENBQUMseUJBQUUsQ0FBQyxDQUFBIn0=
|
package/dist/bin/seal.js
CHANGED
|
@@ -25,6 +25,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
const _eb = __importStar(require("exupery-core-bin"));
|
|
28
|
-
const seal_1 = require("../implementation/procedures/unguaranteed/seal");
|
|
28
|
+
const seal_1 = require("../implementation/algorithms/procedures/unguaranteed/seal");
|
|
29
29
|
_eb.run_unguaranteed_main_procedure(seal_1.$$);
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9iaW4vc2VhbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUVBLHNEQUF1QztBQUV2QyxvRkFBOEU7QUFFOUUsR0FBRyxDQUFDLCtCQUErQixDQUFDLFNBQUUsQ0FBQyxDQUFBIn0=
|
|
@@ -25,6 +25,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
const _eb = __importStar(require("exupery-core-bin"));
|
|
28
|
-
const serialize_schemas_1 = require("../implementation/procedures/unguaranteed/serialize_schemas");
|
|
28
|
+
const serialize_schemas_1 = require("../implementation/algorithms/procedures/unguaranteed/serialize_schemas");
|
|
29
29
|
_eb.run_unguaranteed_main_procedure(serialize_schemas_1.$$);
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplX3NjaGVtYXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYmluL3NlcmlhbGl6ZV9zY2hlbWFzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRUEsc0RBQXVDO0FBRXZDLDhHQUEyRjtBQUUzRixHQUFHLENBQUMsK0JBQStCLENBQUMsc0JBQUUsQ0FBQyxDQUFBIn0=
|
package/dist/bin/validate.js
CHANGED
|
@@ -25,6 +25,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
const _eb = __importStar(require("exupery-core-bin"));
|
|
28
|
-
const validate_1 = require("../implementation/procedures/unguaranteed/validate");
|
|
28
|
+
const validate_1 = require("../implementation/algorithms/procedures/unguaranteed/validate");
|
|
29
29
|
_eb.run_unguaranteed_main_procedure(validate_1.$$);
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYmluL3ZhbGlkYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBR0Esc0RBQXVDO0FBR3ZDLDRGQUFrRjtBQUVsRixHQUFHLENBQUMsK0JBQStCLENBQUMsYUFBRSxDQUFDLENBQUEifQ==
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _ea from 'exupery-core-alg';
|
|
1
2
|
import * as d_schema from "../../interface/generated/pareto/schemas/schema/data_types/source";
|
|
2
|
-
import * as d_parse_result from "
|
|
3
|
-
type Error = ['parse error', d_parse_result.
|
|
4
|
-
|
|
5
|
-
export declare const $: ($: string) => Unsafe_Transformation_Result<d_schema.Type, Error>;
|
|
3
|
+
import * as d_parse_result from "../../interface/generated/pareto/core/parse_result";
|
|
4
|
+
type Error = ['parse error', d_parse_result._T_Parse_Error];
|
|
5
|
+
export declare const $: ($: string) => _ea.Refinement_Result<d_schema.Type, Error>;
|
|
6
6
|
export {};
|
|
@@ -29,8 +29,9 @@ const _ea = __importStar(require("exupery-core-alg"));
|
|
|
29
29
|
const _ed = __importStar(require("exupery-core-dev"));
|
|
30
30
|
const r_pareto_schema = __importStar(require("../../temp/resolvers/schema"));
|
|
31
31
|
const u_pareto_schema = __importStar(require("../../implementation/generated/pareto/schemas/schema/unmarshall"));
|
|
32
|
-
const parse = __importStar(require("
|
|
33
|
-
const remove_first_element_1 = require("pareto-standard-operations/dist/implementation/operations/impure/list/remove_first_element");
|
|
32
|
+
const parse = __importStar(require("../../implementation/generated/pareto/generic/parse/parse"));
|
|
33
|
+
const remove_first_element_1 = require("pareto-standard-operations/dist/implementation/algorithms/operations/impure/list/remove_first_element");
|
|
34
|
+
// ['resolve error', FIXME resolve errors will now deprecated_panic!
|
|
34
35
|
const $ = ($) => {
|
|
35
36
|
return parse.parse($, {
|
|
36
37
|
'tab size': 4,
|
|
@@ -55,15 +56,15 @@ const $ = ($) => {
|
|
|
55
56
|
const split = $;
|
|
56
57
|
return _ea.cc(st, ($) => {
|
|
57
58
|
switch ($[0]) {
|
|
58
|
-
case 'schema': return _ea.ss($, ($) => _ea.
|
|
59
|
-
case 'set': return _ea.ss($, ($) => $.dictionary.__get_entry(split.element).transform(($) => temp_find_schema($, split.array), () => _ea.
|
|
59
|
+
case 'schema': return _ea.ss($, ($) => _ea.deprecated_panic(`(FIXME: make this a reference) the selected tree is a schema, not a set, can't do this step: ${split.element} `));
|
|
60
|
+
case 'set': return _ea.ss($, ($) => $.dictionary.__get_entry(split.element).transform(($) => temp_find_schema($, split.array), () => _ea.deprecated_panic(`(FIXME: make this a reference) schema not found: ${split.element}`)));
|
|
60
61
|
default: return _ea.au($[0]);
|
|
61
62
|
}
|
|
62
63
|
});
|
|
63
64
|
}, () => _ea.cc($, ($) => {
|
|
64
65
|
switch ($[0]) {
|
|
65
66
|
case 'schema': return _ea.ss($, ($) => $);
|
|
66
|
-
case 'set': return _ea.ss($, ($) => _ea.
|
|
67
|
+
case 'set': return _ea.ss($, ($) => _ea.deprecated_panic(`(FIXME: make this a reference) the selected tree is a set, not a schema`));
|
|
67
68
|
default: return _ea.au($[0]);
|
|
68
69
|
}
|
|
69
70
|
}));
|
|
@@ -73,10 +74,10 @@ const $ = ($) => {
|
|
|
73
74
|
schema.types.dictionary.map(($, key) => {
|
|
74
75
|
_ed.log_debug_message(`available type: ${key}`, () => { });
|
|
75
76
|
});
|
|
76
|
-
_ea.
|
|
77
|
+
_ea.deprecated_panic(`(FIXME: make this a reference) root type ${resolved_schema_schema.type} not found`);
|
|
77
78
|
});
|
|
78
|
-
return
|
|
79
|
-
}, ($) => ['
|
|
79
|
+
return _ea.refinement.successful(type);
|
|
80
|
+
}, ($) => _ea.refinement.failed(['parse error', $]));
|
|
80
81
|
};
|
|
81
82
|
exports.$ = $;
|
|
82
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZF9zY2hlbWEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZXhjZXB0aW9uYWwvZGVzZXJpYWxp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kYsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsRUFDUixHQUFHLEVBQUU7WUFDRCxNQUFNLENBQUMsS0FBSyxDQUFDLFVBQVUsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUUsR0FBRyxFQUFFLEVBQUU7Z0JBQ25DLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQyxtQkFBbUIsR0FBRyxFQUFFLEVBQUUsR0FBRyxFQUFFLEdBQUcsQ0FBQyxDQUFDLENBQUE7WUFDOUQsQ0FBQyxDQUFDLENBQUE7WUFDRixHQUFHLENBQUMsZ0JBQWdCLENBQUMsNENBQTRDLHNCQUFzQixDQUFDLElBQUksWUFBWSxDQUFDLENBQUE7UUFDN0csQ0FBQyxDQUNKLENBQUE7UUFDRCxPQUFPLEdBQUcsQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxDQUFBO0lBQzFDLENBQUMsRUFDRCxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsR0FBRyxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMsQ0FBQyxhQUFhLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FFbkQsQ0FBQTtBQUNMLENBQUMsQ0FBQTtBQTVFWSxRQUFBLENBQUMsS0E0RWIifQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.get_directory_path = exports.get_base_name = void 0;
|
|
4
|
+
const remove_last_element_1 = require("pareto-standard-operations/dist/implementation/algorithms/operations/impure/list/remove_last_element");
|
|
5
|
+
const split_1 = require("exupery-standard-library/dist/implementation/algorithms/operations/impure/text/split");
|
|
6
|
+
const get_base_name = (path) => {
|
|
7
|
+
const temp = (0, split_1.$$)(path, "/");
|
|
8
|
+
return temp.__get_element_at(temp.__get_number_of_elements() - 1);
|
|
9
|
+
};
|
|
10
|
+
exports.get_base_name = get_base_name;
|
|
11
|
+
const get_directory_path = (path) => {
|
|
12
|
+
const temp = (0, split_1.$$)(path, "/");
|
|
13
|
+
return (0, remove_last_element_1.$$)(temp).map(($) => $.array);
|
|
14
|
+
};
|
|
15
|
+
exports.get_directory_path = get_directory_path;
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9pbXBsZW1lbnRhdGlvbi9hbGdvcml0aG1zL29wZXJhdGlvbnMvaW1wdXJlL3RiZC9wYXRoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUdBLDhJQUFtSjtBQUNuSixnSEFBcUg7QUFJOUcsTUFBTSxhQUFhLEdBQUcsQ0FBQyxJQUFZLEVBQThCLEVBQUU7SUFDdEUsTUFBTSxJQUFJLEdBQUcsSUFBQSxVQUFRLEVBQUMsSUFBSSxFQUFFLEdBQUcsQ0FBQyxDQUFBO0lBRWhDLE9BQU8sSUFBSSxDQUFDLGdCQUFnQixDQUFDLElBQUksQ0FBQyx3QkFBd0IsRUFBRSxHQUFHLENBQUMsQ0FBQyxDQUFBO0FBQ3JFLENBQUMsQ0FBQTtBQUpZLFFBQUEsYUFBYSxpQkFJekI7QUFFTSxNQUFNLGtCQUFrQixHQUFHLENBQUMsSUFBWSxFQUF5QyxFQUFFO0lBQ3RGLE1BQU0sSUFBSSxHQUFHLElBQUEsVUFBUSxFQUFDLElBQUksRUFBRSxHQUFHLENBQUMsQ0FBQTtJQUVoQyxPQUFPLElBQUEsd0JBQXNCLEVBQUMsSUFBSSxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUE7QUFFM0QsQ0FBQyxDQUFBO0FBTFksUUFBQSxrQkFBa0Isc0JBSzlCIn0=
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.$$ = void 0;
|
|
27
|
+
//core
|
|
28
|
+
const _ea = __importStar(require("exupery-core-alg"));
|
|
29
|
+
const _ed = __importStar(require("exupery-core-data"));
|
|
30
|
+
const _easync = __importStar(require("exupery-core-async"));
|
|
31
|
+
//data
|
|
32
|
+
const all_1 = require("../../../../temp/temporary_schemas/all");
|
|
33
|
+
const r_pareto_module = __importStar(require("../../../../temp/resolvers/module"));
|
|
34
|
+
const t_pareto_module_to_fountain_pen_block__implementation = __importStar(require("../../transformations/module/temp_typescript_implementation"));
|
|
35
|
+
const t_pareto_module_to_fountain_pen_block__interface = __importStar(require("../../transformations/module/temp_typescript_interface"));
|
|
36
|
+
const write_to_directory_1 = require("pareto-fountain-pen/dist/implementation/algorithms/procedures/unguaranteed/write_to_directory");
|
|
37
|
+
const log_1 = require("exupery-resources/dist/implementation/algorithms/procedures/guaranteed/log");
|
|
38
|
+
const log_error_1 = require("exupery-resources/dist/implementation/algorithms/procedures/guaranteed/log_error");
|
|
39
|
+
const copy_1 = require("exupery-resources/dist/implementation/algorithms/procedures/unguaranteed/copy");
|
|
40
|
+
const remove_1 = require("exupery-resources/dist/implementation/algorithms/procedures/unguaranteed/remove");
|
|
41
|
+
const $$ = ($) => {
|
|
42
|
+
$.arguments;
|
|
43
|
+
return _easync.up.sequence([
|
|
44
|
+
_easync.upi.g(log_1.$$)({
|
|
45
|
+
'lines': _ea.array_literal([`generating...`])
|
|
46
|
+
}),
|
|
47
|
+
_easync.up.dictionary(all_1.$.map(($, key) => {
|
|
48
|
+
const interface_module_path = `./out/source_code/${key}/interface/`;
|
|
49
|
+
const implementation_module_path = `./out/source_code/${key}/implementation/`;
|
|
50
|
+
return _easync.up.sequence([
|
|
51
|
+
_easync.upi.g(log_1.$$)({
|
|
52
|
+
'lines': _ea.array_literal([`generating: ${key}`])
|
|
53
|
+
}),
|
|
54
|
+
//FIX do this in parallel
|
|
55
|
+
_easync.up.sequence([
|
|
56
|
+
_easync.upi.u(remove_1.$$, ($) => null, _easync.eh(log_error_1.$$, ($) => {
|
|
57
|
+
return ({
|
|
58
|
+
'lines': _ea.array_literal([`Could not remove old generated implementation files, ${$[0]}`])
|
|
59
|
+
});
|
|
60
|
+
}))({
|
|
61
|
+
'path': {
|
|
62
|
+
'path': `${implementation_module_path}`,
|
|
63
|
+
'escape spaces in path': true,
|
|
64
|
+
},
|
|
65
|
+
'error if not exists': false,
|
|
66
|
+
}),
|
|
67
|
+
_easync.upi.u(remove_1.$$, ($) => null, _easync.eh(log_error_1.$$, ($) => {
|
|
68
|
+
return ({
|
|
69
|
+
'lines': _ea.array_literal([`Could not remove old generated ihterface files`])
|
|
70
|
+
});
|
|
71
|
+
}))({
|
|
72
|
+
'path': {
|
|
73
|
+
'path': `${interface_module_path}`,
|
|
74
|
+
'escape spaces in path': true,
|
|
75
|
+
},
|
|
76
|
+
'error if not exists': false,
|
|
77
|
+
}),
|
|
78
|
+
]),
|
|
79
|
+
//FIX do this in parallel!
|
|
80
|
+
_easync.up.sequence([
|
|
81
|
+
//WARNING! first write the generated source files,
|
|
82
|
+
//then copy the static files,
|
|
83
|
+
//otherwise the static files will be deleted again!
|
|
84
|
+
_easync.upi.u(write_to_directory_1.$$, ($) => null)({
|
|
85
|
+
'directory': t_pareto_module_to_fountain_pen_block__interface.Module(r_pareto_module.Module($, {
|
|
86
|
+
'parameters': {
|
|
87
|
+
'lookups': null,
|
|
88
|
+
'values': null,
|
|
89
|
+
},
|
|
90
|
+
'location 2 string': _ed.location_to_string
|
|
91
|
+
})),
|
|
92
|
+
'path': interface_module_path,
|
|
93
|
+
'indentation': " ",
|
|
94
|
+
'newline': "\n",
|
|
95
|
+
'remove before creating': true,
|
|
96
|
+
}),
|
|
97
|
+
_easync.upi.u(write_to_directory_1.$$, ($) => null)({
|
|
98
|
+
'directory': t_pareto_module_to_fountain_pen_block__implementation.Module(r_pareto_module.Module($, {
|
|
99
|
+
'parameters': {
|
|
100
|
+
'lookups': null,
|
|
101
|
+
'values': null,
|
|
102
|
+
},
|
|
103
|
+
'location 2 string': _ed.location_to_string
|
|
104
|
+
})),
|
|
105
|
+
'path': implementation_module_path,
|
|
106
|
+
'indentation': " ",
|
|
107
|
+
'newline': "\n",
|
|
108
|
+
'remove before creating': true,
|
|
109
|
+
}),
|
|
110
|
+
_easync.upi.u(copy_1.$$, () => null, _easync.eh(log_error_1.$$, ($) => ({
|
|
111
|
+
'lines': _ea.array_literal([`Could not copy generic implementation directory`])
|
|
112
|
+
})))({
|
|
113
|
+
'source': {
|
|
114
|
+
'path': "./pub/src/implementation/generated/pareto/generic",
|
|
115
|
+
'escape spaces in path': true,
|
|
116
|
+
},
|
|
117
|
+
'target': {
|
|
118
|
+
'path': implementation_module_path + "/generic",
|
|
119
|
+
'escape spaces in path': true,
|
|
120
|
+
},
|
|
121
|
+
'options': {
|
|
122
|
+
'recursive': _ea.set(true),
|
|
123
|
+
'force': _ea.not_set(),
|
|
124
|
+
'errorOnExist': _ea.not_set(),
|
|
125
|
+
}
|
|
126
|
+
}),
|
|
127
|
+
_easync.upi.u(copy_1.$$, () => null, _easync.eh(log_error_1.$$, ($) => ({
|
|
128
|
+
'lines': _ea.array_literal([`Could not copy core interface directory`])
|
|
129
|
+
})))({
|
|
130
|
+
'source': {
|
|
131
|
+
'path': "./pub/src/interface/generated/pareto/core",
|
|
132
|
+
'escape spaces in path': true,
|
|
133
|
+
},
|
|
134
|
+
'target': {
|
|
135
|
+
'path': interface_module_path + "/core",
|
|
136
|
+
'escape spaces in path': true,
|
|
137
|
+
},
|
|
138
|
+
'options': {
|
|
139
|
+
'recursive': _ea.set(true),
|
|
140
|
+
'force': _ea.not_set(),
|
|
141
|
+
'errorOnExist': _ea.not_set(),
|
|
142
|
+
}
|
|
143
|
+
}),
|
|
144
|
+
]),
|
|
145
|
+
]);
|
|
146
|
+
}), ($) => ({
|
|
147
|
+
'exit code': 1
|
|
148
|
+
}))
|
|
149
|
+
]);
|
|
150
|
+
};
|
|
151
|
+
exports.$$ = $$;
|
|
152
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsZV90ZW1wX3NjaGVtYXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvaW1wbGVtZW50YXRpb24vYWxnb3JpdGhtcy9wcm9jZWR1cmVzL3VuZ3VhcmFudGVlZC9jb21waWxlX3RlbXBfc2NoZW1hcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs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zt3QkFDSixPQUFPLEVBQUUsR0FBRyxDQUFDLGFBQWEsQ0FBQyxDQUFDLHlDQUF5QyxDQUFDLENBQUM7cUJBQzFFLENBQUMsQ0FDTCxDQUNKLENBQUM7d0JBQ0UsUUFBUSxFQUFFOzRCQUNOLE1BQU0sRUFBRSwyQ0FBMkM7NEJBQ25ELHVCQUF1QixFQUFFLElBQUk7eUJBQ2hDO3dCQUNELFFBQVEsRUFBRTs0QkFDTixNQUFNLEVBQUUscUJBQXFCLEdBQUcsT0FBTzs0QkFDdkMsdUJBQXVCLEVBQUUsSUFBSTt5QkFDaEM7d0JBQ0QsU0FBUyxFQUFFOzRCQUNQLFdBQVcsRUFBRSxHQUFHLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQzs0QkFDMUIsT0FBTyxFQUFFLEdBQUcsQ0FBQyxPQUFPLEVBQUU7NEJBQ3RCLGNBQWMsRUFBRSxHQUFHLENBQUMsT0FBTyxFQUFFO3lCQUNoQztxQkFDSixDQUFDO2lCQUNMLENBQUM7YUFHTCxDQUFDLENBQUE7UUFDTixDQUFDLENBQUMsRUFDRixDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQztZQUNKLFdBQVcsRUFBRSxDQUFDO1NBQ2pCLENBQUMsQ0FDTDtLQUVKLENBQUMsQ0FBQTtBQUNOLENBQUMsQ0FBQTtBQWxMWSxRQUFBLEVBQUUsTUFrTGQifQ==
|
|
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.$$ = void 0;
|
|
27
27
|
const _ea = __importStar(require("exupery-core-alg"));
|
|
28
28
|
const _easync = __importStar(require("exupery-core-async"));
|
|
29
|
-
const log_error_1 = require("exupery-resources/dist/implementation/procedures/guaranteed/log_error");
|
|
29
|
+
const log_error_1 = require("exupery-resources/dist/implementation/algorithms/procedures/guaranteed/log_error");
|
|
30
30
|
const $$ = () => _easync.up.action(_easync.upi.u(() => {
|
|
31
31
|
return _easync.command.unguaranteed['raise exception'](null);
|
|
32
32
|
}, () => ({
|
|
@@ -35,4 +35,4 @@ const $$ = () => _easync.up.action(_easync.upi.u(() => {
|
|
|
35
35
|
'lines': _ea.array_literal(["The seal procedure is not implemented yet"])
|
|
36
36
|
}))), _easync.uq.fixed(null));
|
|
37
37
|
exports.$$ = $$;
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9pbXBsZW1lbnRhdGlvbi9hbGdvcml0aG1zL3Byb2NlZHVyZXMvdW5ndWFyYW50ZWVkL3NlYWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxzREFBdUM7QUFFdkMsNERBQTZDO0FBRTdDLGdIQUFvSDtBQUk3RyxNQUFNLEVBQUUsR0FBMEUsR0FBRyxFQUFFLENBQUMsT0FBTyxDQUFDLEVBQUUsQ0FBQyxNQUFNLENBQzVHLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUNULEdBQUcsRUFBRTtJQUNELE9BQU8sT0FBTyxDQUFDLE9BQU8sQ0FBQyxZQUFZLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQTtBQUNoRSxDQUFDLEVBQ0QsR0FBRyxFQUFFLENBQUMsQ0FBQztJQUNILFdBQVcsRUFBRSxDQUFDO0NBQ2pCLENBQUMsRUFDRixPQUFPLENBQUMsRUFBRSxDQUNOLGNBQVcsRUFDWCxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQztJQUNKLE9BQU8sRUFBRSxHQUFHLENBQUMsYUFBYSxDQUFDLENBQUMsMkNBQTJDLENBQUMsQ0FBQztDQUM1RSxDQUFDLENBQ0wsQ0FDSixFQUNELE9BQU8sQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUN6QixDQUFBO0FBaEJZLFFBQUEsRUFBRSxNQWdCZCJ9
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.$$ = void 0;
|
|
27
|
+
const _ed = __importStar(require("exupery-core-data"));
|
|
28
|
+
const _easync = __importStar(require("exupery-core-async"));
|
|
29
|
+
const write_file_1 = require("exupery-resources/dist/implementation/algorithms/procedures/unguaranteed/write_file");
|
|
30
|
+
const serialize = __importStar(require("../../../generated/pareto/generic/serialize"));
|
|
31
|
+
//data
|
|
32
|
+
const all_1 = require("../../../../temp/temporary_schemas/all");
|
|
33
|
+
//resolvers
|
|
34
|
+
const r_module = __importStar(require("../../../../temp/resolvers/module"));
|
|
35
|
+
//marshall
|
|
36
|
+
const m_module = __importStar(require("../../../../implementation/generated/pareto/schemas/module/marshall"));
|
|
37
|
+
const path = "./out/serialized";
|
|
38
|
+
const $$ = ($) => {
|
|
39
|
+
return _easync.up.dictionary(all_1.$.map(($, key) => (0, write_file_1.$$)({
|
|
40
|
+
'path': {
|
|
41
|
+
'escape spaces in path': true,
|
|
42
|
+
'path': `${path}/${key}.astn`
|
|
43
|
+
},
|
|
44
|
+
'data': serialize.Document(m_module.Module(r_module.Module($, {
|
|
45
|
+
'parameters': {
|
|
46
|
+
'lookups': null,
|
|
47
|
+
'values': null,
|
|
48
|
+
},
|
|
49
|
+
'location 2 string': _ed.location_to_string
|
|
50
|
+
}), {
|
|
51
|
+
'value serializers': {
|
|
52
|
+
'boolean': ($) => $ ? "true" : "false",
|
|
53
|
+
'default number': () => "FIXME NUMBER",
|
|
54
|
+
'custom numbers': null
|
|
55
|
+
}
|
|
56
|
+
})),
|
|
57
|
+
})), ($) => ({
|
|
58
|
+
'exit code': 1
|
|
59
|
+
}));
|
|
60
|
+
};
|
|
61
|
+
exports.$$ = $$;
|
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplX3NjaGVtYXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvaW1wbGVtZW50YXRpb24vYWxnb3JpdGhtcy9wcm9jZWR1cmVzL3VuZ3VhcmFudGVlZC9zZXJpYWxpemVfc2NoZW1hcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUdBLHVEQUF3QztBQUN4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BQyxFQUNGLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBQ0osV0FBVyxFQUFFLENBQUM7S0FDakIsQ0FBQyxDQUVMLENBQUE7QUFHTCxDQUFDLENBQUE7QUF0Q1ksUUFBQSxFQUFFLE1Bc0NkIn0=
|
|
@@ -28,10 +28,10 @@ exports.$$ = void 0;
|
|
|
28
28
|
const _ea = __importStar(require("exupery-core-alg"));
|
|
29
29
|
const _easync = __importStar(require("exupery-core-async"));
|
|
30
30
|
//data
|
|
31
|
-
const all_1 = require("
|
|
32
|
-
const log_error_1 = require("exupery-resources/dist/implementation/procedures/guaranteed/log_error");
|
|
31
|
+
const all_1 = require("../../../../temp/temporary_schemas/all");
|
|
32
|
+
const log_error_1 = require("exupery-resources/dist/implementation/algorithms/procedures/guaranteed/log_error");
|
|
33
33
|
const $$ = ($p) => _easync.up.dictionary(all_1.$.map(($, key) => {
|
|
34
|
-
const path = "
|
|
34
|
+
const path = "../../out/source_code/src/generated";
|
|
35
35
|
const module_path = `${path}/${key}`;
|
|
36
36
|
return _easync.up.sequence([
|
|
37
37
|
(0, log_error_1.$$)({
|
|
@@ -42,4 +42,4 @@ const $$ = ($p) => _easync.up.dictionary(all_1.$.map(($, key) => {
|
|
|
42
42
|
'exit code': 1
|
|
43
43
|
}));
|
|
44
44
|
exports.$$ = $$;
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvaW1wbGVtZW50YXRpb24vYWxnb3JpdGhtcy9wcm9jZWR1cmVzL3VuZ3VhcmFudGVlZC92YWxpZGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLE1BQU07QUFDTixzREFBdUM7QUFFdkMsNERBQTZDO0FBRzdDLE1BQU07QUFDTixnRUFBOEU7QUFROUUsZ0hBQW9IO0FBSzdHLE1BQU0sRUFBRSxHQUEwRSxDQUNyRixFQUFFLEVBQ0osRUFBRSxDQUFDLE9BQU8sQ0FBQyxFQUFFLENBQUMsVUFBVSxDQUN0QixPQUFnQixDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxHQUFHLEVBQUUsRUFBRTtJQUM1QixNQUFNLElBQUksR0FBRyxxQ0FBcUMsQ0FBQTtJQUVsRCxNQUFNLFdBQVcsR0FBRyxHQUFHLElBQUksSUFBSSxHQUFHLEVBQUUsQ0FBQTtJQUNwQyxPQUFPLE9BQU8sQ0FBQyxFQUFFLENBQUMsUUFBUSxDQUFDO1FBQ3ZCLElBQUEsY0FBVyxFQUFDO1lBQ1IsT0FBTyxFQUFFLEdBQUcsQ0FBQyxhQUFhLENBQUMsQ0FBQyxjQUFjLENBQUMsQ0FBQztTQUMvQyxDQUFDO0tBQ0wsQ0FBQyxDQUFBO0FBR04sQ0FBQyxDQUFDLEVBQ0YsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUM7SUFDSixXQUFXLEVBQUUsQ0FBQztDQUNqQixDQUFDLENBQ0wsQ0FBQTtBQWxCWSxRQUFBLEVBQUUsTUFrQmQifQ==
|
package/dist/implementation/{queries → algorithms/queries}/unguaranteed/load_pareto_document.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _easync from 'exupery-core-async';
|
|
2
2
|
import * as d_parse_result from "astn/dist/interface/generated/pareto/schemas/authoring_parse_result/data_types/target";
|
|
3
|
-
import * as _out from "
|
|
3
|
+
import * as _out from "../../../../temp/temp_unmashall_result_types";
|
|
4
4
|
export type Error = ['parse error', d_parse_result.Parse_Error] | ['no schema file', null] | [
|
|
5
5
|
'schema error',
|
|
6
6
|
{
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.$$ = void 0;
|
|
27
|
+
//core
|
|
28
|
+
const _ea = __importStar(require("exupery-core-alg"));
|
|
29
|
+
const _easync = __importStar(require("exupery-core-async"));
|
|
30
|
+
const tu_dynamic_unmarshall = __importStar(require("../../transformations/temp/unmarshall_astn_ast"));
|
|
31
|
+
const parse = __importStar(require("astn/dist/exceptional/authoring_parse/parse"));
|
|
32
|
+
const join_list_of_texts_with_separator_1 = require("pareto-standard-operations/dist/implementation/algorithms/operations/impure/text/join_list_of_texts_with_separator");
|
|
33
|
+
const read_file_1 = require("exupery-resources/dist/implementation/algorithms/queries/unguaranteed/read_file");
|
|
34
|
+
const path_1 = require("../../operations/impure/tbd/path");
|
|
35
|
+
const load_schema_1 = require("../../../../exceptional/deserializers/load_schema");
|
|
36
|
+
const $$ = ($p) => {
|
|
37
|
+
const instance_path = $p['file path'];
|
|
38
|
+
const schema_path = (0, join_list_of_texts_with_separator_1.$$)((0, path_1.get_directory_path)($p['file path']).transform(($) => $, () => _ea.deprecated_panic("could not get directory path")), {
|
|
39
|
+
'separator': "/",
|
|
40
|
+
}) + "/astn-schema";
|
|
41
|
+
return parse.parse($p.content, {
|
|
42
|
+
'tab size': 4,
|
|
43
|
+
}).transform(($) => {
|
|
44
|
+
//the instance was parsed successfully
|
|
45
|
+
const content = $.content;
|
|
46
|
+
//now first, get the schema
|
|
47
|
+
return (0, read_file_1.$$)({
|
|
48
|
+
'path': schema_path,
|
|
49
|
+
'escape spaces in path': true,
|
|
50
|
+
}).map_exception_(() => ['no schema file', null]).then_unguaranteed(($) => {
|
|
51
|
+
//the schema file was read successfully
|
|
52
|
+
return _ea.cc((0, load_schema_1.$)($), ($) => {
|
|
53
|
+
return $.transform(($) => {
|
|
54
|
+
//the schema was loaded successfully
|
|
55
|
+
const type = $;
|
|
56
|
+
return _easync.query.unguaranteed['create result'](tu_dynamic_unmarshall.Node(content, {
|
|
57
|
+
'definition': type.node,
|
|
58
|
+
}));
|
|
59
|
+
}, ($) => _ea.cc($, ($) => {
|
|
60
|
+
switch ($[0]) {
|
|
61
|
+
case 'parse error': return _ea.ss($, ($) => {
|
|
62
|
+
return _easync.query.unguaranteed['raise exception'](['schema error', {
|
|
63
|
+
// 'message': $.,
|
|
64
|
+
'file location': schema_path,
|
|
65
|
+
}]);
|
|
66
|
+
});
|
|
67
|
+
default: return _ea.au($[0]);
|
|
68
|
+
}
|
|
69
|
+
}));
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
}, ($) => _easync.query.unguaranteed['raise exception'](['parse error', $]));
|
|
73
|
+
};
|
|
74
|
+
exports.$$ = $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QyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUU7NEJBRXZDLE9BQU8sT0FBTyxDQUFDLEtBQUssQ0FBQyxZQUFZLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxDQUFDLGNBQWMsRUFBRTtvQ0FDbEUsaUJBQWlCO29DQUNqQixlQUFlLEVBQUUsV0FBVztpQ0FDL0IsQ0FBQyxDQUFDLENBQUE7d0JBQ1AsQ0FBQyxDQUFDLENBQUE7d0JBQ0YsT0FBTyxDQUFDLENBQUMsT0FBTyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFBO29CQUNoQyxDQUFDO2dCQUNMLENBQUMsQ0FBQyxDQUNMLENBQUE7WUFDTCxDQUFDLENBQ0osQ0FBQTtRQUNMLENBQUMsQ0FBQyxDQUFBO0lBR04sQ0FBQyxFQUNELENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLFlBQVksQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDLENBQUMsYUFBYSxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQzNFLENBQUE7QUFDTCxDQUFDLENBQUE7QUF4RVksUUFBQSxFQUFFLE1Bd0VkIn0=
|
package/dist/implementation/{queries → algorithms/queries}/unguaranteed/load_pareto_file.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _easync from 'exupery-core-async';
|
|
2
|
-
import * as _out from "
|
|
2
|
+
import * as _out from "../../../../temp/temp_unmashall_result_types";
|
|
3
3
|
import { Error as Document_Error } from "./load_pareto_document";
|
|
4
4
|
export type Error = ['no file', null] | ['document', Document_Error];
|
|
5
5
|
export type Parameters = {
|
|
@@ -26,13 +26,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.$$ = void 0;
|
|
27
27
|
//core
|
|
28
28
|
const _ea = __importStar(require("exupery-core-alg"));
|
|
29
|
-
const join_list_of_texts_with_separator_1 = require("pareto-standard-operations/dist/implementation/operations/impure/text/join_list_of_texts_with_separator");
|
|
30
|
-
const read_file_1 = require("exupery-resources/dist/implementation/queries/unguaranteed/read_file");
|
|
29
|
+
const join_list_of_texts_with_separator_1 = require("pareto-standard-operations/dist/implementation/algorithms/operations/impure/text/join_list_of_texts_with_separator");
|
|
30
|
+
const read_file_1 = require("exupery-resources/dist/implementation/algorithms/queries/unguaranteed/read_file");
|
|
31
31
|
const path_1 = require("../../operations/impure/tbd/path");
|
|
32
32
|
const load_pareto_document_1 = require("./load_pareto_document");
|
|
33
33
|
const $$ = ($p) => {
|
|
34
34
|
const instance_path = $p['file path'];
|
|
35
|
-
const schema_path = (0, join_list_of_texts_with_separator_1.$$)((0, path_1.get_directory_path)($p['file path']).transform(($) => $, () => _ea.
|
|
35
|
+
const schema_path = (0, join_list_of_texts_with_separator_1.$$)((0, path_1.get_directory_path)($p['file path']).transform(($) => $, () => _ea.deprecated_panic("could not get directory path")), {
|
|
36
36
|
'separator': "/",
|
|
37
37
|
}) + "/astn-schema";
|
|
38
38
|
return (0, read_file_1.$$)({
|
|
@@ -45,4 +45,4 @@ const $$ = ($p) => {
|
|
|
45
45
|
}).map_exception_(($) => ['document', $]));
|
|
46
46
|
};
|
|
47
47
|
exports.$$ = $$;
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZF9wYXJldG9fZmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9pbXBsZW1lbnRhdGlvbi9hbGdvcml0aG1zL3F1ZXJpZXMvdW5ndWFyYW50ZWVkL2xvYWRfcGFyZXRvX2ZpbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7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SxRQUFBLEVBQUUsTUFzQmQifQ==
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as _edata from 'exupery-core-data';
|
|
2
|
-
import * as _in from "
|
|
2
|
+
import * as _in from "../../../../interface/generated/pareto/schemas/module/data_types/source";
|
|
3
3
|
import * as _out from "exupery/dist/interface/generated/pareto/schemas/implementation/data_types/target";
|
|
4
4
|
export declare const Module: ($: _in.Module) => _out.Module_Set<_edata.Source_Location>;
|
|
@@ -41,4 +41,4 @@ const Module = ($) => {
|
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
exports.Module = Module;
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh1cGVyeV9pbXBsZW1lbnRhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9pbXBsZW1lbnRhdGlvbi9hbGdvcml0aG1zL3RyYW5zZm9ybWF0aW9ucy9tb2R1bGUvZXh1cGVyeV9pbXBsZW1lbnRhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDBEQUEyQztBQUMzQyxzREFBdUM7QUFPdkMscUdBQXNGO0FBSS9FLE1BQU0sTUFBTSxHQUFHLENBQUMsQ0FBYSxFQUEyQyxFQUFFO0lBQzdFLE9BQU87UUFDSCxVQUFVLEVBQUUsTUFBTSxDQUFDLGlCQUFpQixDQUFDLENBQUMsQ0FBQztRQUN2QyxZQUFZLEVBQUUsR0FBRyxDQUFDLGtCQUFrQixDQUE0QztZQUM1RSxTQUFTLEVBQUUsNkJBQTZCLENBQUMsV0FBVyxDQUNoRCxDQUFDLENBQUMsYUFBYSxDQUFDLEVBQ2hCO2dCQUNJLE1BQU0sRUFBRSxHQUFHLENBQUMsYUFBYSxDQUFDLEVBQUUsQ0FBQzthQUNoQyxDQUNKO1NBQ0osQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQztZQUNYLFVBQVUsRUFBRSxNQUFNLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxDQUFDO1lBQ3ZDLE9BQU8sRUFBRSxDQUFDO1NBQ2IsQ0FBQyxDQUFDO0tBQ04sQ0FBQTtBQUNMLENBQUMsQ0FBQTtBQWZZLFFBQUEsTUFBTSxVQWVsQiJ9
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as _in from "
|
|
1
|
+
import * as _ed from 'exupery-core-data';
|
|
2
|
+
import * as _in from "../../../../interface/generated/pareto/schemas/module/data_types/source";
|
|
3
3
|
import * as _out from "exupery/dist/interface/generated/pareto/schemas/interface/data_types/target";
|
|
4
|
-
export declare const Operations: ($: _in.Operations) => _out.Type<
|
|
5
|
-
export declare const Module: ($: _in.Module) => _out.Module_Set<
|
|
4
|
+
export declare const Operations: ($: _in.Operations) => _out.Type<_ed.Source_Location>;
|
|
5
|
+
export declare const Module: ($: _in.Module) => _out.Module_Set<_ed.Source_Location>;
|