@executor-js/plugin-graphql 1.4.29 → 1.4.30
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/react/client.d.ts
CHANGED
|
@@ -1,68 +1,99 @@
|
|
|
1
1
|
export declare const GraphqlClient: import("effect/unstable/reactivity/AtomHttpApi").AtomHttpApiClient<"Plugin_graphqlClient", `Plugin_${string}Client`, 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<{
|
|
2
2
|
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
3
3
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
4
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
5
4
|
readonly endpoint: import("effect/Schema").String;
|
|
6
|
-
readonly name: import("effect/Schema").
|
|
5
|
+
readonly name: import("effect/Schema").String;
|
|
7
6
|
readonly introspectionJson: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8
|
-
readonly namespace: import("effect/Schema").
|
|
9
|
-
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
10
|
-
readonly
|
|
11
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
12
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
13
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
14
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
15
|
-
readonly secretId: import("effect/Schema").String;
|
|
16
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17
|
-
}>]>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
18
|
-
readonly kind: import("effect/Schema").Literal<"binding">;
|
|
19
|
-
readonly slot: import("effect/Schema").String;
|
|
20
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
21
|
-
}>]>]>>>;
|
|
22
|
-
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
23
|
-
readonly secretId: import("effect/Schema").String;
|
|
24
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
25
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
26
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
27
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
28
|
-
readonly secretId: import("effect/Schema").String;
|
|
7
|
+
readonly namespace: import("effect/Schema").String;
|
|
8
|
+
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<{
|
|
9
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
29
10
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
30
|
-
}>]
|
|
31
|
-
|
|
32
|
-
readonly
|
|
11
|
+
}>]>>>;
|
|
12
|
+
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<{
|
|
13
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
33
14
|
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
34
|
-
}>]
|
|
35
|
-
readonly
|
|
36
|
-
readonly auth: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
37
|
-
readonly kind: import("effect/Schema").Literal<"none">;
|
|
38
|
-
}>, import("effect/Schema").Struct<{
|
|
15
|
+
}>]>>>;
|
|
16
|
+
readonly oauth2: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
39
17
|
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
18
|
+
readonly securitySchemeName: import("effect/Schema").String;
|
|
19
|
+
readonly flow: import("effect/Schema").Literals<readonly ["authorizationCode", "clientCredentials"]>;
|
|
20
|
+
readonly tokenUrl: import("effect/Schema").String;
|
|
21
|
+
readonly authorizationUrl: import("effect/Schema").withDecodingDefault<import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>>;
|
|
22
|
+
readonly issuerUrl: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
23
|
+
readonly clientIdSlot: import("effect/Schema").String;
|
|
24
|
+
readonly clientSecretSlot: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
40
25
|
readonly connectionSlot: import("effect/Schema").String;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
26
|
+
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
27
|
+
}>>;
|
|
28
|
+
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
29
|
+
readonly scope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
30
|
+
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<{
|
|
31
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
32
|
+
readonly text: import("effect/Schema").String;
|
|
33
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
34
|
+
}>, import("effect/Schema").Struct<{
|
|
35
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
36
|
+
readonly secretId: import("effect/Schema").String;
|
|
37
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
38
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
39
|
+
}>, import("effect/Schema").Struct<{
|
|
40
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
41
|
+
readonly connectionId: import("effect/Schema").String;
|
|
42
|
+
}>]>>>;
|
|
43
|
+
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<{
|
|
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 auth: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
57
|
+
readonly kind: import("effect/Schema").Literal<"none">;
|
|
58
|
+
}>, import("effect/Schema").Struct<{
|
|
59
|
+
readonly oauth2: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
60
|
+
readonly connection: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
61
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
62
|
+
readonly text: import("effect/Schema").String;
|
|
63
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
64
|
+
}>, import("effect/Schema").Struct<{
|
|
65
|
+
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
66
|
+
readonly secretId: import("effect/Schema").String;
|
|
67
|
+
readonly secretScope: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
68
|
+
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
69
|
+
}>, import("effect/Schema").Struct<{
|
|
70
|
+
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
71
|
+
readonly connectionId: import("effect/Schema").String;
|
|
72
|
+
}>]>>;
|
|
73
|
+
}>>;
|
|
74
|
+
}>]>>;
|
|
75
|
+
}>>;
|
|
45
76
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
46
77
|
readonly toolCount: import("effect/Schema").Number;
|
|
47
78
|
readonly namespace: import("effect/Schema").String;
|
|
48
79
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/sdk").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
49
|
-
readonly message: string;
|
|
50
80
|
readonly _tag: "GraphqlIntrospectionError";
|
|
81
|
+
readonly message: string;
|
|
51
82
|
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
52
83
|
readonly message: import("effect/Schema").String;
|
|
53
84
|
}>], {
|
|
54
|
-
readonly message: string;
|
|
55
85
|
readonly _tag: "GraphqlIntrospectionError";
|
|
86
|
+
readonly message: string;
|
|
56
87
|
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
57
88
|
readonly message: import("effect/Schema").String;
|
|
58
89
|
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
59
|
-
readonly message: string;
|
|
60
90
|
readonly _tag: "GraphqlExtractionError";
|
|
91
|
+
readonly message: string;
|
|
61
92
|
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
62
93
|
readonly message: import("effect/Schema").String;
|
|
63
94
|
}>], {
|
|
64
|
-
readonly message: string;
|
|
65
95
|
readonly _tag: "GraphqlExtractionError";
|
|
96
|
+
readonly message: string;
|
|
66
97
|
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
67
98
|
readonly message: import("effect/Schema").String;
|
|
68
99
|
}>, 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<{
|
|
@@ -90,215 +121,23 @@ export declare const GraphqlClient: import("effect/unstable/reactivity/AtomHttpA
|
|
|
90
121
|
readonly connectionSlot: import("effect/Schema").String;
|
|
91
122
|
}>]>;
|
|
92
123
|
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/sdk").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
93
|
-
readonly message: string;
|
|
94
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
95
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
96
|
-
readonly message: import("effect/Schema").String;
|
|
97
|
-
}>], {
|
|
98
|
-
readonly message: string;
|
|
99
124
|
readonly _tag: "GraphqlIntrospectionError";
|
|
100
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
101
|
-
readonly message: import("effect/Schema").String;
|
|
102
|
-
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
103
125
|
readonly message: string;
|
|
104
|
-
readonly _tag: "GraphqlExtractionError";
|
|
105
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
106
|
-
readonly message: import("effect/Schema").String;
|
|
107
|
-
}>], {
|
|
108
|
-
readonly message: string;
|
|
109
|
-
readonly _tag: "GraphqlExtractionError";
|
|
110
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
111
|
-
readonly message: import("effect/Schema").String;
|
|
112
|
-
}>, 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<{
|
|
113
|
-
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
114
|
-
namespace: import("effect/Schema").String;
|
|
115
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
116
|
-
readonly sourceScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
117
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
118
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
119
|
-
readonly headers: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
120
|
-
readonly secretId: import("effect/Schema").String;
|
|
121
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
122
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
123
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
124
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
125
|
-
readonly secretId: import("effect/Schema").String;
|
|
126
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
127
|
-
}>]>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
128
|
-
readonly kind: import("effect/Schema").Literal<"binding">;
|
|
129
|
-
readonly slot: import("effect/Schema").String;
|
|
130
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
131
|
-
}>]>]>>>;
|
|
132
|
-
readonly queryParams: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
133
|
-
readonly secretId: import("effect/Schema").String;
|
|
134
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
135
|
-
readonly targetScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
136
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
137
|
-
}>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
138
|
-
readonly secretId: import("effect/Schema").String;
|
|
139
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
140
|
-
}>]>, import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Struct<{
|
|
141
|
-
readonly kind: import("effect/Schema").Literal<"binding">;
|
|
142
|
-
readonly slot: import("effect/Schema").String;
|
|
143
|
-
readonly prefix: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
144
|
-
}>]>]>>>;
|
|
145
|
-
readonly credentialTargetScope: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
146
|
-
readonly auth: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
147
|
-
readonly kind: import("effect/Schema").Literal<"none">;
|
|
148
|
-
}>, import("effect/Schema").Struct<{
|
|
149
|
-
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
150
|
-
readonly connectionSlot: import("effect/Schema").String;
|
|
151
|
-
}>]>, import("effect/Schema").Struct<{
|
|
152
|
-
readonly kind: import("effect/Schema").Literal<"oauth2">;
|
|
153
|
-
readonly connectionId: import("effect/Schema").String;
|
|
154
|
-
}>]>>;
|
|
155
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
156
|
-
readonly updated: import("effect/Schema").Boolean;
|
|
157
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/sdk").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
158
|
-
readonly message: string;
|
|
159
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
160
126
|
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
161
127
|
readonly message: import("effect/Schema").String;
|
|
162
128
|
}>], {
|
|
163
|
-
readonly message: string;
|
|
164
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
165
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
166
|
-
readonly message: import("effect/Schema").String;
|
|
167
|
-
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
168
|
-
readonly message: string;
|
|
169
|
-
readonly _tag: "GraphqlExtractionError";
|
|
170
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
171
|
-
readonly message: import("effect/Schema").String;
|
|
172
|
-
}>], {
|
|
173
|
-
readonly message: string;
|
|
174
|
-
readonly _tag: "GraphqlExtractionError";
|
|
175
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
176
|
-
readonly message: import("effect/Schema").String;
|
|
177
|
-
}>, 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<{
|
|
178
|
-
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
179
|
-
namespace: import("effect/Schema").String;
|
|
180
|
-
sourceScopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
181
|
-
}>>, 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<{
|
|
182
|
-
readonly sourceId: import("effect/Schema").String;
|
|
183
|
-
readonly sourceScopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
184
|
-
readonly scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
185
|
-
readonly slot: import("effect/Schema").String;
|
|
186
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
187
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
188
|
-
readonly text: import("effect/Schema").String;
|
|
189
|
-
}>, import("effect/Schema").Struct<{
|
|
190
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
191
|
-
readonly secretId: import("effect/Schema").brand<import("effect/Schema").String, "SecretId">;
|
|
192
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
193
|
-
}>, import("effect/Schema").Struct<{
|
|
194
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
195
|
-
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
196
|
-
}>]>;
|
|
197
|
-
readonly createdAt: import("effect/Schema").Date;
|
|
198
|
-
readonly updatedAt: import("effect/Schema").Date;
|
|
199
|
-
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/sdk").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
200
|
-
readonly message: string;
|
|
201
129
|
readonly _tag: "GraphqlIntrospectionError";
|
|
202
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
203
|
-
readonly message: import("effect/Schema").String;
|
|
204
|
-
}>], {
|
|
205
130
|
readonly message: string;
|
|
206
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
207
131
|
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
208
132
|
readonly message: import("effect/Schema").String;
|
|
209
133
|
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
210
|
-
readonly message: string;
|
|
211
134
|
readonly _tag: "GraphqlExtractionError";
|
|
212
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
213
|
-
readonly message: import("effect/Schema").String;
|
|
214
|
-
}>], {
|
|
215
135
|
readonly message: string;
|
|
216
|
-
readonly _tag: "GraphqlExtractionError";
|
|
217
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
218
|
-
readonly message: import("effect/Schema").String;
|
|
219
|
-
}>, 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<{
|
|
220
|
-
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
221
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
222
|
-
readonly sourceId: import("effect/Schema").String;
|
|
223
|
-
readonly sourceScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
224
|
-
readonly scope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
225
|
-
readonly slot: import("effect/Schema").String;
|
|
226
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
227
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
228
|
-
readonly text: import("effect/Schema").String;
|
|
229
|
-
}>, import("effect/Schema").Struct<{
|
|
230
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
231
|
-
readonly secretId: import("effect/Schema").brand<import("effect/Schema").String, "SecretId">;
|
|
232
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
233
|
-
}>, import("effect/Schema").Struct<{
|
|
234
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
235
|
-
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
236
|
-
}>]>;
|
|
237
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
238
|
-
readonly sourceId: import("effect/Schema").String;
|
|
239
|
-
readonly sourceScopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
240
|
-
readonly scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
241
|
-
readonly slot: import("effect/Schema").String;
|
|
242
|
-
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
243
|
-
readonly kind: import("effect/Schema").Literal<"text">;
|
|
244
|
-
readonly text: import("effect/Schema").String;
|
|
245
|
-
}>, import("effect/Schema").Struct<{
|
|
246
|
-
readonly kind: import("effect/Schema").Literal<"secret">;
|
|
247
|
-
readonly secretId: import("effect/Schema").brand<import("effect/Schema").String, "SecretId">;
|
|
248
|
-
readonly secretScopeId: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">>;
|
|
249
|
-
}>, import("effect/Schema").Struct<{
|
|
250
|
-
readonly kind: import("effect/Schema").Literal<"connection">;
|
|
251
|
-
readonly connectionId: import("effect/Schema").brand<import("effect/Schema").String, "ConnectionId">;
|
|
252
|
-
}>]>;
|
|
253
|
-
readonly createdAt: import("effect/Schema").Date;
|
|
254
|
-
readonly updatedAt: import("effect/Schema").Date;
|
|
255
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/sdk").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
256
|
-
readonly message: string;
|
|
257
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
258
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
259
|
-
readonly message: import("effect/Schema").String;
|
|
260
|
-
}>], {
|
|
261
|
-
readonly message: string;
|
|
262
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
263
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
264
|
-
readonly message: import("effect/Schema").String;
|
|
265
|
-
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
266
|
-
readonly message: string;
|
|
267
|
-
readonly _tag: "GraphqlExtractionError";
|
|
268
136
|
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
269
137
|
readonly message: import("effect/Schema").String;
|
|
270
138
|
}>], {
|
|
271
|
-
readonly message: string;
|
|
272
|
-
readonly _tag: "GraphqlExtractionError";
|
|
273
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
274
|
-
readonly message: import("effect/Schema").String;
|
|
275
|
-
}>, 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<{
|
|
276
|
-
scopeId: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
277
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
278
|
-
readonly sourceId: import("effect/Schema").String;
|
|
279
|
-
readonly sourceScope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
280
|
-
readonly slot: import("effect/Schema").String;
|
|
281
|
-
readonly scope: import("effect/Schema").brand<import("effect/Schema").String, "ScopeId">;
|
|
282
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
283
|
-
readonly removed: import("effect/Schema").Boolean;
|
|
284
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("@executor-js/sdk").InternalError | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlIntrospectionError, {
|
|
285
|
-
readonly message: string;
|
|
286
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
287
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
288
|
-
readonly message: import("effect/Schema").String;
|
|
289
|
-
}>], {
|
|
290
|
-
readonly message: string;
|
|
291
|
-
readonly _tag: "GraphqlIntrospectionError";
|
|
292
|
-
}>, import("effect/Schema").TaggedStruct<"GraphqlIntrospectionError", {
|
|
293
|
-
readonly message: import("effect/Schema").String;
|
|
294
|
-
}>, never, never> | import("effect/Schema").decodeTo<import("effect/Schema").declareConstructor<import("../sdk").GraphqlExtractionError, {
|
|
295
|
-
readonly message: string;
|
|
296
139
|
readonly _tag: "GraphqlExtractionError";
|
|
297
|
-
}, readonly [import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
298
|
-
readonly message: import("effect/Schema").String;
|
|
299
|
-
}>], {
|
|
300
140
|
readonly message: string;
|
|
301
|
-
readonly _tag: "GraphqlExtractionError";
|
|
302
141
|
}>, import("effect/Schema").TaggedStruct<"GraphqlExtractionError", {
|
|
303
142
|
readonly message: import("effect/Schema").String;
|
|
304
143
|
}>, never, never>>, never, never>, false>>;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { introspect, parseIntrospectionJson } from "./introspect";
|
|
2
2
|
export { extract, type ExtractionOutput } from "./extract";
|
|
3
3
|
export { invoke, invokeWithLayer, resolveHeaders } from "./invoke";
|
|
4
|
-
export { graphqlPlugin, type GraphqlSourceConfig, type GraphqlPluginExtension, type GraphqlPluginOptions, type
|
|
4
|
+
export { graphqlPlugin, type GraphqlSourceConfig, type GraphqlPluginExtension, type GraphqlPluginOptions, type GraphqlConfigureSourceInput, type GraphqlSourceRef, } from "./plugin";
|
|
5
5
|
export { graphqlSchema, makeDefaultGraphqlStore, type GraphqlSchema, type GraphqlStore, type StoredGraphqlSource, type StoredOperation, } from "./store";
|
|
6
6
|
export { GraphqlIntrospectionError, GraphqlExtractionError, GraphqlInvocationError, } from "./errors";
|
|
7
|
-
export { ExtractedField, ExtractionResult, GraphqlArgument, GraphqlCredentialInput, GraphqlOperationKind, GraphqlSourceAuth, GraphqlSourceAuthInput,
|
|
7
|
+
export { ExtractedField, ExtractionResult, GraphqlArgument, GraphqlCredentialInput, GraphqlOperationKind, GraphqlSourceAuth, GraphqlSourceAuthInput, InvocationConfig, InvocationResult, OperationBinding, HeaderValue, QueryParamValue, ConfiguredGraphqlCredentialValue, GRAPHQL_OAUTH_CONNECTION_SLOT, graphqlHeaderSlot, graphqlQueryParamSlot, } from "./types";
|