@executor-js/plugin-graphql 0.1.0 → 1.4.20

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-3Z3DB4KQ.js +239 -0
  2. package/dist/AddGraphqlSource-3Z3DB4KQ.js.map +1 -0
  3. package/dist/EditGraphqlSource-F37RPNKV.js +251 -0
  4. package/dist/EditGraphqlSource-F37RPNKV.js.map +1 -0
  5. package/dist/GraphqlSourceSummary-6EYBXVD2.js +70 -0
  6. package/dist/GraphqlSourceSummary-6EYBXVD2.js.map +1 -0
  7. package/dist/api/group.d.ts +204 -13
  8. package/dist/api/handlers.d.ts +51 -3
  9. package/dist/api/index.d.ts +482 -0
  10. package/dist/chunk-445ZPXHU.js +148 -0
  11. package/dist/chunk-445ZPXHU.js.map +1 -0
  12. package/dist/chunk-EW4Y3KEX.js +182 -0
  13. package/dist/chunk-EW4Y3KEX.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-PO2TPM5B.js +1636 -0
  17. package/dist/chunk-PO2TPM5B.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 +206 -10
  25. package/dist/react/client.d.ts +200 -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 +17 -3
  29. package/dist/sdk/plugin.d.ts +192 -170
  30. package/dist/sdk/store.d.ts +84 -11
  31. package/dist/sdk/types.d.ts +129 -30
  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,38 +1,70 @@
1
1
  import { HttpApiEndpoint, HttpApiGroup } from "effect/unstable/httpapi";
2
2
  import { Schema } from "effect";
3
- import { InternalError } from "@executor-js/api";
3
+ import { InternalError } from "@executor-js/sdk/core";
4
4
  import { GraphqlIntrospectionError, GraphqlExtractionError } from "../sdk/errors";
5
5
  export declare const StoredSourceSchema: Schema.Struct<{
6
6
  readonly namespace: Schema.String;
7
+ readonly scope: Schema.brand<Schema.String, "ScopeId">;
7
8
  readonly name: Schema.String;
8
9
  readonly endpoint: Schema.String;
9
10
  readonly headers: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Struct<{
10
- readonly secretId: Schema.String;
11
+ readonly kind: Schema.Literal<"binding">;
12
+ readonly slot: Schema.String;
11
13
  readonly prefix: Schema.optional<Schema.String>;
12
14
  }>]>>;
13
15
  readonly queryParams: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Struct<{
14
- readonly secretId: Schema.String;
16
+ readonly kind: Schema.Literal<"binding">;
17
+ readonly slot: Schema.String;
15
18
  readonly prefix: Schema.optional<Schema.String>;
16
19
  }>]>>;
17
20
  readonly auth: Schema.Union<readonly [Schema.Struct<{
18
21
  readonly kind: Schema.Literal<"none">;
19
22
  }>, Schema.Struct<{
20
23
  readonly kind: Schema.Literal<"oauth2">;
21
- readonly connectionId: Schema.String;
24
+ readonly connectionSlot: Schema.String;
22
25
  }>]>;
23
26
  }>;
24
27
  export declare const GraphqlGroup: HttpApiGroup.HttpApiGroup<"graphql", HttpApiEndpoint.HttpApiEndpoint<"addSource", "POST", "/scopes/:scopeId/graphql/sources", HttpApiEndpoint.StringTree<Schema.Struct<{
25
28
  scopeId: Schema.brand<Schema.String, "ScopeId">;
26
29
  }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
30
+ readonly targetScope: Schema.brand<Schema.String, "ScopeId">;
27
31
  readonly endpoint: Schema.String;
28
32
  readonly name: Schema.optional<Schema.String>;
29
33
  readonly introspectionJson: Schema.optional<Schema.String>;
30
34
  readonly namespace: Schema.optional<Schema.String>;
