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,153 @@
|
|
|
1
|
+
import * as _i_in from "../../core/astn_source";
|
|
2
|
+
import * as _i_out from "./data_types/unconstrained";
|
|
3
|
+
import * as _i_vd from "./value_deserializers";
|
|
4
|
+
export type _T_Document_Range = ($$_: _i_in._T_Value, $$_p: {
|
|
5
|
+
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
6
|
+
}) => _i_out._T_Document_Range;
|
|
7
|
+
export type _T_Errors = ($$_: _i_in._T_Value, $$_p: {
|
|
8
|
+
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
9
|
+
}) => _i_out._T_Errors;
|
|
10
|
+
export type _T_Location = ($$_: _i_in._T_Value, $$_p: {
|
|
11
|
+
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
12
|
+
}) => _i_out._T_Location;
|
|
13
|
+
export type _T_Range = ($$_: _i_in._T_Value, $$_p: {
|
|
14
|
+
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
15
|
+
}) => _i_out._T_Range;
|
|
16
|
+
export type _T_Relative_Location = ($$_: _i_in._T_Value, $$_p: {
|
|
17
|
+
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
18
|
+
}) => _i_out._T_Relative_Location;
|
|
19
|
+
export type Document_Range = _T_Document_Range;
|
|
20
|
+
export type Errors = _T_Errors;
|
|
21
|
+
export type Location = _T_Location;
|
|
22
|
+
export type Range = _T_Range;
|
|
23
|
+
export type Relative_Location = _T_Relative_Location;
|
|
24
|
+
export declare namespace _T_Document_Range {
|
|
25
|
+
namespace CONTEXT {
|
|
26
|
+
}
|
|
27
|
+
type CONTEXT = _i_in._T_Value;
|
|
28
|
+
namespace PARAMS {
|
|
29
|
+
namespace value_deserializers {
|
|
30
|
+
}
|
|
31
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
32
|
+
}
|
|
33
|
+
namespace RESULT {
|
|
34
|
+
}
|
|
35
|
+
type RESULT = _i_out._T_Document_Range;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace _T_Errors {
|
|
38
|
+
namespace CONTEXT {
|
|
39
|
+
}
|
|
40
|
+
type CONTEXT = _i_in._T_Value;
|
|
41
|
+
namespace PARAMS {
|
|
42
|
+
namespace value_deserializers {
|
|
43
|
+
}
|
|
44
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
45
|
+
}
|
|
46
|
+
namespace RESULT {
|
|
47
|
+
}
|
|
48
|
+
type RESULT = _i_out._T_Errors;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace _T_Location {
|
|
51
|
+
namespace CONTEXT {
|
|
52
|
+
}
|
|
53
|
+
type CONTEXT = _i_in._T_Value;
|
|
54
|
+
namespace PARAMS {
|
|
55
|
+
namespace value_deserializers {
|
|
56
|
+
}
|
|
57
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
58
|
+
}
|
|
59
|
+
namespace RESULT {
|
|
60
|
+
}
|
|
61
|
+
type RESULT = _i_out._T_Location;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace _T_Range {
|
|
64
|
+
namespace CONTEXT {
|
|
65
|
+
}
|
|
66
|
+
type CONTEXT = _i_in._T_Value;
|
|
67
|
+
namespace PARAMS {
|
|
68
|
+
namespace value_deserializers {
|
|
69
|
+
}
|
|
70
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
71
|
+
}
|
|
72
|
+
namespace RESULT {
|
|
73
|
+
}
|
|
74
|
+
type RESULT = _i_out._T_Range;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace _T_Relative_Location {
|
|
77
|
+
namespace CONTEXT {
|
|
78
|
+
}
|
|
79
|
+
type CONTEXT = _i_in._T_Value;
|
|
80
|
+
namespace PARAMS {
|
|
81
|
+
namespace value_deserializers {
|
|
82
|
+
}
|
|
83
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
84
|
+
}
|
|
85
|
+
namespace RESULT {
|
|
86
|
+
}
|
|
87
|
+
type RESULT = _i_out._T_Relative_Location;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace Document_Range {
|
|
90
|
+
namespace CONTEXT {
|
|
91
|
+
}
|
|
92
|
+
type CONTEXT = _i_in._T_Value;
|
|
93
|
+
namespace PARAMS {
|
|
94
|
+
namespace value_deserializers {
|
|
95
|
+
}
|
|
96
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
97
|
+
}
|
|
98
|
+
namespace RESULT {
|
|
99
|
+
}
|
|
100
|
+
type RESULT = _i_out._T_Document_Range;
|
|
101
|
+
}
|
|
102
|
+
export declare namespace Errors {
|
|
103
|
+
namespace CONTEXT {
|
|
104
|
+
}
|
|
105
|
+
type CONTEXT = _i_in._T_Value;
|
|
106
|
+
namespace PARAMS {
|
|
107
|
+
namespace value_deserializers {
|
|
108
|
+
}
|
|
109
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
110
|
+
}
|
|
111
|
+
namespace RESULT {
|
|
112
|
+
}
|
|
113
|
+
type RESULT = _i_out._T_Errors;
|
|
114
|
+
}
|
|
115
|
+
export declare namespace Location {
|
|
116
|
+
namespace CONTEXT {
|
|
117
|
+
}
|
|
118
|
+
type CONTEXT = _i_in._T_Value;
|
|
119
|
+
namespace PARAMS {
|
|
120
|
+
namespace value_deserializers {
|
|
121
|
+
}
|
|
122
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
123
|
+
}
|
|
124
|
+
namespace RESULT {
|
|
125
|
+
}
|
|
126
|
+
type RESULT = _i_out._T_Location;
|
|
127
|
+
}
|
|
128
|
+
export declare namespace Range {
|
|
129
|
+
namespace CONTEXT {
|
|
130
|
+
}
|
|
131
|
+
type CONTEXT = _i_in._T_Value;
|
|
132
|
+
namespace PARAMS {
|
|
133
|
+
namespace value_deserializers {
|
|
134
|
+
}
|
|
135
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
136
|
+
}
|
|
137
|
+
namespace RESULT {
|
|
138
|
+
}
|
|
139
|
+
type RESULT = _i_out._T_Range;
|
|
140
|
+
}
|
|
141
|
+
export declare namespace Relative_Location {
|
|
142
|
+
namespace CONTEXT {
|
|
143
|
+
}
|
|
144
|
+
type CONTEXT = _i_in._T_Value;
|
|
145
|
+
namespace PARAMS {
|
|
146
|
+
namespace value_deserializers {
|
|
147
|
+
}
|
|
148
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
149
|
+
}
|
|
150
|
+
namespace RESULT {
|
|
151
|
+
}
|
|
152
|
+
type RESULT = _i_out._T_Relative_Location;
|
|
153
|
+
}
|
package/dist/generated/interface/schemas/{schema/serializer.js → unmarshall_errors/unmarshall.js}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5tYXJzaGFsbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdW5tYXJzaGFsbF9lcnJvcnMvdW5tYXJzaGFsbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type _T_Value_Deserializers = {
|
|
2
|
+
readonly 'boolean': ($$_: string, $$_p: null) => boolean;
|
|
3
|
+
readonly 'custom numbers': null;
|
|
4
|
+
readonly 'default number': ($$_: string, $$_p: null) => number;
|
|
5
|
+
};
|
|
6
|
+
export type Value_Deserializers = _T_Value_Deserializers;
|
|
7
|
+
export declare namespace _T_Value_Deserializers {
|
|
8
|
+
namespace _boolean {
|
|
9
|
+
type CONTEXT = string;
|
|
10
|
+
namespace PARAMS {
|
|
11
|
+
}
|
|
12
|
+
type RESULT = boolean;
|
|
13
|
+
}
|
|
14
|
+
type _boolean = ($$_: string, $$_p: null) => boolean;
|
|
15
|
+
namespace custom_numbers {
|
|
16
|
+
}
|
|
17
|
+
type custom_numbers = null;
|
|
18
|
+
namespace default_number {
|
|
19
|
+
type CONTEXT = string;
|
|
20
|
+
namespace PARAMS {
|
|
21
|
+
}
|
|
22
|
+
type RESULT = number;
|
|
23
|
+
}
|
|
24
|
+
type default_number = ($$_: string, $$_p: null) => number;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace Value_Deserializers {
|
|
27
|
+
namespace _boolean {
|
|
28
|
+
type CONTEXT = string;
|
|
29
|
+
namespace PARAMS {
|
|
30
|
+
}
|
|
31
|
+
type RESULT = boolean;
|
|
32
|
+
}
|
|
33
|
+
type _boolean = ($$_: string, $$_p: null) => boolean;
|
|
34
|
+
namespace custom_numbers {
|
|
35
|
+
}
|
|
36
|
+
type custom_numbers = null;
|
|
37
|
+
namespace default_number {
|
|
38
|
+
type CONTEXT = string;
|
|
39
|
+
namespace PARAMS {
|
|
40
|
+
}
|
|
41
|
+
type RESULT = number;
|
|
42
|
+
}
|
|
43
|
+
type default_number = ($$_: string, $$_p: null) => number;
|
|
44
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWVfZGVzZXJpYWxpemVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdW5tYXJzaGFsbF9lcnJvcnMvdmFsdWVfZGVzZXJpYWxpemVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type _T_Value_Serializers = {
|
|
2
|
+
readonly 'boolean': ($$_: boolean, $$_p: null) => string;
|
|
3
|
+
readonly 'custom numbers': null;
|
|
4
|
+
readonly 'default number': ($$_: number, $$_p: null) => string;
|
|
5
|
+
};
|
|
6
|
+
export type Value_Serializers = _T_Value_Serializers;
|
|
7
|
+
export declare namespace _T_Value_Serializers {
|
|
8
|
+
namespace _boolean {
|
|
9
|
+
type CONTEXT = boolean;
|
|
10
|
+
namespace PARAMS {
|
|
11
|
+
}
|
|
12
|
+
type RESULT = string;
|
|
13
|
+
}
|
|
14
|
+
type _boolean = ($$_: boolean, $$_p: null) => string;
|
|
15
|
+
namespace custom_numbers {
|
|
16
|
+
}
|
|
17
|
+
type custom_numbers = null;
|
|
18
|
+
namespace default_number {
|
|
19
|
+
type CONTEXT = number;
|
|
20
|
+
namespace PARAMS {
|
|
21
|
+
}
|
|
22
|
+
type RESULT = string;
|
|
23
|
+
}
|
|
24
|
+
type default_number = ($$_: number, $$_p: null) => string;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace Value_Serializers {
|
|
27
|
+
namespace _boolean {
|
|
28
|
+
type CONTEXT = boolean;
|
|
29
|
+
namespace PARAMS {
|
|
30
|
+
}
|
|
31
|
+
type RESULT = string;
|
|
32
|
+
}
|
|
33
|
+
type _boolean = ($$_: boolean, $$_p: null) => string;
|
|
34
|
+
namespace custom_numbers {
|
|
35
|
+
}
|
|
36
|
+
type custom_numbers = null;
|
|
37
|
+
namespace default_number {
|
|
38
|
+
type CONTEXT = number;
|
|
39
|
+
namespace PARAMS {
|
|
40
|
+
}
|
|
41
|
+
type RESULT = string;
|
|
42
|
+
}
|
|
43
|
+
type default_number = ($$_: number, $$_p: null) => string;
|
|
44
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWVfc2VyaWFsaXplcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3VubWFyc2hhbGxfZXJyb3JzL3ZhbHVlX3NlcmlhbGl6ZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
// **** FRIENDLY NAMES FOR THE GLOBAL TYPES
|
|
5
5
|
// **** ALIASES FOR NESTED TYPE WITH PREFIXED ROOT NAMES
|
|
6
6
|
// *** ALIASES FOR NESTED TYPES
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5jb25zdHJhaW5lZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdW5tYXJzaGFsbF9yZXN1bHQvZGF0YV90eXBlcy91bmNvbnN0cmFpbmVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBSUEsYUFBYTtBQUViLDJDQUEyQztBQUUzQyx3REFBd0Q7QUFFeEQsK0JBQStCIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
// **** TYPES
|
|
4
|
+
// **** FRIENDLY NAMES FOR THE GLOBAL TYPES
|
|
5
|
+
// **** ALIASES FOR NESTED TYPE WITH PREFIXED ROOT NAMES
|
|
6
|
+
// *** ALIASES FOR NESTED TYPES
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFyc2hhbGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3VubWFyc2hhbGxfcmVzdWx0L21hcnNoYWxsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBTUEsYUFBYTtBQUViLDJDQUEyQztBQUUzQyx3REFBd0Q7QUFFeEQsK0JBQStCIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
// **** TYPES
|
|
4
|
+
// **** FRIENDLY NAMES FOR THE GLOBAL TYPES
|
|
5
|
+
// **** ALIASES FOR NESTED TYPE WITH PREFIXED ROOT NAMES
|
|
6
|
+
// *** ALIASES FOR NESTED TYPES
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0ZV9ib2lsZXJwbGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdW5tYXJzaGFsbF9yZXN1bHQvbWlncmF0ZV9ib2lsZXJwbGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUtBLGFBQWE7QUFFYiwyQ0FBMkM7QUFFM0Msd0RBQXdEO0FBRXhELCtCQUErQiJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
// **** TYPES
|
|
4
|
+
// **** FRIENDLY NAMES FOR THE GLOBAL TYPES
|
|
5
|
+
// **** ALIASES FOR NESTED TYPE WITH PREFIXED ROOT NAMES
|
|
6
|
+
// *** ALIASES FOR NESTED TYPES
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5tYXJzaGFsbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdW5tYXJzaGFsbF9yZXN1bHQvdW5tYXJzaGFsbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQU1BLGFBQWE7QUFFYiwyQ0FBMkM7QUFFM0Msd0RBQXdEO0FBRXhELCtCQUErQiJ9
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type _T_Value_Deserializers = {
|
|
2
|
+
readonly 'boolean': ($$_: string, $$_p: null) => boolean;
|
|
3
|
+
readonly 'custom numbers': null;
|
|
4
|
+
readonly 'default number': ($$_: string, $$_p: null) => number;
|
|
5
|
+
};
|
|
6
|
+
export type Value_Deserializers = _T_Value_Deserializers;
|
|
7
|
+
export declare namespace _T_Value_Deserializers {
|
|
8
|
+
namespace _boolean {
|
|
9
|
+
type CONTEXT = string;
|
|
10
|
+
namespace PARAMS {
|
|
11
|
+
}
|
|
12
|
+
type RESULT = boolean;
|
|
13
|
+
}
|
|
14
|
+
type _boolean = ($$_: string, $$_p: null) => boolean;
|
|
15
|
+
namespace custom_numbers {
|
|
16
|
+
}
|
|
17
|
+
type custom_numbers = null;
|
|
18
|
+
namespace default_number {
|
|
19
|
+
type CONTEXT = string;
|
|
20
|
+
namespace PARAMS {
|
|
21
|
+
}
|
|
22
|
+
type RESULT = number;
|
|
23
|
+
}
|
|
24
|
+
type default_number = ($$_: string, $$_p: null) => number;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace Value_Deserializers {
|
|
27
|
+
namespace _boolean {
|
|
28
|
+
type CONTEXT = string;
|
|
29
|
+
namespace PARAMS {
|
|
30
|
+
}
|
|
31
|
+
type RESULT = boolean;
|
|
32
|
+
}
|
|
33
|
+
type _boolean = ($$_: string, $$_p: null) => boolean;
|
|
34
|
+
namespace custom_numbers {
|
|
35
|
+
}
|
|
36
|
+
type custom_numbers = null;
|
|
37
|
+
namespace default_number {
|
|
38
|
+
type CONTEXT = string;
|
|
39
|
+
namespace PARAMS {
|
|
40
|
+
}
|
|
41
|
+
type RESULT = number;
|
|
42
|
+
}
|
|
43
|
+
type default_number = ($$_: string, $$_p: null) => number;
|
|
44
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWVfZGVzZXJpYWxpemVycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdW5tYXJzaGFsbF9yZXN1bHQvdmFsdWVfZGVzZXJpYWxpemVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type _T_Value_Serializers = {
|
|
2
|
+
readonly 'boolean': ($$_: boolean, $$_p: null) => string;
|
|
3
|
+
readonly 'custom numbers': null;
|
|
4
|
+
readonly 'default number': ($$_: number, $$_p: null) => string;
|
|
5
|
+
};
|
|
6
|
+
export type Value_Serializers = _T_Value_Serializers;
|
|
7
|
+
export declare namespace _T_Value_Serializers {
|
|
8
|
+
namespace _boolean {
|
|
9
|
+
type CONTEXT = boolean;
|
|
10
|
+
namespace PARAMS {
|
|
11
|
+
}
|
|
12
|
+
type RESULT = string;
|
|
13
|
+
}
|
|
14
|
+
type _boolean = ($$_: boolean, $$_p: null) => string;
|
|
15
|
+
namespace custom_numbers {
|
|
16
|
+
}
|
|
17
|
+
type custom_numbers = null;
|
|
18
|
+
namespace default_number {
|
|
19
|
+
type CONTEXT = number;
|
|
20
|
+
namespace PARAMS {
|
|
21
|
+
}
|
|
22
|
+
type RESULT = string;
|
|
23
|
+
}
|
|
24
|
+
type default_number = ($$_: number, $$_p: null) => string;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace Value_Serializers {
|
|
27
|
+
namespace _boolean {
|
|
28
|
+
type CONTEXT = boolean;
|
|
29
|
+
namespace PARAMS {
|
|
30
|
+
}
|
|
31
|
+
type RESULT = string;
|
|
32
|
+
}
|
|
33
|
+
type _boolean = ($$_: boolean, $$_p: null) => string;
|
|
34
|
+
namespace custom_numbers {
|
|
35
|
+
}
|
|
36
|
+
type custom_numbers = null;
|
|
37
|
+
namespace default_number {
|
|
38
|
+
type CONTEXT = number;
|
|
39
|
+
namespace PARAMS {
|
|
40
|
+
}
|
|
41
|
+
type RESULT = string;
|
|
42
|
+
}
|
|
43
|
+
type default_number = ($$_: number, $$_p: null) => string;
|
|
44
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWVfc2VyaWFsaXplcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3VubWFyc2hhbGxfcmVzdWx0L3ZhbHVlX3NlcmlhbGl6ZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -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
|
+
//core
|
|
28
|
+
const _ea = __importStar(require("exupery-core-alg"));
|
|
29
|
+
const _er = __importStar(require("exupery-core-resources"));
|
|
30
|
+
const _ed = __importStar(require("exupery-core-data"));
|
|
31
|
+
//data
|
|
32
|
+
const all_1 = require("../temporary_schemas/all");
|
|
33
|
+
const r_pareto_module = __importStar(require("../resolvers/module"));
|
|
34
|
+
const t_pareto_module_to_fountain_pen_block = __importStar(require("../transformations/module/temp_typescript"));
|
|
35
|
+
const wtd = __importStar(require("pareto-fountain-pen/dist/other/write_to_disk"));
|
|
36
|
+
const $ = ($, $p) => {
|
|
37
|
+
all_1.$.map(($, key) => {
|
|
38
|
+
const module_path = `${$p.path}/${key}`;
|
|
39
|
+
wtd.Directory(t_pareto_module_to_fountain_pen_block.Module(r_pareto_module.Module($, {
|
|
40
|
+
'parameters': {
|
|
41
|
+
'lookups': null,
|
|
42
|
+
'values': null,
|
|
43
|
+
},
|
|
44
|
+
'location 2 string': _ed.location_to_string
|
|
45
|
+
})), {
|
|
46
|
+
'path': module_path,
|
|
47
|
+
'indentation': " ",
|
|
48
|
+
'newline': "\n"
|
|
49
|
+
});
|
|
50
|
+
const read_file_sync = (path) => {
|
|
51
|
+
return _ea.cc(_er.temp_resources.fs['read file sync'](path, true), ($) => {
|
|
52
|
+
switch ($[0]) {
|
|
53
|
+
case 'success': return _ea.ss($, ($) => $);
|
|
54
|
+
case 'error': return _ea.ss($, ($) => _ea.panic(`could not read file: ${path}`));
|
|
55
|
+
default: return _ea.au($[0]);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
_er.temp_resources.fs['write file sync'](module_path + "/implementation/generic/resolve.ts", read_file_sync("./src/generated/implementation/generic/resolve.ts"), true);
|
|
60
|
+
_er.temp_resources.fs['write file sync'](module_path + "/implementation/generic/unmarshall.ts", read_file_sync("./src/generated/implementation/generic/unmarshall.ts"), true);
|
|
61
|
+
_er.temp_resources.fs['write file sync'](module_path + "/interface/core/resolve.ts", read_file_sync("./src/generated/interface/core/resolve.ts"), true);
|
|
62
|
+
_er.temp_resources.fs['write file sync'](module_path + "/interface/core/astn_target.ts", read_file_sync("./src/generated/interface/core/astn_target.ts"), true);
|
|
63
|
+
_er.temp_resources.fs['write file sync'](module_path + "/interface/core/astn_source.ts", read_file_sync("./src/generated/interface/core/astn_source.ts"), true);
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
exports.$ = $;
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsZV9hc3RuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL290aGVyL2NvbXBpbGVfYXN0bi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLE1BQU07QUFDTixzREFBdUM7QUFDdkMsNERBQTZDO0FBQzdDLHVEQUF3QztBQUV4QyxNQUFNO0FBQ04sa0RBQWdFO0FBRWhFLHFFQUFzRDtBQUV0RCxpSEFBa0c7QUFFbEcsa0ZBQW1FO0FBRTVELE1BQU0sQ0FBQyxHQUtGLENBQUMsQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFFO0lBRWxCLE9BQWdCLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLEdBQUcsRUFBRSxFQUFFO1FBQzVCLE1BQU0sV0FBVyxHQUFHLEdBQUcsRUFBRSxDQUFDLElBQUksSUFBSSxHQUFHLEVBQUUsQ0FBQTtRQUN2QyxHQUFHLENBQUMsU0FBUyxDQUNULHFDQUFxQyxDQUFDLE1BQU0sQ0FDeEMsZUFBZSxDQUFDLE1BQU0sQ0FDbEIsQ0FBQyxFQUNEO1lBQ0ksWUFBWSxFQUFFO2dCQUNWLFNBQVMsRUFBRSxJQUFJO2dCQUNmLFFBQVEsRUFBRSxJQUFJO2FBQ2pCO1lBQ0QsbUJBQW1CLEVBQUUsR0FBRyxDQUFDLGtCQUFrQjtTQUM5QyxDQUNKLENBQ0osRUFDRDtZQUNJLE1BQU0sRUFBRSxXQUFXO1lBQ25CLGFBQWEsRUFBRSxNQUFNO1lBQ3JCLFNBQVMsRUFBRSxJQUFJO1NBQ2xCLENBQ0osQ0FBQTtRQUVELE1BQU0sY0FBYyxHQUFHLENBQUMsSUFBWSxFQUFVLEVBQUU7WUFDNUMsT0FBTyxHQUFHLENBQUMsRUFBRSxDQUFFLEdBQUcsQ0FBQyxjQUFjLENBQUMsRUFBRSxDQUFDLGdCQUFnQixDQUFDLENBQUUsSUFBSSxFQUFFLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUU7Z0JBQ3ZFLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUM7b0JBQ1gsS0FBSyxTQUFTLENBQUMsQ0FBQyxPQUFPLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQTtvQkFDMUMsS0FBSyxPQUFPLENBQUMsQ0FBQyxPQUFPLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxHQUFHLENBQUMsS0FBSyxDQUFDLHdCQUF3QixJQUFJLEVBQUUsQ0FBQyxDQUFDLENBQUE7b0JBQ2hGLE9BQU8sQ0FBQyxDQUFDLE9BQU8sR0FBRyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtnQkFDaEMsQ0FBQztZQUNMLENBQUMsQ0FBQyxDQUFBO1FBQ04sQ0FBQyxDQUFBO1FBRUQsR0FBRyxDQUFDLGNBQWMsQ0FBQyxFQUFFLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxXQUFXLEdBQUcsb0NBQW9DLEVBQUUsY0FBYyxDQUFDLG1EQUFtRCxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUE7UUFDdkssR0FBRyxDQUFDLGNBQWMsQ0FBQyxFQUFFLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxXQUFXLEdBQUcsdUNBQXVDLEVBQUUsY0FBYyxDQUFDLHNEQUFzRCxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUE7UUFDN0ssR0FBRyxDQUFDLGNBQWMsQ0FBQyxFQUFFLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxXQUFXLEdBQUcsNEJBQTRCLEVBQUUsY0FBYyxDQUFDLDJDQUEyQyxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUE7UUFDdkosR0FBRyxDQUFDLGNBQWMsQ0FBQyxFQUFFLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxXQUFXLEdBQUcsZ0NBQWdDLEVBQUUsY0FBYyxDQUFDLCtDQUErQyxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUE7UUFDL0osR0FBRyxDQUFDLGNBQWMsQ0FBQyxFQUFFLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxXQUFXLEdBQUcsZ0NBQWdDLEVBQUUsY0FBYyxDQUFDLCtDQUErQyxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUE7SUFDbkssQ0FBQyxDQUFDLENBQUE7QUFDTixDQUFDLENBQUE7QUE3Q1ksUUFBQSxDQUFDLEtBNkNiIn0=
|
|
@@ -0,0 +1,38 @@
|
|
|
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.Block = void 0;
|
|
27
|
+
const _er = __importStar(require("exupery-core-resources"));
|
|
28
|
+
const t_block_to_lines = __importStar(require("pareto-fountain-pen/dist/transformations/block/lines"));
|
|
29
|
+
const Block = ($, $p) => {
|
|
30
|
+
const channel = $p.channel === 'log' ? _er.temp_resources.console.log : _er.temp_resources.console.error;
|
|
31
|
+
t_block_to_lines.Block($, {
|
|
32
|
+
'indentation': $p.indentation
|
|
33
|
+
}).__for_each(($) => {
|
|
34
|
+
channel($);
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
exports.Block = Block;
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnBfd3JpdGVfdG9fY29uc29sZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9vdGhlci9mcF93cml0ZV90b19jb25zb2xlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsNERBQTZDO0FBSTdDLHVHQUF3RjtBQUVqRixNQUFNLEtBQUssR0FBRyxDQUNqQixDQUFZLEVBQ1osRUFHQyxFQUNHLEVBQUU7SUFDTixNQUFNLE9BQU8sR0FBRyxFQUFFLENBQUMsT0FBTyxLQUFLLEtBQUssQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLGNBQWMsQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsY0FBYyxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUE7SUFDeEcsZ0JBQWdCLENBQUMsS0FBSyxDQUNsQixDQUFDLEVBQ0Q7UUFDSSxhQUFhLEVBQUUsRUFBRSxDQUFDLFdBQVc7S0FDaEMsQ0FDSixDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUMsRUFBRSxFQUFFO1FBQ2YsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFBO0lBQ2QsQ0FBQyxDQUFDLENBQUE7QUFDTixDQUFDLENBQUE7QUFoQlksUUFBQSxLQUFLLFNBZ0JqQiJ9
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as d_parse_result from "astn/dist/generated/interface/schemas/parse_result/unconstrained";
|
|
2
|
+
import * as _out from "../temp_unmashall_result_types";
|
|
3
|
+
export type Parse_Success = ['no schema file', null] | [
|
|
4
|
+
'schema error',
|
|
5
|
+
{
|
|
6
|
+
'file location': string;
|
|
7
|
+
}
|
|
8
|
+
] | ['unmarshalled', _out.Node];
|
|
9
|
+
export type Validation_Result = ['parse error', d_parse_result.Parse_Error] | ['parse success', Parse_Success];
|
|
10
|
+
export declare const $: (schema_path: string, instance_path: string, instance_data: string) => Validation_Result;
|
|
11
|
+
export declare const validate_instance_against_directory_schema: (instance_path: string, instance_data: string) => Validation_Result;
|
|
@@ -0,0 +1,84 @@
|
|
|
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.validate_instance_against_directory_schema = exports.$ = void 0;
|
|
27
|
+
//core
|
|
28
|
+
const _ea = __importStar(require("exupery-core-alg"));
|
|
29
|
+
const _er = __importStar(require("exupery-core-resources"));
|
|
30
|
+
const pso = __importStar(require("pareto-standard-operations"));
|
|
31
|
+
const tu_dynamic_unmarshall = __importStar(require("./unmarshall_astn_ast"));
|
|
32
|
+
const parse = __importStar(require("astn/dist/parse/parse"));
|
|
33
|
+
const path_1 = require("./path");
|
|
34
|
+
const load_schema_1 = require("./load_schema");
|
|
35
|
+
const $ = (schema_path, //the file path
|
|
36
|
+
instance_path, instance_data) => {
|
|
37
|
+
return _ea.cc(parse.parse(instance_data, {
|
|
38
|
+
'tab size': 4,
|
|
39
|
+
}), ($) => {
|
|
40
|
+
switch ($[0]) {
|
|
41
|
+
case 'failure': return _ea.ss($, ($) => {
|
|
42
|
+
return ['parse error', $];
|
|
43
|
+
});
|
|
44
|
+
case 'success': return _ea.ss($, ($) => {
|
|
45
|
+
//the instance was parsed successfully
|
|
46
|
+
const content = $.content;
|
|
47
|
+
//now first, get the schema
|
|
48
|
+
return ['parse success', _ea.cc(_er.temp_resources.fs['read file sync'](schema_path, true), ($) => {
|
|
49
|
+
switch ($[0]) {
|
|
50
|
+
case 'success': return _ea.ss($, ($) => _ea.cc((0, load_schema_1.$)($), ($) => {
|
|
51
|
+
switch ($[0]) {
|
|
52
|
+
case 'parse error': return _ea.ss($, ($) => ['schema error', {
|
|
53
|
+
// 'message': $.,
|
|
54
|
+
'file location': schema_path,
|
|
55
|
+
}]);
|
|
56
|
+
case 'file not found': return _ea.ss($, ($) => ['no schema file', null]);
|
|
57
|
+
case 'success': return _ea.ss($, ($) => {
|
|
58
|
+
//the schema was loaded successfully
|
|
59
|
+
const type = $;
|
|
60
|
+
return ['unmarshalled', tu_dynamic_unmarshall.Node(content, {
|
|
61
|
+
'definition': type.node,
|
|
62
|
+
'document path': instance_path,
|
|
63
|
+
})];
|
|
64
|
+
});
|
|
65
|
+
default: return _ea.au($[0]);
|
|
66
|
+
}
|
|
67
|
+
}));
|
|
68
|
+
case 'error': return _ea.ss($, ($) => ['no schema file', null]);
|
|
69
|
+
default: return _ea.au($[0]);
|
|
70
|
+
}
|
|
71
|
+
})];
|
|
72
|
+
});
|
|
73
|
+
default: return _ea.au($[0]);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
exports.$ = $;
|
|
78
|
+
const validate_instance_against_directory_schema = (instance_path, instance_data) => {
|
|
79
|
+
return (0, exports.$)(pso.impure.text['join list of texts with separator']((0, path_1.get_directory_path)(instance_path).transform(($) => $, () => _ea.panic("could not get directory path")), {
|
|
80
|
+
'separator': "/",
|
|
81
|
+
}) + "/astn-schema", instance_path, instance_data);
|
|
82
|
+
};
|
|
83
|
+
exports.validate_instance_against_directory_schema = validate_instance_against_directory_schema;
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZF9hc3RuX2RvY3VtZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL290aGVyL2xvYWRfYXN0bl9kb2N1bWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLE1BQU07QUFDTixzREFBdUM7QUFFdkMsNERBQTZDO0FBSTdDLGdFQUFpRDtBQVdqRCw2RUFBOEQ7QUFFOUQsNkRBQThDO0FBSzlDLGlDQUEyQztBQUUzQywrQ0FBZ0Q7QUFlekMsTUFBTSxDQUFDLEdBQUcsQ0FDYixXQUFtQixFQUFFLGVBQWU7QUFDcEMsYUFBcUIsRUFDckIsYUFBcUIsRUFDSixFQUFFO0lBRW5CLE9BQU8sR0FBRyxDQUFDLEVBQUUsQ0FDVCxLQUFLLENBQUMsS0FBSyxDQUNQLGFBQWEsRUFDYjtRQUNJLFVBQVUsRUFBRSxDQUFDO0tBQ2hCLENBQ0osRUFDRCxDQUFDLENBQUMsRUFBRSxFQUFFO1FBQ0YsUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQztZQUNYLEtBQUssU0FBUyxDQUFDLENBQUMsT0FBTyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFO2dCQUNuQyxPQUFPLENBQUMsYUFBYSxFQUFFLENBQUMsQ0FBQyxDQUFBO1lBQzdCLENBQUMsQ0FBQyxDQUFBO1lBQ0YsS0FBSyxTQUFTLENBQUMsQ0FBQyxPQUFPLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFxQixFQUFFO2dCQUN0RCxzQ0FBc0M7Z0JBRXRDLE1BQU0sT0FBTyxHQUFHLENBQUMsQ0FBQyxPQUFPLENBQUE7Z0JBRXpCLDJCQUEyQjtnQkFHM0IsT0FBTyxDQUFDLGVBQWUsRUFBRSxHQUFHLENBQUMsRUFBRSxDQUMzQixHQUFHLENBQUMsY0FBYyxDQUFDLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDLFdBQVcsRUFBRSxJQUFJLENBQUMsRUFDMUQsQ0FBQyxDQUFDLEVBQWlCLEVBQUU7d0JBQ2pCLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUM7NEJBQ1gsS0FBSyxTQUFTLENBQUMsQ0FBQyxPQUFPLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUMxQyxJQUFBLGVBQVcsRUFDUCxDQUFDLENBQ0osRUFDRCxDQUFDLENBQUMsRUFBRSxFQUFFO2dDQUNGLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUM7b0NBQ1gsS0FBSyxhQUFhLENBQUMsQ0FBQyxPQUFPLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDLGNBQWMsRUFBRTs0Q0FDekQsaUJBQWlCOzRDQUNqQixlQUFlLEVBQUUsV0FBVzt5Q0FDL0IsQ0FBQyxDQUFDLENBQUE7b0NBQ0gsS0FBSyxnQkFBZ0IsQ0FBQyxDQUFDLE9BQU8sR0FBRyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsZ0JBQWdCLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQTtvQ0FDeEUsS0FBSyxTQUFTLENBQUMsQ0FBQyxPQUFPLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFpQixFQUFFO3dDQUNsRCxvQ0FBb0M7d0NBRXBDLE1BQU0sSUFBSSxHQUFHLENBQUMsQ0FBQTt3Q0FFZCxPQUFPLENBQUMsY0FBYyxFQUFFLHFCQUFxQixDQUFDLElBQUksQ0FDOUMsT0FBTyxFQUNQO2dEQUNJLFlBQVksRUFBRSxJQUFJLENBQUMsSUFBSTtnREFDdkIsZUFBZSxFQUFFLGFBQWE7NkNBQ2pDLENBQ0osQ0FBQyxDQUFBO29DQUNOLENBQUMsQ0FBQyxDQUFBO29DQUNGLE9BQU8sQ0FBQyxDQUFDLE9BQU8sR0FBRyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtnQ0FDaEMsQ0FBQzs0QkFDTCxDQUFDLENBQ0osQ0FBQyxDQUFBOzRCQUNGLEtBQUssT0FBTyxDQUFDLENBQUMsT0FBTyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxnQkFBZ0IsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFBOzRCQUMvRCxPQUFPLENBQUMsQ0FBQyxPQUFPLEdBQUcsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUE7d0JBQ2hDLENBQUM7b0JBQ0wsQ0FBQyxDQUNKLENBQUMsQ0FBQTtZQUVOLENBQUMsQ0FBQyxDQUFBO1lBQ0YsT0FBTyxDQUFDLENBQUMsT0FBTyxHQUFHLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFBO1FBQ2hDLENBQUM7SUFDTCxDQUFDLENBQ0osQ0FBQTtBQUNMLENBQUMsQ0FBQTtBQXJFWSxRQUFBLENBQUMsS0FxRWI7QUFFTSxNQUFNLDBDQUEwQyxHQUFHLENBQ3RELGFBQXFCLEVBQ3JCLGFBQXFCLEVBQ0osRUFBRTtJQUNuQixPQUFPLElBQUEsU0FBQyxFQUNKLEdBQUcsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLG1DQUFtQyxDQUFDLENBQ2hELElBQUEseUJBQWtCLEVBQUMsYUFBYSxDQUFDLENBQUMsU0FBUyxDQUN2QyxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxFQUNSLEdBQUcsRUFBRSxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUMsOEJBQThCLENBQUMsQ0FDbEQsRUFDRDtRQUNJLFdBQVcsRUFBRSxHQUFHO0tBQ25CLENBQ0osR0FBRyxjQUFjLEVBQ2xCLGFBQWEsRUFDYixhQUFhLENBQ2hCLENBQUE7QUFDTCxDQUFDLENBQUE7QUFqQlksUUFBQSwwQ0FBMEMsOENBaUJ0RCJ9
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as d_schema from "../generated/interface/schemas/schema/data_types/resolved";
|
|
2
|
+
import * as d_parse_result from "astn/dist/generated/interface/schemas/parse_result/unconstrained";
|
|
3
|
+
type Do_Schema_Result = ['success', d_schema.Type] | ['file not found', null] | ['parse error', d_parse_result.Parse_Error];
|
|
4
|
+
export declare const $: ($: string) => Do_Schema_Result;
|
|
5
|
+
export {};
|