@flock/wirespec 0.8.47 → 0.8.50
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/arrow-arrow-atomic.js +16 -16
- package/arrow-arrow-continuations.js +3 -3
- package/arrow-arrow-core.js +109 -88
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +6790 -0
- package/clikt-clikt.js.map +1 -0
- package/colormath-root-colormath.js +1403 -0
- package/colormath-root-colormath.js.map +1 -0
- package/kotlin-kotlin-stdlib-js-ir.js +4150 -2107
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-openapi-bindings.js +3574 -3574
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1551 -1550
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1183 -1172
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/markdown.js +6858 -0
- package/markdown.js.map +1 -0
- package/mordant-mordant.js +11604 -0
- package/mordant-mordant.js.map +1 -0
- package/package.json +3 -3
- package/wirespec-bin.js +3 -0
- package/wirespec-src-compiler-core.js +2436 -1676
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +674 -567
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +571 -571
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +543 -0
- package/wirespec-src-plugin-arguments.js.map +1 -0
- package/wirespec-src-plugin-cli.js +1028 -0
- package/wirespec-src-plugin-cli.js.map +1 -0
- package/wirespec-src-plugin-npm.d.ts +380 -0
- package/wirespec-src-plugin-npm.js +57 -0
- package/wirespec-src-plugin-npm.js.map +1 -0
- package/wirespec-src-compiler-lib.d.ts +0 -356
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/CommandLineEntitiesParser.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Standard.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/parameters/types/enum.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/builtins/Library.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/common/src/generated/_Arrays.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/src/kotlin/collections/Collections.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/Main.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/common/src/generated/_Collections.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/collections.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/src/kotlin/text/Strings.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/text/char.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/dynamic.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/jsMainSources/libraries/stdlib/js/src/kotlin/text/string.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Preconditions.kt","../../../../../../../../../../Users/runner/work/arrow/arrow/arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/Either.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/JavaFile.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/JsonFile.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/KotlinFile.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/ScalaFile.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/TypeScriptFile.kt","../../../../../src/plugin/cli/src/commonMain/kotlin/community/flock/wirespec/plugin/cli/io/WirespecFile.kt","../../../../../src/plugin/cli/src/jsMain/kotlin/community/flock/wirespec/plugin/cli/Cli.kt","../../../../../src/plugin/cli/src/jsMain/kotlin/community/flock/wirespec/plugin/cli/io/Directory.kt","../../../../../src/plugin/cli/src/jsMain/kotlin/community/flock/wirespec/plugin/cli/io/File.kt","../../../../../src/plugin/cli/src/jsMain/kotlin/community/flock/wirespec/plugin/cli/js/JavaScriptBindings.kt","../../../../../src/plugin/cli/src/jsMain/kotlin/community/flock/wirespec/plugin/utils/CommandLineArguments.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Result.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["WirespecCli$main$ref","WirespecCli$main$ref$lambda","<init>","provide","compile","convert","<get-languages>","block","run","<get-format>","capacity","element","<get-inputFile>","<get-inputDir>","<get-outputDir>","<get-packageName>","<get-strict>","<get-debug>","getInput","inputDir","flags","languages$factory","get","receiver","format$factory","inputFile$factory","inputDir$factory","outputDir$factory","packageName$factory","strict$factory","debug$factory","main","args","arguments","input","output","languages","packageName","logger","operation","fullPath","file","strict","format","ast","path","item","emitter","results","out","<this>","write","name","result","emitters","wirespec","compile$ref","compile$ref$lambda","convert$ref","convert$ref$lambda","compile$lambda","$output","compile$lambda$lambda","it","out$lambda","$packageName","out$lambda$lambda","extension","dir","copy","fileName","cli","parser","source","Directory$wirespecFiles$lambda","Directory$wirespecFiles$lambda$lambda","WirespecFile$<init>$ref","WirespecFile$<init>$ref$lambda","wirespecFiles","read","text","<get-fs>","<init properties JavaScriptBindings.kt>","<get-nodeArgs>","orNull","idx","e","<init properties CommandLineArguments.kt>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAsCyCA,C,UAAAA,E;qBAAAC,C,EAAAA,EAAA;A;;IAAkE,C;;;G;oBAJvGC,CAAAA,EAAA;A;EAAA,C;oCACIC,CACIC,O,EACAC,OAFJF,EAGiC;A,IAAmE,OAAnE,qBAAc,YAAd,iBAAc,EAAY,eAAQ,OAAR,GAAkB,cAAQ,OAAR,CAAlB,CAAZ,CAAd,C;EAAkE,C;;;;;;;sBAL3GD,CAAAA,EAAA;A,IAAA,yB;IAAoB,wCAAyB,UAAzB,C;EAApB,C;iCA2B0BI,C,KAAAA,EAAG;A,IAAA,OAAH,KAAG,CAAH,KAAG,KA5DrB,KA4DqB,EAAH,qBAAG,C;EAEI,C;oBAJzBJ,CAAcK,KAAdL,EAAR;A,IAAwE,wB;IAAlD,kB;IAEI,aAEjB,SADA,OADoB,aAAO,+BAAkB,KAAlB,QAAP,EAAwC,UAAxC,CACpB,EAAgB,6BAAhB,CACA,QAAoB,IAApB,CAFiB,KA5DlB,IA4DkB,sB;EAF1B,C;oCAMaM,CAAAA,EAAU;A;mBCuBqD,6CAErB,SAAS,UAAT,CAFqB,EAEoB,UAFpB,EAEiE,MAAV,4BAAU,CAFjE,EAK5E,UAL4E,EAM9D,UAN8D,EAMlC,UANkC,C;;IAOnE,IAiBE,CAjBF,KAiBE,CAAM,QAAN,C;EDrCP,C;8BAKmBC,C,KAAAA,EAAG;A,IA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WAAI,gCAAJ,CACA,C;EAAM,C;eCRmB5E,CAAY2C,IAAZ3C,EAAlC;A,IAA8C,iB;EAA9C,C;+BAEoB6E,CAAAA,EAAqB;A;IAA8D,OZCpG,QACD,cAAa,IAAK,CAAL,KAAK,WAAlB,EACG,OADH,C;EYFoG,C;+BAE3F5B,CAAU6B,IAAV7B,EAAwB;A;mBtBIb,IAAK,CAAL,KAAK,KAA6C,aAAb,QAAf,IAAe,CAAf,KAAe,CAAV,KAAU,EAAO,OAAP,CAAa,EAAc,UAAd,CAA7C,C;;;;IsBFf,IAAI,CZIK,QAAG,YACjB,QADiB,CACjB,KADiB,CYJZ,C,CAAqD;A,MACjD,QAAG,WAAU,QAAV,CAAU,KAAV,EAAqB,CAAM,SAAN,EAAiB,IAAjB,CAArB,C;IACP,C;IACA,QAAG,eAAc,QAAK,WAAnB,EAA+B,IAA/B,C;EAEX,C;iBCZJ8B,CAAAA,EAAA;A;IAAA,S;EAAqB,C;;;yDALrBC,CAAAA,E;;;WAKS,QAAS,IAAT,C;;G;uBCADC,CAAAA,EAAA;A;IAAA,e;EAAoD,C;;iBAErDC,CAAIlC,a,EAAqBmC,GAAzBD,EAA8C;A;;;;ICoJ1C,I;;;;yBDpJwD,eAAS,GAAT,C;YCqFvD,6BAAO,YAAP,C;;;;YAiECE,M;;;gBAxDD,6BAAO,cAAc,CAAd,CAAP,C;;;;;;;;IAlDA,0D;cAAa,I;;kBACL,iD;yDAAA,K;;ID7C0E,Y;EAAD,C;;2DAP7FC,CAAAA,E;;;gBAKuB,OAAa,CAAL,IAAK,OAAM,CAAN,C;2DAAb,G;;G;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
type Nullable<T> = T | null | undefined
|
|
2
|
+
export declare namespace community.flock.wirespec.compiler.lib {
|
|
3
|
+
interface WsNode {
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly __doNotUseOrImplementIt: {
|
|
6
|
+
readonly "community.flock.wirespec.compiler.lib.WsNode": unique symbol;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
class WsType implements community.flock.wirespec.compiler.lib.WsNode {
|
|
10
|
+
constructor(name: string, shape: community.flock.wirespec.compiler.lib.WsShape);
|
|
11
|
+
get name(): string;
|
|
12
|
+
get shape(): community.flock.wirespec.compiler.lib.WsShape;
|
|
13
|
+
copy(name?: string, shape?: community.flock.wirespec.compiler.lib.WsShape): community.flock.wirespec.compiler.lib.WsType;
|
|
14
|
+
toString(): string;
|
|
15
|
+
hashCode(): number;
|
|
16
|
+
equals(other: Nullable<any>): boolean;
|
|
17
|
+
readonly __doNotUseOrImplementIt: community.flock.wirespec.compiler.lib.WsNode["__doNotUseOrImplementIt"];
|
|
18
|
+
}
|
|
19
|
+
class WsShape {
|
|
20
|
+
constructor(value: Array<community.flock.wirespec.compiler.lib.WsField>);
|
|
21
|
+
get value(): Array<community.flock.wirespec.compiler.lib.WsField>;
|
|
22
|
+
copy(value?: Array<community.flock.wirespec.compiler.lib.WsField>): community.flock.wirespec.compiler.lib.WsShape;
|
|
23
|
+
toString(): string;
|
|
24
|
+
hashCode(): number;
|
|
25
|
+
equals(other: Nullable<any>): boolean;
|
|
26
|
+
}
|
|
27
|
+
class WsEndpoint implements community.flock.wirespec.compiler.lib.WsNode {
|
|
28
|
+
constructor(name: string, method: community.flock.wirespec.compiler.lib.WsMethod, path: Array<community.flock.wirespec.compiler.lib.WsSegment>, query: Array<community.flock.wirespec.compiler.lib.WsField>, headers: Array<community.flock.wirespec.compiler.lib.WsField>, cookies: Array<community.flock.wirespec.compiler.lib.WsField>, requests: Array<community.flock.wirespec.compiler.lib.WsRequest>, responses: Array<community.flock.wirespec.compiler.lib.WsResponse>);
|
|
29
|
+
get name(): string;
|
|
30
|
+
get method(): community.flock.wirespec.compiler.lib.WsMethod;
|
|
31
|
+
get path(): Array<community.flock.wirespec.compiler.lib.WsSegment>;
|
|
32
|
+
get query(): Array<community.flock.wirespec.compiler.lib.WsField>;
|
|
33
|
+
get headers(): Array<community.flock.wirespec.compiler.lib.WsField>;
|
|
34
|
+
get cookies(): Array<community.flock.wirespec.compiler.lib.WsField>;
|
|
35
|
+
get requests(): Array<community.flock.wirespec.compiler.lib.WsRequest>;
|
|
36
|
+
get responses(): Array<community.flock.wirespec.compiler.lib.WsResponse>;
|
|
37
|
+
copy(name?: string, method?: community.flock.wirespec.compiler.lib.WsMethod, path?: Array<community.flock.wirespec.compiler.lib.WsSegment>, query?: Array<community.flock.wirespec.compiler.lib.WsField>, headers?: Array<community.flock.wirespec.compiler.lib.WsField>, cookies?: Array<community.flock.wirespec.compiler.lib.WsField>, requests?: Array<community.flock.wirespec.compiler.lib.WsRequest>, responses?: Array<community.flock.wirespec.compiler.lib.WsResponse>): community.flock.wirespec.compiler.lib.WsEndpoint;
|
|
38
|
+
toString(): string;
|
|
39
|
+
hashCode(): number;
|
|
40
|
+
equals(other: Nullable<any>): boolean;
|
|
41
|
+
readonly __doNotUseOrImplementIt: community.flock.wirespec.compiler.lib.WsNode["__doNotUseOrImplementIt"];
|
|
42
|
+
}
|
|
43
|
+
class WsEnum implements community.flock.wirespec.compiler.lib.WsNode {
|
|
44
|
+
constructor(name: string, entries: Array<string>);
|
|
45
|
+
get name(): string;
|
|
46
|
+
get entries(): Array<string>;
|
|
47
|
+
copy(name?: string, entries?: Array<string>): community.flock.wirespec.compiler.lib.WsEnum;
|
|
48
|
+
toString(): string;
|
|
49
|
+
hashCode(): number;
|
|
50
|
+
equals(other: Nullable<any>): boolean;
|
|
51
|
+
readonly __doNotUseOrImplementIt: community.flock.wirespec.compiler.lib.WsNode["__doNotUseOrImplementIt"];
|
|
52
|
+
}
|
|
53
|
+
class WsRefined implements community.flock.wirespec.compiler.lib.WsNode {
|
|
54
|
+
constructor(name: string, validator: string);
|
|
55
|
+
get name(): string;
|
|
56
|
+
get validator(): string;
|
|
57
|
+
copy(name?: string, validator?: string): community.flock.wirespec.compiler.lib.WsRefined;
|
|
58
|
+
toString(): string;
|
|
59
|
+
hashCode(): number;
|
|
60
|
+
equals(other: Nullable<any>): boolean;
|
|
61
|
+
readonly __doNotUseOrImplementIt: community.flock.wirespec.compiler.lib.WsNode["__doNotUseOrImplementIt"];
|
|
62
|
+
}
|
|
63
|
+
abstract class WsMethod {
|
|
64
|
+
private constructor();
|
|
65
|
+
static get GET(): community.flock.wirespec.compiler.lib.WsMethod & {
|
|
66
|
+
get name(): "GET";
|
|
67
|
+
get ordinal(): 0;
|
|
68
|
+
};
|
|
69
|
+
static get POST(): community.flock.wirespec.compiler.lib.WsMethod & {
|
|
70
|
+
get name(): "POST";
|
|
71
|
+
get ordinal(): 1;
|
|
72
|
+
};
|
|
73
|
+
static get PUT(): community.flock.wirespec.compiler.lib.WsMethod & {
|
|
74
|
+
get name(): "PUT";
|
|
75
|
+
get ordinal(): 2;
|
|
76
|
+
};
|
|
77
|
+
static get DELETE(): community.flock.wirespec.compiler.lib.WsMethod & {
|
|
78
|
+
get name(): "DELETE";
|
|
79
|
+
get ordinal(): 3;
|
|
80
|
+
};
|
|
81
|
+
static get OPTIONS(): community.flock.wirespec.compiler.lib.WsMethod & {
|
|
82
|
+
get name(): "OPTIONS";
|
|
83
|
+
get ordinal(): 4;
|
|
84
|
+
};
|
|
85
|
+
static get HEAD(): community.flock.wirespec.compiler.lib.WsMethod & {
|
|
86
|
+
get name(): "HEAD";
|
|
87
|
+
get ordinal(): 5;
|
|
88
|
+
};
|
|
89
|
+
static get PATCH(): community.flock.wirespec.compiler.lib.WsMethod & {
|
|
90
|
+
get name(): "PATCH";
|
|
91
|
+
get ordinal(): 6;
|
|
92
|
+
};
|
|
93
|
+
static get TRACE(): community.flock.wirespec.compiler.lib.WsMethod & {
|
|
94
|
+
get name(): "TRACE";
|
|
95
|
+
get ordinal(): 7;
|
|
96
|
+
};
|
|
97
|
+
static values(): Array<community.flock.wirespec.compiler.lib.WsMethod>;
|
|
98
|
+
static valueOf(value: string): community.flock.wirespec.compiler.lib.WsMethod;
|
|
99
|
+
get name(): "GET" | "POST" | "PUT" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE";
|
|
100
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
101
|
+
}
|
|
102
|
+
interface WsSegment {
|
|
103
|
+
readonly __doNotUseOrImplementIt: {
|
|
104
|
+
readonly "community.flock.wirespec.compiler.lib.WsSegment": unique symbol;
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
class WsLiteral implements community.flock.wirespec.compiler.lib.WsSegment {
|
|
108
|
+
constructor(value: string);
|
|
109
|
+
get value(): string;
|
|
110
|
+
copy(value?: string): community.flock.wirespec.compiler.lib.WsLiteral;
|
|
111
|
+
toString(): string;
|
|
112
|
+
hashCode(): number;
|
|
113
|
+
equals(other: Nullable<any>): boolean;
|
|
114
|
+
readonly __doNotUseOrImplementIt: community.flock.wirespec.compiler.lib.WsSegment["__doNotUseOrImplementIt"];
|
|
115
|
+
}
|
|
116
|
+
class WsParam implements community.flock.wirespec.compiler.lib.WsSegment {
|
|
117
|
+
constructor(identifier: community.flock.wirespec.compiler.lib.WsIdentifier, reference: community.flock.wirespec.compiler.lib.WsReference);
|
|
118
|
+
get identifier(): community.flock.wirespec.compiler.lib.WsIdentifier;
|
|
119
|
+
get reference(): community.flock.wirespec.compiler.lib.WsReference;
|
|
120
|
+
copy(identifier?: community.flock.wirespec.compiler.lib.WsIdentifier, reference?: community.flock.wirespec.compiler.lib.WsReference): community.flock.wirespec.compiler.lib.WsParam;
|
|
121
|
+
toString(): string;
|
|
122
|
+
hashCode(): number;
|
|
123
|
+
equals(other: Nullable<any>): boolean;
|
|
124
|
+
readonly __doNotUseOrImplementIt: community.flock.wirespec.compiler.lib.WsSegment["__doNotUseOrImplementIt"];
|
|
125
|
+
}
|
|
126
|
+
class Shape {
|
|
127
|
+
constructor(value: Array<community.flock.wirespec.compiler.lib.WsField>);
|
|
128
|
+
get value(): Array<community.flock.wirespec.compiler.lib.WsField>;
|
|
129
|
+
copy(value?: Array<community.flock.wirespec.compiler.lib.WsField>): community.flock.wirespec.compiler.lib.Shape;
|
|
130
|
+
toString(): string;
|
|
131
|
+
hashCode(): number;
|
|
132
|
+
equals(other: Nullable<any>): boolean;
|
|
133
|
+
}
|
|
134
|
+
class WsField {
|
|
135
|
+
constructor(identifier: community.flock.wirespec.compiler.lib.WsIdentifier, reference: community.flock.wirespec.compiler.lib.WsReference, isNullable: boolean);
|
|
136
|
+
get identifier(): community.flock.wirespec.compiler.lib.WsIdentifier;
|
|
137
|
+
get reference(): community.flock.wirespec.compiler.lib.WsReference;
|
|
138
|
+
get isNullable(): boolean;
|
|
139
|
+
copy(identifier?: community.flock.wirespec.compiler.lib.WsIdentifier, reference?: community.flock.wirespec.compiler.lib.WsReference, isNullable?: boolean): community.flock.wirespec.compiler.lib.WsField;
|
|
140
|
+
toString(): string;
|
|
141
|
+
hashCode(): number;
|
|
142
|
+
equals(other: Nullable<any>): boolean;
|
|
143
|
+
}
|
|
144
|
+
class WsIdentifier {
|
|
145
|
+
constructor(value: string);
|
|
146
|
+
get value(): string;
|
|
147
|
+
copy(value?: string): community.flock.wirespec.compiler.lib.WsIdentifier;
|
|
148
|
+
toString(): string;
|
|
149
|
+
hashCode(): number;
|
|
150
|
+
equals(other: Nullable<any>): boolean;
|
|
151
|
+
}
|
|
152
|
+
interface WsReference {
|
|
153
|
+
readonly isIterable: boolean;
|
|
154
|
+
readonly isMap: boolean;
|
|
155
|
+
readonly __doNotUseOrImplementIt: {
|
|
156
|
+
readonly "community.flock.wirespec.compiler.lib.WsReference": unique symbol;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
class WsAny implements community.flock.wirespec.compiler.lib.WsReference {
|
|
160
|
+
constructor(isIterable: boolean, isMap?: boolean);
|
|
161
|
+
get isIterable(): boolean;
|
|
162
|
+
get isMap(): boolean;
|
|
163
|
+
copy(isIterable?: boolean, isMap?: boolean): community.flock.wirespec.compiler.lib.WsAny;
|
|
164
|
+
toString(): string;
|
|
165
|
+
hashCode(): number;
|
|
166
|
+
equals(other: Nullable<any>): boolean;
|
|
167
|
+
readonly __doNotUseOrImplementIt: community.flock.wirespec.compiler.lib.WsReference["__doNotUseOrImplementIt"];
|
|
168
|
+
}
|
|
169
|
+
class WsUnit implements community.flock.wirespec.compiler.lib.WsReference {
|
|
170
|
+
constructor(isIterable: boolean, isMap?: boolean);
|
|
171
|
+
get isIterable(): boolean;
|
|
172
|
+
get isMap(): boolean;
|
|
173
|
+
copy(isIterable?: boolean, isMap?: boolean): community.flock.wirespec.compiler.lib.WsUnit;
|
|
174
|
+
toString(): string;
|
|
175
|
+
hashCode(): number;
|
|
176
|
+
equals(other: Nullable<any>): boolean;
|
|
177
|
+
readonly __doNotUseOrImplementIt: community.flock.wirespec.compiler.lib.WsReference["__doNotUseOrImplementIt"];
|
|
178
|
+
}
|
|
179
|
+
class WsCustom implements community.flock.wirespec.compiler.lib.WsReference {
|
|
180
|
+
constructor(value: string, isIterable: boolean, isMap?: boolean);
|
|
181
|
+
get value(): string;
|
|
182
|
+
get isIterable(): boolean;
|
|
183
|
+
get isMap(): boolean;
|
|
184
|
+
copy(value?: string, isIterable?: boolean, isMap?: boolean): community.flock.wirespec.compiler.lib.WsCustom;
|
|
185
|
+
toString(): string;
|
|
186
|
+
hashCode(): number;
|
|
187
|
+
equals(other: Nullable<any>): boolean;
|
|
188
|
+
readonly __doNotUseOrImplementIt: community.flock.wirespec.compiler.lib.WsReference["__doNotUseOrImplementIt"];
|
|
189
|
+
}
|
|
190
|
+
class WsPrimitive implements community.flock.wirespec.compiler.lib.WsReference {
|
|
191
|
+
constructor(type: community.flock.wirespec.compiler.lib.WsPrimitiveType, isIterable: boolean, isMap?: boolean);
|
|
192
|
+
get type(): community.flock.wirespec.compiler.lib.WsPrimitiveType;
|
|
193
|
+
get isIterable(): boolean;
|
|
194
|
+
get isMap(): boolean;
|
|
195
|
+
copy(type?: community.flock.wirespec.compiler.lib.WsPrimitiveType, isIterable?: boolean, isMap?: boolean): community.flock.wirespec.compiler.lib.WsPrimitive;
|
|
196
|
+
toString(): string;
|
|
197
|
+
hashCode(): number;
|
|
198
|
+
equals(other: Nullable<any>): boolean;
|
|
199
|
+
readonly __doNotUseOrImplementIt: community.flock.wirespec.compiler.lib.WsReference["__doNotUseOrImplementIt"];
|
|
200
|
+
}
|
|
201
|
+
abstract class WsPrimitiveType {
|
|
202
|
+
private constructor();
|
|
203
|
+
static get String(): community.flock.wirespec.compiler.lib.WsPrimitiveType & {
|
|
204
|
+
get name(): "String";
|
|
205
|
+
get ordinal(): 0;
|
|
206
|
+
};
|
|
207
|
+
static get Integer(): community.flock.wirespec.compiler.lib.WsPrimitiveType & {
|
|
208
|
+
get name(): "Integer";
|
|
209
|
+
get ordinal(): 1;
|
|
210
|
+
};
|
|
211
|
+
static get Number(): community.flock.wirespec.compiler.lib.WsPrimitiveType & {
|
|
212
|
+
get name(): "Number";
|
|
213
|
+
get ordinal(): 2;
|
|
214
|
+
};
|
|
215
|
+
static get Boolean(): community.flock.wirespec.compiler.lib.WsPrimitiveType & {
|
|
216
|
+
get name(): "Boolean";
|
|
217
|
+
get ordinal(): 3;
|
|
218
|
+
};
|
|
219
|
+
static values(): Array<community.flock.wirespec.compiler.lib.WsPrimitiveType>;
|
|
220
|
+
static valueOf(value: string): community.flock.wirespec.compiler.lib.WsPrimitiveType;
|
|
221
|
+
get name(): "String" | "Integer" | "Number" | "Boolean";
|
|
222
|
+
get ordinal(): 0 | 1 | 2 | 3;
|
|
223
|
+
}
|
|
224
|
+
class WsRequest {
|
|
225
|
+
constructor(content: Nullable<community.flock.wirespec.compiler.lib.WsContent>);
|
|
226
|
+
get content(): Nullable<community.flock.wirespec.compiler.lib.WsContent>;
|
|
227
|
+
copy(content?: Nullable<community.flock.wirespec.compiler.lib.WsContent>): community.flock.wirespec.compiler.lib.WsRequest;
|
|
228
|
+
toString(): string;
|
|
229
|
+
hashCode(): number;
|
|
230
|
+
equals(other: Nullable<any>): boolean;
|
|
231
|
+
}
|
|
232
|
+
class WsResponse {
|
|
233
|
+
constructor(status: string, content: Nullable<community.flock.wirespec.compiler.lib.WsContent>);
|
|
234
|
+
get status(): string;
|
|
235
|
+
get content(): Nullable<community.flock.wirespec.compiler.lib.WsContent>;
|
|
236
|
+
copy(status?: string, content?: Nullable<community.flock.wirespec.compiler.lib.WsContent>): community.flock.wirespec.compiler.lib.WsResponse;
|
|
237
|
+
toString(): string;
|
|
238
|
+
hashCode(): number;
|
|
239
|
+
equals(other: Nullable<any>): boolean;
|
|
240
|
+
}
|
|
241
|
+
class WsContent {
|
|
242
|
+
constructor(type: string, reference: community.flock.wirespec.compiler.lib.WsReference, isNullable?: boolean);
|
|
243
|
+
get type(): string;
|
|
244
|
+
get reference(): community.flock.wirespec.compiler.lib.WsReference;
|
|
245
|
+
get isNullable(): boolean;
|
|
246
|
+
copy(type?: string, reference?: community.flock.wirespec.compiler.lib.WsReference, isNullable?: boolean): community.flock.wirespec.compiler.lib.WsContent;
|
|
247
|
+
toString(): string;
|
|
248
|
+
hashCode(): number;
|
|
249
|
+
equals(other: Nullable<any>): boolean;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
export declare namespace community.flock.wirespec.compiler.lib {
|
|
253
|
+
abstract class Compiler {
|
|
254
|
+
constructor();
|
|
255
|
+
protected preCompile(source: string): (p0: any/* community.flock.wirespec.compiler.core.emit.common.Emitter */) => any/* arrow.core.Either<arrow.core.NonEmptyList<community.flock.wirespec.compiler.core.exceptions.WirespecException>, kotlin.collections.List<community.flock.wirespec.compiler.core.emit.common.Emitted>> */;
|
|
256
|
+
tokenize(source: string): community.flock.wirespec.compiler.lib.WsTokenResult;
|
|
257
|
+
parse(source: string): community.flock.wirespec.compiler.lib.WsParseResult;
|
|
258
|
+
static get Companion(): {
|
|
259
|
+
protected get logger(): any/* community.flock.wirespec.compiler.utils.Logger */;
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
class WsToKotlin extends community.flock.wirespec.compiler.lib.Compiler {
|
|
263
|
+
constructor();
|
|
264
|
+
compile(source: string): community.flock.wirespec.compiler.lib.WsCompilationResult;
|
|
265
|
+
static get Companion(): {
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
class WsToTypeScript extends community.flock.wirespec.compiler.lib.Compiler {
|
|
269
|
+
constructor();
|
|
270
|
+
compile(source: string): community.flock.wirespec.compiler.lib.WsCompilationResult;
|
|
271
|
+
static get Companion(): {
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
class WsToWirespec extends community.flock.wirespec.compiler.lib.Compiler {
|
|
275
|
+
constructor();
|
|
276
|
+
compile(source: string): community.flock.wirespec.compiler.lib.WsCompilationResult;
|
|
277
|
+
static get Companion(): {
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
const OpenApiV2Parser: {
|
|
281
|
+
parse(source: string): Array<community.flock.wirespec.compiler.lib.WsNode>;
|
|
282
|
+
};
|
|
283
|
+
const OpenApiV3Parser: {
|
|
284
|
+
parse(source: string): Array<community.flock.wirespec.compiler.lib.WsNode>;
|
|
285
|
+
};
|
|
286
|
+
const OpenApiV3ToTypescript: {
|
|
287
|
+
get logger(): any/* community.flock.wirespec.compiler.utils.Logger */;
|
|
288
|
+
compile(source: string): Array<community.flock.wirespec.compiler.lib.WsCompiledFile>;
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
export declare namespace community.flock.wirespec.compiler.lib {
|
|
292
|
+
class WsCompilationResult {
|
|
293
|
+
constructor(result?: Nullable<community.flock.wirespec.compiler.lib.WsCompiled>, errors?: Array<community.flock.wirespec.compiler.lib.WsError>);
|
|
294
|
+
get result(): Nullable<community.flock.wirespec.compiler.lib.WsCompiled>;
|
|
295
|
+
get errors(): Array<community.flock.wirespec.compiler.lib.WsError>;
|
|
296
|
+
}
|
|
297
|
+
class WsCompiled {
|
|
298
|
+
constructor(value: string);
|
|
299
|
+
get value(): string;
|
|
300
|
+
}
|
|
301
|
+
class WsCompiledFile {
|
|
302
|
+
constructor(name: string, value: string);
|
|
303
|
+
get name(): string;
|
|
304
|
+
get value(): string;
|
|
305
|
+
}
|
|
306
|
+
class WsParseResult {
|
|
307
|
+
constructor(result?: Nullable<Array<community.flock.wirespec.compiler.lib.WsNode>>, errors?: Nullable<Array<community.flock.wirespec.compiler.lib.WsError>>);
|
|
308
|
+
get result(): Nullable<Array<community.flock.wirespec.compiler.lib.WsNode>>;
|
|
309
|
+
get errors(): Nullable<Array<community.flock.wirespec.compiler.lib.WsError>>;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
export declare namespace community.flock.wirespec.compiler.lib {
|
|
313
|
+
class WsTokenResult {
|
|
314
|
+
constructor(tokens?: Nullable<community.flock.wirespec.compiler.lib.WsTokens>, error?: Nullable<community.flock.wirespec.compiler.lib.WsError>);
|
|
315
|
+
get tokens(): Nullable<community.flock.wirespec.compiler.lib.WsTokens>;
|
|
316
|
+
get error(): Nullable<community.flock.wirespec.compiler.lib.WsError>;
|
|
317
|
+
copy(tokens?: Nullable<community.flock.wirespec.compiler.lib.WsTokens>, error?: Nullable<community.flock.wirespec.compiler.lib.WsError>): community.flock.wirespec.compiler.lib.WsTokenResult;
|
|
318
|
+
toString(): string;
|
|
319
|
+
hashCode(): number;
|
|
320
|
+
equals(other: Nullable<any>): boolean;
|
|
321
|
+
}
|
|
322
|
+
class WsTokens {
|
|
323
|
+
constructor(value: Array<community.flock.wirespec.compiler.lib.WsToken>);
|
|
324
|
+
get value(): Array<community.flock.wirespec.compiler.lib.WsToken>;
|
|
325
|
+
equals(other: Nullable<any>): boolean;
|
|
326
|
+
hashCode(): number;
|
|
327
|
+
copy(value?: Array<community.flock.wirespec.compiler.lib.WsToken>): community.flock.wirespec.compiler.lib.WsTokens;
|
|
328
|
+
toString(): string;
|
|
329
|
+
}
|
|
330
|
+
class WsToken {
|
|
331
|
+
constructor(type: string, value: string, coordinates?: community.flock.wirespec.compiler.lib.WsCoordinates);
|
|
332
|
+
get type(): string;
|
|
333
|
+
get value(): string;
|
|
334
|
+
get coordinates(): community.flock.wirespec.compiler.lib.WsCoordinates;
|
|
335
|
+
copy(type?: string, value?: string, coordinates?: community.flock.wirespec.compiler.lib.WsCoordinates): community.flock.wirespec.compiler.lib.WsToken;
|
|
336
|
+
toString(): string;
|
|
337
|
+
hashCode(): number;
|
|
338
|
+
equals(other: Nullable<any>): boolean;
|
|
339
|
+
}
|
|
340
|
+
class WsCoordinates {
|
|
341
|
+
constructor(line?: number, position?: number, idxAndLength?: community.flock.wirespec.compiler.lib.WsIndex);
|
|
342
|
+
get line(): number;
|
|
343
|
+
get position(): number;
|
|
344
|
+
get idxAndLength(): community.flock.wirespec.compiler.lib.WsIndex;
|
|
345
|
+
copy(line?: number, position?: number, idxAndLength?: community.flock.wirespec.compiler.lib.WsIndex): community.flock.wirespec.compiler.lib.WsCoordinates;
|
|
346
|
+
toString(): string;
|
|
347
|
+
hashCode(): number;
|
|
348
|
+
equals(other: Nullable<any>): boolean;
|
|
349
|
+
}
|
|
350
|
+
class WsIndex {
|
|
351
|
+
constructor(idx?: number, length?: number);
|
|
352
|
+
get idx(): number;
|
|
353
|
+
get length(): number;
|
|
354
|
+
copy(idx?: number, length?: number): community.flock.wirespec.compiler.lib.WsIndex;
|
|
355
|
+
toString(): string;
|
|
356
|
+
hashCode(): number;
|
|
357
|
+
equals(other: Nullable<any>): boolean;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
export declare namespace community.flock.wirespec.compiler.lib {
|
|
361
|
+
class WsError {
|
|
362
|
+
constructor(index: number, length: number, value: string);
|
|
363
|
+
get index(): number;
|
|
364
|
+
get length(): number;
|
|
365
|
+
get value(): string;
|
|
366
|
+
copy(index?: number, length?: number, value?: string): community.flock.wirespec.compiler.lib.WsError;
|
|
367
|
+
toString(): string;
|
|
368
|
+
hashCode(): number;
|
|
369
|
+
equals(other: Nullable<any>): boolean;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
export declare namespace community.flock.wirespec.plugin.cli {
|
|
373
|
+
function cli(args: Array<string>): void;
|
|
374
|
+
function parser(source: string): Array<community.flock.wirespec.compiler.lib.WsNode>;
|
|
375
|
+
}
|
|
376
|
+
export declare namespace community.flock.wirespec.plugin.npm {
|
|
377
|
+
function cli(args: Array<string>): void;
|
|
378
|
+
function parse(source: string): community.flock.wirespec.compiler.lib.WsParseResult;
|
|
379
|
+
}
|
|
380
|
+
export as namespace wirespec_src_plugin_npm;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
(function (root, factory) {
|
|
2
|
+
if (typeof define === 'function' && define.amd)
|
|
3
|
+
define(['exports', './wirespec-src-plugin-cli.js', './wirespec-src-compiler-core.js', './wirespec-src-compiler-lib.js'], factory);
|
|
4
|
+
else if (typeof exports === 'object')
|
|
5
|
+
factory(module.exports, require('./wirespec-src-plugin-cli.js'), require('./wirespec-src-compiler-core.js'), require('./wirespec-src-compiler-lib.js'));
|
|
6
|
+
else {
|
|
7
|
+
if (typeof this['wirespec-src-plugin-cli'] === 'undefined') {
|
|
8
|
+
throw new Error("Error loading module 'wirespec-src-plugin-npm'. Its dependency 'wirespec-src-plugin-cli' was not found. Please, check whether 'wirespec-src-plugin-cli' is loaded prior to 'wirespec-src-plugin-npm'.");
|
|
9
|
+
}
|
|
10
|
+
if (typeof this['wirespec-src-compiler-core'] === 'undefined') {
|
|
11
|
+
throw new Error("Error loading module 'wirespec-src-plugin-npm'. Its dependency 'wirespec-src-compiler-core' was not found. Please, check whether 'wirespec-src-compiler-core' is loaded prior to 'wirespec-src-plugin-npm'.");
|
|
12
|
+
}
|
|
13
|
+
if (typeof this['wirespec-src-compiler-lib'] === 'undefined') {
|
|
14
|
+
throw new Error("Error loading module 'wirespec-src-plugin-npm'. Its dependency 'wirespec-src-compiler-lib' was not found. Please, check whether 'wirespec-src-compiler-lib' is loaded prior to 'wirespec-src-plugin-npm'.");
|
|
15
|
+
}
|
|
16
|
+
root['wirespec-src-plugin-npm'] = factory(typeof this['wirespec-src-plugin-npm'] === 'undefined' ? {} : this['wirespec-src-plugin-npm'], this['wirespec-src-plugin-cli'], this['wirespec-src-compiler-core'], this['wirespec-src-compiler-lib']);
|
|
17
|
+
}
|
|
18
|
+
}(this, function (_, kotlin_community_flock_wirespec_plugin_cli_cli, kotlin_community_flock_wirespec_compiler_core, kotlin_community_flock_wirespec_compiler_lib) {
|
|
19
|
+
'use strict';
|
|
20
|
+
//region block: imports
|
|
21
|
+
var main = kotlin_community_flock_wirespec_plugin_cli_cli.$_$.a;
|
|
22
|
+
var Wirespec_getInstance = kotlin_community_flock_wirespec_compiler_core.$_$.k1;
|
|
23
|
+
var tokenize = kotlin_community_flock_wirespec_compiler_core.$_$.a1;
|
|
24
|
+
var get_noLogger = kotlin_community_flock_wirespec_compiler_core.$_$.e1;
|
|
25
|
+
var Parser = kotlin_community_flock_wirespec_compiler_core.$_$.z;
|
|
26
|
+
var produce = kotlin_community_flock_wirespec_compiler_lib.$_$.a;
|
|
27
|
+
//endregion
|
|
28
|
+
//region block: pre-declaration
|
|
29
|
+
//endregion
|
|
30
|
+
function cli(args) {
|
|
31
|
+
return main(args);
|
|
32
|
+
}
|
|
33
|
+
function parse(source) {
|
|
34
|
+
// Inline function 'kotlin.let' call
|
|
35
|
+
var tmp0_let = tokenize(Wirespec_getInstance(), source);
|
|
36
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
37
|
+
// Inline function 'community.flock.wirespec.plugin.npm.parse.<anonymous>' call
|
|
38
|
+
return produce((new Parser(get_noLogger())).e1r(tmp0_let));
|
|
39
|
+
}
|
|
40
|
+
//region block: exports
|
|
41
|
+
function $jsExportAll$(_) {
|
|
42
|
+
var $community = _.community || (_.community = {});
|
|
43
|
+
var $community$flock = $community.flock || ($community.flock = {});
|
|
44
|
+
var $community$flock$wirespec = $community$flock.wirespec || ($community$flock.wirespec = {});
|
|
45
|
+
var $community$flock$wirespec$plugin = $community$flock$wirespec.plugin || ($community$flock$wirespec.plugin = {});
|
|
46
|
+
var $community$flock$wirespec$plugin$npm = $community$flock$wirespec$plugin.npm || ($community$flock$wirespec$plugin.npm = {});
|
|
47
|
+
$community$flock$wirespec$plugin$npm.cli = cli;
|
|
48
|
+
$community$flock$wirespec$plugin$npm.parse = parse;
|
|
49
|
+
}
|
|
50
|
+
$jsExportAll$(_);
|
|
51
|
+
kotlin_community_flock_wirespec_compiler_lib.$jsExportAll$(_);
|
|
52
|
+
kotlin_community_flock_wirespec_plugin_cli_cli.$jsExportAll$(_);
|
|
53
|
+
//endregion
|
|
54
|
+
return _;
|
|
55
|
+
}));
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=wirespec-src-plugin-npm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/plugin/npm/src/jsMain/kotlin/community/flock/wirespec/plugin/npm/Main.kt","../../../../../src/plugin/npm/build/compileSync/js/main/productionLibrary/kotlin/commonMainSources/libraries/stdlib/src/kotlin/util/Standard.kt"],"sourcesContent":[null,null],"names":["cli","args","parse","source"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAYAA,CAAQC,IAARD,EAA+B;A,IAAU,OAAV,KAAK,IAAL,C;EAAS,C;gBAGxCE,CAAUC,MAAVD,EAA4B;A;mBCE5B,iCAAS,MAAT,C;;;IDAiD,OAAX,QAAV,CAAjB,WAAO,cAAP,CAAiB,MAAM,QAAN,CAAU,C;EAAU,C;;;;;;;;;;;;;;;;;"}
|