31
- readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
32
- readonly queryParams: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
33
- readonly auth: Schema.optional<Schema.Union<readonly [Schema.Struct<{
35
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
36
+ readonly secretId: Schema.String;
37
+ readonly prefix: Schema.optional<Schema.String>;
38
+ readonly targetScope: Schema.brand<Schema.String, "ScopeId">;
39
+ readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
40
+ }>, Schema.Union<readonly [Schema.String, Schema.Struct<{
41
+ readonly secretId: Schema.String;
42
+ readonly prefix: Schema.optional<Schema.String>;
43
+ }>]>, Schema.Union<readonly [Schema.String, Schema.Struct<{
44
+ readonly kind: Schema.Literal<"binding">;
45
+ readonly slot: Schema.String;
46
+ readonly prefix: Schema.optional<Schema.String>;
47
+ }>]>]>>>;
48
+ readonly queryParams: Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
49
+ readonly secretId: Schema.String;
50
+ readonly prefix: Schema.optional<Schema.String>;
51
+ readonly targetScope: Schema.brand<Schema.String, "ScopeId">;
52
+ readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
53
+ }>, Schema.Union<readonly [Schema.String, Schema.Struct<{
54
+ readonly secretId: Schema.String;
55
+ readonly prefix: Schema.optional<Schema.String>;
56
+ }>]>, Schema.Union<readonly [Schema.String, Schema.Struct<{
57
+ readonly kind: Schema.Literal<"binding">;
58
+ readonly slot: Schema.String;
59
+ readonly prefix: Schema.optional<Schema.String>;
60
+ }>]>]>>>;
61
+ readonly credentialTargetScope: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
62
+ readonly auth: Schema.optional<Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
34
63
  readonly kind: Schema.Literal<"none">;
35
64
  }>, Schema.Struct<{
65
+ readonly kind: Schema.Literal<"oauth2">;
66
+ readonly connectionSlot: Schema.String;
67
+ }>]>, Schema.Struct<{
36
68
  readonly kind: Schema.Literal<"oauth2">;
37
69
  readonly connectionId: Schema.String;
38
70
  }>]>>;
@@ -64,21 +96,24 @@ export declare const GraphqlGroup: HttpApiGroup.HttpApiGroup<"graphql", HttpApiE
64
96
  namespace: Schema.String;
65
97
  }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.NullOr<Schema.Struct<{
66
98
  readonly namespace: Schema.String;
99
+ readonly scope: Schema.brand<Schema.String, "ScopeId">;
67
100
  readonly name: Schema.String;
68
101
  readonly endpoint: Schema.String;
69
102
  readonly headers: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Struct<{
70
- readonly secretId: Schema.String;
103
+ readonly kind: Schema.Literal<"binding">;
104
+ readonly slot: Schema.String;
71
105
  readonly prefix: Schema.optional<Schema.String>;
72
106
  }>]>>;
73
107
  readonly queryParams: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Struct<{
74
- readonly secretId: Schema.String;
108
+ readonly kind: Schema.Literal<"binding">;
109
+ readonly slot: Schema.String;
75
110
  readonly prefix: Schema.optional<Schema.String>;
76
111
  }>]>>;
77
112
  readonly auth: Schema.Union<readonly [Schema.Struct<{
78
113
  readonly kind: Schema.Literal<"none">;
79
114
  }>, Schema.Struct<{
80
115
  readonly kind: Schema.Literal<"oauth2">;
81
- readonly connectionId: Schema.String;
116
+ readonly connectionSlot: Schema.String;
82
117
  }>]>;
83
118
  }>>>, HttpApiEndpoint.Json<typeof InternalError | Schema.decodeTo<Schema.declareConstructor<GraphqlIntrospectionError, {
84
119
  readonly message: string;
@@ -104,13 +139,42 @@ export declare const GraphqlGroup: HttpApiGroup.HttpApiGroup<"graphql", HttpApiE
104
139
  scopeId: Schema.brand<Schema.String, "ScopeId">;
105
140
  namespace: Schema.String;
106
141
  }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
142
+ readonly sourceScope: Schema.brand<Schema.String, "ScopeId">;
107
143
  readonly name: Schema.optional<Schema.String>;
108
144
  readonly endpoint: Schema.optional<Schema.String>;
