@soda-gql/core 0.0.8 → 0.1.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/README.md +312 -0
- package/dist/{index-CFNJ_Aa6.d.ts → index-DYwkqPzd.d.ts} +124 -294
- package/dist/index-DYwkqPzd.d.ts.map +1 -0
- package/dist/index-Db9ogofS.d.ts +365 -0
- package/dist/index-Db9ogofS.d.ts.map +1 -0
- package/dist/{index-DHh8XRal.d.cts → index-Dth0NSJt.d.cts} +124 -294
- package/dist/index-Dth0NSJt.d.cts.map +1 -0
- package/dist/index-zGZ61WLt.d.cts +365 -0
- package/dist/index-zGZ61WLt.d.cts.map +1 -0
- package/dist/index.cjs +132 -44
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +129 -45
- package/dist/index.js.map +1 -1
- package/dist/merge-CeMx09is.js +74 -0
- package/dist/merge-CeMx09is.js.map +1 -0
- package/dist/merge-ZxKV1syS.cjs +85 -0
- package/dist/metadata/index.cjs +62 -0
- package/dist/metadata/index.d.cts +71 -0
- package/dist/metadata/index.d.cts.map +1 -0
- package/dist/metadata/index.d.ts +71 -0
- package/dist/metadata/index.d.ts.map +1 -0
- package/dist/metadata/index.js +59 -0
- package/dist/metadata/index.js.map +1 -0
- package/dist/runtime/index.cjs +5 -3
- package/dist/runtime/index.d.cts +2 -1
- package/dist/runtime/index.d.cts.map +1 -1
- package/dist/runtime/index.d.ts +2 -1
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +5 -3
- package/dist/runtime/index.js.map +1 -1
- package/dist/{slice-ua5mSfhV.js → slice-BuSNc8vw.js} +27 -5
- package/dist/slice-BuSNc8vw.js.map +1 -0
- package/dist/{slice-DlVY4UJG.cjs → slice-C-FIQK-f.cjs} +43 -3
- package/package.json +10 -3
- package/dist/index-CFNJ_Aa6.d.ts.map +0 -1
- package/dist/index-DHh8XRal.d.cts.map +0 -1
- package/dist/slice-ua5mSfhV.js.map +0 -1
|
@@ -1,113 +1,7 @@
|
|
|
1
|
+
import { A as AnyDefaultValue, B as OutputInferrableTypeSpecifier, C as OperationRoots, D as UnionDefinition, E as ScalarDefinition, H as OutputScalarSpecifier, J as AnyVarRef, K as OutputTypenameSpecifier, L as InputTypeSpecifier, O as UnionMemberName, R as InputTypeSpecifiers, S as ObjectFieldRecord, T as PickTypeSpecifierByFieldName, V as OutputObjectSpecifier, W as OutputTypeSpecifier, X as VarRef, Z as VarRefInner, _ as InferInputProfile, at as GetConstAssignableType, ct as TypeProfile, d as SliceMetadataBuilder, dt as ValidTypeModifier, ft as ConstValue, g as EnumDefinition, h as AnyTypeName, it as GetAssigningType, l as OperationMetadata, lt as ApplyTypeModifier, m as AnyGraphqlSchema, ot as GetModifiedType, p as AnyFieldName, q as OutputUnionSpecifier, r as AnyMetadataAdapter, s as MetadataBuilder, u as SliceMetadata, ut as TypeModifier, v as InferOutputProfile, w as OperationType, x as ObjectDefinition, y as InputDefinition, z as OutputEnumSpecifier } from "./index-Db9ogofS.js";
|
|
1
2
|
import { ConstValueNode, FormattedExecutionResult, GraphQLFormattedError, NamedTypeNode, OperationTypeNode, TypeNode, ValueNode } from "graphql";
|
|
2
3
|
import { TypedDocumentNode } from "@graphql-typed-document-node/core";
|
|
3
4
|
|
|
4
|
-
//#region packages/core/src/types/type-foundation/const-value.d.ts
|
|
5
|
-
type ConstValue = string | number | boolean | null | undefined | {
|
|
6
|
-
readonly [key: string]: ConstValue;
|
|
7
|
-
} | readonly ConstValue[];
|
|
8
|
-
type ConstValues = {
|
|
9
|
-
readonly [key: string]: ConstValue;
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
//#region packages/core/src/types/type-foundation/type-modifier-core.generated.d.ts
|
|
13
|
-
type TypeModifier = string;
|
|
14
|
-
type ValidTypeModifier = "!" | "?" | "![]!" | "![]?" | "?[]!" | "?[]?" | "![]![]!" | "![]![]?" | "![]?[]!" | "![]?[]?" | "?[]![]!" | "?[]![]?" | "?[]?[]!" | "?[]?[]?" | "![]![]![]!" | "![]![]![]?" | "![]![]?[]!" | "![]![]?[]?" | "![]?[]![]!" | "![]?[]![]?" | "![]?[]?[]!" | "![]?[]?[]?" | "?[]![]![]!" | "?[]![]![]?" | "?[]![]?[]!" | "?[]![]?[]?" | "?[]?[]![]!" | "?[]?[]![]?" | "?[]?[]?[]!" | "?[]?[]?[]?";
|
|
15
|
-
interface Op$1<T$1> {
|
|
16
|
-
readonly 0: T$1[];
|
|
17
|
-
readonly 1: T$1[] | null | undefined;
|
|
18
|
-
}
|
|
19
|
-
type Modified_0<T$1> = T$1;
|
|
20
|
-
type Modified_1<T$1> = T$1 | null | undefined;
|
|
21
|
-
type Modified_00<T$1> = Op$1<Modified_0<T$1>>[0];
|
|
22
|
-
type Modified_01<T$1> = Op$1<Modified_0<T$1>>[1];
|
|
23
|
-
type Modified_10<T$1> = Op$1<Modified_1<T$1>>[0];
|
|
24
|
-
type Modified_11<T$1> = Op$1<Modified_1<T$1>>[1];
|
|
25
|
-
type Modified_000<T$1> = Op$1<Modified_00<T$1>>[0];
|
|
26
|
-
type Modified_001<T$1> = Op$1<Modified_00<T$1>>[1];
|
|
27
|
-
type Modified_010<T$1> = Op$1<Modified_01<T$1>>[0];
|
|
28
|
-
type Modified_011<T$1> = Op$1<Modified_01<T$1>>[1];
|
|
29
|
-
type Modified_100<T$1> = Op$1<Modified_10<T$1>>[0];
|
|
30
|
-
type Modified_101<T$1> = Op$1<Modified_10<T$1>>[1];
|
|
31
|
-
type Modified_110<T$1> = Op$1<Modified_11<T$1>>[0];
|
|
32
|
-
type Modified_111<T$1> = Op$1<Modified_11<T$1>>[1];
|
|
33
|
-
type Modified_0000<T$1> = Op$1<Modified_000<T$1>>[0];
|
|
34
|
-
type Modified_0001<T$1> = Op$1<Modified_000<T$1>>[1];
|
|
35
|
-
type Modified_0010<T$1> = Op$1<Modified_001<T$1>>[0];
|
|
36
|
-
type Modified_0011<T$1> = Op$1<Modified_001<T$1>>[1];
|
|
37
|
-
type Modified_0100<T$1> = Op$1<Modified_010<T$1>>[0];
|
|
38
|
-
type Modified_0101<T$1> = Op$1<Modified_010<T$1>>[1];
|
|
39
|
-
type Modified_0110<T$1> = Op$1<Modified_011<T$1>>[0];
|
|
40
|
-
type Modified_0111<T$1> = Op$1<Modified_011<T$1>>[1];
|
|
41
|
-
type Modified_1000<T$1> = Op$1<Modified_100<T$1>>[0];
|
|
42
|
-
type Modified_1001<T$1> = Op$1<Modified_100<T$1>>[1];
|
|
43
|
-
type Modified_1010<T$1> = Op$1<Modified_101<T$1>>[0];
|
|
44
|
-
type Modified_1011<T$1> = Op$1<Modified_101<T$1>>[1];
|
|
45
|
-
type Modified_1100<T$1> = Op$1<Modified_110<T$1>>[0];
|
|
46
|
-
type Modified_1101<T$1> = Op$1<Modified_110<T$1>>[1];
|
|
47
|
-
type Modified_1110<T$1> = Op$1<Modified_111<T$1>>[0];
|
|
48
|
-
type Modified_1111<T$1> = Op$1<Modified_111<T$1>>[1];
|
|
49
|
-
type ApplyTypeModifier<T$1, M extends TypeModifier> = M extends "!" ? Modified_0<T$1> : M extends "?" ? Modified_1<T$1> : M extends "![]!" ? Modified_00<T$1> : M extends "![]?" ? Modified_01<T$1> : M extends "?[]!" ? Modified_10<T$1> : M extends "?[]?" ? Modified_11<T$1> : M extends "![]![]!" ? Modified_000<T$1> : M extends "![]![]?" ? Modified_001<T$1> : M extends "![]?[]!" ? Modified_010<T$1> : M extends "![]?[]?" ? Modified_011<T$1> : M extends "?[]![]!" ? Modified_100<T$1> : M extends "?[]![]?" ? Modified_101<T$1> : M extends "?[]?[]!" ? Modified_110<T$1> : M extends "?[]?[]?" ? Modified_111<T$1> : M extends "![]![]![]!" ? Modified_0000<T$1> : M extends "![]![]![]?" ? Modified_0001<T$1> : M extends "![]![]?[]!" ? Modified_0010<T$1> : M extends "![]![]?[]?" ? Modified_0011<T$1> : M extends "![]?[]![]!" ? Modified_0100<T$1> : M extends "![]?[]![]?" ? Modified_0101<T$1> : M extends "![]?[]?[]!" ? Modified_0110<T$1> : M extends "![]?[]?[]?" ? Modified_0111<T$1> : M extends "?[]![]![]!" ? Modified_1000<T$1> : M extends "?[]![]![]?" ? Modified_1001<T$1> : M extends "?[]![]?[]!" ? Modified_1010<T$1> : M extends "?[]![]?[]?" ? Modified_1011<T$1> : M extends "?[]?[]![]!" ? Modified_1100<T$1> : M extends "?[]?[]![]?" ? Modified_1101<T$1> : M extends "?[]?[]?[]!" ? Modified_1110<T$1> : M extends "?[]?[]?[]?" ? Modified_1111<T$1> : never;
|
|
50
|
-
//#endregion
|
|
51
|
-
//#region packages/core/src/types/type-foundation/type-profile.d.ts
|
|
52
|
-
interface PrimitiveTypeProfile {
|
|
53
|
-
readonly kind: "scalar" | "enum";
|
|
54
|
-
readonly name: string;
|
|
55
|
-
readonly value: any;
|
|
56
|
-
}
|
|
57
|
-
type TypeProfile = [PrimitiveTypeProfile] | {
|
|
58
|
-
readonly [key: string]: TypeProfile.WithMeta;
|
|
59
|
-
};
|
|
60
|
-
declare namespace TypeProfile {
|
|
61
|
-
type WITH_DEFAULT_INPUT = "with_default_input";
|
|
62
|
-
type WithMeta = [TypeProfile, TypeModifier, WITH_DEFAULT_INPUT?];
|
|
63
|
-
type Type<TProfile extends TypeProfile.WithMeta> = (TProfile[0] extends [PrimitiveTypeProfile] ? ApplyTypeModifier<TProfile[0][0]["value"], TProfile[1]> : { readonly [K in keyof TProfile[0]]: TProfile[0][K] extends TypeProfile.WithMeta ? Type<TProfile[0][K]> : never }) | (TProfile[2] extends WITH_DEFAULT_INPUT ? undefined : never);
|
|
64
|
-
type AssignableSignature<TProfile extends TypeProfile.WithMeta> = ApplyTypeModifier<"[TYPE_SIGNATURE]", TProfile[1]> | (TProfile[2] extends WITH_DEFAULT_INPUT ? undefined : never);
|
|
65
|
-
type Signature<TProfile extends TypeProfile.WithMeta> = ApplyTypeModifier<"[TYPE_SIGNATURE]", TProfile[1]> extends infer T ? TProfile[2] extends WITH_DEFAULT_INPUT ? Exclude<T, undefined> : T : never;
|
|
66
|
-
type AssignableVarRefMeta<TProfile extends TypeProfile.WithMeta> = {
|
|
67
|
-
profile: TProfile[0];
|
|
68
|
-
signature: AssignableSignature<TProfile>;
|
|
69
|
-
};
|
|
70
|
-
type AssigningVarRefMeta<TProfile extends TypeProfile.WithMeta> = {
|
|
71
|
-
profile: TProfile[0];
|
|
72
|
-
signature: Signature<TProfile>;
|
|
73
|
-
};
|
|
74
|
-
type AssignableType<TProfile extends TypeProfile.WithMeta> = ApplyTypeModifier<TProfile[0] extends [PrimitiveTypeProfile] ? TProfile[0][0]["value"] : { readonly [K in keyof TProfile[0]]: TProfile[0][K] extends TypeProfile.WithMeta ? AssignableType<TProfile[0][K]> : never }, TProfile[1]> | VarRef<AssignableVarRefMeta<TProfile>>;
|
|
75
|
-
type AssigningType<TProfile extends TypeProfile.WithMeta> = VarRef<AssigningVarRefMeta<TProfile>>;
|
|
76
|
-
}
|
|
77
|
-
type GetModifiedType<TProfile extends TypeProfile, TModifier extends TypeModifier> = TypeProfile.Type<[TProfile, TModifier]>;
|
|
78
|
-
type GetConstAssignableType<TProfile extends TypeProfile.WithMeta> = TypeProfile.Type<TProfile>;
|
|
79
|
-
type GetAssigningType<TProfile extends TypeProfile.WithMeta> = TypeProfile.AssigningType<TProfile>;
|
|
80
|
-
//#endregion
|
|
81
|
-
//#region packages/core/src/types/type-foundation/var-ref.d.ts
|
|
82
|
-
interface AnyVarRefMeta {
|
|
83
|
-
readonly profile: TypeProfile;
|
|
84
|
-
readonly signature: unknown;
|
|
85
|
-
}
|
|
86
|
-
type VarRefInner = {
|
|
87
|
-
type: "variable";
|
|
88
|
-
name: string;
|
|
89
|
-
} | {
|
|
90
|
-
type: "const-value";
|
|
91
|
-
value: ConstValue;
|
|
92
|
-
};
|
|
93
|
-
type AnyVarRef = VarRef<any>;
|
|
94
|
-
declare const __VAR_REF_BRAND__: unique symbol;
|
|
95
|
-
declare class VarRef<TMeta extends AnyVarRefMeta> {
|
|
96
|
-
private readonly inner;
|
|
97
|
-
readonly [__VAR_REF_BRAND__]: TMeta;
|
|
98
|
-
constructor(inner: VarRefInner);
|
|
99
|
-
static getInner(varRef: AnyVarRef): VarRefInner;
|
|
100
|
-
}
|
|
101
|
-
declare const isVarRef: (value: unknown) => value is AnyVarRef;
|
|
102
|
-
declare const createVarRefFromVariable: <TProfile extends TypeProfile.WithMeta>(name: string) => VarRef<TypeProfile.AssigningVarRefMeta<TProfile>>;
|
|
103
|
-
declare const createVarRefFromConstValue: <TProfile extends TypeProfile.WithMeta>(value: ConstValue) => VarRef<TypeProfile.AssigningVarRefMeta<TProfile>>;
|
|
104
|
-
declare const getVarRefInner: (varRef: AnyVarRef) => VarRefInner;
|
|
105
|
-
//#endregion
|
|
106
|
-
//#region packages/core/src/utils/type-meta.d.ts
|
|
107
|
-
interface WithTypeMeta<T$1 extends object> {
|
|
108
|
-
readonly $type: T$1;
|
|
109
|
-
}
|
|
110
|
-
//#endregion
|
|
111
5
|
//#region packages/core/src/types/type-foundation/modified-type-name.d.ts
|
|
112
6
|
type ModifiedTypeName<TNameCandidate extends [string], TName extends TNameCandidate[0], TModifier extends TypeModifier> = [string] extends TNameCandidate ? `${TName}:${TModifier}` : TNameCandidate extends [TName] ?
|
|
113
7
|
// First, user inputs TName based on TNameCandidate
|
|
@@ -118,175 +12,42 @@ declare function parseModifiedTypeName<TNameCandidate extends [string], TName ex
|
|
|
118
12
|
};
|
|
119
13
|
//#endregion
|
|
120
14
|
//#region packages/core/src/types/type-foundation/type-modifier-extension.generated.d.ts
|
|
121
|
-
interface Op<T
|
|
122
|
-
readonly 0: T
|
|
123
|
-
readonly 1: T
|
|
15
|
+
interface Op<T> {
|
|
16
|
+
readonly 0: T[];
|
|
17
|
+
readonly 1: T[] | null | undefined;
|
|
124
18
|
}
|
|
125
19
|
type Ref<TProfile extends TypeProfile.WithMeta> = VarRef<TypeProfile.AssignableVarRefMeta<TProfile>>;
|
|
126
|
-
type Assignable_0<T
|
|
127
|
-
type Assignable_1<T
|
|
128
|
-
type Assignable_00<T
|
|
129
|
-
type Assignable_01<T
|
|
130
|
-
type Assignable_10<T
|
|
131
|
-
type Assignable_11<T
|
|
132
|
-
type Assignable_000<T
|
|
133
|
-
type Assignable_001<T
|
|
134
|
-
type Assignable_010<T
|
|
135
|
-
type Assignable_011<T
|
|
136
|
-
type Assignable_100<T
|
|
137
|
-
type Assignable_101<T
|
|
138
|
-
type Assignable_110<T
|
|
139
|
-
type Assignable_111<T
|
|
140
|
-
type Assignable_0000<T
|
|
141
|
-
type Assignable_0001<T
|
|
142
|
-
type Assignable_0010<T
|
|
143
|
-
type Assignable_0011<T
|
|
144
|
-
type Assignable_0100<T
|
|
145
|
-
type Assignable_0101<T
|
|
146
|
-
type Assignable_0110<T
|
|
147
|
-
type Assignable_0111<T
|
|
148
|
-
type Assignable_1000<T
|
|
149
|
-
type Assignable_1001<T
|
|
150
|
-
type Assignable_1010<T
|
|
151
|
-
type Assignable_1011<T
|
|
152
|
-
type Assignable_1100<T
|
|
153
|
-
type Assignable_1101<T
|
|
154
|
-
type Assignable_1110<T
|
|
155
|
-
type Assignable_1111<T
|
|
156
|
-
type GetAssignableType<T
|
|
157
|
-
//#endregion
|
|
158
|
-
//#region packages/core/src/types/type-foundation/type-specifier.d.ts
|
|
159
|
-
type AnyDefaultValue = {
|
|
160
|
-
default: ConstValue;
|
|
161
|
-
};
|
|
162
|
-
type InputTypeKind = "scalar" | "enum" | "input";
|
|
163
|
-
type OutputTypeKind = "scalar" | "enum" | "object" | "union" | "typename";
|
|
164
|
-
type AnyTypeSpecifier = {
|
|
165
|
-
readonly kind: string;
|
|
166
|
-
readonly name: string;
|
|
167
|
-
readonly modifier: TypeModifier;
|
|
168
|
-
readonly defaultValue?: AnyDefaultValue | null;
|
|
169
|
-
readonly arguments?: InputTypeSpecifiers;
|
|
170
|
-
};
|
|
171
|
-
type AbstractInputTypeSpecifier<TKind extends InputTypeKind> = {
|
|
172
|
-
readonly kind: TKind;
|
|
173
|
-
readonly name: string;
|
|
174
|
-
readonly modifier: TypeModifier;
|
|
175
|
-
readonly defaultValue: AnyDefaultValue | null;
|
|
176
|
-
};
|
|
177
|
-
type InputTypeSpecifiers = {
|
|
178
|
-
[key: string]: InputTypeSpecifier;
|
|
179
|
-
};
|
|
180
|
-
type InputTypeSpecifier = InputScalarSpecifier | InputEnumSpecifier | InputInputObjectSpecifier;
|
|
181
|
-
type InputInferrableTypeSpecifier = InputScalarSpecifier | InputEnumSpecifier;
|
|
182
|
-
type InputScalarSpecifier = AbstractInputTypeSpecifier<"scalar">;
|
|
183
|
-
type InputEnumSpecifier = AbstractInputTypeSpecifier<"enum">;
|
|
184
|
-
type InputInputObjectSpecifier = AbstractInputTypeSpecifier<"input">;
|
|
185
|
-
type AbstractOutputTypeSpecifier<TKind extends OutputTypeKind> = {
|
|
186
|
-
readonly kind: TKind;
|
|
187
|
-
readonly name: string;
|
|
188
|
-
readonly modifier: TypeModifier;
|
|
189
|
-
readonly arguments: InputTypeSpecifiers;
|
|
190
|
-
};
|
|
191
|
-
type OutputTypeSpecifiers = {
|
|
192
|
-
[key: string]: OutputTypeSpecifier;
|
|
193
|
-
};
|
|
194
|
-
type OutputTypeSpecifier = OutputScalarSpecifier | OutputEnumSpecifier | OutputObjectSpecifier | OutputUnionSpecifier | OutputTypenameSpecifier;
|
|
195
|
-
type OutputInferrableTypeSpecifier = OutputScalarSpecifier | OutputEnumSpecifier | OutputTypenameSpecifier;
|
|
196
|
-
type OutputScalarSpecifier = AbstractOutputTypeSpecifier<"scalar">;
|
|
197
|
-
type OutputEnumSpecifier = AbstractOutputTypeSpecifier<"enum">;
|
|
198
|
-
type OutputObjectSpecifier = AbstractOutputTypeSpecifier<"object">;
|
|
199
|
-
type OutputUnionSpecifier = AbstractOutputTypeSpecifier<"union">;
|
|
200
|
-
type OutputTypenameSpecifier = AbstractOutputTypeSpecifier<"typename">;
|
|
201
|
-
//#endregion
|
|
202
|
-
//#region packages/core/src/types/schema/schema.d.ts
|
|
203
|
-
type OperationType = keyof OperationRoots;
|
|
204
|
-
type AnyTypeName = string;
|
|
205
|
-
type AnyFieldName = string;
|
|
206
|
-
type AnyGraphqlSchema = {
|
|
207
|
-
readonly label: string;
|
|
208
|
-
readonly operations: OperationRoots;
|
|
209
|
-
readonly scalar: {
|
|
210
|
-
readonly [name: string]: ScalarDefinition<any>;
|
|
211
|
-
};
|
|
212
|
-
readonly enum: {
|
|
213
|
-
readonly [name: string]: EnumDefinition<any>;
|
|
214
|
-
};
|
|
215
|
-
readonly input: {
|
|
216
|
-
readonly [name: string]: InputDefinition;
|
|
217
|
-
};
|
|
218
|
-
readonly object: {
|
|
219
|
-
readonly [name: string]: ObjectDefinition;
|
|
220
|
-
};
|
|
221
|
-
readonly union: {
|
|
222
|
-
readonly [name: string]: UnionDefinition;
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
type OperationRoots = {
|
|
226
|
-
readonly query: string | null;
|
|
227
|
-
readonly mutation: string | null;
|
|
228
|
-
readonly subscription: string | null;
|
|
229
|
-
};
|
|
230
|
-
interface ScalarDefinition<T$1 extends {
|
|
231
|
-
name: string;
|
|
232
|
-
input: unknown;
|
|
233
|
-
output: unknown;
|
|
234
|
-
}> extends WithTypeMeta<{
|
|
235
|
-
input: T$1["input"];
|
|
236
|
-
inputProfile: {
|
|
237
|
-
kind: "scalar";
|
|
238
|
-
name: T$1["name"];
|
|
239
|
-
value: T$1["input"];
|
|
240
|
-
};
|
|
241
|
-
output: T$1["output"];
|
|
242
|
-
outputProfile: {
|
|
243
|
-
kind: "scalar";
|
|
244
|
-
name: T$1["name"];
|
|
245
|
-
value: T$1["output"];
|
|
246
|
-
};
|
|
247
|
-
}> {
|
|
248
|
-
readonly name: T$1["name"];
|
|
249
|
-
}
|
|
250
|
-
interface EnumDefinition<T$1 extends {
|
|
251
|
-
name: string;
|
|
252
|
-
values: string;
|
|
253
|
-
}> extends WithTypeMeta<{
|
|
254
|
-
name: T$1["name"];
|
|
255
|
-
inputProfile: {
|
|
256
|
-
kind: "enum";
|
|
257
|
-
name: T$1["name"];
|
|
258
|
-
value: T$1["values"];
|
|
259
|
-
};
|
|
260
|
-
outputProfile: {
|
|
261
|
-
kind: "enum";
|
|
262
|
-
name: T$1["name"];
|
|
263
|
-
value: T$1["values"];
|
|
264
|
-
};
|
|
265
|
-
}> {
|
|
266
|
-
readonly name: T$1["name"];
|
|
267
|
-
readonly values: { readonly [_ in T$1["values"]]: true };
|
|
268
|
-
}
|
|
269
|
-
interface InputDefinition {
|
|
270
|
-
readonly name: string;
|
|
271
|
-
readonly fields: InputTypeSpecifiers;
|
|
272
|
-
}
|
|
273
|
-
type ObjectDefinition = {
|
|
274
|
-
readonly name: string;
|
|
275
|
-
readonly fields: OutputTypeSpecifiers;
|
|
276
|
-
};
|
|
277
|
-
type UnionDefinition = {
|
|
278
|
-
readonly name: string;
|
|
279
|
-
readonly types: {
|
|
280
|
-
[typename: string]: true;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
type InferInputProfile<TSchema extends AnyGraphqlSchema, TSpecifier$1 extends InputTypeSpecifier> = { [_ in TSchema["label"]]: [TSpecifier$1 extends InputScalarSpecifier ? [TSchema["scalar"][TSpecifier$1["name"]]["$type"]["inputProfile"]] : TSpecifier$1 extends InputEnumSpecifier ? [TSchema["enum"][TSpecifier$1["name"]]["$type"]["inputProfile"]] : TSchema["input"][TSpecifier$1["name"]]["fields"] extends infer TFields ? { [K in keyof TFields]: TFields[K] extends InputTypeSpecifier ? InferInputProfile<TSchema, TFields[K]> : never } : never, TSpecifier$1["modifier"], TSpecifier$1["defaultValue"] extends AnyDefaultValue ? TypeProfile.WITH_DEFAULT_INPUT : undefined] }[TSchema["label"]];
|
|
284
|
-
type InferOutputProfile<TSchema extends AnyGraphqlSchema, TSpecifier$1 extends OutputInferrableTypeSpecifier> = { [_ in TSchema["label"]]: [(TSpecifier$1 extends OutputScalarSpecifier ? TSchema["scalar"][TSpecifier$1["name"]] : TSchema["enum"][TSpecifier$1["name"]])["$type"]["outputProfile"]] }[TSchema["label"]];
|
|
285
|
-
type PickTypeSpecifierByFieldName<TSchema extends AnyGraphqlSchema, TTypeName$1 extends keyof TSchema["object"], TFieldName$1 extends keyof TSchema["object"][TTypeName$1]["fields"]> = TSchema["object"][TTypeName$1]["fields"][TFieldName$1];
|
|
286
|
-
type InputFieldRecord<TSchema extends AnyGraphqlSchema, TSpecifier$1 extends InputTypeSpecifier> = TSchema["input"][TSpecifier$1["name"]]["fields"];
|
|
287
|
-
type ObjectFieldRecord<TSchema extends AnyGraphqlSchema, TTypeName$1 extends keyof TSchema["object"]> = { readonly [TFieldName in keyof TSchema["object"][TTypeName$1]["fields"]]: TSchema["object"][TTypeName$1]["fields"][TFieldName] };
|
|
288
|
-
type UnionTypeRecord<TSchema extends AnyGraphqlSchema, TSpecifier$1 extends OutputUnionSpecifier> = { readonly [TTypeName in UnionMemberName<TSchema, TSpecifier$1>]: TSchema["object"][TTypeName] };
|
|
289
|
-
type UnionMemberName<TSchema extends AnyGraphqlSchema, TSpecifier$1 extends OutputUnionSpecifier> = Extract<keyof TSchema["object"], keyof TSchema["union"][TSpecifier$1["name"]]["types"]> & string;
|
|
20
|
+
type Assignable_0<T extends TypeProfile.WithMeta> = TypeProfile.AssignableType<[T[0], "!", T[2]]>;
|
|
21
|
+
type Assignable_1<T extends TypeProfile.WithMeta> = TypeProfile.AssignableType<[T[0], "?", T[2]]>;
|
|
22
|
+
type Assignable_00<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]!", T[2]]> | Op<Assignable_0<[T[0], "!"]>>[0];
|
|
23
|
+
type Assignable_01<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]?", T[2]]> | Op<Assignable_0<[T[0], "!"]>>[1];
|
|
24
|
+
type Assignable_10<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]!", T[2]]> | Op<Assignable_1<[T[0], "?"]>>[0];
|
|
25
|
+
type Assignable_11<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]?", T[2]]> | Op<Assignable_1<[T[0], "?"]>>[1];
|
|
26
|
+
type Assignable_000<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]![]!", T[2]]> | Op<Assignable_00<[T[0], "!"]>>[0];
|
|
27
|
+
type Assignable_001<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]![]?", T[2]]> | Op<Assignable_00<[T[0], "!"]>>[1];
|
|
28
|
+
type Assignable_010<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]?[]!", T[2]]> | Op<Assignable_01<[T[0], "!"]>>[0];
|
|
29
|
+
type Assignable_011<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]?[]?", T[2]]> | Op<Assignable_01<[T[0], "!"]>>[1];
|
|
30
|
+
type Assignable_100<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]![]!", T[2]]> | Op<Assignable_10<[T[0], "?"]>>[0];
|
|
31
|
+
type Assignable_101<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]![]?", T[2]]> | Op<Assignable_10<[T[0], "?"]>>[1];
|
|
32
|
+
type Assignable_110<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]?[]!", T[2]]> | Op<Assignable_11<[T[0], "?"]>>[0];
|
|
33
|
+
type Assignable_111<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]?[]?", T[2]]> | Op<Assignable_11<[T[0], "?"]>>[1];
|
|
34
|
+
type Assignable_0000<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]![]![]!", T[2]]> | Op<Assignable_000<[T[0], "!"]>>[0];
|
|
35
|
+
type Assignable_0001<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]![]![]?", T[2]]> | Op<Assignable_000<[T[0], "!"]>>[1];
|
|
36
|
+
type Assignable_0010<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]![]?[]!", T[2]]> | Op<Assignable_001<[T[0], "!"]>>[0];
|
|
37
|
+
type Assignable_0011<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]![]?[]?", T[2]]> | Op<Assignable_001<[T[0], "!"]>>[1];
|
|
38
|
+
type Assignable_0100<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]?[]![]!", T[2]]> | Op<Assignable_010<[T[0], "!"]>>[0];
|
|
39
|
+
type Assignable_0101<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]?[]![]?", T[2]]> | Op<Assignable_010<[T[0], "!"]>>[1];
|
|
40
|
+
type Assignable_0110<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]?[]?[]!", T[2]]> | Op<Assignable_011<[T[0], "!"]>>[0];
|
|
41
|
+
type Assignable_0111<T extends TypeProfile.WithMeta> = Ref<[T[0], "![]?[]?[]?", T[2]]> | Op<Assignable_011<[T[0], "!"]>>[1];
|
|
42
|
+
type Assignable_1000<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]![]![]!", T[2]]> | Op<Assignable_100<[T[0], "?"]>>[0];
|
|
43
|
+
type Assignable_1001<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]![]![]?", T[2]]> | Op<Assignable_100<[T[0], "?"]>>[1];
|
|
44
|
+
type Assignable_1010<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]![]?[]!", T[2]]> | Op<Assignable_101<[T[0], "?"]>>[0];
|
|
45
|
+
type Assignable_1011<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]![]?[]?", T[2]]> | Op<Assignable_101<[T[0], "?"]>>[1];
|
|
46
|
+
type Assignable_1100<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]?[]![]!", T[2]]> | Op<Assignable_110<[T[0], "?"]>>[0];
|
|
47
|
+
type Assignable_1101<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]?[]![]?", T[2]]> | Op<Assignable_110<[T[0], "?"]>>[1];
|
|
48
|
+
type Assignable_1110<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]?[]?[]!", T[2]]> | Op<Assignable_111<[T[0], "?"]>>[0];
|
|
49
|
+
type Assignable_1111<T extends TypeProfile.WithMeta> = Ref<[T[0], "?[]?[]?[]?", T[2]]> | Op<Assignable_111<[T[0], "?"]>>[1];
|
|
50
|
+
type GetAssignableType<T extends TypeProfile.WithMeta> = T[1] extends "!" ? Assignable_0<T> : T[1] extends "?" ? Assignable_1<T> : T[1] extends "![]!" ? Assignable_00<T> : T[1] extends "![]?" ? Assignable_01<T> : T[1] extends "?[]!" ? Assignable_10<T> : T[1] extends "?[]?" ? Assignable_11<T> : T[1] extends "![]![]!" ? Assignable_000<T> : T[1] extends "![]![]?" ? Assignable_001<T> : T[1] extends "![]?[]!" ? Assignable_010<T> : T[1] extends "![]?[]?" ? Assignable_011<T> : T[1] extends "?[]![]!" ? Assignable_100<T> : T[1] extends "?[]![]?" ? Assignable_101<T> : T[1] extends "?[]?[]!" ? Assignable_110<T> : T[1] extends "?[]?[]?" ? Assignable_111<T> : T[1] extends "![]![]![]!" ? Assignable_0000<T> : T[1] extends "![]![]![]?" ? Assignable_0001<T> : T[1] extends "![]![]?[]!" ? Assignable_0010<T> : T[1] extends "![]![]?[]?" ? Assignable_0011<T> : T[1] extends "![]?[]![]!" ? Assignable_0100<T> : T[1] extends "![]?[]![]?" ? Assignable_0101<T> : T[1] extends "![]?[]?[]!" ? Assignable_0110<T> : T[1] extends "![]?[]?[]?" ? Assignable_0111<T> : T[1] extends "?[]![]![]!" ? Assignable_1000<T> : T[1] extends "?[]![]![]?" ? Assignable_1001<T> : T[1] extends "?[]![]?[]!" ? Assignable_1010<T> : T[1] extends "?[]![]?[]?" ? Assignable_1011<T> : T[1] extends "?[]?[]![]!" ? Assignable_1100<T> : T[1] extends "?[]?[]![]?" ? Assignable_1101<T> : T[1] extends "?[]?[]?[]!" ? Assignable_1110<T> : T[1] extends "?[]?[]?[]?" ? Assignable_1111<T> : never;
|
|
290
51
|
//#endregion
|
|
291
52
|
//#region packages/core/src/types/fragment/assignable-input.d.ts
|
|
292
53
|
type AnyAssignableInputValue = ConstValue | AnyVarRef | {
|
|
@@ -425,26 +186,28 @@ declare const GQL_ELEMENT_CONTEXT: unique symbol;
|
|
|
425
186
|
type GqlElementContext = {
|
|
426
187
|
canonicalId: string;
|
|
427
188
|
};
|
|
428
|
-
type GqlElementDefinitionFactory<T
|
|
429
|
-
declare abstract class GqlElement<TDefinition, TInfer extends object = object> {
|
|
189
|
+
type GqlElementDefinitionFactory<T> = (context: GqlElementContext | null) => T | Promise<T>;
|
|
190
|
+
declare abstract class GqlElement<TDefinition extends object, TInfer extends object = object> {
|
|
430
191
|
readonly $infer: TInfer;
|
|
431
192
|
private [GQL_ELEMENT_FACTORY];
|
|
432
193
|
private [GQL_ELEMENT_CONTEXT];
|
|
433
|
-
protected constructor(define: GqlElementDefinitionFactory<TDefinition>);
|
|
194
|
+
protected constructor(define: GqlElementDefinitionFactory<TDefinition>, getDeps?: () => GqlElement<any>[]);
|
|
434
195
|
static setContext<TElement extends GqlElement<any>>(element: TElement, context: GqlElementContext): void;
|
|
435
|
-
static
|
|
436
|
-
static
|
|
196
|
+
static createEvaluationGenerator(element: GqlElement<any>): Generator<Promise<void>, void, void>;
|
|
197
|
+
private static evaluateInstantly;
|
|
198
|
+
static evaluateSync(element: GqlElement<any>): void;
|
|
199
|
+
static get<TValue extends object>(element: GqlElement<TValue>): TValue;
|
|
437
200
|
}
|
|
438
201
|
//#endregion
|
|
439
202
|
//#region packages/core/src/utils/hidden.d.ts
|
|
440
|
-
declare const hidden: <T
|
|
441
|
-
type Hidden<T
|
|
203
|
+
declare const hidden: <T>() => (() => T);
|
|
204
|
+
type Hidden<T> = () => T;
|
|
442
205
|
//#endregion
|
|
443
206
|
//#region packages/core/src/utils/type-utils.d.ts
|
|
444
207
|
type UnionToIntersection<U> = (U extends any ? (x: U) => void : never) extends ((x: infer I) => void) ? I : never;
|
|
445
|
-
type Tuple<T
|
|
446
|
-
type StripFunctions<T
|
|
447
|
-
type StripSymbols<T
|
|
208
|
+
type Tuple<T> = [T, ...T[]];
|
|
209
|
+
type StripFunctions<T extends object> = { [K in keyof T as K extends "$infer" ? never : T[K] extends ((...args: any[]) => any) ? never : K]: T[K] };
|
|
210
|
+
type StripSymbols<T extends object> = { [K in keyof T as K extends symbol | "$infer" ? never : K]: T[K] };
|
|
448
211
|
//#endregion
|
|
449
212
|
//#region packages/core/src/types/runtime/runtime-adapter.d.ts
|
|
450
213
|
/**
|
|
@@ -572,7 +335,7 @@ declare const __EMPTY_SYMBOL__: unique symbol;
|
|
|
572
335
|
type EmptyObject = {
|
|
573
336
|
readonly [__EMPTY_SYMBOL__]: never;
|
|
574
337
|
};
|
|
575
|
-
type IsEmptyObject<T
|
|
338
|
+
type IsEmptyObject<T> = keyof (T & EmptyObject) extends keyof EmptyObject ? true : false;
|
|
576
339
|
type IfEmpty<TTarget, TType> = IsEmptyObject<TTarget> extends true ? TType : never;
|
|
577
340
|
type SwitchIfEmpty<TTarget, TTrue, TFalse> = IsEmptyObject<TTarget> extends true ? TTrue : TFalse;
|
|
578
341
|
declare const empty: () => EmptyObject;
|
|
@@ -612,6 +375,7 @@ type SlicePayload<TVariables extends Partial<AnyAssignableInput> | void, TFields
|
|
|
612
375
|
variables: TVariables;
|
|
613
376
|
getFields: () => TFields$1;
|
|
614
377
|
projection: TProjection;
|
|
378
|
+
metadata?: SliceMetadata | Promise<SliceMetadata>;
|
|
615
379
|
};
|
|
616
380
|
type InferOutputOfSlice<TSlice extends AnySliceOf<any>> = ReturnType<TSlice[typeof __OPERATION_SLICE_BRAND__]>["output"];
|
|
617
381
|
//#endregion
|
|
@@ -633,6 +397,7 @@ type ComposedOperationDefinition<TRuntimeAdapter extends AnyGraphqlRuntimeAdapte
|
|
|
633
397
|
readonly projectionPathGraph: ProjectionPathGraphNode;
|
|
634
398
|
readonly document: TypedDocumentNode<TRawData, TVariables>;
|
|
635
399
|
readonly parse: (result: NormalizedExecutionResult<TRuntimeAdapter, TRawData, any>) => TProjectedData;
|
|
400
|
+
readonly metadata?: OperationMetadata;
|
|
636
401
|
};
|
|
637
402
|
declare class ComposedOperation<TRuntimeAdapter extends AnyGraphqlRuntimeAdapter, TOperationType extends OperationType, TOperationName extends string, TVariableNames extends string[], TVariables extends AnyConstAssignableInput, TRawData extends object, TProjectedData extends object> extends GqlElement<ComposedOperationDefinition<TRuntimeAdapter, TOperationType, TOperationName, TVariableNames, TVariables, TRawData, TProjectedData>, ComposedOperationInferMeta<TVariables, TRawData, TProjectedData>> implements ComposedOperationDefinition<TRuntimeAdapter, TOperationType, TOperationName, TVariableNames, TVariables, TRawData, TProjectedData> {
|
|
638
403
|
readonly [__COMPOSED_OPERATION_BRAND__]: Hidden<{
|
|
@@ -645,6 +410,7 @@ declare class ComposedOperation<TRuntimeAdapter extends AnyGraphqlRuntimeAdapter
|
|
|
645
410
|
get projectionPathGraph(): ProjectionPathGraphNode;
|
|
646
411
|
get document(): TypedDocumentNode<TRawData, TVariables>;
|
|
647
412
|
get parse(): (result: NormalizedExecutionResult<TRuntimeAdapter, TRawData, any>) => TProjectedData;
|
|
413
|
+
get metadata(): OperationMetadata | undefined;
|
|
648
414
|
static create<TSchema extends AnyGraphqlSchema, TRuntimeAdapter extends AnyGraphqlRuntimeAdapter, TOperationType extends OperationType, TOperationName extends string, TVariableDefinitions extends InputTypeSpecifiers, TSliceFragments extends AnySlicePayloads>(define: (context: GqlElementContext | null) => {
|
|
649
415
|
operationType: TOperationType;
|
|
650
416
|
operationName: TOperationName;
|
|
@@ -652,7 +418,16 @@ declare class ComposedOperation<TRuntimeAdapter extends AnyGraphqlRuntimeAdapter
|
|
|
652
418
|
projectionPathGraph: ProjectionPathGraphNode;
|
|
653
419
|
document: TypedDocumentNode<InferComposedOperationRawData<TSchema, TSliceFragments>, ConstAssignableInput<TSchema, TVariableDefinitions>>;
|
|
654
420
|
parse: (result: NormalizedExecutionResult<TRuntimeAdapter, InferComposedOperationRawData<TSchema, TSliceFragments>, any>) => { [K in keyof TSliceFragments]: InferExecutionResultProjection<TSliceFragments[K]["projection"]> };
|
|
655
|
-
|
|
421
|
+
metadata?: OperationMetadata;
|
|
422
|
+
} | Promise<{
|
|
423
|
+
operationType: TOperationType;
|
|
424
|
+
operationName: TOperationName;
|
|
425
|
+
variableNames: (keyof TVariableDefinitions & string)[];
|
|
426
|
+
projectionPathGraph: ProjectionPathGraphNode;
|
|
427
|
+
document: TypedDocumentNode<InferComposedOperationRawData<TSchema, TSliceFragments>, ConstAssignableInput<TSchema, TVariableDefinitions>>;
|
|
428
|
+
parse: (result: NormalizedExecutionResult<TRuntimeAdapter, InferComposedOperationRawData<TSchema, TSliceFragments>, any>) => { [K in keyof TSliceFragments]: InferExecutionResultProjection<TSliceFragments[K]["projection"]> };
|
|
429
|
+
metadata?: OperationMetadata;
|
|
430
|
+
}>): ComposedOperation<TRuntimeAdapter, TOperationType, TOperationName, (keyof TVariableDefinitions & string)[], ConstAssignableInput<TSchema, TVariableDefinitions>, InferComposedOperationRawData<TSchema, TSliceFragments>, { [K in keyof TSliceFragments]: InferExecutionResultProjection<TSliceFragments[K]["projection"]> }>;
|
|
656
431
|
}
|
|
657
432
|
type ProjectionPathGraphNode = {
|
|
658
433
|
readonly matches: {
|
|
@@ -752,6 +527,7 @@ type InlineOperationArtifact<TOperationType extends OperationType, TOperationNam
|
|
|
752
527
|
readonly variableNames: TVariableNames;
|
|
753
528
|
readonly documentSource: () => TFields$1;
|
|
754
529
|
readonly document: TypedDocumentNode<TData, TVariables>;
|
|
530
|
+
readonly metadata?: OperationMetadata;
|
|
755
531
|
};
|
|
756
532
|
declare class InlineOperation<TOperationType extends OperationType, TOperationName extends string, TVariableNames extends string[], TVariables extends AnyConstAssignableInput, TFields$1 extends Partial<AnyFields>, TData extends object> extends GqlElement<InlineOperationArtifact<TOperationType, TOperationName, TVariableNames, TVariables, TFields$1, TData>, InlineOperationInferMeta<TVariables, TData>> implements InlineOperationArtifact<TOperationType, TOperationName, TVariableNames, TVariables, TFields$1, TData> {
|
|
757
533
|
readonly [__INLINE_OPERATION_BRAND__]: Hidden<{
|
|
@@ -763,13 +539,22 @@ declare class InlineOperation<TOperationType extends OperationType, TOperationNa
|
|
|
763
539
|
get variableNames(): TVariableNames;
|
|
764
540
|
get documentSource(): () => TFields$1;
|
|
765
541
|
get document(): TypedDocumentNode<TData, TVariables>;
|
|
542
|
+
get metadata(): OperationMetadata | undefined;
|
|
766
543
|
static create<TSchema extends AnyGraphqlSchema, TOperationType extends OperationType, TOperationName extends string, TVariableDefinitions extends InputTypeSpecifiers, TFields$1 extends AnyFields>(define: (context: GqlElementContext | null) => {
|
|
767
544
|
operationType: TOperationType;
|
|
768
545
|
operationName: TOperationName;
|
|
769
546
|
variableNames: (keyof TVariableDefinitions & string)[];
|
|
770
547
|
documentSource: () => TFields$1;
|
|
771
548
|
document: TypedDocumentNode<InferFields<TSchema, TFields$1>, ConstAssignableInput<TSchema, TVariableDefinitions>>;
|
|
772
|
-
|
|
549
|
+
metadata?: OperationMetadata;
|
|
550
|
+
} | Promise<{
|
|
551
|
+
operationType: TOperationType;
|
|
552
|
+
operationName: TOperationName;
|
|
553
|
+
variableNames: (keyof TVariableDefinitions & string)[];
|
|
554
|
+
documentSource: () => TFields$1;
|
|
555
|
+
document: TypedDocumentNode<InferFields<TSchema, TFields$1>, ConstAssignableInput<TSchema, TVariableDefinitions>>;
|
|
556
|
+
metadata?: OperationMetadata;
|
|
557
|
+
}>): InlineOperation<TOperationType, TOperationName, (keyof TVariableDefinitions & string)[], ConstAssignableInput<TSchema, TVariableDefinitions>, TFields$1, InferFields<TSchema, TFields$1>>;
|
|
773
558
|
}
|
|
774
559
|
//#endregion
|
|
775
560
|
//#region packages/core/src/types/element/model.d.ts
|
|
@@ -814,9 +599,13 @@ declare const createVarAssignments: <TSchema extends AnyGraphqlSchema, TVariable
|
|
|
814
599
|
declare const createVarRefs: <TSchema extends AnyGraphqlSchema, TVarDefinitions extends InputTypeSpecifiers>(definitions: TVarDefinitions) => AssigningInput<TSchema, TVarDefinitions>;
|
|
815
600
|
//#endregion
|
|
816
601
|
//#region packages/core/src/composer/composed-operation.d.ts
|
|
817
|
-
|
|
602
|
+
type ComposedOperationComposerOptions = {
|
|
603
|
+
metadataAdapter?: AnyMetadataAdapter;
|
|
604
|
+
};
|
|
605
|
+
declare const createComposedOperationComposerFactory: <TSchema extends AnyGraphqlSchema, TRuntimeAdapter extends AnyGraphqlRuntimeAdapter>(options?: ComposedOperationComposerOptions) => <TOperationType extends OperationType>(operationType: TOperationType) => <TOperationName extends string, TSliceFragments extends AnySlicePayloads, TVarDefinitions extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
818
606
|
operationName: TOperationName;
|
|
819
607
|
variables?: TVarDefinitions;
|
|
608
|
+
metadata?: MetadataBuilder<ReturnType<typeof createVarRefs<TSchema, MergeVarDefinitions<TVarDefinitions>>>, OperationMetadata>;
|
|
820
609
|
}, builder: ComposedOperationDefinitionBuilder<TSchema, MergeVarDefinitions<TVarDefinitions>, TSliceFragments>) => ComposedOperation<TRuntimeAdapter, TOperationType, TOperationName, (keyof MergeVarDefinitions<TVarDefinitions> & string)[], ConstAssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions>>, InferComposedOperationRawData<TSchema, TSliceFragments>, { [K in keyof TSliceFragments]: ReturnType<TSliceFragments[K]["projection"]["projector"]> }>;
|
|
821
610
|
//#endregion
|
|
822
611
|
//#region packages/core/src/composer/fields-builder.d.ts
|
|
@@ -824,7 +613,11 @@ declare const createFieldFactories: <TSchema extends AnyGraphqlSchema, TTypeName
|
|
|
824
613
|
//#endregion
|
|
825
614
|
//#region packages/core/src/composer/gql-composer.d.ts
|
|
826
615
|
type GqlElementComposer<TComposers, THelper> = <TResult extends AnyModel | AnySlice | AnyComposedOperation | AnyInlineOperation>(composeElement: (composers: TComposers, helper: THelper) => TResult) => TResult;
|
|
827
|
-
|
|
616
|
+
type GqlElementComposerOptions<THelpers extends object = object> = {
|
|
617
|
+
metadataAdapter?: AnyMetadataAdapter;
|
|
618
|
+
helpers?: THelpers;
|
|
619
|
+
};
|
|
620
|
+
declare const createGqlElementComposer: <TSchema extends AnyGraphqlSchema, TRuntimeAdapter extends AnyGraphqlRuntimeAdapter, THelpers extends object = object>(schema: NoInfer<TSchema>, options?: GqlElementComposerOptions<NoInfer<THelpers>>) => GqlElementComposer<{
|
|
828
621
|
model: Omit<{ readonly [TTypeName in keyof TSchema["object"]]: TTypeName extends string ? <TFieldEntries extends AnyFields[], TNormalized extends object, TVarDefinitions extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
829
622
|
variables?: TVarDefinitions | undefined;
|
|
830
623
|
}, builder: FieldsBuilder<TSchema, TTypeName, MergeVarDefinitions<TVarDefinitions>, TFieldEntries>, normalize: (raw: NoInfer<InferFields<TSchema, MergeFields<TFieldEntries>>>) => TNormalized) => Model<TTypeName, SwitchIfEmpty<MergeVarDefinitions<TVarDefinitions>, void, AssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions>>>, MergeFields<TFieldEntries> & {
|
|
@@ -835,50 +628,59 @@ declare const createGqlElementComposer: <TSchema extends AnyGraphqlSchema, TRunt
|
|
|
835
628
|
query: {
|
|
836
629
|
slice: <TFieldEntries extends AnyFields[], TProjection extends AnyProjection, TVarDefinitions_1 extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
837
630
|
variables?: TVarDefinitions_1 | undefined;
|
|
631
|
+
metadata?: SliceMetadataBuilder<AssigningInput<TSchema, MergeVarDefinitions<TVarDefinitions_1>>> | undefined;
|
|
838
632
|
}, fieldBuilder: FieldsBuilder<TSchema, TSchema["operations"]["query"] & keyof TSchema["object"] & string, MergeVarDefinitions<TVarDefinitions_1>, TFieldEntries>, projectionBuilder: ExecutionResultProjectionsBuilder<TSchema, TRuntimeAdapter, MergeFields<TFieldEntries>, TProjection>) => Slice<"query", SwitchIfEmpty<MergeVarDefinitions<TVarDefinitions_1>, void, AssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions_1>>>, MergeFields<TFieldEntries> & {
|
|
839
633
|
[key: symbol]: never;
|
|
840
634
|
}, TProjection>;
|
|
841
635
|
composed: <TOperationName extends string, TSliceFragments extends AnySlicePayloads, TVarDefinitions_2 extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
842
636
|
operationName: TOperationName;
|
|
843
637
|
variables?: TVarDefinitions_2 | undefined;
|
|
638
|
+
metadata?: MetadataBuilder<AssigningInput<TSchema, MergeVarDefinitions<TVarDefinitions_2>>, OperationMetadata> | undefined;
|
|
844
639
|
}, builder: ComposedOperationDefinitionBuilder<TSchema, MergeVarDefinitions<TVarDefinitions_2>, TSliceFragments>) => ComposedOperation<TRuntimeAdapter, "query", TOperationName, (keyof MergeVarDefinitions<TVarDefinitions_2> & string)[], ConstAssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions_2>>, InferComposedOperationRawData<TSchema, TSliceFragments>, { [K in keyof TSliceFragments]: ReturnType<TSliceFragments[K]["projection"]["projector"]> }>;
|
|
845
640
|
inline: <TOperationName extends string, TFields$1 extends AnyFields[], TVarDefinitions_3 extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
846
641
|
operationName: TOperationName;
|
|
847
642
|
variables?: TVarDefinitions_3 | undefined;
|
|
643
|
+
metadata?: MetadataBuilder<AssigningInput<TSchema, MergeVarDefinitions<TVarDefinitions_3>>, OperationMetadata> | undefined;
|
|
848
644
|
}, fieldBuilder: FieldsBuilder<TSchema, TSchema["operations"]["query"] & keyof TSchema["object"] & string, MergeVarDefinitions<TVarDefinitions_3>, TFields$1>) => InlineOperation<"query", TOperationName, (keyof MergeVarDefinitions<TVarDefinitions_3> & string)[], ConstAssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions_3>>, MergeFields<TFields$1>, InferFields<TSchema, MergeFields<TFields$1>>>;
|
|
849
645
|
};
|
|
850
646
|
mutation: {
|
|
851
647
|
slice: <TFieldEntries extends AnyFields[], TProjection extends AnyProjection, TVarDefinitions_1 extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
852
648
|
variables?: TVarDefinitions_1 | undefined;
|
|
649
|
+
metadata?: SliceMetadataBuilder<AssigningInput<TSchema, MergeVarDefinitions<TVarDefinitions_1>>> | undefined;
|
|
853
650
|
}, fieldBuilder: FieldsBuilder<TSchema, TSchema["operations"]["mutation"] & keyof TSchema["object"] & string, MergeVarDefinitions<TVarDefinitions_1>, TFieldEntries>, projectionBuilder: ExecutionResultProjectionsBuilder<TSchema, TRuntimeAdapter, MergeFields<TFieldEntries>, TProjection>) => Slice<"mutation", SwitchIfEmpty<MergeVarDefinitions<TVarDefinitions_1>, void, AssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions_1>>>, MergeFields<TFieldEntries> & {
|
|
854
651
|
[key: symbol]: never;
|
|
855
652
|
}, TProjection>;
|
|
856
653
|
composed: <TOperationName extends string, TSliceFragments extends AnySlicePayloads, TVarDefinitions_2 extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
857
654
|
operationName: TOperationName;
|
|
858
655
|
variables?: TVarDefinitions_2 | undefined;
|
|
656
|
+
metadata?: MetadataBuilder<AssigningInput<TSchema, MergeVarDefinitions<TVarDefinitions_2>>, OperationMetadata> | undefined;
|
|
859
657
|
}, builder: ComposedOperationDefinitionBuilder<TSchema, MergeVarDefinitions<TVarDefinitions_2>, TSliceFragments>) => ComposedOperation<TRuntimeAdapter, "mutation", TOperationName, (keyof MergeVarDefinitions<TVarDefinitions_2> & string)[], ConstAssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions_2>>, InferComposedOperationRawData<TSchema, TSliceFragments>, { [K in keyof TSliceFragments]: ReturnType<TSliceFragments[K]["projection"]["projector"]> }>;
|
|
860
658
|
inline: <TOperationName extends string, TFields$1 extends AnyFields[], TVarDefinitions_3 extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
861
659
|
operationName: TOperationName;
|
|
862
660
|
variables?: TVarDefinitions_3 | undefined;
|
|
661
|
+
metadata?: MetadataBuilder<AssigningInput<TSchema, MergeVarDefinitions<TVarDefinitions_3>>, OperationMetadata> | undefined;
|
|
863
662
|
}, fieldBuilder: FieldsBuilder<TSchema, TSchema["operations"]["mutation"] & keyof TSchema["object"] & string, MergeVarDefinitions<TVarDefinitions_3>, TFields$1>) => InlineOperation<"mutation", TOperationName, (keyof MergeVarDefinitions<TVarDefinitions_3> & string)[], ConstAssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions_3>>, MergeFields<TFields$1>, InferFields<TSchema, MergeFields<TFields$1>>>;
|
|
864
663
|
};
|
|
865
664
|
subscription: {
|
|
866
665
|
slice: <TFieldEntries extends AnyFields[], TProjection extends AnyProjection, TVarDefinitions_1 extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
867
666
|
variables?: TVarDefinitions_1 | undefined;
|
|
667
|
+
metadata?: SliceMetadataBuilder<AssigningInput<TSchema, MergeVarDefinitions<TVarDefinitions_1>>> | undefined;
|
|
868
668
|
}, fieldBuilder: FieldsBuilder<TSchema, TSchema["operations"]["subscription"] & keyof TSchema["object"] & string, MergeVarDefinitions<TVarDefinitions_1>, TFieldEntries>, projectionBuilder: ExecutionResultProjectionsBuilder<TSchema, TRuntimeAdapter, MergeFields<TFieldEntries>, TProjection>) => Slice<"subscription", SwitchIfEmpty<MergeVarDefinitions<TVarDefinitions_1>, void, AssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions_1>>>, MergeFields<TFieldEntries> & {
|
|
869
669
|
[key: symbol]: never;
|
|
870
670
|
}, TProjection>;
|
|
871
671
|
composed: <TOperationName extends string, TSliceFragments extends AnySlicePayloads, TVarDefinitions_2 extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
872
672
|
operationName: TOperationName;
|
|
873
673
|
variables?: TVarDefinitions_2 | undefined;
|
|
674
|
+
metadata?: MetadataBuilder<AssigningInput<TSchema, MergeVarDefinitions<TVarDefinitions_2>>, OperationMetadata> | undefined;
|
|
874
675
|
}, builder: ComposedOperationDefinitionBuilder<TSchema, MergeVarDefinitions<TVarDefinitions_2>, TSliceFragments>) => ComposedOperation<TRuntimeAdapter, "subscription", TOperationName, (keyof MergeVarDefinitions<TVarDefinitions_2> & string)[], ConstAssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions_2>>, InferComposedOperationRawData<TSchema, TSliceFragments>, { [K in keyof TSliceFragments]: ReturnType<TSliceFragments[K]["projection"]["projector"]> }>;
|
|
875
676
|
inline: <TOperationName extends string, TFields$1 extends AnyFields[], TVarDefinitions_3 extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
876
677
|
operationName: TOperationName;
|
|
877
678
|
variables?: TVarDefinitions_3 | undefined;
|
|
679
|
+
metadata?: MetadataBuilder<AssigningInput<TSchema, MergeVarDefinitions<TVarDefinitions_3>>, OperationMetadata> | undefined;
|
|
878
680
|
}, fieldBuilder: FieldsBuilder<TSchema, TSchema["operations"]["subscription"] & keyof TSchema["object"] & string, MergeVarDefinitions<TVarDefinitions_3>, TFields$1>) => InlineOperation<"subscription", TOperationName, (keyof MergeVarDefinitions<TVarDefinitions_3> & string)[], ConstAssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions_3>>, MergeFields<TFields$1>, InferFields<TSchema, MergeFields<TFields$1>>>;
|
|
879
681
|
};
|
|
880
682
|
}, {
|
|
881
|
-
|
|
683
|
+
$var: (<TVarName extends string>(varName: TVarName) => {
|
|
882
684
|
scalar: <const TTypeName_1 extends keyof TSchema["scalar"] & string, const TModifier extends TypeModifier, const TDefaultFn extends (() => GetConstAssignableType<InferInputProfile<TSchema, {
|
|
883
685
|
kind: "scalar";
|
|
884
686
|
name: TTypeName_1;
|
|
@@ -970,8 +772,31 @@ declare const createGqlElementComposer: <TSchema extends AnyGraphqlSchema, TRunt
|
|
|
970
772
|
directives: TDirectives;
|
|
971
773
|
} };
|
|
972
774
|
byField: <const TTypeName_1 extends keyof TSchema["object"] & string, const TFieldName$1 extends keyof TSchema["object"][TTypeName_1]["fields"] & string, const TArgName extends keyof TSchema["object"][TTypeName_1]["fields"][TFieldName$1]["arguments"] & string>(typeName: TTypeName_1, fieldName: TFieldName$1, argName: TArgName) => TSchema["object"][TTypeName_1]["fields"][TFieldName$1]["arguments"][TArgName];
|
|
775
|
+
}) & {
|
|
776
|
+
getName: (varRef: AnyVarRef) => string;
|
|
777
|
+
getValue: (varRef: AnyVarRef) => ConstValue;
|
|
778
|
+
getInner: (varRef: AnyVarRef) => VarRefInner;
|
|
973
779
|
};
|
|
974
|
-
}>;
|
|
780
|
+
} & THelpers>;
|
|
781
|
+
//#endregion
|
|
782
|
+
//#region packages/core/src/composer/helpers.d.ts
|
|
783
|
+
/**
|
|
784
|
+
* Helper function for defining typed helpers with better inference.
|
|
785
|
+
* Use this when you need explicit typing or when type inference needs assistance.
|
|
786
|
+
*
|
|
787
|
+
* @example
|
|
788
|
+
* ```typescript
|
|
789
|
+
* const gql = createGqlElementComposer(schema, {
|
|
790
|
+
* helpers: defineHelpers({
|
|
791
|
+
* auth: {
|
|
792
|
+
* requiresLogin: () => ({ requiresAuth: true }),
|
|
793
|
+
* adminOnly: () => ({ requiresAuth: true, role: 'admin' }),
|
|
794
|
+
* },
|
|
795
|
+
* }),
|
|
796
|
+
* });
|
|
797
|
+
* ```
|
|
798
|
+
*/
|
|
799
|
+
declare const defineHelpers: <T extends object>(helpers: T) => T;
|
|
975
800
|
//#endregion
|
|
976
801
|
//#region packages/core/src/composer/model.d.ts
|
|
977
802
|
declare const createGqlModelComposers: <TSchema extends AnyGraphqlSchema>(schema: NoInfer<TSchema>) => Omit<{ readonly [TTypeName in keyof TSchema["object"]]: TTypeName extends string ? <TFieldEntries extends AnyFields[], TNormalized extends object, TVarDefinitions extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
@@ -990,6 +815,7 @@ declare function createPathGraphFromSliceEntries(fragments: {
|
|
|
990
815
|
//#region packages/core/src/composer/slice.d.ts
|
|
991
816
|
declare const createSliceComposerFactory: <TSchema extends AnyGraphqlSchema, TRuntimeAdapter extends AnyGraphqlRuntimeAdapter>(schema: NoInfer<TSchema>) => <TOperationType extends OperationType>(operationType: TOperationType) => <TFieldEntries extends AnyFields[], TProjection extends AnyProjection, TVarDefinitions extends InputTypeSpecifiers[] = [{}]>(options: {
|
|
992
817
|
variables?: TVarDefinitions;
|
|
818
|
+
metadata?: SliceMetadataBuilder<AssigningInput<TSchema, MergeVarDefinitions<TVarDefinitions>>>;
|
|
993
819
|
}, fieldBuilder: FieldsBuilder<TSchema, TSchema["operations"][TOperationType] & keyof TSchema["object"] & string, MergeVarDefinitions<TVarDefinitions>, TFieldEntries>, projectionBuilder: ExecutionResultProjectionsBuilder<TSchema, TRuntimeAdapter, MergeFields<TFieldEntries>, TProjection>) => Slice<TOperationType, SwitchIfEmpty<MergeVarDefinitions<TVarDefinitions>, void, AssignableInput<TSchema, MergeVarDefinitions<TVarDefinitions>>>, MergeFields<TFieldEntries> & {
|
|
994
820
|
[key: symbol]: never;
|
|
995
821
|
}, TProjection>;
|
|
@@ -1019,7 +845,7 @@ type AssignableDefaultValue<TSchema extends AnyGraphqlSchema, TKind extends "sca
|
|
|
1019
845
|
};
|
|
1020
846
|
}[TKind]>;
|
|
1021
847
|
declare const createVarBuilder: <TSchema extends AnyGraphqlSchema>(schema: TSchema) => {
|
|
1022
|
-
|
|
848
|
+
$var: (<TVarName extends string>(varName: TVarName) => {
|
|
1023
849
|
scalar: <const TTypeName$1 extends keyof TSchema["scalar"] & string, const TModifier extends TypeModifier, const TDefaultFn extends (() => AssignableDefaultValue<TSchema, "scalar", TTypeName$1, TModifier>) | null = null, const TDirectives extends AnyConstDirectiveAttachments = {}>(type: ModifiedTypeName<[keyof TSchema["scalar"] & string], TTypeName$1, TModifier>, extras?: {
|
|
1024
850
|
default?: (TDefaultFn & (() => AssignableDefaultValue<TSchema, "scalar", TTypeName$1, TModifier>)) | (NoInfer<TDefaultFn> extends null ? () => AssignableDefaultValue<TSchema, "scalar", TTypeName$1, TModifier> : never) | undefined;
|
|
1025
851
|
directives?: TDirectives | undefined;
|
|
@@ -1057,6 +883,10 @@ declare const createVarBuilder: <TSchema extends AnyGraphqlSchema>(schema: TSche
|
|
|
1057
883
|
directives: TDirectives;
|
|
1058
884
|
} };
|
|
1059
885
|
byField: <const TTypeName$1 extends keyof TSchema["object"] & string, const TFieldName$1 extends keyof TSchema["object"][TTypeName$1]["fields"] & string, const TArgName extends keyof TSchema["object"][TTypeName$1]["fields"][TFieldName$1]["arguments"] & string>(typeName: TTypeName$1, fieldName: TFieldName$1, argName: TArgName) => TSchema["object"][TTypeName$1]["fields"][TFieldName$1]["arguments"][TArgName];
|
|
886
|
+
}) & {
|
|
887
|
+
getName: (varRef: AnyVarRef) => string;
|
|
888
|
+
getValue: (varRef: AnyVarRef) => ConstValue;
|
|
889
|
+
getInner: (varRef: AnyVarRef) => VarRefInner;
|
|
1060
890
|
};
|
|
1061
891
|
};
|
|
1062
892
|
//#endregion
|
|
@@ -1181,5 +1011,5 @@ declare const unsafeOutputType: {
|
|
|
1181
1011
|
//#region packages/core/src/utils/wrap-by-key.d.ts
|
|
1182
1012
|
declare function wrapByKey<TName extends string, TValue>(name: TName, value: TValue): { [K in TName]: TValue };
|
|
1183
1013
|
//#endregion
|
|
1184
|
-
export {
|
|
1185
|
-
//# sourceMappingURL=index-
|
|
1014
|
+
export { InferComposedOperationRawData as $, InferField as $t, AnyFieldSelectionFactoryReturn as A, StripFunctions as At, MergeFields as B, buildConstValueNode as Bt, Model as C, SlicedExecutionResultSuccess as Ct, InlineOperation as D, NormalizedError as Dt, AnyInlineOperationOf as E, NonGraphqlErrorResult as Et, FieldSelectionFactoryPrimitiveReturn as F, hidden as Ft, AnyExecutionResultProjectionsBuilder as G, AvailableFieldPathOf as Gt, NestedObjectFieldsBuilderTools as H, buildOperationTypeNode as Ht, FieldSelectionFactoryReturn as I, GqlElement as It, AnyComposedOperationOf as J, AnyFieldSelection as Jt, ExecutionResultProjectionsBuilder as K, InferByFieldPath as Kt, FieldSelectionFactoryUnionReturn as L, GqlElementContext as Lt, FieldSelectionFactory as M, Tuple as Mt, FieldSelectionFactoryFieldArguments as N, UnionToIntersection as Nt, InlineOperationInferMeta as O, NormalizedExecutionResult as Ot, FieldSelectionFactoryObjectReturn as P, Hidden as Pt, ConcatSlicePayloads as Q, FieldSelectionTemplateOf as Qt, FieldsBuilder as R, GqlElementDefinitionFactory as Rt, AnyModel as S, SlicedExecutionResultError as St, AnyInlineOperation as T, GraphqlExecutionResult as Tt, NestedUnionFieldsBuilder as U, buildWithTypeModifier as Ut, NestedObjectFieldsBuilder as V, buildDocument as Vt, mergeFields as W, AnyFieldPath as Wt, ComposedOperationDefinitionBuilder as X, AnyNestedObject as Xt, ComposedOperation as Y, AnyFields as Yt, ComposedOperationInferMeta as Z, AnyNestedUnion as Zt, createComposedOperationComposerFactory as _, AnySlicedExecutionResult as _t, defineOperationRoots as a, ConstAssignableInputValue as an, InferOutputOfSlice as at, createVarRefs as b, SlicedExecutionResult as bt, createSliceComposerFactory as c, AnyAssignableInputValue as cn, SlicePayload as ct, defineHelpers as d, AssignableInputByFieldName as dn, SwitchIfEmpty as dt, InferFields as en, ProjectionPathGraphNode as et, GqlElementComposer as f, AssignableInputValue as fn, empty as ft, ComposedOperationComposerOptions as g, parseModifiedTypeName as gn, ProjectionPath as gt, createFieldFactories as h, ModifiedTypeName as hn, Projection as ht, define as i, ConstAssignableInput as in, AnySlicePayloads as it, FieldSelectionFactories as j, StripSymbols as jt, AnyFieldSelectionFactory as k, AnyGraphqlRuntimeAdapter as kt, createPathGraphFromSliceEntries as l, AnyAssigningInput as ln, EmptyObject as lt, createGqlElementComposer as m, GetAssignableType as mn, InferExecutionResultProjection as mt, unsafeInputType as n, AnyConstAssignableInput as nn, AnySliceOf as nt, defineScalar as o, AnyDirectiveAttachments as on, Slice as ot, GqlElementComposerOptions as p, AssigningInput as pn, AnyProjection as pt, AnyComposedOperation as q, AbstractFieldSelection as qt, unsafeOutputType as r, AnyConstAssignableInputValue as rn, AnySlicePayload as rt, createVarBuilder as s, AnyAssignableInput as sn, SliceInferMeta as st, wrapByKey as t, AnyConstDirectiveAttachments as tn, AnySlice as tt, createGqlModelComposers as u, AssignableInput as un, IfEmpty as ut, MergeVarDefinitions as v, AnySlicedExecutionResultRecord as vt, ModelInferMeta as w, EmptyResult as wt, mergeVarDefinitions as x, SlicedExecutionResultEmpty as xt, createVarAssignments as y, SafeUnwrapResult as yt, FieldsBuilderTools as z, buildArgumentValue as zt };
|
|
1015
|
+
//# sourceMappingURL=index-DYwkqPzd.d.ts.map
|