@executor-js/plugin-graphql 1.4.29 → 1.4.31

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.
Files changed (40) hide show
  1. package/dist/{AddGraphqlSource-3Z3DB4KQ.js → AddGraphqlSource-PBMKSY7Y.js} +29 -18
  2. package/dist/AddGraphqlSource-PBMKSY7Y.js.map +1 -0
  3. package/dist/{EditGraphqlSource-F37RPNKV.js → EditGraphqlSource-AFR4RQHY.js} +107 -91
  4. package/dist/EditGraphqlSource-AFR4RQHY.js.map +1 -0
  5. package/dist/{GraphqlSourceSummary-6EYBXVD2.js → GraphqlSourceSummary-MY4AW37M.js} +4 -4
  6. package/dist/GraphqlSourceSummary-MY4AW37M.js.map +1 -0
  7. package/dist/api/group.d.ts +71 -232
  8. package/dist/api/handlers.d.ts +5 -45
  9. package/dist/api/index.d.ts +76 -404
  10. package/dist/{chunk-PO2TPM5B.js → chunk-7S2FM3ZF.js} +578 -613
  11. package/dist/chunk-7S2FM3ZF.js.map +1 -0
  12. package/dist/chunk-D6E4WAYW.js +51 -0
  13. package/dist/chunk-D6E4WAYW.js.map +1 -0
  14. package/dist/{chunk-445ZPXHU.js → chunk-H422YIM4.js} +15 -34
  15. package/dist/chunk-H422YIM4.js.map +1 -0
  16. package/dist/{chunk-EW4Y3KEX.js → chunk-OYUIHBWZ.js} +23 -80
  17. package/dist/chunk-OYUIHBWZ.js.map +1 -0
  18. package/dist/client.js +7 -47
  19. package/dist/client.js.map +1 -1
  20. package/dist/core.js +3 -8
  21. package/dist/index.js +3 -2
  22. package/dist/react/atoms.d.ts +146 -186
  23. package/dist/react/client.d.ts +70 -231
  24. package/dist/sdk/index.d.ts +2 -2
  25. package/dist/sdk/introspect.d.ts +151 -151
  26. package/dist/sdk/invoke.d.ts +5 -5
  27. package/dist/sdk/plugin.d.ts +74 -228
  28. package/dist/sdk/presets.d.ts +1 -0
  29. package/dist/sdk/store.d.ts +3 -135
  30. package/dist/sdk/types.d.ts +31 -66
  31. package/dist/testing/index.d.ts +20 -2
  32. package/dist/testing.js +77 -29
  33. package/dist/testing.js.map +1 -1
  34. package/package.json +3 -3
  35. package/dist/AddGraphqlSource-3Z3DB4KQ.js.map +0 -1
  36. package/dist/EditGraphqlSource-F37RPNKV.js.map +0 -1
  37. package/dist/GraphqlSourceSummary-6EYBXVD2.js.map +0 -1
  38. package/dist/chunk-445ZPXHU.js.map +0 -1
  39. package/dist/chunk-EW4Y3KEX.js.map +0 -1
  40. package/dist/chunk-PO2TPM5B.js.map +0 -1
@@ -4,27 +4,27 @@ import { GraphqlIntrospectionError } from "./errors";
4
4
  declare const IntrospectionTypeRefSchema: Schema.Struct<{
5
5
  readonly kind: Schema.String;
6
6
  readonly name: Schema.NullOr<Schema.String>;
7
- readonly ofType: Schema.NullOr<Schema.Struct<{
7
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
8
8
  readonly kind: Schema.String;
9
9
  readonly name: Schema.NullOr<Schema.String>;
10
- readonly ofType: Schema.NullOr<Schema.Struct<{
10
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
11
11
  readonly kind: Schema.String;
12
12
  readonly name: Schema.NullOr<Schema.String>;
13
- readonly ofType: Schema.NullOr<Schema.Struct<{
13
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
14
14
  readonly kind: Schema.String;
15
15
  readonly name: Schema.NullOr<Schema.String>;
16
- readonly ofType: Schema.NullOr<Schema.Struct<{
16
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
17
17
  readonly kind: Schema.String;
18
18
  readonly name: Schema.NullOr<Schema.String>;
19
- readonly ofType: Schema.NullOr<Schema.Struct<{
19
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
20
20
  readonly kind: Schema.String;
21
21
  readonly name: Schema.NullOr<Schema.String>;
22
- readonly ofType: Schema.Null;
23
- }>>;
24
- }>>;
25
- }>>;
26
- }>>;
27
- }>>;
22
+ readonly ofType: Schema.optional<Schema.Null>;
23
+ }>>>;
24
+ }>>>;
25
+ }>>>;
26
+ }>>>;
27
+ }>>>;
28
28
  }>;