109
- readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
110
- readonly queryParams: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
111
- readonly auth: Schema.optional<Schema.Union<readonly [Schema.Struct<{
145
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
146
+ readonly secretId: Schema.String;
147
+ readonly prefix: Schema.optional<Schema.String>;
148
+ readonly targetScope: Schema.brand<Schema.String, "ScopeId">;
149
+ readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
150
+ }>, Schema.Union<readonly [Schema.String, Schema.Struct<{
151
+ readonly secretId: Schema.String;
152
+ readonly prefix: Schema.optional<Schema.String>;
153
+ }>]>, Schema.Union<readonly [Schema.String, Schema.Struct<{
154
+ readonly kind: Schema.Literal<"binding">;
155
+ readonly slot: Schema.String;
156
+ readonly prefix: Schema.optional<Schema.String>;
157
+ }>]>]>>>;
158
+ readonly queryParams: Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
159
+ readonly secretId: Schema.String;
160
+ readonly prefix: Schema.optional<Schema.String>;
161
+ readonly targetScope: Schema.brand<Schema.String, "ScopeId">;
162
+ readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
163
+ }>, Schema.Union<readonly [Schema.String, Schema.Struct<{
164
+ readonly secretId: Schema.String;
165
+ readonly prefix: Schema.optional<Schema.String>;
166
+ }>]>, Schema.Union<readonly [Schema.String, Schema.Struct<{
167
+ readonly kind: Schema.Literal<"binding">;
168
+ readonly slot: Schema.String;
169
+ readonly prefix: Schema.optional<Schema.String>;
170
+ }>]>]>>>;
171
+ readonly credentialTargetScope: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
172
+ readonly auth: Schema.optional<Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
112
173
  readonly kind: Schema.Literal<"none">;
113
174
  }>, Schema.Struct<{
175
+ readonly kind: Schema.Literal<"oauth2">;
176
+ readonly connectionSlot: Schema.String;
177
+ }>]>, Schema.Struct<{
114
178
  readonly kind: Schema.Literal<"oauth2">;
115
179
  readonly connectionId: Schema.String;
116
180
  }>]>>;
@@ -136,4 +200,131 @@ export declare const GraphqlGroup: HttpApiGroup.HttpApiGroup<"graphql", HttpApiE
136
200
  readonly _tag: "GraphqlExtractionError";
