exupery 0.1.6 → 0.1.8
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/generated/generic/resolve.d.ts +1 -1
- package/dist/generated/generic/resolve.js +7 -5
- package/dist/generated/implementation/generic/resolve.d.ts +81 -0
- package/dist/generated/implementation/generic/resolve.js +251 -0
- package/dist/generated/implementation/schemas/implementation/resolve.d.ts +1 -1
- package/dist/generated/implementation/schemas/implementation/resolve.js +2 -2
- package/dist/generated/implementation/schemas/interface/resolve.d.ts +1 -1
- package/dist/generated/implementation/schemas/interface/resolve.js +2 -2
- package/dist/generated/interface/generic/resolve.d.ts +11 -0
- package/dist/generated/interface/generic/resolve.js +3 -0
- package/dist/generated/interface/schemas/implementation/resolve.d.ts +1 -1
- package/dist/generated/interface/schemas/interface/resolve.d.ts +1 -1
- package/dist/generated/interface/schemas/typescript_light/migration_boilerplate.d.ts +132 -0
- package/dist/generated/interface/schemas/typescript_light/unconstrained.d.ts +135 -0
- package/dist/transformations/implementation/typescript_light.d.ts +24 -0
- package/dist/transformations/implementation/typescript_light.js +554 -0
- package/dist/transformations/implementation/typescript_temp.d.ts +24 -0
- package/dist/transformations/implementation/typescript_temp.js +554 -0
- package/dist/transformations/interface/typescript_light.d.ts +23 -0
- package/dist/transformations/interface/typescript_light.js +524 -0
- package/dist/transformations/interface/typescript_temp.d.ts +1 -1
- package/dist/transformations/library/typescript_light.d.ts +10 -0
- package/dist/transformations/library/typescript_light.js +42 -0
- package/dist/transformations/library/typescript_temp.d.ts +10 -0
- package/dist/transformations/library/typescript_temp.js +42 -0
- package/dist/transformations/typescript_light/fountain_pen_block.d.ts +1 -0
- package/dist/transformations/typescript_light/fountain_pen_block.js +6 -2
- package/dist/transformations/typescript_temp/fountain_pen_block.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as _pt from 'exupery-core-types';
|
|
2
2
|
import * as _i_core from "../../core/unconstrained";
|
|
3
|
+
export type _T_Block = _i_core._T_List<null, _T_Block_Part>;
|
|
4
|
+
export type _T_Block_Part = _i_core._T_State_Group<null, readonly ['line', string] | readonly ['nested line', _T_Line] | readonly ['nothing', null] | readonly ['sub block', _T_Block]>;
|
|
5
|
+
export type _T_Directory = _i_core._T_Dictionary<null, _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Block]>>;
|
|
3
6
|
export type _T_Expression = _i_core._T_State_Group<null, readonly ['array literal', _i_core._T_List<null, _T_Expression>] | readonly [
|
|
4
7
|
'arrow function',
|
|
5
8
|
{
|
|
@@ -22,6 +25,12 @@ export type _T_Expression = _i_core._T_State_Group<null, readonly ['array litera
|
|
|
22
25
|
readonly 'properties': _i_core._T_Dictionary<null, _T_Expression>;
|
|
23
26
|
}
|
|
24
27
|
] | readonly ['string literal', _T_String_Literal] | readonly ['true', null]>;
|
|
28
|
+
export type _T_Line = _i_core._T_List<null, _T_Line_Part>;
|
|
29
|
+
export type _T_Line_Part = _i_core._T_State_Group<null, readonly ['indent', _T_Block] | readonly ['nothing', null] | readonly ['snippet', string] | readonly ['sub line', _T_Line]>;
|
|
30
|
+
export type _T_Lines = _i_core._T_List<null, {
|
|
31
|
+
readonly 'indentation': number;
|
|
32
|
+
readonly 'text': string;
|
|
33
|
+
}>;
|
|
25
34
|
export type _T_Statements = _i_core._T_List<null, _i_core._T_State_Group<null, readonly [
|
|
26
35
|
'import',
|
|
27
36
|
{
|
|
@@ -94,10 +103,48 @@ export type _T_Type = _i_core._T_State_Group<null, readonly ['boolean', null] |
|
|
|
94
103
|
readonly 'type arguments': _i_core._T_List<null, _T_Type>;
|
|
95
104
|
}
|
|
96
105
|
] | readonly ['union', _i_core._T_List<null, _T_Type>] | readonly ['void', null]>;
|
|
106
|
+
export type Block = _T_Block;
|
|
107
|
+
export type Block_Part = _T_Block_Part;
|
|
108
|
+
export type Directory = _T_Directory;
|
|
97
109
|
export type Expression = _T_Expression;
|
|
110
|
+
export type Line = _T_Line;
|
|
111
|
+
export type Line_Part = _T_Line_Part;
|
|
112
|
+
export type Lines = _T_Lines;
|
|
98
113
|
export type Statements = _T_Statements;
|
|
99
114
|
export type String_Literal = _T_String_Literal;
|
|
100
115
|
export type Type = _T_Type;
|
|
116
|
+
export declare namespace _T_Block {
|
|
117
|
+
namespace L {
|
|
118
|
+
}
|
|
119
|
+
type L = _T_Block_Part;
|
|
120
|
+
}
|
|
121
|
+
export declare namespace _T_Block_Part {
|
|
122
|
+
namespace SG {
|
|
123
|
+
type line = string;
|
|
124
|
+
namespace nested_line {
|
|
125
|
+
}
|
|
126
|
+
type nested_line = _T_Line;
|
|
127
|
+
type nothing = null;
|
|
128
|
+
namespace sub_block {
|
|
129
|
+
}
|
|
130
|
+
type sub_block = _T_Block;
|
|
131
|
+
}
|
|
132
|
+
type SG = readonly ['line', string] | readonly ['nested line', _T_Line] | readonly ['nothing', null] | readonly ['sub block', _T_Block];
|
|
133
|
+
}
|
|
134
|
+
export declare namespace _T_Directory {
|
|
135
|
+
namespace D {
|
|
136
|
+
namespace SG {
|
|
137
|
+
namespace directory {
|
|
138
|
+
}
|
|
139
|
+
type directory = _T_Directory;
|
|
140
|
+
namespace file {
|
|
141
|
+
}
|
|
142
|
+
type file = _T_Block;
|
|
143
|
+
}
|
|
144
|
+
type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Block];
|
|
145
|
+
}
|
|
146
|
+
type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Block]>;
|
|
147
|
+
}
|
|
101
148
|
export declare namespace _T_Expression {
|
|
102
149
|
namespace SG {
|
|
103
150
|
namespace array_literal {
|
|
@@ -210,6 +257,34 @@ export declare namespace _T_Expression {
|
|
|
210
257
|
}
|
|
211
258
|
] | readonly ['string literal', _T_String_Literal] | readonly ['true', null];
|
|
212
259
|
}
|
|
260
|
+
export declare namespace _T_Line {
|
|
261
|
+
namespace L {
|
|
262
|
+
}
|
|
263
|
+
type L = _T_Line_Part;
|
|
264
|
+
}
|
|
265
|
+
export declare namespace _T_Line_Part {
|
|
266
|
+
namespace SG {
|
|
267
|
+
namespace indent {
|
|
268
|
+
}
|
|
269
|
+
type indent = _T_Block;
|
|
270
|
+
type nothing = null;
|
|
271
|
+
type snippet = string;
|
|
272
|
+
namespace sub_line {
|
|
273
|
+
}
|
|
274
|
+
type sub_line = _T_Line;
|
|
275
|
+
}
|
|
276
|
+
type SG = readonly ['indent', _T_Block] | readonly ['nothing', null] | readonly ['snippet', string] | readonly ['sub line', _T_Line];
|
|
277
|
+
}
|
|
278
|
+
export declare namespace _T_Lines {
|
|
279
|
+
namespace L {
|
|
280
|
+
type indentation = number;
|
|
281
|
+
type text = string;
|
|
282
|
+
}
|
|
283
|
+
type L = {
|
|
284
|
+
readonly 'indentation': number;
|
|
285
|
+
readonly 'text': string;
|
|
286
|
+
};
|
|
287
|
+
}
|
|
213
288
|
export declare namespace _T_Statements {
|
|
214
289
|
namespace L {
|
|
215
290
|
namespace SG {
|
|
@@ -531,6 +606,38 @@ export declare namespace _T_Type {
|
|
|
531
606
|
}
|
|
532
607
|
] | readonly ['union', _i_core._T_List<null, _T_Type>] | readonly ['void', null];
|
|
533
608
|
}
|
|
609
|
+
export declare namespace Block {
|
|
610
|
+
namespace L {
|
|
611
|
+
}
|
|
612
|
+
type L = _T_Block_Part;
|
|
613
|
+
}
|
|
614
|
+
export declare namespace Block_Part {
|
|
615
|
+
namespace SG {
|
|
616
|
+
type line = string;
|
|
617
|
+
namespace nested_line {
|
|
618
|
+
}
|
|
619
|
+
type nested_line = _T_Line;
|
|
620
|
+
type nothing = null;
|
|
621
|
+
namespace sub_block {
|
|
622
|
+
}
|
|
623
|
+
type sub_block = _T_Block;
|
|
624
|
+
}
|
|
625
|
+
type SG = readonly ['line', string] | readonly ['nested line', _T_Line] | readonly ['nothing', null] | readonly ['sub block', _T_Block];
|
|
626
|
+
}
|
|
627
|
+
export declare namespace Directory {
|
|
628
|
+
namespace D {
|
|
629
|
+
namespace SG {
|
|
630
|
+
namespace directory {
|
|
631
|
+
}
|
|
632
|
+
type directory = _T_Directory;
|
|
633
|
+
namespace file {
|
|
634
|
+
}
|
|
635
|
+
type file = _T_Block;
|
|
636
|
+
}
|
|
637
|
+
type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Block];
|
|
638
|
+
}
|
|
639
|
+
type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Block]>;
|
|
640
|
+
}
|
|
534
641
|
export declare namespace Expression {
|
|
535
642
|
namespace SG {
|
|
536
643
|
namespace array_literal {
|
|
@@ -643,6 +750,34 @@ export declare namespace Expression {
|
|
|
643
750
|
}
|
|
644
751
|
] | readonly ['string literal', _T_String_Literal] | readonly ['true', null];
|
|
645
752
|
}
|
|
753
|
+
export declare namespace Line {
|
|
754
|
+
namespace L {
|
|
755
|
+
}
|
|
756
|
+
type L = _T_Line_Part;
|
|
757
|
+
}
|
|
758
|
+
export declare namespace Line_Part {
|
|
759
|
+
namespace SG {
|
|
760
|
+
namespace indent {
|
|
761
|
+
}
|
|
762
|
+
type indent = _T_Block;
|
|
763
|
+
type nothing = null;
|
|
764
|
+
type snippet = string;
|
|
765
|
+
namespace sub_line {
|
|
766
|
+
}
|
|
767
|
+
type sub_line = _T_Line;
|
|
768
|
+
}
|
|
769
|
+
type SG = readonly ['indent', _T_Block] | readonly ['nothing', null] | readonly ['snippet', string] | readonly ['sub line', _T_Line];
|
|
770
|
+
}
|
|
771
|
+
export declare namespace Lines {
|
|
772
|
+
namespace L {
|
|
773
|
+
type indentation = number;
|
|
774
|
+
type text = string;
|
|
775
|
+
}
|
|
776
|
+
type L = {
|
|
777
|
+
readonly 'indentation': number;
|
|
778
|
+
readonly 'text': string;
|
|
779
|
+
};
|
|
780
|
+
}
|
|
646
781
|
export declare namespace Statements {
|
|
647
782
|
namespace L {
|
|
648
783
|
namespace SG {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as pt from 'exupery-core-types';
|
|
2
|
+
import * as s_in from "../../generated/interface/schemas/implementation/resolved";
|
|
3
|
+
import * as s_in_interface from "../../generated/interface/schemas/interface/resolved";
|
|
4
|
+
import * as s_out from "../../generated/interface/schemas/typescript_light/unconstrained";
|
|
5
|
+
export declare const Module_Set: ($: s_in.Module_Set, $p: {
|
|
6
|
+
"phase": "development" | "production";
|
|
7
|
+
}) => s_out.Directory;
|
|
8
|
+
export declare function line_dictionary($: pt.Dictionary<s_out.Line_Part>, if_empty: s_out.Line_Part, prefix: s_out.Line_Part, suffix: s_out.Line_Part, add_commas: boolean): s_out.Line_Part;
|
|
9
|
+
export declare const String_Literal: ($: string, $p: {
|
|
10
|
+
"delimiter": "quote" | "apostrophe";
|
|
11
|
+
}) => s_out.Line_Part;
|
|
12
|
+
export declare const Selection: ($: s_in.Selection, $p: {
|
|
13
|
+
"temp imports": s_in_interface.Imports;
|
|
14
|
+
}) => s_out.Line_Part;
|
|
15
|
+
export declare const Initialization: ($: s_in.Initialization, $p: {
|
|
16
|
+
"temp imports": s_in_interface.Imports;
|
|
17
|
+
}) => s_out.Line_Part;
|
|
18
|
+
export declare const Variables: ($: s_in.Variables, $p: {
|
|
19
|
+
"type imports": s_in_interface.Imports;
|
|
20
|
+
"export": boolean;
|
|
21
|
+
}) => s_out.Block_Part;
|
|
22
|
+
export declare const Literal: ($: s_in.Literal, $p: {
|
|
23
|
+
"temp imports": s_in_interface.Imports;
|
|
24
|
+
}) => s_out.Line_Part;
|