29
29
  declare const IntrospectionInputValueSchema: Schema.Struct<{
30
30
  readonly name: Schema.String;
@@ -32,27 +32,27 @@ declare const IntrospectionInputValueSchema: Schema.Struct<{
32
32
  readonly type: Schema.Struct<{
33
33
  readonly kind: Schema.String;
34
34
  readonly name: Schema.NullOr<Schema.String>;
35
- readonly ofType: Schema.NullOr<Schema.Struct<{
35
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
36
36
  readonly kind: Schema.String;
37
37
  readonly name: Schema.NullOr<Schema.String>;
38
- readonly ofType: Schema.NullOr<Schema.Struct<{
38
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
39
39
  readonly kind: Schema.String;
40
40
  readonly name: Schema.NullOr<Schema.String>;
41
- readonly ofType: Schema.NullOr<Schema.Struct<{
41
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
42
42
  readonly kind: Schema.String;
43
43
  readonly name: Schema.NullOr<Schema.String>;
44
- readonly ofType: Schema.NullOr<Schema.Struct<{
44
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
45
45
  readonly kind: Schema.String;
46
46
  readonly name: Schema.NullOr<Schema.String>;
47
- readonly ofType: Schema.NullOr<Schema.Struct<{
47
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
48
48
  readonly kind: Schema.String;
49
49
  readonly name: Schema.NullOr<Schema.String>;
50
- readonly ofType: Schema.Null;
51
- }>>;
52
- }>>;
53
- }>>;
54
- }>>;
55
- }>>;
50
+ readonly ofType: Schema.optional<Schema.Null>;
51
+ }>>>;
52
+ }>>>;
53
+ }>>>;
54
+ }>>>;
55
+ }>>>;
56
56
  }>;
57
57
  readonly defaultValue: Schema.NullOr<Schema.String>;
58
58
  }>;
@@ -65,54 +65,54 @@ declare const IntrospectionFieldSchema: Schema.Struct<{
65
65
  readonly type: Schema.Struct<{
66
66
  readonly kind: Schema.String;
67
67
  readonly name: Schema.NullOr<Schema.String>;
68
- readonly ofType: Schema.NullOr<Schema.Struct<{
68
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
69
69
  readonly kind: Schema.String;
70
70
  readonly name: Schema.NullOr<Schema.String>;
71
- readonly ofType: Schema.NullOr<Schema.Struct<{
71
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
72
72
  readonly kind: Schema.String;
73
73
  readonly name: Schema.NullOr<Schema.String>;
74
- readonly ofType: Schema.NullOr<Schema.Struct<{
74
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
75
75
  readonly kind: Schema.String;
76
76
  readonly name: Schema.NullOr<Schema.String>;
77
- readonly ofType: Schema.NullOr<Schema.Struct<{
77
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
78
78
  readonly kind: Schema.String;
79
79
  readonly name: Schema.NullOr<Schema.String>;
80
- readonly ofType: Schema.NullOr<Schema.Struct<{
80
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
81
81
  readonly kind: Schema.String;
82
82
  readonly name: Schema.NullOr<Schema.String>;
83
- readonly ofType: Schema.Null;
84
- }>>;
85
- }>>;
86
- }>>;
87
- }>>;
88
- }>>;
83
+ readonly ofType: Schema.optional<Schema.Null>;
84
+ }>>>;
85
+ }>>>;
86
+ }>>>;
87
+ }>>>;
88
+ }>>>;
89
89
  }>;
90
90
  readonly defaultValue: Schema.NullOr<Schema.String>;
91
91
  }>>;