137
201
  }>, Schema.TaggedStruct<"GraphqlExtractionError", {
138
202
  readonly message: Schema.String;
203
+ }>, never, never>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listSourceBindings", "GET", "/scopes/:scopeId/graphql/sources/:namespace/base/:sourceScopeId/bindings", HttpApiEndpoint.StringTree<Schema.Struct<{
204
+ scopeId: Schema.brand<Schema.String, "ScopeId">;
205
+ namespace: Schema.String;
206
+ sourceScopeId: Schema.brand<Schema.String, "ScopeId">;
207
+ }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.$Array<Schema.Struct<{
208
+ readonly sourceId: Schema.String;
209
+ readonly sourceScopeId: Schema.brand<Schema.String, "ScopeId">;
210
+ readonly scopeId: Schema.brand<Schema.String, "ScopeId">;
211
+ readonly slot: Schema.String;
212
+ readonly value: Schema.Union<readonly [Schema.Struct<{
213
+ readonly kind: Schema.Literal<"text">;
214
+ readonly text: Schema.String;
215
+ }>, Schema.Struct<{
216
+ readonly kind: Schema.Literal<"secret">;
217
+ readonly secretId: Schema.brand<Schema.String, "SecretId">;
218
+ readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
219
+ }>, Schema.Struct<{
220
+ readonly kind: Schema.Literal<"connection">;
221
+ readonly connectionId: Schema.brand<Schema.String, "ConnectionId">;
222
+ }>]>;
223
+ readonly createdAt: Schema.Date;
224
+ readonly updatedAt: Schema.Date;
225
+ }>>>, HttpApiEndpoint.Json<typeof InternalError | Schema.decodeTo<Schema.declareConstructor<GraphqlIntrospectionError, {
226
+ readonly message: string;
227
+ readonly _tag: "GraphqlIntrospectionError";
228
+ }, readonly [Schema.TaggedStruct<"GraphqlIntrospectionError", {
229
+ readonly message: Schema.String;
230
+ }>], {
231
+ readonly message: string;
232
+ readonly _tag: "GraphqlIntrospectionError";
233
+ }>, Schema.TaggedStruct<"GraphqlIntrospectionError", {
234
+ readonly message: Schema.String;
235
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GraphqlExtractionError, {
236
+ readonly message: string;
237
+ readonly _tag: "GraphqlExtractionError";
238
+ }, readonly [Schema.TaggedStruct<"GraphqlExtractionError", {
239
+ readonly message: Schema.String;
240
+ }>], {
241
+ readonly message: string;
242
+ readonly _tag: "GraphqlExtractionError";
243
+ }>, Schema.TaggedStruct<"GraphqlExtractionError", {
244
+ readonly message: Schema.String;
245
+ }>, never, never>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"setSourceBinding", "POST", "/scopes/:scopeId/graphql/source-bindings", HttpApiEndpoint.StringTree<Schema.Struct<{
246
+ scopeId: Schema.brand<Schema.String, "ScopeId">;
247
+ }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
248
+ readonly sourceId: Schema.String;
249
+ readonly sourceScope: Schema.brand<Schema.String, "ScopeId">;
250
+ readonly scope: Schema.brand<Schema.String, "ScopeId">;
251
+ readonly slot: Schema.String;
252
+ readonly value: Schema.Union<readonly [Schema.Struct<{
253
+ readonly kind: Schema.Literal<"text">;
254
+ readonly text: Schema.String;
255
+ }>, Schema.Struct<{
256
+ readonly kind: Schema.Literal<"secret">;
257
+ readonly secretId: Schema.brand<Schema.String, "SecretId">;
258
+ readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
259
+ }>, Schema.Struct<{
260
+ readonly kind: Schema.Literal<"connection">;
261
+ readonly connectionId: Schema.brand<Schema.String, "ConnectionId">;
262
+ }>]>;
263
+ }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
264
+ readonly sourceId: Schema.String;
265
+ readonly sourceScopeId: Schema.brand<Schema.String, "ScopeId">;
266
+ readonly scopeId: Schema.brand<Schema.String, "ScopeId">;
267
+ readonly slot: Schema.String;
268
+ readonly value: Schema.Union<readonly [Schema.Struct<{
269
+ readonly kind: Schema.Literal<"text">;
270
+ readonly text: Schema.String;
271
+ }>, Schema.Struct<{
272
+ readonly kind: Schema.Literal<"secret">;
273
+ readonly secretId: Schema.brand<Schema.String, "SecretId">;
274
+ readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
275
+ }>, Schema.Struct<{
276
+ readonly kind: Schema.Literal<"connection">;
277
+ readonly connectionId: Schema.brand<Schema.String, "ConnectionId">;
278
+ }>]>;
279
+ readonly createdAt: Schema.Date;
280
+ readonly updatedAt: Schema.Date;
281
+ }>>, HttpApiEndpoint.Json<typeof InternalError | Schema.decodeTo<Schema.declareConstructor<GraphqlIntrospectionError, {
282
+ readonly message: string;
283
+ readonly _tag: "GraphqlIntrospectionError";
284
+ }, readonly [Schema.TaggedStruct<"GraphqlIntrospectionError", {
285
+ readonly message: Schema.String;
286
+ }>], {
287
+ readonly message: string;
288
+ readonly _tag: "GraphqlIntrospectionError";
289
+ }>, Schema.TaggedStruct<"GraphqlIntrospectionError", {
290
+ readonly message: Schema.String;
291
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GraphqlExtractionError, {
292
+ readonly message: string;
293
+ readonly _tag: "GraphqlExtractionError";
294
+ }, readonly [Schema.TaggedStruct<"GraphqlExtractionError", {
295
+ readonly message: Schema.String;
296
+ }>], {
297
+ readonly message: string;
298
+ readonly _tag: "GraphqlExtractionError";
299
+ }>, Schema.TaggedStruct<"GraphqlExtractionError", {
300
+ readonly message: Schema.String;
301
+ }>, never, never>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"removeSourceBinding", "POST", "/scopes/:scopeId/graphql/source-bindings/remove", HttpApiEndpoint.StringTree<Schema.Struct<{
302
+ scopeId: Schema.brand<Schema.String, "ScopeId">;
303
+ }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
304
+ readonly sourceId: Schema.String;
305
+ readonly sourceScope: Schema.brand<Schema.String, "ScopeId">;
306
+ readonly slot: Schema.String;
307
+ readonly scope: Schema.brand<Schema.String, "ScopeId">;
308
+ }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
309
+ readonly removed: Schema.Boolean;
310
+ }>>, HttpApiEndpoint.Json<typeof InternalError | Schema.decodeTo<Schema.declareConstructor<GraphqlIntrospectionError, {
311
+ readonly message: string;
312
+ readonly _tag: "GraphqlIntrospectionError";
313
+ }, readonly [Schema.TaggedStruct<"GraphqlIntrospectionError", {
314
+ readonly message: Schema.String;
315
+ }>], {
316
+ readonly message: string;
317
+ readonly _tag: "GraphqlIntrospectionError";
318
+ }>, Schema.TaggedStruct<"GraphqlIntrospectionError", {
319
+ readonly message: Schema.String;
320
+ }>, never, never> | Schema.decodeTo<Schema.declareConstructor<GraphqlExtractionError, {
321
+ readonly message: string;
322
+ readonly _tag: "GraphqlExtractionError";
323
+ }, readonly [Schema.TaggedStruct<"GraphqlExtractionError", {
324
+ readonly message: Schema.String;
325
+ }>], {
326
+ readonly message: string;
327
+ readonly _tag: "GraphqlExtractionError";
328
+ }>, Schema.TaggedStruct<"GraphqlExtractionError", {
329
+ readonly message: Schema.String;
139
330
  }>, never, never>>, never, never>, false>;
