@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
package/dist/client.js ADDED
@@ -0,0 +1,75 @@
1
+ // src/react/plugin-client.tsx
2
+ import { defineClientPlugin } from "@executor-js/sdk/client";
3
+
4
+ // src/react/source-plugin.ts
5
+ import { lazy } from "react";
6
+
7
+ // src/sdk/presets.ts
8
+ var graphqlPresets = [
9
+ {
10
+ id: "github-graphql",
11
+ name: "GitHub GraphQL",
12
+ summary: "Repos, issues, PRs, and users via GitHub's GraphQL API.",
13
+ url: "https://api.github.com/graphql",
14
+ icon: "https://github.com/favicon.ico",
15
+ featured: true
16
+ },
17
+ {
18
+ id: "gitlab",
19
+ name: "GitLab",
20
+ summary: "Projects, merge requests, pipelines, and users.",
21
+ url: "https://gitlab.com/api/graphql",
22
+ icon: "https://gitlab.com/favicon.ico",
23
+ featured: true
24
+ },
25
+ {
26
+ id: "linear",
27
+ name: "Linear",
28
+ summary: "Issues, projects, teams, and cycles.",
29
+ url: "https://api.linear.app/graphql",
30
+ icon: "https://linear.app/favicon.ico",
31
+ featured: true
32
+ },
33
+ {
34
+ id: "monday",
35
+ name: "Monday.com",
36
+ summary: "Boards, items, columns, and workspace automation.",
37
+ url: "https://api.monday.com/v2",
38
+ icon: "https://monday.com/favicon.ico"
39
+ },
40
+ {
41
+ id: "anilist",
42
+ name: "AniList",
43
+ summary: "Anime and manga database \u2014 no auth required.",
44
+ url: "https://graphql.anilist.co",
45
+ icon: "https://anilist.co/img/icons/favicon-32x32.png"
46
+ }
47
+ ];
48
+
49
+ // src/react/source-plugin.ts
50
+ var importAdd = () => import("./AddGraphqlSource-LGXJQEAR.js");
51
+ var importEdit = () => import("./EditGraphqlSource-5Y47ZAZ7.js");
52
+ var importSummary = () => import("./GraphqlSourceSummary-F3JWR4YN.js");
53
+ var graphqlSourcePlugin = {
54
+ key: "graphql",
55
+ label: "GraphQL",
56
+ add: lazy(importAdd),
57
+ edit: lazy(importEdit),
58
+ summary: lazy(importSummary),
59
+ presets: graphqlPresets,
60
+ preload: () => {
61
+ void importAdd();
62
+ void importEdit();
63
+ void importSummary();
64
+ }
65
+ };
66
+
67
+ // src/react/plugin-client.tsx
68
+ var plugin_client_default = defineClientPlugin({
69
+ id: "graphql",
70
+ sourcePlugin: graphqlSourcePlugin
71
+ });
72
+ export {
73
+ plugin_client_default as default
74
+ };
75
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/react/plugin-client.tsx","../src/react/source-plugin.ts","../src/sdk/presets.ts"],"sourcesContent":["import { defineClientPlugin } from \"@executor-js/sdk/client\";\n\nimport { graphqlSourcePlugin } from \"./source-plugin\";\n\nexport default defineClientPlugin({\n id: \"graphql\" as const,\n sourcePlugin: graphqlSourcePlugin,\n});\n","import { lazy } from \"react\";\nimport type { SourcePlugin } from \"@executor-js/sdk/client\";\nimport { graphqlPresets } from \"../sdk/presets\";\n\nconst importAdd = () => import(\"./AddGraphqlSource\");\nconst importEdit = () => import(\"./EditGraphqlSource\");\nconst importSummary = () => import(\"./GraphqlSourceSummary\");\n\nexport const graphqlSourcePlugin: SourcePlugin = {\n key: \"graphql\",\n label: \"GraphQL\",\n add: lazy(importAdd),\n edit: lazy(importEdit),\n summary: lazy(importSummary),\n presets: graphqlPresets,\n preload: () => {\n void importAdd();\n void importEdit();\n void importSummary();\n },\n};\n","export interface GraphqlPreset {\n readonly id: string;\n readonly name: string;\n readonly summary: string;\n readonly url: string;\n readonly icon?: string;\n readonly featured?: boolean;\n}\n\nexport const graphqlPresets: readonly GraphqlPreset[] = [\n {\n id: \"github-graphql\",\n name: \"GitHub GraphQL\",\n summary: \"Repos, issues, PRs, and users via GitHub's GraphQL API.\",\n url: \"https://api.github.com/graphql\",\n icon: \"https://github.com/favicon.ico\",\n featured: true,\n },\n {\n id: \"gitlab\",\n name: \"GitLab\",\n summary: \"Projects, merge requests, pipelines, and users.\",\n url: \"https://gitlab.com/api/graphql\",\n icon: \"https://gitlab.com/favicon.ico\",\n featured: true,\n },\n {\n id: \"linear\",\n name: \"Linear\",\n summary: \"Issues, projects, teams, and cycles.\",\n url: \"https://api.linear.app/graphql\",\n icon: \"https://linear.app/favicon.ico\",\n featured: true,\n },\n {\n id: \"monday\",\n name: \"Monday.com\",\n summary: \"Boards, items, columns, and workspace automation.\",\n url: \"https://api.monday.com/v2\",\n icon: \"https://monday.com/favicon.ico\",\n },\n {\n id: \"anilist\",\n name: \"AniList\",\n summary: \"Anime and manga database — no auth required.\",\n url: \"https://graphql.anilist.co\",\n icon: \"https://anilist.co/img/icons/favicon-32x32.png\",\n },\n];\n"],"mappings":";AAAA,SAAS,0BAA0B;;;ACAnC,SAAS,YAAY;;;ACSd,IAAM,iBAA2C;AAAA,EACtD;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,EACR;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,KAAK;AAAA,IACL,MAAM;AAAA,EACR;AACF;;;AD5CA,IAAM,YAAY,MAAM,OAAO,gCAAoB;AACnD,IAAM,aAAa,MAAM,OAAO,iCAAqB;AACrD,IAAM,gBAAgB,MAAM,OAAO,oCAAwB;AAEpD,IAAM,sBAAoC;AAAA,EAC/C,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK,KAAK,SAAS;AAAA,EACnB,MAAM,KAAK,UAAU;AAAA,EACrB,SAAS,KAAK,aAAa;AAAA,EAC3B,SAAS;AAAA,EACT,SAAS,MAAM;AACb,SAAK,UAAU;AACf,SAAK,WAAW;AAChB,SAAK,cAAc;AAAA,EACrB;AACF;;;ADhBA,IAAO,wBAAQ,mBAAmB;AAAA,EAChC,IAAI;AAAA,EACJ,cAAc;AAChB,CAAC;","names":[]}
package/dist/core.js CHANGED
@@ -1,41 +1,63 @@
1
1
  import {
2
+ extract,
3
+ graphqlPlugin,
4
+ graphqlSchema,
5
+ introspect,
6
+ invoke,
7
+ invokeWithLayer,
8
+ makeDefaultGraphqlStore,
9
+ parseIntrospectionJson,
10
+ resolveHeaders
11
+ } from "./chunk-HDPYOBBG.js";
12
+ import {
13
+ ConfiguredGraphqlCredentialValue,
2
14
  ExtractedField,
3
15
  ExtractionResult,
16
+ GRAPHQL_OAUTH_CONNECTION_SLOT,
4
17
  GraphqlArgument,
18
+ GraphqlCredentialInput,
5
19
  GraphqlExtractionError,
6
20
  GraphqlIntrospectionError,
7
21
  GraphqlInvocationError,
8
22
  GraphqlOperationKind,
9
23
  GraphqlSourceAuth,
24
+ GraphqlSourceAuthInput,
25
+ GraphqlSourceBindingInput,
26
+ GraphqlSourceBindingRef,
27
+ GraphqlSourceBindingValue,
10
28
  HeaderValue,
11
29
  InvocationConfig,
12
30
  InvocationResult,
13
31
  OperationBinding,
14
- extract,
15
- graphqlPlugin,
16
- graphqlSchema,
17
- introspect,
18
- invoke,
19
- invokeWithLayer,
20
- makeDefaultGraphqlStore,
21
- parseIntrospectionJson,
22
- resolveHeaders
23
- } from "./chunk-EIC5WI6C.js";
32
+ QueryParamValue,
33
+ graphqlHeaderSlot,
34
+ graphqlQueryParamSlot
35
+ } from "./chunk-7QSGNR4C.js";
24
36
  export {
37
+ ConfiguredGraphqlCredentialValue,
25
38
  ExtractedField,
26
39
  ExtractionResult,
40
+ GRAPHQL_OAUTH_CONNECTION_SLOT,
27
41
  GraphqlArgument,
42
+ GraphqlCredentialInput,
28
43
  GraphqlExtractionError,
29
44
  GraphqlIntrospectionError,
30
45
  GraphqlInvocationError,
31
46
  GraphqlOperationKind,
32
47
  GraphqlSourceAuth,
48
+ GraphqlSourceAuthInput,
49
+ GraphqlSourceBindingInput,
50
+ GraphqlSourceBindingRef,
51
+ GraphqlSourceBindingValue,
33
52
  HeaderValue,
34
53
  InvocationConfig,
35
54
  InvocationResult,
36
55
  OperationBinding,
56
+ QueryParamValue,
37
57
  extract,
58
+ graphqlHeaderSlot,
38
59
  graphqlPlugin,
60
+ graphqlQueryParamSlot,
39
61
  graphqlSchema,
40
62
  introspect,
41
63
  invoke,
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  graphqlPlugin
3
- } from "./chunk-EIC5WI6C.js";
3
+ } from "./chunk-HDPYOBBG.js";
4
+ import "./chunk-7QSGNR4C.js";
4
5
  export {
5
6
  graphqlPlugin
6
7
  };