92
92
  readonly type: Schema.Struct<{
93
93
  readonly kind: Schema.String;
94
94
  readonly name: Schema.NullOr<Schema.String>;
95
- readonly ofType: Schema.NullOr<Schema.Struct<{
95
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
96
96
  readonly kind: Schema.String;
97
97
  readonly name: Schema.NullOr<Schema.String>;
98
- readonly ofType: Schema.NullOr<Schema.Struct<{
98
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
99
99
  readonly kind: Schema.String;
100
100
  readonly name: Schema.NullOr<Schema.String>;
101
- readonly ofType: Schema.NullOr<Schema.Struct<{
101
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
102
102
  readonly kind: Schema.String;
103
103
  readonly name: Schema.NullOr<Schema.String>;
104
- readonly ofType: Schema.NullOr<Schema.Struct<{
104
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
105
105
  readonly kind: Schema.String;
106
106
  readonly name: Schema.NullOr<Schema.String>;
107
- readonly ofType: Schema.NullOr<Schema.Struct<{
107
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
108
108
  readonly kind: Schema.String;
109
109
  readonly name: Schema.NullOr<Schema.String>;
110
- readonly ofType: Schema.Null;
111
- }>>;
112
- }>>;
113
- }>>;
114
- }>>;
115
- }>>;
110
+ readonly ofType: Schema.optional<Schema.Null>;
111
+ }>>>;
112
+ }>>>;
113
+ }>>>;
114
+ }>>>;
115
+ }>>>;
116
116
  }>;
117
117
  }>;
118
118
  declare const IntrospectionTypeSchema: Schema.Struct<{
@@ -128,54 +128,54 @@ declare const IntrospectionTypeSchema: Schema.Struct<{
128
128
  readonly type: Schema.Struct<{
129
129
  readonly kind: Schema.String;
130
130
  readonly name: Schema.NullOr<Schema.String>;
131
- readonly ofType: Schema.NullOr<Schema.Struct<{
131
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
132
132
  readonly kind: Schema.String;
133
133
  readonly name: Schema.NullOr<Schema.String>;
134
- readonly ofType: Schema.NullOr<Schema.Struct<{
134
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
135
135
  readonly kind: Schema.String;
136
136
  readonly name: Schema.NullOr<Schema.String>;
137
- readonly ofType: Schema.NullOr<Schema.Struct<{
137
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
138
138
  readonly kind: Schema.String;
139
139
  readonly name: Schema.NullOr<Schema.String>;
140
- readonly ofType: Schema.NullOr<Schema.Struct<{
140
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
141
141
  readonly kind: Schema.String;
142
142
  readonly name: Schema.NullOr<Schema.String>;
143
- readonly ofType: Schema.NullOr<Schema.Struct<{
143
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
144
144
  readonly kind: Schema.String;
145
145
  readonly name: Schema.NullOr<Schema.String>;
146
- readonly ofType: Schema.Null;
147
- }>>;
148
- }>>;
149
- }>>;
150
- }>>;
151
- }>>;
146
+ readonly ofType: Schema.optional<Schema.Null>;
147
+ }>>>;
148
+ }>>>;
149
+ }>>>;
150
+ }>>>;
151
+ }>>>;
152
152
  }>;
153
153
  readonly defaultValue: Schema.NullOr<Schema.String>;
154
154
  }>>;
155
155
  readonly type: Schema.Struct<{
156
156
  readonly kind: Schema.String;
157
157
  readonly name: Schema.NullOr<Schema.String>;
158
- readonly ofType: Schema.NullOr<Schema.Struct<{
158
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
159
159
  readonly kind: Schema.String;
160
160
  readonly name: Schema.NullOr<Schema.String>;
161
- readonly ofType: Schema.NullOr<Schema.Struct<{
161
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
162
162
  readonly kind: Schema.String;
163
163
  readonly name: Schema.NullOr<Schema.String>;
164
- readonly ofType: Schema.NullOr<Schema.Struct<{
164
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
165
165
  readonly kind: Schema.String;
166
166
  readonly name: Schema.NullOr<Schema.String>;
167
- readonly ofType: Schema.NullOr<Schema.Struct<{
167
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
168
168
  readonly kind: Schema.String;
169
169
  readonly name: Schema.NullOr<Schema.String>;
170
- readonly ofType: Schema.NullOr<Schema.Struct<{
170
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
171
171
  readonly kind: Schema.String;
172
172
  readonly name: Schema.NullOr<Schema.String>;
173
- readonly ofType: Schema.Null;
174
- }>>;
175
- }>>;
176
- }>>;
177
- }>>;
178
- }>>;
173
+ readonly ofType: Schema.optional<Schema.Null>;
174
+ }>>>;
175
+ }>>>;
176
+ }>>>;
177
+ }>>>;
178
+ }>>>;
179
179
  }>;
180
180
  }>>>;