@@ -1,6 +1,54 @@
1
- import { Context } from "effect";
2
- import type { GraphqlPluginExtension } from "../sdk/plugin";
3
- declare const GraphqlExtensionService_base: Context.ServiceClass<GraphqlExtensionService, "GraphqlExtensionService", GraphqlPluginExtension>;
1
+ import { Context, Effect } from "effect";
2
+ import type { GraphqlUpdateSourceInput } from "../sdk/plugin";
3
+ import { GraphqlSourceBindingInput } from "../sdk/types";
4
+ declare const GraphqlExtensionService_base: Context.ServiceClass<GraphqlExtensionService, "GraphqlExtensionService", {
5
+ addSource: (config: import("../sdk").GraphqlSourceConfig) => Effect.Effect<{
6
+ toolCount: number;
7
+ namespace: string;
8
+ }, import("@executor-js/storage-core").StorageFailure | import("../sdk").GraphqlIntrospectionError | import("../sdk").GraphqlExtractionError, never>;
9
+ removeSource: (namespace: string, scope: string) => Effect.Effect<void, import("@executor-js/storage-core").StorageFailure, never>;
10
+ getSource: (namespace: string, scope: string) => Effect.Effect<import("../sdk").StoredGraphqlSource | null, import("@executor-js/storage-core").StorageFailure, never>;
11
+ updateSource: (namespace: string, scope: string, input: GraphqlUpdateSourceInput) => Effect.Effect<void, import("@executor-js/storage-core").StorageFailure | import("../sdk").GraphqlIntrospectionError, never>;
12
+ listSourceBindings: (sourceId: string, sourceScope: string) => Effect.Effect<readonly {
13
+ readonly value: {
14
+ readonly text: string;
15
+ readonly kind: "text";
16
+ } | {
17
+ readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
18
+ readonly kind: "secret";
19
+ readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
20
+ } | {
21
+ readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
22
+ readonly kind: "connection";
23
+ };
24
+ readonly createdAt: Date;
25
+ readonly sourceId: string;
26
+ readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
27
+ readonly updatedAt: Date;
28
+ readonly slot: string;
29
+ readonly sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
30
+ }[], import("@executor-js/storage-core").StorageFailure, never>;
31
+ setSourceBinding: (input: GraphqlSourceBindingInput) => Effect.Effect<{
32
+ readonly value: {
33
+ readonly text: string;
34
+ readonly kind: "text";
35
+ } | {
36
+ readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
37
+ readonly kind: "secret";
38
+ readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
39
+ } | {
40
+ readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
41
+ readonly kind: "connection";
42
+ };
43
+ readonly createdAt: Date;
44
+ readonly sourceId: string;
45
+ readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
46
+ readonly updatedAt: Date;
47
+ readonly slot: string;
48
+ readonly sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
49
+ }, import("@executor-js/storage-core").StorageFailure, never>;
50
+ removeSourceBinding: (sourceId: string, sourceScope: string, slot: string, scope: string) => Effect.Effect<void, import("@executor-js/storage-core").StorageFailure, never>;
51
+ }>;
4
52
  export declare class GraphqlExtensionService extends GraphqlExtensionService_base {
5
53
  }
6
54
  export declare const GraphqlHandlers: import("effect/Layer").Layer<import("effect/unstable/httpapi/HttpApiGroup").ApiGroup<"executor", "graphql">, never, import("effect/unstable/http/HttpRouter").Request<"Requires", GraphqlExtensionService>>;