@wundergraph/cosmo-connect 0.157.2 → 0.159.0
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/ai/v1/ai-AIService_connectquery.d.ts +8 -0
- package/dist/ai/v1/ai-AIService_connectquery.js +9 -0
- package/dist/ai/v1/ai-AIService_connectquery.js.map +1 -0
- package/dist/ai/v1/ai_pb.d.ts +133 -0
- package/dist/ai/v1/ai_pb.js +60 -0
- package/dist/ai/v1/ai_pb.js.map +1 -0
- package/dist/buf/validate/validate_pb.d.ts +4833 -0
- package/dist/buf/validate/validate_pb.js +357 -0
- package/dist/buf/validate/validate_pb.js.map +1 -0
- package/dist/google/rpc/status_pb.d.ts +48 -0
- package/dist/google/rpc/status_pb.js +25 -0
- package/dist/google/rpc/status_pb.js.map +1 -0
- package/dist/platform/v1/platform-PlatformService_connectquery.d.ts +29 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.js +17 -1
- package/dist/platform/v1/platform-PlatformService_connectquery.js.map +1 -1
- package/dist/platform/v1/platform_pb.d.ts +188 -2
- package/dist/platform/v1/platform_pb.js +248 -204
- package/dist/platform/v1/platform_pb.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/yoko/v1/prompt_to_query-PromptToQueryService_connectquery.d.ts +43 -0
- package/dist/yoko/v1/prompt_to_query-PromptToQueryService_connectquery.js +29 -0
- package/dist/yoko/v1/prompt_to_query-PromptToQueryService_connectquery.js.map +1 -0
- package/dist/yoko/v1/prompt_to_query_pb.d.ts +332 -0
- package/dist/yoko/v1/prompt_to_query_pb.js +135 -0
- package/dist/yoko/v1/prompt_to_query_pb.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Status } from "../../google/rpc/status_pb.js";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file yoko/v1/prompt_to_query.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_yoko_v1_prompt_to_query: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message yoko.v1.Schema
|
|
11
|
+
*/
|
|
12
|
+
export type Schema = Message<"yoko.v1.Schema"> & {
|
|
13
|
+
/**
|
|
14
|
+
* Content address: "sha256:" + hex(SHA-256(sdl bytes)).
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string schema_id = 1;
|
|
17
|
+
*/
|
|
18
|
+
schemaId: string;
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: yoko.v1.SchemaStatus status = 2;
|
|
21
|
+
*/
|
|
22
|
+
status: SchemaStatus;
|
|
23
|
+
/**
|
|
24
|
+
* Built by an older indexer version; a rebuild is due.
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: bool stale = 3;
|
|
27
|
+
*/
|
|
28
|
+
stale: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: int64 symbol_count = 4;
|
|
31
|
+
*/
|
|
32
|
+
symbolCount: bigint;
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
35
|
+
*/
|
|
36
|
+
createdAt?: Timestamp | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* When the current symbols finished building.
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: google.protobuf.Timestamp indexed_at = 6;
|
|
41
|
+
*/
|
|
42
|
+
indexedAt?: Timestamp | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: string last_error = 7;
|
|
45
|
+
*/
|
|
46
|
+
lastError: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message yoko.v1.Schema.
|
|
50
|
+
* Use `create(SchemaSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export declare const SchemaSchema: GenMessage<Schema>;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from message yoko.v1.EnsureSchemaRequest
|
|
55
|
+
*/
|
|
56
|
+
export type EnsureSchemaRequest = Message<"yoko.v1.EnsureSchemaRequest"> & {
|
|
57
|
+
/**
|
|
58
|
+
* Hashed verbatim to form schema_id.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: string sdl = 1;
|
|
61
|
+
*/
|
|
62
|
+
sdl: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message yoko.v1.EnsureSchemaRequest.
|
|
66
|
+
* Use `create(EnsureSchemaRequestSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export declare const EnsureSchemaRequestSchema: GenMessage<EnsureSchemaRequest>;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from message yoko.v1.EnsureSchemaResponse
|
|
71
|
+
*/
|
|
72
|
+
export type EnsureSchemaResponse = Message<"yoko.v1.EnsureSchemaResponse"> & {
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: yoko.v1.Schema schema = 1;
|
|
75
|
+
*/
|
|
76
|
+
schema?: Schema | undefined;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message yoko.v1.EnsureSchemaResponse.
|
|
80
|
+
* Use `create(EnsureSchemaResponseSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export declare const EnsureSchemaResponseSchema: GenMessage<EnsureSchemaResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* @generated from message yoko.v1.GetSchemaRequest
|
|
85
|
+
*/
|
|
86
|
+
export type GetSchemaRequest = Message<"yoko.v1.GetSchemaRequest"> & {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: string schema_id = 1;
|
|
89
|
+
*/
|
|
90
|
+
schemaId: string;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message yoko.v1.GetSchemaRequest.
|
|
94
|
+
* Use `create(GetSchemaRequestSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export declare const GetSchemaRequestSchema: GenMessage<GetSchemaRequest>;
|
|
97
|
+
/**
|
|
98
|
+
* @generated from message yoko.v1.GetSchemaResponse
|
|
99
|
+
*/
|
|
100
|
+
export type GetSchemaResponse = Message<"yoko.v1.GetSchemaResponse"> & {
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: yoko.v1.Schema schema = 1;
|
|
103
|
+
*/
|
|
104
|
+
schema?: Schema | undefined;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message yoko.v1.GetSchemaResponse.
|
|
108
|
+
* Use `create(GetSchemaResponseSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export declare const GetSchemaResponseSchema: GenMessage<GetSchemaResponse>;
|
|
111
|
+
/**
|
|
112
|
+
* @generated from message yoko.v1.ListSchemasRequest
|
|
113
|
+
*/
|
|
114
|
+
export type ListSchemasRequest = Message<"yoko.v1.ListSchemasRequest"> & {};
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message yoko.v1.ListSchemasRequest.
|
|
117
|
+
* Use `create(ListSchemasRequestSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export declare const ListSchemasRequestSchema: GenMessage<ListSchemasRequest>;
|
|
120
|
+
/**
|
|
121
|
+
* @generated from message yoko.v1.ListSchemasResponse
|
|
122
|
+
*/
|
|
123
|
+
export type ListSchemasResponse = Message<"yoko.v1.ListSchemasResponse"> & {
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: repeated yoko.v1.Schema schemas = 1;
|
|
126
|
+
*/
|
|
127
|
+
schemas: Schema[];
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message yoko.v1.ListSchemasResponse.
|
|
131
|
+
* Use `create(ListSchemasResponseSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export declare const ListSchemasResponseSchema: GenMessage<ListSchemasResponse>;
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message yoko.v1.DeleteSchemaRequest
|
|
136
|
+
*/
|
|
137
|
+
export type DeleteSchemaRequest = Message<"yoko.v1.DeleteSchemaRequest"> & {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string schema_id = 1;
|
|
140
|
+
*/
|
|
141
|
+
schemaId: string;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Describes the message yoko.v1.DeleteSchemaRequest.
|
|
145
|
+
* Use `create(DeleteSchemaRequestSchema)` to create a new message.
|
|
146
|
+
*/
|
|
147
|
+
export declare const DeleteSchemaRequestSchema: GenMessage<DeleteSchemaRequest>;
|
|
148
|
+
/**
|
|
149
|
+
* @generated from message yoko.v1.DeleteSchemaResponse
|
|
150
|
+
*/
|
|
151
|
+
export type DeleteSchemaResponse = Message<"yoko.v1.DeleteSchemaResponse"> & {};
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message yoko.v1.DeleteSchemaResponse.
|
|
154
|
+
* Use `create(DeleteSchemaResponseSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export declare const DeleteSchemaResponseSchema: GenMessage<DeleteSchemaResponse>;
|
|
157
|
+
/**
|
|
158
|
+
* @generated from message yoko.v1.ResolveRequest
|
|
159
|
+
*/
|
|
160
|
+
export type ResolveRequest = Message<"yoko.v1.ResolveRequest"> & {
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: string schema_id = 1;
|
|
163
|
+
*/
|
|
164
|
+
schemaId: string;
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: string prompt = 2;
|
|
167
|
+
*/
|
|
168
|
+
prompt: string;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message yoko.v1.ResolveRequest.
|
|
172
|
+
* Use `create(ResolveRequestSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export declare const ResolveRequestSchema: GenMessage<ResolveRequest>;
|
|
175
|
+
/**
|
|
176
|
+
* @generated from message yoko.v1.ResolveResponse
|
|
177
|
+
*/
|
|
178
|
+
export type ResolveResponse = Message<"yoko.v1.ResolveResponse"> & {
|
|
179
|
+
/**
|
|
180
|
+
* @generated from field: yoko.v1.ResolvedQuery query = 1;
|
|
181
|
+
*/
|
|
182
|
+
query?: ResolvedQuery | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: repeated google.rpc.Status errors = 2;
|
|
185
|
+
*/
|
|
186
|
+
errors: Status[];
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* Describes the message yoko.v1.ResolveResponse.
|
|
190
|
+
* Use `create(ResolveResponseSchema)` to create a new message.
|
|
191
|
+
*/
|
|
192
|
+
export declare const ResolveResponseSchema: GenMessage<ResolveResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* @generated from message yoko.v1.ResolvedQuery
|
|
195
|
+
*/
|
|
196
|
+
export type ResolvedQuery = Message<"yoko.v1.ResolvedQuery"> & {
|
|
197
|
+
/**
|
|
198
|
+
* One short user-facing sentence.
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: string description = 1;
|
|
201
|
+
*/
|
|
202
|
+
description: string;
|
|
203
|
+
/**
|
|
204
|
+
* Holds exactly one named operation.
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: string document = 2;
|
|
207
|
+
*/
|
|
208
|
+
document: string;
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: string operation_name = 3;
|
|
211
|
+
*/
|
|
212
|
+
operationName: string;
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: yoko.v1.OperationType operation_type = 4;
|
|
215
|
+
*/
|
|
216
|
+
operationType: OperationType;
|
|
217
|
+
/**
|
|
218
|
+
* JSON Schema for the operation's variables, JSON-encoded.
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: string variables_schema = 5;
|
|
221
|
+
*/
|
|
222
|
+
variablesSchema: string;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Describes the message yoko.v1.ResolvedQuery.
|
|
226
|
+
* Use `create(ResolvedQuerySchema)` to create a new message.
|
|
227
|
+
*/
|
|
228
|
+
export declare const ResolvedQuerySchema: GenMessage<ResolvedQuery>;
|
|
229
|
+
/**
|
|
230
|
+
* @generated from enum yoko.v1.SchemaStatus
|
|
231
|
+
*/
|
|
232
|
+
export declare enum SchemaStatus {
|
|
233
|
+
/**
|
|
234
|
+
* @generated from enum value: SCHEMA_STATUS_UNSPECIFIED = 0;
|
|
235
|
+
*/
|
|
236
|
+
UNSPECIFIED = 0,
|
|
237
|
+
/**
|
|
238
|
+
* Initial build in flight; not yet servable.
|
|
239
|
+
*
|
|
240
|
+
* @generated from enum value: SCHEMA_STATUS_INDEXING = 1;
|
|
241
|
+
*/
|
|
242
|
+
INDEXING = 1,
|
|
243
|
+
/**
|
|
244
|
+
* Servable, including while stale or after a failed rebuild.
|
|
245
|
+
*
|
|
246
|
+
* @generated from enum value: SCHEMA_STATUS_READY = 2;
|
|
247
|
+
*/
|
|
248
|
+
READY = 2,
|
|
249
|
+
/**
|
|
250
|
+
* Initial build failed; no symbols exist.
|
|
251
|
+
*
|
|
252
|
+
* @generated from enum value: SCHEMA_STATUS_FAILED = 3;
|
|
253
|
+
*/
|
|
254
|
+
FAILED = 3
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Describes the enum yoko.v1.SchemaStatus.
|
|
258
|
+
*/
|
|
259
|
+
export declare const SchemaStatusSchema: GenEnum<SchemaStatus>;
|
|
260
|
+
/**
|
|
261
|
+
* @generated from enum yoko.v1.OperationType
|
|
262
|
+
*/
|
|
263
|
+
export declare enum OperationType {
|
|
264
|
+
/**
|
|
265
|
+
* @generated from enum value: OPERATION_TYPE_UNSPECIFIED = 0;
|
|
266
|
+
*/
|
|
267
|
+
UNSPECIFIED = 0,
|
|
268
|
+
/**
|
|
269
|
+
* @generated from enum value: OPERATION_TYPE_QUERY = 1;
|
|
270
|
+
*/
|
|
271
|
+
QUERY = 1,
|
|
272
|
+
/**
|
|
273
|
+
* @generated from enum value: OPERATION_TYPE_MUTATION = 2;
|
|
274
|
+
*/
|
|
275
|
+
MUTATION = 2,
|
|
276
|
+
/**
|
|
277
|
+
* @generated from enum value: OPERATION_TYPE_SUBSCRIPTION = 3;
|
|
278
|
+
*/
|
|
279
|
+
SUBSCRIPTION = 3
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Describes the enum yoko.v1.OperationType.
|
|
283
|
+
*/
|
|
284
|
+
export declare const OperationTypeSchema: GenEnum<OperationType>;
|
|
285
|
+
/**
|
|
286
|
+
* @generated from service yoko.v1.PromptToQueryService
|
|
287
|
+
*/
|
|
288
|
+
export declare const PromptToQueryService: GenService<{
|
|
289
|
+
/**
|
|
290
|
+
* Idempotent: creates, retries, or rebuilds as needed, then returns
|
|
291
|
+
* immediately. Poll GetSchema for readiness.
|
|
292
|
+
*
|
|
293
|
+
* @generated from rpc yoko.v1.PromptToQueryService.EnsureSchema
|
|
294
|
+
*/
|
|
295
|
+
ensureSchema: {
|
|
296
|
+
methodKind: "unary";
|
|
297
|
+
input: typeof EnsureSchemaRequestSchema;
|
|
298
|
+
output: typeof EnsureSchemaResponseSchema;
|
|
299
|
+
};
|
|
300
|
+
/**
|
|
301
|
+
* @generated from rpc yoko.v1.PromptToQueryService.GetSchema
|
|
302
|
+
*/
|
|
303
|
+
getSchema: {
|
|
304
|
+
methodKind: "unary";
|
|
305
|
+
input: typeof GetSchemaRequestSchema;
|
|
306
|
+
output: typeof GetSchemaResponseSchema;
|
|
307
|
+
};
|
|
308
|
+
/**
|
|
309
|
+
* @generated from rpc yoko.v1.PromptToQueryService.ListSchemas
|
|
310
|
+
*/
|
|
311
|
+
listSchemas: {
|
|
312
|
+
methodKind: "unary";
|
|
313
|
+
input: typeof ListSchemasRequestSchema;
|
|
314
|
+
output: typeof ListSchemasResponseSchema;
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* @generated from rpc yoko.v1.PromptToQueryService.DeleteSchema
|
|
318
|
+
*/
|
|
319
|
+
deleteSchema: {
|
|
320
|
+
methodKind: "unary";
|
|
321
|
+
input: typeof DeleteSchemaRequestSchema;
|
|
322
|
+
output: typeof DeleteSchemaResponseSchema;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* @generated from rpc yoko.v1.PromptToQueryService.Resolve
|
|
326
|
+
*/
|
|
327
|
+
resolve: {
|
|
328
|
+
methodKind: "unary";
|
|
329
|
+
input: typeof ResolveRequestSchema;
|
|
330
|
+
output: typeof ResolveResponseSchema;
|
|
331
|
+
};
|
|
332
|
+
}>;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file yoko/v1/prompt_to_query.proto (package yoko.v1, edition 2023)
|
|
3
|
+
// option features.field_presence = IMPLICIT;
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.js";
|
|
7
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_google_rpc_status } from "../../google/rpc/status_pb.js";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file yoko/v1/prompt_to_query.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_yoko_v1_prompt_to_query = /*@__PURE__*/ fileDesc("Ch15b2tvL3YxL3Byb21wdF90b19xdWVyeS5wcm90bxIHeW9rby52MSLbAQoGU2NoZW1hEhEKCXNjaGVtYV9pZBgBIAEoCRIlCgZzdGF0dXMYAiABKA4yFS55b2tvLnYxLlNjaGVtYVN0YXR1cxINCgVzdGFsZRgDIAEoCBIUCgxzeW1ib2xfY291bnQYBCABKAMSLgoKY3JlYXRlZF9hdBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKaW5kZXhlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5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QV9TVEFUVVNfVU5TUEVDSUZJRUQQABIaChZTQ0hFTUFfU1RBVFVTX0lOREVYSU5HEAESFwoTU0NIRU1BX1NUQVRVU19SRUFEWRACEhgKFFNDSEVNQV9TVEFUVVNfRkFJTEVEEAMqhwEKDU9wZXJhdGlvblR5cGUSHgoaT1BFUkFUSU9OX1RZUEVfVU5TUEVDSUZJRUQQABIYChRPUEVSQVRJT05fVFlQRV9RVUVSWRABEhsKF09QRVJBVElPTl9UWVBFX01VVEFUSU9OEAISHwobT1BFUkFUSU9OX1RZUEVfU1VCU0NSSVBUSU9OEAMy/AIKFFByb21wdFRvUXVlcnlTZXJ2aWNlEksKDEVuc3VyZVNjaGVtYRIcLnlva28udjEuRW5zdXJlU2NoZW1hUmVxdWVzdBodLnlva28udjEuRW5zdXJlU2NoZW1hUmVzcG9uc2USQgoJR2V0U2NoZW1hEhkueW9rby52MS5HZXRTY2hlbWFSZXF1ZXN0GhoueW9rby52MS5HZXRTY2hlbWFSZXNwb25zZRJICgtMaXN0U2NoZW1hcxIbLnlva28udjEuTGlzdFNjaGVtYXNSZXF1ZXN0GhwueW9rby52MS5MaXN0U2NoZW1hc1Jlc3BvbnNlEksKDERlbGV0ZVNjaGVtYRIcLnlva28udjEuRGVsZXRlU2NoZW1hUmVxdWVzdBodLnlva28udjEuRGVsZXRlU2NoZW1hUmVzcG9uc2USPAoHUmVzb2x2ZRIXLnlva28udjEuUmVzb2x2ZVJlcXVlc3QaGC55b2tvLnYxLlJlc29sdmVSZXNwb25zZUI1Wi5naXRodWIuY29tL3d1bmRlcmdyYXBoL3lva28vZ2VuL3lva28vdjE7eW9rb3YxkgMCCAJiCGVkaXRpb25zcOgH", [file_buf_validate_validate, file_google_protobuf_timestamp, file_google_rpc_status]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message yoko.v1.Schema.
|
|
15
|
+
* Use `create(SchemaSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const SchemaSchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 0);
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message yoko.v1.EnsureSchemaRequest.
|
|
20
|
+
* Use `create(EnsureSchemaRequestSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export const EnsureSchemaRequestSchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 1);
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message yoko.v1.EnsureSchemaResponse.
|
|
25
|
+
* Use `create(EnsureSchemaResponseSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const EnsureSchemaResponseSchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 2);
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message yoko.v1.GetSchemaRequest.
|
|
30
|
+
* Use `create(GetSchemaRequestSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const GetSchemaRequestSchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 3);
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message yoko.v1.GetSchemaResponse.
|
|
35
|
+
* Use `create(GetSchemaResponseSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const GetSchemaResponseSchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 4);
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message yoko.v1.ListSchemasRequest.
|
|
40
|
+
* Use `create(ListSchemasRequestSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const ListSchemasRequestSchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 5);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message yoko.v1.ListSchemasResponse.
|
|
45
|
+
* Use `create(ListSchemasResponseSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const ListSchemasResponseSchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 6);
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message yoko.v1.DeleteSchemaRequest.
|
|
50
|
+
* Use `create(DeleteSchemaRequestSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const DeleteSchemaRequestSchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 7);
|
|
53
|
+
/**
|
|
54
|
+
* Describes the message yoko.v1.DeleteSchemaResponse.
|
|
55
|
+
* Use `create(DeleteSchemaResponseSchema)` to create a new message.
|
|
56
|
+
*/
|
|
57
|
+
export const DeleteSchemaResponseSchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 8);
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message yoko.v1.ResolveRequest.
|
|
60
|
+
* Use `create(ResolveRequestSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export const ResolveRequestSchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 9);
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message yoko.v1.ResolveResponse.
|
|
65
|
+
* Use `create(ResolveResponseSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export const ResolveResponseSchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 10);
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message yoko.v1.ResolvedQuery.
|
|
70
|
+
* Use `create(ResolvedQuerySchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export const ResolvedQuerySchema = /*@__PURE__*/ messageDesc(file_yoko_v1_prompt_to_query, 11);
|
|
73
|
+
/**
|
|
74
|
+
* @generated from enum yoko.v1.SchemaStatus
|
|
75
|
+
*/
|
|
76
|
+
export var SchemaStatus;
|
|
77
|
+
(function (SchemaStatus) {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from enum value: SCHEMA_STATUS_UNSPECIFIED = 0;
|
|
80
|
+
*/
|
|
81
|
+
SchemaStatus[SchemaStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
82
|
+
/**
|
|
83
|
+
* Initial build in flight; not yet servable.
|
|
84
|
+
*
|
|
85
|
+
* @generated from enum value: SCHEMA_STATUS_INDEXING = 1;
|
|
86
|
+
*/
|
|
87
|
+
SchemaStatus[SchemaStatus["INDEXING"] = 1] = "INDEXING";
|
|
88
|
+
/**
|
|
89
|
+
* Servable, including while stale or after a failed rebuild.
|
|
90
|
+
*
|
|
91
|
+
* @generated from enum value: SCHEMA_STATUS_READY = 2;
|
|
92
|
+
*/
|
|
93
|
+
SchemaStatus[SchemaStatus["READY"] = 2] = "READY";
|
|
94
|
+
/**
|
|
95
|
+
* Initial build failed; no symbols exist.
|
|
96
|
+
*
|
|
97
|
+
* @generated from enum value: SCHEMA_STATUS_FAILED = 3;
|
|
98
|
+
*/
|
|
99
|
+
SchemaStatus[SchemaStatus["FAILED"] = 3] = "FAILED";
|
|
100
|
+
})(SchemaStatus || (SchemaStatus = {}));
|
|
101
|
+
/**
|
|
102
|
+
* Describes the enum yoko.v1.SchemaStatus.
|
|
103
|
+
*/
|
|
104
|
+
export const SchemaStatusSchema = /*@__PURE__*/ enumDesc(file_yoko_v1_prompt_to_query, 0);
|
|
105
|
+
/**
|
|
106
|
+
* @generated from enum yoko.v1.OperationType
|
|
107
|
+
*/
|
|
108
|
+
export var OperationType;
|
|
109
|
+
(function (OperationType) {
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: OPERATION_TYPE_UNSPECIFIED = 0;
|
|
112
|
+
*/
|
|
113
|
+
OperationType[OperationType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum value: OPERATION_TYPE_QUERY = 1;
|
|
116
|
+
*/
|
|
117
|
+
OperationType[OperationType["QUERY"] = 1] = "QUERY";
|
|
118
|
+
/**
|
|
119
|
+
* @generated from enum value: OPERATION_TYPE_MUTATION = 2;
|
|
120
|
+
*/
|
|
121
|
+
OperationType[OperationType["MUTATION"] = 2] = "MUTATION";
|
|
122
|
+
/**
|
|
123
|
+
* @generated from enum value: OPERATION_TYPE_SUBSCRIPTION = 3;
|
|
124
|
+
*/
|
|
125
|
+
OperationType[OperationType["SUBSCRIPTION"] = 3] = "SUBSCRIPTION";
|
|
126
|
+
})(OperationType || (OperationType = {}));
|
|
127
|
+
/**
|
|
128
|
+
* Describes the enum yoko.v1.OperationType.
|
|
129
|
+
*/
|
|
130
|
+
export const OperationTypeSchema = /*@__PURE__*/ enumDesc(file_yoko_v1_prompt_to_query, 1);
|
|
131
|
+
/**
|
|
132
|
+
* @generated from service yoko.v1.PromptToQueryService
|
|
133
|
+
*/
|
|
134
|
+
export const PromptToQueryService = /*@__PURE__*/ serviceDesc(file_yoko_v1_prompt_to_query, 0);
|
|
135
|
+
//# sourceMappingURL=prompt_to_query_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt_to_query_pb.js","sourceRoot":"","sources":["../../../src/wg/cosmo/yoko/v1/prompt_to_query_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,qFAAqF;AACrF,6CAA6C;AAC7C,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAE/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAExE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAGvE;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAY,aAAa,CAChE,QAAQ,CAAC,0vEAA0vE,EAAE,CAAC,0BAA0B,EAAE,8BAA8B,EAAE,sBAAsB,CAAC,CAAC,CAAC;AAgD71E;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAuB,aAAa,CAC3D,WAAW,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC;AAc/C;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa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ACtB;;OAEG;IACH,6DAAe,CAAA;IAEf;;;;OAIG;IACH,uDAAY,CAAA;IAEZ;;;;OAIG;IACH,iDAAS,CAAA;IAET;;;;OAIG;IACH,mDAAU,CAAA;AACZ,CAAC,EA1BW,YAAY,KAAZ,YAAY,QA0BvB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA0B,aAAa,CACpE,QAAQ,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC;AAE5C;;GAEG;AACH,MAAM,CAAN,IAAY,aAoBX;AApBD,WAAY,aAAa;IACvB;;OAEG;IACH,+DAAe,CAAA;IAEf;;OAEG;IACH,mDAAS,CAAA;IAET;;OAEG;IACH,yDAAY,CAAA;IAEZ;;OAEG;IACH,iEAAgB,CAAA;AAClB,CAAC,EApBW,aAAa,KAAb,aAAa,QAoBxB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA2B,aAAa,CACtE,QAAQ,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC;AAE5C;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GA4C5B,aAAa,CAChB,WAAW,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wundergraph/cosmo-connect",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.159.0",
|
|
4
4
|
"description": "TypeScript Connect client for WunderGraph Cosmo",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rm -rf dist && tsc"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"name": "WunderGraph Maintainers",
|
|
41
41
|
"email": "info@wundergraph.com"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "a6717eb80923cf5d82033c2cc1a7f2e6b0606b6f"
|
|
44
44
|
}
|