liana-core 0.1.34 → 0.1.36
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/declarations/refiners/primitives/list_of_characters.d.ts +1 -0
- package/dist/declarations/refiners/primitives/list_of_characters.js +2 -0
- package/dist/declarations/refiners/unmarshalled/astn_parse_tree.d.ts +42 -0
- package/dist/declarations/refiners/unmarshalled/astn_parse_tree.js +2 -0
- package/dist/declarations/transformers/deserialize/location.d.ts +4 -0
- package/dist/declarations/transformers/deserialize/location.js +2 -0
- package/dist/declarations/transformers/deserialize/prose.d.ts +4 -0
- package/dist/declarations/transformers/deserialize/prose.js +2 -0
- package/dist/declarations/transformers/deserialize_resolved/location.d.ts +4 -0
- package/dist/declarations/transformers/deserialize_resolved/location.js +2 -0
- package/dist/declarations/transformers/deserialize_resolved/prose.d.ts +4 -0
- package/dist/declarations/transformers/deserialize_resolved/prose.js +2 -0
- package/dist/declarations/transformers/leap_days_before_year/year.d.ts +2 -0
- package/dist/declarations/transformers/leap_days_before_year/year.js +2 -0
- package/dist/declarations/transformers/location/prose.d.ts +8 -0
- package/dist/declarations/transformers/location/prose.js +2 -0
- package/dist/declarations/transformers/parse_tree/start_token_range.d.ts +10 -0
- package/dist/declarations/transformers/parse_tree/start_token_range.js +2 -0
- package/dist/declarations/transformers/primitives/date_struct.d.ts +1 -0
- package/dist/declarations/transformers/primitives/date_struct.js +2 -0
- package/dist/declarations/transformers/primitives/text.d.ts +14 -0
- package/dist/declarations/transformers/primitives/text.js +2 -0
- package/dist/declarations/transformers/resolve/location.d.ts +4 -0
- package/dist/declarations/transformers/resolve/location.js +2 -0
- package/dist/declarations/transformers/resolve/prose.d.ts +4 -0
- package/dist/declarations/transformers/resolve/prose.js +2 -0
- package/dist/declarations/transformers/unmarshall/location_in_main_document.d.ts +4 -0
- package/dist/declarations/transformers/unmarshall/location_in_main_document.js +2 -0
- package/dist/declarations/transformers/unmarshall/prose.d.ts +4 -0
- package/dist/declarations/transformers/unmarshall/prose.js +2 -0
- package/dist/implementation/{manual/refiners → refiners}/primitives/list_of_characters.d.ts +2 -2
- package/dist/implementation/refiners/primitives/list_of_characters.js +438 -0
- package/dist/implementation/refiners/unmarshalled/astn_parse_tree.d.ts +11 -0
- package/dist/implementation/refiners/unmarshalled/astn_parse_tree.js +121 -0
- package/dist/implementation/transformers/deserialize/location.d.ts +2 -0
- package/dist/implementation/transformers/deserialize/location.js +12 -0
- package/dist/implementation/transformers/deserialize/prose.d.ts +2 -0
- package/dist/implementation/transformers/deserialize/prose.js +12 -0
- package/dist/implementation/transformers/deserialize_resolved/location.d.ts +2 -0
- package/dist/implementation/transformers/deserialize_resolved/location.js +12 -0
- package/dist/implementation/transformers/deserialize_resolved/prose.d.ts +2 -0
- package/dist/implementation/transformers/deserialize_resolved/prose.js +12 -0
- package/dist/implementation/transformers/leap_days_before_year/year.d.ts +2 -0
- package/dist/implementation/{manual/transformers → transformers}/leap_days_before_year/year.js +1 -2
- package/dist/implementation/transformers/location/prose.d.ts +2 -0
- package/dist/implementation/transformers/location/prose.js +25 -0
- package/dist/implementation/transformers/parse_tree/start_token_range.d.ts +2 -0
- package/dist/implementation/transformers/parse_tree/start_token_range.js +11 -0
- package/dist/implementation/{manual/transformers → transformers}/primitives/date_struct.d.ts +3 -2
- package/dist/implementation/{manual/transformers → transformers}/primitives/date_struct.js +4 -3
- package/dist/implementation/transformers/primitives/text.d.ts +9 -0
- package/dist/implementation/transformers/primitives/text.js +297 -0
- package/dist/implementation/transformers/resolve/location.d.ts +2 -0
- package/dist/implementation/transformers/resolve/location.js +9 -0
- package/dist/implementation/transformers/resolve/prose.d.ts +2 -0
- package/dist/implementation/transformers/resolve/prose.js +47 -0
- package/dist/implementation/transformers/unmarshall/location_in_main_document.d.ts +2 -0
- package/dist/implementation/transformers/unmarshall/location_in_main_document.js +15 -0
- package/dist/implementation/transformers/unmarshall/prose.d.ts +2 -0
- package/dist/implementation/transformers/unmarshall/prose.js +71 -0
- package/dist/interface/data/deserialize.d.ts +2 -2
- package/dist/interface/data/deserialize.js +2 -3
- package/dist/interface/data/deserialize_resolved.d.ts +2 -2
- package/dist/interface/data/deserialize_resolved.js +2 -3
- package/dist/interface/data/document_and_location.d.ts +1 -1
- package/dist/interface/data/document_and_location.js +2 -2
- package/dist/interface/data/unmarshall.d.ts +2 -2
- package/dist/interface/data/unmarshall.js +2 -3
- package/dist/interface/data/unmarshalled.d.ts +2 -2
- package/dist/interface/data/unmarshalled.js +1 -3
- package/package.json +3 -5
- package/dist/implementation/manual/refiners/primitives/list_of_characters.js +0 -442
- package/dist/implementation/manual/refiners/unmarshalled/astn_parse_tree.d.ts +0 -52
- package/dist/implementation/manual/refiners/unmarshalled/astn_parse_tree.js +0 -137
- package/dist/implementation/manual/transformers/deserialize/location.d.ts +0 -7
- package/dist/implementation/manual/transformers/deserialize/location.js +0 -16
- package/dist/implementation/manual/transformers/deserialize/prose.d.ts +0 -7
- package/dist/implementation/manual/transformers/deserialize/prose.js +0 -16
- package/dist/implementation/manual/transformers/deserialize_resolved/location.d.ts +0 -7
- package/dist/implementation/manual/transformers/deserialize_resolved/location.js +0 -16
- package/dist/implementation/manual/transformers/deserialize_resolved/prose.d.ts +0 -7
- package/dist/implementation/manual/transformers/deserialize_resolved/prose.js +0 -16
- package/dist/implementation/manual/transformers/leap_days_before_year/year.d.ts +0 -5
- package/dist/implementation/manual/transformers/location/prose.d.ts +0 -11
- package/dist/implementation/manual/transformers/location/prose.js +0 -30
- package/dist/implementation/manual/transformers/parse_tree/start_token_range.d.ts +0 -13
- package/dist/implementation/manual/transformers/parse_tree/start_token_range.js +0 -16
- package/dist/implementation/manual/transformers/primitives/text.d.ts +0 -24
- package/dist/implementation/manual/transformers/primitives/text.js +0 -301
- package/dist/implementation/manual/transformers/resolve/location.d.ts +0 -5
- package/dist/implementation/manual/transformers/resolve/location.js +0 -12
- package/dist/implementation/manual/transformers/resolve/prose.d.ts +0 -5
- package/dist/implementation/manual/transformers/resolve/prose.js +0 -50
- package/dist/implementation/manual/transformers/unmarshall/location_in_main_document.d.ts +0 -7
- package/dist/implementation/manual/transformers/unmarshall/location_in_main_document.js +0 -19
- package/dist/implementation/manual/transformers/unmarshall/prose.d.ts +0 -7
- package/dist/implementation/manual/transformers/unmarshall/prose.js +0 -75
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdF9vZl9jaGFyYWN0ZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RlY2xhcmF0aW9ucy9yZWZpbmVycy9wcmltaXRpdmVzL2xpc3Rfb2ZfY2hhcmFjdGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type * as p_di from 'pareto-core/interface/data';
|
|
2
|
+
import type * as p_ from 'pareto-core/interface/refiner';
|
|
3
|
+
import type * as d_in from "astn-core/interface/generated/liana/schemas/parse_tree/data";
|
|
4
|
+
import type * as d_out from "../../../interface/data/unmarshalled.js";
|
|
5
|
+
import type * as d_function from "../../../interface/data/unmarshall.js";
|
|
6
|
+
import type * as d_function_loc from "../../../interface/data/document_and_location.js";
|
|
7
|
+
export type Number = p_.Refiner_With_Parameter<d_out.Number, d_function.Error, d_in.Value, {
|
|
8
|
+
'type': ['binary', null] | ['decimal', null] | [
|
|
9
|
+
'fractional decimal',
|
|
10
|
+
{
|
|
11
|
+
'digits': number;
|
|
12
|
+
}
|
|
13
|
+
] | ['hexadecimal', null] | ['iso date', null] | ['octal', null] | [
|
|
14
|
+
'scientific notation',
|
|
15
|
+
{
|
|
16
|
+
'precision': number;
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
'subdocument context': p_di.Optional_Value<d_function_loc.Subdocument>;
|
|
20
|
+
}>;
|
|
21
|
+
export type Boolean = p_.Refiner_With_Parameter<d_out.Boolean, d_function.Error, d_in.Value, {
|
|
22
|
+
'type': ['true/false', null];
|
|
23
|
+
'subdocument context': p_di.Optional_Value<d_function_loc.Subdocument>;
|
|
24
|
+
}>;
|
|
25
|
+
export type Dictionary = p_.Refiner_With_Parameter<d_out.Dictionary, d_function.Error, d_in.Value, {
|
|
26
|
+
'subdocument context': p_di.Optional_Value<d_function_loc.Subdocument>;
|
|
27
|
+
}>;
|
|
28
|
+
export type List = p_.Refiner_With_Parameter<d_out.List, d_function.Error, d_in.Value, {
|
|
29
|
+
'subdocument context': p_di.Optional_Value<d_function_loc.Subdocument>;
|
|
30
|
+
}>;
|
|
31
|
+
export type Nothing = p_.Refiner<d_out.Nothing, d_function.Error, d_in.Value>;
|
|
32
|
+
export type Optional = p_.Refiner<d_out.Optional, d_function.Error, d_in.Value>;
|
|
33
|
+
export type Property = p_.Refiner_With_Parameter<d_out.Property, d_function.Error, d_out.Verbose_Group, {
|
|
34
|
+
'id': string;
|
|
35
|
+
'subdocument context': p_di.Optional_Value<d_function_loc.Subdocument>;
|
|
36
|
+
}>;
|
|
37
|
+
export type State = p_.Refiner<d_out.State, d_function.Error, d_in.Value>;
|
|
38
|
+
export type Text = p_.Refiner<d_out.Text, d_function.Error, d_in.Value>;
|
|
39
|
+
export type Verbose_Group = p_.Refiner_With_Parameter<d_out.Verbose_Group, d_function.Error, d_in.Value, {
|
|
40
|
+
'expected properties': p_di.Dictionary<null>;
|
|
41
|
+
'subdocument context': p_di.Optional_Value<d_function_loc.Subdocument>;
|
|
42
|
+
}>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXN0bl9wYXJzZV90cmVlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RlY2xhcmF0aW9ucy9yZWZpbmVycy91bm1hcnNoYWxsZWQvYXN0bl9wYXJzZV90cmVlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "../../../interface/data/deserialize.js";
|
|
3
|
+
import type * as d_out from "astn-core/interface/generated/liana/schemas/location/data";
|
|
4
|
+
export type Error = p_.Transformer<d_in.Error, d_out.Possible_Range>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "../../../interface/data/deserialize.js";
|
|
3
|
+
import type * as d_out from "pareto-fountain-pen/interface/generated/liana/schemas/prose/data";
|
|
4
|
+
export type Error = p_.Transformer<d_in.Error, d_out.Phrase>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "../../../interface/data/deserialize_resolved.js";
|
|
3
|
+
import type * as d_out from "astn-core/interface/generated/liana/schemas/location/data";
|
|
4
|
+
export type Error = p_.Transformer<d_in.Error, d_out.Possible_Range>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGVjbGFyYXRpb25zL3RyYW5zZm9ybWVycy9kZXNlcmlhbGl6ZV9yZXNvbHZlZC9sb2NhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "../../../interface/data/deserialize_resolved.js";
|
|
3
|
+
import type * as d_out from "pareto-fountain-pen/interface/generated/liana/schemas/prose/data";
|
|
4
|
+
export type Error = p_.Transformer<d_in.Error, d_out.Phrase>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "../../../interface/data/document_and_location.js";
|
|
3
|
+
import type * as d_out from "pareto-fountain-pen/interface/generated/liana/schemas/prose/data";
|
|
4
|
+
import type * as d_function from "astn-core/interface/data/location_to_prose";
|
|
5
|
+
export type Range = p_.Transformer_With_Parameter<d_in.Range, d_out.Phrase, {
|
|
6
|
+
'character location reporting': d_function.character_location_reporting;
|
|
7
|
+
'document resource identifier': string;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as p_di from 'pareto-core/interface/data';
|
|
2
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
3
|
+
import type * as d_in from "astn-core/interface/generated/liana/schemas/parse_tree/data";
|
|
4
|
+
import type * as d_out from "../../../interface/data/document_and_location.js";
|
|
5
|
+
export declare namespace d_function {
|
|
6
|
+
type Parameters = {
|
|
7
|
+
'subdocument context': p_di.Optional_Value<d_out.Subdocument>;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export type Value = p_.Transformer_With_Parameter<d_in.Value, d_out.Range, d_function.Parameters>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhcnRfdG9rZW5fcmFuZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGVjbGFyYXRpb25zL3RyYW5zZm9ybWVycy9wYXJzZV90cmVlL3N0YXJ0X3Rva2VuX3JhbmdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZV9zdHJ1Y3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGVjbGFyYXRpb25zL3RyYW5zZm9ybWVycy9wcmltaXRpdmVzL2RhdGVfc3RydWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_out from "pareto-fountain-pen/interface/generated/liana/schemas/text/data";
|
|
3
|
+
export type true_false = p_.Transformer<boolean, d_out.Text>;
|
|
4
|
+
export type scientific_notation = p_.Transformer_With_Parameter<number, d_out.Text, {
|
|
5
|
+
digits: number;
|
|
6
|
+
}>;
|
|
7
|
+
export type binary = p_.Transformer<number, d_out.Text>;
|
|
8
|
+
export type decimal = p_.Transformer<number, d_out.Text>;
|
|
9
|
+
export type hexadecimal = p_.Transformer<number, d_out.Text>;
|
|
10
|
+
export type fractional_decimal = p_.Transformer_With_Parameter<number, d_out.Text, {
|
|
11
|
+
'number of fractional digits': number;
|
|
12
|
+
}>;
|
|
13
|
+
export type iso_date_udhr = p_.Transformer<number, d_out.Text>;
|
|
14
|
+
export type octal = p_.Transformer<number, d_out.Text>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "../../../interface/data/resolve.js";
|
|
3
|
+
import type * as d_out from "astn-core/interface/generated/liana/schemas/location/data";
|
|
4
|
+
export type Error = p_.Transformer<d_in.Error, d_out.Range>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "../../../interface/data/resolve.js";
|
|
3
|
+
import type * as d_out from "pareto-fountain-pen/interface/generated/liana/schemas/prose/data";
|
|
4
|
+
export type Error = p_.Transformer<d_in.Error, d_out.Phrase>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "../../../interface/data/unmarshall.js";
|
|
3
|
+
import type * as d_out from "astn-core/interface/generated/liana/schemas/location/data";
|
|
4
|
+
export type Error = p_.Transformer<d_in.Error, d_out.Range>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYXRpb25faW5fbWFpbl9kb2N1bWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kZWNsYXJhdGlvbnMvdHJhbnNmb3JtZXJzL3VubWFyc2hhbGwvbG9jYXRpb25faW5fbWFpbl9kb2N1bWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type * as p_ from 'pareto-core/interface/transformer';
|
|
2
|
+
import type * as d_in from "../../../interface/data/unmarshall.js";
|
|
3
|
+
import type * as d_out from "pareto-fountain-pen/interface/generated/liana/schemas/prose/data";
|
|
4
|
+
export type Error = p_.Transformer<d_in.Error, d_out.Phrase>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as p_i from 'pareto-core/interface/refiner';
|
|
2
|
-
import * as d_loc from "pareto-fountain-pen/interface/generated/liana/schemas/list_of_characters/data";
|
|
1
|
+
import type * as p_i from 'pareto-core/interface/refiner';
|
|
2
|
+
import type * as d_loc from "pareto-fountain-pen/interface/generated/liana/schemas/list_of_characters/data";
|
|
3
3
|
export declare const decimal: p_i.Refiner<number, string, d_loc.List_of_Characters>;
|
|
4
4
|
export declare const scientific_notation: p_i.Refiner_With_Parameter<number, string, d_loc.List_of_Characters, {
|
|
5
5
|
'precision': number;
|