181
181
  readonly inputFields: Schema.NullOr<Schema.$Array<Schema.Struct<{
@@ -184,27 +184,27 @@ declare const IntrospectionTypeSchema: Schema.Struct<{
184
184
  readonly type: Schema.Struct<{
185
185
  readonly kind: Schema.String;
186
186
  readonly name: Schema.NullOr<Schema.String>;
187
- readonly ofType: Schema.NullOr<Schema.Struct<{
187
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
188
188
  readonly kind: Schema.String;
189
189
  readonly name: Schema.NullOr<Schema.String>;
190
- readonly ofType: Schema.NullOr<Schema.Struct<{
190
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
191
191
  readonly kind: Schema.String;
192
192
  readonly name: Schema.NullOr<Schema.String>;
193
- readonly ofType: Schema.NullOr<Schema.Struct<{
193
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
194
194
  readonly kind: Schema.String;
195
195
  readonly name: Schema.NullOr<Schema.String>;
196
- readonly ofType: Schema.NullOr<Schema.Struct<{
196
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
197
197
  readonly kind: Schema.String;
198
198
  readonly name: Schema.NullOr<Schema.String>;
199
- readonly ofType: Schema.NullOr<Schema.Struct<{
199
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
200
200
  readonly kind: Schema.String;
201
201
  readonly name: Schema.NullOr<Schema.String>;
202
- readonly ofType: Schema.Null;
203
- }>>;
204
- }>>;
205
- }>>;
206
- }>>;
207
- }>>;
202
+ readonly ofType: Schema.optional<Schema.Null>;
203
+ }>>>;
204
+ }>>>;
205
+ }>>>;
206
+ }>>>;
207
+ }>>>;
208
208
  }>;
209
209
  readonly defaultValue: Schema.NullOr<Schema.String>;
210
210
  }>>>;
@@ -234,54 +234,54 @@ declare const IntrospectionResultSchema: Schema.Struct<{
234
234
  readonly type: Schema.Struct<{
235
235
  readonly kind: Schema.String;
236
236
  readonly name: Schema.NullOr<Schema.String>;
237
- readonly ofType: Schema.NullOr<Schema.Struct<{
237
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
238
238
  readonly kind: Schema.String;
239
239
  readonly name: Schema.NullOr<Schema.String>;
240
- readonly ofType: Schema.NullOr<Schema.Struct<{
240
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
241
241
  readonly kind: Schema.String;
242
242
  readonly name: Schema.NullOr<Schema.String>;
243
- readonly ofType: Schema.NullOr<Schema.Struct<{
243
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
244
244
  readonly kind: Schema.String;
245
245
  readonly name: Schema.NullOr<Schema.String>;
246
- readonly ofType: Schema.NullOr<Schema.Struct<{
246
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
247
247
  readonly kind: Schema.String;
248
248
  readonly name: Schema.NullOr<Schema.String>;
249
- readonly ofType: Schema.NullOr<Schema.Struct<{
249
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
250
250
  readonly kind: Schema.String;
251
251
  readonly name: Schema.NullOr<Schema.String>;
252
- readonly ofType: Schema.Null;
253
- }>>;
254
- }>>;
255
- }>>;
256
- }>>;
257
- }>>;
252
+ readonly ofType: Schema.optional<Schema.Null>;
253
+ }>>>;
254
+ }>>>;
255
+ }>>>;
256
+ }>>>;
257
+ }>>>;
258
258
  }>;
259
259
  readonly defaultValue: Schema.NullOr<Schema.String>;
260
260
  }>>;
261
261
  readonly type: Schema.Struct<{
262
262
  readonly kind: Schema.String;
263
263
  readonly name: Schema.NullOr<Schema.String>;
264
- readonly ofType: Schema.NullOr<Schema.Struct<{
264
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
265
265
  readonly kind: Schema.String;
266
266
  readonly name: Schema.NullOr<Schema.String>;
267
- readonly ofType: Schema.NullOr<Schema.Struct<{
267
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
268
268
  readonly kind: Schema.String;
269
269
  readonly name: Schema.NullOr<Schema.String>;
270
- readonly ofType: Schema.NullOr<Schema.Struct<{
270
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
271
271
  readonly kind: Schema.String;
272
272
  readonly name: Schema.NullOr<Schema.String>;
273
- readonly ofType: Schema.NullOr<Schema.Struct<{
273
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
274
274
  readonly kind: Schema.String;
275
275
  readonly name: Schema.NullOr<Schema.String>;
276
- readonly ofType: Schema.NullOr<Schema.Struct<{
276
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
277
277
  readonly kind: Schema.String;
278
278
  readonly name: Schema.NullOr<Schema.String>;
279
- readonly ofType: Schema.Null;
280
- }>>;
281
- }>>;
282
- }>>;
283
- }>>;
284
- }>>;
279
+ readonly ofType: Schema.optional<Schema.Null>;
280
+ }>>>;
281
+ }>>>;
282
+ }>>>;
283
+ }>>>;
284
+ }>>>;
285
285
  }>;
