@executor-js/plugin-graphql 0.1.0 → 0.2.1

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 (37) hide show
  1. package/dist/AddGraphqlSource-LGXJQEAR.js +239 -0
  2. package/dist/AddGraphqlSource-LGXJQEAR.js.map +1 -0
  3. package/dist/EditGraphqlSource-5Y47ZAZ7.js +251 -0
  4. package/dist/EditGraphqlSource-5Y47ZAZ7.js.map +1 -0
  5. package/dist/GraphqlSourceSummary-F3JWR4YN.js +70 -0
  6. package/dist/GraphqlSourceSummary-F3JWR4YN.js.map +1 -0
  7. package/dist/api/group.d.ts +169 -13
  8. package/dist/api/handlers.d.ts +15 -3
  9. package/dist/api/index.d.ts +410 -0
  10. package/dist/chunk-7QSGNR4C.js +162 -0
  11. package/dist/chunk-7QSGNR4C.js.map +1 -0
  12. package/dist/chunk-HDPYOBBG.js +1633 -0
  13. package/dist/chunk-HDPYOBBG.js.map +1 -0
  14. package/dist/chunk-M4SJY6CB.js +45 -0
  15. package/dist/chunk-M4SJY6CB.js.map +1 -0
  16. package/dist/chunk-WPRU5C6M.js +182 -0
  17. package/dist/chunk-WPRU5C6M.js.map +1 -0
  18. package/dist/client.js +75 -0
  19. package/dist/client.js.map +1 -0
  20. package/dist/core.js +32 -10
  21. package/dist/index.js +2 -1
  22. package/dist/react/GraphqlSourceFields.d.ts +8 -0
  23. package/dist/react/GraphqlSourceSummary.d.ts +3 -1
  24. package/dist/react/atoms.d.ts +170 -10
  25. package/dist/react/client.d.ts +164 -12
  26. package/dist/sdk/index.d.ts +1 -1
  27. package/dist/sdk/introspect.d.ts +437 -43
  28. package/dist/sdk/invoke.d.ts +3 -2
  29. package/dist/sdk/plugin.d.ts +120 -170
  30. package/dist/sdk/store.d.ts +84 -11
  31. package/dist/sdk/types.d.ts +107 -3
  32. package/dist/testing/index.d.ts +52 -0
  33. package/dist/testing.js +131 -0
  34. package/dist/testing.js.map +1 -0
  35. package/package.json +18 -4
  36. package/dist/chunk-EIC5WI6C.js +0 -1225
  37. package/dist/chunk-EIC5WI6C.js.map +0 -1
@@ -1,46 +1,440 @@
1
- import { Effect } from "effect";
1
+ import { Effect, Schema } from "effect";
2
2
  import { HttpClient } from "effect/unstable/http";
3
3
  import { GraphqlIntrospectionError } from "./errors";
