@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.
- package/dist/{AddGraphqlSource-3Z3DB4KQ.js → AddGraphqlSource-PBMKSY7Y.js} +29 -18
- package/dist/AddGraphqlSource-PBMKSY7Y.js.map +1 -0
- package/dist/{EditGraphqlSource-F37RPNKV.js → EditGraphqlSource-AFR4RQHY.js} +107 -91
- package/dist/EditGraphqlSource-AFR4RQHY.js.map +1 -0
- package/dist/{GraphqlSourceSummary-6EYBXVD2.js → GraphqlSourceSummary-MY4AW37M.js} +4 -4
- package/dist/GraphqlSourceSummary-MY4AW37M.js.map +1 -0
- package/dist/api/group.d.ts +71 -232
- package/dist/api/handlers.d.ts +5 -45
- package/dist/api/index.d.ts +76 -404
- package/dist/{chunk-PO2TPM5B.js → chunk-7S2FM3ZF.js} +578 -613
- package/dist/chunk-7S2FM3ZF.js.map +1 -0
- package/dist/chunk-D6E4WAYW.js +51 -0
- package/dist/chunk-D6E4WAYW.js.map +1 -0
- package/dist/{chunk-445ZPXHU.js → chunk-H422YIM4.js} +15 -34
- package/dist/chunk-H422YIM4.js.map +1 -0
- package/dist/{chunk-EW4Y3KEX.js → chunk-OYUIHBWZ.js} +23 -80
- package/dist/chunk-OYUIHBWZ.js.map +1 -0
- package/dist/client.js +7 -47
- package/dist/client.js.map +1 -1
- package/dist/core.js +3 -8
- package/dist/index.js +3 -2
- package/dist/react/atoms.d.ts +146 -186
- package/dist/react/client.d.ts +70 -231
- package/dist/sdk/index.d.ts +2 -2
- package/dist/sdk/introspect.d.ts +151 -151
- package/dist/sdk/invoke.d.ts +5 -5
- package/dist/sdk/plugin.d.ts +74 -228
- package/dist/sdk/presets.d.ts +1 -0
- package/dist/sdk/store.d.ts +3 -135
- package/dist/sdk/types.d.ts +31 -66
- package/dist/testing/index.d.ts +20 -2
- package/dist/testing.js +77 -29
- package/dist/testing.js.map +1 -1
- package/package.json +3 -3
- package/dist/AddGraphqlSource-3Z3DB4KQ.js.map +0 -1
- package/dist/EditGraphqlSource-F37RPNKV.js.map +0 -1
- package/dist/GraphqlSourceSummary-6EYBXVD2.js.map +0 -1
- package/dist/chunk-445ZPXHU.js.map +0 -1
- package/dist/chunk-EW4Y3KEX.js.map +0 -1
- package/dist/chunk-PO2TPM5B.js.map +0 -1
package/dist/api/index.d.ts
CHANGED
|
@@ -6,243 +6,107 @@ export declare const graphqlHttpPlugin: import("@executor-js/sdk/core").Configur
|
|
|
6
6
|
addSource: (config: import("../sdk").GraphqlSourceConfig) => import("effect/Effect").Effect<{
|
|
7
7
|
toolCount: number;
|
|
8
8
|
namespace: string;
|
|
9
|
-
}, import("@executor-js/
|
|
10
|
-
removeSource: (namespace: string, scope: string) => import("effect/Effect").Effect<void, import("@executor-js/
|
|
11
|
-
getSource: (namespace: string, scope: string) => import("effect/Effect").Effect<import("../sdk").StoredGraphqlSource | null, import("@executor-js/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
readonly text: string;
|
|
16
|
-
readonly kind: "text";
|
|
17
|
-
} | {
|
|
18
|
-
readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
|
|
19
|
-
readonly kind: "secret";
|
|
20
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
21
|
-
} | {
|
|
22
|
-
readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
|
|
23
|
-
readonly kind: "connection";
|
|
24
|
-
};
|
|
25
|
-
readonly createdAt: Date;
|
|
26
|
-
readonly sourceId: string;
|
|
27
|
-
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
28
|
-
readonly updatedAt: Date;
|
|
29
|
-
readonly slot: string;
|
|
30
|
-
readonly sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
31
|
-
}[], import("@executor-js/storage-core").StorageFailure, never>;
|
|
32
|
-
setSourceBinding: (input: import("../sdk").GraphqlSourceBindingInput) => import("effect/Effect").Effect<{
|
|
33
|
-
readonly value: {
|
|
34
|
-
readonly text: string;
|
|
35
|
-
readonly kind: "text";
|
|
36
|
-
} | {
|
|
37
|
-
readonly secretId: string & import("effect/Brand").Brand<"SecretId">;
|
|
38
|
-
readonly kind: "secret";
|
|
39
|
-
readonly secretScopeId?: (string & import("effect/Brand").Brand<"ScopeId">) | undefined;
|
|
40
|
-
} | {
|
|
41
|
-
readonly connectionId: string & import("effect/Brand").Brand<"ConnectionId">;
|
|
42
|
-
readonly kind: "connection";
|
|
43
|
-
};
|
|
44
|
-
readonly createdAt: Date;
|
|
45
|
-
readonly sourceId: string;
|
|
46
|
-
readonly scopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
47
|
-
readonly updatedAt: Date;
|
|
48
|
-
readonly slot: string;
|
|
49
|
-
readonly sourceScopeId: string & import("effect/Brand").Brand<"ScopeId">;
|
|
50
|
-
}, import("@executor-js/storage-core").StorageFailure, never>;
|
|
51
|
-
removeSourceBinding: (sourceId: string, sourceScope: string, slot: string, scope: string) => import("effect/Effect").Effect<void, import("@executor-js/storage-core").StorageFailure, never>;
|
|
52
|
-
}, import("../sdk").GraphqlStore, GraphqlPluginOptions, {
|
|
53
|
-
readonly graphql_source: {
|
|
54
|
-
readonly fields: {
|
|
55
|
-
readonly id: {
|
|
56
|
-
readonly type: "string";
|
|
57
|
-
readonly required: true;
|
|
58
|
-
};
|
|
59
|
-
readonly scope_id: {
|
|
60
|
-
readonly type: "string";
|
|
61
|
-
readonly required: true;
|
|
62
|
-
readonly index: true;
|
|
63
|
-
};
|
|
64
|
-
readonly name: {
|
|
65
|
-
readonly type: "string";
|
|
66
|
-
readonly required: true;
|
|
67
|
-
};
|
|
68
|
-
readonly endpoint: {
|
|
69
|
-
readonly type: "string";
|
|
70
|
-
readonly required: true;
|
|
71
|
-
};
|
|
72
|
-
readonly auth_kind: {
|
|
73
|
-
readonly type: ["none", "oauth2"];
|
|
74
|
-
readonly required: true;
|
|
75
|
-
readonly defaultValue: "none";
|
|
76
|
-
};
|
|
77
|
-
readonly auth_connection_slot: {
|
|
78
|
-
readonly type: "string";
|
|
79
|
-
readonly required: false;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
readonly graphql_source_header: {
|
|
84
|
-
readonly fields: {
|
|
85
|
-
readonly id: {
|
|
86
|
-
readonly type: "string";
|
|
87
|
-
readonly required: true;
|
|
88
|
-
};
|
|
89
|
-
readonly scope_id: {
|
|
90
|
-
readonly type: "string";
|
|
91
|
-
readonly required: true;
|
|
92
|
-
readonly index: true;
|
|
93
|
-
};
|
|
94
|
-
readonly source_id: {
|
|
95
|
-
readonly type: "string";
|
|
96
|
-
readonly required: true;
|
|
97
|
-
readonly index: true;
|
|
98
|
-
};
|
|
99
|
-
readonly name: {
|
|
100
|
-
readonly type: "string";
|
|
101
|
-
readonly required: true;
|
|
102
|
-
};
|
|
103
|
-
readonly kind: {
|
|
104
|
-
readonly type: ["text", "binding"];
|
|
105
|
-
readonly required: true;
|
|
106
|
-
};
|
|
107
|
-
readonly text_value: {
|
|
108
|
-
readonly type: "string";
|
|
109
|
-
readonly required: false;
|
|
110
|
-
};
|
|
111
|
-
readonly slot_key: {
|
|
112
|
-
readonly type: "string";
|
|
113
|
-
readonly required: false;
|
|
114
|
-
};
|
|
115
|
-
readonly prefix: {
|
|
116
|
-
readonly type: "string";
|
|
117
|
-
readonly required: false;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
readonly graphql_source_query_param: {
|
|
122
|
-
readonly fields: {
|
|
123
|
-
readonly id: {
|
|
124
|
-
readonly type: "string";
|
|
125
|
-
readonly required: true;
|
|
126
|
-
};
|
|
127
|
-
readonly scope_id: {
|
|
128
|
-
readonly type: "string";
|
|
129
|
-
readonly required: true;
|
|
130
|
-
readonly index: true;
|
|
131
|
-
};
|
|
132
|
-
readonly source_id: {
|
|
133
|
-
readonly type: "string";
|
|
134
|
-
readonly required: true;
|
|
135
|
-
readonly index: true;
|
|
136
|
-
};
|
|
137
|
-
readonly name: {
|
|
138
|
-
readonly type: "string";
|
|
139
|
-
readonly required: true;
|
|
140
|
-
};
|
|
141
|
-
readonly kind: {
|
|
142
|
-
readonly type: ["text", "binding"];
|
|
143
|
-
readonly required: true;
|
|
144
|
-
};
|
|
145
|
-
readonly text_value: {
|
|
146
|
-
readonly type: "string";
|
|
147
|
-
readonly required: false;
|
|
148
|
-
};
|
|
149
|
-
readonly slot_key: {
|
|
150
|
-
readonly type: "string";
|
|
151
|
-
readonly required: false;
|
|
152
|
-
};
|
|
153
|
-
readonly prefix: {
|
|
154
|
-
readonly type: "string";
|
|
155
|
-
readonly required: false;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
readonly graphql_operation: {
|
|
160
|
-
readonly fields: {
|
|
161
|
-
readonly id: {
|
|
162
|
-
readonly type: "string";
|
|
163
|
-
readonly required: true;
|
|
164
|
-
};
|
|
165
|
-
readonly scope_id: {
|
|
166
|
-
readonly type: "string";
|
|
167
|
-
readonly required: true;
|
|
168
|
-
readonly index: true;
|
|
169
|
-
};
|
|
170
|
-
readonly source_id: {
|
|
171
|
-
readonly type: "string";
|
|
172
|
-
readonly required: true;
|
|
173
|
-
readonly index: true;
|
|
174
|
-
};
|
|
175
|
-
readonly binding: {
|
|
176
|
-
readonly type: "json";
|
|
177
|
-
readonly required: true;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
}, typeof GraphqlExtensionService, import("effect/Layer").Layer<import("effect/unstable/httpapi/HttpApiGroup").ApiGroup<"executor", "graphql">, never, import("effect/unstable/http/HttpRouter").Request<"Requires", GraphqlExtensionService>>, import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"graphql", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"addSource", "POST", "/scopes/:scopeId/graphql/sources", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
9
|
+
}, import("@executor-js/sdk/core").StorageFailure | import("../sdk").GraphqlIntrospectionError | import("../sdk").GraphqlExtractionError, never>;
|
|
10
|
+
removeSource: (namespace: string, scope: string) => import("effect/Effect").Effect<void, import("@executor-js/sdk/core").StorageFailure, never>;
|
|
11
|
+
getSource: (namespace: string, scope: string) => import("effect/Effect").Effect<import("../sdk").StoredGraphqlSource | null, import("@executor-js/sdk/core").StorageFailure, never>;
|
|
12
|
+
configureSource: (namespace: string, scope: string, targetScope: string, input: Omit<import("../sdk").GraphqlConfigureSourceInput, "scope">) => import("effect/Effect").Effect<void, import("@executor-js/sdk/core").StorageFailure, never>;
|
|
13
|
+
configure: (source: import("../sdk").GraphqlSourceRef, input: import("../sdk").GraphqlConfigureSourceInput) => import("effect/Effect").Effect<void, import("@executor-js/sdk/core").StorageFailure, never>;
|
|
14
|
+
}, import("../sdk").GraphqlStore, GraphqlPluginOptions, {}, typeof GraphqlExtensionService, import("effect/Layer").Layer<import("effect/unstable/httpapi/HttpApiGroup").ApiGroup<"executor", "graphql">, never, import("effect/unstable/http/HttpRouter").Request<"Requires", GraphqlExtensionService>>, import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"graphql", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"addSource", "POST", "/scopes/:scopeId/graphql/sources", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
182
15
|
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
183
16
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
184
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
185
17
|
readonly endpoint: import("effect/Schema").String;
|
|
186
|
-
readonly name: import("effect/Schema").
|
|
18
|
+
readonly name: import("effect/Schema").String;
|
|
187
19
|
readonly introspectionJson: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
188
|
-
readonly namespace: import("effect/Schema").
|
|
189
|
-
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
190
|
-
readonly
|
|
191
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
192
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
193
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
194
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
195
|
-
readonly secretId: import("effect/Schema").String;
|
|
196
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
197
|
-
}>]>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
198
|
-
readonly kind: import("effect/Schema").Literal<"binding">;
|
|
199
|
-
readonly slot: import("effect/Schema").String;
|
|
200
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
201
|
-
}>]>]>>>;
|
|
202
|
-
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
203
|
-
readonly secretId: import("effect/Schema").String;
|
|
204
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
205
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
206
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
207
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
208
|
-
readonly secretId: import("effect/Schema").String;
|
|
20
|
+
readonly namespace: import("effect/Schema").String;
|
|
21
|
+
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
22
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
209
23
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
210
|
-
}>]
|
|
211
|
-
|
|
212
|
-
readonly
|
|
24
|
+
}>]>>>;
|
|
25
|
+
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
26
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
213
27
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
214
|
-
}>]
|
|
215
|
-
readonly
|
|
216
|
-
readonly auth: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
217
|
-
readonly kind: import("effect/Schema").Literal<"none">;
|
|
218
|
-
}>, import("effect/Schema").Struct<{
|
|
28
|
+
}>]>>>;
|
|
29
|
+
readonly oauth2: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
219
30
|
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
31
|
+
readonly securitySchemeName: import("effect/Schema").String;
|
|
32
|
+
readonly flow: import("effect/Schema").Literals<readonly ["authorizationCode", "clientCredentials"]>;
|
|
33
|
+
readonly tokenUrl: import("effect/Schema").String;
|
|
34
|
+
readonly authorizationUrl: import("effect/Schema").withDecodingDefault<import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>>;
|
|
35
|
+
readonly issuerUrl: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
36
|
+
readonly clientIdSlot: import("effect/Schema").String;
|
|
37
|
+
readonly clientSecretSlot: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
220
38
|
readonly connectionSlot: import("effect/Schema").String;
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
39
|
+
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
40
|
+
}>>;
|
|
41
|
+
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
42
|
+
readonly scope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
43
|
+
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
44
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
45
|
+
readonly text: import("effect/Schema").String;
|
|
46
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
47
|
+
}>, import("effect/Schema").Struct<{
|
|
48
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
49
|
+
readonly secretId: import("effect/Schema").String;
|
|
50
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
51
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
52
|
+
}>, import("effect/Schema").Struct<{
|
|
53
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
54
|
+
readonly connectionId: import("effect/Schema").String;
|
|
55
|
+
}>]>>>;
|
|
56
|
+
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
57
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
58
|
+
readonly text: import("effect/Schema").String;
|
|
59
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
60
|
+
}>, import("effect/Schema").Struct<{
|
|
61
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
62
|
+
readonly secretId: import("effect/Schema").String;
|
|
63
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
64
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
65
|
+
}>, import("effect/Schema").Struct<{
|
|
66
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
67
|
+
readonly connectionId: import("effect/Schema").String;
|
|
68
|
+
}>]>>>;
|
|
69
|
+
readonly auth: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
70
|
+
readonly kind: import("effect/Schema").Literal<"none">;
|
|
71
|
+
}>, import("effect/Schema").Struct<{
|
|
72
|
+
readonly oauth2: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
73
|
+
readonly connection: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
74
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
75
|
+
readonly text: import("effect/Schema").String;
|
|
76
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
77
|
+
}>, import("effect/Schema").Struct<{
|
|
78
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
79
|
+
readonly secretId: import("effect/Schema").String;
|
|
80
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
81
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
82
|
+
}>, import("effect/Schema").Struct<{
|
|
83
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
84
|
+
readonly connectionId: import("effect/Schema").String;
|
|
85
|
+
}>]>>;
|
|
86
|
+
}>>;
|
|
87
|
+
}>]>>;
|
|
88
|
+
}>>;
|
|
225
89
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
226
90
|
readonly toolCount: import("effect/Schema").Number;
|
|
227
91
|
readonly namespace: import("effect/Schema").String;
|
|
228
92
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
229
|
-
readonly message: string;
|
|
230
93
|
readonly _tag: "GraphqlIntrospectionError";
|
|
94
|
+
readonly message: string;
|
|
231
95
|
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
232
96
|
readonly message: import("effect/Schema").String;
|
|
233
97
|
}>], {
|
|
234
|
-
readonly message: string;
|
|
235
98
|
readonly _tag: "GraphqlIntrospectionError";
|
|
99
|
+
readonly message: string;
|
|
236
100
|
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
237
101
|
readonly message: import("effect/Schema").String;
|
|
238
102
|
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
239
|
-
readonly message: string;
|
|
240
103
|
readonly _tag: "GraphqlExtractionError";
|
|
104
|
+
readonly message: string;
|
|
241
105
|
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
242
106
|
readonly message: import("effect/Schema").String;
|
|
243
107
|
}>], {
|
|
244
|
-
readonly message: string;
|
|
245
108
|
readonly _tag: "GraphqlExtractionError";
|
|
109
|
+
readonly message: string;
|
|
246
110
|
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
247
111
|
readonly message: import("effect/Schema").String;
|
|
248
112
|
}>, never, never>>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSource", "GET", "/scopes/:scopeId/graphql/sources/:namespace", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
@@ -270,215 +134,23 @@ export declare const graphqlHttpPlugin: import("@executor-js/sdk/core").Configur
|
|
|
270
134
|
readonly connectionSlot: import("effect/Schema").String;
|
|
271
135
|
}>]>;
|
|
272
136
|
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
273
|
-
readonly message: string;
|
|
274
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
275
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
276
|
-
readonly message: import("effect/Schema").String;
|
|
277
|
-
}>], {
|
|
278
|
-
readonly message: string;
|
|
279
137
|
readonly _tag: "GraphqlIntrospectionError";
|
|
280
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
281
|
-
readonly message: import("effect/Schema").String;
|
|
282
|
-
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
283
138
|
readonly message: string;
|
|
284
|
-
readonly _tag: "GraphqlExtractionError";
|
|
285
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
286
|
-
readonly message: import("effect/Schema").String;
|
|
287
|
-
}>], {
|
|
288
|
-
readonly message: string;
|
|
289
|
-
readonly _tag: "GraphqlExtractionError";
|
|
290
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
291
|
-
readonly message: import("effect/Schema").String;
|
|
292
|
-
}>, never, never>>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateSource", "PATCH", "/scopes/:scopeId/graphql/sources/:namespace", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
293
|
-
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
294
|
-
namespace: import("effect/Schema").String;
|
|
295
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
296
|
-
readonly sourceScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
297
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
298
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
299
|
-
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
300
|
-
readonly secretId: import("effect/Schema").String;
|
|
301
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
302
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
303
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
304
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
305
|
-
readonly secretId: import("effect/Schema").String;
|
|
306
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
307
|
-
}>]>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
308
|
-
readonly kind: import("effect/Schema").Literal<"binding">;
|
|
309
|
-
readonly slot: import("effect/Schema").String;
|
|
310
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
311
|
-
}>]>]>>>;
|
|
312
|
-
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
313
|
-
readonly secretId: import("effect/Schema").String;
|
|
314
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
315
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
316
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
317
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
318
|
-
readonly secretId: import("effect/Schema").String;
|
|
319
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
320
|
-
}>]>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
321
|
-
readonly kind: import("effect/Schema").Literal<"binding">;
|
|
322
|
-
readonly slot: import("effect/Schema").String;
|
|
323
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
324
|
-
}>]>]>>>;
|
|
325
|
-
readonly credentialTargetScope: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
326
|
-
readonly auth: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
327
|
-
readonly kind: import("effect/Schema").Literal<"none">;
|
|
328
|
-
}>, import("effect/Schema").Struct<{
|
|
329
|
-
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
330
|
-
readonly connectionSlot: import("effect/Schema").String;
|
|
331
|
-
}>]>, import("effect/Schema").Struct<{
|
|
332
|
-
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
333
|
-
readonly connectionId: import("effect/Schema").String;
|
|
334
|
-
}>]>>;
|
|
335
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
336
|
-
readonly updated: import("effect/Schema").Boolean;
|
|
337
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
338
|
-
readonly message: string;
|
|
339
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
340
139
|
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
341
140
|
readonly message: import("effect/Schema").String;
|
|
342
141
|
}>], {
|
|
343
|
-
readonly message: string;
|
|
344
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
345
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
346
|
-
readonly message: import("effect/Schema").String;
|
|
347
|
-
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
348
|
-
readonly message: string;
|
|
349
|
-
readonly _tag: "GraphqlExtractionError";
|
|
350
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
351
|
-
readonly message: import("effect/Schema").String;
|
|
352
|
-
}>], {
|
|
353
|
-
readonly message: string;
|
|
354
|
-
readonly _tag: "GraphqlExtractionError";
|
|
355
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
356
|
-
readonly message: import("effect/Schema").String;
|
|
357
|
-
}>, never, never>>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSourceBindings", "GET", "/scopes/:scopeId/graphql/sources/:namespace/base/:sourceScopeId/bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
358
|
-
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
359
|
-
namespace: import("effect/Schema").String;
|
|
360
|
-
sourceScopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
361
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
362
|
-
readonly sourceId: import("effect/Schema").String;
|
|
363
|
-
readonly sourceScopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
364
|
-
readonly scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
365
|
-
readonly slot: import("effect/Schema").String;
|
|
366
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
367
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
368
|
-
readonly text: import("effect/Schema").String;
|
|
369
|
-
}>, import("effect/Schema").Struct<{
|
|
370
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
371
|
-
readonly secretId: import("effect/Schema").brand<import("effect/Schema").String, "SecretId">;
|
|
372
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
373
|
-
}>, import("effect/Schema").Struct<{
|
|
374
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
375
|
-
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
376
|
-
}>]>;
|
|
377
|
-
readonly createdAt: import("effect/Schema").Date;
|
|
378
|
-
readonly updatedAt: import("effect/Schema").Date;
|
|
379
|
-
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
380
|
-
readonly message: string;
|
|
381
142
|
readonly _tag: "GraphqlIntrospectionError";
|
|
382
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
383
|
-
readonly message: import("effect/Schema").String;
|
|
384
|
-
}>], {
|
|
385
143
|
readonly message: string;
|
|
386
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
387
144
|
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
388
145
|
readonly message: import("effect/Schema").String;
|
|
389
146
|
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
390
|
-
readonly message: string;
|
|
391
147
|
readonly _tag: "GraphqlExtractionError";
|
|
392
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
393
|
-
readonly message: import("effect/Schema").String;
|
|
394
|
-
}>], {
|
|
395
148
|
readonly message: string;
|
|
396
|
-
readonly _tag: "GraphqlExtractionError";
|
|
397
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
398
|
-
readonly message: import("effect/Schema").String;
|
|
399
|
-
}>, never, never>>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setSourceBinding", "POST", "/scopes/:scopeId/graphql/source-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
400
|
-
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
401
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
402
|
-
readonly sourceId: import("effect/Schema").String;
|
|
403
|
-
readonly sourceScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
404
|
-
readonly scope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
405
|
-
readonly slot: import("effect/Schema").String;
|
|
406
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
407
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
408
|
-
readonly text: import("effect/Schema").String;
|
|
409
|
-
}>, import("effect/Schema").Struct<{
|
|
410
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
411
|
-
readonly secretId: import("effect/Schema").brand<import("effect/Schema").String, "SecretId">;
|
|
412
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
413
|
-
}>, import("effect/Schema").Struct<{
|
|
414
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
415
|
-
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
416
|
-
}>]>;
|
|
417
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
418
|
-
readonly sourceId: import("effect/Schema").String;
|
|
419
|
-
readonly sourceScopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
420
|
-
readonly scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
421
|
-
readonly slot: import("effect/Schema").String;
|
|
422
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
423
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
424
|
-
readonly text: import("effect/Schema").String;
|
|
425
|
-
}>, import("effect/Schema").Struct<{
|
|
426
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
427
|
-
readonly secretId: import("effect/Schema").brand<import("effect/Schema").String, "SecretId">;
|
|
428
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
429
|
-
}>, import("effect/Schema").Struct<{
|
|
430
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
431
|
-
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
432
|
-
}>]>;
|
|
433
|
-
readonly createdAt: import("effect/Schema").Date;
|
|
434
|
-
readonly updatedAt: import("effect/Schema").Date;
|
|
435
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
436
|
-
readonly message: string;
|
|
437
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
438
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
439
|
-
readonly message: import("effect/Schema").String;
|
|
440
|
-
}>], {
|
|
441
|
-
readonly message: string;
|
|
442
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
443
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
444
|
-
readonly message: import("effect/Schema").String;
|
|
445
|
-
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
446
|
-
readonly message: string;
|
|
447
|
-
readonly _tag: "GraphqlExtractionError";
|
|
448
149
|
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
449
150
|
readonly message: import("effect/Schema").String;
|
|
450
151
|
}>], {
|
|
451
|
-
readonly message: string;
|
|
452
|
-
readonly _tag: "GraphqlExtractionError";
|
|
453
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
454
|
-
readonly message: import("effect/Schema").String;
|
|
455
|
-
}>, never, never>>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"removeSourceBinding", "POST", "/scopes/:scopeId/graphql/source-bindings/remove", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
456
|
-
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
457
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
458
|
-
readonly sourceId: import("effect/Schema").String;
|
|
459
|
-
readonly sourceScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
460
|
-
readonly slot: import("effect/Schema").String;
|
|
461
|
-
readonly scope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
462
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
463
|
-
readonly removed: import("effect/Schema").Boolean;
|
|
464
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/api").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
465
|
-
readonly message: string;
|
|
466
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
467
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
468
|
-
readonly message: import("effect/Schema").String;
|
|
469
|
-
}>], {
|
|
470
|
-
readonly message: string;
|
|
471
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
472
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
473
|
-
readonly message: import("effect/Schema").String;
|
|
474
|
-
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
475
|
-
readonly message: string;
|
|
476
152
|
readonly _tag: "GraphqlExtractionError";
|
|
477
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
478
|
-
readonly message: import("effect/Schema").String;
|
|
479
|
-
}>], {
|
|
480
153
|
readonly message: string;
|
|
481
|
-
readonly _tag: "GraphqlExtractionError";
|
|
482
154
|
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
483
155
|
readonly message: import("effect/Schema").String;
|
|
484
156
|
}>, never, never>>, never, never>, false>>;
|