286
286
  }>>>;
287
287
  readonly inputFields: Schema.NullOr<Schema.$Array<Schema.Struct<{
@@ -290,27 +290,27 @@ declare const IntrospectionResultSchema: Schema.Struct<{
290
290
  readonly type: Schema.Struct<{
291
291
  readonly kind: Schema.String;
292
292
  readonly name: Schema.NullOr<Schema.String>;
293
- readonly ofType: Schema.NullOr<Schema.Struct<{
293
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
294
294
  readonly kind: Schema.String;
295
295
  readonly name: Schema.NullOr<Schema.String>;
296
- readonly ofType: Schema.NullOr<Schema.Struct<{
296
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
297
297
  readonly kind: Schema.String;
298
298
  readonly name: Schema.NullOr<Schema.String>;
299
- readonly ofType: Schema.NullOr<Schema.Struct<{
299
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
300
300
  readonly kind: Schema.String;
301
301
  readonly name: Schema.NullOr<Schema.String>;
302
- readonly ofType: Schema.NullOr<Schema.Struct<{
302
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
303
303
  readonly kind: Schema.String;
304
304
  readonly name: Schema.NullOr<Schema.String>;
305
- readonly ofType: Schema.NullOr<Schema.Struct<{
305
+ readonly ofType: Schema.optional<Schema.NullOr<Schema.Struct<{
306
306
  readonly kind: Schema.String;
307
307
  readonly name: Schema.NullOr<Schema.String>;
308
- readonly ofType: Schema.Null;
309
- }>>;
310
- }>>;
311
- }>>;
312
- }>>;
313
- }>>;
308
+ readonly ofType: Schema.optional<Schema.Null>;
309
+ }>>>;
310
+ }>>>;
311
+ }>>>;
312
+ }>>>;
313
+ }>>>;
314
314
  }>;
315
315
  readonly defaultValue: Schema.NullOr<Schema.String>;
316
316
  }>>>;