4
- export interface IntrospectionTypeRef {
5
- readonly kind: string;
6
- readonly name: string | null;
7
- readonly ofType: IntrospectionTypeRef | null;
8
- }
9
- export interface IntrospectionInputValue {
10
- readonly name: string;
11
- readonly description: string | null;
12
- readonly type: IntrospectionTypeRef;
13
- readonly defaultValue: string | null;
14
- }
15
- export interface IntrospectionField {
16
- readonly name: string;
17
- readonly description: string | null;
18
- readonly args: readonly IntrospectionInputValue[];
19
- readonly type: IntrospectionTypeRef;
20
- }
21
- export interface IntrospectionEnumValue {
22
- readonly name: string;
23
- readonly description: string | null;
24
- }
25
- export interface IntrospectionType {
26
- readonly kind: string;
27
- readonly name: string;
28
- readonly description: string | null;
29
- readonly fields: readonly IntrospectionField[] | null;
30
- readonly inputFields: readonly IntrospectionInputValue[] | null;
31
- readonly enumValues: readonly IntrospectionEnumValue[] | null;
32
- }
33
- export interface IntrospectionSchema {
34
- readonly queryType: {
35
- readonly name: string;
36
- } | null;
37
- readonly mutationType: {
38
- readonly name: string;
39
- } | null;
40
- readonly types: readonly IntrospectionType[];
41
- }
42
- export interface IntrospectionResult {
43
- readonly __schema: IntrospectionSchema;
44
- }
45
- export declare const introspect: (endpoint: string, headers?: Record<string, string> | undefined, queryParams?: Record<string, string> | undefined) => Effect.Effect<IntrospectionResult, GraphqlIntrospectionError, HttpClient.HttpClient>;
4
+ declare const IntrospectionTypeRefSchema: Schema.Struct<{
5
+ readonly kind: Schema.String;
6
+ readonly name: Schema.NullOr<Schema.String>;
7
+ readonly ofType: Schema.NullOr<Schema.Struct<{
8
+ readonly kind: Schema.String;
9
+ readonly name: Schema.NullOr<Schema.String>;
10
+ readonly ofType: Schema.NullOr<Schema.Struct<{
11
+ readonly kind: Schema.String;
12
+ readonly name: Schema.NullOr<Schema.String>;
13
+ readonly ofType: Schema.NullOr<Schema.Struct<{
14
+ readonly kind: Schema.String;
15
+ readonly name: Schema.NullOr<Schema.String>;
16
+ readonly ofType: Schema.NullOr<Schema.Struct<{
17
+ readonly kind: Schema.String;
18
+ readonly name: Schema.NullOr<Schema.String>;
19
+ readonly ofType: Schema.NullOr<Schema.Struct<{
20
+ readonly kind: Schema.String;
21
+ readonly name: Schema.NullOr<Schema.String>;
22
+ readonly ofType: Schema.Null;
23
+ }>>;
24
+ }>>;
25
+ }>>;
26
+ }>>;
27
+ }>>;
28
+ }>;
29
+ declare const IntrospectionInputValueSchema: Schema.Struct<{
30
+ readonly name: Schema.String;
31
+ readonly description: Schema.NullOr<Schema.String>;
32
+ readonly type: Schema.Struct<{
33
+ readonly kind: Schema.String;
34
+ readonly name: Schema.NullOr<Schema.String>;
35
+ readonly ofType: Schema.NullOr<Schema.Struct<{
36
+ readonly kind: Schema.String;
37
+ readonly name: Schema.NullOr<Schema.String>;
38
+ readonly ofType: Schema.NullOr<Schema.Struct<{
39
+ readonly kind: Schema.String;
40
+ readonly name: Schema.NullOr<Schema.String>;
41
+ readonly ofType: Schema.NullOr<Schema.Struct<{
42
+ readonly kind: Schema.String;
43
+ readonly name: Schema.NullOr<Schema.String>;
44
+ readonly ofType: Schema.NullOr<Schema.Struct<{
45
+ readonly kind: Schema.String;
46
+ readonly name: Schema.NullOr<Schema.String>;
47
+ readonly ofType: Schema.NullOr<Schema.Struct<{
48
+ readonly kind: Schema.String;
49
+ readonly name: Schema.NullOr<Schema.String>;
50
+ readonly ofType: Schema.Null;
51
+ }>>;
52
+ }>>;
53
+ }>>;
54
+ }>>;
55
+ }>>;
56
+ }>;
57
+ readonly defaultValue: Schema.NullOr<Schema.String>;
58
+ }>;
59
+ declare const IntrospectionFieldSchema: Schema.Struct<{
60
+ readonly name: Schema.String;
61
+ readonly description: Schema.NullOr<Schema.String>;
62
+ readonly args: Schema.$Array<Schema.Struct<{
63
+ readonly name: Schema.String;
64
+ readonly description: Schema.NullOr<Schema.String>;
65
+ readonly type: Schema.Struct<{
66
+ readonly kind: Schema.String;
67
+ readonly name: Schema.NullOr<Schema.String>;
68
+ readonly ofType: Schema.NullOr<Schema.Struct<{
69
+ readonly kind: Schema.String;
70
+ readonly name: Schema.NullOr<Schema.String>;
71
+ readonly ofType: Schema.NullOr<Schema.Struct<{
72
+ readonly kind: Schema.String;
73
+ readonly name: Schema.NullOr<Schema.String>;
74
+ readonly ofType: Schema.NullOr<Schema.Struct<{
75
+ readonly kind: Schema.String;
76
+ readonly name: Schema.NullOr<Schema.String>;
77
+ readonly ofType: Schema.NullOr<Schema.Struct<{
78
+ readonly kind: Schema.String;
79
+ readonly name: Schema.NullOr<Schema.String>;
80
+ readonly ofType: Schema.NullOr<Schema.Struct<{
81
+ readonly kind: Schema.String;
82
+ readonly name: Schema.NullOr<Schema.String>;
83
+ readonly ofType: Schema.Null;
84
+ }>>;
85
+ }>>;
86
+ }>>;
87
+ }>>;
88
+ }>>;
89
+ }>;
90
+ readonly defaultValue: Schema.NullOr<Schema.String>;
91
+ }>>;
92
+ readonly type: Schema.Struct<{
93
+ readonly kind: Schema.String;
94
+ readonly name: Schema.NullOr<Schema.String>;
95
+ readonly ofType: Schema.NullOr<Schema.Struct<{
96
+ readonly kind: Schema.String;
97
+ readonly name: Schema.NullOr<Schema.String>;
98
+ readonly ofType: Schema.NullOr<Schema.Struct<{
99
+ readonly kind: Schema.String;
100
+ readonly name: Schema.NullOr<Schema.String>;
101
+ readonly ofType: Schema.NullOr<Schema.Struct<{
102
+ readonly kind: Schema.String;
103
+ readonly name: Schema.NullOr<Schema.String>;
104
+ readonly ofType: Schema.NullOr<Schema.Struct<{
105
+ readonly kind: Schema.String;
106
+ readonly name: Schema.NullOr<Schema.String>;
107
+ readonly ofType: Schema.NullOr<Schema.Struct<{
108
+ readonly kind: Schema.String;
109
+ readonly name: Schema.NullOr<Schema.String>;
110
+ readonly ofType: Schema.Null;
111
+ }>>;
112
+ }>>;
113
+ }>>;
114
+ }>>;
115
+ }>>;
116
+ }>;
117
+ }>;
118
+ declare const IntrospectionTypeSchema: Schema.Struct<{
119
+ readonly kind: Schema.String;
120
+ readonly name: Schema.String;
121
+ readonly description: Schema.NullOr<Schema.String>;
122
+ readonly fields: Schema.NullOr<Schema.$Array<Schema.Struct<{
123
+ readonly name: Schema.String;
124
+ readonly description: Schema.NullOr<Schema.String>;
125
+ readonly args: Schema.$Array<Schema.Struct<{
126
+ readonly name: Schema.String;
127
+ readonly description: Schema.NullOr<Schema.String>;
128
+ readonly type: Schema.Struct<{
129
+ readonly kind: Schema.String;
130
+ readonly name: Schema.NullOr<Schema.String>;
131
+ readonly ofType: Schema.NullOr<Schema.Struct<{
132
+ readonly kind: Schema.String;
133
+ readonly name: Schema.NullOr<Schema.String>;
134
+ readonly ofType: Schema.NullOr<Schema.Struct<{
135
+ readonly kind: Schema.String;
136
+ readonly name: Schema.NullOr<Schema.String>;
137
+ readonly ofType: Schema.NullOr<Schema.Struct<{
138
+ readonly kind: Schema.String;
139
+ readonly name: Schema.NullOr<Schema.String>;
140
+ readonly ofType: Schema.NullOr<Schema.Struct<{
141
+ readonly kind: Schema.String;
142
+ readonly name: Schema.NullOr<Schema.String>;
143
+ readonly ofType: Schema.NullOr<Schema.Struct<{
144
+ readonly kind: Schema.String;
145
+ readonly name: Schema.NullOr<Schema.String>;
146
+ readonly ofType: Schema.Null;
147
+ }>>;
148
+ }>>;
149
+ }>>;
150
+ }>>;
151
+ }>>;
152
+ }>;
153
+ readonly defaultValue: Schema.NullOr<Schema.String>;
154
+ }>>;
155
+ readonly type: Schema.Struct<{
156
+ readonly kind: Schema.String;
157
+ readonly name: Schema.NullOr<Schema.String>;
158
+ readonly ofType: Schema.NullOr<Schema.Struct<{
159
+ readonly kind: Schema.String;
160
+ readonly name: Schema.NullOr<Schema.String>;
161
+ readonly ofType: Schema.NullOr<Schema.Struct<{
162
+ readonly kind: Schema.String;
163
+ readonly name: Schema.NullOr<Schema.String>;
164
+ readonly ofType: Schema.NullOr<Schema.Struct<{
165
+ readonly kind: Schema.String;
166
+ readonly name: Schema.NullOr<Schema.String>;
167
+ readonly ofType: Schema.NullOr<Schema.Struct<{
168
+ readonly kind: Schema.String;
169
+ readonly name: Schema.NullOr<Schema.String>;
170
+ readonly ofType: Schema.NullOr<Schema.Struct<{
171
+ readonly kind: Schema.String;
172
+ readonly name: Schema.NullOr<Schema.String>;
173
+ readonly ofType: Schema.Null;
174
+ }>>;
175
+ }>>;
176
+ }>>;
177
+ }>>;
178
+ }>>;
179
+ }>;
180
+ }>>>;
181
+ readonly inputFields: Schema.NullOr<Schema.$Array<Schema.Struct<{
182
+ readonly name: Schema.String;
183
+ readonly description: Schema.NullOr<Schema.String>;
184
+ readonly type: Schema.Struct<{
185
+ readonly kind: Schema.String;
186
+ readonly name: Schema.NullOr<Schema.String>;
187
+ readonly ofType: Schema.NullOr<Schema.Struct<{
188
+ readonly kind: Schema.String;
189
+ readonly name: Schema.NullOr<Schema.String>;
190
+ readonly ofType: Schema.NullOr<Schema.Struct<{
191
+ readonly kind: Schema.String;
192
+ readonly name: Schema.NullOr<Schema.String>;
193
+ readonly ofType: Schema.NullOr<Schema.Struct<{
194
+ readonly kind: Schema.String;
195
+ readonly name: Schema.NullOr<Schema.String>;
196
+ readonly ofType: Schema.NullOr<Schema.Struct<{
197
+ readonly kind: Schema.String;
198
+ readonly name: Schema.NullOr<Schema.String>;
199
+ readonly ofType: Schema.NullOr<Schema.Struct<{
200
+ readonly kind: Schema.String;
201
+ readonly name: Schema.NullOr<Schema.String>;
202
+ readonly ofType: Schema.Null;
203
+ }>>;
204
+ }>>;
205
+ }>>;
206
+ }>>;
207
+ }>>;
208
+ }>;
209
+ readonly defaultValue: Schema.NullOr<Schema.String>;
210
+ }>>>;
211
+ readonly enumValues: Schema.NullOr<Schema.$Array<Schema.Struct<{
212
+ readonly name: Schema.String;
213
+ readonly description: Schema.NullOr<Schema.String>;
214
+ }>>>;
215
+ }>;
216
+ declare const IntrospectionResultSchema: Schema.Struct<{
217
+ readonly __schema: Schema.Struct<{
218
+ readonly queryType: Schema.NullOr<Schema.Struct<{
219
+ readonly name: Schema.String;
220
+ }>>;
221
+ readonly mutationType: Schema.NullOr<Schema.Struct<{
222
+ readonly name: Schema.String;
223
+ }>>;
224
+ readonly types: Schema.$Array<Schema.Struct<{
225
+ readonly kind: Schema.String;
226
+ readonly name: Schema.String;
227
+ readonly description: Schema.NullOr<Schema.String>;
228
+ readonly fields: Schema.NullOr<Schema.$Array<Schema.Struct<{
229
+ readonly name: Schema.String;
230
+ readonly description: Schema.NullOr<Schema.String>;
231
+ readonly args: Schema.$Array<Schema.Struct<{
232
+ readonly name: Schema.String;
233
+ readonly description: Schema.NullOr<Schema.String>;
234
+ readonly type: Schema.Struct<{
235
+ readonly kind: Schema.String;
236
+ readonly name: Schema.NullOr<Schema.String>;
237
+ readonly ofType: Schema.NullOr<Schema.Struct<{
238
+ readonly kind: Schema.String;
239
+ readonly name: Schema.NullOr<Schema.String>;
240
+ readonly ofType: Schema.NullOr<Schema.Struct<{
241
+ readonly kind: Schema.String;
242
+ readonly name: Schema.NullOr<Schema.String>;
243
+ readonly ofType: Schema.NullOr<Schema.Struct<{
244
+ readonly kind: Schema.String;
245
+ readonly name: Schema.NullOr<Schema.String>;
246
+ readonly ofType: Schema.NullOr<Schema.Struct<{
247
+ readonly kind: Schema.String;
248
+ readonly name: Schema.NullOr<Schema.String>;
249
+ readonly ofType: Schema.NullOr<Schema.Struct<{
250
+ readonly kind: Schema.String;
251
+ readonly name: Schema.NullOr<Schema.String>;
252
+ readonly ofType: Schema.Null;
253
+ }>>;
254
+ }>>;
255
+ }>>;
256
+ }>>;
257
+ }>>;
258
+ }>;
259
+ readonly defaultValue: Schema.NullOr<Schema.String>;
260
+ }>>;
261
+ readonly type: Schema.Struct<{
262
+ readonly kind: Schema.String;
263
+ readonly name: Schema.NullOr<Schema.String>;
264
+ readonly ofType: Schema.NullOr<Schema.Struct<{
265
+ readonly kind: Schema.String;
266
+ readonly name: Schema.NullOr<Schema.String>;
267
+ readonly ofType: Schema.NullOr<Schema.Struct<{
268
+ readonly kind: Schema.String;
269
+ readonly name: Schema.NullOr<Schema.String>;
270
+ readonly ofType: Schema.NullOr<Schema.Struct<{
271
+ readonly kind: Schema.String;
272
+ readonly name: Schema.NullOr<Schema.String>;
273
+ readonly ofType: Schema.NullOr<Schema.Struct<{
274
+ readonly kind: Schema.String;
275
+ readonly name: Schema.NullOr<Schema.String>;
276
+ readonly ofType: Schema.NullOr<Schema.Struct<{
277
+ readonly kind: Schema.String;
278
+ readonly name: Schema.NullOr<Schema.String>;
279
+ readonly ofType: Schema.Null;
280
+ }>>;
281
+ }>>;
282
+ }>>;
283
+ }>>;
284
+ }>>;
285
+ }>;
286
+ }>>>;
287
+ readonly inputFields: Schema.NullOr<Schema.$Array<Schema.Struct<{
288
+ readonly name: Schema.String;
289
+ readonly description: Schema.NullOr<Schema.String>;
290
+ readonly type: Schema.Struct<{
291
+ readonly kind: Schema.String;
292
+ readonly name: Schema.NullOr<Schema.String>;
293
+ readonly ofType: Schema.NullOr<Schema.Struct<{
294
+ readonly kind: Schema.String;
295
+ readonly name: Schema.NullOr<Schema.String>;
296
+ readonly ofType: Schema.NullOr<Schema.Struct<{
297
+ readonly kind: Schema.String;
298
+ readonly name: Schema.NullOr<Schema.String>;
299
+ readonly ofType: Schema.NullOr<Schema.Struct<{
300
+ readonly kind: Schema.String;
301
+ readonly name: Schema.NullOr<Schema.String>;
302
+ readonly ofType: Schema.NullOr<Schema.Struct<{
303
+ readonly kind: Schema.String;
304
+ readonly name: Schema.NullOr<Schema.String>;
305
+ readonly ofType: Schema.NullOr<Schema.Struct<{
306
+ readonly kind: Schema.String;
307
+ readonly name: Schema.NullOr<Schema.String>;
308
+ readonly ofType: Schema.Null;
309
+ }>>;
310
+ }>>;
311
+ }>>;
312
+ }>>;
313
+ }>>;
314
+ }>;
315
+ readonly defaultValue: Schema.NullOr<Schema.String>;
316
+ }>>>;
317
+ readonly enumValues: Schema.NullOr<Schema.$Array<Schema.Struct<{
318
+ readonly name: Schema.String;
319
+ readonly description: Schema.NullOr<Schema.String>;
320
+ }>>>;
321
+ }>>;
322
+ }>;
323
+ }>;
324
+ export type IntrospectionTypeRef = typeof IntrospectionTypeRefSchema.Type;
325
+ export type IntrospectionInputValue = typeof IntrospectionInputValueSchema.Type;
326
+ export type IntrospectionField = typeof IntrospectionFieldSchema.Type;
327
+ export type IntrospectionEnumValue = NonNullable<(typeof IntrospectionTypeSchema.Type)["enumValues"]>[number];
328
+ export type IntrospectionType = typeof IntrospectionTypeSchema.Type;
329
+ export type IntrospectionSchema = (typeof IntrospectionResultSchema.Type)["__schema"];
330
+ export type IntrospectionResult = typeof IntrospectionResultSchema.Type;
331
+ export declare const introspect: (endpoint: string, headers?: Record<string, string> | undefined, queryParams?: Record<string, string> | undefined) => Effect.Effect<{
332
+ readonly __schema: {
333
+ readonly types: readonly {
334
+ readonly fields: readonly {
335
+ readonly type: {
336
+ readonly name: string | null;
337
+ readonly kind: string;
338
+ readonly ofType: {
339
+ readonly name: string | null;
340
+ readonly kind: string;
341
+ readonly ofType: {
342
+ readonly name: string | null;
343
+ readonly kind: string;
344
+ readonly ofType: {
345
+ readonly name: string | null;
346
+ readonly kind: string;
347
+ readonly ofType: {
348
+ readonly name: string | null;
349
+ readonly kind: string;
350
+ readonly ofType: {
351
+ readonly name: string | null;
352
+ readonly kind: string;
353
+ readonly ofType: null;
354
+ } | null;
355
+ } | null;
356
+ } | null;
357
+ } | null;
358
+ } | null;
359
+ };
360
+ readonly name: string;
361
+ readonly description: string | null;
362
+ readonly args: readonly {
363
+ readonly type: {
364
+ readonly name: string | null;
365
+ readonly kind: string;
366
+ readonly ofType: {
367
+ readonly name: string | null;
368
+ readonly kind: string;
369
+ readonly ofType: {
370
+ readonly name: string | null;
371
+ readonly kind: string;
372
+ readonly ofType: {
373
+ readonly name: string | null;
374
+ readonly kind: string;
375
+ readonly ofType: {
376
+ readonly name: string | null;
377
+ readonly kind: string;
378
+ readonly ofType: {
379
+ readonly name: string | null;
380
+ readonly kind: string;
381
+ readonly ofType: null;
382
+ } | null;
383
+ } | null;
384
+ } | null;
385
+ } | null;
386
+ } | null;
387
+ };
388
+ readonly defaultValue: string | null;
389
+ readonly name: string;
390
+ readonly description: string | null;
391
+ }[];
392
+ }[] | null;
393
+ readonly name: string;
394
+ readonly kind: string;
395
+ readonly description: string | null;
396
+ readonly inputFields: readonly {
397
+ readonly type: {
398
+ readonly name: string | null;
399
+ readonly kind: string;
400
+ readonly ofType: {
401
+ readonly name: string | null;
402
+ readonly kind: string;
403
+ readonly ofType: {
404
+ readonly name: string | null;
405
+ readonly kind: string;
406
+ readonly ofType: {
407
+ readonly name: string | null;
408
+ readonly kind: string;
409
+ readonly ofType: {
410
+ readonly name: string | null;
411
+ readonly kind: string;
412
+ readonly ofType: {
413
+ readonly name: string | null;
414
+ readonly kind: string;
415
+ readonly ofType: null;
416
+ } | null;
417
+ } | null;
418
+ } | null;
419
+ } | null;
420
+ } | null;
421
+ };
422
+ readonly defaultValue: string | null;
423
+ readonly name: string;
424
+ readonly description: string | null;
425
+ }[] | null;
426
+ readonly enumValues: readonly {
427
+ readonly name: string;
428
+ readonly description: string | null;
429
+ }[] | null;
430
+ }[];
431
+ readonly queryType: {
432
+ readonly name: string;
433
+ } | null;
434
+ readonly mutationType: {
435
+ readonly name: string;
436
+ } | null;
437
+ };
438
+ }, GraphqlIntrospectionError, HttpClient.HttpClient>;
46
439
  export declare const parseIntrospectionJson: (text: string) => Effect.Effect<IntrospectionResult, GraphqlIntrospectionError>;
