@executor-js/plugin-graphql 0.0.2 → 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.
- package/dist/AddGraphqlSource-LGXJQEAR.js +239 -0
- package/dist/AddGraphqlSource-LGXJQEAR.js.map +1 -0
- package/dist/EditGraphqlSource-5Y47ZAZ7.js +251 -0
- package/dist/EditGraphqlSource-5Y47ZAZ7.js.map +1 -0
- package/dist/GraphqlSourceSummary-F3JWR4YN.js +70 -0
- package/dist/GraphqlSourceSummary-F3JWR4YN.js.map +1 -0
- package/dist/api/group.d.ts +169 -13
- package/dist/api/handlers.d.ts +15 -3
- package/dist/api/index.d.ts +410 -0
- package/dist/chunk-7QSGNR4C.js +162 -0
- package/dist/chunk-7QSGNR4C.js.map +1 -0
- package/dist/chunk-HDPYOBBG.js +1633 -0
- package/dist/chunk-HDPYOBBG.js.map +1 -0
- package/dist/chunk-M4SJY6CB.js +45 -0
- package/dist/chunk-M4SJY6CB.js.map +1 -0
- package/dist/chunk-WPRU5C6M.js +182 -0
- package/dist/chunk-WPRU5C6M.js.map +1 -0
- package/dist/client.js +75 -0
- package/dist/client.js.map +1 -0
- package/dist/core.js +32 -10
- package/dist/index.js +2 -1
- package/dist/react/GraphqlSourceFields.d.ts +8 -0
- package/dist/react/GraphqlSourceSummary.d.ts +3 -1
- package/dist/react/atoms.d.ts +170 -10
- package/dist/react/client.d.ts +160 -341
- package/dist/react/plugin-client.d.ts +2 -0
- package/dist/react/source-plugin.d.ts +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/introspect.d.ts +437 -43
- package/dist/sdk/invoke.d.ts +3 -2
- package/dist/sdk/plugin.d.ts +121 -55
- package/dist/sdk/store.d.ts +84 -11
- package/dist/sdk/types.d.ts +107 -3
- package/dist/testing/index.d.ts +52 -0
- package/dist/testing.js +131 -0
- package/dist/testing.js.map +1 -0
- package/package.json +18 -4
- package/dist/chunk-ILBZO52O.js +0 -1090
- package/dist/chunk-ILBZO52O.js.map +0 -1
package/dist/api/group.d.ts
CHANGED
|
@@ -1,38 +1,71 @@
|
|
|
1
1
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/unstable/httpapi";
|
|
2
2
|
import { Schema } from "effect";
|
|
3
|
-
import { InternalError } from "@executor-js/
|
|
3
|
+
import { InternalError } from "@executor-js/sdk/core";
|
|
4
4
|
import { GraphqlIntrospectionError, GraphqlExtractionError } from "../sdk/errors";
|
|
5
|
+
import { GraphqlSourceBindingRef } from "../sdk/types";
|
|
5
6
|
export declare const StoredSourceSchema: Schema.Struct<{
|
|
6
7
|
readonly namespace: Schema.String;
|
|
8
|
+
readonly scope: Schema.brand<Schema.String, "ScopeId">;
|
|
7
9
|
readonly name: Schema.String;
|
|
8
10
|
readonly endpoint: Schema.String;
|
|
9
11
|
readonly headers: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
10
|
-
readonly
|
|
12
|
+
readonly kind: Schema.Literal<"binding">;
|
|
13
|
+
readonly slot: Schema.String;
|
|
11
14
|
readonly prefix: Schema.optional<Schema.String>;
|
|
12
15
|
}>]>>;
|
|
13
16
|
readonly queryParams: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
14
|
-
readonly
|
|
17
|
+
readonly kind: Schema.Literal<"binding">;
|
|
18
|
+
readonly slot: Schema.String;
|
|
15
19
|
readonly prefix: Schema.optional<Schema.String>;
|
|
16
20
|
}>]>>;
|
|
17
21
|
readonly auth: Schema.Union<readonly [Schema.Struct<{
|
|
18
22
|
readonly kind: Schema.Literal<"none">;
|
|
19
23
|
}>, Schema.Struct<{
|
|
20
24
|
readonly kind: Schema.Literal<"oauth2">;
|
|
21
|
-
readonly
|
|
25
|
+
readonly connectionSlot: Schema.String;
|
|
22
26
|
}>]>;
|
|
23
27
|
}>;
|
|
24
28
|
export declare const GraphqlGroup: HttpApiGroup.HttpApiGroup<"graphql", HttpApiEndpoint.HttpApiEndpoint<"addSource", "POST", "/scopes/:scopeId/graphql/sources", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
25
29
|
scopeId: Schema.brand<Schema.String, "ScopeId">;
|
|
26
30
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
31
|
+
readonly targetScope: Schema.brand<Schema.String, "ScopeId">;
|
|
27
32
|
readonly endpoint: Schema.String;
|
|
28
33
|
readonly name: Schema.optional<Schema.String>;
|
|
29
34
|
readonly introspectionJson: Schema.optional<Schema.String>;
|
|
30
35
|
readonly namespace: Schema.optional<Schema.String>;
|
|
31
|
-
readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
37
|
+
readonly secretId: Schema.String;
|
|
38
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
39
|
+
readonly targetScope: Schema.brand<Schema.String, "ScopeId">;
|
|
40
|
+
readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
|
|
41
|
+
}>, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
42
|
+
readonly secretId: Schema.String;
|
|
43
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
44
|
+
}>]>, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
45
|
+
readonly kind: Schema.Literal<"binding">;
|
|
46
|
+
readonly slot: Schema.String;
|
|
47
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
48
|
+
}>]>]>>>;
|
|
49
|
+
readonly queryParams: Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
50
|
+
readonly secretId: Schema.String;
|
|
51
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
52
|
+
readonly targetScope: Schema.brand<Schema.String, "ScopeId">;
|
|
53
|
+
readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
|
|
54
|
+
}>, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
55
|
+
readonly secretId: Schema.String;
|
|
56
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
57
|
+
}>]>, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
58
|
+
readonly kind: Schema.Literal<"binding">;
|
|
59
|
+
readonly slot: Schema.String;
|
|
60
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
61
|
+
}>]>]>>>;
|
|
62
|
+
readonly credentialTargetScope: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
|
|
63
|
+
readonly auth: Schema.optional<Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
34
64
|
readonly kind: Schema.Literal<"none">;
|
|
35
65
|
}>, Schema.Struct<{
|
|
66
|
+
readonly kind: Schema.Literal<"oauth2">;
|
|
67
|
+
readonly connectionSlot: Schema.String;
|
|
68
|
+
}>]>, Schema.Struct<{
|
|
36
69
|
readonly kind: Schema.Literal<"oauth2">;
|
|
37
70
|
readonly connectionId: Schema.String;
|
|
38
71
|
}>]>>;
|
|
@@ -64,21 +97,24 @@ export declare const GraphqlGroup: HttpApiGroup.HttpApiGroup<"graphql", HttpApiE
|
|
|
64
97
|
namespace: Schema.String;
|
|
65
98
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.NullOr<Schema.Struct<{
|
|
66
99
|
readonly namespace: Schema.String;
|
|
100
|
+
readonly scope: Schema.brand<Schema.String, "ScopeId">;
|
|
67
101
|
readonly name: Schema.String;
|
|
68
102
|
readonly endpoint: Schema.String;
|
|
69
103
|
readonly headers: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
70
|
-
readonly
|
|
104
|
+
readonly kind: Schema.Literal<"binding">;
|
|
105
|
+
readonly slot: Schema.String;
|
|
71
106
|
readonly prefix: Schema.optional<Schema.String>;
|
|
72
107
|
}>]>>;
|
|
73
108
|
readonly queryParams: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
74
|
-
readonly
|
|
109
|
+
readonly kind: Schema.Literal<"binding">;
|
|
110
|
+
readonly slot: Schema.String;
|
|
75
111
|
readonly prefix: Schema.optional<Schema.String>;
|
|
76
112
|
}>]>>;
|
|
77
113
|
readonly auth: Schema.Union<readonly [Schema.Struct<{
|
|
78
114
|
readonly kind: Schema.Literal<"none">;
|
|
79
115
|
}>, Schema.Struct<{
|
|
80
116
|
readonly kind: Schema.Literal<"oauth2">;
|
|
81
|
-
readonly
|
|
117
|
+
readonly connectionSlot: Schema.String;
|
|
82
118
|
}>]>;
|
|
83
119
|
}>>>, HttpApiEndpoint.Json<typeof InternalError | Schema.decodeTo<Schema.declareConstructor<GraphqlIntrospectionError, {
|
|
84
120
|
readonly message: string;
|
|
@@ -104,13 +140,42 @@ export declare const GraphqlGroup: HttpApiGroup.HttpApiGroup<"graphql", HttpApiE
|
|
|
104
140
|
scopeId: Schema.brand<Schema.String, "ScopeId">;
|
|
105
141
|
namespace: Schema.String;
|
|
106
142
|
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
143
|
+
readonly sourceScope: Schema.brand<Schema.String, "ScopeId">;
|
|
107
144
|
readonly name: Schema.optional<Schema.String>;
|
|
108
145
|
readonly endpoint: Schema.optional<Schema.String>;
|
|
109
|
-
readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.
|
|
110
|
-
|
|
111
|
-
|
|
146
|
+
readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
147
|
+
readonly secretId: Schema.String;
|
|
148
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
149
|
+
readonly targetScope: Schema.brand<Schema.String, "ScopeId">;
|
|
150
|
+
readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
|
|
151
|
+
}>, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
152
|
+
readonly secretId: Schema.String;
|
|
153
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
154
|
+
}>]>, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
155
|
+
readonly kind: Schema.Literal<"binding">;
|
|
156
|
+
readonly slot: Schema.String;
|
|
157
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
158
|
+
}>]>]>>>;
|
|
159
|
+
readonly queryParams: Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
160
|
+
readonly secretId: Schema.String;
|
|
161
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
162
|
+
readonly targetScope: Schema.brand<Schema.String, "ScopeId">;
|
|
163
|
+
readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
|
|
164
|
+
}>, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
165
|
+
readonly secretId: Schema.String;
|
|
166
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
167
|
+
}>]>, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
168
|
+
readonly kind: Schema.Literal<"binding">;
|
|
169
|
+
readonly slot: Schema.String;
|
|
170
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
171
|
+
}>]>]>>>;
|
|
172
|
+
readonly credentialTargetScope: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
|
|
173
|
+
readonly auth: Schema.optional<Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
112
174
|
readonly kind: Schema.Literal<"none">;
|
|
113
175
|
}>, Schema.Struct<{
|
|
176
|
+
readonly kind: Schema.Literal<"oauth2">;
|
|
177
|
+
readonly connectionSlot: Schema.String;
|
|
178
|
+
}>]>, Schema.Struct<{
|
|
114
179
|
readonly kind: Schema.Literal<"oauth2">;
|
|
115
180
|
readonly connectionId: Schema.String;
|
|
116
181
|
}>]>>;
|
|
@@ -136,4 +201,95 @@ export declare const GraphqlGroup: HttpApiGroup.HttpApiGroup<"graphql", HttpApiE
|
|
|
136
201
|
readonly _tag: "GraphqlExtractionError";
|
|
137
202
|
}>, Schema.TaggedStruct<"GraphqlExtractionError", {
|
|
138
203
|
readonly message: Schema.String;
|
|
204
|
+
}>, never, never>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listSourceBindings", "GET", "/scopes/:scopeId/graphql/sources/:namespace/base/:sourceScopeId/bindings", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
205
|
+
scopeId: Schema.brand<Schema.String, "ScopeId">;
|
|
206
|
+
namespace: Schema.String;
|
|
207
|
+
sourceScopeId: Schema.brand<Schema.String, "ScopeId">;
|
|
208
|
+
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.$Array<typeof GraphqlSourceBindingRef>>, HttpApiEndpoint.Json<typeof InternalError | Schema.decodeTo<Schema.declareConstructor<GraphqlIntrospectionError, {
|
|
209
|
+
readonly message: string;
|
|
210
|
+
readonly _tag: "GraphqlIntrospectionError";
|
|
211
|
+
}, readonly [Schema.TaggedStruct<"GraphqlIntrospectionError", {
|
|
212
|
+
readonly message: Schema.String;
|
|
213
|
+
}>], {
|
|
214
|
+
readonly message: string;
|
|
215
|
+
readonly _tag: "GraphqlIntrospectionError";
|
|
216
|
+
}>, Schema.TaggedStruct<"GraphqlIntrospectionError", {
|
|
217
|
+
readonly message: Schema.String;
|
|
218
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GraphqlExtractionError, {
|
|
219
|
+
readonly message: string;
|
|
220
|
+
readonly _tag: "GraphqlExtractionError";
|
|
221
|
+
}, readonly [Schema.TaggedStruct<"GraphqlExtractionError", {
|
|
222
|
+
readonly message: Schema.String;
|
|
223
|
+
}>], {
|
|
224
|
+
readonly message: string;
|
|
225
|
+
readonly _tag: "GraphqlExtractionError";
|
|
226
|
+
}>, Schema.TaggedStruct<"GraphqlExtractionError", {
|
|
227
|
+
readonly message: Schema.String;
|
|
228
|
+
}>, never, never>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"setSourceBinding", "POST", "/scopes/:scopeId/graphql/source-bindings", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
229
|
+
scopeId: Schema.brand<Schema.String, "ScopeId">;
|
|
230
|
+
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
231
|
+
readonly sourceId: Schema.String;
|
|
232
|
+
readonly sourceScope: Schema.brand<Schema.String, "ScopeId">;
|
|
233
|
+
readonly scope: Schema.brand<Schema.String, "ScopeId">;
|
|
234
|
+
readonly slot: Schema.String;
|
|
235
|
+
readonly value: Schema.Union<readonly [Schema.Struct<{
|
|
236
|
+
readonly kind: Schema.Literal<"text">;
|
|
237
|
+
readonly text: Schema.String;
|
|
238
|
+
}>, Schema.Struct<{
|
|
239
|
+
readonly kind: Schema.Literal<"secret">;
|
|
240
|
+
readonly secretId: Schema.brand<Schema.String, "SecretId">;
|
|
241
|
+
readonly secretScopeId: Schema.optional<Schema.brand<Schema.String, "ScopeId">>;
|
|
242
|
+
}>, Schema.Struct<{
|
|
243
|
+
readonly kind: Schema.Literal<"connection">;
|
|
244
|
+
readonly connectionId: Schema.brand<Schema.String, "ConnectionId">;
|
|
245
|
+
}>]>;
|
|
246
|
+
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<typeof GraphqlSourceBindingRef>, HttpApiEndpoint.Json<typeof InternalError | Schema.decodeTo<Schema.declareConstructor<GraphqlIntrospectionError, {
|
|
247
|
+
readonly message: string;
|
|
248
|
+
readonly _tag: "GraphqlIntrospectionError";
|
|
249
|
+
}, readonly [Schema.TaggedStruct<"GraphqlIntrospectionError", {
|
|
250
|
+
readonly message: Schema.String;
|
|
251
|
+
}>], {
|
|
252
|
+
readonly message: string;
|
|
253
|
+
readonly _tag: "GraphqlIntrospectionError";
|
|
254
|
+
}>, Schema.TaggedStruct<"GraphqlIntrospectionError", {
|
|
255
|
+
readonly message: Schema.String;
|
|
256
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GraphqlExtractionError, {
|
|
257
|
+
readonly message: string;
|
|
258
|
+
readonly _tag: "GraphqlExtractionError";
|
|
259
|
+
}, readonly [Schema.TaggedStruct<"GraphqlExtractionError", {
|
|
260
|
+
readonly message: Schema.String;
|
|
261
|
+
}>], {
|
|
262
|
+
readonly message: string;
|
|
263
|
+
readonly _tag: "GraphqlExtractionError";
|
|
264
|
+
}>, Schema.TaggedStruct<"GraphqlExtractionError", {
|
|
265
|
+
readonly message: Schema.String;
|
|
266
|
+
}>, never, never>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"removeSourceBinding", "POST", "/scopes/:scopeId/graphql/source-bindings/remove", HttpApiEndpoint.StringTree<Schema.Struct<{
|
|
267
|
+
scopeId: Schema.brand<Schema.String, "ScopeId">;
|
|
268
|
+
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
269
|
+
readonly sourceId: Schema.String;
|
|
270
|
+
readonly sourceScope: Schema.brand<Schema.String, "ScopeId">;
|
|
271
|
+
readonly slot: Schema.String;
|
|
272
|
+
readonly scope: Schema.brand<Schema.String, "ScopeId">;
|
|
273
|
+
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
|
|
274
|
+
readonly removed: Schema.Boolean;
|
|
275
|
+
}>>, HttpApiEndpoint.Json<typeof InternalError | Schema.decodeTo<Schema.declareConstructor<GraphqlIntrospectionError, {
|
|
276
|
+
readonly message: string;
|
|
277
|
+
readonly _tag: "GraphqlIntrospectionError";
|
|
278
|
+
}, readonly [Schema.TaggedStruct<"GraphqlIntrospectionError", {
|
|
279
|
+
readonly message: Schema.String;
|
|
280
|
+
}>], {
|
|
281
|
+
readonly message: string;
|
|
282
|
+
readonly _tag: "GraphqlIntrospectionError";
|
|
283
|
+
}>, Schema.TaggedStruct<"GraphqlIntrospectionError", {
|
|
284
|
+
readonly message: Schema.String;
|
|
285
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GraphqlExtractionError, {
|
|
286
|
+
readonly message: string;
|
|
287
|
+
readonly _tag: "GraphqlExtractionError";
|
|
288
|
+
}, readonly [Schema.TaggedStruct<"GraphqlExtractionError", {
|
|
289
|
+
readonly message: Schema.String;
|
|
290
|
+
}>], {
|
|
291
|
+
readonly message: string;
|
|
292
|
+
readonly _tag: "GraphqlExtractionError";
|
|
293
|
+
}>, Schema.TaggedStruct<"GraphqlExtractionError", {
|
|
294
|
+
readonly message: Schema.String;
|
|
139
295
|
}>, never, never>>, never, never>, false>;
|
package/dist/api/handlers.d.ts
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
import { Context } from "effect";
|
|
2
|
-
import type {
|
|
3
|
-
|
|
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 import("../sdk").GraphqlSourceBindingRef[], import("@executor-js/storage-core").StorageFailure, never>;
|
|
13
|
+
setSourceBinding: (input: GraphqlSourceBindingInput) => Effect.Effect<import("../sdk").GraphqlSourceBindingRef, import("@executor-js/storage-core").StorageFailure, never>;
|
|
14
|
+
removeSourceBinding: (sourceId: string, sourceScope: string, slot: string, scope: string) => Effect.Effect<void, import("@executor-js/storage-core").StorageFailure, never>;
|
|
15
|
+
}>;
|
|
4
16
|
export declare class GraphqlExtensionService extends GraphqlExtensionService_base {
|
|
5
17
|
}
|
|
6
18
|
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>>;
|