@@ -331,97 +331,97 @@ export type IntrospectionResult = typeof IntrospectionResultSchema.Type;
331
331
  export declare const introspect: (endpoint: string, headers?: Record<string, string> | undefined, queryParams?: Record<string, string> | undefined) => Effect.Effect<{
332
332
  readonly __schema: {
333
333
  readonly types: readonly {
334
+ readonly name: string;
335
+ readonly kind: string;
336
+ readonly description: string | null;
334
337
  readonly fields: readonly {
338
+ readonly name: string;
335
339
  readonly type: {
336
340
  readonly name: string | null;
337
341
  readonly kind: string;
338
- readonly ofType: {
342
+ readonly ofType?: {
339
343
  readonly name: string | null;
340
344
  readonly kind: string;
341
- readonly ofType: {
345
+ readonly ofType?: {
342
346
  readonly name: string | null;
343
347
  readonly kind: string;
344
- readonly ofType: {
348
+ readonly ofType?: {
345
349
  readonly name: string | null;
346
350
  readonly kind: string;
347
- readonly ofType: {
351
+ readonly ofType?: {
348
352
  readonly name: string | null;
349
353
  readonly kind: string;
350
- readonly ofType: {
354
+ readonly ofType?: {
351
355
  readonly name: string | null;
352
356
  readonly kind: string;
353
- readonly ofType: null;
354
- } | null;
355
- } | null;
356
- } | null;
357
- } | null;
358
- } | null;
357
+ readonly ofType?: null | undefined;
358
+ } | null | undefined;
359
+ } | null | undefined;
360
+ } | null | undefined;
361
+ } | null | undefined;
362
+ } | null | undefined;
359
363
  };
360
- readonly name: string;
361
364
  readonly description: string | null;
362
365
  readonly args: readonly {
366
+ readonly name: string;
363
367
  readonly type: {
364
368
  readonly name: string | null;
365
369
  readonly kind: string;
366
- readonly ofType: {
370
+ readonly ofType?: {
367
371
  readonly name: string | null;
368
372
  readonly kind: string;
369
- readonly ofType: {
373
+ readonly ofType?: {
370
374
  readonly name: string | null;
371
375
  readonly kind: string;
372
- readonly ofType: {
376
+ readonly ofType?: {
373
377
  readonly name: string | null;
374
378
  readonly kind: string;
375
- readonly ofType: {
379
+ readonly ofType?: {
376
380
  readonly name: string | null;
377
381
  readonly kind: string;
378
- readonly ofType: {
382
+ readonly ofType?: {
379
383
  readonly name: string | null;
380
384
  readonly kind: string;
381
- readonly ofType: null;
382
- } | null;
383
- } | null;
384
- } | null;
385
- } | null;
386
- } | null;
385
+ readonly ofType?: null | undefined;
386
+ } | null | undefined;
387
+ } | null | undefined;
388
+ } | null | undefined;
389
+ } | null | undefined;
390
+ } | null | undefined;
387
391
  };
388
- readonly defaultValue: string | null;
389
- readonly name: string;
390
392
  readonly description: string | null;
393
+ readonly defaultValue: string | null;
391
394
  }[];
392
395
  }[] | null;
393
- readonly name: string;
394
- readonly kind: string;
395
- readonly description: string | null;
396
396
  readonly inputFields: readonly {
397
+ readonly name: string;
397
398
  readonly type: {
398
399
  readonly name: string | null;
399
400
  readonly kind: string;
400
- readonly ofType: {
401
+ readonly ofType?: {
401
402
  readonly name: string | null;
402
403
  readonly kind: string;
403
- readonly ofType: {
404
+ readonly ofType?: {
404
405
  readonly name: string | null;
405
406
  readonly kind: string;
406
- readonly ofType: {
407
+ readonly ofType?: {
407
408
  readonly name: string | null;
408
409
  readonly kind: string;
409
- readonly ofType: {
410
+ readonly ofType?: {
410
411
  readonly name: string | null;
411
412
  readonly kind: string;
412
- readonly ofType: {
413
+ readonly ofType?: {
413
414
  readonly name: string | null;
414
415
  readonly kind: string;
415
- readonly ofType: null;
416
- } | null;
417
- } | null;
418
- } | null;
419
- } | null;
420
- } | null;
416
+ readonly ofType?: null | undefined;
417
+ } | null | undefined;
418
+ } | null | undefined;
419
+ } | null | undefined;
420
+ } | null | undefined;
421
+ } | null | undefined;
421
422
  };
422
- readonly defaultValue: string | null;
423
- readonly name: string;
424
423
  readonly description: string | null;
424
+ readonly defaultValue: string | null;
425
425
  }[] | null;
426
426
  readonly enumValues: readonly {
427
427
  readonly name: string;
@@ -7,17 +7,17 @@ export declare const resolveHeaders: (headers: Record<string, HeaderValue>, secr
7
7
  }) => Effect.Effect<Record<string, string>>;
8
8
  export declare const endpointForTelemetry: (endpoint: string) => string;
9
9
  export declare const invoke: (operation: {
10
- readonly fieldName: string;
11
10
  readonly kind: "query" | "mutation";
11
+ readonly fieldName: string;
12
12
  readonly variableNames: readonly string[];
13
13
  readonly operationString: string;
14
14
  }, args: Record<string, unknown>, endpoint: string, resolvedHeaders: Record<string, string>, resolvedQueryParams?: Record<string, string> | undefined) => Effect.Effect<{
15
- readonly status: number;
16
15
  readonly data: unknown;
16
+ readonly status: number;
17
17
  readonly errors: unknown;
18
- }, import("effect/unstable/http/HttpClientError").HttpClientError | GraphqlInvocationError, HttpClient.HttpClient>;
18
+ }, GraphqlInvocationError | import("effect/unstable/http/HttpClientError").HttpClientError, HttpClient.HttpClient>;
19
19
  export declare const invokeWithLayer: (operation: OperationBinding, args: Record<string, unknown>, endpoint: string, resolvedHeaders: Record<string, string>, resolvedQueryParams: Record<string, string>, httpClientLayer: Layer.Layer<HttpClient.HttpClient>) => Effect.Effect<{
20
- readonly status: number;
21
20
  readonly data: unknown;
21
+ readonly status: number;
22
22
  readonly errors: unknown;
23
- }, import("effect/unstable/http/HttpClientError").HttpClientError | GraphqlInvocationError, never>;
23
+ }, GraphqlInvocationError | import("effect/unstable/http/HttpClientError").HttpClientError, never>;