440
+ export {};
@@ -5,5 +5,6 @@ import { type HeaderValue, type OperationBinding, InvocationResult } from "./typ
5
5
  export declare const resolveHeaders: (headers: Record<string, HeaderValue>, secrets: {
6
6
  readonly get: (id: string) => Effect.Effect<string | null, unknown>;
7
7
  }) => Effect.Effect<Record<string, string>>;
8
- export declare const invoke: (operation: OperationBinding, args: Record<string, unknown>, endpoint: string, resolvedHeaders: Record<string, string>, resolvedQueryParams?: Record<string, string> | undefined) => Effect.Effect<InvocationResult, GraphqlInvocationError | import("effect/unstable/http/HttpClientError").HttpClientError, HttpClient.HttpClient>;
9
- 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<InvocationResult, GraphqlInvocationError, never>;
8
+ export declare const endpointForTelemetry: (endpoint: string) => string;
9
+ export declare const invoke: (operation: OperationBinding, args: Record<string, unknown>, endpoint: string, resolvedHeaders: Record<string, string>, resolvedQueryParams?: Record<string, string> | undefined) => Effect.Effect<InvocationResult, import("effect/unstable/http/HttpClientError").HttpClientError | GraphqlInvocationError, HttpClient.HttpClient>;
10
+ 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<InvocationResult, import("effect/unstable/http/HttpClientError").HttpClientError | GraphqlInvocationError, never>;