@dvina/sdk 4.0.172 → 4.0.175
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/{_generated_documents-4M7HM6CW.cjs → _generated_documents-IY3FWPNP.cjs} +571 -543
- package/dist/{_generated_documents-4M7HM6CW.cjs.map → _generated_documents-IY3FWPNP.cjs.map} +1 -1
- package/dist/{_generated_documents-IQN37P3X.js → _generated_documents-Q6OTMWZ6.js} +3 -3
- package/dist/{_generated_documents-IQN37P3X.js.map → _generated_documents-Q6OTMWZ6.js.map} +1 -1
- package/dist/adapters/angular/index.cjs +4 -4
- package/dist/adapters/angular/index.d.cts +1 -1
- package/dist/adapters/angular/index.d.ts +1 -1
- package/dist/adapters/angular/index.js +2 -2
- package/dist/{chunk-KFKQQFBI.js → chunk-4G7NIJ4M.js} +333 -5
- package/dist/chunk-4G7NIJ4M.js.map +1 -0
- package/dist/{chunk-7Q2QYIF6.cjs → chunk-IHJ5KI6X.cjs} +836 -501
- package/dist/chunk-IHJ5KI6X.cjs.map +1 -0
- package/dist/{chunk-GMBMIL5U.cjs → chunk-K3X4BLL7.cjs} +26 -3
- package/dist/chunk-K3X4BLL7.cjs.map +1 -0
- package/dist/{chunk-H6YNVP5R.js → chunk-MF2FZGXV.js} +20 -4
- package/dist/chunk-MF2FZGXV.js.map +1 -0
- package/dist/{client-CMLCF01U.d.ts → client-3CExTHwf.d.ts} +84 -5
- package/dist/{client-DPQN--1s.d.cts → client-DE3e6SwA.d.cts} +84 -5
- package/dist/index.cjs +429 -397
- package/dist/index.d.cts +77 -3
- package/dist/index.d.ts +77 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-7Q2QYIF6.cjs.map +0 -1
- package/dist/chunk-GMBMIL5U.cjs.map +0 -1
- package/dist/chunk-H6YNVP5R.js.map +0 -1
- package/dist/chunk-KFKQQFBI.js.map +0 -1
|
@@ -4,7 +4,7 @@ var chunk342BFYZZ_cjs = require('./chunk-342BFYZZ.cjs');
|
|
|
4
4
|
var chunkUELAE75E_cjs = require('./chunk-UELAE75E.cjs');
|
|
5
5
|
var chunkBL3GFOZR_cjs = require('./chunk-BL3GFOZR.cjs');
|
|
6
6
|
var chunkKV5SP7RP_cjs = require('./chunk-KV5SP7RP.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkK3X4BLL7_cjs = require('./chunk-K3X4BLL7.cjs');
|
|
8
8
|
var chunkDZUJEN5N_cjs = require('./chunk-DZUJEN5N.cjs');
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/dexie@4.3.0/node_modules/dexie/dist/dexie.js
|
|
@@ -10341,7 +10341,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
|
|
|
10341
10341
|
var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
|
|
10342
10342
|
var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
|
|
10343
10343
|
async function uploadFile(request, getToken, file, name, options) {
|
|
10344
|
-
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-
|
|
10344
|
+
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-IY3FWPNP.cjs');
|
|
10345
10345
|
const key = `upload_${Date.now()}`;
|
|
10346
10346
|
const response = await request(
|
|
10347
10347
|
GenerateUploadUriDocument2,
|
|
@@ -11246,6 +11246,7 @@ var Candidate = class extends DvinaModel {
|
|
|
11246
11246
|
decisionReason;
|
|
11247
11247
|
decidedAt;
|
|
11248
11248
|
createdAt;
|
|
11249
|
+
_generatedContext;
|
|
11249
11250
|
constructor(request, data, syncEngine, baseUrl) {
|
|
11250
11251
|
super(request, syncEngine, baseUrl);
|
|
11251
11252
|
this.id = data.id;
|
|
@@ -11255,6 +11256,15 @@ var Candidate = class extends DvinaModel {
|
|
|
11255
11256
|
this.decisionReason = data.decisionReason ?? void 0;
|
|
11256
11257
|
this.decidedAt = data.decidedAt ? new Date(data.decidedAt) : void 0;
|
|
11257
11258
|
this.createdAt = new Date(data.createdAt);
|
|
11259
|
+
this._generatedContext = data.generatedContext ?? void 0;
|
|
11260
|
+
}
|
|
11261
|
+
/** ID reference for lazy-fetching the generatedContext relation. */
|
|
11262
|
+
get generatedContextId() {
|
|
11263
|
+
return this._generatedContext?.id;
|
|
11264
|
+
}
|
|
11265
|
+
/** Lazy-fetch the generatedContext relation. Call .fetch() or .watch() to execute. */
|
|
11266
|
+
generatedContext() {
|
|
11267
|
+
return new LiveContextQuery(this._request, this._syncEngine, { id: this._generatedContext?.id }, this._baseUrl);
|
|
11258
11268
|
}
|
|
11259
11269
|
};
|
|
11260
11270
|
var CandidateEvidence = class extends DvinaModel {
|
|
@@ -12209,6 +12219,14 @@ var LiveContext = class extends DvinaModel {
|
|
|
12209
12219
|
this.createdAt = new Date(data.createdAt);
|
|
12210
12220
|
this.updatedAt = new Date(data.updatedAt);
|
|
12211
12221
|
}
|
|
12222
|
+
/** Query the items relation for this LiveContext. Call .fetch() or .watch() to execute. */
|
|
12223
|
+
items(variables) {
|
|
12224
|
+
return new LiveContext_ItemsQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
12225
|
+
}
|
|
12226
|
+
/** Query the source relation for this LiveContext. Call .fetch() or .watch() to execute. */
|
|
12227
|
+
source(variables) {
|
|
12228
|
+
return new LiveContext_SourceQuery(this._request, this._syncEngine, { ...variables, id: this.id }, this._baseUrl);
|
|
12229
|
+
}
|
|
12212
12230
|
};
|
|
12213
12231
|
var McpAuthUpdateModel = class extends DvinaModel {
|
|
12214
12232
|
provider;
|
|
@@ -13184,6 +13202,17 @@ var InterpretationConnection = class extends chunk342BFYZZ_cjs.Connection {
|
|
|
13184
13202
|
);
|
|
13185
13203
|
}
|
|
13186
13204
|
};
|
|
13205
|
+
var LiveContextConnection = class extends chunk342BFYZZ_cjs.Connection {
|
|
13206
|
+
constructor(request, fetch2, data, syncEngine, baseUrl) {
|
|
13207
|
+
super(
|
|
13208
|
+
request,
|
|
13209
|
+
fetch2,
|
|
13210
|
+
data.nodes?.map((node) => new LiveContext(request, node, syncEngine, baseUrl)) ?? [],
|
|
13211
|
+
new chunk342BFYZZ_cjs.PageInfo(data.pageInfo),
|
|
13212
|
+
data.totalCount ?? void 0
|
|
13213
|
+
);
|
|
13214
|
+
}
|
|
13215
|
+
};
|
|
13187
13216
|
var NotificationConnection = class extends chunk342BFYZZ_cjs.Connection {
|
|
13188
13217
|
constructor(request, fetch2, data, syncEngine, baseUrl) {
|
|
13189
13218
|
super(
|
|
@@ -13233,7 +13262,7 @@ var AgentSubBuilder = class {
|
|
|
13233
13262
|
_includes = [];
|
|
13234
13263
|
/** Include chats in the parent query. */
|
|
13235
13264
|
chats(variables, builder) {
|
|
13236
|
-
const info = extractIncludeInfo(
|
|
13265
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
13237
13266
|
let children;
|
|
13238
13267
|
if (builder) {
|
|
13239
13268
|
const sub = new ChatSubBuilder();
|
|
@@ -13242,7 +13271,7 @@ var AgentSubBuilder = class {
|
|
|
13242
13271
|
}
|
|
13243
13272
|
this._includes.push({
|
|
13244
13273
|
fieldName: "chats",
|
|
13245
|
-
fragmentDoc:
|
|
13274
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatConnectionFragmentDoc,
|
|
13246
13275
|
variables,
|
|
13247
13276
|
isConnection: true,
|
|
13248
13277
|
isList: false,
|
|
@@ -13264,7 +13293,7 @@ var ArtifactSubBuilder = class {
|
|
|
13264
13293
|
_includes = [];
|
|
13265
13294
|
/** Include chat in the parent query. */
|
|
13266
13295
|
chat(variables, builder) {
|
|
13267
|
-
const info = extractIncludeInfo(
|
|
13296
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
13268
13297
|
let children;
|
|
13269
13298
|
if (builder) {
|
|
13270
13299
|
const sub = new ChatSubBuilder();
|
|
@@ -13273,7 +13302,7 @@ var ArtifactSubBuilder = class {
|
|
|
13273
13302
|
}
|
|
13274
13303
|
this._includes.push({
|
|
13275
13304
|
fieldName: "chat",
|
|
13276
|
-
fragmentDoc:
|
|
13305
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatFragmentDoc,
|
|
13277
13306
|
variables,
|
|
13278
13307
|
isConnection: false,
|
|
13279
13308
|
isList: false,
|
|
@@ -13290,10 +13319,10 @@ var ArtifactSubBuilder = class {
|
|
|
13290
13319
|
}
|
|
13291
13320
|
/** Include file in the parent query. */
|
|
13292
13321
|
file(variables) {
|
|
13293
|
-
const info = extractIncludeInfo(
|
|
13322
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
13294
13323
|
this._includes.push({
|
|
13295
13324
|
fieldName: "file",
|
|
13296
|
-
fragmentDoc:
|
|
13325
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FileFragmentDoc,
|
|
13297
13326
|
variables,
|
|
13298
13327
|
isConnection: false,
|
|
13299
13328
|
isList: false,
|
|
@@ -13309,7 +13338,7 @@ var ArtifactSubBuilder = class {
|
|
|
13309
13338
|
}
|
|
13310
13339
|
/** Include message in the parent query. */
|
|
13311
13340
|
message(variables, builder) {
|
|
13312
|
-
const info = extractIncludeInfo(
|
|
13341
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
13313
13342
|
let children;
|
|
13314
13343
|
if (builder) {
|
|
13315
13344
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13318,7 +13347,7 @@ var ArtifactSubBuilder = class {
|
|
|
13318
13347
|
}
|
|
13319
13348
|
this._includes.push({
|
|
13320
13349
|
fieldName: "message",
|
|
13321
|
-
fragmentDoc:
|
|
13350
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatMessageFragmentDoc,
|
|
13322
13351
|
variables,
|
|
13323
13352
|
isConnection: false,
|
|
13324
13353
|
isList: false,
|
|
@@ -13339,7 +13368,7 @@ var ChatSubBuilder = class {
|
|
|
13339
13368
|
_includes = [];
|
|
13340
13369
|
/** Include agents in the parent query. */
|
|
13341
13370
|
agents(variables, builder) {
|
|
13342
|
-
const info = extractIncludeInfo(
|
|
13371
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
13343
13372
|
let children;
|
|
13344
13373
|
if (builder) {
|
|
13345
13374
|
const sub = new AgentSubBuilder();
|
|
@@ -13348,7 +13377,7 @@ var ChatSubBuilder = class {
|
|
|
13348
13377
|
}
|
|
13349
13378
|
this._includes.push({
|
|
13350
13379
|
fieldName: "agents",
|
|
13351
|
-
fragmentDoc:
|
|
13380
|
+
fragmentDoc: chunkK3X4BLL7_cjs.AgentConnectionFragmentDoc,
|
|
13352
13381
|
variables,
|
|
13353
13382
|
isConnection: true,
|
|
13354
13383
|
isList: false,
|
|
@@ -13366,7 +13395,7 @@ var ChatSubBuilder = class {
|
|
|
13366
13395
|
}
|
|
13367
13396
|
/** Include artifacts in the parent query. */
|
|
13368
13397
|
artifacts(variables, builder) {
|
|
13369
|
-
const info = extractIncludeInfo(
|
|
13398
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
13370
13399
|
let children;
|
|
13371
13400
|
if (builder) {
|
|
13372
13401
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13375,7 +13404,7 @@ var ChatSubBuilder = class {
|
|
|
13375
13404
|
}
|
|
13376
13405
|
this._includes.push({
|
|
13377
13406
|
fieldName: "artifacts",
|
|
13378
|
-
fragmentDoc:
|
|
13407
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ArtifactConnectionFragmentDoc,
|
|
13379
13408
|
variables,
|
|
13380
13409
|
isConnection: true,
|
|
13381
13410
|
isList: false,
|
|
@@ -13393,7 +13422,7 @@ var ChatSubBuilder = class {
|
|
|
13393
13422
|
}
|
|
13394
13423
|
/** Include insight in the parent query. */
|
|
13395
13424
|
insight(variables, builder) {
|
|
13396
|
-
const info = extractIncludeInfo(
|
|
13425
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
13397
13426
|
let children;
|
|
13398
13427
|
if (builder) {
|
|
13399
13428
|
const sub = new InsightSubBuilder();
|
|
@@ -13402,7 +13431,7 @@ var ChatSubBuilder = class {
|
|
|
13402
13431
|
}
|
|
13403
13432
|
this._includes.push({
|
|
13404
13433
|
fieldName: "insight",
|
|
13405
|
-
fragmentDoc:
|
|
13434
|
+
fragmentDoc: chunkK3X4BLL7_cjs.InsightFragmentDoc,
|
|
13406
13435
|
variables,
|
|
13407
13436
|
isConnection: false,
|
|
13408
13437
|
isList: false,
|
|
@@ -13419,7 +13448,7 @@ var ChatSubBuilder = class {
|
|
|
13419
13448
|
}
|
|
13420
13449
|
/** Include messages in the parent query. */
|
|
13421
13450
|
messages(variables, builder) {
|
|
13422
|
-
const info = extractIncludeInfo(
|
|
13451
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
13423
13452
|
let children;
|
|
13424
13453
|
if (builder) {
|
|
13425
13454
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13428,7 +13457,7 @@ var ChatSubBuilder = class {
|
|
|
13428
13457
|
}
|
|
13429
13458
|
this._includes.push({
|
|
13430
13459
|
fieldName: "messages",
|
|
13431
|
-
fragmentDoc:
|
|
13460
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatMessageConnectionFragmentDoc,
|
|
13432
13461
|
variables,
|
|
13433
13462
|
isConnection: true,
|
|
13434
13463
|
isList: false,
|
|
@@ -13450,7 +13479,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13450
13479
|
_includes = [];
|
|
13451
13480
|
/** Include artifacts in the parent query. */
|
|
13452
13481
|
artifacts(variables, builder) {
|
|
13453
|
-
const info = extractIncludeInfo(
|
|
13482
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
13454
13483
|
let children;
|
|
13455
13484
|
if (builder) {
|
|
13456
13485
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13459,7 +13488,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13459
13488
|
}
|
|
13460
13489
|
this._includes.push({
|
|
13461
13490
|
fieldName: "artifacts",
|
|
13462
|
-
fragmentDoc:
|
|
13491
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ArtifactConnectionFragmentDoc,
|
|
13463
13492
|
variables,
|
|
13464
13493
|
isConnection: true,
|
|
13465
13494
|
isList: false,
|
|
@@ -13477,7 +13506,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13477
13506
|
}
|
|
13478
13507
|
/** Include chat in the parent query. */
|
|
13479
13508
|
chat(variables, builder) {
|
|
13480
|
-
const info = extractIncludeInfo(
|
|
13509
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
13481
13510
|
let children;
|
|
13482
13511
|
if (builder) {
|
|
13483
13512
|
const sub = new ChatSubBuilder();
|
|
@@ -13486,7 +13515,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13486
13515
|
}
|
|
13487
13516
|
this._includes.push({
|
|
13488
13517
|
fieldName: "chat",
|
|
13489
|
-
fragmentDoc:
|
|
13518
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatFragmentDoc,
|
|
13490
13519
|
variables,
|
|
13491
13520
|
isConnection: false,
|
|
13492
13521
|
isList: false,
|
|
@@ -13503,10 +13532,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13503
13532
|
}
|
|
13504
13533
|
/** Include contents in the parent query. */
|
|
13505
13534
|
contents(variables) {
|
|
13506
|
-
const info = extractIncludeInfo(
|
|
13535
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
13507
13536
|
this._includes.push({
|
|
13508
13537
|
fieldName: "contents",
|
|
13509
|
-
fragmentDoc:
|
|
13538
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ContentBlockFragmentDoc,
|
|
13510
13539
|
variables,
|
|
13511
13540
|
isConnection: false,
|
|
13512
13541
|
isList: true,
|
|
@@ -13522,10 +13551,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13522
13551
|
}
|
|
13523
13552
|
/** Include feedback in the parent query. */
|
|
13524
13553
|
feedback(variables) {
|
|
13525
|
-
const info = extractIncludeInfo(
|
|
13554
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
13526
13555
|
this._includes.push({
|
|
13527
13556
|
fieldName: "feedback",
|
|
13528
|
-
fragmentDoc:
|
|
13557
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedbackFragmentDoc,
|
|
13529
13558
|
variables,
|
|
13530
13559
|
isConnection: false,
|
|
13531
13560
|
isList: false,
|
|
@@ -13545,10 +13574,10 @@ var DatabaseSubBuilder = class {
|
|
|
13545
13574
|
_includes = [];
|
|
13546
13575
|
/** Include engine in the parent query. */
|
|
13547
13576
|
engine(variables) {
|
|
13548
|
-
const info = extractIncludeInfo(
|
|
13577
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
13549
13578
|
this._includes.push({
|
|
13550
13579
|
fieldName: "engine",
|
|
13551
|
-
fragmentDoc:
|
|
13580
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DatabaseEngineFragmentDoc,
|
|
13552
13581
|
variables,
|
|
13553
13582
|
isConnection: false,
|
|
13554
13583
|
isList: false,
|
|
@@ -13564,7 +13593,7 @@ var DatabaseSubBuilder = class {
|
|
|
13564
13593
|
}
|
|
13565
13594
|
/** Include tables in the parent query. */
|
|
13566
13595
|
tables(variables, builder) {
|
|
13567
|
-
const info = extractIncludeInfo(
|
|
13596
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
13568
13597
|
let children;
|
|
13569
13598
|
if (builder) {
|
|
13570
13599
|
const sub = new TableSubBuilder();
|
|
@@ -13573,7 +13602,7 @@ var DatabaseSubBuilder = class {
|
|
|
13573
13602
|
}
|
|
13574
13603
|
this._includes.push({
|
|
13575
13604
|
fieldName: "tables",
|
|
13576
|
-
fragmentDoc:
|
|
13605
|
+
fragmentDoc: chunkK3X4BLL7_cjs.TableConnectionFragmentDoc,
|
|
13577
13606
|
variables,
|
|
13578
13607
|
isConnection: true,
|
|
13579
13608
|
isList: false,
|
|
@@ -13595,10 +13624,10 @@ var DatabaseCatalogSubBuilder = class {
|
|
|
13595
13624
|
_includes = [];
|
|
13596
13625
|
/** Include engine in the parent query. */
|
|
13597
13626
|
engine(variables) {
|
|
13598
|
-
const info = extractIncludeInfo(
|
|
13627
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
13599
13628
|
this._includes.push({
|
|
13600
13629
|
fieldName: "engine",
|
|
13601
|
-
fragmentDoc:
|
|
13630
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DatabaseEngineFragmentDoc,
|
|
13602
13631
|
variables,
|
|
13603
13632
|
isConnection: false,
|
|
13604
13633
|
isList: false,
|
|
@@ -13618,10 +13647,10 @@ var DocumentSubBuilder = class {
|
|
|
13618
13647
|
_includes = [];
|
|
13619
13648
|
/** Include contents in the parent query. */
|
|
13620
13649
|
contents(variables) {
|
|
13621
|
-
const info = extractIncludeInfo(
|
|
13650
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
13622
13651
|
this._includes.push({
|
|
13623
13652
|
fieldName: "contents",
|
|
13624
|
-
fragmentDoc:
|
|
13653
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentContentFragmentDoc,
|
|
13625
13654
|
variables,
|
|
13626
13655
|
isConnection: false,
|
|
13627
13656
|
isList: true,
|
|
@@ -13637,10 +13666,10 @@ var DocumentSubBuilder = class {
|
|
|
13637
13666
|
}
|
|
13638
13667
|
/** Include file in the parent query. */
|
|
13639
13668
|
file(variables) {
|
|
13640
|
-
const info = extractIncludeInfo(
|
|
13669
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_FileDocument, "file", ["id"]);
|
|
13641
13670
|
this._includes.push({
|
|
13642
13671
|
fieldName: "file",
|
|
13643
|
-
fragmentDoc:
|
|
13672
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FileFragmentDoc,
|
|
13644
13673
|
variables,
|
|
13645
13674
|
isConnection: false,
|
|
13646
13675
|
isList: false,
|
|
@@ -13656,10 +13685,10 @@ var DocumentSubBuilder = class {
|
|
|
13656
13685
|
}
|
|
13657
13686
|
/** Include format in the parent query. */
|
|
13658
13687
|
format(variables) {
|
|
13659
|
-
const info = extractIncludeInfo(
|
|
13688
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_FormatDocument, "format", ["id"]);
|
|
13660
13689
|
this._includes.push({
|
|
13661
13690
|
fieldName: "format",
|
|
13662
|
-
fragmentDoc:
|
|
13691
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentFormatFragmentDoc,
|
|
13663
13692
|
variables,
|
|
13664
13693
|
isConnection: false,
|
|
13665
13694
|
isList: false,
|
|
@@ -13675,7 +13704,7 @@ var DocumentSubBuilder = class {
|
|
|
13675
13704
|
}
|
|
13676
13705
|
/** Include tables in the parent query. */
|
|
13677
13706
|
tables(variables, builder) {
|
|
13678
|
-
const info = extractIncludeInfo(
|
|
13707
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
13679
13708
|
let children;
|
|
13680
13709
|
if (builder) {
|
|
13681
13710
|
const sub = new TableSubBuilder();
|
|
@@ -13684,7 +13713,7 @@ var DocumentSubBuilder = class {
|
|
|
13684
13713
|
}
|
|
13685
13714
|
this._includes.push({
|
|
13686
13715
|
fieldName: "tables",
|
|
13687
|
-
fragmentDoc:
|
|
13716
|
+
fragmentDoc: chunkK3X4BLL7_cjs.TableConnectionFragmentDoc,
|
|
13688
13717
|
variables,
|
|
13689
13718
|
isConnection: true,
|
|
13690
13719
|
isList: false,
|
|
@@ -13706,10 +13735,10 @@ var DocumentCatalogSubBuilder = class {
|
|
|
13706
13735
|
_includes = [];
|
|
13707
13736
|
/** Include format in the parent query. */
|
|
13708
13737
|
format(variables) {
|
|
13709
|
-
const info = extractIncludeInfo(
|
|
13738
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
13710
13739
|
this._includes.push({
|
|
13711
13740
|
fieldName: "format",
|
|
13712
|
-
fragmentDoc:
|
|
13741
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentFormatFragmentDoc,
|
|
13713
13742
|
variables,
|
|
13714
13743
|
isConnection: false,
|
|
13715
13744
|
isList: false,
|
|
@@ -13729,10 +13758,10 @@ var FeedItemSubBuilder = class {
|
|
|
13729
13758
|
_includes = [];
|
|
13730
13759
|
/** Include action in the parent query. */
|
|
13731
13760
|
action(variables) {
|
|
13732
|
-
const info = extractIncludeInfo(
|
|
13761
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
13733
13762
|
this._includes.push({
|
|
13734
13763
|
fieldName: "action",
|
|
13735
|
-
fragmentDoc:
|
|
13764
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedSendMessageActionFragmentDoc,
|
|
13736
13765
|
variables,
|
|
13737
13766
|
isConnection: false,
|
|
13738
13767
|
isList: false,
|
|
@@ -13748,10 +13777,10 @@ var FeedItemSubBuilder = class {
|
|
|
13748
13777
|
}
|
|
13749
13778
|
/** Include data in the parent query. */
|
|
13750
13779
|
data(variables) {
|
|
13751
|
-
const info = extractIncludeInfo(
|
|
13780
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
13752
13781
|
this._includes.push({
|
|
13753
13782
|
fieldName: "data",
|
|
13754
|
-
fragmentDoc:
|
|
13783
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedArtifactDataFragmentDoc,
|
|
13755
13784
|
variables,
|
|
13756
13785
|
isConnection: false,
|
|
13757
13786
|
isList: true,
|
|
@@ -13771,7 +13800,7 @@ var InsightSubBuilder = class {
|
|
|
13771
13800
|
_includes = [];
|
|
13772
13801
|
/** Include chat in the parent query. */
|
|
13773
13802
|
chat(variables, builder) {
|
|
13774
|
-
const info = extractIncludeInfo(
|
|
13803
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
13775
13804
|
let children;
|
|
13776
13805
|
if (builder) {
|
|
13777
13806
|
const sub = new ChatSubBuilder();
|
|
@@ -13780,7 +13809,7 @@ var InsightSubBuilder = class {
|
|
|
13780
13809
|
}
|
|
13781
13810
|
this._includes.push({
|
|
13782
13811
|
fieldName: "chat",
|
|
13783
|
-
fragmentDoc:
|
|
13812
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatFragmentDoc,
|
|
13784
13813
|
variables,
|
|
13785
13814
|
isConnection: false,
|
|
13786
13815
|
isList: false,
|
|
@@ -13797,10 +13826,10 @@ var InsightSubBuilder = class {
|
|
|
13797
13826
|
}
|
|
13798
13827
|
/** Include reportMembers in the parent query. */
|
|
13799
13828
|
reportMembers(variables) {
|
|
13800
|
-
const info = extractIncludeInfo(
|
|
13829
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
13801
13830
|
this._includes.push({
|
|
13802
13831
|
fieldName: "reportMembers",
|
|
13803
|
-
fragmentDoc:
|
|
13832
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ReportMemberFragmentDoc,
|
|
13804
13833
|
variables,
|
|
13805
13834
|
isConnection: false,
|
|
13806
13835
|
isList: true,
|
|
@@ -13816,7 +13845,7 @@ var InsightSubBuilder = class {
|
|
|
13816
13845
|
}
|
|
13817
13846
|
/** Include reports in the parent query. */
|
|
13818
13847
|
reports(variables, builder) {
|
|
13819
|
-
const info = extractIncludeInfo(
|
|
13848
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
13820
13849
|
let children;
|
|
13821
13850
|
if (builder) {
|
|
13822
13851
|
const sub = new ReportSubBuilder();
|
|
@@ -13825,7 +13854,7 @@ var InsightSubBuilder = class {
|
|
|
13825
13854
|
}
|
|
13826
13855
|
this._includes.push({
|
|
13827
13856
|
fieldName: "reports",
|
|
13828
|
-
fragmentDoc:
|
|
13857
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ReportConnectionFragmentDoc,
|
|
13829
13858
|
variables,
|
|
13830
13859
|
isConnection: true,
|
|
13831
13860
|
isList: false,
|
|
@@ -13843,10 +13872,10 @@ var InsightSubBuilder = class {
|
|
|
13843
13872
|
}
|
|
13844
13873
|
/** Include thumbnailFile in the parent query. */
|
|
13845
13874
|
thumbnailFile(variables) {
|
|
13846
|
-
const info = extractIncludeInfo(
|
|
13875
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
13847
13876
|
this._includes.push({
|
|
13848
13877
|
fieldName: "thumbnailFile",
|
|
13849
|
-
fragmentDoc:
|
|
13878
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FileFragmentDoc,
|
|
13850
13879
|
variables,
|
|
13851
13880
|
isConnection: false,
|
|
13852
13881
|
isList: false,
|
|
@@ -13866,10 +13895,10 @@ var IntegrationSubBuilder = class {
|
|
|
13866
13895
|
_includes = [];
|
|
13867
13896
|
/** Include provider in the parent query. */
|
|
13868
13897
|
provider(variables) {
|
|
13869
|
-
const info = extractIncludeInfo(
|
|
13898
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
13870
13899
|
this._includes.push({
|
|
13871
13900
|
fieldName: "provider",
|
|
13872
|
-
fragmentDoc:
|
|
13901
|
+
fragmentDoc: chunkK3X4BLL7_cjs.IntegrationProviderFragmentDoc,
|
|
13873
13902
|
variables,
|
|
13874
13903
|
isConnection: false,
|
|
13875
13904
|
isList: false,
|
|
@@ -13889,10 +13918,10 @@ var IntegrationCatalogSubBuilder = class {
|
|
|
13889
13918
|
_includes = [];
|
|
13890
13919
|
/** Include provider in the parent query. */
|
|
13891
13920
|
provider(variables) {
|
|
13892
|
-
const info = extractIncludeInfo(
|
|
13921
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
13893
13922
|
this._includes.push({
|
|
13894
13923
|
fieldName: "provider",
|
|
13895
|
-
fragmentDoc:
|
|
13924
|
+
fragmentDoc: chunkK3X4BLL7_cjs.IntegrationProviderFragmentDoc,
|
|
13896
13925
|
variables,
|
|
13897
13926
|
isConnection: false,
|
|
13898
13927
|
isList: false,
|
|
@@ -13907,12 +13936,54 @@ var IntegrationCatalogSubBuilder = class {
|
|
|
13907
13936
|
return this;
|
|
13908
13937
|
}
|
|
13909
13938
|
};
|
|
13939
|
+
var LiveContextSubBuilder = class {
|
|
13940
|
+
/** @internal */
|
|
13941
|
+
_includes = [];
|
|
13942
|
+
/** Include items in the parent query. */
|
|
13943
|
+
items(variables) {
|
|
13944
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.LiveContext_ItemsDocument, "items", ["id"]);
|
|
13945
|
+
this._includes.push({
|
|
13946
|
+
fieldName: "items",
|
|
13947
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedItemGeneratedFragmentDoc,
|
|
13948
|
+
variables,
|
|
13949
|
+
isConnection: false,
|
|
13950
|
+
isList: true,
|
|
13951
|
+
variableDefinitions: info.variableDefinitions,
|
|
13952
|
+
fieldArguments: info.fieldArguments,
|
|
13953
|
+
syncMetadata: {
|
|
13954
|
+
entityType: "feedItemGenerateds",
|
|
13955
|
+
requiredFields: ["id", "kind", "title", "data", "createdAt", "updatedAt"]
|
|
13956
|
+
},
|
|
13957
|
+
modelFactory: (req, data, se, bu) => new FeedItemGenerated(req, data, se, bu)
|
|
13958
|
+
});
|
|
13959
|
+
return this;
|
|
13960
|
+
}
|
|
13961
|
+
/** Include source in the parent query. */
|
|
13962
|
+
source(variables) {
|
|
13963
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.LiveContext_SourceDocument, "source", ["id"]);
|
|
13964
|
+
this._includes.push({
|
|
13965
|
+
fieldName: "source",
|
|
13966
|
+
fragmentDoc: chunkK3X4BLL7_cjs.CandidateFragmentDoc,
|
|
13967
|
+
variables,
|
|
13968
|
+
isConnection: false,
|
|
13969
|
+
isList: false,
|
|
13970
|
+
variableDefinitions: info.variableDefinitions,
|
|
13971
|
+
fieldArguments: info.fieldArguments,
|
|
13972
|
+
syncMetadata: {
|
|
13973
|
+
entityType: "candidates",
|
|
13974
|
+
requiredFields: ["id", "userId", "workspaceId", "createdAt"]
|
|
13975
|
+
},
|
|
13976
|
+
modelFactory: (req, data, se, bu) => new Candidate(req, data, se, bu)
|
|
13977
|
+
});
|
|
13978
|
+
return this;
|
|
13979
|
+
}
|
|
13980
|
+
};
|
|
13910
13981
|
var PulseEventSubBuilder = class {
|
|
13911
13982
|
/** @internal */
|
|
13912
13983
|
_includes = [];
|
|
13913
13984
|
/** Include integration in the parent query. */
|
|
13914
13985
|
integration(variables, builder) {
|
|
13915
|
-
const info = extractIncludeInfo(
|
|
13986
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
13916
13987
|
let children;
|
|
13917
13988
|
if (builder) {
|
|
13918
13989
|
const sub = new IntegrationSubBuilder();
|
|
@@ -13921,7 +13992,7 @@ var PulseEventSubBuilder = class {
|
|
|
13921
13992
|
}
|
|
13922
13993
|
this._includes.push({
|
|
13923
13994
|
fieldName: "integration",
|
|
13924
|
-
fragmentDoc:
|
|
13995
|
+
fragmentDoc: chunkK3X4BLL7_cjs.IntegrationFragmentDoc,
|
|
13925
13996
|
variables,
|
|
13926
13997
|
isConnection: false,
|
|
13927
13998
|
isList: false,
|
|
@@ -13942,7 +14013,7 @@ var ReportSubBuilder = class {
|
|
|
13942
14013
|
_includes = [];
|
|
13943
14014
|
/** Include insights in the parent query. */
|
|
13944
14015
|
insights(variables, builder) {
|
|
13945
|
-
const info = extractIncludeInfo(
|
|
14016
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
13946
14017
|
let children;
|
|
13947
14018
|
if (builder) {
|
|
13948
14019
|
const sub = new InsightSubBuilder();
|
|
@@ -13951,7 +14022,7 @@ var ReportSubBuilder = class {
|
|
|
13951
14022
|
}
|
|
13952
14023
|
this._includes.push({
|
|
13953
14024
|
fieldName: "insights",
|
|
13954
|
-
fragmentDoc:
|
|
14025
|
+
fragmentDoc: chunkK3X4BLL7_cjs.InsightConnectionFragmentDoc,
|
|
13955
14026
|
variables,
|
|
13956
14027
|
isConnection: true,
|
|
13957
14028
|
isList: false,
|
|
@@ -13969,10 +14040,10 @@ var ReportSubBuilder = class {
|
|
|
13969
14040
|
}
|
|
13970
14041
|
/** Include layout in the parent query. */
|
|
13971
14042
|
layout(variables) {
|
|
13972
|
-
const info = extractIncludeInfo(
|
|
14043
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
13973
14044
|
this._includes.push({
|
|
13974
14045
|
fieldName: "layout",
|
|
13975
|
-
fragmentDoc:
|
|
14046
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ReportMemberFragmentDoc,
|
|
13976
14047
|
variables,
|
|
13977
14048
|
isConnection: false,
|
|
13978
14049
|
isList: true,
|
|
@@ -13992,7 +14063,7 @@ var TableSubBuilder = class {
|
|
|
13992
14063
|
_includes = [];
|
|
13993
14064
|
/** Include database in the parent query. */
|
|
13994
14065
|
database(variables, builder) {
|
|
13995
|
-
const info = extractIncludeInfo(
|
|
14066
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
13996
14067
|
let children;
|
|
13997
14068
|
if (builder) {
|
|
13998
14069
|
const sub = new DatabaseSubBuilder();
|
|
@@ -14001,7 +14072,7 @@ var TableSubBuilder = class {
|
|
|
14001
14072
|
}
|
|
14002
14073
|
this._includes.push({
|
|
14003
14074
|
fieldName: "database",
|
|
14004
|
-
fragmentDoc:
|
|
14075
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DatabaseFragmentDoc,
|
|
14005
14076
|
variables,
|
|
14006
14077
|
isConnection: false,
|
|
14007
14078
|
isList: false,
|
|
@@ -14018,7 +14089,7 @@ var TableSubBuilder = class {
|
|
|
14018
14089
|
}
|
|
14019
14090
|
/** Include document in the parent query. */
|
|
14020
14091
|
document(variables, builder) {
|
|
14021
|
-
const info = extractIncludeInfo(
|
|
14092
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
14022
14093
|
let children;
|
|
14023
14094
|
if (builder) {
|
|
14024
14095
|
const sub = new DocumentSubBuilder();
|
|
@@ -14027,7 +14098,7 @@ var TableSubBuilder = class {
|
|
|
14027
14098
|
}
|
|
14028
14099
|
this._includes.push({
|
|
14029
14100
|
fieldName: "document",
|
|
14030
|
-
fragmentDoc:
|
|
14101
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentFragmentDoc,
|
|
14031
14102
|
variables,
|
|
14032
14103
|
isConnection: false,
|
|
14033
14104
|
isList: false,
|
|
@@ -14044,10 +14115,10 @@ var TableSubBuilder = class {
|
|
|
14044
14115
|
}
|
|
14045
14116
|
/** Include fromRelations in the parent query. */
|
|
14046
14117
|
fromRelations(variables) {
|
|
14047
|
-
const info = extractIncludeInfo(
|
|
14118
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
14048
14119
|
this._includes.push({
|
|
14049
14120
|
fieldName: "fromRelations",
|
|
14050
|
-
fragmentDoc:
|
|
14121
|
+
fragmentDoc: chunkK3X4BLL7_cjs.RelationFragmentDoc,
|
|
14051
14122
|
variables,
|
|
14052
14123
|
isConnection: false,
|
|
14053
14124
|
isList: true,
|
|
@@ -14063,10 +14134,10 @@ var TableSubBuilder = class {
|
|
|
14063
14134
|
}
|
|
14064
14135
|
/** Include toRelations in the parent query. */
|
|
14065
14136
|
toRelations(variables) {
|
|
14066
|
-
const info = extractIncludeInfo(
|
|
14137
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
14067
14138
|
this._includes.push({
|
|
14068
14139
|
fieldName: "toRelations",
|
|
14069
|
-
fragmentDoc:
|
|
14140
|
+
fragmentDoc: chunkK3X4BLL7_cjs.RelationFragmentDoc,
|
|
14070
14141
|
variables,
|
|
14071
14142
|
isConnection: false,
|
|
14072
14143
|
isList: true,
|
|
@@ -14083,460 +14154,460 @@ var TableSubBuilder = class {
|
|
|
14083
14154
|
};
|
|
14084
14155
|
var AbortChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14085
14156
|
async fetch(variables) {
|
|
14086
|
-
const response = await this._syncEngine.mutate(
|
|
14157
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
|
|
14087
14158
|
return response.abortChat;
|
|
14088
14159
|
}
|
|
14089
14160
|
};
|
|
14090
14161
|
var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14091
14162
|
async fetch(variables, options) {
|
|
14092
|
-
const response = await this._syncEngine.mutate(
|
|
14163
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
|
|
14093
14164
|
const data = response.addInsightToReport;
|
|
14094
14165
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14095
14166
|
}
|
|
14096
14167
|
};
|
|
14097
14168
|
var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14098
14169
|
async fetch(variables) {
|
|
14099
|
-
const response = await this._syncEngine.mutate(
|
|
14170
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
|
|
14100
14171
|
return response.cancelOauthFlow;
|
|
14101
14172
|
}
|
|
14102
14173
|
};
|
|
14103
14174
|
var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14104
14175
|
async fetch(variables) {
|
|
14105
|
-
const response = await this._syncEngine.mutate(
|
|
14176
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
|
|
14106
14177
|
return response.cancelWorkspaceDeletion;
|
|
14107
14178
|
}
|
|
14108
14179
|
};
|
|
14109
14180
|
var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14110
14181
|
async fetch(variables, options) {
|
|
14111
|
-
const response = await this._syncEngine.mutate(
|
|
14182
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
|
|
14112
14183
|
const data = response.connectIntegration;
|
|
14113
14184
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14114
14185
|
}
|
|
14115
14186
|
};
|
|
14116
14187
|
var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14117
14188
|
async fetch(variables) {
|
|
14118
|
-
const response = await this._syncEngine.mutate(
|
|
14189
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
|
|
14119
14190
|
return response.consumePulseEvents;
|
|
14120
14191
|
}
|
|
14121
14192
|
};
|
|
14122
14193
|
var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14123
14194
|
async fetch(variables) {
|
|
14124
|
-
const response = await this._syncEngine.mutate(
|
|
14195
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
|
|
14125
14196
|
return response.continueImportedChat;
|
|
14126
14197
|
}
|
|
14127
14198
|
};
|
|
14128
14199
|
var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14129
14200
|
async fetch(variables) {
|
|
14130
|
-
const response = await this._syncEngine.mutate(
|
|
14201
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
|
|
14131
14202
|
return response.continueInterpretation;
|
|
14132
14203
|
}
|
|
14133
14204
|
};
|
|
14134
14205
|
var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14135
14206
|
async fetch(variables, options) {
|
|
14136
|
-
const response = await this._syncEngine.mutate(
|
|
14207
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
|
|
14137
14208
|
const data = response.createAgent;
|
|
14138
14209
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14139
14210
|
}
|
|
14140
14211
|
};
|
|
14141
14212
|
var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14142
14213
|
async fetch(variables, options) {
|
|
14143
|
-
const response = await this._syncEngine.mutate(
|
|
14214
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
|
|
14144
14215
|
const data = response.createChat;
|
|
14145
14216
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14146
14217
|
}
|
|
14147
14218
|
};
|
|
14148
14219
|
var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14149
14220
|
async fetch(variables, options) {
|
|
14150
|
-
const response = await this._syncEngine.mutate(
|
|
14221
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
|
|
14151
14222
|
const data = response.createDatabase;
|
|
14152
14223
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14153
14224
|
}
|
|
14154
14225
|
};
|
|
14155
14226
|
var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14156
14227
|
async fetch(variables, options) {
|
|
14157
|
-
const response = await this._syncEngine.mutate(
|
|
14228
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
|
|
14158
14229
|
const data = response.createDocument;
|
|
14159
14230
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14160
14231
|
}
|
|
14161
14232
|
};
|
|
14162
14233
|
var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14163
14234
|
async fetch(variables, options) {
|
|
14164
|
-
const response = await this._syncEngine.mutate(
|
|
14235
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
|
|
14165
14236
|
const data = response.createFeedback;
|
|
14166
14237
|
return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
|
|
14167
14238
|
}
|
|
14168
14239
|
};
|
|
14169
14240
|
var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14170
14241
|
async fetch(variables, options) {
|
|
14171
|
-
const response = await this._syncEngine.mutate(
|
|
14242
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
|
|
14172
14243
|
const data = response.createFolder;
|
|
14173
14244
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14174
14245
|
}
|
|
14175
14246
|
};
|
|
14176
14247
|
var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14177
14248
|
async fetch(variables, options) {
|
|
14178
|
-
const response = await this._syncEngine.mutate(
|
|
14249
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
|
|
14179
14250
|
const data = response.createInsight;
|
|
14180
14251
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14181
14252
|
}
|
|
14182
14253
|
};
|
|
14183
14254
|
var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14184
14255
|
async fetch(variables, options) {
|
|
14185
|
-
const response = await this._syncEngine.mutate(
|
|
14256
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
|
|
14186
14257
|
const data = response.createIntegration;
|
|
14187
14258
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14188
14259
|
}
|
|
14189
14260
|
};
|
|
14190
14261
|
var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14191
14262
|
async fetch(variables, options) {
|
|
14192
|
-
const response = await this._syncEngine.mutate(
|
|
14263
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
|
|
14193
14264
|
const data = response.createReport;
|
|
14194
14265
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14195
14266
|
}
|
|
14196
14267
|
};
|
|
14197
14268
|
var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14198
14269
|
async fetch(variables, options) {
|
|
14199
|
-
const response = await this._syncEngine.mutate(
|
|
14270
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
|
|
14200
14271
|
const data = response.createTable;
|
|
14201
14272
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14202
14273
|
}
|
|
14203
14274
|
};
|
|
14204
14275
|
var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14205
14276
|
async fetch(variables, options) {
|
|
14206
|
-
const response = await this._syncEngine.mutate(
|
|
14277
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
|
|
14207
14278
|
const data = response.createUserSkillFile;
|
|
14208
14279
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14209
14280
|
}
|
|
14210
14281
|
};
|
|
14211
14282
|
var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14212
14283
|
async fetch(variables, options) {
|
|
14213
|
-
const response = await this._syncEngine.mutate(
|
|
14284
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
|
|
14214
14285
|
const data = response.createUserSkillFolder;
|
|
14215
14286
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14216
14287
|
}
|
|
14217
14288
|
};
|
|
14218
14289
|
var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14219
14290
|
async fetch(variables, options) {
|
|
14220
|
-
const response = await this._syncEngine.mutate(
|
|
14291
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
|
|
14221
14292
|
const data = response.deleteAgent;
|
|
14222
14293
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14223
14294
|
}
|
|
14224
14295
|
};
|
|
14225
14296
|
var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14226
14297
|
async fetch(variables, options) {
|
|
14227
|
-
const response = await this._syncEngine.mutate(
|
|
14298
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
|
|
14228
14299
|
const data = response.deleteArtifact;
|
|
14229
14300
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14230
14301
|
}
|
|
14231
14302
|
};
|
|
14232
14303
|
var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14233
14304
|
async fetch(variables, options) {
|
|
14234
|
-
const response = await this._syncEngine.mutate(
|
|
14305
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
|
|
14235
14306
|
const data = response.deleteChat;
|
|
14236
14307
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14237
14308
|
}
|
|
14238
14309
|
};
|
|
14239
14310
|
var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14240
14311
|
async fetch(variables, options) {
|
|
14241
|
-
const response = await this._syncEngine.mutate(
|
|
14312
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
|
|
14242
14313
|
const data = response.deleteDatabase;
|
|
14243
14314
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14244
14315
|
}
|
|
14245
14316
|
};
|
|
14246
14317
|
var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14247
14318
|
async fetch(variables, options) {
|
|
14248
|
-
const response = await this._syncEngine.mutate(
|
|
14319
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
|
|
14249
14320
|
const data = response.deleteDocument;
|
|
14250
14321
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14251
14322
|
}
|
|
14252
14323
|
};
|
|
14253
14324
|
var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14254
14325
|
async fetch(variables, options) {
|
|
14255
|
-
const response = await this._syncEngine.mutate(
|
|
14326
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
|
|
14256
14327
|
const data = response.deleteFolder;
|
|
14257
14328
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14258
14329
|
}
|
|
14259
14330
|
};
|
|
14260
14331
|
var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14261
14332
|
async fetch(variables, options) {
|
|
14262
|
-
const response = await this._syncEngine.mutate(
|
|
14333
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
|
|
14263
14334
|
const data = response.deleteInsight;
|
|
14264
14335
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14265
14336
|
}
|
|
14266
14337
|
};
|
|
14267
14338
|
var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14268
14339
|
async fetch(variables, options) {
|
|
14269
|
-
const response = await this._syncEngine.mutate(
|
|
14340
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
|
|
14270
14341
|
const data = response.deleteInsights;
|
|
14271
14342
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14272
14343
|
}
|
|
14273
14344
|
};
|
|
14274
14345
|
var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14275
14346
|
async fetch(variables) {
|
|
14276
|
-
const response = await this._syncEngine.mutate(
|
|
14347
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
|
|
14277
14348
|
return response.deleteIntegration;
|
|
14278
14349
|
}
|
|
14279
14350
|
};
|
|
14280
14351
|
var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14281
14352
|
async fetch(variables, options) {
|
|
14282
|
-
const response = await this._syncEngine.mutate(
|
|
14353
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
|
|
14283
14354
|
const data = response.deleteReport;
|
|
14284
14355
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14285
14356
|
}
|
|
14286
14357
|
};
|
|
14287
14358
|
var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14288
14359
|
async fetch(variables, options) {
|
|
14289
|
-
const response = await this._syncEngine.mutate(
|
|
14360
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
|
|
14290
14361
|
const data = response.deleteTable;
|
|
14291
14362
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14292
14363
|
}
|
|
14293
14364
|
};
|
|
14294
14365
|
var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14295
14366
|
async fetch(variables, options) {
|
|
14296
|
-
const response = await this._syncEngine.mutate(
|
|
14367
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
|
|
14297
14368
|
const data = response.deleteUserSkillFile;
|
|
14298
14369
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14299
14370
|
}
|
|
14300
14371
|
};
|
|
14301
14372
|
var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14302
14373
|
async fetch(variables, options) {
|
|
14303
|
-
const response = await this._syncEngine.mutate(
|
|
14374
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
|
|
14304
14375
|
const data = response.deleteUserSkillFolder;
|
|
14305
14376
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14306
14377
|
}
|
|
14307
14378
|
};
|
|
14308
14379
|
var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14309
14380
|
async fetch(variables) {
|
|
14310
|
-
const response = await this._syncEngine.mutate(
|
|
14381
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
|
|
14311
14382
|
return response.disconnectIntegration;
|
|
14312
14383
|
}
|
|
14313
14384
|
};
|
|
14314
14385
|
var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14315
14386
|
async fetch(variables, options) {
|
|
14316
|
-
const response = await this._syncEngine.mutate(
|
|
14387
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
|
|
14317
14388
|
const data = response.dismissPulseEvent;
|
|
14318
14389
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14319
14390
|
}
|
|
14320
14391
|
};
|
|
14321
14392
|
var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14322
14393
|
async fetch(variables, options) {
|
|
14323
|
-
const response = await this._syncEngine.mutate(
|
|
14394
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
|
|
14324
14395
|
const data = response.executeChatImport;
|
|
14325
14396
|
return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14326
14397
|
}
|
|
14327
14398
|
};
|
|
14328
14399
|
var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14329
14400
|
async fetch(variables, options) {
|
|
14330
|
-
const response = await this._syncEngine.mutate(
|
|
14401
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
|
|
14331
14402
|
const data = response.generateUploadUri;
|
|
14332
14403
|
return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14333
14404
|
}
|
|
14334
14405
|
};
|
|
14335
14406
|
var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14336
14407
|
async fetch(variables, options) {
|
|
14337
|
-
const response = await this._syncEngine.mutate(
|
|
14408
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
|
|
14338
14409
|
const data = response.previewChatImport;
|
|
14339
14410
|
return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14340
14411
|
}
|
|
14341
14412
|
};
|
|
14342
14413
|
var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14343
14414
|
async fetch(variables, options) {
|
|
14344
|
-
const response = await this._syncEngine.mutate(
|
|
14415
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
|
|
14345
14416
|
const data = response.reanalyzeDocument;
|
|
14346
14417
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14347
14418
|
}
|
|
14348
14419
|
};
|
|
14349
14420
|
var RefineAgentInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14350
14421
|
async fetch(variables) {
|
|
14351
|
-
const response = await this._syncEngine.mutate(
|
|
14422
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.RefineAgentInstructionDocument, variables, MUTATION_CACHE_RULES["refineAgentInstruction"]);
|
|
14352
14423
|
return response.refineAgentInstruction;
|
|
14353
14424
|
}
|
|
14354
14425
|
};
|
|
14355
14426
|
var RefineSkillInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14356
14427
|
async fetch(variables) {
|
|
14357
|
-
const response = await this._syncEngine.mutate(
|
|
14428
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.RefineSkillInstructionDocument, variables, MUTATION_CACHE_RULES["refineSkillInstruction"]);
|
|
14358
14429
|
return response.refineSkillInstruction;
|
|
14359
14430
|
}
|
|
14360
14431
|
};
|
|
14361
14432
|
var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14362
14433
|
async fetch(variables) {
|
|
14363
|
-
const response = await this._syncEngine.mutate(
|
|
14434
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
|
|
14364
14435
|
return response.refreshDatabaseSchema;
|
|
14365
14436
|
}
|
|
14366
14437
|
};
|
|
14367
14438
|
var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14368
14439
|
async fetch(variables, options) {
|
|
14369
|
-
const response = await this._syncEngine.mutate(
|
|
14440
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
|
|
14370
14441
|
const data = response.refreshInsight;
|
|
14371
14442
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14372
14443
|
}
|
|
14373
14444
|
};
|
|
14374
14445
|
var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14375
14446
|
async fetch(variables) {
|
|
14376
|
-
const response = await this._syncEngine.mutate(
|
|
14447
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
|
|
14377
14448
|
return response.reinterpretSource;
|
|
14378
14449
|
}
|
|
14379
14450
|
};
|
|
14380
14451
|
var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14381
14452
|
async fetch(variables) {
|
|
14382
|
-
const response = await this._syncEngine.mutate(
|
|
14453
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
|
|
14383
14454
|
return response.reinterpretSourcesOfuser;
|
|
14384
14455
|
}
|
|
14385
14456
|
};
|
|
14386
14457
|
var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14387
14458
|
async fetch(variables, options) {
|
|
14388
|
-
const response = await this._syncEngine.mutate(
|
|
14459
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
|
|
14389
14460
|
const data = response.relocateInsight;
|
|
14390
14461
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14391
14462
|
}
|
|
14392
14463
|
};
|
|
14393
14464
|
var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14394
14465
|
async fetch(variables, options) {
|
|
14395
|
-
const response = await this._syncEngine.mutate(
|
|
14466
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
|
|
14396
14467
|
const data = response.removeInsightFromReport;
|
|
14397
14468
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14398
14469
|
}
|
|
14399
14470
|
};
|
|
14400
14471
|
var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14401
14472
|
async fetch(variables) {
|
|
14402
|
-
const response = await this._syncEngine.mutate(
|
|
14473
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
|
|
14403
14474
|
return response.resetWorkspace;
|
|
14404
14475
|
}
|
|
14405
14476
|
};
|
|
14406
14477
|
var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14407
14478
|
async fetch(variables, options) {
|
|
14408
|
-
const response = await this._syncEngine.mutate(
|
|
14479
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
|
|
14409
14480
|
const data = response.resolvePulseEvent;
|
|
14410
14481
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14411
14482
|
}
|
|
14412
14483
|
};
|
|
14413
14484
|
var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14414
14485
|
async fetch(variables, options) {
|
|
14415
|
-
const response = await this._syncEngine.mutate(
|
|
14486
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
|
|
14416
14487
|
const data = response.scheduleWorkspaceDeletion;
|
|
14417
14488
|
return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
|
|
14418
14489
|
}
|
|
14419
14490
|
};
|
|
14420
14491
|
var SendMessageMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14421
14492
|
async fetch(variables, options) {
|
|
14422
|
-
const response = await this._syncEngine.mutate(
|
|
14493
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
|
|
14423
14494
|
const data = response.sendMessage;
|
|
14424
14495
|
return new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
14425
14496
|
}
|
|
14426
14497
|
};
|
|
14427
14498
|
var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14428
14499
|
async fetch(variables) {
|
|
14429
|
-
const response = await this._syncEngine.mutate(
|
|
14500
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
|
|
14430
14501
|
return response.setDatabasePrimaryKey;
|
|
14431
14502
|
}
|
|
14432
14503
|
};
|
|
14433
14504
|
var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14434
14505
|
async fetch(variables, options) {
|
|
14435
|
-
const response = await this._syncEngine.mutate(
|
|
14506
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
|
|
14436
14507
|
const data = response.updateAgent;
|
|
14437
14508
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14438
14509
|
}
|
|
14439
14510
|
};
|
|
14440
14511
|
var UpdateArtifactNameMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14441
14512
|
async fetch(variables, options) {
|
|
14442
|
-
const response = await this._syncEngine.mutate(
|
|
14513
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
|
|
14443
14514
|
const data = response.updateArtifactName;
|
|
14444
14515
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14445
14516
|
}
|
|
14446
14517
|
};
|
|
14447
14518
|
var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14448
14519
|
async fetch(variables, options) {
|
|
14449
|
-
const response = await this._syncEngine.mutate(
|
|
14520
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
|
|
14450
14521
|
const data = response.updateChat;
|
|
14451
14522
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14452
14523
|
}
|
|
14453
14524
|
};
|
|
14454
14525
|
var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14455
14526
|
async fetch(variables, options) {
|
|
14456
|
-
const response = await this._syncEngine.mutate(
|
|
14527
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
|
|
14457
14528
|
const data = response.updateDatabase;
|
|
14458
14529
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14459
14530
|
}
|
|
14460
14531
|
};
|
|
14461
14532
|
var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14462
14533
|
async fetch(variables, options) {
|
|
14463
|
-
const response = await this._syncEngine.mutate(
|
|
14534
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
|
|
14464
14535
|
const data = response.updateDocument;
|
|
14465
14536
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14466
14537
|
}
|
|
14467
14538
|
};
|
|
14468
14539
|
var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14469
14540
|
async fetch(variables, options) {
|
|
14470
|
-
const response = await this._syncEngine.mutate(
|
|
14541
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
|
|
14471
14542
|
const data = response.updateFolder;
|
|
14472
14543
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14473
14544
|
}
|
|
14474
14545
|
};
|
|
14475
14546
|
var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14476
14547
|
async fetch(variables, options) {
|
|
14477
|
-
const response = await this._syncEngine.mutate(
|
|
14548
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
|
|
14478
14549
|
const data = response.updateInsight;
|
|
14479
14550
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14480
14551
|
}
|
|
14481
14552
|
};
|
|
14482
14553
|
var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14483
14554
|
async fetch(variables, options) {
|
|
14484
|
-
const response = await this._syncEngine.mutate(
|
|
14555
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
|
|
14485
14556
|
const data = response.updateInsightInReport;
|
|
14486
14557
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14487
14558
|
}
|
|
14488
14559
|
};
|
|
14489
14560
|
var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14490
14561
|
async fetch(variables) {
|
|
14491
|
-
const response = await this._syncEngine.mutate(
|
|
14562
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
|
|
14492
14563
|
return response.updateInsightThumbnail;
|
|
14493
14564
|
}
|
|
14494
14565
|
};
|
|
14495
14566
|
var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14496
14567
|
async fetch(variables, options) {
|
|
14497
|
-
const response = await this._syncEngine.mutate(
|
|
14568
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
|
|
14498
14569
|
const data = response.updateInterp;
|
|
14499
14570
|
return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
|
|
14500
14571
|
}
|
|
14501
14572
|
};
|
|
14502
14573
|
var UpdateLiveContextMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14503
14574
|
async fetch(variables, options) {
|
|
14504
|
-
const response = await this._syncEngine.mutate(
|
|
14575
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
|
|
14505
14576
|
const data = response.updateLiveContext;
|
|
14506
14577
|
return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
14507
14578
|
}
|
|
14508
14579
|
};
|
|
14509
14580
|
var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14510
14581
|
async fetch(variables, options) {
|
|
14511
|
-
const response = await this._syncEngine.mutate(
|
|
14582
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
|
|
14512
14583
|
const data = response.updatePulseTrigger;
|
|
14513
14584
|
return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14514
14585
|
}
|
|
14515
14586
|
};
|
|
14516
14587
|
var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14517
14588
|
async fetch(variables, options) {
|
|
14518
|
-
const response = await this._syncEngine.mutate(
|
|
14589
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
|
|
14519
14590
|
const data = response.updateReport;
|
|
14520
14591
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14521
14592
|
}
|
|
14522
14593
|
};
|
|
14523
14594
|
var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14524
14595
|
async fetch(variables, options) {
|
|
14525
|
-
const response = await this._syncEngine.mutate(
|
|
14596
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
|
|
14526
14597
|
const data = response.updateTable;
|
|
14527
14598
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14528
14599
|
}
|
|
14529
14600
|
};
|
|
14530
14601
|
var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14531
14602
|
async fetch(variables, options) {
|
|
14532
|
-
const response = await this._syncEngine.mutate(
|
|
14603
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
|
|
14533
14604
|
const data = response.updateUserSkillFile;
|
|
14534
14605
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14535
14606
|
}
|
|
14536
14607
|
};
|
|
14537
14608
|
var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14538
14609
|
async fetch(variables, options) {
|
|
14539
|
-
const response = await this._syncEngine.mutate(
|
|
14610
|
+
const response = await this._syncEngine.mutate(chunkK3X4BLL7_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
|
|
14540
14611
|
const data = response.updateUserSkillFolder;
|
|
14541
14612
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14542
14613
|
}
|
|
@@ -14550,7 +14621,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14550
14621
|
}
|
|
14551
14622
|
async fetch(options) {
|
|
14552
14623
|
const variables = this._variables;
|
|
14553
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14624
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.AgentDocument, "agent", this._includes, variables);
|
|
14554
14625
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
|
|
14555
14626
|
const data = response.agent;
|
|
14556
14627
|
const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14562,7 +14633,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14562
14633
|
watch(options) {
|
|
14563
14634
|
const variables = this._variables;
|
|
14564
14635
|
const includes = this._includes;
|
|
14565
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14636
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.AgentDocument, "agent", includes, variables);
|
|
14566
14637
|
const raw = this._syncEngine.watch(
|
|
14567
14638
|
queryDoc,
|
|
14568
14639
|
mergedVars,
|
|
@@ -14592,7 +14663,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14592
14663
|
}
|
|
14593
14664
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
14594
14665
|
chats(variables, builder) {
|
|
14595
|
-
const info = extractIncludeInfo(
|
|
14666
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
14596
14667
|
let children;
|
|
14597
14668
|
if (builder) {
|
|
14598
14669
|
const sub = new ChatSubBuilder();
|
|
@@ -14601,7 +14672,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14601
14672
|
}
|
|
14602
14673
|
this._includes.push({
|
|
14603
14674
|
fieldName: "chats",
|
|
14604
|
-
fragmentDoc:
|
|
14675
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatConnectionFragmentDoc,
|
|
14605
14676
|
variables,
|
|
14606
14677
|
isConnection: true,
|
|
14607
14678
|
isList: false,
|
|
@@ -14626,18 +14697,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
14626
14697
|
}
|
|
14627
14698
|
async fetch(options) {
|
|
14628
14699
|
const variables = this._variables;
|
|
14629
|
-
const response = await this._syncEngine.query(
|
|
14700
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Agent_ChatsDocument, variables, "agent");
|
|
14630
14701
|
const data = response.agent?.chats;
|
|
14631
14702
|
return new ChatConnection(this._request, (conn, opts) => new _Agent_ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
14632
14703
|
}
|
|
14633
14704
|
watch(options) {
|
|
14634
14705
|
const variables = this._variables;
|
|
14635
14706
|
const raw = this._syncEngine.watch(
|
|
14636
|
-
|
|
14707
|
+
chunkK3X4BLL7_cjs.Agent_ChatsDocument,
|
|
14637
14708
|
variables,
|
|
14638
14709
|
"agent",
|
|
14639
14710
|
async (db) => {
|
|
14640
|
-
const queryKey = buildQueryKey("agent", variables,
|
|
14711
|
+
const queryKey = buildQueryKey("agent", variables, chunkK3X4BLL7_cjs.Agent_ChatsDocument);
|
|
14641
14712
|
const qr = await db._queryResults.get(queryKey);
|
|
14642
14713
|
if (!qr) {
|
|
14643
14714
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -14665,7 +14736,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14665
14736
|
}
|
|
14666
14737
|
async fetch(options) {
|
|
14667
14738
|
const variables = this._variables;
|
|
14668
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14739
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.AgentsDocument, "agents", this._includes, variables, true);
|
|
14669
14740
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
|
|
14670
14741
|
const data = response.agents;
|
|
14671
14742
|
const connection = new AgentConnection(this._request, (conn, opts) => new _AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -14682,7 +14753,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14682
14753
|
const subscriptionId = crypto.randomUUID();
|
|
14683
14754
|
const includes = this._includes;
|
|
14684
14755
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
14685
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14756
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.AgentsDocument, "agents", includes, variables, true);
|
|
14686
14757
|
const raw = this._syncEngine.watch(
|
|
14687
14758
|
queryDoc,
|
|
14688
14759
|
mergedVars,
|
|
@@ -14724,7 +14795,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14724
14795
|
}
|
|
14725
14796
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
14726
14797
|
chats(variables, builder) {
|
|
14727
|
-
const info = extractIncludeInfo(
|
|
14798
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
14728
14799
|
let children;
|
|
14729
14800
|
if (builder) {
|
|
14730
14801
|
const sub = new ChatSubBuilder();
|
|
@@ -14733,7 +14804,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
14733
14804
|
}
|
|
14734
14805
|
this._includes.push({
|
|
14735
14806
|
fieldName: "chats",
|
|
14736
|
-
fragmentDoc:
|
|
14807
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatConnectionFragmentDoc,
|
|
14737
14808
|
variables,
|
|
14738
14809
|
isConnection: true,
|
|
14739
14810
|
isList: false,
|
|
@@ -14759,7 +14830,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14759
14830
|
}
|
|
14760
14831
|
async fetch(options) {
|
|
14761
14832
|
const variables = this._variables;
|
|
14762
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14833
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ArtifactDocument, "artifact", this._includes, variables);
|
|
14763
14834
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
|
|
14764
14835
|
const data = response.artifact;
|
|
14765
14836
|
const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14771,7 +14842,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14771
14842
|
watch(options) {
|
|
14772
14843
|
const variables = this._variables;
|
|
14773
14844
|
const includes = this._includes;
|
|
14774
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14845
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ArtifactDocument, "artifact", includes, variables);
|
|
14775
14846
|
const raw = this._syncEngine.watch(
|
|
14776
14847
|
queryDoc,
|
|
14777
14848
|
mergedVars,
|
|
@@ -14801,7 +14872,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14801
14872
|
}
|
|
14802
14873
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
14803
14874
|
chat(variables, builder) {
|
|
14804
|
-
const info = extractIncludeInfo(
|
|
14875
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
14805
14876
|
let children;
|
|
14806
14877
|
if (builder) {
|
|
14807
14878
|
const sub = new ChatSubBuilder();
|
|
@@ -14810,7 +14881,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14810
14881
|
}
|
|
14811
14882
|
this._includes.push({
|
|
14812
14883
|
fieldName: "chat",
|
|
14813
|
-
fragmentDoc:
|
|
14884
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatFragmentDoc,
|
|
14814
14885
|
variables,
|
|
14815
14886
|
isConnection: false,
|
|
14816
14887
|
isList: false,
|
|
@@ -14827,10 +14898,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14827
14898
|
}
|
|
14828
14899
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
14829
14900
|
file(variables) {
|
|
14830
|
-
const info = extractIncludeInfo(
|
|
14901
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
14831
14902
|
this._includes.push({
|
|
14832
14903
|
fieldName: "file",
|
|
14833
|
-
fragmentDoc:
|
|
14904
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FileFragmentDoc,
|
|
14834
14905
|
variables,
|
|
14835
14906
|
isConnection: false,
|
|
14836
14907
|
isList: false,
|
|
@@ -14846,7 +14917,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14846
14917
|
}
|
|
14847
14918
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
14848
14919
|
message(variables, builder) {
|
|
14849
|
-
const info = extractIncludeInfo(
|
|
14920
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
14850
14921
|
let children;
|
|
14851
14922
|
if (builder) {
|
|
14852
14923
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -14855,7 +14926,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14855
14926
|
}
|
|
14856
14927
|
this._includes.push({
|
|
14857
14928
|
fieldName: "message",
|
|
14858
|
-
fragmentDoc:
|
|
14929
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatMessageFragmentDoc,
|
|
14859
14930
|
variables,
|
|
14860
14931
|
isConnection: false,
|
|
14861
14932
|
isList: false,
|
|
@@ -14879,14 +14950,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14879
14950
|
}
|
|
14880
14951
|
async fetch(options) {
|
|
14881
14952
|
const variables = this._variables;
|
|
14882
|
-
const response = await this._syncEngine.query(
|
|
14953
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Artifact_ChatDocument, variables, "artifact");
|
|
14883
14954
|
const data = response.artifact?.chat;
|
|
14884
14955
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14885
14956
|
}
|
|
14886
14957
|
watch(options) {
|
|
14887
14958
|
const variables = this._variables;
|
|
14888
14959
|
const raw = this._syncEngine.watch(
|
|
14889
|
-
|
|
14960
|
+
chunkK3X4BLL7_cjs.Artifact_ChatDocument,
|
|
14890
14961
|
variables,
|
|
14891
14962
|
"artifact",
|
|
14892
14963
|
async (db) => {
|
|
@@ -14909,14 +14980,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14909
14980
|
}
|
|
14910
14981
|
async fetch(options) {
|
|
14911
14982
|
const variables = this._variables;
|
|
14912
|
-
const response = await this._syncEngine.query(
|
|
14983
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
|
|
14913
14984
|
const data = response.artifact?.chat?.insight;
|
|
14914
14985
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14915
14986
|
}
|
|
14916
14987
|
watch(options) {
|
|
14917
14988
|
const variables = this._variables;
|
|
14918
14989
|
const raw = this._syncEngine.watch(
|
|
14919
|
-
|
|
14990
|
+
chunkK3X4BLL7_cjs.Artifact_Chat_InsightDocument,
|
|
14920
14991
|
variables,
|
|
14921
14992
|
"artifact",
|
|
14922
14993
|
async (db) => {
|
|
@@ -14939,14 +15010,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14939
15010
|
}
|
|
14940
15011
|
async fetch(options) {
|
|
14941
15012
|
const variables = this._variables;
|
|
14942
|
-
const response = await this._syncEngine.query(
|
|
15013
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Artifact_FileDocument, variables, "artifact");
|
|
14943
15014
|
const data = response.artifact?.file;
|
|
14944
15015
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14945
15016
|
}
|
|
14946
15017
|
watch(options) {
|
|
14947
15018
|
const variables = this._variables;
|
|
14948
15019
|
const raw = this._syncEngine.watch(
|
|
14949
|
-
|
|
15020
|
+
chunkK3X4BLL7_cjs.Artifact_FileDocument,
|
|
14950
15021
|
variables,
|
|
14951
15022
|
"artifact",
|
|
14952
15023
|
async (db) => {
|
|
@@ -14969,14 +15040,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14969
15040
|
}
|
|
14970
15041
|
async fetch(options) {
|
|
14971
15042
|
const variables = this._variables;
|
|
14972
|
-
const response = await this._syncEngine.query(
|
|
15043
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Artifact_MessageDocument, variables, "artifact");
|
|
14973
15044
|
const data = response.artifact?.message;
|
|
14974
15045
|
return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
14975
15046
|
}
|
|
14976
15047
|
watch(options) {
|
|
14977
15048
|
const variables = this._variables;
|
|
14978
15049
|
const raw = this._syncEngine.watch(
|
|
14979
|
-
|
|
15050
|
+
chunkK3X4BLL7_cjs.Artifact_MessageDocument,
|
|
14980
15051
|
variables,
|
|
14981
15052
|
"artifact",
|
|
14982
15053
|
async (db) => {
|
|
@@ -14999,14 +15070,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14999
15070
|
}
|
|
15000
15071
|
async fetch(options) {
|
|
15001
15072
|
const variables = this._variables;
|
|
15002
|
-
const response = await this._syncEngine.query(
|
|
15073
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Artifact_Message_ChatDocument, variables, "artifact");
|
|
15003
15074
|
const data = response.artifact?.message?.chat;
|
|
15004
15075
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15005
15076
|
}
|
|
15006
15077
|
watch(options) {
|
|
15007
15078
|
const variables = this._variables;
|
|
15008
15079
|
const raw = this._syncEngine.watch(
|
|
15009
|
-
|
|
15080
|
+
chunkK3X4BLL7_cjs.Artifact_Message_ChatDocument,
|
|
15010
15081
|
variables,
|
|
15011
15082
|
"artifact",
|
|
15012
15083
|
async (db) => {
|
|
@@ -15028,7 +15099,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15028
15099
|
this._variables = variables;
|
|
15029
15100
|
}
|
|
15030
15101
|
async fetch(options) {
|
|
15031
|
-
const response = await this._syncEngine.query(
|
|
15102
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
|
|
15032
15103
|
const data = response.artifact?.message?.contents;
|
|
15033
15104
|
if (!Array.isArray(data)) return [];
|
|
15034
15105
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15042,14 +15113,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15042
15113
|
}
|
|
15043
15114
|
async fetch(options) {
|
|
15044
15115
|
const variables = this._variables;
|
|
15045
|
-
const response = await this._syncEngine.query(
|
|
15116
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
|
|
15046
15117
|
const data = response.artifact?.message?.feedback;
|
|
15047
15118
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15048
15119
|
}
|
|
15049
15120
|
watch(options) {
|
|
15050
15121
|
const variables = this._variables;
|
|
15051
15122
|
const raw = this._syncEngine.watch(
|
|
15052
|
-
|
|
15123
|
+
chunkK3X4BLL7_cjs.Artifact_Message_FeedbackDocument,
|
|
15053
15124
|
variables,
|
|
15054
15125
|
"artifact",
|
|
15055
15126
|
async (db) => {
|
|
@@ -15073,7 +15144,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15073
15144
|
}
|
|
15074
15145
|
async fetch(options) {
|
|
15075
15146
|
const variables = this._variables;
|
|
15076
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15147
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
|
|
15077
15148
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
|
|
15078
15149
|
const data = response.artifacts;
|
|
15079
15150
|
const connection = new ArtifactConnection(this._request, (conn, opts) => new _ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -15090,7 +15161,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15090
15161
|
const subscriptionId = crypto.randomUUID();
|
|
15091
15162
|
const includes = this._includes;
|
|
15092
15163
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
15093
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15164
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
|
|
15094
15165
|
const raw = this._syncEngine.watch(
|
|
15095
15166
|
queryDoc,
|
|
15096
15167
|
mergedVars,
|
|
@@ -15132,7 +15203,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15132
15203
|
}
|
|
15133
15204
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15134
15205
|
chat(variables, builder) {
|
|
15135
|
-
const info = extractIncludeInfo(
|
|
15206
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
15136
15207
|
let children;
|
|
15137
15208
|
if (builder) {
|
|
15138
15209
|
const sub = new ChatSubBuilder();
|
|
@@ -15141,7 +15212,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15141
15212
|
}
|
|
15142
15213
|
this._includes.push({
|
|
15143
15214
|
fieldName: "chat",
|
|
15144
|
-
fragmentDoc:
|
|
15215
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatFragmentDoc,
|
|
15145
15216
|
variables,
|
|
15146
15217
|
isConnection: false,
|
|
15147
15218
|
isList: false,
|
|
@@ -15158,10 +15229,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15158
15229
|
}
|
|
15159
15230
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
15160
15231
|
file(variables) {
|
|
15161
|
-
const info = extractIncludeInfo(
|
|
15232
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
15162
15233
|
this._includes.push({
|
|
15163
15234
|
fieldName: "file",
|
|
15164
|
-
fragmentDoc:
|
|
15235
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FileFragmentDoc,
|
|
15165
15236
|
variables,
|
|
15166
15237
|
isConnection: false,
|
|
15167
15238
|
isList: false,
|
|
@@ -15177,7 +15248,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15177
15248
|
}
|
|
15178
15249
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
15179
15250
|
message(variables, builder) {
|
|
15180
|
-
const info = extractIncludeInfo(
|
|
15251
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
15181
15252
|
let children;
|
|
15182
15253
|
if (builder) {
|
|
15183
15254
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15186,7 +15257,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15186
15257
|
}
|
|
15187
15258
|
this._includes.push({
|
|
15188
15259
|
fieldName: "message",
|
|
15189
|
-
fragmentDoc:
|
|
15260
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatMessageFragmentDoc,
|
|
15190
15261
|
variables,
|
|
15191
15262
|
isConnection: false,
|
|
15192
15263
|
isList: false,
|
|
@@ -15211,7 +15282,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15211
15282
|
}
|
|
15212
15283
|
async fetch(options) {
|
|
15213
15284
|
const variables = this._variables;
|
|
15214
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15285
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ChatDocument, "chat", this._includes, variables);
|
|
15215
15286
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
|
|
15216
15287
|
const data = response.chat;
|
|
15217
15288
|
const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15223,7 +15294,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15223
15294
|
watch(options) {
|
|
15224
15295
|
const variables = this._variables;
|
|
15225
15296
|
const includes = this._includes;
|
|
15226
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15297
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ChatDocument, "chat", includes, variables);
|
|
15227
15298
|
const raw = this._syncEngine.watch(
|
|
15228
15299
|
queryDoc,
|
|
15229
15300
|
mergedVars,
|
|
@@ -15253,7 +15324,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15253
15324
|
}
|
|
15254
15325
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
15255
15326
|
agents(variables, builder) {
|
|
15256
|
-
const info = extractIncludeInfo(
|
|
15327
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
15257
15328
|
let children;
|
|
15258
15329
|
if (builder) {
|
|
15259
15330
|
const sub = new AgentSubBuilder();
|
|
@@ -15262,7 +15333,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15262
15333
|
}
|
|
15263
15334
|
this._includes.push({
|
|
15264
15335
|
fieldName: "agents",
|
|
15265
|
-
fragmentDoc:
|
|
15336
|
+
fragmentDoc: chunkK3X4BLL7_cjs.AgentConnectionFragmentDoc,
|
|
15266
15337
|
variables,
|
|
15267
15338
|
isConnection: true,
|
|
15268
15339
|
isList: false,
|
|
@@ -15280,7 +15351,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15280
15351
|
}
|
|
15281
15352
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15282
15353
|
artifacts(variables, builder) {
|
|
15283
|
-
const info = extractIncludeInfo(
|
|
15354
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
15284
15355
|
let children;
|
|
15285
15356
|
if (builder) {
|
|
15286
15357
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15289,7 +15360,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15289
15360
|
}
|
|
15290
15361
|
this._includes.push({
|
|
15291
15362
|
fieldName: "artifacts",
|
|
15292
|
-
fragmentDoc:
|
|
15363
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ArtifactConnectionFragmentDoc,
|
|
15293
15364
|
variables,
|
|
15294
15365
|
isConnection: true,
|
|
15295
15366
|
isList: false,
|
|
@@ -15307,7 +15378,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15307
15378
|
}
|
|
15308
15379
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
15309
15380
|
insight(variables, builder) {
|
|
15310
|
-
const info = extractIncludeInfo(
|
|
15381
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
15311
15382
|
let children;
|
|
15312
15383
|
if (builder) {
|
|
15313
15384
|
const sub = new InsightSubBuilder();
|
|
@@ -15316,7 +15387,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15316
15387
|
}
|
|
15317
15388
|
this._includes.push({
|
|
15318
15389
|
fieldName: "insight",
|
|
15319
|
-
fragmentDoc:
|
|
15390
|
+
fragmentDoc: chunkK3X4BLL7_cjs.InsightFragmentDoc,
|
|
15320
15391
|
variables,
|
|
15321
15392
|
isConnection: false,
|
|
15322
15393
|
isList: false,
|
|
@@ -15333,7 +15404,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15333
15404
|
}
|
|
15334
15405
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
15335
15406
|
messages(variables, builder) {
|
|
15336
|
-
const info = extractIncludeInfo(
|
|
15407
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
15337
15408
|
let children;
|
|
15338
15409
|
if (builder) {
|
|
15339
15410
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15342,7 +15413,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15342
15413
|
}
|
|
15343
15414
|
this._includes.push({
|
|
15344
15415
|
fieldName: "messages",
|
|
15345
|
-
fragmentDoc:
|
|
15416
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatMessageConnectionFragmentDoc,
|
|
15346
15417
|
variables,
|
|
15347
15418
|
isConnection: true,
|
|
15348
15419
|
isList: false,
|
|
@@ -15367,18 +15438,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
15367
15438
|
}
|
|
15368
15439
|
async fetch(options) {
|
|
15369
15440
|
const variables = this._variables;
|
|
15370
|
-
const response = await this._syncEngine.query(
|
|
15441
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Chat_AgentsDocument, variables, "chat");
|
|
15371
15442
|
const data = response.chat?.agents;
|
|
15372
15443
|
return new AgentConnection(this._request, (conn, opts) => new _Chat_AgentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
15373
15444
|
}
|
|
15374
15445
|
watch(options) {
|
|
15375
15446
|
const variables = this._variables;
|
|
15376
15447
|
const raw = this._syncEngine.watch(
|
|
15377
|
-
|
|
15448
|
+
chunkK3X4BLL7_cjs.Chat_AgentsDocument,
|
|
15378
15449
|
variables,
|
|
15379
15450
|
"chat",
|
|
15380
15451
|
async (db) => {
|
|
15381
|
-
const queryKey = buildQueryKey("chat", variables,
|
|
15452
|
+
const queryKey = buildQueryKey("chat", variables, chunkK3X4BLL7_cjs.Chat_AgentsDocument);
|
|
15382
15453
|
const qr = await db._queryResults.get(queryKey);
|
|
15383
15454
|
if (!qr) {
|
|
15384
15455
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -15405,18 +15476,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
|
|
|
15405
15476
|
}
|
|
15406
15477
|
async fetch(options) {
|
|
15407
15478
|
const variables = this._variables;
|
|
15408
|
-
const response = await this._syncEngine.query(
|
|
15479
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Chat_ArtifactsDocument, variables, "chat");
|
|
15409
15480
|
const data = response.chat?.artifacts;
|
|
15410
15481
|
return new ArtifactConnection(this._request, (conn, opts) => new _Chat_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
15411
15482
|
}
|
|
15412
15483
|
watch(options) {
|
|
15413
15484
|
const variables = this._variables;
|
|
15414
15485
|
const raw = this._syncEngine.watch(
|
|
15415
|
-
|
|
15486
|
+
chunkK3X4BLL7_cjs.Chat_ArtifactsDocument,
|
|
15416
15487
|
variables,
|
|
15417
15488
|
"chat",
|
|
15418
15489
|
async (db) => {
|
|
15419
|
-
const queryKey = buildQueryKey("chat", variables,
|
|
15490
|
+
const queryKey = buildQueryKey("chat", variables, chunkK3X4BLL7_cjs.Chat_ArtifactsDocument);
|
|
15420
15491
|
const qr = await db._queryResults.get(queryKey);
|
|
15421
15492
|
if (!qr) {
|
|
15422
15493
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -15443,14 +15514,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15443
15514
|
}
|
|
15444
15515
|
async fetch(options) {
|
|
15445
15516
|
const variables = this._variables;
|
|
15446
|
-
const response = await this._syncEngine.query(
|
|
15517
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Chat_InsightDocument, variables, "chat");
|
|
15447
15518
|
const data = response.chat?.insight;
|
|
15448
15519
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15449
15520
|
}
|
|
15450
15521
|
watch(options) {
|
|
15451
15522
|
const variables = this._variables;
|
|
15452
15523
|
const raw = this._syncEngine.watch(
|
|
15453
|
-
|
|
15524
|
+
chunkK3X4BLL7_cjs.Chat_InsightDocument,
|
|
15454
15525
|
variables,
|
|
15455
15526
|
"chat",
|
|
15456
15527
|
async (db) => {
|
|
@@ -15472,7 +15543,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15472
15543
|
this._variables = variables;
|
|
15473
15544
|
}
|
|
15474
15545
|
async fetch(options) {
|
|
15475
|
-
const response = await this._syncEngine.query(
|
|
15546
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
|
|
15476
15547
|
const data = response.chat?.insight?.reportMembers;
|
|
15477
15548
|
if (!Array.isArray(data)) return [];
|
|
15478
15549
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15486,14 +15557,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15486
15557
|
}
|
|
15487
15558
|
async fetch(options) {
|
|
15488
15559
|
const variables = this._variables;
|
|
15489
|
-
const response = await this._syncEngine.query(
|
|
15560
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
|
|
15490
15561
|
const data = response.chat?.insight?.thumbnailFile;
|
|
15491
15562
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15492
15563
|
}
|
|
15493
15564
|
watch(options) {
|
|
15494
15565
|
const variables = this._variables;
|
|
15495
15566
|
const raw = this._syncEngine.watch(
|
|
15496
|
-
|
|
15567
|
+
chunkK3X4BLL7_cjs.Chat_Insight_ThumbnailFileDocument,
|
|
15497
15568
|
variables,
|
|
15498
15569
|
"chat",
|
|
15499
15570
|
async (db) => {
|
|
@@ -15516,18 +15587,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
|
|
|
15516
15587
|
}
|
|
15517
15588
|
async fetch(options) {
|
|
15518
15589
|
const variables = this._variables;
|
|
15519
|
-
const response = await this._syncEngine.query(
|
|
15590
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Chat_MessagesDocument, variables, "chat");
|
|
15520
15591
|
const data = response.chat?.messages;
|
|
15521
15592
|
return new ChatMessageConnection(this._request, (conn, opts) => new _Chat_MessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
15522
15593
|
}
|
|
15523
15594
|
watch(options) {
|
|
15524
15595
|
const variables = this._variables;
|
|
15525
15596
|
const raw = this._syncEngine.watch(
|
|
15526
|
-
|
|
15597
|
+
chunkK3X4BLL7_cjs.Chat_MessagesDocument,
|
|
15527
15598
|
variables,
|
|
15528
15599
|
"chat",
|
|
15529
15600
|
async (db) => {
|
|
15530
|
-
const queryKey = buildQueryKey("chat", variables,
|
|
15601
|
+
const queryKey = buildQueryKey("chat", variables, chunkK3X4BLL7_cjs.Chat_MessagesDocument);
|
|
15531
15602
|
const qr = await db._queryResults.get(queryKey);
|
|
15532
15603
|
if (!qr) {
|
|
15533
15604
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -15555,7 +15626,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15555
15626
|
}
|
|
15556
15627
|
async fetch(options) {
|
|
15557
15628
|
const variables = this._variables;
|
|
15558
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15629
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
|
|
15559
15630
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
|
|
15560
15631
|
const data = response.chatMessage;
|
|
15561
15632
|
const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15567,7 +15638,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15567
15638
|
watch(options) {
|
|
15568
15639
|
const variables = this._variables;
|
|
15569
15640
|
const includes = this._includes;
|
|
15570
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15641
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ChatMessageDocument, "chatMessage", includes, variables);
|
|
15571
15642
|
const raw = this._syncEngine.watch(
|
|
15572
15643
|
queryDoc,
|
|
15573
15644
|
mergedVars,
|
|
@@ -15597,7 +15668,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15597
15668
|
}
|
|
15598
15669
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15599
15670
|
artifacts(variables, builder) {
|
|
15600
|
-
const info = extractIncludeInfo(
|
|
15671
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
15601
15672
|
let children;
|
|
15602
15673
|
if (builder) {
|
|
15603
15674
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15606,7 +15677,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15606
15677
|
}
|
|
15607
15678
|
this._includes.push({
|
|
15608
15679
|
fieldName: "artifacts",
|
|
15609
|
-
fragmentDoc:
|
|
15680
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ArtifactConnectionFragmentDoc,
|
|
15610
15681
|
variables,
|
|
15611
15682
|
isConnection: true,
|
|
15612
15683
|
isList: false,
|
|
@@ -15624,7 +15695,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15624
15695
|
}
|
|
15625
15696
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15626
15697
|
chat(variables, builder) {
|
|
15627
|
-
const info = extractIncludeInfo(
|
|
15698
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
15628
15699
|
let children;
|
|
15629
15700
|
if (builder) {
|
|
15630
15701
|
const sub = new ChatSubBuilder();
|
|
@@ -15633,7 +15704,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15633
15704
|
}
|
|
15634
15705
|
this._includes.push({
|
|
15635
15706
|
fieldName: "chat",
|
|
15636
|
-
fragmentDoc:
|
|
15707
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatFragmentDoc,
|
|
15637
15708
|
variables,
|
|
15638
15709
|
isConnection: false,
|
|
15639
15710
|
isList: false,
|
|
@@ -15650,10 +15721,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15650
15721
|
}
|
|
15651
15722
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
15652
15723
|
contents(variables) {
|
|
15653
|
-
const info = extractIncludeInfo(
|
|
15724
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
15654
15725
|
this._includes.push({
|
|
15655
15726
|
fieldName: "contents",
|
|
15656
|
-
fragmentDoc:
|
|
15727
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ContentBlockFragmentDoc,
|
|
15657
15728
|
variables,
|
|
15658
15729
|
isConnection: false,
|
|
15659
15730
|
isList: true,
|
|
@@ -15669,10 +15740,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15669
15740
|
}
|
|
15670
15741
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
15671
15742
|
feedback(variables) {
|
|
15672
|
-
const info = extractIncludeInfo(
|
|
15743
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
15673
15744
|
this._includes.push({
|
|
15674
15745
|
fieldName: "feedback",
|
|
15675
|
-
fragmentDoc:
|
|
15746
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedbackFragmentDoc,
|
|
15676
15747
|
variables,
|
|
15677
15748
|
isConnection: false,
|
|
15678
15749
|
isList: false,
|
|
@@ -15695,18 +15766,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
|
|
|
15695
15766
|
}
|
|
15696
15767
|
async fetch(options) {
|
|
15697
15768
|
const variables = this._variables;
|
|
15698
|
-
const response = await this._syncEngine.query(
|
|
15769
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
|
|
15699
15770
|
const data = response.chatMessage?.artifacts;
|
|
15700
15771
|
return new ArtifactConnection(this._request, (conn, opts) => new _ChatMessage_ArtifactsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
15701
15772
|
}
|
|
15702
15773
|
watch(options) {
|
|
15703
15774
|
const variables = this._variables;
|
|
15704
15775
|
const raw = this._syncEngine.watch(
|
|
15705
|
-
|
|
15776
|
+
chunkK3X4BLL7_cjs.ChatMessage_ArtifactsDocument,
|
|
15706
15777
|
variables,
|
|
15707
15778
|
"chatMessage",
|
|
15708
15779
|
async (db) => {
|
|
15709
|
-
const queryKey = buildQueryKey("chatMessage", variables,
|
|
15780
|
+
const queryKey = buildQueryKey("chatMessage", variables, chunkK3X4BLL7_cjs.ChatMessage_ArtifactsDocument);
|
|
15710
15781
|
const qr = await db._queryResults.get(queryKey);
|
|
15711
15782
|
if (!qr) {
|
|
15712
15783
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -15733,14 +15804,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15733
15804
|
}
|
|
15734
15805
|
async fetch(options) {
|
|
15735
15806
|
const variables = this._variables;
|
|
15736
|
-
const response = await this._syncEngine.query(
|
|
15807
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
|
|
15737
15808
|
const data = response.chatMessage?.chat;
|
|
15738
15809
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15739
15810
|
}
|
|
15740
15811
|
watch(options) {
|
|
15741
15812
|
const variables = this._variables;
|
|
15742
15813
|
const raw = this._syncEngine.watch(
|
|
15743
|
-
|
|
15814
|
+
chunkK3X4BLL7_cjs.ChatMessage_ChatDocument,
|
|
15744
15815
|
variables,
|
|
15745
15816
|
"chatMessage",
|
|
15746
15817
|
async (db) => {
|
|
@@ -15763,14 +15834,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15763
15834
|
}
|
|
15764
15835
|
async fetch(options) {
|
|
15765
15836
|
const variables = this._variables;
|
|
15766
|
-
const response = await this._syncEngine.query(
|
|
15837
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
|
|
15767
15838
|
const data = response.chatMessage?.chat?.insight;
|
|
15768
15839
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15769
15840
|
}
|
|
15770
15841
|
watch(options) {
|
|
15771
15842
|
const variables = this._variables;
|
|
15772
15843
|
const raw = this._syncEngine.watch(
|
|
15773
|
-
|
|
15844
|
+
chunkK3X4BLL7_cjs.ChatMessage_Chat_InsightDocument,
|
|
15774
15845
|
variables,
|
|
15775
15846
|
"chatMessage",
|
|
15776
15847
|
async (db) => {
|
|
@@ -15792,7 +15863,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15792
15863
|
this._variables = variables;
|
|
15793
15864
|
}
|
|
15794
15865
|
async fetch(options) {
|
|
15795
|
-
const response = await this._syncEngine.query(
|
|
15866
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
|
|
15796
15867
|
const data = response.chatMessage?.contents;
|
|
15797
15868
|
if (!Array.isArray(data)) return [];
|
|
15798
15869
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15806,14 +15877,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15806
15877
|
}
|
|
15807
15878
|
async fetch(options) {
|
|
15808
15879
|
const variables = this._variables;
|
|
15809
|
-
const response = await this._syncEngine.query(
|
|
15880
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
|
|
15810
15881
|
const data = response.chatMessage?.feedback;
|
|
15811
15882
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15812
15883
|
}
|
|
15813
15884
|
watch(options) {
|
|
15814
15885
|
const variables = this._variables;
|
|
15815
15886
|
const raw = this._syncEngine.watch(
|
|
15816
|
-
|
|
15887
|
+
chunkK3X4BLL7_cjs.ChatMessage_FeedbackDocument,
|
|
15817
15888
|
variables,
|
|
15818
15889
|
"chatMessage",
|
|
15819
15890
|
async (db) => {
|
|
@@ -15837,7 +15908,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15837
15908
|
}
|
|
15838
15909
|
async fetch(options) {
|
|
15839
15910
|
const variables = this._variables;
|
|
15840
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15911
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
|
|
15841
15912
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
|
|
15842
15913
|
const data = response.chatMessages;
|
|
15843
15914
|
const connection = new ChatMessageConnection(this._request, (conn, opts) => new _ChatMessagesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -15854,7 +15925,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15854
15925
|
const subscriptionId = crypto.randomUUID();
|
|
15855
15926
|
const includes = this._includes;
|
|
15856
15927
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
15857
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15928
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
|
|
15858
15929
|
const raw = this._syncEngine.watch(
|
|
15859
15930
|
queryDoc,
|
|
15860
15931
|
mergedVars,
|
|
@@ -15896,7 +15967,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15896
15967
|
}
|
|
15897
15968
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15898
15969
|
artifacts(variables, builder) {
|
|
15899
|
-
const info = extractIncludeInfo(
|
|
15970
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
15900
15971
|
let children;
|
|
15901
15972
|
if (builder) {
|
|
15902
15973
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15905,7 +15976,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15905
15976
|
}
|
|
15906
15977
|
this._includes.push({
|
|
15907
15978
|
fieldName: "artifacts",
|
|
15908
|
-
fragmentDoc:
|
|
15979
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ArtifactConnectionFragmentDoc,
|
|
15909
15980
|
variables,
|
|
15910
15981
|
isConnection: true,
|
|
15911
15982
|
isList: false,
|
|
@@ -15923,7 +15994,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15923
15994
|
}
|
|
15924
15995
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15925
15996
|
chat(variables, builder) {
|
|
15926
|
-
const info = extractIncludeInfo(
|
|
15997
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
15927
15998
|
let children;
|
|
15928
15999
|
if (builder) {
|
|
15929
16000
|
const sub = new ChatSubBuilder();
|
|
@@ -15932,7 +16003,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15932
16003
|
}
|
|
15933
16004
|
this._includes.push({
|
|
15934
16005
|
fieldName: "chat",
|
|
15935
|
-
fragmentDoc:
|
|
16006
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatFragmentDoc,
|
|
15936
16007
|
variables,
|
|
15937
16008
|
isConnection: false,
|
|
15938
16009
|
isList: false,
|
|
@@ -15949,10 +16020,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15949
16020
|
}
|
|
15950
16021
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
15951
16022
|
contents(variables) {
|
|
15952
|
-
const info = extractIncludeInfo(
|
|
16023
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
15953
16024
|
this._includes.push({
|
|
15954
16025
|
fieldName: "contents",
|
|
15955
|
-
fragmentDoc:
|
|
16026
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ContentBlockFragmentDoc,
|
|
15956
16027
|
variables,
|
|
15957
16028
|
isConnection: false,
|
|
15958
16029
|
isList: true,
|
|
@@ -15968,10 +16039,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
15968
16039
|
}
|
|
15969
16040
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
15970
16041
|
feedback(variables) {
|
|
15971
|
-
const info = extractIncludeInfo(
|
|
16042
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
15972
16043
|
this._includes.push({
|
|
15973
16044
|
fieldName: "feedback",
|
|
15974
|
-
fragmentDoc:
|
|
16045
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedbackFragmentDoc,
|
|
15975
16046
|
variables,
|
|
15976
16047
|
isConnection: false,
|
|
15977
16048
|
isList: false,
|
|
@@ -15995,7 +16066,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15995
16066
|
}
|
|
15996
16067
|
async fetch(options) {
|
|
15997
16068
|
const variables = this._variables;
|
|
15998
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16069
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ChatsDocument, "chats", this._includes, variables, true);
|
|
15999
16070
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
|
|
16000
16071
|
const data = response.chats;
|
|
16001
16072
|
const connection = new ChatConnection(this._request, (conn, opts) => new _ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16012,7 +16083,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16012
16083
|
const subscriptionId = crypto.randomUUID();
|
|
16013
16084
|
const includes = this._includes;
|
|
16014
16085
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
16015
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16086
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ChatsDocument, "chats", includes, variables, true);
|
|
16016
16087
|
const raw = this._syncEngine.watch(
|
|
16017
16088
|
queryDoc,
|
|
16018
16089
|
mergedVars,
|
|
@@ -16054,7 +16125,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16054
16125
|
}
|
|
16055
16126
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
16056
16127
|
agents(variables, builder) {
|
|
16057
|
-
const info = extractIncludeInfo(
|
|
16128
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
16058
16129
|
let children;
|
|
16059
16130
|
if (builder) {
|
|
16060
16131
|
const sub = new AgentSubBuilder();
|
|
@@ -16063,7 +16134,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16063
16134
|
}
|
|
16064
16135
|
this._includes.push({
|
|
16065
16136
|
fieldName: "agents",
|
|
16066
|
-
fragmentDoc:
|
|
16137
|
+
fragmentDoc: chunkK3X4BLL7_cjs.AgentConnectionFragmentDoc,
|
|
16067
16138
|
variables,
|
|
16068
16139
|
isConnection: true,
|
|
16069
16140
|
isList: false,
|
|
@@ -16081,7 +16152,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16081
16152
|
}
|
|
16082
16153
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
16083
16154
|
artifacts(variables, builder) {
|
|
16084
|
-
const info = extractIncludeInfo(
|
|
16155
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
16085
16156
|
let children;
|
|
16086
16157
|
if (builder) {
|
|
16087
16158
|
const sub = new ArtifactSubBuilder();
|
|
@@ -16090,7 +16161,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16090
16161
|
}
|
|
16091
16162
|
this._includes.push({
|
|
16092
16163
|
fieldName: "artifacts",
|
|
16093
|
-
fragmentDoc:
|
|
16164
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ArtifactConnectionFragmentDoc,
|
|
16094
16165
|
variables,
|
|
16095
16166
|
isConnection: true,
|
|
16096
16167
|
isList: false,
|
|
@@ -16108,7 +16179,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16108
16179
|
}
|
|
16109
16180
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
16110
16181
|
insight(variables, builder) {
|
|
16111
|
-
const info = extractIncludeInfo(
|
|
16182
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
16112
16183
|
let children;
|
|
16113
16184
|
if (builder) {
|
|
16114
16185
|
const sub = new InsightSubBuilder();
|
|
@@ -16117,7 +16188,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16117
16188
|
}
|
|
16118
16189
|
this._includes.push({
|
|
16119
16190
|
fieldName: "insight",
|
|
16120
|
-
fragmentDoc:
|
|
16191
|
+
fragmentDoc: chunkK3X4BLL7_cjs.InsightFragmentDoc,
|
|
16121
16192
|
variables,
|
|
16122
16193
|
isConnection: false,
|
|
16123
16194
|
isList: false,
|
|
@@ -16134,7 +16205,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16134
16205
|
}
|
|
16135
16206
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
16136
16207
|
messages(variables, builder) {
|
|
16137
|
-
const info = extractIncludeInfo(
|
|
16208
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
16138
16209
|
let children;
|
|
16139
16210
|
if (builder) {
|
|
16140
16211
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -16143,7 +16214,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16143
16214
|
}
|
|
16144
16215
|
this._includes.push({
|
|
16145
16216
|
fieldName: "messages",
|
|
16146
|
-
fragmentDoc:
|
|
16217
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatMessageConnectionFragmentDoc,
|
|
16147
16218
|
variables,
|
|
16148
16219
|
isConnection: true,
|
|
16149
16220
|
isList: false,
|
|
@@ -16169,7 +16240,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16169
16240
|
}
|
|
16170
16241
|
async fetch(options) {
|
|
16171
16242
|
const variables = this._variables;
|
|
16172
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16243
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DatabaseDocument, "database", this._includes, variables);
|
|
16173
16244
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
|
|
16174
16245
|
const data = response.database;
|
|
16175
16246
|
const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16181,7 +16252,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16181
16252
|
watch(options) {
|
|
16182
16253
|
const variables = this._variables;
|
|
16183
16254
|
const includes = this._includes;
|
|
16184
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16255
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DatabaseDocument, "database", includes, variables);
|
|
16185
16256
|
const raw = this._syncEngine.watch(
|
|
16186
16257
|
queryDoc,
|
|
16187
16258
|
mergedVars,
|
|
@@ -16211,10 +16282,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16211
16282
|
}
|
|
16212
16283
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16213
16284
|
engine(variables) {
|
|
16214
|
-
const info = extractIncludeInfo(
|
|
16285
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
16215
16286
|
this._includes.push({
|
|
16216
16287
|
fieldName: "engine",
|
|
16217
|
-
fragmentDoc:
|
|
16288
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DatabaseEngineFragmentDoc,
|
|
16218
16289
|
variables,
|
|
16219
16290
|
isConnection: false,
|
|
16220
16291
|
isList: false,
|
|
@@ -16230,7 +16301,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16230
16301
|
}
|
|
16231
16302
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16232
16303
|
tables(variables, builder) {
|
|
16233
|
-
const info = extractIncludeInfo(
|
|
16304
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
16234
16305
|
let children;
|
|
16235
16306
|
if (builder) {
|
|
16236
16307
|
const sub = new TableSubBuilder();
|
|
@@ -16239,7 +16310,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16239
16310
|
}
|
|
16240
16311
|
this._includes.push({
|
|
16241
16312
|
fieldName: "tables",
|
|
16242
|
-
fragmentDoc:
|
|
16313
|
+
fragmentDoc: chunkK3X4BLL7_cjs.TableConnectionFragmentDoc,
|
|
16243
16314
|
variables,
|
|
16244
16315
|
isConnection: true,
|
|
16245
16316
|
isList: false,
|
|
@@ -16264,14 +16335,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16264
16335
|
}
|
|
16265
16336
|
async fetch(options) {
|
|
16266
16337
|
const variables = this._variables;
|
|
16267
|
-
const response = await this._syncEngine.query(
|
|
16338
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Database_EngineDocument, variables, "database");
|
|
16268
16339
|
const data = response.database?.engine;
|
|
16269
16340
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16270
16341
|
}
|
|
16271
16342
|
watch(options) {
|
|
16272
16343
|
const variables = this._variables;
|
|
16273
16344
|
const raw = this._syncEngine.watch(
|
|
16274
|
-
|
|
16345
|
+
chunkK3X4BLL7_cjs.Database_EngineDocument,
|
|
16275
16346
|
variables,
|
|
16276
16347
|
"database",
|
|
16277
16348
|
async (db) => {
|
|
@@ -16294,14 +16365,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16294
16365
|
}
|
|
16295
16366
|
async fetch(options) {
|
|
16296
16367
|
const variables = this._variables;
|
|
16297
|
-
const response = await this._syncEngine.query(
|
|
16368
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Database_Engine_CatalogDocument, variables, "database");
|
|
16298
16369
|
const data = response.database?.engine?.catalog;
|
|
16299
16370
|
return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16300
16371
|
}
|
|
16301
16372
|
watch(options) {
|
|
16302
16373
|
const variables = this._variables;
|
|
16303
16374
|
const raw = this._syncEngine.watch(
|
|
16304
|
-
|
|
16375
|
+
chunkK3X4BLL7_cjs.Database_Engine_CatalogDocument,
|
|
16305
16376
|
variables,
|
|
16306
16377
|
"database",
|
|
16307
16378
|
async (db) => {
|
|
@@ -16324,18 +16395,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
16324
16395
|
}
|
|
16325
16396
|
async fetch(options) {
|
|
16326
16397
|
const variables = this._variables;
|
|
16327
|
-
const response = await this._syncEngine.query(
|
|
16398
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Database_TablesDocument, variables, "database");
|
|
16328
16399
|
const data = response.database?.tables;
|
|
16329
16400
|
return new TableConnection(this._request, (conn, opts) => new _Database_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
16330
16401
|
}
|
|
16331
16402
|
watch(options) {
|
|
16332
16403
|
const variables = this._variables;
|
|
16333
16404
|
const raw = this._syncEngine.watch(
|
|
16334
|
-
|
|
16405
|
+
chunkK3X4BLL7_cjs.Database_TablesDocument,
|
|
16335
16406
|
variables,
|
|
16336
16407
|
"database",
|
|
16337
16408
|
async (db) => {
|
|
16338
|
-
const queryKey = buildQueryKey("database", variables,
|
|
16409
|
+
const queryKey = buildQueryKey("database", variables, chunkK3X4BLL7_cjs.Database_TablesDocument);
|
|
16339
16410
|
const qr = await db._queryResults.get(queryKey);
|
|
16340
16411
|
if (!qr) {
|
|
16341
16412
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -16363,7 +16434,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16363
16434
|
}
|
|
16364
16435
|
async fetch(options) {
|
|
16365
16436
|
const variables = this._variables;
|
|
16366
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16437
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
|
|
16367
16438
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
|
|
16368
16439
|
const data = response.databaseCatalog;
|
|
16369
16440
|
const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16375,7 +16446,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16375
16446
|
watch(options) {
|
|
16376
16447
|
const variables = this._variables;
|
|
16377
16448
|
const includes = this._includes;
|
|
16378
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16449
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
|
|
16379
16450
|
const raw = this._syncEngine.watch(
|
|
16380
16451
|
queryDoc,
|
|
16381
16452
|
mergedVars,
|
|
@@ -16405,10 +16476,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16405
16476
|
}
|
|
16406
16477
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16407
16478
|
engine(variables) {
|
|
16408
|
-
const info = extractIncludeInfo(
|
|
16479
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
16409
16480
|
this._includes.push({
|
|
16410
16481
|
fieldName: "engine",
|
|
16411
|
-
fragmentDoc:
|
|
16482
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DatabaseEngineFragmentDoc,
|
|
16412
16483
|
variables,
|
|
16413
16484
|
isConnection: false,
|
|
16414
16485
|
isList: false,
|
|
@@ -16431,14 +16502,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16431
16502
|
}
|
|
16432
16503
|
async fetch(options) {
|
|
16433
16504
|
const variables = this._variables;
|
|
16434
|
-
const response = await this._syncEngine.query(
|
|
16505
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
|
|
16435
16506
|
const data = response.databaseCatalog?.engine;
|
|
16436
16507
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16437
16508
|
}
|
|
16438
16509
|
watch(options) {
|
|
16439
16510
|
const variables = this._variables;
|
|
16440
16511
|
const raw = this._syncEngine.watch(
|
|
16441
|
-
|
|
16512
|
+
chunkK3X4BLL7_cjs.DatabaseCatalog_EngineDocument,
|
|
16442
16513
|
variables,
|
|
16443
16514
|
"databaseCatalog",
|
|
16444
16515
|
async (db) => {
|
|
@@ -16462,7 +16533,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16462
16533
|
}
|
|
16463
16534
|
async fetch(options) {
|
|
16464
16535
|
const variables = this._variables;
|
|
16465
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16536
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
|
|
16466
16537
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
|
|
16467
16538
|
const data = response.databaseCatalogs;
|
|
16468
16539
|
const connection = new DatabaseCatalogConnection(this._request, (conn, opts) => new _DatabaseCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16479,7 +16550,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16479
16550
|
const subscriptionId = crypto.randomUUID();
|
|
16480
16551
|
const includes = this._includes;
|
|
16481
16552
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
16482
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16553
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
|
|
16483
16554
|
const raw = this._syncEngine.watch(
|
|
16484
16555
|
queryDoc,
|
|
16485
16556
|
mergedVars,
|
|
@@ -16521,10 +16592,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16521
16592
|
}
|
|
16522
16593
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16523
16594
|
engine(variables) {
|
|
16524
|
-
const info = extractIncludeInfo(
|
|
16595
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
16525
16596
|
this._includes.push({
|
|
16526
16597
|
fieldName: "engine",
|
|
16527
|
-
fragmentDoc:
|
|
16598
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DatabaseEngineFragmentDoc,
|
|
16528
16599
|
variables,
|
|
16529
16600
|
isConnection: false,
|
|
16530
16601
|
isList: false,
|
|
@@ -16541,7 +16612,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
16541
16612
|
};
|
|
16542
16613
|
var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
16543
16614
|
async fetch(variables) {
|
|
16544
|
-
const response = await this._request(
|
|
16615
|
+
const response = await this._request(chunkK3X4BLL7_cjs.DatabaseSchemaDocument, variables);
|
|
16545
16616
|
return response.databaseSchema;
|
|
16546
16617
|
}
|
|
16547
16618
|
};
|
|
@@ -16554,7 +16625,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16554
16625
|
}
|
|
16555
16626
|
async fetch(options) {
|
|
16556
16627
|
const variables = this._variables;
|
|
16557
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16628
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DatabasesDocument, "databases", this._includes, variables, true);
|
|
16558
16629
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
|
|
16559
16630
|
const data = response.databases;
|
|
16560
16631
|
const connection = new DatabaseConnection(this._request, (conn, opts) => new _DatabasesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -16571,7 +16642,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16571
16642
|
const subscriptionId = crypto.randomUUID();
|
|
16572
16643
|
const includes = this._includes;
|
|
16573
16644
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
16574
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16645
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DatabasesDocument, "databases", includes, variables, true);
|
|
16575
16646
|
const raw = this._syncEngine.watch(
|
|
16576
16647
|
queryDoc,
|
|
16577
16648
|
mergedVars,
|
|
@@ -16613,10 +16684,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16613
16684
|
}
|
|
16614
16685
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16615
16686
|
engine(variables) {
|
|
16616
|
-
const info = extractIncludeInfo(
|
|
16687
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
16617
16688
|
this._includes.push({
|
|
16618
16689
|
fieldName: "engine",
|
|
16619
|
-
fragmentDoc:
|
|
16690
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DatabaseEngineFragmentDoc,
|
|
16620
16691
|
variables,
|
|
16621
16692
|
isConnection: false,
|
|
16622
16693
|
isList: false,
|
|
@@ -16632,7 +16703,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16632
16703
|
}
|
|
16633
16704
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16634
16705
|
tables(variables, builder) {
|
|
16635
|
-
const info = extractIncludeInfo(
|
|
16706
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
16636
16707
|
let children;
|
|
16637
16708
|
if (builder) {
|
|
16638
16709
|
const sub = new TableSubBuilder();
|
|
@@ -16641,7 +16712,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16641
16712
|
}
|
|
16642
16713
|
this._includes.push({
|
|
16643
16714
|
fieldName: "tables",
|
|
16644
|
-
fragmentDoc:
|
|
16715
|
+
fragmentDoc: chunkK3X4BLL7_cjs.TableConnectionFragmentDoc,
|
|
16645
16716
|
variables,
|
|
16646
16717
|
isConnection: true,
|
|
16647
16718
|
isList: false,
|
|
@@ -16667,7 +16738,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16667
16738
|
}
|
|
16668
16739
|
async fetch(options) {
|
|
16669
16740
|
const variables = this._variables;
|
|
16670
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16741
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DocumentDocument, "document", this._includes, variables);
|
|
16671
16742
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
|
|
16672
16743
|
const data = response.document;
|
|
16673
16744
|
const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16679,7 +16750,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16679
16750
|
watch(options) {
|
|
16680
16751
|
const variables = this._variables;
|
|
16681
16752
|
const includes = this._includes;
|
|
16682
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16753
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DocumentDocument, "document", includes, variables);
|
|
16683
16754
|
const raw = this._syncEngine.watch(
|
|
16684
16755
|
queryDoc,
|
|
16685
16756
|
mergedVars,
|
|
@@ -16709,10 +16780,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16709
16780
|
}
|
|
16710
16781
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
16711
16782
|
contents(variables) {
|
|
16712
|
-
const info = extractIncludeInfo(
|
|
16783
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
16713
16784
|
this._includes.push({
|
|
16714
16785
|
fieldName: "contents",
|
|
16715
|
-
fragmentDoc:
|
|
16786
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentContentFragmentDoc,
|
|
16716
16787
|
variables,
|
|
16717
16788
|
isConnection: false,
|
|
16718
16789
|
isList: true,
|
|
@@ -16728,10 +16799,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16728
16799
|
}
|
|
16729
16800
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
16730
16801
|
file(variables) {
|
|
16731
|
-
const info = extractIncludeInfo(
|
|
16802
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_FileDocument, "file", ["id"]);
|
|
16732
16803
|
this._includes.push({
|
|
16733
16804
|
fieldName: "file",
|
|
16734
|
-
fragmentDoc:
|
|
16805
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FileFragmentDoc,
|
|
16735
16806
|
variables,
|
|
16736
16807
|
isConnection: false,
|
|
16737
16808
|
isList: false,
|
|
@@ -16747,10 +16818,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16747
16818
|
}
|
|
16748
16819
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16749
16820
|
format(variables) {
|
|
16750
|
-
const info = extractIncludeInfo(
|
|
16821
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_FormatDocument, "format", ["id"]);
|
|
16751
16822
|
this._includes.push({
|
|
16752
16823
|
fieldName: "format",
|
|
16753
|
-
fragmentDoc:
|
|
16824
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentFormatFragmentDoc,
|
|
16754
16825
|
variables,
|
|
16755
16826
|
isConnection: false,
|
|
16756
16827
|
isList: false,
|
|
@@ -16766,7 +16837,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16766
16837
|
}
|
|
16767
16838
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16768
16839
|
tables(variables, builder) {
|
|
16769
|
-
const info = extractIncludeInfo(
|
|
16840
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
16770
16841
|
let children;
|
|
16771
16842
|
if (builder) {
|
|
16772
16843
|
const sub = new TableSubBuilder();
|
|
@@ -16775,7 +16846,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16775
16846
|
}
|
|
16776
16847
|
this._includes.push({
|
|
16777
16848
|
fieldName: "tables",
|
|
16778
|
-
fragmentDoc:
|
|
16849
|
+
fragmentDoc: chunkK3X4BLL7_cjs.TableConnectionFragmentDoc,
|
|
16779
16850
|
variables,
|
|
16780
16851
|
isConnection: true,
|
|
16781
16852
|
isList: false,
|
|
@@ -16799,7 +16870,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16799
16870
|
this._variables = variables;
|
|
16800
16871
|
}
|
|
16801
16872
|
async fetch(options) {
|
|
16802
|
-
const response = await this._syncEngine.query(
|
|
16873
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Document_ContentsDocument, this._variables, "document");
|
|
16803
16874
|
const data = response.document?.contents;
|
|
16804
16875
|
if (!Array.isArray(data)) return [];
|
|
16805
16876
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -16813,14 +16884,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16813
16884
|
}
|
|
16814
16885
|
async fetch(options) {
|
|
16815
16886
|
const variables = this._variables;
|
|
16816
|
-
const response = await this._syncEngine.query(
|
|
16887
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Document_FileDocument, variables, "document");
|
|
16817
16888
|
const data = response.document?.file;
|
|
16818
16889
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16819
16890
|
}
|
|
16820
16891
|
watch(options) {
|
|
16821
16892
|
const variables = this._variables;
|
|
16822
16893
|
const raw = this._syncEngine.watch(
|
|
16823
|
-
|
|
16894
|
+
chunkK3X4BLL7_cjs.Document_FileDocument,
|
|
16824
16895
|
variables,
|
|
16825
16896
|
"document",
|
|
16826
16897
|
async (db) => {
|
|
@@ -16843,14 +16914,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16843
16914
|
}
|
|
16844
16915
|
async fetch(options) {
|
|
16845
16916
|
const variables = this._variables;
|
|
16846
|
-
const response = await this._syncEngine.query(
|
|
16917
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Document_FormatDocument, variables, "document");
|
|
16847
16918
|
const data = response.document?.format;
|
|
16848
16919
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16849
16920
|
}
|
|
16850
16921
|
watch(options) {
|
|
16851
16922
|
const variables = this._variables;
|
|
16852
16923
|
const raw = this._syncEngine.watch(
|
|
16853
|
-
|
|
16924
|
+
chunkK3X4BLL7_cjs.Document_FormatDocument,
|
|
16854
16925
|
variables,
|
|
16855
16926
|
"document",
|
|
16856
16927
|
async (db) => {
|
|
@@ -16873,14 +16944,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16873
16944
|
}
|
|
16874
16945
|
async fetch(options) {
|
|
16875
16946
|
const variables = this._variables;
|
|
16876
|
-
const response = await this._syncEngine.query(
|
|
16947
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Document_Format_CatalogDocument, variables, "document");
|
|
16877
16948
|
const data = response.document?.format?.catalog;
|
|
16878
16949
|
return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16879
16950
|
}
|
|
16880
16951
|
watch(options) {
|
|
16881
16952
|
const variables = this._variables;
|
|
16882
16953
|
const raw = this._syncEngine.watch(
|
|
16883
|
-
|
|
16954
|
+
chunkK3X4BLL7_cjs.Document_Format_CatalogDocument,
|
|
16884
16955
|
variables,
|
|
16885
16956
|
"document",
|
|
16886
16957
|
async (db) => {
|
|
@@ -16903,18 +16974,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
16903
16974
|
}
|
|
16904
16975
|
async fetch(options) {
|
|
16905
16976
|
const variables = this._variables;
|
|
16906
|
-
const response = await this._syncEngine.query(
|
|
16977
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Document_TablesDocument, variables, "document");
|
|
16907
16978
|
const data = response.document?.tables;
|
|
16908
16979
|
return new TableConnection(this._request, (conn, opts) => new _Document_TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
16909
16980
|
}
|
|
16910
16981
|
watch(options) {
|
|
16911
16982
|
const variables = this._variables;
|
|
16912
16983
|
const raw = this._syncEngine.watch(
|
|
16913
|
-
|
|
16984
|
+
chunkK3X4BLL7_cjs.Document_TablesDocument,
|
|
16914
16985
|
variables,
|
|
16915
16986
|
"document",
|
|
16916
16987
|
async (db) => {
|
|
16917
|
-
const queryKey = buildQueryKey("document", variables,
|
|
16988
|
+
const queryKey = buildQueryKey("document", variables, chunkK3X4BLL7_cjs.Document_TablesDocument);
|
|
16918
16989
|
const qr = await db._queryResults.get(queryKey);
|
|
16919
16990
|
if (!qr) {
|
|
16920
16991
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -16942,7 +17013,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16942
17013
|
}
|
|
16943
17014
|
async fetch(options) {
|
|
16944
17015
|
const variables = this._variables;
|
|
16945
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17016
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
|
|
16946
17017
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
|
|
16947
17018
|
const data = response.documentCatalog;
|
|
16948
17019
|
const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16954,7 +17025,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16954
17025
|
watch(options) {
|
|
16955
17026
|
const variables = this._variables;
|
|
16956
17027
|
const includes = this._includes;
|
|
16957
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17028
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
|
|
16958
17029
|
const raw = this._syncEngine.watch(
|
|
16959
17030
|
queryDoc,
|
|
16960
17031
|
mergedVars,
|
|
@@ -16984,10 +17055,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16984
17055
|
}
|
|
16985
17056
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
16986
17057
|
format(variables) {
|
|
16987
|
-
const info = extractIncludeInfo(
|
|
17058
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
16988
17059
|
this._includes.push({
|
|
16989
17060
|
fieldName: "format",
|
|
16990
|
-
fragmentDoc:
|
|
17061
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentFormatFragmentDoc,
|
|
16991
17062
|
variables,
|
|
16992
17063
|
isConnection: false,
|
|
16993
17064
|
isList: false,
|
|
@@ -17010,14 +17081,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17010
17081
|
}
|
|
17011
17082
|
async fetch(options) {
|
|
17012
17083
|
const variables = this._variables;
|
|
17013
|
-
const response = await this._syncEngine.query(
|
|
17084
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
|
|
17014
17085
|
const data = response.documentCatalog?.format;
|
|
17015
17086
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17016
17087
|
}
|
|
17017
17088
|
watch(options) {
|
|
17018
17089
|
const variables = this._variables;
|
|
17019
17090
|
const raw = this._syncEngine.watch(
|
|
17020
|
-
|
|
17091
|
+
chunkK3X4BLL7_cjs.DocumentCatalog_FormatDocument,
|
|
17021
17092
|
variables,
|
|
17022
17093
|
"documentCatalog",
|
|
17023
17094
|
async (db) => {
|
|
@@ -17041,7 +17112,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17041
17112
|
}
|
|
17042
17113
|
async fetch(options) {
|
|
17043
17114
|
const variables = this._variables;
|
|
17044
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17115
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
|
|
17045
17116
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
|
|
17046
17117
|
const data = response.documentCatalogs;
|
|
17047
17118
|
const connection = new DocumentCatalogConnection(this._request, (conn, opts) => new _DocumentCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -17058,7 +17129,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17058
17129
|
const subscriptionId = crypto.randomUUID();
|
|
17059
17130
|
const includes = this._includes;
|
|
17060
17131
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
17061
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17132
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
|
|
17062
17133
|
const raw = this._syncEngine.watch(
|
|
17063
17134
|
queryDoc,
|
|
17064
17135
|
mergedVars,
|
|
@@ -17100,10 +17171,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17100
17171
|
}
|
|
17101
17172
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
17102
17173
|
format(variables) {
|
|
17103
|
-
const info = extractIncludeInfo(
|
|
17174
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
17104
17175
|
this._includes.push({
|
|
17105
17176
|
fieldName: "format",
|
|
17106
|
-
fragmentDoc:
|
|
17177
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentFormatFragmentDoc,
|
|
17107
17178
|
variables,
|
|
17108
17179
|
isConnection: false,
|
|
17109
17180
|
isList: false,
|
|
@@ -17127,7 +17198,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17127
17198
|
}
|
|
17128
17199
|
async fetch(options) {
|
|
17129
17200
|
const variables = this._variables;
|
|
17130
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17201
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DocumentsDocument, "documents", this._includes, variables, true);
|
|
17131
17202
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
|
|
17132
17203
|
const data = response.documents;
|
|
17133
17204
|
const connection = new DocumentConnection(this._request, (conn, opts) => new _DocumentsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -17144,7 +17215,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17144
17215
|
const subscriptionId = crypto.randomUUID();
|
|
17145
17216
|
const includes = this._includes;
|
|
17146
17217
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
17147
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17218
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.DocumentsDocument, "documents", includes, variables, true);
|
|
17148
17219
|
const raw = this._syncEngine.watch(
|
|
17149
17220
|
queryDoc,
|
|
17150
17221
|
mergedVars,
|
|
@@ -17186,10 +17257,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17186
17257
|
}
|
|
17187
17258
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
17188
17259
|
contents(variables) {
|
|
17189
|
-
const info = extractIncludeInfo(
|
|
17260
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
17190
17261
|
this._includes.push({
|
|
17191
17262
|
fieldName: "contents",
|
|
17192
|
-
fragmentDoc:
|
|
17263
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentContentFragmentDoc,
|
|
17193
17264
|
variables,
|
|
17194
17265
|
isConnection: false,
|
|
17195
17266
|
isList: true,
|
|
@@ -17205,10 +17276,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17205
17276
|
}
|
|
17206
17277
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
17207
17278
|
file(variables) {
|
|
17208
|
-
const info = extractIncludeInfo(
|
|
17279
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_FileDocument, "file", ["id"]);
|
|
17209
17280
|
this._includes.push({
|
|
17210
17281
|
fieldName: "file",
|
|
17211
|
-
fragmentDoc:
|
|
17282
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FileFragmentDoc,
|
|
17212
17283
|
variables,
|
|
17213
17284
|
isConnection: false,
|
|
17214
17285
|
isList: false,
|
|
@@ -17224,10 +17295,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17224
17295
|
}
|
|
17225
17296
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
17226
17297
|
format(variables) {
|
|
17227
|
-
const info = extractIncludeInfo(
|
|
17298
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_FormatDocument, "format", ["id"]);
|
|
17228
17299
|
this._includes.push({
|
|
17229
17300
|
fieldName: "format",
|
|
17230
|
-
fragmentDoc:
|
|
17301
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentFormatFragmentDoc,
|
|
17231
17302
|
variables,
|
|
17232
17303
|
isConnection: false,
|
|
17233
17304
|
isList: false,
|
|
@@ -17243,7 +17314,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17243
17314
|
}
|
|
17244
17315
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
17245
17316
|
tables(variables, builder) {
|
|
17246
|
-
const info = extractIncludeInfo(
|
|
17317
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
17247
17318
|
let children;
|
|
17248
17319
|
if (builder) {
|
|
17249
17320
|
const sub = new TableSubBuilder();
|
|
@@ -17252,7 +17323,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17252
17323
|
}
|
|
17253
17324
|
this._includes.push({
|
|
17254
17325
|
fieldName: "tables",
|
|
17255
|
-
fragmentDoc:
|
|
17326
|
+
fragmentDoc: chunkK3X4BLL7_cjs.TableConnectionFragmentDoc,
|
|
17256
17327
|
variables,
|
|
17257
17328
|
isConnection: true,
|
|
17258
17329
|
isList: false,
|
|
@@ -17271,13 +17342,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17271
17342
|
};
|
|
17272
17343
|
var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17273
17344
|
async fetch(variables) {
|
|
17274
|
-
const response = await this._request(
|
|
17345
|
+
const response = await this._request(chunkK3X4BLL7_cjs.ExportDocument, variables);
|
|
17275
17346
|
return response.export;
|
|
17276
17347
|
}
|
|
17277
17348
|
};
|
|
17278
17349
|
var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17279
17350
|
async fetch(variables) {
|
|
17280
|
-
const response = await this._request(
|
|
17351
|
+
const response = await this._request(chunkK3X4BLL7_cjs.ExportWithInsightIdDocument, variables);
|
|
17281
17352
|
return response.exportWithInsightId;
|
|
17282
17353
|
}
|
|
17283
17354
|
};
|
|
@@ -17290,7 +17361,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17290
17361
|
}
|
|
17291
17362
|
async fetch(options) {
|
|
17292
17363
|
const variables = this._variables;
|
|
17293
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17364
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.FeedItemDocument, "feedItem", this._includes, variables);
|
|
17294
17365
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
|
|
17295
17366
|
const data = response.feedItem;
|
|
17296
17367
|
if (!data) return void 0;
|
|
@@ -17303,7 +17374,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17303
17374
|
watch(options) {
|
|
17304
17375
|
const variables = this._variables;
|
|
17305
17376
|
const includes = this._includes;
|
|
17306
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17377
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.FeedItemDocument, "feedItem", includes, variables);
|
|
17307
17378
|
const raw = this._syncEngine.watch(
|
|
17308
17379
|
queryDoc,
|
|
17309
17380
|
mergedVars,
|
|
@@ -17334,10 +17405,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17334
17405
|
}
|
|
17335
17406
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
17336
17407
|
action(variables) {
|
|
17337
|
-
const info = extractIncludeInfo(
|
|
17408
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
17338
17409
|
this._includes.push({
|
|
17339
17410
|
fieldName: "action",
|
|
17340
|
-
fragmentDoc:
|
|
17411
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedSendMessageActionFragmentDoc,
|
|
17341
17412
|
variables,
|
|
17342
17413
|
isConnection: false,
|
|
17343
17414
|
isList: false,
|
|
@@ -17353,10 +17424,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17353
17424
|
}
|
|
17354
17425
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
17355
17426
|
data(variables) {
|
|
17356
|
-
const info = extractIncludeInfo(
|
|
17427
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
17357
17428
|
this._includes.push({
|
|
17358
17429
|
fieldName: "data",
|
|
17359
|
-
fragmentDoc:
|
|
17430
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedArtifactDataFragmentDoc,
|
|
17360
17431
|
variables,
|
|
17361
17432
|
isConnection: false,
|
|
17362
17433
|
isList: true,
|
|
@@ -17379,14 +17450,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17379
17450
|
}
|
|
17380
17451
|
async fetch(options) {
|
|
17381
17452
|
const variables = this._variables;
|
|
17382
|
-
const response = await this._syncEngine.query(
|
|
17453
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.FeedItem_ActionDocument, variables, "feedItem");
|
|
17383
17454
|
const data = response.feedItem?.action;
|
|
17384
17455
|
return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17385
17456
|
}
|
|
17386
17457
|
watch(options) {
|
|
17387
17458
|
const variables = this._variables;
|
|
17388
17459
|
const raw = this._syncEngine.watch(
|
|
17389
|
-
|
|
17460
|
+
chunkK3X4BLL7_cjs.FeedItem_ActionDocument,
|
|
17390
17461
|
variables,
|
|
17391
17462
|
"feedItem",
|
|
17392
17463
|
async (db) => {
|
|
@@ -17408,7 +17479,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17408
17479
|
this._variables = variables;
|
|
17409
17480
|
}
|
|
17410
17481
|
async fetch(options) {
|
|
17411
|
-
const response = await this._syncEngine.query(
|
|
17482
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.FeedItem_DataDocument, this._variables, "feedItem");
|
|
17412
17483
|
const data = response.feedItem?.data;
|
|
17413
17484
|
if (!Array.isArray(data)) return [];
|
|
17414
17485
|
return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17423,7 +17494,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17423
17494
|
}
|
|
17424
17495
|
async fetch(options) {
|
|
17425
17496
|
const variables = this._variables;
|
|
17426
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17497
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
|
|
17427
17498
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
|
|
17428
17499
|
const data = response.feedItems;
|
|
17429
17500
|
const connection = new FeedConnection(this._request, (conn, opts) => new _FeedItemsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -17440,7 +17511,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17440
17511
|
const subscriptionId = crypto.randomUUID();
|
|
17441
17512
|
const includes = this._includes;
|
|
17442
17513
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
17443
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17514
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
|
|
17444
17515
|
const raw = this._syncEngine.watch(
|
|
17445
17516
|
queryDoc,
|
|
17446
17517
|
mergedVars,
|
|
@@ -17482,10 +17553,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17482
17553
|
}
|
|
17483
17554
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
17484
17555
|
action(variables) {
|
|
17485
|
-
const info = extractIncludeInfo(
|
|
17556
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
17486
17557
|
this._includes.push({
|
|
17487
17558
|
fieldName: "action",
|
|
17488
|
-
fragmentDoc:
|
|
17559
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedSendMessageActionFragmentDoc,
|
|
17489
17560
|
variables,
|
|
17490
17561
|
isConnection: false,
|
|
17491
17562
|
isList: false,
|
|
@@ -17501,10 +17572,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17501
17572
|
}
|
|
17502
17573
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
17503
17574
|
data(variables) {
|
|
17504
|
-
const info = extractIncludeInfo(
|
|
17575
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
17505
17576
|
this._includes.push({
|
|
17506
17577
|
fieldName: "data",
|
|
17507
|
-
fragmentDoc:
|
|
17578
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedArtifactDataFragmentDoc,
|
|
17508
17579
|
variables,
|
|
17509
17580
|
isConnection: false,
|
|
17510
17581
|
isList: true,
|
|
@@ -17521,7 +17592,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17521
17592
|
};
|
|
17522
17593
|
var FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17523
17594
|
async fetch(variables) {
|
|
17524
|
-
const response = await this._request(
|
|
17595
|
+
const response = await this._request(chunkK3X4BLL7_cjs.FileDocument, variables);
|
|
17525
17596
|
return response.file;
|
|
17526
17597
|
}
|
|
17527
17598
|
};
|
|
@@ -17534,7 +17605,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17534
17605
|
}
|
|
17535
17606
|
async fetch(options) {
|
|
17536
17607
|
const variables = this._variables;
|
|
17537
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17608
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
|
|
17538
17609
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
|
|
17539
17610
|
const data = response.fileMeta;
|
|
17540
17611
|
if (!data) return void 0;
|
|
@@ -17547,7 +17618,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17547
17618
|
watch(options) {
|
|
17548
17619
|
const variables = this._variables;
|
|
17549
17620
|
const includes = this._includes;
|
|
17550
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17621
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.FileMetaDocument, "fileMeta", includes, variables);
|
|
17551
17622
|
const raw = this._syncEngine.watch(
|
|
17552
17623
|
queryDoc,
|
|
17553
17624
|
mergedVars,
|
|
@@ -17585,7 +17656,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17585
17656
|
this._variables = variables;
|
|
17586
17657
|
}
|
|
17587
17658
|
async fetch(options) {
|
|
17588
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17659
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
|
|
17589
17660
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
|
|
17590
17661
|
const data = response.fileUrls;
|
|
17591
17662
|
if (!Array.isArray(data)) return [];
|
|
@@ -17594,7 +17665,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17594
17665
|
};
|
|
17595
17666
|
var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17596
17667
|
async fetch(variables) {
|
|
17597
|
-
const response = await this._request(
|
|
17668
|
+
const response = await this._request(chunkK3X4BLL7_cjs.FindFitTierDocument, variables);
|
|
17598
17669
|
return response.findFitTier ?? void 0;
|
|
17599
17670
|
}
|
|
17600
17671
|
};
|
|
@@ -17607,7 +17678,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17607
17678
|
}
|
|
17608
17679
|
async fetch(options) {
|
|
17609
17680
|
const variables = this._variables;
|
|
17610
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17681
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.FolderDocument, "folder", this._includes, variables);
|
|
17611
17682
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
|
|
17612
17683
|
const data = response.folder;
|
|
17613
17684
|
const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17619,7 +17690,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17619
17690
|
watch(options) {
|
|
17620
17691
|
const variables = this._variables;
|
|
17621
17692
|
const includes = this._includes;
|
|
17622
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17693
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.FolderDocument, "folder", includes, variables);
|
|
17623
17694
|
const raw = this._syncEngine.watch(
|
|
17624
17695
|
queryDoc,
|
|
17625
17696
|
mergedVars,
|
|
@@ -17657,7 +17728,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17657
17728
|
}
|
|
17658
17729
|
async fetch(options) {
|
|
17659
17730
|
const variables = this._variables;
|
|
17660
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17731
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.FoldersDocument, "folders", this._includes, variables, true);
|
|
17661
17732
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
|
|
17662
17733
|
const data = response.folders;
|
|
17663
17734
|
const connection = new FolderConnection(this._request, (conn, opts) => new _FoldersQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -17674,7 +17745,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17674
17745
|
const subscriptionId = crypto.randomUUID();
|
|
17675
17746
|
const includes = this._includes;
|
|
17676
17747
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
17677
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17748
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.FoldersDocument, "folders", includes, variables, true);
|
|
17678
17749
|
const raw = this._syncEngine.watch(
|
|
17679
17750
|
queryDoc,
|
|
17680
17751
|
mergedVars,
|
|
@@ -17717,7 +17788,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17717
17788
|
};
|
|
17718
17789
|
var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17719
17790
|
async fetch(variables) {
|
|
17720
|
-
const response = await this._request(
|
|
17791
|
+
const response = await this._request(chunkK3X4BLL7_cjs.GetCapabilityDocument, variables);
|
|
17721
17792
|
return response.getCapability;
|
|
17722
17793
|
}
|
|
17723
17794
|
};
|
|
@@ -17730,7 +17801,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17730
17801
|
}
|
|
17731
17802
|
async fetch(options) {
|
|
17732
17803
|
const variables = this._variables;
|
|
17733
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17804
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
|
|
17734
17805
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
|
|
17735
17806
|
const data = response.getDevAccessToken;
|
|
17736
17807
|
const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17742,7 +17813,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17742
17813
|
watch(options) {
|
|
17743
17814
|
const variables = this._variables;
|
|
17744
17815
|
const includes = this._includes;
|
|
17745
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17816
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
|
|
17746
17817
|
const raw = this._syncEngine.watch(
|
|
17747
17818
|
queryDoc,
|
|
17748
17819
|
mergedVars,
|
|
@@ -17773,13 +17844,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17773
17844
|
};
|
|
17774
17845
|
var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17775
17846
|
async fetch(variables) {
|
|
17776
|
-
const response = await this._request(
|
|
17847
|
+
const response = await this._request(chunkK3X4BLL7_cjs.GetLimitDocument, variables);
|
|
17777
17848
|
return response.getLimit ?? void 0;
|
|
17778
17849
|
}
|
|
17779
17850
|
};
|
|
17780
17851
|
var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17781
17852
|
async fetch(variables) {
|
|
17782
|
-
const response = await this._request(
|
|
17853
|
+
const response = await this._request(chunkK3X4BLL7_cjs.GetRemainingDocument, variables);
|
|
17783
17854
|
return response.getRemaining ?? void 0;
|
|
17784
17855
|
}
|
|
17785
17856
|
};
|
|
@@ -17791,7 +17862,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17791
17862
|
this._variables = variables;
|
|
17792
17863
|
}
|
|
17793
17864
|
async fetch(options) {
|
|
17794
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17865
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
|
|
17795
17866
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
|
|
17796
17867
|
const data = response.getTokenUsageByModel;
|
|
17797
17868
|
if (!Array.isArray(data)) return [];
|
|
@@ -17806,7 +17877,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17806
17877
|
this._variables = variables;
|
|
17807
17878
|
}
|
|
17808
17879
|
async fetch(options) {
|
|
17809
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17880
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
|
|
17810
17881
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
|
|
17811
17882
|
const data = response.getTokenUsageHistory;
|
|
17812
17883
|
if (!Array.isArray(data)) return [];
|
|
@@ -17822,7 +17893,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17822
17893
|
}
|
|
17823
17894
|
async fetch(options) {
|
|
17824
17895
|
const variables = this._variables;
|
|
17825
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17896
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
|
|
17826
17897
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
|
|
17827
17898
|
const data = response.getTokenUsageStatus;
|
|
17828
17899
|
const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17834,7 +17905,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17834
17905
|
watch(options) {
|
|
17835
17906
|
const variables = this._variables;
|
|
17836
17907
|
const includes = this._includes;
|
|
17837
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17908
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
|
|
17838
17909
|
const raw = this._syncEngine.watch(
|
|
17839
17910
|
queryDoc,
|
|
17840
17911
|
mergedVars,
|
|
@@ -17864,10 +17935,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17864
17935
|
}
|
|
17865
17936
|
/** Include windows in this query (Smart Fetch — single HTTP request). */
|
|
17866
17937
|
windows(variables) {
|
|
17867
|
-
const info = extractIncludeInfo(
|
|
17938
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
|
|
17868
17939
|
this._includes.push({
|
|
17869
17940
|
fieldName: "windows",
|
|
17870
|
-
fragmentDoc:
|
|
17941
|
+
fragmentDoc: chunkK3X4BLL7_cjs.UsageWindowsStatusTypeFragmentDoc,
|
|
17871
17942
|
variables,
|
|
17872
17943
|
isConnection: false,
|
|
17873
17944
|
isList: false,
|
|
@@ -17890,14 +17961,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17890
17961
|
}
|
|
17891
17962
|
async fetch(options) {
|
|
17892
17963
|
const variables = this._variables;
|
|
17893
|
-
const response = await this._syncEngine.query(
|
|
17964
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
|
|
17894
17965
|
const data = response.getTokenUsageStatus?.windows;
|
|
17895
17966
|
return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17896
17967
|
}
|
|
17897
17968
|
watch(options) {
|
|
17898
17969
|
const variables = this._variables;
|
|
17899
17970
|
const raw = this._syncEngine.watch(
|
|
17900
|
-
|
|
17971
|
+
chunkK3X4BLL7_cjs.GetTokenUsageStatus_WindowsDocument,
|
|
17901
17972
|
variables,
|
|
17902
17973
|
"getTokenUsageStatus",
|
|
17903
17974
|
async (db) => {
|
|
@@ -17920,14 +17991,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
17920
17991
|
}
|
|
17921
17992
|
async fetch(options) {
|
|
17922
17993
|
const variables = this._variables;
|
|
17923
|
-
const response = await this._syncEngine.query(
|
|
17994
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
|
|
17924
17995
|
const data = response.getTokenUsageStatus?.windows?.day;
|
|
17925
17996
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17926
17997
|
}
|
|
17927
17998
|
watch(options) {
|
|
17928
17999
|
const variables = this._variables;
|
|
17929
18000
|
const raw = this._syncEngine.watch(
|
|
17930
|
-
|
|
18001
|
+
chunkK3X4BLL7_cjs.GetTokenUsageStatus_Windows_DayDocument,
|
|
17931
18002
|
variables,
|
|
17932
18003
|
"getTokenUsageStatus",
|
|
17933
18004
|
async (db) => {
|
|
@@ -17950,14 +18021,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
|
|
|
17950
18021
|
}
|
|
17951
18022
|
async fetch(options) {
|
|
17952
18023
|
const variables = this._variables;
|
|
17953
|
-
const response = await this._syncEngine.query(
|
|
18024
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
|
|
17954
18025
|
const data = response.getTokenUsageStatus?.windows?.fiveHour;
|
|
17955
18026
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17956
18027
|
}
|
|
17957
18028
|
watch(options) {
|
|
17958
18029
|
const variables = this._variables;
|
|
17959
18030
|
const raw = this._syncEngine.watch(
|
|
17960
|
-
|
|
18031
|
+
chunkK3X4BLL7_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
|
|
17961
18032
|
variables,
|
|
17962
18033
|
"getTokenUsageStatus",
|
|
17963
18034
|
async (db) => {
|
|
@@ -17980,14 +18051,14 @@ var GetTokenUsageStatus_Windows_MonthQuery = class extends chunk342BFYZZ_cjs.Req
|
|
|
17980
18051
|
}
|
|
17981
18052
|
async fetch(options) {
|
|
17982
18053
|
const variables = this._variables;
|
|
17983
|
-
const response = await this._syncEngine.query(
|
|
18054
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
|
|
17984
18055
|
const data = response.getTokenUsageStatus?.windows?.month;
|
|
17985
18056
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17986
18057
|
}
|
|
17987
18058
|
watch(options) {
|
|
17988
18059
|
const variables = this._variables;
|
|
17989
18060
|
const raw = this._syncEngine.watch(
|
|
17990
|
-
|
|
18061
|
+
chunkK3X4BLL7_cjs.GetTokenUsageStatus_Windows_MonthDocument,
|
|
17991
18062
|
variables,
|
|
17992
18063
|
"getTokenUsageStatus",
|
|
17993
18064
|
async (db) => {
|
|
@@ -18010,14 +18081,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
18010
18081
|
}
|
|
18011
18082
|
async fetch(options) {
|
|
18012
18083
|
const variables = this._variables;
|
|
18013
|
-
const response = await this._syncEngine.query(
|
|
18084
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
|
|
18014
18085
|
const data = response.getTokenUsageStatus?.windows?.week;
|
|
18015
18086
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18016
18087
|
}
|
|
18017
18088
|
watch(options) {
|
|
18018
18089
|
const variables = this._variables;
|
|
18019
18090
|
const raw = this._syncEngine.watch(
|
|
18020
|
-
|
|
18091
|
+
chunkK3X4BLL7_cjs.GetTokenUsageStatus_Windows_WeekDocument,
|
|
18021
18092
|
variables,
|
|
18022
18093
|
"getTokenUsageStatus",
|
|
18023
18094
|
async (db) => {
|
|
@@ -18034,7 +18105,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
18034
18105
|
};
|
|
18035
18106
|
var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18036
18107
|
async fetch(variables) {
|
|
18037
|
-
const response = await this._request(
|
|
18108
|
+
const response = await this._request(chunkK3X4BLL7_cjs.GetUsageDocument, variables);
|
|
18038
18109
|
return response.getUsage ?? void 0;
|
|
18039
18110
|
}
|
|
18040
18111
|
};
|
|
@@ -18047,7 +18118,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18047
18118
|
}
|
|
18048
18119
|
async fetch(options) {
|
|
18049
18120
|
const variables = this._variables;
|
|
18050
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18121
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.InsightDocument, "insight", this._includes, variables);
|
|
18051
18122
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
|
|
18052
18123
|
const data = response.insight;
|
|
18053
18124
|
const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18059,7 +18130,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18059
18130
|
watch(options) {
|
|
18060
18131
|
const variables = this._variables;
|
|
18061
18132
|
const includes = this._includes;
|
|
18062
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18133
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.InsightDocument, "insight", includes, variables);
|
|
18063
18134
|
const raw = this._syncEngine.watch(
|
|
18064
18135
|
queryDoc,
|
|
18065
18136
|
mergedVars,
|
|
@@ -18089,7 +18160,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18089
18160
|
}
|
|
18090
18161
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
18091
18162
|
chat(variables, builder) {
|
|
18092
|
-
const info = extractIncludeInfo(
|
|
18163
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
18093
18164
|
let children;
|
|
18094
18165
|
if (builder) {
|
|
18095
18166
|
const sub = new ChatSubBuilder();
|
|
@@ -18098,7 +18169,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18098
18169
|
}
|
|
18099
18170
|
this._includes.push({
|
|
18100
18171
|
fieldName: "chat",
|
|
18101
|
-
fragmentDoc:
|
|
18172
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatFragmentDoc,
|
|
18102
18173
|
variables,
|
|
18103
18174
|
isConnection: false,
|
|
18104
18175
|
isList: false,
|
|
@@ -18115,10 +18186,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18115
18186
|
}
|
|
18116
18187
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
18117
18188
|
reportMembers(variables) {
|
|
18118
|
-
const info = extractIncludeInfo(
|
|
18189
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
18119
18190
|
this._includes.push({
|
|
18120
18191
|
fieldName: "reportMembers",
|
|
18121
|
-
fragmentDoc:
|
|
18192
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ReportMemberFragmentDoc,
|
|
18122
18193
|
variables,
|
|
18123
18194
|
isConnection: false,
|
|
18124
18195
|
isList: true,
|
|
@@ -18134,7 +18205,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18134
18205
|
}
|
|
18135
18206
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
18136
18207
|
reports(variables, builder) {
|
|
18137
|
-
const info = extractIncludeInfo(
|
|
18208
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
18138
18209
|
let children;
|
|
18139
18210
|
if (builder) {
|
|
18140
18211
|
const sub = new ReportSubBuilder();
|
|
@@ -18143,7 +18214,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18143
18214
|
}
|
|
18144
18215
|
this._includes.push({
|
|
18145
18216
|
fieldName: "reports",
|
|
18146
|
-
fragmentDoc:
|
|
18217
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ReportConnectionFragmentDoc,
|
|
18147
18218
|
variables,
|
|
18148
18219
|
isConnection: true,
|
|
18149
18220
|
isList: false,
|
|
@@ -18161,10 +18232,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18161
18232
|
}
|
|
18162
18233
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
18163
18234
|
thumbnailFile(variables) {
|
|
18164
|
-
const info = extractIncludeInfo(
|
|
18235
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
18165
18236
|
this._includes.push({
|
|
18166
18237
|
fieldName: "thumbnailFile",
|
|
18167
|
-
fragmentDoc:
|
|
18238
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FileFragmentDoc,
|
|
18168
18239
|
variables,
|
|
18169
18240
|
isConnection: false,
|
|
18170
18241
|
isList: false,
|
|
@@ -18187,14 +18258,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18187
18258
|
}
|
|
18188
18259
|
async fetch(options) {
|
|
18189
18260
|
const variables = this._variables;
|
|
18190
|
-
const response = await this._syncEngine.query(
|
|
18261
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Insight_ChatDocument, variables, "insight");
|
|
18191
18262
|
const data = response.insight?.chat;
|
|
18192
18263
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18193
18264
|
}
|
|
18194
18265
|
watch(options) {
|
|
18195
18266
|
const variables = this._variables;
|
|
18196
18267
|
const raw = this._syncEngine.watch(
|
|
18197
|
-
|
|
18268
|
+
chunkK3X4BLL7_cjs.Insight_ChatDocument,
|
|
18198
18269
|
variables,
|
|
18199
18270
|
"insight",
|
|
18200
18271
|
async (db) => {
|
|
@@ -18216,7 +18287,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18216
18287
|
this._variables = variables;
|
|
18217
18288
|
}
|
|
18218
18289
|
async fetch(options) {
|
|
18219
|
-
const response = await this._syncEngine.query(
|
|
18290
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Insight_ReportMembersDocument, this._variables, "insight");
|
|
18220
18291
|
const data = response.insight?.reportMembers;
|
|
18221
18292
|
if (!Array.isArray(data)) return [];
|
|
18222
18293
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -18230,18 +18301,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
|
|
|
18230
18301
|
}
|
|
18231
18302
|
async fetch(options) {
|
|
18232
18303
|
const variables = this._variables;
|
|
18233
|
-
const response = await this._syncEngine.query(
|
|
18304
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Insight_ReportsDocument, variables, "insight");
|
|
18234
18305
|
const data = response.insight?.reports;
|
|
18235
18306
|
return new ReportConnection(this._request, (conn, opts) => new _Insight_ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
18236
18307
|
}
|
|
18237
18308
|
watch(options) {
|
|
18238
18309
|
const variables = this._variables;
|
|
18239
18310
|
const raw = this._syncEngine.watch(
|
|
18240
|
-
|
|
18311
|
+
chunkK3X4BLL7_cjs.Insight_ReportsDocument,
|
|
18241
18312
|
variables,
|
|
18242
18313
|
"insight",
|
|
18243
18314
|
async (db) => {
|
|
18244
|
-
const queryKey = buildQueryKey("insight", variables,
|
|
18315
|
+
const queryKey = buildQueryKey("insight", variables, chunkK3X4BLL7_cjs.Insight_ReportsDocument);
|
|
18245
18316
|
const qr = await db._queryResults.get(queryKey);
|
|
18246
18317
|
if (!qr) {
|
|
18247
18318
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -18268,14 +18339,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18268
18339
|
}
|
|
18269
18340
|
async fetch(options) {
|
|
18270
18341
|
const variables = this._variables;
|
|
18271
|
-
const response = await this._syncEngine.query(
|
|
18342
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Insight_ThumbnailFileDocument, variables, "insight");
|
|
18272
18343
|
const data = response.insight?.thumbnailFile;
|
|
18273
18344
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18274
18345
|
}
|
|
18275
18346
|
watch(options) {
|
|
18276
18347
|
const variables = this._variables;
|
|
18277
18348
|
const raw = this._syncEngine.watch(
|
|
18278
|
-
|
|
18349
|
+
chunkK3X4BLL7_cjs.Insight_ThumbnailFileDocument,
|
|
18279
18350
|
variables,
|
|
18280
18351
|
"insight",
|
|
18281
18352
|
async (db) => {
|
|
@@ -18299,7 +18370,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18299
18370
|
}
|
|
18300
18371
|
async fetch(options) {
|
|
18301
18372
|
const variables = this._variables;
|
|
18302
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18373
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.InsightsDocument, "insights", this._includes, variables, true);
|
|
18303
18374
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
|
|
18304
18375
|
const data = response.insights;
|
|
18305
18376
|
const connection = new InsightConnection(this._request, (conn, opts) => new _InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -18316,7 +18387,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18316
18387
|
const subscriptionId = crypto.randomUUID();
|
|
18317
18388
|
const includes = this._includes;
|
|
18318
18389
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
18319
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18390
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.InsightsDocument, "insights", includes, variables, true);
|
|
18320
18391
|
const raw = this._syncEngine.watch(
|
|
18321
18392
|
queryDoc,
|
|
18322
18393
|
mergedVars,
|
|
@@ -18358,7 +18429,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18358
18429
|
}
|
|
18359
18430
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
18360
18431
|
chat(variables, builder) {
|
|
18361
|
-
const info = extractIncludeInfo(
|
|
18432
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
18362
18433
|
let children;
|
|
18363
18434
|
if (builder) {
|
|
18364
18435
|
const sub = new ChatSubBuilder();
|
|
@@ -18367,7 +18438,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18367
18438
|
}
|
|
18368
18439
|
this._includes.push({
|
|
18369
18440
|
fieldName: "chat",
|
|
18370
|
-
fragmentDoc:
|
|
18441
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ChatFragmentDoc,
|
|
18371
18442
|
variables,
|
|
18372
18443
|
isConnection: false,
|
|
18373
18444
|
isList: false,
|
|
@@ -18384,10 +18455,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18384
18455
|
}
|
|
18385
18456
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
18386
18457
|
reportMembers(variables) {
|
|
18387
|
-
const info = extractIncludeInfo(
|
|
18458
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
18388
18459
|
this._includes.push({
|
|
18389
18460
|
fieldName: "reportMembers",
|
|
18390
|
-
fragmentDoc:
|
|
18461
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ReportMemberFragmentDoc,
|
|
18391
18462
|
variables,
|
|
18392
18463
|
isConnection: false,
|
|
18393
18464
|
isList: true,
|
|
@@ -18403,7 +18474,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18403
18474
|
}
|
|
18404
18475
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
18405
18476
|
reports(variables, builder) {
|
|
18406
|
-
const info = extractIncludeInfo(
|
|
18477
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
18407
18478
|
let children;
|
|
18408
18479
|
if (builder) {
|
|
18409
18480
|
const sub = new ReportSubBuilder();
|
|
@@ -18412,7 +18483,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18412
18483
|
}
|
|
18413
18484
|
this._includes.push({
|
|
18414
18485
|
fieldName: "reports",
|
|
18415
|
-
fragmentDoc:
|
|
18486
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ReportConnectionFragmentDoc,
|
|
18416
18487
|
variables,
|
|
18417
18488
|
isConnection: true,
|
|
18418
18489
|
isList: false,
|
|
@@ -18430,10 +18501,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18430
18501
|
}
|
|
18431
18502
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
18432
18503
|
thumbnailFile(variables) {
|
|
18433
|
-
const info = extractIncludeInfo(
|
|
18504
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
18434
18505
|
this._includes.push({
|
|
18435
18506
|
fieldName: "thumbnailFile",
|
|
18436
|
-
fragmentDoc:
|
|
18507
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FileFragmentDoc,
|
|
18437
18508
|
variables,
|
|
18438
18509
|
isConnection: false,
|
|
18439
18510
|
isList: false,
|
|
@@ -18457,7 +18528,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18457
18528
|
}
|
|
18458
18529
|
async fetch(options) {
|
|
18459
18530
|
const variables = this._variables;
|
|
18460
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18531
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.IntegrationDocument, "integration", this._includes, variables);
|
|
18461
18532
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
|
|
18462
18533
|
const data = response.integration;
|
|
18463
18534
|
const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18469,7 +18540,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18469
18540
|
watch(options) {
|
|
18470
18541
|
const variables = this._variables;
|
|
18471
18542
|
const includes = this._includes;
|
|
18472
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18543
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.IntegrationDocument, "integration", includes, variables);
|
|
18473
18544
|
const raw = this._syncEngine.watch(
|
|
18474
18545
|
queryDoc,
|
|
18475
18546
|
mergedVars,
|
|
@@ -18499,10 +18570,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18499
18570
|
}
|
|
18500
18571
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18501
18572
|
provider(variables) {
|
|
18502
|
-
const info = extractIncludeInfo(
|
|
18573
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
18503
18574
|
this._includes.push({
|
|
18504
18575
|
fieldName: "provider",
|
|
18505
|
-
fragmentDoc:
|
|
18576
|
+
fragmentDoc: chunkK3X4BLL7_cjs.IntegrationProviderFragmentDoc,
|
|
18506
18577
|
variables,
|
|
18507
18578
|
isConnection: false,
|
|
18508
18579
|
isList: false,
|
|
@@ -18525,14 +18596,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18525
18596
|
}
|
|
18526
18597
|
async fetch(options) {
|
|
18527
18598
|
const variables = this._variables;
|
|
18528
|
-
const response = await this._syncEngine.query(
|
|
18599
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Integration_ProviderDocument, variables, "integration");
|
|
18529
18600
|
const data = response.integration?.provider;
|
|
18530
18601
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18531
18602
|
}
|
|
18532
18603
|
watch(options) {
|
|
18533
18604
|
const variables = this._variables;
|
|
18534
18605
|
const raw = this._syncEngine.watch(
|
|
18535
|
-
|
|
18606
|
+
chunkK3X4BLL7_cjs.Integration_ProviderDocument,
|
|
18536
18607
|
variables,
|
|
18537
18608
|
"integration",
|
|
18538
18609
|
async (db) => {
|
|
@@ -18555,14 +18626,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
|
|
|
18555
18626
|
}
|
|
18556
18627
|
async fetch(options) {
|
|
18557
18628
|
const variables = this._variables;
|
|
18558
|
-
const response = await this._syncEngine.query(
|
|
18629
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Integration_Provider_CatalogDocument, variables, "integration");
|
|
18559
18630
|
const data = response.integration?.provider?.catalog;
|
|
18560
18631
|
return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18561
18632
|
}
|
|
18562
18633
|
watch(options) {
|
|
18563
18634
|
const variables = this._variables;
|
|
18564
18635
|
const raw = this._syncEngine.watch(
|
|
18565
|
-
|
|
18636
|
+
chunkK3X4BLL7_cjs.Integration_Provider_CatalogDocument,
|
|
18566
18637
|
variables,
|
|
18567
18638
|
"integration",
|
|
18568
18639
|
async (db) => {
|
|
@@ -18586,7 +18657,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18586
18657
|
}
|
|
18587
18658
|
async fetch(options) {
|
|
18588
18659
|
const variables = this._variables;
|
|
18589
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18660
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
|
|
18590
18661
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
|
|
18591
18662
|
const data = response.integrationCatalog;
|
|
18592
18663
|
const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18598,7 +18669,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18598
18669
|
watch(options) {
|
|
18599
18670
|
const variables = this._variables;
|
|
18600
18671
|
const includes = this._includes;
|
|
18601
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18672
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
|
|
18602
18673
|
const raw = this._syncEngine.watch(
|
|
18603
18674
|
queryDoc,
|
|
18604
18675
|
mergedVars,
|
|
@@ -18628,10 +18699,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18628
18699
|
}
|
|
18629
18700
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18630
18701
|
provider(variables) {
|
|
18631
|
-
const info = extractIncludeInfo(
|
|
18702
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
18632
18703
|
this._includes.push({
|
|
18633
18704
|
fieldName: "provider",
|
|
18634
|
-
fragmentDoc:
|
|
18705
|
+
fragmentDoc: chunkK3X4BLL7_cjs.IntegrationProviderFragmentDoc,
|
|
18635
18706
|
variables,
|
|
18636
18707
|
isConnection: false,
|
|
18637
18708
|
isList: false,
|
|
@@ -18654,14 +18725,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18654
18725
|
}
|
|
18655
18726
|
async fetch(options) {
|
|
18656
18727
|
const variables = this._variables;
|
|
18657
|
-
const response = await this._syncEngine.query(
|
|
18728
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
|
|
18658
18729
|
const data = response.integrationCatalog?.provider;
|
|
18659
18730
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18660
18731
|
}
|
|
18661
18732
|
watch(options) {
|
|
18662
18733
|
const variables = this._variables;
|
|
18663
18734
|
const raw = this._syncEngine.watch(
|
|
18664
|
-
|
|
18735
|
+
chunkK3X4BLL7_cjs.IntegrationCatalog_ProviderDocument,
|
|
18665
18736
|
variables,
|
|
18666
18737
|
"integrationCatalog",
|
|
18667
18738
|
async (db) => {
|
|
@@ -18678,7 +18749,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18678
18749
|
};
|
|
18679
18750
|
var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18680
18751
|
async fetch(variables) {
|
|
18681
|
-
const response = await this._request(
|
|
18752
|
+
const response = await this._request(chunkK3X4BLL7_cjs.IntegrationCatalogToolsDocument, variables);
|
|
18682
18753
|
return response.integrationCatalogTools;
|
|
18683
18754
|
}
|
|
18684
18755
|
};
|
|
@@ -18691,7 +18762,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18691
18762
|
}
|
|
18692
18763
|
async fetch(options) {
|
|
18693
18764
|
const variables = this._variables;
|
|
18694
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18765
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
|
|
18695
18766
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
|
|
18696
18767
|
const data = response.integrationCatalogs;
|
|
18697
18768
|
const connection = new IntegrationCatalogConnection(this._request, (conn, opts) => new _IntegrationCatalogsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -18708,7 +18779,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18708
18779
|
const subscriptionId = crypto.randomUUID();
|
|
18709
18780
|
const includes = this._includes;
|
|
18710
18781
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
18711
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18782
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
|
|
18712
18783
|
const raw = this._syncEngine.watch(
|
|
18713
18784
|
queryDoc,
|
|
18714
18785
|
mergedVars,
|
|
@@ -18750,10 +18821,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
18750
18821
|
}
|
|
18751
18822
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18752
18823
|
provider(variables) {
|
|
18753
|
-
const info = extractIncludeInfo(
|
|
18824
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
18754
18825
|
this._includes.push({
|
|
18755
18826
|
fieldName: "provider",
|
|
18756
|
-
fragmentDoc:
|
|
18827
|
+
fragmentDoc: chunkK3X4BLL7_cjs.IntegrationProviderFragmentDoc,
|
|
18757
18828
|
variables,
|
|
18758
18829
|
isConnection: false,
|
|
18759
18830
|
isList: false,
|
|
@@ -18777,7 +18848,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18777
18848
|
}
|
|
18778
18849
|
async fetch(options) {
|
|
18779
18850
|
const variables = this._variables;
|
|
18780
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18851
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
|
|
18781
18852
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
|
|
18782
18853
|
const data = response.integrations;
|
|
18783
18854
|
const connection = new IntegrationConnection(this._request, (conn, opts) => new _IntegrationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -18794,7 +18865,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18794
18865
|
const subscriptionId = crypto.randomUUID();
|
|
18795
18866
|
const includes = this._includes;
|
|
18796
18867
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
18797
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18868
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.IntegrationsDocument, "integrations", includes, variables, true);
|
|
18798
18869
|
const raw = this._syncEngine.watch(
|
|
18799
18870
|
queryDoc,
|
|
18800
18871
|
mergedVars,
|
|
@@ -18836,10 +18907,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
18836
18907
|
}
|
|
18837
18908
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
18838
18909
|
provider(variables) {
|
|
18839
|
-
const info = extractIncludeInfo(
|
|
18910
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
18840
18911
|
this._includes.push({
|
|
18841
18912
|
fieldName: "provider",
|
|
18842
|
-
fragmentDoc:
|
|
18913
|
+
fragmentDoc: chunkK3X4BLL7_cjs.IntegrationProviderFragmentDoc,
|
|
18843
18914
|
variables,
|
|
18844
18915
|
isConnection: false,
|
|
18845
18916
|
isList: false,
|
|
@@ -18863,7 +18934,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
18863
18934
|
}
|
|
18864
18935
|
async fetch(options) {
|
|
18865
18936
|
const variables = this._variables;
|
|
18866
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18937
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
|
|
18867
18938
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
|
|
18868
18939
|
const data = response.interpretations;
|
|
18869
18940
|
const connection = new InterpretationConnection(this._request, (conn, opts) => new _InterpretationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -18880,7 +18951,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
18880
18951
|
const subscriptionId = crypto.randomUUID();
|
|
18881
18952
|
const includes = this._includes;
|
|
18882
18953
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
18883
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18954
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
|
|
18884
18955
|
const raw = this._syncEngine.watch(
|
|
18885
18956
|
queryDoc,
|
|
18886
18957
|
mergedVars,
|
|
@@ -18921,6 +18992,255 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
18921
18992
|
});
|
|
18922
18993
|
}
|
|
18923
18994
|
};
|
|
18995
|
+
var LiveContextQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18996
|
+
_variables;
|
|
18997
|
+
_includes = [];
|
|
18998
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
18999
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
19000
|
+
this._variables = variables;
|
|
19001
|
+
}
|
|
19002
|
+
async fetch(options) {
|
|
19003
|
+
const variables = this._variables;
|
|
19004
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.LiveContextDocument, "liveContext", this._includes, variables);
|
|
19005
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "liveContext");
|
|
19006
|
+
const data = response.liveContext;
|
|
19007
|
+
const instance = new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
19008
|
+
if (this._includes.length > 0) {
|
|
19009
|
+
hydrateIncludes(instance, data, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
19010
|
+
}
|
|
19011
|
+
return instance;
|
|
19012
|
+
}
|
|
19013
|
+
watch(options) {
|
|
19014
|
+
const variables = this._variables;
|
|
19015
|
+
const includes = this._includes;
|
|
19016
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.LiveContextDocument, "liveContext", includes, variables);
|
|
19017
|
+
const raw = this._syncEngine.watch(
|
|
19018
|
+
queryDoc,
|
|
19019
|
+
mergedVars,
|
|
19020
|
+
"liveContext",
|
|
19021
|
+
async (db) => {
|
|
19022
|
+
const vars = variables;
|
|
19023
|
+
const pkField = getPrimaryKeyField("liveContexts");
|
|
19024
|
+
const entityKey = Array.isArray(pkField) ? pkField.map((field) => vars?.[field]) : vars?.[pkField];
|
|
19025
|
+
const hasEntityKey = Array.isArray(entityKey) ? entityKey.every((part) => part !== void 0 && part !== null) : entityKey !== void 0 && entityKey !== null;
|
|
19026
|
+
const entity = hasEntityKey ? await db.table("liveContexts").get(entityKey) : void 0;
|
|
19027
|
+
if (includes.length > 0 && entity) {
|
|
19028
|
+
const parentId = Array.isArray(entityKey) ? entityKey.map((part) => String(part)).join(":") : String(entityKey);
|
|
19029
|
+
const result = await reconstructEntity(db, "liveContexts", parentId, includes);
|
|
19030
|
+
return { liveContext: result };
|
|
19031
|
+
}
|
|
19032
|
+
return { liveContext: entity ?? null };
|
|
19033
|
+
}
|
|
19034
|
+
);
|
|
19035
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
19036
|
+
const data = response.liveContext;
|
|
19037
|
+
const instance = new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
19038
|
+
if (includes.length > 0) {
|
|
19039
|
+
hydrateIncludes(instance, data, includes, this._request, this._syncEngine, this._baseUrl);
|
|
19040
|
+
}
|
|
19041
|
+
return instance;
|
|
19042
|
+
});
|
|
19043
|
+
}
|
|
19044
|
+
/** Include items in this query (Smart Fetch — single HTTP request). */
|
|
19045
|
+
items(variables) {
|
|
19046
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.LiveContext_ItemsDocument, "items", ["id"]);
|
|
19047
|
+
this._includes.push({
|
|
19048
|
+
fieldName: "items",
|
|
19049
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedItemGeneratedFragmentDoc,
|
|
19050
|
+
variables,
|
|
19051
|
+
isConnection: false,
|
|
19052
|
+
isList: true,
|
|
19053
|
+
variableDefinitions: info.variableDefinitions,
|
|
19054
|
+
fieldArguments: info.fieldArguments,
|
|
19055
|
+
syncMetadata: {
|
|
19056
|
+
entityType: "feedItemGenerateds",
|
|
19057
|
+
requiredFields: ["id", "kind", "title", "data", "createdAt", "updatedAt"]
|
|
19058
|
+
},
|
|
19059
|
+
modelFactory: (req, data, se, bu) => new FeedItemGenerated(req, data, se, bu)
|
|
19060
|
+
});
|
|
19061
|
+
return this;
|
|
19062
|
+
}
|
|
19063
|
+
/** Include source in this query (Smart Fetch — single HTTP request). */
|
|
19064
|
+
source(variables) {
|
|
19065
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.LiveContext_SourceDocument, "source", ["id"]);
|
|
19066
|
+
this._includes.push({
|
|
19067
|
+
fieldName: "source",
|
|
19068
|
+
fragmentDoc: chunkK3X4BLL7_cjs.CandidateFragmentDoc,
|
|
19069
|
+
variables,
|
|
19070
|
+
isConnection: false,
|
|
19071
|
+
isList: false,
|
|
19072
|
+
variableDefinitions: info.variableDefinitions,
|
|
19073
|
+
fieldArguments: info.fieldArguments,
|
|
19074
|
+
syncMetadata: {
|
|
19075
|
+
entityType: "candidates",
|
|
19076
|
+
requiredFields: ["id", "userId", "workspaceId", "createdAt"]
|
|
19077
|
+
},
|
|
19078
|
+
modelFactory: (req, data, se, bu) => new Candidate(req, data, se, bu)
|
|
19079
|
+
});
|
|
19080
|
+
return this;
|
|
19081
|
+
}
|
|
19082
|
+
};
|
|
19083
|
+
var LiveContext_ItemsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19084
|
+
_variables;
|
|
19085
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
19086
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
19087
|
+
this._variables = variables;
|
|
19088
|
+
}
|
|
19089
|
+
async fetch(options) {
|
|
19090
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.LiveContext_ItemsDocument, this._variables, "liveContext");
|
|
19091
|
+
const data = response.liveContext?.items;
|
|
19092
|
+
if (!Array.isArray(data)) return [];
|
|
19093
|
+
return data.map((item) => new FeedItemGenerated(this._request, item, this._syncEngine, this._baseUrl));
|
|
19094
|
+
}
|
|
19095
|
+
};
|
|
19096
|
+
var LiveContext_SourceQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19097
|
+
_variables;
|
|
19098
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
19099
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
19100
|
+
this._variables = variables;
|
|
19101
|
+
}
|
|
19102
|
+
async fetch(options) {
|
|
19103
|
+
const variables = this._variables;
|
|
19104
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.LiveContext_SourceDocument, variables, "liveContext");
|
|
19105
|
+
const data = response.liveContext?.source;
|
|
19106
|
+
return data ? new Candidate(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19107
|
+
}
|
|
19108
|
+
watch(options) {
|
|
19109
|
+
const variables = this._variables;
|
|
19110
|
+
const raw = this._syncEngine.watch(
|
|
19111
|
+
chunkK3X4BLL7_cjs.LiveContext_SourceDocument,
|
|
19112
|
+
variables,
|
|
19113
|
+
"liveContext",
|
|
19114
|
+
async (db) => {
|
|
19115
|
+
const vars = variables;
|
|
19116
|
+
const entity = vars?.id ? await db.table("candidates").get(vars.id) : void 0;
|
|
19117
|
+
return { liveContext: { source: entity ?? null } };
|
|
19118
|
+
}
|
|
19119
|
+
);
|
|
19120
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
19121
|
+
const data = response.liveContext?.source;
|
|
19122
|
+
return data ? new Candidate(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19123
|
+
});
|
|
19124
|
+
}
|
|
19125
|
+
};
|
|
19126
|
+
var LiveContext_Source_EvidencesQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19127
|
+
_variables;
|
|
19128
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
19129
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
19130
|
+
this._variables = variables;
|
|
19131
|
+
}
|
|
19132
|
+
async fetch(options) {
|
|
19133
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.LiveContext_Source_EvidencesDocument, this._variables, "liveContext");
|
|
19134
|
+
const data = response.liveContext?.source?.evidences;
|
|
19135
|
+
if (!Array.isArray(data)) return [];
|
|
19136
|
+
return data.map((item) => new CandidateEvidence(this._request, item, this._syncEngine, this._baseUrl));
|
|
19137
|
+
}
|
|
19138
|
+
};
|
|
19139
|
+
var LiveContextsQuery = class _LiveContextsQuery extends chunk342BFYZZ_cjs.Request {
|
|
19140
|
+
_variables;
|
|
19141
|
+
_includes = [];
|
|
19142
|
+
constructor(request, syncEngine, variables = {}, baseUrl) {
|
|
19143
|
+
super(request, syncEngine, void 0, baseUrl);
|
|
19144
|
+
this._variables = variables;
|
|
19145
|
+
}
|
|
19146
|
+
async fetch(options) {
|
|
19147
|
+
const variables = this._variables;
|
|
19148
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.LiveContextsDocument, "liveContexts", this._includes, variables, true);
|
|
19149
|
+
const response = await this._syncEngine.query(queryDoc, mergedVars, "liveContexts");
|
|
19150
|
+
const data = response.liveContexts;
|
|
19151
|
+
const connection = new LiveContextConnection(this._request, (conn, opts) => new _LiveContextsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
19152
|
+
if (this._includes.length > 0) {
|
|
19153
|
+
const rawNodes = data.nodes ?? [];
|
|
19154
|
+
for (let i = 0; i < connection.nodes.length; i++) {
|
|
19155
|
+
hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, this._includes, this._request, this._syncEngine, this._baseUrl);
|
|
19156
|
+
}
|
|
19157
|
+
}
|
|
19158
|
+
return connection;
|
|
19159
|
+
}
|
|
19160
|
+
watch(options) {
|
|
19161
|
+
const variables = this._variables;
|
|
19162
|
+
const subscriptionId = crypto.randomUUID();
|
|
19163
|
+
const includes = this._includes;
|
|
19164
|
+
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
19165
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.LiveContextsDocument, "liveContexts", includes, variables, true);
|
|
19166
|
+
const raw = this._syncEngine.watch(
|
|
19167
|
+
queryDoc,
|
|
19168
|
+
mergedVars,
|
|
19169
|
+
"liveContexts",
|
|
19170
|
+
async (db) => {
|
|
19171
|
+
const queryKey = buildQueryKey("liveContexts", mergedVars, queryDoc);
|
|
19172
|
+
const qr = await db._queryResults.get(queryKey);
|
|
19173
|
+
if (!qr) {
|
|
19174
|
+
throw new DvinaCacheMissError(queryKey);
|
|
19175
|
+
}
|
|
19176
|
+
const nodes = await db.table("liveContexts").bulkGet(qr.entityIds);
|
|
19177
|
+
const filteredNodes = nodes.filter(Boolean);
|
|
19178
|
+
if (filteredNodes.length !== qr.entityIds.length) {
|
|
19179
|
+
throw new DvinaCacheMissError(queryKey);
|
|
19180
|
+
}
|
|
19181
|
+
const enrichedNodes = includes.length > 0 ? await reconstructConnectionNodes(db, "liveContexts", filteredNodes, includes) : filteredNodes;
|
|
19182
|
+
return { liveContexts: { __typename: "LiveContextConnection", nodes: enrichedNodes, pageInfo: qr?.pageInfo ?? { hasNextPage: false, hasPreviousPage: false }, totalCount: qr?.totalCount ?? 0 } };
|
|
19183
|
+
},
|
|
19184
|
+
{
|
|
19185
|
+
id: subscriptionId,
|
|
19186
|
+
entityType: "liveContexts",
|
|
19187
|
+
operationName: "liveContexts",
|
|
19188
|
+
modelName: "LiveContext",
|
|
19189
|
+
filter: variables?.filter
|
|
19190
|
+
},
|
|
19191
|
+
watchedRelations
|
|
19192
|
+
);
|
|
19193
|
+
return new MappedDvinaQueryRef(raw, (response) => {
|
|
19194
|
+
const data = response.liveContexts;
|
|
19195
|
+
const connection = new LiveContextConnection(this._request, (conn, opts) => new _LiveContextsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
19196
|
+
if (includes.length > 0) {
|
|
19197
|
+
const rawNodes = data.nodes ?? [];
|
|
19198
|
+
for (let i = 0; i < connection.nodes.length; i++) {
|
|
19199
|
+
hydrateIncludes(connection.nodes[i], rawNodes[i] ?? {}, includes, this._request, this._syncEngine, this._baseUrl);
|
|
19200
|
+
}
|
|
19201
|
+
}
|
|
19202
|
+
return connection;
|
|
19203
|
+
});
|
|
19204
|
+
}
|
|
19205
|
+
/** Include items in this query (Smart Fetch — single HTTP request). */
|
|
19206
|
+
items(variables) {
|
|
19207
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.LiveContext_ItemsDocument, "items", ["id"]);
|
|
19208
|
+
this._includes.push({
|
|
19209
|
+
fieldName: "items",
|
|
19210
|
+
fragmentDoc: chunkK3X4BLL7_cjs.FeedItemGeneratedFragmentDoc,
|
|
19211
|
+
variables,
|
|
19212
|
+
isConnection: false,
|
|
19213
|
+
isList: true,
|
|
19214
|
+
variableDefinitions: info.variableDefinitions,
|
|
19215
|
+
fieldArguments: info.fieldArguments,
|
|
19216
|
+
syncMetadata: {
|
|
19217
|
+
entityType: "feedItemGenerateds",
|
|
19218
|
+
requiredFields: ["id", "kind", "title", "data", "createdAt", "updatedAt"]
|
|
19219
|
+
},
|
|
19220
|
+
modelFactory: (req, data, se, bu) => new FeedItemGenerated(req, data, se, bu)
|
|
19221
|
+
});
|
|
19222
|
+
return this;
|
|
19223
|
+
}
|
|
19224
|
+
/** Include source in this query (Smart Fetch — single HTTP request). */
|
|
19225
|
+
source(variables) {
|
|
19226
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.LiveContext_SourceDocument, "source", ["id"]);
|
|
19227
|
+
this._includes.push({
|
|
19228
|
+
fieldName: "source",
|
|
19229
|
+
fragmentDoc: chunkK3X4BLL7_cjs.CandidateFragmentDoc,
|
|
19230
|
+
variables,
|
|
19231
|
+
isConnection: false,
|
|
19232
|
+
isList: false,
|
|
19233
|
+
variableDefinitions: info.variableDefinitions,
|
|
19234
|
+
fieldArguments: info.fieldArguments,
|
|
19235
|
+
syncMetadata: {
|
|
19236
|
+
entityType: "candidates",
|
|
19237
|
+
requiredFields: ["id", "userId", "workspaceId", "createdAt"]
|
|
19238
|
+
},
|
|
19239
|
+
modelFactory: (req, data, se, bu) => new Candidate(req, data, se, bu)
|
|
19240
|
+
});
|
|
19241
|
+
return this;
|
|
19242
|
+
}
|
|
19243
|
+
};
|
|
18924
19244
|
var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18925
19245
|
_variables;
|
|
18926
19246
|
_includes = [];
|
|
@@ -18930,7 +19250,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18930
19250
|
}
|
|
18931
19251
|
async fetch(options) {
|
|
18932
19252
|
const variables = this._variables;
|
|
18933
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19253
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.NotificationDocument, "notification", this._includes, variables);
|
|
18934
19254
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
|
|
18935
19255
|
const data = response.notification;
|
|
18936
19256
|
const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18942,7 +19262,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18942
19262
|
watch(options) {
|
|
18943
19263
|
const variables = this._variables;
|
|
18944
19264
|
const includes = this._includes;
|
|
18945
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19265
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.NotificationDocument, "notification", includes, variables);
|
|
18946
19266
|
const raw = this._syncEngine.watch(
|
|
18947
19267
|
queryDoc,
|
|
18948
19268
|
mergedVars,
|
|
@@ -18980,7 +19300,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
18980
19300
|
}
|
|
18981
19301
|
async fetch(options) {
|
|
18982
19302
|
const variables = this._variables;
|
|
18983
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19303
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
|
|
18984
19304
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
|
|
18985
19305
|
const data = response.notifications;
|
|
18986
19306
|
const connection = new NotificationConnection(this._request, (conn, opts) => new _NotificationsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -18997,7 +19317,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
18997
19317
|
const subscriptionId = crypto.randomUUID();
|
|
18998
19318
|
const includes = this._includes;
|
|
18999
19319
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
19000
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19320
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.NotificationsDocument, "notifications", includes, variables, true);
|
|
19001
19321
|
const raw = this._syncEngine.watch(
|
|
19002
19322
|
queryDoc,
|
|
19003
19323
|
mergedVars,
|
|
@@ -19046,7 +19366,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19046
19366
|
this._variables = variables;
|
|
19047
19367
|
}
|
|
19048
19368
|
async fetch(options) {
|
|
19049
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19369
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
|
|
19050
19370
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
|
|
19051
19371
|
const data = response.notificationsByReference;
|
|
19052
19372
|
if (!Array.isArray(data)) return [];
|
|
@@ -19062,7 +19382,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19062
19382
|
}
|
|
19063
19383
|
async fetch(options) {
|
|
19064
19384
|
const variables = this._variables;
|
|
19065
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19385
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
|
|
19066
19386
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
|
|
19067
19387
|
const data = response.privacyStats;
|
|
19068
19388
|
const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19074,7 +19394,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19074
19394
|
watch(options) {
|
|
19075
19395
|
const variables = this._variables;
|
|
19076
19396
|
const includes = this._includes;
|
|
19077
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19397
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
|
|
19078
19398
|
const raw = this._syncEngine.watch(
|
|
19079
19399
|
queryDoc,
|
|
19080
19400
|
mergedVars,
|
|
@@ -19112,7 +19432,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19112
19432
|
}
|
|
19113
19433
|
async fetch(options) {
|
|
19114
19434
|
const variables = this._variables;
|
|
19115
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19435
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
|
|
19116
19436
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
|
|
19117
19437
|
const data = response.pulseAppSummary;
|
|
19118
19438
|
if (!data) return void 0;
|
|
@@ -19125,7 +19445,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19125
19445
|
watch(options) {
|
|
19126
19446
|
const variables = this._variables;
|
|
19127
19447
|
const includes = this._includes;
|
|
19128
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19448
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
|
|
19129
19449
|
const raw = this._syncEngine.watch(
|
|
19130
19450
|
queryDoc,
|
|
19131
19451
|
mergedVars,
|
|
@@ -19164,7 +19484,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19164
19484
|
}
|
|
19165
19485
|
async fetch(options) {
|
|
19166
19486
|
const variables = this._variables;
|
|
19167
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19487
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
|
|
19168
19488
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
|
|
19169
19489
|
const data = response.pulseEvent;
|
|
19170
19490
|
const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19176,7 +19496,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19176
19496
|
watch(options) {
|
|
19177
19497
|
const variables = this._variables;
|
|
19178
19498
|
const includes = this._includes;
|
|
19179
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19499
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.PulseEventDocument, "pulseEvent", includes, variables);
|
|
19180
19500
|
const raw = this._syncEngine.watch(
|
|
19181
19501
|
queryDoc,
|
|
19182
19502
|
mergedVars,
|
|
@@ -19206,7 +19526,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19206
19526
|
}
|
|
19207
19527
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
19208
19528
|
integration(variables, builder) {
|
|
19209
|
-
const info = extractIncludeInfo(
|
|
19529
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
19210
19530
|
let children;
|
|
19211
19531
|
if (builder) {
|
|
19212
19532
|
const sub = new IntegrationSubBuilder();
|
|
@@ -19215,7 +19535,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19215
19535
|
}
|
|
19216
19536
|
this._includes.push({
|
|
19217
19537
|
fieldName: "integration",
|
|
19218
|
-
fragmentDoc:
|
|
19538
|
+
fragmentDoc: chunkK3X4BLL7_cjs.IntegrationFragmentDoc,
|
|
19219
19539
|
variables,
|
|
19220
19540
|
isConnection: false,
|
|
19221
19541
|
isList: false,
|
|
@@ -19239,14 +19559,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19239
19559
|
}
|
|
19240
19560
|
async fetch(options) {
|
|
19241
19561
|
const variables = this._variables;
|
|
19242
|
-
const response = await this._syncEngine.query(
|
|
19562
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
|
|
19243
19563
|
const data = response.pulseEvent?.integration;
|
|
19244
19564
|
return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19245
19565
|
}
|
|
19246
19566
|
watch(options) {
|
|
19247
19567
|
const variables = this._variables;
|
|
19248
19568
|
const raw = this._syncEngine.watch(
|
|
19249
|
-
|
|
19569
|
+
chunkK3X4BLL7_cjs.PulseEvent_IntegrationDocument,
|
|
19250
19570
|
variables,
|
|
19251
19571
|
"pulseEvent",
|
|
19252
19572
|
async (db) => {
|
|
@@ -19269,14 +19589,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
19269
19589
|
}
|
|
19270
19590
|
async fetch(options) {
|
|
19271
19591
|
const variables = this._variables;
|
|
19272
|
-
const response = await this._syncEngine.query(
|
|
19592
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
|
|
19273
19593
|
const data = response.pulseEvent?.integration?.provider;
|
|
19274
19594
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19275
19595
|
}
|
|
19276
19596
|
watch(options) {
|
|
19277
19597
|
const variables = this._variables;
|
|
19278
19598
|
const raw = this._syncEngine.watch(
|
|
19279
|
-
|
|
19599
|
+
chunkK3X4BLL7_cjs.PulseEvent_Integration_ProviderDocument,
|
|
19280
19600
|
variables,
|
|
19281
19601
|
"pulseEvent",
|
|
19282
19602
|
async (db) => {
|
|
@@ -19300,7 +19620,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19300
19620
|
}
|
|
19301
19621
|
async fetch(options) {
|
|
19302
19622
|
const variables = this._variables;
|
|
19303
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19623
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
|
|
19304
19624
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
|
|
19305
19625
|
const data = response.pulseEvents;
|
|
19306
19626
|
const connection = new PulseEventConnection(this._request, (conn, opts) => new _PulseEventsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -19317,7 +19637,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19317
19637
|
const subscriptionId = crypto.randomUUID();
|
|
19318
19638
|
const includes = this._includes;
|
|
19319
19639
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
19320
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19640
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
|
|
19321
19641
|
const raw = this._syncEngine.watch(
|
|
19322
19642
|
queryDoc,
|
|
19323
19643
|
mergedVars,
|
|
@@ -19359,7 +19679,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19359
19679
|
}
|
|
19360
19680
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
19361
19681
|
integration(variables, builder) {
|
|
19362
|
-
const info = extractIncludeInfo(
|
|
19682
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
19363
19683
|
let children;
|
|
19364
19684
|
if (builder) {
|
|
19365
19685
|
const sub = new IntegrationSubBuilder();
|
|
@@ -19368,7 +19688,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
19368
19688
|
}
|
|
19369
19689
|
this._includes.push({
|
|
19370
19690
|
fieldName: "integration",
|
|
19371
|
-
fragmentDoc:
|
|
19691
|
+
fragmentDoc: chunkK3X4BLL7_cjs.IntegrationFragmentDoc,
|
|
19372
19692
|
variables,
|
|
19373
19693
|
isConnection: false,
|
|
19374
19694
|
isList: false,
|
|
@@ -19392,7 +19712,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19392
19712
|
this._variables = variables;
|
|
19393
19713
|
}
|
|
19394
19714
|
async fetch(options) {
|
|
19395
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19715
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
|
|
19396
19716
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
|
|
19397
19717
|
const data = response.pulseTriggerSettings;
|
|
19398
19718
|
if (!Array.isArray(data)) return [];
|
|
@@ -19401,19 +19721,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19401
19721
|
};
|
|
19402
19722
|
var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19403
19723
|
async fetch(variables) {
|
|
19404
|
-
const response = await this._request(
|
|
19724
|
+
const response = await this._request(chunkK3X4BLL7_cjs.QueryDocument, variables);
|
|
19405
19725
|
return response.query;
|
|
19406
19726
|
}
|
|
19407
19727
|
};
|
|
19408
19728
|
var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19409
19729
|
async fetch(variables) {
|
|
19410
|
-
const response = await this._request(
|
|
19730
|
+
const response = await this._request(chunkK3X4BLL7_cjs.QueryWithInsightIdDocument, variables);
|
|
19411
19731
|
return response.queryWithInsightId;
|
|
19412
19732
|
}
|
|
19413
19733
|
};
|
|
19414
19734
|
var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19415
19735
|
async fetch(variables) {
|
|
19416
|
-
const response = await this._request(
|
|
19736
|
+
const response = await this._request(chunkK3X4BLL7_cjs.QueryWithMessageIdDocument, variables);
|
|
19417
19737
|
return response.queryWithMessageId;
|
|
19418
19738
|
}
|
|
19419
19739
|
};
|
|
@@ -19426,7 +19746,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19426
19746
|
}
|
|
19427
19747
|
async fetch(options) {
|
|
19428
19748
|
const variables = this._variables;
|
|
19429
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19749
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ReportDocument, "report", this._includes, variables);
|
|
19430
19750
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
|
|
19431
19751
|
const data = response.report;
|
|
19432
19752
|
const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19438,7 +19758,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19438
19758
|
watch(options) {
|
|
19439
19759
|
const variables = this._variables;
|
|
19440
19760
|
const includes = this._includes;
|
|
19441
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19761
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ReportDocument, "report", includes, variables);
|
|
19442
19762
|
const raw = this._syncEngine.watch(
|
|
19443
19763
|
queryDoc,
|
|
19444
19764
|
mergedVars,
|
|
@@ -19468,7 +19788,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19468
19788
|
}
|
|
19469
19789
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
19470
19790
|
insights(variables, builder) {
|
|
19471
|
-
const info = extractIncludeInfo(
|
|
19791
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
19472
19792
|
let children;
|
|
19473
19793
|
if (builder) {
|
|
19474
19794
|
const sub = new InsightSubBuilder();
|
|
@@ -19477,7 +19797,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19477
19797
|
}
|
|
19478
19798
|
this._includes.push({
|
|
19479
19799
|
fieldName: "insights",
|
|
19480
|
-
fragmentDoc:
|
|
19800
|
+
fragmentDoc: chunkK3X4BLL7_cjs.InsightConnectionFragmentDoc,
|
|
19481
19801
|
variables,
|
|
19482
19802
|
isConnection: true,
|
|
19483
19803
|
isList: false,
|
|
@@ -19495,10 +19815,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19495
19815
|
}
|
|
19496
19816
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
19497
19817
|
layout(variables) {
|
|
19498
|
-
const info = extractIncludeInfo(
|
|
19818
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
19499
19819
|
this._includes.push({
|
|
19500
19820
|
fieldName: "layout",
|
|
19501
|
-
fragmentDoc:
|
|
19821
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ReportMemberFragmentDoc,
|
|
19502
19822
|
variables,
|
|
19503
19823
|
isConnection: false,
|
|
19504
19824
|
isList: true,
|
|
@@ -19521,18 +19841,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
|
|
|
19521
19841
|
}
|
|
19522
19842
|
async fetch(options) {
|
|
19523
19843
|
const variables = this._variables;
|
|
19524
|
-
const response = await this._syncEngine.query(
|
|
19844
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Report_InsightsDocument, variables, "report");
|
|
19525
19845
|
const data = response.report?.insights;
|
|
19526
19846
|
return new InsightConnection(this._request, (conn, opts) => new _Report_InsightsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
19527
19847
|
}
|
|
19528
19848
|
watch(options) {
|
|
19529
19849
|
const variables = this._variables;
|
|
19530
19850
|
const raw = this._syncEngine.watch(
|
|
19531
|
-
|
|
19851
|
+
chunkK3X4BLL7_cjs.Report_InsightsDocument,
|
|
19532
19852
|
variables,
|
|
19533
19853
|
"report",
|
|
19534
19854
|
async (db) => {
|
|
19535
|
-
const queryKey = buildQueryKey("report", variables,
|
|
19855
|
+
const queryKey = buildQueryKey("report", variables, chunkK3X4BLL7_cjs.Report_InsightsDocument);
|
|
19536
19856
|
const qr = await db._queryResults.get(queryKey);
|
|
19537
19857
|
if (!qr) {
|
|
19538
19858
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -19558,7 +19878,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19558
19878
|
this._variables = variables;
|
|
19559
19879
|
}
|
|
19560
19880
|
async fetch(options) {
|
|
19561
|
-
const response = await this._syncEngine.query(
|
|
19881
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Report_LayoutDocument, this._variables, "report");
|
|
19562
19882
|
const data = response.report?.layout;
|
|
19563
19883
|
if (!Array.isArray(data)) return [];
|
|
19564
19884
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19573,7 +19893,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19573
19893
|
}
|
|
19574
19894
|
async fetch(options) {
|
|
19575
19895
|
const variables = this._variables;
|
|
19576
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19896
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ReportsDocument, "reports", this._includes, variables, true);
|
|
19577
19897
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
|
|
19578
19898
|
const data = response.reports;
|
|
19579
19899
|
const connection = new ReportConnection(this._request, (conn, opts) => new _ReportsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -19590,7 +19910,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19590
19910
|
const subscriptionId = crypto.randomUUID();
|
|
19591
19911
|
const includes = this._includes;
|
|
19592
19912
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
19593
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19913
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.ReportsDocument, "reports", includes, variables, true);
|
|
19594
19914
|
const raw = this._syncEngine.watch(
|
|
19595
19915
|
queryDoc,
|
|
19596
19916
|
mergedVars,
|
|
@@ -19632,7 +19952,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19632
19952
|
}
|
|
19633
19953
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
19634
19954
|
insights(variables, builder) {
|
|
19635
|
-
const info = extractIncludeInfo(
|
|
19955
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
19636
19956
|
let children;
|
|
19637
19957
|
if (builder) {
|
|
19638
19958
|
const sub = new InsightSubBuilder();
|
|
@@ -19641,7 +19961,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19641
19961
|
}
|
|
19642
19962
|
this._includes.push({
|
|
19643
19963
|
fieldName: "insights",
|
|
19644
|
-
fragmentDoc:
|
|
19964
|
+
fragmentDoc: chunkK3X4BLL7_cjs.InsightConnectionFragmentDoc,
|
|
19645
19965
|
variables,
|
|
19646
19966
|
isConnection: true,
|
|
19647
19967
|
isList: false,
|
|
@@ -19659,10 +19979,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19659
19979
|
}
|
|
19660
19980
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
19661
19981
|
layout(variables) {
|
|
19662
|
-
const info = extractIncludeInfo(
|
|
19982
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
19663
19983
|
this._includes.push({
|
|
19664
19984
|
fieldName: "layout",
|
|
19665
|
-
fragmentDoc:
|
|
19985
|
+
fragmentDoc: chunkK3X4BLL7_cjs.ReportMemberFragmentDoc,
|
|
19666
19986
|
variables,
|
|
19667
19987
|
isConnection: false,
|
|
19668
19988
|
isList: true,
|
|
@@ -19686,7 +20006,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19686
20006
|
}
|
|
19687
20007
|
async fetch(options) {
|
|
19688
20008
|
const variables = this._variables;
|
|
19689
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20009
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.TableDocument, "table", this._includes, variables);
|
|
19690
20010
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
|
|
19691
20011
|
const data = response.table;
|
|
19692
20012
|
const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19698,7 +20018,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19698
20018
|
watch(options) {
|
|
19699
20019
|
const variables = this._variables;
|
|
19700
20020
|
const includes = this._includes;
|
|
19701
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20021
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.TableDocument, "table", includes, variables);
|
|
19702
20022
|
const raw = this._syncEngine.watch(
|
|
19703
20023
|
queryDoc,
|
|
19704
20024
|
mergedVars,
|
|
@@ -19728,7 +20048,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19728
20048
|
}
|
|
19729
20049
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
19730
20050
|
database(variables, builder) {
|
|
19731
|
-
const info = extractIncludeInfo(
|
|
20051
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
19732
20052
|
let children;
|
|
19733
20053
|
if (builder) {
|
|
19734
20054
|
const sub = new DatabaseSubBuilder();
|
|
@@ -19737,7 +20057,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19737
20057
|
}
|
|
19738
20058
|
this._includes.push({
|
|
19739
20059
|
fieldName: "database",
|
|
19740
|
-
fragmentDoc:
|
|
20060
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DatabaseFragmentDoc,
|
|
19741
20061
|
variables,
|
|
19742
20062
|
isConnection: false,
|
|
19743
20063
|
isList: false,
|
|
@@ -19754,7 +20074,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19754
20074
|
}
|
|
19755
20075
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
19756
20076
|
document(variables, builder) {
|
|
19757
|
-
const info = extractIncludeInfo(
|
|
20077
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
19758
20078
|
let children;
|
|
19759
20079
|
if (builder) {
|
|
19760
20080
|
const sub = new DocumentSubBuilder();
|
|
@@ -19763,7 +20083,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19763
20083
|
}
|
|
19764
20084
|
this._includes.push({
|
|
19765
20085
|
fieldName: "document",
|
|
19766
|
-
fragmentDoc:
|
|
20086
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentFragmentDoc,
|
|
19767
20087
|
variables,
|
|
19768
20088
|
isConnection: false,
|
|
19769
20089
|
isList: false,
|
|
@@ -19780,10 +20100,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19780
20100
|
}
|
|
19781
20101
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
19782
20102
|
fromRelations(variables) {
|
|
19783
|
-
const info = extractIncludeInfo(
|
|
20103
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
19784
20104
|
this._includes.push({
|
|
19785
20105
|
fieldName: "fromRelations",
|
|
19786
|
-
fragmentDoc:
|
|
20106
|
+
fragmentDoc: chunkK3X4BLL7_cjs.RelationFragmentDoc,
|
|
19787
20107
|
variables,
|
|
19788
20108
|
isConnection: false,
|
|
19789
20109
|
isList: true,
|
|
@@ -19799,10 +20119,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19799
20119
|
}
|
|
19800
20120
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
19801
20121
|
toRelations(variables) {
|
|
19802
|
-
const info = extractIncludeInfo(
|
|
20122
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
19803
20123
|
this._includes.push({
|
|
19804
20124
|
fieldName: "toRelations",
|
|
19805
|
-
fragmentDoc:
|
|
20125
|
+
fragmentDoc: chunkK3X4BLL7_cjs.RelationFragmentDoc,
|
|
19806
20126
|
variables,
|
|
19807
20127
|
isConnection: false,
|
|
19808
20128
|
isList: true,
|
|
@@ -19825,14 +20145,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19825
20145
|
}
|
|
19826
20146
|
async fetch(options) {
|
|
19827
20147
|
const variables = this._variables;
|
|
19828
|
-
const response = await this._syncEngine.query(
|
|
20148
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Table_DatabaseDocument, variables, "table");
|
|
19829
20149
|
const data = response.table?.database;
|
|
19830
20150
|
return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19831
20151
|
}
|
|
19832
20152
|
watch(options) {
|
|
19833
20153
|
const variables = this._variables;
|
|
19834
20154
|
const raw = this._syncEngine.watch(
|
|
19835
|
-
|
|
20155
|
+
chunkK3X4BLL7_cjs.Table_DatabaseDocument,
|
|
19836
20156
|
variables,
|
|
19837
20157
|
"table",
|
|
19838
20158
|
async (db) => {
|
|
@@ -19855,14 +20175,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19855
20175
|
}
|
|
19856
20176
|
async fetch(options) {
|
|
19857
20177
|
const variables = this._variables;
|
|
19858
|
-
const response = await this._syncEngine.query(
|
|
20178
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Table_Database_EngineDocument, variables, "table");
|
|
19859
20179
|
const data = response.table?.database?.engine;
|
|
19860
20180
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19861
20181
|
}
|
|
19862
20182
|
watch(options) {
|
|
19863
20183
|
const variables = this._variables;
|
|
19864
20184
|
const raw = this._syncEngine.watch(
|
|
19865
|
-
|
|
20185
|
+
chunkK3X4BLL7_cjs.Table_Database_EngineDocument,
|
|
19866
20186
|
variables,
|
|
19867
20187
|
"table",
|
|
19868
20188
|
async (db) => {
|
|
@@ -19885,14 +20205,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19885
20205
|
}
|
|
19886
20206
|
async fetch(options) {
|
|
19887
20207
|
const variables = this._variables;
|
|
19888
|
-
const response = await this._syncEngine.query(
|
|
20208
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Table_DocumentDocument, variables, "table");
|
|
19889
20209
|
const data = response.table?.document;
|
|
19890
20210
|
return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19891
20211
|
}
|
|
19892
20212
|
watch(options) {
|
|
19893
20213
|
const variables = this._variables;
|
|
19894
20214
|
const raw = this._syncEngine.watch(
|
|
19895
|
-
|
|
20215
|
+
chunkK3X4BLL7_cjs.Table_DocumentDocument,
|
|
19896
20216
|
variables,
|
|
19897
20217
|
"table",
|
|
19898
20218
|
async (db) => {
|
|
@@ -19914,7 +20234,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19914
20234
|
this._variables = variables;
|
|
19915
20235
|
}
|
|
19916
20236
|
async fetch(options) {
|
|
19917
|
-
const response = await this._syncEngine.query(
|
|
20237
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Table_Document_ContentsDocument, this._variables, "table");
|
|
19918
20238
|
const data = response.table?.document?.contents;
|
|
19919
20239
|
if (!Array.isArray(data)) return [];
|
|
19920
20240
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19928,14 +20248,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19928
20248
|
}
|
|
19929
20249
|
async fetch(options) {
|
|
19930
20250
|
const variables = this._variables;
|
|
19931
|
-
const response = await this._syncEngine.query(
|
|
20251
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Table_Document_FileDocument, variables, "table");
|
|
19932
20252
|
const data = response.table?.document?.file;
|
|
19933
20253
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19934
20254
|
}
|
|
19935
20255
|
watch(options) {
|
|
19936
20256
|
const variables = this._variables;
|
|
19937
20257
|
const raw = this._syncEngine.watch(
|
|
19938
|
-
|
|
20258
|
+
chunkK3X4BLL7_cjs.Table_Document_FileDocument,
|
|
19939
20259
|
variables,
|
|
19940
20260
|
"table",
|
|
19941
20261
|
async (db) => {
|
|
@@ -19958,14 +20278,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19958
20278
|
}
|
|
19959
20279
|
async fetch(options) {
|
|
19960
20280
|
const variables = this._variables;
|
|
19961
|
-
const response = await this._syncEngine.query(
|
|
20281
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Table_Document_FormatDocument, variables, "table");
|
|
19962
20282
|
const data = response.table?.document?.format;
|
|
19963
20283
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19964
20284
|
}
|
|
19965
20285
|
watch(options) {
|
|
19966
20286
|
const variables = this._variables;
|
|
19967
20287
|
const raw = this._syncEngine.watch(
|
|
19968
|
-
|
|
20288
|
+
chunkK3X4BLL7_cjs.Table_Document_FormatDocument,
|
|
19969
20289
|
variables,
|
|
19970
20290
|
"table",
|
|
19971
20291
|
async (db) => {
|
|
@@ -19987,7 +20307,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19987
20307
|
this._variables = variables;
|
|
19988
20308
|
}
|
|
19989
20309
|
async fetch(options) {
|
|
19990
|
-
const response = await this._syncEngine.query(
|
|
20310
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Table_FromRelationsDocument, this._variables, "table");
|
|
19991
20311
|
const data = response.table?.fromRelations;
|
|
19992
20312
|
if (!Array.isArray(data)) return [];
|
|
19993
20313
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -20000,7 +20320,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20000
20320
|
this._variables = variables;
|
|
20001
20321
|
}
|
|
20002
20322
|
async fetch(options) {
|
|
20003
|
-
const response = await this._syncEngine.query(
|
|
20323
|
+
const response = await this._syncEngine.query(chunkK3X4BLL7_cjs.Table_ToRelationsDocument, this._variables, "table");
|
|
20004
20324
|
const data = response.table?.toRelations;
|
|
20005
20325
|
if (!Array.isArray(data)) return [];
|
|
20006
20326
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -20015,7 +20335,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20015
20335
|
}
|
|
20016
20336
|
async fetch(options) {
|
|
20017
20337
|
const variables = this._variables;
|
|
20018
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20338
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.TablesDocument, "tables", this._includes, variables, true);
|
|
20019
20339
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
|
|
20020
20340
|
const data = response.tables;
|
|
20021
20341
|
const connection = new TableConnection(this._request, (conn, opts) => new _TablesQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -20032,7 +20352,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20032
20352
|
const subscriptionId = crypto.randomUUID();
|
|
20033
20353
|
const includes = this._includes;
|
|
20034
20354
|
const watchedRelations = includes.flatMap((include) => include.syncMetadata ? [{ fieldName: include.fieldName, entityType: include.syncMetadata.entityType, requiredFields: include.syncMetadata.requiredFields, isConnection: include.isConnection, isList: Boolean(include.isList), hasNestedIncludes: Boolean(include.children?.length) }] : []);
|
|
20035
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20355
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.TablesDocument, "tables", includes, variables, true);
|
|
20036
20356
|
const raw = this._syncEngine.watch(
|
|
20037
20357
|
queryDoc,
|
|
20038
20358
|
mergedVars,
|
|
@@ -20074,7 +20394,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20074
20394
|
}
|
|
20075
20395
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
20076
20396
|
database(variables, builder) {
|
|
20077
|
-
const info = extractIncludeInfo(
|
|
20397
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
20078
20398
|
let children;
|
|
20079
20399
|
if (builder) {
|
|
20080
20400
|
const sub = new DatabaseSubBuilder();
|
|
@@ -20083,7 +20403,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20083
20403
|
}
|
|
20084
20404
|
this._includes.push({
|
|
20085
20405
|
fieldName: "database",
|
|
20086
|
-
fragmentDoc:
|
|
20406
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DatabaseFragmentDoc,
|
|
20087
20407
|
variables,
|
|
20088
20408
|
isConnection: false,
|
|
20089
20409
|
isList: false,
|
|
@@ -20100,7 +20420,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20100
20420
|
}
|
|
20101
20421
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
20102
20422
|
document(variables, builder) {
|
|
20103
|
-
const info = extractIncludeInfo(
|
|
20423
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
20104
20424
|
let children;
|
|
20105
20425
|
if (builder) {
|
|
20106
20426
|
const sub = new DocumentSubBuilder();
|
|
@@ -20109,7 +20429,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20109
20429
|
}
|
|
20110
20430
|
this._includes.push({
|
|
20111
20431
|
fieldName: "document",
|
|
20112
|
-
fragmentDoc:
|
|
20432
|
+
fragmentDoc: chunkK3X4BLL7_cjs.DocumentFragmentDoc,
|
|
20113
20433
|
variables,
|
|
20114
20434
|
isConnection: false,
|
|
20115
20435
|
isList: false,
|
|
@@ -20126,10 +20446,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20126
20446
|
}
|
|
20127
20447
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
20128
20448
|
fromRelations(variables) {
|
|
20129
|
-
const info = extractIncludeInfo(
|
|
20449
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
20130
20450
|
this._includes.push({
|
|
20131
20451
|
fieldName: "fromRelations",
|
|
20132
|
-
fragmentDoc:
|
|
20452
|
+
fragmentDoc: chunkK3X4BLL7_cjs.RelationFragmentDoc,
|
|
20133
20453
|
variables,
|
|
20134
20454
|
isConnection: false,
|
|
20135
20455
|
isList: true,
|
|
@@ -20145,10 +20465,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20145
20465
|
}
|
|
20146
20466
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
20147
20467
|
toRelations(variables) {
|
|
20148
|
-
const info = extractIncludeInfo(
|
|
20468
|
+
const info = extractIncludeInfo(chunkK3X4BLL7_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
20149
20469
|
this._includes.push({
|
|
20150
20470
|
fieldName: "toRelations",
|
|
20151
|
-
fragmentDoc:
|
|
20471
|
+
fragmentDoc: chunkK3X4BLL7_cjs.RelationFragmentDoc,
|
|
20152
20472
|
variables,
|
|
20153
20473
|
isConnection: false,
|
|
20154
20474
|
isList: true,
|
|
@@ -20172,7 +20492,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20172
20492
|
}
|
|
20173
20493
|
async fetch(options) {
|
|
20174
20494
|
const variables = this._variables;
|
|
20175
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20495
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
|
|
20176
20496
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
|
|
20177
20497
|
const data = response.userSkillFile;
|
|
20178
20498
|
const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -20184,7 +20504,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20184
20504
|
watch(options) {
|
|
20185
20505
|
const variables = this._variables;
|
|
20186
20506
|
const includes = this._includes;
|
|
20187
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20507
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
|
|
20188
20508
|
const raw = this._syncEngine.watch(
|
|
20189
20509
|
queryDoc,
|
|
20190
20510
|
mergedVars,
|
|
@@ -20221,7 +20541,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20221
20541
|
this._variables = variables;
|
|
20222
20542
|
}
|
|
20223
20543
|
async fetch(options) {
|
|
20224
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20544
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
|
|
20225
20545
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
|
|
20226
20546
|
const data = response.userSkillFiles;
|
|
20227
20547
|
if (!Array.isArray(data)) return [];
|
|
@@ -20237,7 +20557,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20237
20557
|
}
|
|
20238
20558
|
async fetch(options) {
|
|
20239
20559
|
const variables = this._variables;
|
|
20240
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20560
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
|
|
20241
20561
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
|
|
20242
20562
|
const data = response.userSkillFolder;
|
|
20243
20563
|
const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -20249,7 +20569,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20249
20569
|
watch(options) {
|
|
20250
20570
|
const variables = this._variables;
|
|
20251
20571
|
const includes = this._includes;
|
|
20252
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20572
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
|
|
20253
20573
|
const raw = this._syncEngine.watch(
|
|
20254
20574
|
queryDoc,
|
|
20255
20575
|
mergedVars,
|
|
@@ -20286,7 +20606,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20286
20606
|
this._variables = variables;
|
|
20287
20607
|
}
|
|
20288
20608
|
async fetch(options) {
|
|
20289
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20609
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
|
|
20290
20610
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
|
|
20291
20611
|
const data = response.userSkillFolders;
|
|
20292
20612
|
if (!Array.isArray(data)) return [];
|
|
@@ -20302,7 +20622,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20302
20622
|
}
|
|
20303
20623
|
async fetch(options) {
|
|
20304
20624
|
const variables = this._variables;
|
|
20305
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20625
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
|
|
20306
20626
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
|
|
20307
20627
|
const data = response.workspaceDeletionSchedule;
|
|
20308
20628
|
if (!data) return void 0;
|
|
@@ -20315,7 +20635,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20315
20635
|
watch(options) {
|
|
20316
20636
|
const variables = this._variables;
|
|
20317
20637
|
const includes = this._includes;
|
|
20318
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20638
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkK3X4BLL7_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
|
|
20319
20639
|
const raw = this._syncEngine.watch(
|
|
20320
20640
|
queryDoc,
|
|
20321
20641
|
mergedVars,
|
|
@@ -20347,7 +20667,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20347
20667
|
};
|
|
20348
20668
|
var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
20349
20669
|
async *subscribe(variables) {
|
|
20350
|
-
for await (const response of this._subscribe(
|
|
20670
|
+
for await (const response of this._subscribe(chunkK3X4BLL7_cjs.McpAuthUpdatesDocument, variables)) {
|
|
20351
20671
|
const data = response.mcpAuthUpdates;
|
|
20352
20672
|
yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
20353
20673
|
}
|
|
@@ -20355,7 +20675,7 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20355
20675
|
};
|
|
20356
20676
|
var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
20357
20677
|
async *subscribe(variables) {
|
|
20358
|
-
for await (const response of this._subscribe(
|
|
20678
|
+
for await (const response of this._subscribe(chunkK3X4BLL7_cjs.TokenUsageUpdatesDocument, variables)) {
|
|
20359
20679
|
const data = response.tokenUsageUpdates;
|
|
20360
20680
|
yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
20361
20681
|
}
|
|
@@ -20828,6 +21148,14 @@ var DvinaSdk = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20828
21148
|
interpretations(variables) {
|
|
20829
21149
|
return new InterpretationsQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
20830
21150
|
}
|
|
21151
|
+
/** Query: liveContext — call .fetch() or .watch() to execute. */
|
|
21152
|
+
liveContext(variables) {
|
|
21153
|
+
return new LiveContextQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
21154
|
+
}
|
|
21155
|
+
/** Query: liveContexts — call .fetch() or .watch() to execute. */
|
|
21156
|
+
liveContexts(variables) {
|
|
21157
|
+
return new LiveContextsQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
21158
|
+
}
|
|
20831
21159
|
/** Query: notification — call .fetch() or .watch() to execute. */
|
|
20832
21160
|
notification(variables) {
|
|
20833
21161
|
return new NotificationQuery(this._request, this._syncEngine, variables, this._baseUrl);
|
|
@@ -21168,6 +21496,13 @@ exports.InterpretationConnection = InterpretationConnection;
|
|
|
21168
21496
|
exports.InterpretationsQuery = InterpretationsQuery;
|
|
21169
21497
|
exports.Invocation = Invocation;
|
|
21170
21498
|
exports.LiveContext = LiveContext;
|
|
21499
|
+
exports.LiveContextConnection = LiveContextConnection;
|
|
21500
|
+
exports.LiveContextQuery = LiveContextQuery;
|
|
21501
|
+
exports.LiveContextSubBuilder = LiveContextSubBuilder;
|
|
21502
|
+
exports.LiveContext_ItemsQuery = LiveContext_ItemsQuery;
|
|
21503
|
+
exports.LiveContext_SourceQuery = LiveContext_SourceQuery;
|
|
21504
|
+
exports.LiveContext_Source_EvidencesQuery = LiveContext_Source_EvidencesQuery;
|
|
21505
|
+
exports.LiveContextsQuery = LiveContextsQuery;
|
|
21171
21506
|
exports.MUTATION_CACHE_RULES = MUTATION_CACHE_RULES;
|
|
21172
21507
|
exports.MappedDvinaQueryRef = MappedDvinaQueryRef;
|
|
21173
21508
|
exports.McpAuthUpdateModel = McpAuthUpdateModel;
|
|
@@ -21303,5 +21638,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
|
|
|
21303
21638
|
exports.reconstructConnectionNodes = reconstructConnectionNodes;
|
|
21304
21639
|
exports.reconstructEntity = reconstructEntity;
|
|
21305
21640
|
exports.uploadFile = uploadFile;
|
|
21306
|
-
//# sourceMappingURL=chunk-
|
|
21307
|
-
//# sourceMappingURL=chunk-
|
|
21641
|
+
//# sourceMappingURL=chunk-IHJ5KI6X.cjs.map
|
|
21642
|
+
//# sourceMappingURL=chunk-IHJ5KI6X.cjs.map
|