@@ -0,0 +1,8 @@
1
+ import { type SourceIdentity } from "@executor-js/react/plugins/source-identity";
2
+ export declare function GraphqlSourceFields(props: {
3
+ readonly endpoint: string;
4
+ readonly onEndpointChange: (endpoint: string) => void;
5
+ readonly identity: SourceIdentity;
6
+ readonly endpointDisabled?: boolean;
7
+ readonly namespaceReadOnly?: boolean;
8
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,5 @@
1
1
  export default function GraphqlSourceSummary(props: {
2
2
  sourceId: string;
3
- }): import("react/jsx-runtime").JSX.Element;
3
+ variant?: "badge" | "panel";
4
+ onAction?: () => void;
5
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -1,48 +1,140 @@
1
1
  import type { ScopeId } from "@executor-js/sdk/core";
2
- export declare const graphqlSourceAtom: (scopeId: ScopeId, namespace: string) => import("effect/unstable/reactivity/Atom").Atom<import("effect/unstable/reactivity/AsyncResult").AsyncResult<{
2
+ import * as Atom from "effect/unstable/reactivity/Atom";
3
+ import * as AsyncResult from "effect/unstable/reactivity/AsyncResult";
4
+ export declare const graphqlSourceAtom: (scopeId: ScopeId, namespace: string) => Atom.Atom<AsyncResult.AsyncResult<{
3
5
  readonly name: string;
6
+ readonly scope: string & import("effect/Brand").Brand<"ScopeId">;
4
7
  readonly endpoint: string;
5
8
  readonly namespace: string;
6
9
  readonly headers: {
7
10
  readonly [x: string]: string | {
8
- readonly secretId: string;
11
+ readonly kind: "binding";
12
+ readonly slot: string;
9
13
  readonly prefix?: string | undefined;
10
14
  };
11
15
  };
12
16
  readonly queryParams: {
13
17
  readonly [x: string]: string | {
14
- readonly secretId: string;
18
+ readonly kind: "binding";
19
+ readonly slot: string;
15
20
  readonly prefix?: string | undefined;
16
21
  };
17
22
  };
18
23
  readonly auth: {
19
24
  readonly kind: "none";
20
25
  } | {
21
- readonly connectionId: string;
22
26
  readonly kind: "oauth2";
27
+ readonly connectionSlot: string;
23
28
  };
24
29
  } | null, import("@executor-js/api").InternalError | import("../sdk").GraphqlIntrospectionError | import("../sdk").GraphqlExtractionError>>;
25
- export declare const addGraphqlSource: import("effect/unstable/reactivity/Atom").AtomResultFn<{
30
+ export declare const graphqlSourceBindingsAtom: (scopeId: ScopeId, namespace: string, sourceScopeId: ScopeId) => Atom.Atom<AsyncResult.AsyncResult<readonly import("../sdk").GraphqlSourceBindingRef[], import("@executor-js/api").InternalError | import("../sdk").GraphqlIntrospectionError | import("../sdk").GraphqlExtractionError>>;
31
+ export declare const addGraphqlSource: Atom.AtomResultFn<{
26
32
  readonly params: {
27
33
  readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
28
34
  };
29
35
  readonly payload: {
30
36
  readonly endpoint: string;
37
+ readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
31
38
  readonly name?: string | undefined;
32
39
  readonly namespace?: string | undefined;
33
40
  readonly headers?: {
34
- readonly [x: string]: unknown;
41
+ readonly [x: string]: string | {
42
+ readonly secretId: string;
43
+ readonly prefix?: string | undefined;
44
+ } | {
45
+ readonly kind: "binding";
46
+ readonly slot: string;
47
+ readonly prefix?: string | undefined;
48
+ } | {
49
+ readonly secretId: string;
50
+ readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
51
+ readonly prefix?: string | undefined;
52
+ readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
53
+ };
35
54
  } | undefined;
36
55
  readonly queryParams?: {
37
- readonly [x: string]: unknown;
56
+ readonly [x: string]: string | {
57
+ readonly secretId: string;
58
+ readonly prefix?: string | undefined;
59
+ } | {
60
+ readonly kind: "binding";
61
+ readonly slot: string;
62
+ readonly prefix?: string | undefined;
63
+ } | {
64
+ readonly secretId: string;
65
+ readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
66
+ readonly prefix?: string | undefined;
67
+ readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
68
+ };
38
69
  } | undefined;
39
70
  readonly auth?: {
40
71
  readonly kind: "none";
72
+ } | {
73
+ readonly kind: "oauth2";
74
+ readonly connectionSlot: string;
75
+ } | {
76
+ readonly connectionId: string;
77
+ readonly kind: "oauth2";
78
+ } | undefined;
79
+ readonly introspectionJson?: string | undefined;
80
+ readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
81
+ };
82
+ readonly responseMode?: "decoded-only" | undefined;
83
+ readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
84
+ }, {
85
+ readonly namespace: string;
86
+ readonly toolCount: number;
87
+ }, import("@executor-js/api").InternalError | import("../sdk").GraphqlIntrospectionError | import("../sdk").GraphqlExtractionError>;
88
+ export declare const addGraphqlSourceOptimistic: (arg: string & import("effect/Brand").Brand<"ScopeId">) => Atom.AtomResultFn<{
89
+ readonly params: {
90
+ readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
91
+ };
92
+ readonly payload: {
93
+ readonly endpoint: string;
94
+ readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
95
+ readonly name?: string | undefined;
96
+ readonly namespace?: string | undefined;
97
+ readonly headers?: {
98
+ readonly [x: string]: string | {
99
+ readonly secretId: string;
100
+ readonly prefix?: string | undefined;
101
+ } | {
102
+ readonly kind: "binding";
103
+ readonly slot: string;
104
+ readonly prefix?: string | undefined;
105
+ } | {
106
+ readonly secretId: string;
107
+ readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
108
+ readonly prefix?: string | undefined;
109
+ readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
110
+ };
111
+ } | undefined;
112
+ readonly queryParams?: {
113
+ readonly [x: string]: string | {
114
+ readonly secretId: string;
115
+ readonly prefix?: string | undefined;
116
+ } | {
117
+ readonly kind: "binding";
118
+ readonly slot: string;
119
+ readonly prefix?: string | undefined;
120
+ } | {
121
+ readonly secretId: string;
122
+ readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
123
+ readonly prefix?: string | undefined;
124
+ readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
125
+ };
126
+ } | undefined;
127
+ readonly auth?: {
128
+ readonly kind: "none";
129
+ } | {
130
+ readonly kind: "oauth2";
131
+ readonly connectionSlot: string;
41
132
  } | {
42
133
  readonly connectionId: string;
43
134
  readonly kind: "oauth2";
44
135
  } | undefined;
45
136
  readonly introspectionJson?: string | undefined;
137
+ readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
46
138
  };
47
139
  readonly responseMode?: "decoded-only" | undefined;
48
140
  readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
@@ -50,29 +142,97 @@ export declare const addGraphqlSource: import("effect/unstable/reactivity/Atom")
50
142
  readonly namespace: string;
51
143
  readonly toolCount: number;
52
144
  }, import("@executor-js/api").InternalError | import("../sdk").GraphqlIntrospectionError | import("../sdk").GraphqlExtractionError>;
53
- export declare const updateGraphqlSource: import("effect/unstable/reactivity/Atom").AtomResultFn<{
145
+ export declare const updateGraphqlSource: Atom.AtomResultFn<{
54
146
  readonly params: {
55
147
  readonly namespace: string;
56
148
  readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
57
149
  };
58
150
  readonly payload: {
151
+ readonly sourceScope: string & import("effect/Brand").Brand<"ScopeId">;
59
152
  readonly name?: string | undefined;
60
153
  readonly endpoint?: string | undefined;
61
154
  readonly headers?: {
62
- readonly [x: string]: unknown;
155
+ readonly [x: string]: string | {
156
+ readonly secretId: string;
157
+ readonly prefix?: string | undefined;
158
+ } | {
159
+ readonly kind: "binding";
160
+ readonly slot: string;
161
+ readonly prefix?: string | undefined;
162
+ } | {
163
+ readonly secretId: string;
164
+ readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
165
+ readonly prefix?: string | undefined;
166
+ readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
167
+ };
63
168
  } | undefined;
64
169
  readonly queryParams?: {
65
- readonly [x: string]: unknown;
170
+ readonly [x: string]: string | {
171
+ readonly secretId: string;
172
+ readonly prefix?: string | undefined;
173
+ } | {
174
+ readonly kind: "binding";
175
+ readonly slot: string;
176
+ readonly prefix?: string | undefined;
177
+ } | {
178
+ readonly secretId: string;
179
+ readonly targetScope: string & import("effect/Brand").Brand<"ScopeId">;
180
+ readonly prefix?: string | undefined;
181
+ readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
182
+ };
66
183
  } | undefined;
67
184
  readonly auth?: {
68
185
  readonly kind: "none";
186
+ } | {
187
+ readonly kind: "oauth2";
188
+ readonly connectionSlot: string;
69
189
  } | {
70
190
  readonly connectionId: string;
71
191
  readonly kind: "oauth2";
72
192
  } | undefined;
193
+ readonly credentialTargetScope?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
73
194
  };
74
195
  readonly responseMode?: "decoded-only" | undefined;
75
196
  readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
76
197
  }, {
77
198
  readonly updated: boolean;
78
199
  }, import("@executor-js/api").InternalError | import("../sdk").GraphqlIntrospectionError | import("../sdk").GraphqlExtractionError>;
200
+ export declare const setGraphqlSourceBinding: Atom.AtomResultFn<{
201
+ readonly params: {
202
+ readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
203
+ };
204
+ readonly payload: {
205
+ readonly value: {
206
+ readonly text: string;
207
+ readonly kind: "text";
208
+ } | {
209
+ readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
210
+ readonly kind: "secret";
211
+ readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
212
+ } | {
213
+ readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
214
+ readonly kind: "connection";
215
+ };
216
+ readonly sourceId: string;
217
+ readonly scope: string & import("effect/Brand").Brand<"ScopeId">;
218
+ readonly slot: string;
219
+ readonly sourceScope: string & import("effect/Brand").Brand<"ScopeId">;
220
+ };
221
+ readonly responseMode?: "decoded-only" | undefined;
222
+ readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
223
+ }, import("../sdk").GraphqlSourceBindingRef, import("@executor-js/api").InternalError | import("../sdk").GraphqlIntrospectionError | import("../sdk").GraphqlExtractionError>;
224
+ export declare const removeGraphqlSourceBinding: Atom.AtomResultFn<{
225
+ readonly params: {
226
+ readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
227
+ };
228
+ readonly payload: {
229
+ readonly sourceId: string;
230
+ readonly scope: string & import("effect/Brand").Brand<"ScopeId">;
231
+ readonly slot: string;
232
+ readonly sourceScope: string & import("effect/Brand").Brand<"ScopeId">;
233
+ };
234
+ readonly responseMode?: "decoded-only" | undefined;
235
+ readonly reactivityKeys?: readonly unknown[] | import("effect/Record").ReadonlyRecord<string, readonly unknown[]> | undefined;
236
+ }, {
237
+ readonly removed: boolean;
238
+ }, import("@executor-js/api").InternalError | import("../sdk").GraphqlIntrospectionError | import("../sdk").GraphqlExtractionError>;