pareto 0.56.0 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auto.dist/index.d.ts +5 -3
- package/auto.dist/index.js +7 -5
- package/auto.dist/public/modules/alan__light__serialize/auto.api.js +3 -0
- package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/auto.implementation.js +1 -1
- package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.d.ts +705 -0
- package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.js +3 -0
- package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.shadow.d.ts +34 -0
- package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.shadow.js +3 -0
- package/auto.dist/public/modules/alan__light__serialize/implementations/serialize.alg.js +115 -0
- package/auto.dist/public/modules/alan__light__serialize/index.js +19 -0
- package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.api.js +1 -1
- package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.implementation.js +1 -1
- package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.provided_interface_glossary.d.ts +45 -8
- package/auto.dist/public/{cosmos__2__pareto → modules/pareto2typescript}/auto.provided_interface_glossary.js +1 -1
- package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.provided_interface_glossary.shadow.d.ts +4 -0
- package/auto.dist/public/modules/pareto2typescript/auto.provided_interface_glossary.shadow.js +3 -0
- package/auto.dist/public/modules/pareto2typescript/implementations/serializeCompilationUnit.alg.js +529 -0
- package/auto.dist/public/{cosmos__2__pareto → modules/pareto2typescript}/index.js +1 -1
- package/auto.dist/public/{cosmos__2__pareto → modules/tendril2alan__light}/auto.api.d.ts +1 -1
- package/auto.dist/public/{cosmos__2__pareto → modules/tendril2alan__light}/auto.api.js +1 -1
- package/auto.dist/public/modules/tendril2alan__light/auto.implementation.d.ts +2 -0
- package/auto.dist/public/modules/tendril2alan__light/auto.implementation.js +6 -0
- package/auto.dist/public/modules/tendril2alan__light/auto.provided_interface_glossary.d.ts +1583 -0
- package/auto.dist/public/{fountain__pen → modules/tendril2alan__light}/auto.provided_interface_glossary.js +1 -1
- package/auto.dist/public/{cosmos__2__pareto → modules/tendril2alan__light}/auto.provided_interface_glossary.shadow.d.ts +3 -3
- package/auto.dist/public/modules/tendril2alan__light/auto.provided_interface_glossary.shadow.js +3 -0
- package/auto.dist/public/modules/tendril2alan__light/implementations/map.alg.d.ts +2 -0
- package/auto.dist/public/modules/tendril2alan__light/implementations/map.alg.js +141 -0
- package/auto.dist/public/{pareto__2__typescript → modules/tendril2alan__light}/index.js +1 -1
- package/auto.dist/public/modules/typescript__naming/auto.api.d.ts +6 -0
- package/auto.dist/public/{fountain__pen → modules/typescript__naming}/auto.api.js +1 -1
- package/auto.dist/public/modules/typescript__naming/auto.implementation.d.ts +2 -0
- package/auto.dist/public/modules/typescript__naming/auto.implementation.js +6 -0
- package/auto.dist/public/modules/typescript__naming/auto.provided_interface_glossary.d.ts +9 -0
- package/auto.dist/public/{pareto__2__typescript → modules/typescript__naming}/auto.provided_interface_glossary.js +1 -1
- package/auto.dist/public/{fountain__pen → modules/typescript__naming}/auto.provided_interface_glossary.shadow.d.ts +1 -1
- package/auto.dist/public/modules/typescript__naming/auto.provided_interface_glossary.shadow.js +3 -0
- package/auto.dist/public/modules/typescript__naming/implementations/createIdentifier.alg.d.ts +2 -0
- package/auto.dist/public/modules/typescript__naming/implementations/createIdentifier.alg.js +248 -0
- package/auto.dist/public/modules/typescript__naming/index.d.ts +2 -0
- package/auto.dist/public/{fountain__pen → modules/typescript__naming}/index.js +1 -1
- package/auto.dist/public/modules/typescript__serialize/auto.api.d.ts +8 -0
- package/auto.dist/public/modules/typescript__serialize/auto.api.js +3 -0
- package/auto.dist/public/modules/typescript__serialize/auto.implementation.d.ts +4 -0
- package/auto.dist/public/modules/typescript__serialize/auto.implementation.js +10 -0
- package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.d.ts +11 -0
- package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.js +3 -0
- package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.shadow.d.ts +11 -0
- package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.shadow.js +3 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createApostrophedString.alg.d.ts +2 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createApostrophedString.alg.js +62 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createBacktickedString.alg.d.ts +2 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createBacktickedString.alg.js +62 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createQuotedString.alg.d.ts +2 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createQuotedString.alg.js +45 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.d.ts +0 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.js +20 -0
- package/auto.dist/public/modules/typescript__serialize/index.d.ts +2 -0
- package/auto.dist/public/modules/typescript__serialize/index.js +19 -0
- package/auto.pareto/$.data.ts +13 -19
- package/auto.pareto/auto.dependencies/index.ts +6 -4
- package/auto.pareto/auto.dependencies/pareto-pure/$.data.ts +65 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/index.ts +7 -0
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/$.data.ts +3 -15
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/arithmetic/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/arithmetic/glossary.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/array/glossary.data.ts +11 -19
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/boolean/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/boolean/glossary.data.ts +2 -2
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/build/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/build/glossary.data.ts +2 -2
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/dictionary/api.data.ts +5 -16
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/dictionary/glossary.data.ts +9 -20
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/json/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/json/glossary.data.ts +47 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/nested/glossary.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +52 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +17 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +39 -0
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/tostring/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/tostring/glossary.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.alan.data.ts +441 -0
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.alan_light.data.ts +441 -0
- package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.cosmos_type_system.data.ts +20 -13
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.cosmos_typescript.data.ts +122 -0
- package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.grammar.data.ts +1 -1
- package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.liana.data.ts +1 -1
- package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.pareto.data.ts +1 -1
- package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.tendril.data.ts +18 -181
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.tendril_resolved.data.ts +862 -0
- package/auto.pareto/{modules → auto.dependencies/pareto-pure/modules}/cosmos2pareto/api.data.ts +2 -2
- package/auto.pareto/{modules → auto.dependencies/pareto-pure/modules}/cosmos2pareto/glossary.data.ts +5 -13
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen/glossary.data.ts +55 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/api.data.ts +24 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/glossary.data.ts +48 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2cosmos_type_system/api.data.ts +16 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2cosmos_type_system/glossary.data.ts +73 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2pareto/api.data.ts +16 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2pareto/glossary.data.ts +33 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult/api.data.ts +26 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult/glossary.data.ts +144 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/$.data.ts +46 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/arithmetic/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/arithmetic/glossary.data.ts +76 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +52 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +21 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +45 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/api.data.ts +25 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +133 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +49 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +119 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/json/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/json/glossary.data.ts +47 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/glossary.data.ts +29 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +52 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +17 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +39 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +42 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/$.data.ts +36 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/api.data.ts +23 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/glossary.data.ts +88 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/api.data.ts +27 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/glossary.data.ts +82 -0
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-subatomic-library}/modules/json/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-subatomic-library}/modules/json/glossary.data.ts +8 -8
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-subatomic-library}/modules/numerical_predicates/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-subatomic-library}/modules/numerical_predicates/glossary.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/api.data.ts +42 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/glossary.data.ts +109 -0
- package/auto.pareto/modules/alan_light_serialize/api.data.ts +15 -0
- package/auto.pareto/modules/alan_light_serialize/glossary.data.ts +41 -0
- package/auto.pareto/modules/pareto2typescript/api.data.ts +10 -13
- package/auto.pareto/modules/pareto2typescript/glossary.data.ts +35 -24
- package/auto.pareto/modules/tendril2alan_light/api.data.ts +17 -0
- package/auto.pareto/modules/tendril2alan_light/glossary.data.ts +51 -0
- package/auto.pareto/modules/typescript_naming/api.data.ts +28 -0
- package/auto.pareto/{auto.dependencies/res-typescript/modules/naming → modules/typescript_naming}/glossary.data.ts +2 -2
- package/auto.pareto/{auto.dependencies/res-typescript/modules/serialize → modules/typescript_serialize}/api.data.ts +3 -4
- package/auto.pareto/{auto.dependencies/res-typescript/modules/serialize → modules/typescript_serialize}/glossary.data.ts +2 -8
- package/package.json +6 -5
- package/auto.dist/public/cosmos__2__pareto/auto.implementation.d.ts +0 -2
- package/auto.dist/public/cosmos__2__pareto/auto.implementation.js +0 -6
- package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.d.ts +0 -3281
- package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.shadow.js +0 -3
- package/auto.dist/public/cosmos__2__pareto/implementations/library2ParetoComparators.alg.d.ts +0 -2
- package/auto.dist/public/cosmos__2__pareto/implementations/library2ParetoComparators.alg.js +0 -359
- package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.d.ts +0 -29
- package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.shadow.js +0 -3
- package/auto.dist/public/fountain__pen/implementations/serialize.alg.js +0 -98
- package/auto.dist/public/glossaries/cosmos__type__system.d.ts +0 -1760
- package/auto.dist/public/glossaries/cosmos__type__system.js +0 -3
- package/auto.dist/public/glossaries/cosmos__type__system.shadow.d.ts +0 -8
- package/auto.dist/public/glossaries/cosmos__type__system.shadow.js +0 -3
- package/auto.dist/public/glossaries/grammar.d.ts +0 -260
- package/auto.dist/public/glossaries/grammar.js +0 -3
- package/auto.dist/public/glossaries/grammar.shadow.d.ts +0 -8
- package/auto.dist/public/glossaries/grammar.shadow.js +0 -3
- package/auto.dist/public/glossaries/liana.d.ts +0 -2433
- package/auto.dist/public/glossaries/liana.js +0 -3
- package/auto.dist/public/glossaries/liana.shadow.d.ts +0 -8
- package/auto.dist/public/glossaries/liana.shadow.js +0 -3
- package/auto.dist/public/glossaries/pareto.d.ts +0 -1503
- package/auto.dist/public/glossaries/pareto.js +0 -3
- package/auto.dist/public/glossaries/pareto.shadow.d.ts +0 -8
- package/auto.dist/public/glossaries/pareto.shadow.js +0 -3
- package/auto.dist/public/glossaries/tendril.d.ts +0 -1425
- package/auto.dist/public/glossaries/tendril.js +0 -3
- package/auto.dist/public/glossaries/tendril.shadow.d.ts +0 -8
- package/auto.dist/public/glossaries/tendril.shadow.js +0 -3
- package/auto.dist/public/pareto__2__typescript/auto.provided_interface_glossary.shadow.js +0 -3
- package/auto.dist/public/pareto__2__typescript/implementations/serializeCompilationUnit.alg.js +0 -558
- package/auto.dist/public/shorthands/cosmos.d.ts +0 -50
- package/auto.dist/public/shorthands/cosmos.js +0 -512
- package/auto.dist/public/shorthands/grammar.d.ts +0 -13
- package/auto.dist/public/shorthands/grammar.js +0 -110
- package/auto.dist/public/shorthands/liana.d.ts +0 -66
- package/auto.dist/public/shorthands/liana.js +0 -728
- package/auto.dist/public/shorthands/pareto.d.ts +0 -48
- package/auto.dist/public/shorthands/pareto.js +0 -243
- package/auto.dist/public/shorthands/tendril.d.ts +0 -48
- package/auto.dist/public/shorthands/tendril.js +0 -402
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/arithmetic/api.data.ts +0 -26
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/array/api.data.ts +0 -21
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/collation/api.data.ts +0 -15
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/collation/glossary.data.ts +0 -34
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/filesystem/api.data.ts +0 -19
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/filesystem/glossary.data.ts +0 -189
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/foreach/api.data.ts +0 -25
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/foreach/glossary.data.ts +0 -78
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/http/api.data.ts +0 -16
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/http/glossary.data.ts +0 -69
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/nested/api.data.ts +0 -15
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/path/api.data.ts +0 -19
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/path/glossary.data.ts +0 -35
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/resolve/api.data.ts +0 -20
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/resolve/glossary.data.ts +0 -84
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/string/api.data.ts +0 -26
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/string/glossary.data.ts +0 -75
- package/auto.pareto/auto.dependencies/res-typescript/$.data.ts +0 -35
- package/auto.pareto/auto.dependencies/res-typescript/modules/naming/api.data.ts +0 -15
- package/auto.pareto/modules/fountain_pen/api.data.ts +0 -17
- package/auto.pareto/modules/fountain_pen/glossary.data.ts +0 -32
- /package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/auto.api.d.ts +0 -0
- /package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/auto.implementation.d.ts +0 -0
- /package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/implementations/serialize.alg.d.ts +0 -0
- /package/auto.dist/public/{cosmos__2__pareto → modules/alan__light__serialize}/index.d.ts +0 -0
- /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.api.d.ts +0 -0
- /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.implementation.d.ts +0 -0
- /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/implementations/serializeCompilationUnit.alg.d.ts +0 -0
- /package/auto.dist/public/{fountain__pen → modules/pareto2typescript}/index.d.ts +0 -0
- /package/auto.dist/public/{pareto__2__typescript → modules/tendril2alan__light}/index.d.ts +0 -0
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
infInit,
|
|
5
|
-
afunction, aInterfaceMethod, aInterfaceReference, boolean, data, dictionary, externalTypeReference, group,
|
|
6
|
-
member, null_, parametrizedType, ref, streamconsumer, string, taggedUnion, type, typeParameter, typeReference, aInterface,
|
|
7
|
-
array
|
|
8
|
-
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
9
|
-
|
|
10
|
-
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
11
|
-
|
|
12
|
-
const d = pd.d
|
|
13
|
-
|
|
14
|
-
export const $: g_glossary.D.Glossary = {
|
|
15
|
-
'glossary parameters': d({}),
|
|
16
|
-
'imports': d({
|
|
17
|
-
}),
|
|
18
|
-
'root': {
|
|
19
|
-
'namespaces': d({}),
|
|
20
|
-
'data types': d({
|
|
21
|
-
"Null": type(null_()),
|
|
22
|
-
"String": type(string()),
|
|
23
|
-
"Path": type(array(string())),
|
|
24
|
-
"AnnotatedError": parametrizedType({ "Error": null }, group({
|
|
25
|
-
"path": member(ref(typeReference("String"))),
|
|
26
|
-
"error": member(ref(typeParameter("Error"))),
|
|
27
|
-
})),
|
|
28
|
-
"Result": parametrizedType({
|
|
29
|
-
"Error": null,
|
|
30
|
-
"Success": null,
|
|
31
|
-
}, taggedUnion({
|
|
32
|
-
"error": ref(typeParameter("Error")),
|
|
33
|
-
"success": ref(typeParameter("Success")),
|
|
34
|
-
})),
|
|
35
|
-
"AnnotatedReadDirError": type(ref(typeReference("AnnotatedError", {
|
|
36
|
-
"Error": typeReference("ReadDirError"),
|
|
37
|
-
}))),
|
|
38
|
-
"AnnotatedReadFileError": type(ref(typeReference("AnnotatedError", {
|
|
39
|
-
"Error": typeReference("ReadFileError"),
|
|
40
|
-
}))),
|
|
41
|
-
"AnnotatedRmdirError": type(ref(typeReference("AnnotatedError", {
|
|
42
|
-
"Error": typeReference("RmdirError"),
|
|
43
|
-
}))),
|
|
44
|
-
"AnnotatedMkdirError": type(ref(typeReference("AnnotatedError", {
|
|
45
|
-
"Error": typeReference("MkdirError"),
|
|
46
|
-
}))),
|
|
47
|
-
"AnnotatedUnlinkError": type(ref(typeReference("AnnotatedError", {
|
|
48
|
-
"Error": typeReference("UnlinkError"),
|
|
49
|
-
}))),
|
|
50
|
-
"AnnotatedWriteFileError": type(ref(typeReference("AnnotatedError", {
|
|
51
|
-
"Error": typeReference("WriteFileError"),
|
|
52
|
-
}))),
|
|
53
|
-
"WriteFileParameters": type(group({
|
|
54
|
-
"path": member(ref(typeReference("Path"))),
|
|
55
|
-
"overwrite if exists": member(boolean()),
|
|
56
|
-
"create containing directories": member(boolean()),
|
|
57
|
-
})),
|
|
58
|
-
// "AnnotatedReadFileError": group({
|
|
59
|
-
// "path": member(str()),
|
|
60
|
-
// "error": member(taggedUnion({
|
|
61
|
-
// "no entity": null_(),
|
|
62
|
-
// "is directory": null_(),
|
|
63
|
-
// "unknown": type(group({
|
|
64
|
-
// "message": member(str()),
|
|
65
|
-
// })),
|
|
66
|
-
// })),
|
|
67
|
-
// }),
|
|
68
|
-
"DirNodeData": type(group({
|
|
69
|
-
"path": member(string()),
|
|
70
|
-
"type": member(taggedUnion({
|
|
71
|
-
"directory": null_(),
|
|
72
|
-
"file": null_(),
|
|
73
|
-
"unknown": null_(),
|
|
74
|
-
})),
|
|
75
|
-
})),
|
|
76
|
-
"MkdirError": type(taggedUnion({
|
|
77
|
-
"no entity": null_(),
|
|
78
|
-
"exists": null_(),
|
|
79
|
-
"unknown": group({
|
|
80
|
-
"message": member(string()),
|
|
81
|
-
}),
|
|
82
|
-
})),
|
|
83
|
-
"Mkdir_Data": type(group({
|
|
84
|
-
"path": member(ref(typeReference("Path"))),
|
|
85
|
-
"createContainingDirectories": member(boolean()),
|
|
86
|
-
})),
|
|
87
|
-
"Mkdir_Result": type(ref(typeReference("Result", {
|
|
88
|
-
"Error": typeReference("AnnotatedMkdirError"),
|
|
89
|
-
"Success": typeReference("Null"),
|
|
90
|
-
}))),
|
|
91
|
-
"ReadDirectory_Data": type(group({
|
|
92
|
-
"path": member(ref(typeReference("Path"))),
|
|
93
|
-
})),
|
|
94
|
-
"ReadDirectory_Success": type(dictionary(ref(typeReference("DirNodeData")))),
|
|
95
|
-
"ReadDirectory_Result": type(ref(typeReference("Result", {
|
|
96
|
-
"Error": typeReference("AnnotatedReadDirError"),
|
|
97
|
-
"Success": typeReference("ReadDirectory_Success"),
|
|
98
|
-
}))),
|
|
99
|
-
"ReadDirError": type(taggedUnion({
|
|
100
|
-
"no entity": null_(),
|
|
101
|
-
"is not directory": null_(),
|
|
102
|
-
"unknown": group({
|
|
103
|
-
"message": member(string()),
|
|
104
|
-
}),
|
|
105
|
-
})),
|
|
106
|
-
"ReadFile_Result": type(ref(typeReference("Result", {
|
|
107
|
-
"Error": typeReference("AnnotatedReadFileError"),
|
|
108
|
-
"Success": typeReference("String"),
|
|
109
|
-
}))),
|
|
110
|
-
|
|
111
|
-
"ReadFile_Data": type(group({
|
|
112
|
-
"path": member(ref(typeReference("Path"))),
|
|
113
|
-
})),
|
|
114
|
-
"ReadFileError": type(taggedUnion({
|
|
115
|
-
"no entity": null_(),
|
|
116
|
-
"is directory": null_(),
|
|
117
|
-
"unknown": group({
|
|
118
|
-
"message": member(string()),
|
|
119
|
-
}),
|
|
120
|
-
})),
|
|
121
|
-
"RmdirError": type(taggedUnion({
|
|
122
|
-
"no entity": null_(),
|
|
123
|
-
"not empty": null_(),
|
|
124
|
-
"unknown": group({
|
|
125
|
-
"message": member(string()),
|
|
126
|
-
}),
|
|
127
|
-
})),
|
|
128
|
-
"UnlinkError": type(taggedUnion({
|
|
129
|
-
"no entity": null_(),
|
|
130
|
-
"is directory": null_(),
|
|
131
|
-
"unknown": group({
|
|
132
|
-
"message": member(string()),
|
|
133
|
-
}),
|
|
134
|
-
})),
|
|
135
|
-
"Unlink_Data": type(group({
|
|
136
|
-
"path": member(ref(typeReference("Path"))),
|
|
137
|
-
})),
|
|
138
|
-
"Unlink_Result": type(ref(typeReference("Result", {
|
|
139
|
-
"Error": typeReference("AnnotatedUnlinkError"),
|
|
140
|
-
"Success": typeReference("Null"),
|
|
141
|
-
}))),
|
|
142
|
-
|
|
143
|
-
// "WriteFile_Result": type(ref(typeReference("Result", {
|
|
144
|
-
// "Error": typeReference("AnnotatedWriteFileError"),
|
|
145
|
-
// "Success": typeReference("common", "Null"),
|
|
146
|
-
// })),
|
|
147
|
-
|
|
148
|
-
"WriteFileError": type(taggedUnion({
|
|
149
|
-
"no entity": null_(),
|
|
150
|
-
"is directory": null_(),
|
|
151
|
-
"unknown": group({
|
|
152
|
-
"message": member(string()),
|
|
153
|
-
}),
|
|
154
|
-
})),
|
|
155
|
-
}),
|
|
156
|
-
},
|
|
157
|
-
'interface types': d({
|
|
158
|
-
//these should be defined somewhere but is this the place
|
|
159
|
-
// "HandleReadDirError": interfaceMethod(typeReference("AnnotatedReadDirFileError"), null, null, null),
|
|
160
|
-
// "HandleReadFileError": interfaceMethod(typeReference("AnnotatedReadFileError"), null, null, null),
|
|
161
|
-
// "HandleMkdirError": interfaceMethod(typeReference("AnnotatedMkdirError"), null, null, null),
|
|
162
|
-
// "HandleUnlinkError": interfaceMethod(typeReference("AnnotatedUnlinkError"), null, null, null),
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"OnFileWriteError": aInterface(aInterfaceMethod(typeReference("AnnotatedWriteFileError"))),
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
// "Reader": ['group', {
|
|
169
|
-
// 'members': d({
|
|
170
|
-
// "init": builderMethod(null, ['reference', builderReference("StreamConsumer")]),
|
|
171
|
-
// "onError": builderMethod(typeReference("AnnotatedReadFileError")),
|
|
172
|
-
// }),
|
|
173
|
-
// }]
|
|
174
|
-
"StringStreamConsumer": aInterface(streamconsumer(
|
|
175
|
-
aInterfaceMethod(typeReference("String")),
|
|
176
|
-
aInterfaceMethod(null),
|
|
177
|
-
)),
|
|
178
|
-
"WriteFile": aInterface(aInterfaceMethod(typeReference("WriteFileParameters"), ['reference', aInterfaceReference("StringStreamConsumer")])),
|
|
179
|
-
}),
|
|
180
|
-
'algorithm types': d({
|
|
181
|
-
"CreateFileWriter": infInit(aInterfaceReference("WriteFile"), {
|
|
182
|
-
"onWriteFileError": aInterfaceReference("OnFileWriteError"),
|
|
183
|
-
}),
|
|
184
|
-
"MakeDirectory": afunction(typeReference("Mkdir_Result"), typeReference("Mkdir_Data")),
|
|
185
|
-
"ReadDirectory": afunction(typeReference("ReadDirectory_Result"), typeReference("ReadDirectory_Data")),
|
|
186
|
-
"Unlink": afunction(typeReference("Unlink_Result"), typeReference("Unlink_Data")),
|
|
187
|
-
//"OpenFIleStream": afunc(typeReference("common", "Path"), null, null, inf(interfaceReference("Reader"))),
|
|
188
|
-
}),
|
|
189
|
-
}
|
package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/foreach/api.data.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
4
|
-
|
|
5
|
-
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
6
|
-
|
|
7
|
-
import { $ as glos } from "./glossary.data"
|
|
8
|
-
import { glossary, sibling, group, member, number, type } from 'pareto/auto.dist/public/shorthands/cosmos'
|
|
9
|
-
|
|
10
|
-
// import { $ as g_collation } from "../collation/glossary.data"
|
|
11
|
-
|
|
12
|
-
export const $: g_project.D.API = api(
|
|
13
|
-
glos,
|
|
14
|
-
{
|
|
15
|
-
"arrayForEach": algorithm("ArrayForEach", null, {}),
|
|
16
|
-
"dictionaryForEach": algorithm("DictionaryForEach", null, {
|
|
17
|
-
//FIXME "compare": sibling("collation", "IsABeforeB"),
|
|
18
|
-
}),
|
|
19
|
-
"enrichedArrayForEach": algorithm("EnrichedArrayForEach", null, {}),
|
|
20
|
-
"enrichedDictionaryForEach": algorithm("EnrichedDictionaryForEach", null, {
|
|
21
|
-
//FIXME "compare": sibling("collation", "IsABeforeB"),
|
|
22
|
-
}),
|
|
23
|
-
"decorateDictionaryEntriesWithKey": algorithm("DecorateDictionaryEntriesWithKey", null, {}),
|
|
24
|
-
}
|
|
25
|
-
)
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
string,
|
|
5
|
-
dictionary, member, group,
|
|
6
|
-
array,
|
|
7
|
-
typeReference,
|
|
8
|
-
boolean,
|
|
9
|
-
ref,
|
|
10
|
-
sInterfaceMethod,
|
|
11
|
-
sfunction,
|
|
12
|
-
data,
|
|
13
|
-
procedure,
|
|
14
|
-
sInterfaceReference,
|
|
15
|
-
parametrizedType,
|
|
16
|
-
typeParameter,
|
|
17
|
-
sInterface,
|
|
18
|
-
optional,
|
|
19
|
-
|
|
20
|
-
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
21
|
-
|
|
22
|
-
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
23
|
-
const d = pd.d
|
|
24
|
-
|
|
25
|
-
export const $: g_glossary.D.Glossary = {
|
|
26
|
-
'glossary parameters': d({}),
|
|
27
|
-
'imports': d({}),
|
|
28
|
-
'root': {
|
|
29
|
-
'namespaces': d({}),
|
|
30
|
-
'data types': d({
|
|
31
|
-
"Array": parametrizedType({ "Type": null }, array(ref(typeParameter("Type")))),
|
|
32
|
-
"Dictionary": parametrizedType({ "Type": null }, dictionary(ref(typeParameter("Type")))),
|
|
33
|
-
"KeyValueDictionary": parametrizedType({ "Type": null }, dictionary(ref(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
|
|
34
|
-
"KeyValuePair": parametrizedType({ "Type": null }, group({
|
|
35
|
-
"key": member(string()),
|
|
36
|
-
"value": member(ref(typeParameter("Type"))),
|
|
37
|
-
})),
|
|
38
|
-
"AnnotatedEntry": parametrizedType({ "Type": null }, group({
|
|
39
|
-
"isFirst": member(boolean()),
|
|
40
|
-
"isLast": member(boolean()),
|
|
41
|
-
"key": member(string()),
|
|
42
|
-
"value": member(ref(typeParameter("Type"))),
|
|
43
|
-
})),
|
|
44
|
-
"AnnotatedElement": parametrizedType({ "Type": null }, group({
|
|
45
|
-
"isFirst": member(boolean()),
|
|
46
|
-
"isLast": member(boolean()),
|
|
47
|
-
"value": member(ref(typeParameter("Type"))),
|
|
48
|
-
})),
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}),
|
|
52
|
-
},
|
|
53
|
-
'interface types': d({
|
|
54
|
-
"OnElement": sInterface(sInterfaceMethod(typeParameter("Type")), { "Type": null }),
|
|
55
|
-
"OnEntry": sInterface(sInterfaceMethod(typeReference("KeyValuePair", { "Type": typeParameter("Type") })), { "Type": null }),
|
|
56
|
-
"OnEnrichedDictionary": sInterface(['group', {
|
|
57
|
-
'members': d({
|
|
58
|
-
"onEmpty": sInterfaceMethod(null),
|
|
59
|
-
"onNotEmpty": sInterfaceMethod(null, sInterfaceMethod(typeReference("AnnotatedEntry", { "Type": typeParameter("Type") }))),
|
|
60
|
-
}),
|
|
61
|
-
}], { "Type": null }),
|
|
62
|
-
"OnEnrichedArray": sInterface(['group', {
|
|
63
|
-
'members': d({
|
|
64
|
-
"onEmpty": sInterfaceMethod(null),
|
|
65
|
-
"onNotEmpty": sInterfaceMethod(null, sInterfaceMethod(typeReference("AnnotatedElement", { "Type": typeParameter("Type") }))),
|
|
66
|
-
}),
|
|
67
|
-
}], { "Type": null }),
|
|
68
|
-
}),
|
|
69
|
-
'algorithm types': d({
|
|
70
|
-
"ArrayForEach": procedure(data(typeReference("Array", { "Type": typeParameter("Type") })), sInterfaceReference("OnElement", { "Type": typeParameter("Type") }), { "Type": null }),
|
|
71
|
-
"DictionaryForEach": procedure(data(typeReference("Dictionary", { "Type": typeParameter("Type") })), sInterfaceReference("OnEntry", { "Type": typeParameter("Type") }), { "Type": null }),
|
|
72
|
-
"EnrichedDictionaryForEach": procedure(data(typeReference("Dictionary", { "Type": typeParameter("Type") })), sInterfaceReference("OnEnrichedDictionary", { "Type": typeParameter("Type") }), { "Type": null }),
|
|
73
|
-
"EnrichedArrayForEach": procedure(data(typeReference("Array", { "Type": typeParameter("Type") })), sInterfaceReference("OnEnrichedArray", { "Type": typeParameter("Type") }), { "Type": null }),
|
|
74
|
-
"DecorateDictionaryEntriesWithKey": sfunction(typeReference("KeyValueDictionary", { "Type": typeParameter("Type") }), data(typeReference("Dictionary", { "Type": typeParameter("Type") })), { "Type": null }),
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}),
|
|
78
|
-
}
|
package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/http/api.data.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
4
|
-
|
|
5
|
-
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
6
|
-
|
|
7
|
-
import { $ as glos } from "./glossary.data"
|
|
8
|
-
import { array, glossary, group, member, number, ref, string, taggedUnion, type, typeReference } from 'pareto/auto.dist/public/shorthands/cosmos'
|
|
9
|
-
|
|
10
|
-
export const $: g_project.D.API = api(
|
|
11
|
-
glos,
|
|
12
|
-
{
|
|
13
|
-
"initializeHTTPServerProxy": algorithm("Initialize HTTP Server Proxy", "Configuration", {}),
|
|
14
|
-
"initializeHTTPSServerProxy": algorithm("Initialize HTTP Server Proxy", "Configuration", {}),
|
|
15
|
-
}
|
|
16
|
-
)
|
package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/http/glossary.data.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
aInterface, aInterfaceMethod, aInterfaceReference, array, boolean,
|
|
5
|
-
group, member, ref, resource, streamconsumer, string, taggedUnion, type, typeReference
|
|
6
|
-
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
7
|
-
|
|
8
|
-
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
9
|
-
|
|
10
|
-
const d = pd.d
|
|
11
|
-
|
|
12
|
-
export const $: g_glossary.D.Glossary = {
|
|
13
|
-
'glossary parameters': d({}),
|
|
14
|
-
'imports': d({
|
|
15
|
-
}),
|
|
16
|
-
'root': {
|
|
17
|
-
'namespaces': d({}),
|
|
18
|
-
'data types': d({
|
|
19
|
-
"Path": type(array(string())),
|
|
20
|
-
"EncounteredErrors": type(boolean()),
|
|
21
|
-
"Data": type(taggedUnion({
|
|
22
|
-
"error": ref(typeReference("HTTPError")),
|
|
23
|
-
"data": string()
|
|
24
|
-
})),
|
|
25
|
-
"HTTPError": type(taggedUnion({
|
|
26
|
-
"unknown": string(),
|
|
27
|
-
})),
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"Configuration": type(group({
|
|
31
|
-
"hostName": member(string()),
|
|
32
|
-
"contextPath": member(ref(typeReference("Path"))),
|
|
33
|
-
})),
|
|
34
|
-
}),
|
|
35
|
-
},
|
|
36
|
-
'interface types': d({
|
|
37
|
-
|
|
38
|
-
//"HandleError": interfaceMethod(typeReference("HTTPError")),
|
|
39
|
-
// "ProcessHTTPResource": func(typeReference("common", "Path"), null, builderReference("Init"), null),
|
|
40
|
-
//"Init": aInterface(aInterfaceMethod(null, ['reference', aInterfaceReference("StreamConsumer")])),
|
|
41
|
-
// "Init": ['choice', {
|
|
42
|
-
// 'options': d({
|
|
43
|
-
// "success": ['reference', aInterfaceReference("StreamConsumer")],
|
|
44
|
-
// "error": ['reference', aInterfaceReference("ErrorStreamConsumer")],
|
|
45
|
-
// })
|
|
46
|
-
// }],
|
|
47
|
-
// "Init": builderMethod(null, ['reference', {
|
|
48
|
-
// 'context': ['local', null],
|
|
49
|
-
// 'interface': "StreamConsumer"
|
|
50
|
-
// }], false),
|
|
51
|
-
// "StreamConsumer": aInterface(streamconsumer(
|
|
52
|
-
// aInterfaceMethod(externalTypeReference("common", "String")),
|
|
53
|
-
// aInterfaceMethod(typeReference("EncounteredErrors")),
|
|
54
|
-
// )),
|
|
55
|
-
"Consumer": aInterface(streamconsumer(
|
|
56
|
-
aInterfaceMethod(typeReference("Data")),
|
|
57
|
-
aInterfaceMethod(null),
|
|
58
|
-
)),
|
|
59
|
-
}),
|
|
60
|
-
'algorithm types': d({
|
|
61
|
-
"Initialize HTTP Server Proxy": resource(typeReference("Path"), aInterfaceReference("Consumer")),
|
|
62
|
-
// "HTTPRequest": a(, {
|
|
63
|
-
// "init": aInterfaceReference("Init"),
|
|
64
|
-
// "errorConsumer": aInterfaceReference("ErrorStreamConsumer")
|
|
65
|
-
// })
|
|
66
|
-
|
|
67
|
-
}),
|
|
68
|
-
|
|
69
|
-
}
|
package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/nested/api.data.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
4
|
-
|
|
5
|
-
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
6
|
-
|
|
7
|
-
import { $ as glos } from "./glossary.data"
|
|
8
|
-
import { glossary, group, member, number, type } from 'pareto/auto.dist/public/shorthands/cosmos'
|
|
9
|
-
|
|
10
|
-
export const $: g_project.D.API = api(
|
|
11
|
-
glos,
|
|
12
|
-
{
|
|
13
|
-
"flatten": algorithm("Flatten", null, {})
|
|
14
|
-
}
|
|
15
|
-
)
|
package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/path/api.data.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
4
|
-
|
|
5
|
-
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
6
|
-
|
|
7
|
-
import { $ as glos } from "./glossary.data"
|
|
8
|
-
import { glossary, group, member, number, type } from 'pareto/auto.dist/public/shorthands/cosmos'
|
|
9
|
-
|
|
10
|
-
export const $: g_project.D.API = api(
|
|
11
|
-
glos,
|
|
12
|
-
{
|
|
13
|
-
|
|
14
|
-
"convertWindowsPathToPosixPath": algorithm("ConvertWindowsPathToPosixPath", null, {}),
|
|
15
|
-
"basename": algorithm("Basename", null, {}),
|
|
16
|
-
"dirname": algorithm("Dirname", null, {}),
|
|
17
|
-
"parseFilePath": algorithm("ParseFilePath", null, {}),
|
|
18
|
-
}
|
|
19
|
-
)
|
package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/path/glossary.data.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
array, data, externalTypeReference, group, member, sfunction, string, type, typeReference
|
|
5
|
-
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
6
|
-
|
|
7
|
-
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
8
|
-
const d = pd.d
|
|
9
|
-
|
|
10
|
-
export const $: g_glossary.D.Glossary = {
|
|
11
|
-
'glossary parameters': d({}),
|
|
12
|
-
'imports': d({
|
|
13
|
-
}),
|
|
14
|
-
'root': {
|
|
15
|
-
'namespaces': d({}),
|
|
16
|
-
'data types': d({
|
|
17
|
-
"String": type(string()),
|
|
18
|
-
"ParseFilePathData": type(group({
|
|
19
|
-
"filePath": member(string()),
|
|
20
|
-
"pathSeparator": member(string()),
|
|
21
|
-
})),
|
|
22
|
-
"ParsedFilePath": type(group({
|
|
23
|
-
"directoryPath": member(array(string())),
|
|
24
|
-
"baseName": member(string()),
|
|
25
|
-
})),
|
|
26
|
-
}),
|
|
27
|
-
},
|
|
28
|
-
'interface types': d({}),
|
|
29
|
-
'algorithm types': d({
|
|
30
|
-
"ConvertWindowsPathToPosixPath": sfunction(typeReference("String"), data(typeReference("String"))),
|
|
31
|
-
"Basename": sfunction(typeReference("String"), data(typeReference("String"))),
|
|
32
|
-
"Dirname": sfunction(typeReference("String"), data(typeReference("String"))),
|
|
33
|
-
"ParseFilePath": sfunction(typeReference("ParsedFilePath"), data(typeReference("ParseFilePathData"))),
|
|
34
|
-
}),
|
|
35
|
-
}
|
package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/resolve/api.data.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
4
|
-
|
|
5
|
-
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
6
|
-
|
|
7
|
-
import { $ as glos } from "./glossary.data"
|
|
8
|
-
import { glossary, group, member, number, sInterface, sInterfaceMethod, string, type, typeReference } from 'pareto/auto.dist/public/shorthands/cosmos'
|
|
9
|
-
|
|
10
|
-
export const $: g_project.D.API = api(
|
|
11
|
-
glos,
|
|
12
|
-
{
|
|
13
|
-
"sortTopologically": algorithm("SortTopologically", null, {}),
|
|
14
|
-
// "unsafeResolveDictionary": algorithm("UnsafeResolveDictionary", null, {}),
|
|
15
|
-
// "safeResolveDictionary": algorithm("SafeResolveDictionary", null, {
|
|
16
|
-
// }, {
|
|
17
|
-
// "onError": sideEffect("OnError", 'sync')
|
|
18
|
-
// }),
|
|
19
|
-
}
|
|
20
|
-
)
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
string, member, group,
|
|
5
|
-
typeReference,
|
|
6
|
-
data,
|
|
7
|
-
sfunction,
|
|
8
|
-
type,
|
|
9
|
-
externalTypeReference,
|
|
10
|
-
boolean,
|
|
11
|
-
parametrizedType,
|
|
12
|
-
dictionary,
|
|
13
|
-
ref,
|
|
14
|
-
typeParameter,
|
|
15
|
-
array,
|
|
16
|
-
null_,
|
|
17
|
-
computed,
|
|
18
|
-
sInterface,
|
|
19
|
-
sInterfaceMethod,
|
|
20
|
-
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
21
|
-
|
|
22
|
-
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
23
|
-
const d = pd.d
|
|
24
|
-
|
|
25
|
-
export const $: g_glossary.D.Glossary = {
|
|
26
|
-
'glossary parameters':d({}),
|
|
27
|
-
'imports': d({
|
|
28
|
-
}),
|
|
29
|
-
'root': {
|
|
30
|
-
'namespaces': d({}),
|
|
31
|
-
'data types': d({
|
|
32
|
-
"Dictionary": parametrizedType({ "Type": null }, dictionary(ref(typeParameter("Type")))),
|
|
33
|
-
"Array": parametrizedType({ "Type": null }, array(ref(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
|
|
34
|
-
"KeyValuePair": parametrizedType({ "Type": null }, group({
|
|
35
|
-
"key": member(string()),
|
|
36
|
-
"value": member(ref(typeParameter("Type"))),
|
|
37
|
-
})),
|
|
38
|
-
"AnySibling": parametrizedType({ "Type": null }, computed(ref(typeParameter("Type")))),
|
|
39
|
-
|
|
40
|
-
"DependencyDictionary": parametrizedType({ "Type": null }, dictionary(group({
|
|
41
|
-
"value": member(ref(typeParameter("Type"))),
|
|
42
|
-
"dependencies": member(dictionary(null_())),
|
|
43
|
-
}))),
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"Error": type(string()),
|
|
47
|
-
|
|
48
|
-
}),
|
|
49
|
-
},
|
|
50
|
-
'interface types': d({
|
|
51
|
-
"OnError": sInterface(sInterfaceMethod(typeReference("Error"))),
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}),
|
|
55
|
-
'algorithm types': d({
|
|
56
|
-
"SortTopologically": sfunction(
|
|
57
|
-
typeReference("Array", { "Type": typeParameter("Type") }),
|
|
58
|
-
data(typeReference("DependencyDictionary", { "Type": typeParameter("Type") })),
|
|
59
|
-
{ "Type": null }
|
|
60
|
-
),
|
|
61
|
-
// "UnsafeResolveDictionary": scallbackfunction(
|
|
62
|
-
// typeReference("Dictionary", { "Type": typeParameter("Out") }),
|
|
63
|
-
// data(typeReference("Dictionary", { "Type": typeParameter("In") })),
|
|
64
|
-
// {
|
|
65
|
-
// "map": scallback(typeParameter("Out"), typeReference("KeyValuePair", { "Type": typeParameter("In") }), {
|
|
66
|
-
// "non circular siblings": typeParameter("Out"),
|
|
67
|
-
// "all siblings": typeReference("AnySibling", { "Type": typeParameter("Out") }),
|
|
68
|
-
// })
|
|
69
|
-
// },
|
|
70
|
-
// { "In": null, "Out": null }
|
|
71
|
-
// ),
|
|
72
|
-
// "SafeResolveDictionary": scallbackfunction(
|
|
73
|
-
// typeReference("Dictionary", { "Type": typeParameter("Out") }),
|
|
74
|
-
// data(typeReference("Dictionary", { "Type": typeParameter("In") })),
|
|
75
|
-
// {
|
|
76
|
-
// "map": scallback(typeParameter("Out"), typeReference("KeyValuePair", { "Type": typeParameter("In") }), {
|
|
77
|
-
// "non circular siblings": typeParameter("Out"),
|
|
78
|
-
// "all siblings": typeReference("AnySibling", { "Type": typeParameter("Out") }),
|
|
79
|
-
// })
|
|
80
|
-
// },
|
|
81
|
-
// { "In": null, "Out": null }
|
|
82
|
-
// ),
|
|
83
|
-
}),
|
|
84
|
-
}
|
package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/string/api.data.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
4
|
-
|
|
5
|
-
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
6
|
-
|
|
7
|
-
import { $ as glos } from "./glossary.data"
|
|
8
|
-
import { glossary, group, member, number, type } from 'pareto/auto.dist/public/shorthands/cosmos'
|
|
9
|
-
|
|
10
|
-
export const $: g_project.D.API = api(
|
|
11
|
-
glos,
|
|
12
|
-
{
|
|
13
|
-
|
|
14
|
-
"escape": algorithm("Escape", null, {}),
|
|
15
|
-
"fromCharacterArray": algorithm("FromCharacterArray", null, {}),
|
|
16
|
-
"join": algorithm("Join", null, {}),
|
|
17
|
-
"length": algorithm("Length", null, {}),
|
|
18
|
-
"replaceAll": algorithm("ReplaceAll", null, {}),
|
|
19
|
-
"split": algorithm("Split", null, {}),
|
|
20
|
-
"splitIn2": algorithm("SplitIn2", null, {}),
|
|
21
|
-
"startsWith": algorithm("StartsWith", null, {}),
|
|
22
|
-
"substr": algorithm("Substr", null, {}),
|
|
23
|
-
"toCharacterArray": algorithm("ToCharacterArray", null, {}),
|
|
24
|
-
"trimEnd": algorithm("TrimEnd", null, {}),
|
|
25
|
-
}
|
|
26
|
-
)
|
package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/string/glossary.data.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
aInterface,
|
|
5
|
-
aInterfaceMethod,
|
|
6
|
-
aInterfaceReference,
|
|
7
|
-
array, boolean, data, group, member, number, optional, sfunction, streamconsumer, string, type, typeReference
|
|
8
|
-
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
9
|
-
|
|
10
|
-
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
11
|
-
|
|
12
|
-
const d = pd.d
|
|
13
|
-
|
|
14
|
-
export const $: g_glossary.D.Glossary = {
|
|
15
|
-
'glossary parameters': d({}),
|
|
16
|
-
'imports': d({
|
|
17
|
-
}),
|
|
18
|
-
'root': {
|
|
19
|
-
'namespaces': d({}),
|
|
20
|
-
'data types': d({
|
|
21
|
-
"String": type(string()),
|
|
22
|
-
"Length": type(number()),
|
|
23
|
-
"Boolean": type(boolean()),
|
|
24
|
-
"CharacterArray": type(array(number())),
|
|
25
|
-
"SplitData": type(group({
|
|
26
|
-
"value": member(string()),
|
|
27
|
-
"splitter": member(string()),
|
|
28
|
-
})),
|
|
29
|
-
"SplitIn2Result": type(group({
|
|
30
|
-
"head": member(string()),
|
|
31
|
-
"tail": member(optional(string())),
|
|
32
|
-
})),
|
|
33
|
-
"SplitResult": type(array(string())),
|
|
34
|
-
"StartsWithData": type(group({
|
|
35
|
-
"contextString": member(string()),
|
|
36
|
-
"searchString": member(string()),
|
|
37
|
-
})),
|
|
38
|
-
"SubstrData": type(group({
|
|
39
|
-
"value": member(string()),
|
|
40
|
-
"begin": member(number()),
|
|
41
|
-
"length": member(number()),
|
|
42
|
-
})),
|
|
43
|
-
"ReplaceAllData": type(group({
|
|
44
|
-
"value": member(string()),
|
|
45
|
-
"pattern": member(string()),
|
|
46
|
-
"replacement": member(string()),
|
|
47
|
-
})),
|
|
48
|
-
"JoinData": type(group({
|
|
49
|
-
"first": member(string()),
|
|
50
|
-
"second": member(string()),
|
|
51
|
-
})),
|
|
52
|
-
|
|
53
|
-
"EscapeParameters": type(group({
|
|
54
|
-
"string": member(string()),
|
|
55
|
-
"escape": member(string()),
|
|
56
|
-
"patterns to escape": member(array(string())),
|
|
57
|
-
}))
|
|
58
|
-
}),
|
|
59
|
-
},
|
|
60
|
-
'interface types': d({}),
|
|
61
|
-
'algorithm types': d({
|
|
62
|
-
"Escape": sfunction(typeReference("String"), data(typeReference("EscapeParameters"))),
|
|
63
|
-
|
|
64
|
-
"ReplaceAll": sfunction(typeReference("String"), data(typeReference("ReplaceAllData"))),
|
|
65
|
-
"Substr": sfunction(typeReference("String"), data(typeReference("SubstrData"))),
|
|
66
|
-
"ToCharacterArray": sfunction(typeReference("CharacterArray"), data(typeReference("String"))),
|
|
67
|
-
"Join": sfunction(typeReference("String"), data(typeReference("JoinData"))),
|
|
68
|
-
"FromCharacterArray": sfunction(typeReference("String"), data(typeReference("CharacterArray"))),
|
|
69
|
-
"Split": sfunction(typeReference("SplitResult"), data(typeReference("SplitData"))),
|
|
70
|
-
"SplitIn2": sfunction(typeReference("SplitIn2Result"), data(typeReference("SplitData"))),
|
|
71
|
-
"Length": sfunction(typeReference("Length"), data(typeReference("String"))),
|
|
72
|
-
"TrimEnd": sfunction(typeReference("String"), data(typeReference("String"))),
|
|
73
|
-
"StartsWith": sfunction(typeReference("Boolean"), data(typeReference("StartsWithData"))),
|
|
74
|
-
}),
|
|
75
|
-
}
|