pareto 0.76.28 → 0.76.30
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 +34 -0
- package/dist/bin/test.js +28 -0
- package/dist/generated/implementation/generic/resolve.d.ts +41 -10
- package/dist/generated/implementation/generic/resolve.js +75 -50
- package/dist/generated/implementation/generic/unmarshall.d.ts +42 -0
- package/dist/generated/implementation/generic/unmarshall.js +237 -0
- package/dist/generated/implementation/schemas/module/marshall.d.ts +3 -0
- package/dist/generated/implementation/schemas/module/{serializer.js → marshall.js} +3 -3
- package/dist/generated/implementation/schemas/module/resolve.d.ts +3 -4
- package/dist/generated/implementation/schemas/module/resolve.js +3 -3
- package/dist/generated/implementation/schemas/module/unmarshall.d.ts +3 -0
- package/dist/generated/implementation/schemas/module/unmarshall.js +81 -0
- package/dist/generated/implementation/schemas/schema/marshall.d.ts +37 -0
- package/dist/generated/implementation/schemas/schema/marshall.js +1118 -0
- package/dist/generated/implementation/schemas/schema/resolve.d.ts +37 -36
- package/dist/generated/implementation/schemas/schema/resolve.js +65 -26
- package/dist/generated/implementation/schemas/schema/unmarshall.d.ts +37 -0
- package/dist/generated/implementation/schemas/schema/unmarshall.js +1043 -0
- package/dist/generated/implementation/schemas/unmarshall_errors/marshall.d.ts +6 -0
- package/dist/generated/implementation/schemas/unmarshall_errors/marshall.js +197 -0
- package/dist/generated/implementation/schemas/unmarshall_errors/unmarshall.d.ts +6 -0
- package/dist/generated/implementation/schemas/unmarshall_errors/unmarshall.js +167 -0
- package/dist/generated/implementation/schemas/unmarshall_result/marshall.js +3 -0
- package/dist/generated/implementation/schemas/unmarshall_result/unmarshall.d.ts +1 -0
- package/dist/generated/implementation/schemas/unmarshall_result/{serializer.js → unmarshall.js} +1 -1
- package/dist/generated/interface/core/astn_source.d.ts +14 -16
- package/dist/generated/interface/core/astn_target.d.ts +15 -15
- package/dist/generated/interface/core/resolve.d.ts +6 -6
- package/dist/generated/interface/core/resolved.d.ts +46 -46
- package/dist/generated/interface/core/unconstrained.d.ts +10 -10
- package/dist/generated/interface/core/unresolved.d.ts +84 -87
- package/dist/generated/interface/schemas/module/{resolve.d.ts → data_types/resolve.d.ts} +39 -39
- package/dist/generated/interface/schemas/{schema → module/data_types}/resolve.js +1 -1
- package/dist/generated/interface/schemas/module/{resolved.d.ts → data_types/resolved.d.ts} +7 -7
- package/dist/generated/interface/schemas/module/data_types/resolved.js +3 -0
- package/dist/generated/interface/schemas/module/data_types/unresolved.d.ts +133 -0
- package/dist/generated/interface/schemas/{schema → module/data_types}/unresolved.js +1 -1
- package/dist/generated/interface/schemas/module/marshall.d.ts +63 -0
- package/dist/generated/interface/schemas/{schema/resolved.js → module/marshall.js} +1 -1
- package/dist/generated/interface/schemas/module/{migration_boilerplate.d.ts → migrate_boilerplate.d.ts} +2 -2
- package/dist/generated/interface/schemas/module/migrate_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/module/unmarshall.d.ts +75 -0
- package/dist/generated/interface/schemas/module/{serializer.js → unmarshall.js} +1 -1
- package/dist/generated/interface/schemas/module/value_deserializers.d.ts +44 -0
- package/dist/generated/interface/schemas/module/value_deserializers.js +3 -0
- package/dist/generated/interface/schemas/module/value_serializers.js +3 -0
- package/dist/generated/interface/schemas/schema/{resolve.d.ts → data_types/resolve.d.ts} +1269 -1123
- package/dist/generated/interface/schemas/{module → schema/data_types}/resolve.js +1 -1
- package/dist/generated/interface/schemas/schema/{resolved.d.ts → data_types/resolved.d.ts} +61 -29
- package/dist/generated/interface/schemas/schema/data_types/resolved.js +3 -0
- package/dist/generated/interface/schemas/schema/data_types/unresolved.d.ts +3786 -0
- package/dist/generated/interface/schemas/schema/data_types/unresolved.js +3 -0
- package/dist/generated/interface/schemas/schema/{serializer.d.ts → marshall.d.ts} +297 -280
- package/dist/generated/interface/schemas/{module/resolved.js → schema/marshall.js} +1 -1
- package/dist/generated/interface/schemas/schema/{migration_boilerplate.d.ts → migrate_boilerplate.d.ts} +50 -2
- package/dist/generated/interface/schemas/schema/migrate_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/schema/unmarshall.d.ts +1299 -0
- package/dist/generated/interface/schemas/{module/unresolved.js → schema/unmarshall.js} +1 -1
- package/dist/generated/interface/schemas/schema/value_deserializers.d.ts +44 -0
- package/dist/generated/interface/schemas/schema/value_deserializers.js +3 -0
- package/dist/generated/interface/schemas/schema/value_serializers.d.ts +44 -0
- package/dist/generated/interface/schemas/schema/value_serializers.js +3 -0
- package/dist/generated/interface/schemas/unmarshall_errors/{unconstrained.d.ts → data_types/unconstrained.d.ts} +46 -23
- package/dist/generated/interface/schemas/unmarshall_errors/{unconstrained.js → data_types/unconstrained.js} +1 -1
- package/dist/generated/interface/schemas/unmarshall_errors/marshall.d.ts +153 -0
- package/dist/generated/interface/schemas/unmarshall_errors/marshall.js +3 -0
- package/dist/generated/interface/schemas/unmarshall_errors/{migration_boilerplate.d.ts → migrate_boilerplate.d.ts} +24 -2
- package/dist/generated/interface/schemas/unmarshall_errors/migrate_boilerplate.js +3 -0
- package/dist/generated/interface/schemas/unmarshall_errors/unmarshall.d.ts +153 -0
- package/dist/generated/interface/schemas/{schema/serializer.js → unmarshall_errors/unmarshall.js} +1 -1
- package/dist/generated/interface/schemas/unmarshall_errors/value_deserializers.d.ts +44 -0
- package/dist/generated/interface/schemas/unmarshall_errors/value_deserializers.js +3 -0
- package/dist/generated/interface/schemas/unmarshall_errors/value_serializers.d.ts +44 -0
- package/dist/generated/interface/schemas/unmarshall_errors/value_serializers.js +3 -0
- package/dist/generated/interface/schemas/unmarshall_result/data_types/unconstrained.d.ts +1 -0
- package/dist/generated/interface/schemas/unmarshall_result/{unconstrained.js → data_types/unconstrained.js} +1 -1
- package/dist/generated/interface/schemas/unmarshall_result/marshall.d.ts +1 -0
- package/dist/generated/interface/schemas/unmarshall_result/marshall.js +7 -0
- package/dist/generated/interface/schemas/unmarshall_result/migrate_boilerplate.d.ts +1 -0
- package/dist/generated/interface/schemas/unmarshall_result/migrate_boilerplate.js +7 -0
- package/dist/generated/interface/schemas/unmarshall_result/unmarshall.d.ts +1 -0
- package/dist/generated/interface/schemas/unmarshall_result/unmarshall.js +7 -0
- package/dist/generated/interface/schemas/unmarshall_result/value_deserializers.d.ts +44 -0
- package/dist/generated/interface/schemas/unmarshall_result/value_deserializers.js +3 -0
- package/dist/generated/interface/schemas/unmarshall_result/value_serializers.d.ts +44 -0
- package/dist/generated/interface/schemas/unmarshall_result/value_serializers.js +3 -0
- package/dist/other/compile_astn.d.ts +3 -0
- package/dist/other/compile_astn.js +67 -0
- package/dist/other/fp_write_to_console.d.ts +5 -0
- package/dist/other/fp_write_to_console.js +38 -0
- package/dist/other/load_astn_document.d.ts +11 -0
- package/dist/other/load_astn_document.js +84 -0
- package/dist/other/load_schema.d.ts +5 -0
- package/dist/other/load_schema.js +94 -0
- package/dist/other/path.d.ts +3 -0
- package/dist/other/path.js +39 -0
- package/dist/other/serialize_schemas.d.ts +3 -0
- package/dist/other/serialize_schemas.js +67 -0
- package/dist/other/test.d.ts +1 -0
- package/dist/other/test.js +81 -0
- package/dist/other/unmarshall_astn_ast.d.ts +12 -0
- package/dist/other/unmarshall_astn_ast.js +422 -0
- package/dist/other/validate_instance_against_directory_schema.d.ts +12 -0
- package/dist/other/validate_instance_against_directory_schema.js +142 -0
- package/dist/resolvers/module.d.ts +3 -4
- package/dist/resolvers/module.js +14 -14
- package/dist/resolvers/schema.d.ts +24 -23
- package/dist/resolvers/schema.js +618 -586
- package/dist/shorthands/module.d.ts +3 -3
- package/dist/shorthands/module.js +8 -8
- package/dist/shorthands/schema.d.ts +53 -10
- package/dist/shorthands/schema.js +288 -244
- package/dist/temp_unmashall_result_types.d.ts +41 -23
- package/dist/temporary_schemas/accounting_ruwe_data/module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/operations.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/operations.astn.js +78 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schema_tree.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schema_tree.astn.js +36 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.globals.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.types.astn.d.ts +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/alan_light_oldstyle/$.types.astn.js +63 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.globals.astn.js +16 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.module.astn.js +10 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.resolvers.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.resolvers.astn.js +398 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.signatures.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.signatures.astn.js +49 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding/$.types.astn.js +364 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.globals.astn.js +17 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/boekhouding_oude_model/$.types.astn.js +365 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.globals.astn.js +6 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/builder_configuration/$.types.astn.js +48 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.globals.astn.js +6 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/csv/$.types.astn.js +21 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.globals.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/html/$.types.astn.js +631 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.globals.astn.js +10 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/annotated/$.types.astn.js +53 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.globals.astn.js +10 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json/simple/$.types.astn.js +17 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.globals.astn.js +13 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/json_schema/$.types.astn.js +51 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.globals.astn.js +6 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/legacy_schema/$.types.astn.js +74 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.globals.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/railroad_diagram/$.types.astn.js +50 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.globals.astn.js +10 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/regular_expression/$.types.astn.js +40 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.globals.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/semantic_versioning/$.types.astn.js +18 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.globals.astn.js +10 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/parse_result/$.types.astn.js +63 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.globals.astn.js +10 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.module.astn.js +8 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas/xml/simple/$.types.astn.js +31 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas.astn.d.ts +3 -0
- package/dist/temporary_schemas/accounting_ruwe_data/schemas.astn.js +36 -0
- package/dist/temporary_schemas/all.d.ts +3 -0
- package/dist/temporary_schemas/all.js +44 -0
- package/dist/temporary_schemas/astn/module.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/module.astn.js +8 -0
- package/dist/temporary_schemas/astn/operations.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/operations.astn.js +6 -0
- package/dist/temporary_schemas/astn/schema_tree.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schema_tree.astn.js +17 -0
- package/dist/temporary_schemas/astn/schemas/ast/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/ast/$.globals.astn.js +6 -0
- package/dist/temporary_schemas/astn/schemas/ast/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/ast/$.module.astn.js +10 -0
- package/dist/temporary_schemas/astn/schemas/ast/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/ast/$.types.astn.js +85 -0
- package/dist/temporary_schemas/astn/schemas/ide/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/ide/$.globals.astn.js +6 -0
- package/dist/temporary_schemas/astn/schemas/ide/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/ide/$.module.astn.js +10 -0
- package/dist/temporary_schemas/astn/schemas/ide/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/ide/$.types.astn.js +25 -0
- package/dist/temporary_schemas/astn/schemas/parse_result/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/parse_result/$.globals.astn.js +6 -0
- package/dist/temporary_schemas/astn/schemas/parse_result/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/parse_result/$.module.astn.js +11 -0
- package/dist/temporary_schemas/astn/schemas/parse_result/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/parse_result/$.types.astn.js +49 -0
- package/dist/temporary_schemas/astn/schemas/target/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/target/$.globals.astn.js +10 -0
- package/dist/temporary_schemas/astn/schemas/target/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/target/$.module.astn.js +8 -0
- package/dist/temporary_schemas/astn/schemas/target/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/target/$.types.astn.js +31 -0
- package/dist/temporary_schemas/astn/schemas/token/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/token/$.globals.astn.js +6 -0
- package/dist/temporary_schemas/astn/schemas/token/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/token/$.module.astn.js +8 -0
- package/dist/temporary_schemas/astn/schemas/token/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas/token/$.types.astn.js +75 -0
- package/dist/temporary_schemas/astn/schemas.astn.d.ts +3 -0
- package/dist/temporary_schemas/astn/schemas.astn.js +17 -0
- package/dist/temporary_schemas/exupery/module.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/module.astn.js +8 -0
- package/dist/temporary_schemas/exupery/operations.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/operations.astn.js +78 -0
- package/dist/temporary_schemas/exupery/schema_tree.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schema_tree.astn.js +13 -0
- package/dist/temporary_schemas/exupery/schemas/implementation/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/implementation/$.globals.astn.js +10 -0
- package/dist/temporary_schemas/exupery/schemas/implementation/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/implementation/$.module.astn.js +12 -0
- package/dist/temporary_schemas/exupery/schemas/implementation/$.resolvers.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/implementation/$.resolvers.astn.js +156 -0
- package/dist/temporary_schemas/exupery/schemas/implementation/$.signatures.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/implementation/$.signatures.astn.js +14 -0
- package/dist/temporary_schemas/exupery/schemas/implementation/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/implementation/$.types.astn.js +166 -0
- package/dist/temporary_schemas/exupery/schemas/interface/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/interface/$.globals.astn.js +9 -0
- package/dist/temporary_schemas/exupery/schemas/interface/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/interface/$.module.astn.js +10 -0
- package/dist/temporary_schemas/exupery/schemas/interface/$.resolvers.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/interface/$.resolvers.astn.js +83 -0
- package/dist/temporary_schemas/exupery/schemas/interface/$.signatures.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/interface/$.signatures.astn.js +14 -0
- package/dist/temporary_schemas/exupery/schemas/interface/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/interface/$.types.astn.js +83 -0
- package/dist/temporary_schemas/exupery/schemas/typescript_light/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/typescript_light/$.globals.astn.js +9 -0
- package/dist/temporary_schemas/exupery/schemas/typescript_light/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/typescript_light/$.module.astn.js +8 -0
- package/dist/temporary_schemas/exupery/schemas/typescript_light/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas/typescript_light/$.types.astn.js +130 -0
- package/dist/temporary_schemas/exupery/schemas.astn.d.ts +3 -0
- package/dist/temporary_schemas/exupery/schemas.astn.js +13 -0
- package/dist/temporary_schemas/pareto/module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/module.astn.js +8 -0
- package/dist/temporary_schemas/pareto/operations.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/operations.astn.js +78 -0
- package/dist/temporary_schemas/pareto/schema_tree.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schema_tree.astn.js +15 -0
- package/dist/temporary_schemas/pareto/schemas/module/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/module/$.globals.astn.js +6 -0
- package/dist/temporary_schemas/pareto/schemas/module/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/module/$.module.astn.js +12 -0
- package/dist/temporary_schemas/pareto/schemas/module/$.resolvers.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/module/$.resolvers.astn.js +45 -0
- package/dist/temporary_schemas/pareto/schemas/module/$.signatures.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/module/$.signatures.astn.js +11 -0
- package/dist/temporary_schemas/pareto/schemas/module/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/module/$.types.astn.js +20 -0
- package/dist/temporary_schemas/pareto/schemas/schema/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/schema/$.globals.astn.js +6 -0
- package/dist/temporary_schemas/pareto/schemas/schema/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/schema/$.module.astn.js +10 -0
- package/dist/temporary_schemas/pareto/schemas/schema/$.resolvers.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/schema/$.resolvers.astn.js +615 -0
- package/dist/temporary_schemas/pareto/schemas/schema/$.signatures.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/schema/$.signatures.astn.js +133 -0
- package/dist/temporary_schemas/pareto/schemas/schema/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/schema/$.types.astn.js +391 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.globals.astn.js +6 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.module.astn.js +8 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_errors/$.types.astn.js +62 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.globals.astn.js +6 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.module.astn.js +10 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas/unmarshall_result/$.types.astn.js +136 -0
- package/dist/temporary_schemas/pareto/schemas.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto/schemas.astn.js +15 -0
- package/dist/temporary_schemas/pareto-fountain-pen/module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-fountain-pen/operations.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/operations.astn.js +6 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schema_tree.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schema_tree.astn.js +15 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.globals.astn.js +8 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/block/$.types.astn.js +25 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.globals.astn.js +8 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/lines/$.types.astn.js +12 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.globals.astn.js +8 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/semi_lines/$.types.astn.js +15 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.globals.astn.js +8 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas/text/$.types.astn.js +12 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-fountain-pen/schemas.astn.js +15 -0
- package/dist/temporary_schemas/pareto-json/module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-json/module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-json/operations.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-json/operations.astn.js +6 -0
- package/dist/temporary_schemas/pareto-json/schema_tree.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-json/schema_tree.astn.js +9 -0
- package/dist/temporary_schemas/pareto-json/schemas/json/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-json/schemas/json/$.globals.astn.js +10 -0
- package/dist/temporary_schemas/pareto-json/schemas/json/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-json/schemas/json/$.module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-json/schemas/json/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-json/schemas/json/$.types.astn.js +25 -0
- package/dist/temporary_schemas/pareto-json/schemas.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-json/schemas.astn.js +9 -0
- package/dist/temporary_schemas/pareto-targets/module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-targets/operations.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/operations.astn.js +6 -0
- package/dist/temporary_schemas/pareto-targets/schema_tree.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schema_tree.astn.js +17 -0
- package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.globals.astn.js +8 -0
- package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/alan_light/$.types.astn.js +59 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.globals.astn.js +8 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/high_level/$.types.astn.js +255 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.globals.astn.js +10 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/graphviz/low_level/$.types.astn.js +68 -0
- package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.globals.astn.js +9 -0
- package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.module.astn.js +8 -0
- package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/lionweb/$.types.astn.js +41 -0
- package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.globals.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.globals.astn.js +8 -0
- package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.module.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.module.astn.js +11 -0
- package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.types.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas/pareto_documentation/$.types.astn.js +17 -0
- package/dist/temporary_schemas/pareto-targets/schemas.astn.d.ts +3 -0
- package/dist/temporary_schemas/pareto-targets/schemas.astn.js +17 -0
- package/dist/transformations/module/exupery_implementation.d.ts +4 -4
- package/dist/transformations/module/exupery_implementation.js +10 -8
- package/dist/transformations/module/exupery_interface.d.ts +2 -2
- package/dist/transformations/module/exupery_interface.js +36 -37
- package/dist/transformations/module/temp_typescript.d.ts +3 -0
- package/dist/transformations/module/temp_typescript.js +56 -0
- package/dist/transformations/schema/exupery_implementation/main.d.ts +10 -4
- package/dist/transformations/schema/exupery_implementation/main.js +33 -18
- package/dist/transformations/schema/exupery_implementation/marshall.d.ts +9 -9
- package/dist/transformations/schema/exupery_implementation/marshall.js +43 -39
- package/dist/transformations/schema/exupery_implementation/migrate_boilerplate.d.ts +3 -3
- package/dist/transformations/schema/exupery_implementation/resolve.d.ts +20 -20
- package/dist/transformations/schema/exupery_implementation/resolve.js +141 -133
- package/dist/transformations/schema/exupery_implementation/unmarshall.d.ts +15 -0
- package/dist/transformations/schema/exupery_implementation/unmarshall.js +159 -0
- package/dist/transformations/schema/exupery_interface/main.d.ts +4 -2
- package/dist/transformations/schema/exupery_interface/main.js +73 -54
- package/dist/transformations/schema/exupery_interface/marshall.d.ts +2 -2
- package/dist/transformations/schema/exupery_interface/marshall.js +8 -23
- package/dist/transformations/schema/exupery_interface/migrate_boilerplate.d.ts +2 -2
- package/dist/transformations/schema/exupery_interface/migrate_boilerplate.js +7 -3
- package/dist/transformations/schema/exupery_interface/resolve.d.ts +3 -3
- package/dist/transformations/schema/exupery_interface/resolve.js +17 -17
- package/dist/transformations/schema/exupery_interface/types.d.ts +6 -6
- package/dist/transformations/schema/exupery_interface/types.js +61 -60
- package/dist/transformations/schema/exupery_interface/unmarshall.d.ts +2 -2
- package/dist/transformations/schema/exupery_interface/unmarshall.js +12 -5
- package/dist/transformations/schema/exupery_interface/{serializer.d.ts → value_deserializers.d.ts} +2 -2
- package/dist/transformations/schema/exupery_interface/value_deserializers.js +57 -0
- package/dist/transformations/schema/exupery_interface/{migration_boilerplate.d.ts → value_serializers.d.ts} +3 -3
- package/dist/transformations/schema/exupery_interface/value_serializers.js +57 -0
- package/dist/transformations/unmarshall_errors/fountain_pen.d.ts +8 -0
- package/dist/transformations/unmarshall_errors/fountain_pen.js +86 -0
- package/dist/transformations/unmarshall_result/unmarshall_errors.d.ts +1 -2
- package/dist/transformations/unmarshall_result/unmarshall_errors.js +116 -55
- package/dist/uptransformers/unmarshall_result/astn_ast.d.ts +7 -6
- package/dist/uptransformers/unmarshall_result/astn_ast.js +2 -2
- package/package.json +5 -5
- package/dist/generated/generic/resolve.d.ts +0 -90
- package/dist/generated/generic/resolve.js +0 -251
- package/dist/generated/implementation/schemas/module/serializer.d.ts +0 -3
- package/dist/generated/implementation/schemas/schema/serializer.d.ts +0 -35
- package/dist/generated/implementation/schemas/schema/serializer.js +0 -1100
- package/dist/generated/implementation/schemas/unmarshall_errors/serializer.d.ts +0 -5
- package/dist/generated/implementation/schemas/unmarshall_errors/serializer.js +0 -175
- package/dist/generated/interface/generic/resolve.d.ts +0 -11
- package/dist/generated/interface/generic/resolve.js +0 -3
- package/dist/generated/interface/schemas/module/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/module/serializer.d.ts +0 -106
- package/dist/generated/interface/schemas/module/unresolved.d.ts +0 -133
- package/dist/generated/interface/schemas/schema/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/schema/unresolved.d.ts +0 -3754
- package/dist/generated/interface/schemas/unmarshall_errors/migration_boilerplate.js +0 -3
- package/dist/generated/interface/schemas/unmarshall_errors/serializer.d.ts +0 -166
- package/dist/generated/interface/schemas/unmarshall_errors/serializer.js +0 -3
- package/dist/generated/interface/schemas/unmarshall_result/migration_boilerplate.js +0 -7
- package/dist/generated/interface/schemas/unmarshall_result/serializer.js +0 -3
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -5
- package/dist/transformations/module/pareto_implementation.d.ts +0 -4
- package/dist/transformations/module/pareto_implementation.js +0 -42
- package/dist/transformations/module/pareto_interface.d.ts +0 -5
- package/dist/transformations/module/pareto_interface.js +0 -150
- package/dist/transformations/schema/documentation.d.ts +0 -5
- package/dist/transformations/schema/documentation.js +0 -72
- package/dist/transformations/schema/exupery_implementation/migration_boilerplate.d.ts +0 -14
- package/dist/transformations/schema/exupery_implementation/migration_boilerplate.js +0 -113
- package/dist/transformations/schema/exupery_implementation/resolver.d.ts +0 -24
- package/dist/transformations/schema/exupery_implementation/resolver.js +0 -299
- package/dist/transformations/schema/exupery_implementation/serializer.d.ts +0 -14
- package/dist/transformations/schema/exupery_implementation/serializer.js +0 -145
- package/dist/transformations/schema/exupery_interface/migration_boilerplate.js +0 -43
- package/dist/transformations/schema/exupery_interface/resolver.d.ts +0 -12
- package/dist/transformations/schema/exupery_interface/resolver.js +0 -115
- package/dist/transformations/schema/exupery_interface/serializer.js +0 -62
- package/dist/transformations/schema/graphviz.d.ts +0 -8
- package/dist/transformations/schema/graphviz.js +0 -103
- package/dist/transformations/schema/lionweb.d.ts +0 -14
- package/dist/transformations/schema/lionweb.js +0 -226
- package/dist/transformations/schema/pareto_implementation/main.d.ts +0 -4
- package/dist/transformations/schema/pareto_implementation/main.js +0 -63
- package/dist/transformations/schema/pareto_implementation/migration_boilerplate.d.ts +0 -14
- package/dist/transformations/schema/pareto_implementation/migration_boilerplate.js +0 -113
- package/dist/transformations/schema/pareto_implementation/resolver.d.ts +0 -24
- package/dist/transformations/schema/pareto_implementation/resolver.js +0 -299
- package/dist/transformations/schema/pareto_interface/main.d.ts +0 -4
- package/dist/transformations/schema/pareto_interface/main.js +0 -79
- package/dist/transformations/schema/pareto_interface/migration_boilerplate.d.ts +0 -7
- package/dist/transformations/schema/pareto_interface/migration_boilerplate.js +0 -51
- package/dist/transformations/schema/pareto_interface/resolver.d.ts +0 -12
- package/dist/transformations/schema/pareto_interface/resolver.js +0 -115
- package/dist/transformations/schema/pareto_interface/types.d.ts +0 -12
- package/dist/transformations/schema/pareto_interface/types.js +0 -211
- package/dist/transformations/schema/railroad_diagram.d.ts +0 -7
- package/dist/transformations/schema/railroad_diagram.js +0 -79
- package/dist/transformations/unmarshall/collect_errors.d.ts +0 -4
- package/dist/transformations/unmarshall/collect_errors.js +0 -185
- package/dist/transformations/unmarshall/dynamic_post_parse.d.ts +0 -7
- package/dist/transformations/unmarshall/dynamic_post_parse.js +0 -267
- package/dist/transformations/unmarshall/post_parse_types.d.ts +0 -77
- package/dist/transformations/unmarshall/post_parse_types.js +0 -3
- package/dist/unmarshall/collect_errors.d.ts +0 -38
- package/dist/unmarshall/collect_errors.js +0 -185
- package/dist/unmarshall/dynamic_post_parse.d.ts +0 -7
- package/dist/unmarshall/dynamic_post_parse.js +0 -267
- package/dist/unmarshall/post_parse_types.d.ts +0 -77
- package/dist/unmarshall/post_parse_types.js +0 -3
- /package/dist/{generated/implementation/schemas/unmarshall_result/serializer.d.ts → bin/compile.d.ts} +0 -0
- /package/dist/{generated/interface/schemas/unmarshall_result/migration_boilerplate.d.ts → bin/test.d.ts} +0 -0
- /package/dist/generated/{interface/schemas/unmarshall_result/unconstrained.d.ts → implementation/schemas/unmarshall_result/marshall.d.ts} +0 -0
- /package/dist/generated/interface/schemas/{unmarshall_result/serializer.d.ts → module/value_serializers.d.ts} +0 -0
|
@@ -0,0 +1,94 @@
|
|
|
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-dev"));
|
|
30
|
+
const r_pareto_schema = __importStar(require("../resolvers/schema"));
|
|
31
|
+
const u_pareto_schema = __importStar(require("../generated/implementation/schemas/schema/unmarshall"));
|
|
32
|
+
const parse = __importStar(require("astn/dist/parse/parse"));
|
|
33
|
+
const pareto_standard_operations_1 = require("pareto-standard-operations");
|
|
34
|
+
const op = {
|
|
35
|
+
'remove first element': pareto_standard_operations_1.impure.list['remove first element'],
|
|
36
|
+
'remove last element': pareto_standard_operations_1.impure.list['remove last element'],
|
|
37
|
+
};
|
|
38
|
+
// ['resolve error', FIXME resolve errors will now panic!
|
|
39
|
+
const $ = ($) => {
|
|
40
|
+
return _ea.cc(parse.parse($, {
|
|
41
|
+
'tab size': 4,
|
|
42
|
+
}), ($) => {
|
|
43
|
+
switch ($[0]) {
|
|
44
|
+
case 'failure': return _ea.ss($, ($) => {
|
|
45
|
+
return ['parse error', $];
|
|
46
|
+
});
|
|
47
|
+
case 'success': return _ea.ss($, ($) => {
|
|
48
|
+
const resolved_schema_schema = r_pareto_schema.Type_Specification(u_pareto_schema.Type_Specification($.content, {
|
|
49
|
+
'value deserializers': {
|
|
50
|
+
'boolean': ($) => $ === "true",
|
|
51
|
+
'default number': () => 0,
|
|
52
|
+
'custom numbers': null
|
|
53
|
+
}
|
|
54
|
+
}), {
|
|
55
|
+
'location 2 string': ($) => `${$.start.relative.line}:${$.start.relative.column}`,
|
|
56
|
+
'parameters': {
|
|
57
|
+
'lookups': null,
|
|
58
|
+
'values': null,
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
const temp_find_schema = ($, schema_path) => {
|
|
62
|
+
const st = $;
|
|
63
|
+
return op['remove first element'](schema_path).transform(($) => {
|
|
64
|
+
const split = $;
|
|
65
|
+
return _ea.cc(st, ($) => {
|
|
66
|
+
switch ($[0]) {
|
|
67
|
+
case 'schema': return _ea.ss($, ($) => _ea.panic(`the selected tree is a schema, not a set, can't do this step: ${split.element} `));
|
|
68
|
+
case 'set': return _ea.ss($, ($) => $.dictionary.__get_entry(split.element).transform(($) => temp_find_schema($, split.array), () => _ea.panic(`schema not found: ${split.element}`)));
|
|
69
|
+
default: return _ea.au($[0]);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}, () => _ea.cc($, ($) => {
|
|
73
|
+
switch ($[0]) {
|
|
74
|
+
case 'schema': return _ea.ss($, ($) => $);
|
|
75
|
+
case 'set': return _ea.ss($, ($) => _ea.panic("the selected tree is a set, not a schema"));
|
|
76
|
+
default: return _ea.au($[0]);
|
|
77
|
+
}
|
|
78
|
+
}));
|
|
79
|
+
};
|
|
80
|
+
const schema = temp_find_schema(resolved_schema_schema.schema, resolved_schema_schema['schema path']);
|
|
81
|
+
const type = schema.types.dictionary.__get_entry(resolved_schema_schema.type).transform(($) => $, () => {
|
|
82
|
+
schema.types.dictionary.map(($, key) => {
|
|
83
|
+
_ed.log_debug_message(`available type: ${key}`);
|
|
84
|
+
});
|
|
85
|
+
_ea.panic(`root type ${resolved_schema_schema.type} not found`);
|
|
86
|
+
});
|
|
87
|
+
return ['success', type];
|
|
88
|
+
});
|
|
89
|
+
default: return _ea.au($[0]);
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
exports.$ = $;
|
|
94
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LENBQ0osQ0FBQTtnQkFDRCxPQUFPLENBQUMsU0FBUyxFQUFFLElBQUksQ0FBQyxDQUFBO1lBQzVCLENBQUMsQ0FBQyxDQUFBO1lBQ0YsT0FBTyxDQUFDLENBQUMsT0FBTyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFBO1FBQ2hDLENBQUM7SUFDTCxDQUFDLENBQ0osQ0FBQTtBQUNMLENBQUMsQ0FBQTtBQW5GWSxRQUFBLENBQUMsS0FtRmIifQ==
|
|
@@ -0,0 +1,39 @@
|
|
|
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.get_directory_path = exports.get_base_name = void 0;
|
|
27
|
+
const _ea = __importStar(require("exupery-core-alg"));
|
|
28
|
+
const pso = __importStar(require("pareto-standard-operations"));
|
|
29
|
+
const get_base_name = (path) => {
|
|
30
|
+
const temp = _ea.impure.text.split(path, "/");
|
|
31
|
+
return temp.__get_element_at(temp.__get_length() - 1);
|
|
32
|
+
};
|
|
33
|
+
exports.get_base_name = get_base_name;
|
|
34
|
+
const get_directory_path = (path) => {
|
|
35
|
+
const temp = _ea.impure.text.split(path, "/");
|
|
36
|
+
return pso.impure.list['remove last element'](temp).map(($) => $.array);
|
|
37
|
+
};
|
|
38
|
+
exports.get_directory_path = get_directory_path;
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9vdGhlci9wYXRoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsc0RBQXVDO0FBR3ZDLGdFQUFpRDtBQUUxQyxNQUFNLGFBQWEsR0FBRyxDQUFDLElBQVksRUFBOEIsRUFBRTtJQUN0RSxNQUFNLElBQUksR0FBRyxHQUFHLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxFQUFFLEdBQUcsQ0FBQyxDQUFBO0lBRTdDLE9BQU8sSUFBSSxDQUFDLGdCQUFnQixDQUFDLElBQUksQ0FBQyxZQUFZLEVBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQTtBQUN6RCxDQUFDLENBQUE7QUFKWSxRQUFBLGFBQWEsaUJBSXpCO0FBRU0sTUFBTSxrQkFBa0IsR0FBRyxDQUFDLElBQVksRUFBeUMsRUFBRTtJQUN0RixNQUFNLElBQUksR0FBRyxHQUFHLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxFQUFFLEdBQUcsQ0FBQyxDQUFBO0lBRTdDLE9BQU8sR0FBRyxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMscUJBQXFCLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQTtBQUUzRSxDQUFDLENBQUE7QUFMWSxRQUFBLGtCQUFrQixzQkFLOUIifQ==
|
|
@@ -0,0 +1,67 @@
|
|
|
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 wtd = __importStar(require("pareto-fountain-pen/dist/other/write_to_disk"));
|
|
29
|
+
const temp_astn_to_fp = __importStar(require("astn/dist/transformations/target/fountain_pen_block"));
|
|
30
|
+
//data
|
|
31
|
+
const all_1 = require("../temporary_schemas/all");
|
|
32
|
+
//resolvers
|
|
33
|
+
const r_module = __importStar(require("../resolvers/module"));
|
|
34
|
+
//marshall
|
|
35
|
+
const m_module = __importStar(require("../generated/implementation/schemas/module/marshall"));
|
|
36
|
+
const $ = ($, $p) => {
|
|
37
|
+
all_1.$.map(($, key) => {
|
|
38
|
+
const generate_and_write_to_disk = ($, $p) => {
|
|
39
|
+
wtd.File(temp_astn_to_fp.Document(m_module.Module(r_module.Module($, {
|
|
40
|
+
'parameters': {
|
|
41
|
+
'lookups': null,
|
|
42
|
+
'values': null,
|
|
43
|
+
},
|
|
44
|
+
'location 2 string': _ed.location_to_string
|
|
45
|
+
}), {
|
|
46
|
+
'value serializers': {
|
|
47
|
+
'boolean': ($) => $ ? "true" : "false",
|
|
48
|
+
'default number': () => "FIXME NUMBER",
|
|
49
|
+
'custom numbers': null
|
|
50
|
+
}
|
|
51
|
+
}), {
|
|
52
|
+
'style': ['verbose', null]
|
|
53
|
+
}), {
|
|
54
|
+
'directory path': $p.path,
|
|
55
|
+
'filename': `${$p.key}.astn`,
|
|
56
|
+
'indentation': " ",
|
|
57
|
+
'newline': "\n"
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
generate_and_write_to_disk($, {
|
|
61
|
+
'path': $p.path,
|
|
62
|
+
'key': key,
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
exports.$ = $;
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplX3NjaGVtYXMuanMiLCJzb3VyY2VSb290IjoiIiwic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NJLE9BQU8sRUFBRSxDQUFDLFNBQVMsRUFBRSxJQUFJLENBQUM7YUFDN0IsQ0FDSixFQUNEO2dCQUNJLGdCQUFnQixFQUFFLEVBQUUsQ0FBQyxJQUFJO2dCQUN6QixVQUFVLEVBQUUsR0FBRyxFQUFFLENBQUMsR0FBRyxPQUFPO2dCQUM1QixhQUFhLEVBQUUsTUFBTTtnQkFDckIsU0FBUyxFQUFFLElBQUk7YUFDbEIsQ0FDSixDQUFBO1FBRUwsQ0FBQyxDQUFBO1FBQ0QsMEJBQTBCLENBQ3RCLENBQUMsRUFDRDtZQUNJLE1BQU0sRUFBRSxFQUFFLENBQUMsSUFBSTtZQUNmLEtBQUssRUFBRSxHQUFHO1NBQ2IsQ0FDSixDQUFBO0lBQ0wsQ0FBQyxDQUFDLENBQUE7QUFHTixDQUFDLENBQUE7QUExRFksUUFBQSxDQUFDLEtBMERiIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const $: ($: null, $p: {}) => void;
|
|
@@ -0,0 +1,81 @@
|
|
|
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 _er = __importStar(require("exupery-core-resources"));
|
|
30
|
+
const _ed = __importStar(require("exupery-core-dev"));
|
|
31
|
+
//data
|
|
32
|
+
const t_ur_ue = __importStar(require("../transformations/unmarshall_result/unmarshall_errors"));
|
|
33
|
+
const t_ue_fp = __importStar(require("../transformations/unmarshall_errors/fountain_pen"));
|
|
34
|
+
const write_to_console = __importStar(require("./fp_write_to_console"));
|
|
35
|
+
const pareto_standard_operations_1 = require("pareto-standard-operations");
|
|
36
|
+
const load_astn_document_1 = require("./load_astn_document");
|
|
37
|
+
const op = {
|
|
38
|
+
'remove first element': pareto_standard_operations_1.impure.list['remove first element'],
|
|
39
|
+
'remove last element': pareto_standard_operations_1.impure.list['remove last element'],
|
|
40
|
+
};
|
|
41
|
+
const $ = ($, $p) => {
|
|
42
|
+
const instance_path = "./data/test/pareto_modules/pareto-json.astn";
|
|
43
|
+
_ea.cc(_er.temp_resources.fs['read file sync'](instance_path, true), ($) => {
|
|
44
|
+
switch ($[0]) {
|
|
45
|
+
case 'success': return _ea.ss($, ($) => {
|
|
46
|
+
_ea.cc((0, load_astn_document_1.validate_instance_against_directory_schema)(instance_path, $), ($) => {
|
|
47
|
+
switch ($[0]) {
|
|
48
|
+
case 'parse success': return _ea.ss($, ($) => _ea.cc($, ($) => {
|
|
49
|
+
switch ($[0]) {
|
|
50
|
+
case 'no schema file': return _ea.ss($, ($) => {
|
|
51
|
+
_ed.log_debug_message(`No schema file found: ${$}`);
|
|
52
|
+
});
|
|
53
|
+
case 'schema error': return _ea.ss($, ($) => {
|
|
54
|
+
_ed.log_debug_message(`Schema error: ${$}`);
|
|
55
|
+
});
|
|
56
|
+
case 'unmarshalled': return _ea.ss($, ($) => {
|
|
57
|
+
write_to_console.Block(t_ue_fp.Errors(t_ur_ue.Node($), {
|
|
58
|
+
'line offset': 1,
|
|
59
|
+
'column offset': 1,
|
|
60
|
+
}), {
|
|
61
|
+
'indentation': ' ',
|
|
62
|
+
'channel': 'error'
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
default: return _ea.au($[0]);
|
|
66
|
+
}
|
|
67
|
+
}));
|
|
68
|
+
case 'parse error': return _ea.ss($, ($) => {
|
|
69
|
+
_ed.log_debug_message(`Instance parse error: ${$.type[0]}`);
|
|
70
|
+
});
|
|
71
|
+
default: return _ea.au($[0]);
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
case 'error': return _ea.ss($, ($) => _ea.panic(`could not read file: ${instance_path}`));
|
|
76
|
+
default: return _ea.au($[0]);
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
exports.$ = $;
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9vdGhlci90ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsTUFBTTtBQUNOLHNEQUF1QztBQUV2Qyw0REFBNkM7QUFFN0Msc0RBQXVDO0FBRXZDLE1BQU07QUFDTixnR0FBaUY7QUFDakYsMkZBQTRFO0FBRTVFLHdFQUF5RDtBQUl6RCwyRUFBbUQ7QUFDbkQsNkRBQWlGO0FBRWpGLE1BQ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xPQUFPLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUU7NEJBQ3ZDLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQyx5QkFBeUIsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUE7d0JBQy9ELENBQUMsQ0FBQyxDQUFBO3dCQUNGLE9BQU8sQ0FBQyxDQUFDLE9BQU8sR0FBRyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtvQkFDaEMsQ0FBQztnQkFDTCxDQUFDLENBQUMsQ0FBQTtZQUNWLENBQUMsQ0FBQyxDQUFBO1lBQ0YsS0FBSyxPQUFPLENBQUMsQ0FBQyxPQUFPLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxHQUFHLENBQUMsS0FBSyxDQUFDLHdCQUF3QixhQUFhLEVBQUUsQ0FBQyxDQUFDLENBQUE7WUFDekYsT0FBTyxDQUFDLENBQUMsT0FBTyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFBO1FBRWhDLENBQUM7SUFDTCxDQUFDLENBQUMsQ0FBQTtBQUdWLENBQUMsQ0FBQTtBQW5FWSxRQUFBLENBQUMsS0FtRWIifQ==
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as pt from 'exupery-core-types';
|
|
2
|
+
import * as definition from "../generated/interface/schemas/schema/data_types/resolved";
|
|
3
|
+
import * as _in from "astn/dist/generated/interface/schemas/ast/unconstrained";
|
|
4
|
+
import * as _out from "../temp_unmashall_result_types";
|
|
5
|
+
export declare const Optional_Node: ($: pt.Optional_Value<_in.Value>, $p: {
|
|
6
|
+
"definition": definition.Type_Node;
|
|
7
|
+
"document path": string;
|
|
8
|
+
}) => _out.Node;
|
|
9
|
+
export declare const Node: ($: _in.Value, $p: {
|
|
10
|
+
"definition": definition.Type_Node;
|
|
11
|
+
"document path": string;
|
|
12
|
+
}) => _out.Node;
|