@dvina/sdk 4.0.199 → 4.0.204
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-AR6ISLTA.cjs → _generated_documents-CRKVFZQI.cjs} +603 -599
- package/dist/{_generated_documents-AR6ISLTA.cjs.map → _generated_documents-CRKVFZQI.cjs.map} +1 -1
- package/dist/_generated_documents-F3ZIS3JM.js +4 -0
- package/dist/{_generated_documents-XGXYPVHZ.js.map → _generated_documents-F3ZIS3JM.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-NE4IXNQK.js → chunk-CHUY7Y2H.js} +11 -9
- package/dist/chunk-CHUY7Y2H.js.map +1 -0
- package/dist/{chunk-SLPANKVO.cjs → chunk-F4NHYL2R.cjs} +11 -8
- package/dist/chunk-F4NHYL2R.cjs.map +1 -0
- package/dist/{chunk-SMEJRZG2.cjs → chunk-SQU7RYLF.cjs} +609 -589
- package/dist/chunk-SQU7RYLF.cjs.map +1 -0
- package/dist/{chunk-U3M3VJSQ.js → chunk-YWW2VBNQ.js} +25 -6
- package/dist/chunk-YWW2VBNQ.js.map +1 -0
- package/dist/{client-Bcq6vHcs.d.cts → client-BsG-S2_P.d.cts} +33 -1
- package/dist/{client-VdxyMRd6.d.ts → client-cnmS1OmF.d.ts} +33 -1
- package/dist/index.cjs +448 -444
- package/dist/index.d.cts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/_generated_documents-XGXYPVHZ.js +0 -4
- package/dist/chunk-NE4IXNQK.js.map +0 -1
- package/dist/chunk-SLPANKVO.cjs.map +0 -1
- package/dist/chunk-SMEJRZG2.cjs.map +0 -1
- package/dist/chunk-U3M3VJSQ.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 chunkF4NHYL2R_cjs = require('./chunk-F4NHYL2R.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
|
|
@@ -7561,7 +7561,7 @@ function createWsTransport(options) {
|
|
|
7561
7561
|
}
|
|
7562
7562
|
|
|
7563
7563
|
// src/_generated_store.ts
|
|
7564
|
-
var SCHEMA_HASH = "
|
|
7564
|
+
var SCHEMA_HASH = "1438f7de63b12149";
|
|
7565
7565
|
var DB_ENTITY_SCHEMA = {
|
|
7566
7566
|
actions: "id",
|
|
7567
7567
|
agents: "id",
|
|
@@ -7594,6 +7594,7 @@ var DB_ENTITY_SCHEMA = {
|
|
|
7594
7594
|
feedItemGenerateds: "id",
|
|
7595
7595
|
feedItems: "id",
|
|
7596
7596
|
feedLiveContextDatas: "id",
|
|
7597
|
+
feedProjectDatas: "id",
|
|
7597
7598
|
feedPulseDatas: "id",
|
|
7598
7599
|
feedSendMessageActions: "id",
|
|
7599
7600
|
files: "id",
|
|
@@ -7669,6 +7670,7 @@ var TYPENAME_TO_TABLE = {
|
|
|
7669
7670
|
FeedItem: "feedItems",
|
|
7670
7671
|
FeedItemGenerated: "feedItemGenerateds",
|
|
7671
7672
|
FeedLiveContextData: "feedLiveContextDatas",
|
|
7673
|
+
FeedProjectData: "feedProjectDatas",
|
|
7672
7674
|
FeedPulseData: "feedPulseDatas",
|
|
7673
7675
|
FeedSendMessageAction: "feedSendMessageActions",
|
|
7674
7676
|
File: "files",
|
|
@@ -7744,6 +7746,7 @@ var TABLE_TO_TYPENAME = {
|
|
|
7744
7746
|
feedItemGenerateds: "FeedItemGenerated",
|
|
7745
7747
|
feedItems: "FeedItem",
|
|
7746
7748
|
feedLiveContextDatas: "FeedLiveContextData",
|
|
7749
|
+
feedProjectDatas: "FeedProjectData",
|
|
7747
7750
|
feedPulseDatas: "FeedPulseData",
|
|
7748
7751
|
feedSendMessageActions: "FeedSendMessageAction",
|
|
7749
7752
|
files: "File",
|
|
@@ -10367,7 +10370,7 @@ function createLazySyncEngine(httpTransport, sseUrl, syncPolicyUrl, getToken, ge
|
|
|
10367
10370
|
var DEFAULT_UPLOAD_CONTENT_TYPE = "application/octet-stream";
|
|
10368
10371
|
var AZURE_BLOCK_BLOB_TYPE = "BlockBlob";
|
|
10369
10372
|
async function uploadFile(request, getToken, file, name, options) {
|
|
10370
|
-
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-
|
|
10373
|
+
const { GenerateUploadUriDocument: GenerateUploadUriDocument2 } = await import('./_generated_documents-CRKVFZQI.cjs');
|
|
10371
10374
|
const key = `upload_${Date.now()}`;
|
|
10372
10375
|
const response = await request(
|
|
10373
10376
|
GenerateUploadUriDocument2,
|
|
@@ -10575,6 +10578,9 @@ function createDvinaClient(options) {
|
|
|
10575
10578
|
dbInitPromise = getToken().then((token) => getOrCreateDatabase(token)).then((database) => {
|
|
10576
10579
|
db = database;
|
|
10577
10580
|
return db;
|
|
10581
|
+
}).catch((error) => {
|
|
10582
|
+
dbInitPromise = void 0;
|
|
10583
|
+
throw error;
|
|
10578
10584
|
});
|
|
10579
10585
|
return dbInitPromise;
|
|
10580
10586
|
}
|
|
@@ -11902,6 +11908,8 @@ var FeedItem = class extends DvinaModel {
|
|
|
11902
11908
|
return new FeedInsightData(request, value, syncEngine, baseUrl);
|
|
11903
11909
|
case "FeedIntegrationData":
|
|
11904
11910
|
return new FeedIntegrationData(request, value, syncEngine, baseUrl);
|
|
11911
|
+
case "FeedProjectData":
|
|
11912
|
+
return new FeedProjectData(request, value, syncEngine, baseUrl);
|
|
11905
11913
|
case "FeedLiveContextData":
|
|
11906
11914
|
return new FeedLiveContextData(request, value, syncEngine, baseUrl);
|
|
11907
11915
|
case "FeedPulseData":
|
|
@@ -11952,6 +11960,17 @@ var FeedLiveContextData = class extends DvinaModel {
|
|
|
11952
11960
|
this.sources = data.sources;
|
|
11953
11961
|
}
|
|
11954
11962
|
};
|
|
11963
|
+
var FeedProjectData = class extends DvinaModel {
|
|
11964
|
+
iconDataUrl;
|
|
11965
|
+
kind;
|
|
11966
|
+
projectSource;
|
|
11967
|
+
constructor(request, data, syncEngine, baseUrl) {
|
|
11968
|
+
super(request, syncEngine, baseUrl);
|
|
11969
|
+
this.iconDataUrl = data.iconDataUrl ?? void 0;
|
|
11970
|
+
this.kind = data.kind;
|
|
11971
|
+
this.projectSource = data.projectSource;
|
|
11972
|
+
}
|
|
11973
|
+
};
|
|
11955
11974
|
var FeedPulseData = class extends DvinaModel {
|
|
11956
11975
|
kind;
|
|
11957
11976
|
priority;
|
|
@@ -13466,7 +13485,7 @@ var AgentSubBuilder = class {
|
|
|
13466
13485
|
_includes = [];
|
|
13467
13486
|
/** Include chats in the parent query. */
|
|
13468
13487
|
chats(variables, builder) {
|
|
13469
|
-
const info = extractIncludeInfo(
|
|
13488
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
13470
13489
|
let children;
|
|
13471
13490
|
if (builder) {
|
|
13472
13491
|
const sub = new ChatSubBuilder();
|
|
@@ -13475,7 +13494,7 @@ var AgentSubBuilder = class {
|
|
|
13475
13494
|
}
|
|
13476
13495
|
this._includes.push({
|
|
13477
13496
|
fieldName: "chats",
|
|
13478
|
-
fragmentDoc:
|
|
13497
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatConnectionFragmentDoc,
|
|
13479
13498
|
variables,
|
|
13480
13499
|
isConnection: true,
|
|
13481
13500
|
isList: false,
|
|
@@ -13497,7 +13516,7 @@ var ArtifactSubBuilder = class {
|
|
|
13497
13516
|
_includes = [];
|
|
13498
13517
|
/** Include chat in the parent query. */
|
|
13499
13518
|
chat(variables, builder) {
|
|
13500
|
-
const info = extractIncludeInfo(
|
|
13519
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
13501
13520
|
let children;
|
|
13502
13521
|
if (builder) {
|
|
13503
13522
|
const sub = new ChatSubBuilder();
|
|
@@ -13506,7 +13525,7 @@ var ArtifactSubBuilder = class {
|
|
|
13506
13525
|
}
|
|
13507
13526
|
this._includes.push({
|
|
13508
13527
|
fieldName: "chat",
|
|
13509
|
-
fragmentDoc:
|
|
13528
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatFragmentDoc,
|
|
13510
13529
|
variables,
|
|
13511
13530
|
isConnection: false,
|
|
13512
13531
|
isList: false,
|
|
@@ -13523,10 +13542,10 @@ var ArtifactSubBuilder = class {
|
|
|
13523
13542
|
}
|
|
13524
13543
|
/** Include file in the parent query. */
|
|
13525
13544
|
file(variables) {
|
|
13526
|
-
const info = extractIncludeInfo(
|
|
13545
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
13527
13546
|
this._includes.push({
|
|
13528
13547
|
fieldName: "file",
|
|
13529
|
-
fragmentDoc:
|
|
13548
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FileFragmentDoc,
|
|
13530
13549
|
variables,
|
|
13531
13550
|
isConnection: false,
|
|
13532
13551
|
isList: false,
|
|
@@ -13542,7 +13561,7 @@ var ArtifactSubBuilder = class {
|
|
|
13542
13561
|
}
|
|
13543
13562
|
/** Include message in the parent query. */
|
|
13544
13563
|
message(variables, builder) {
|
|
13545
|
-
const info = extractIncludeInfo(
|
|
13564
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
13546
13565
|
let children;
|
|
13547
13566
|
if (builder) {
|
|
13548
13567
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13551,7 +13570,7 @@ var ArtifactSubBuilder = class {
|
|
|
13551
13570
|
}
|
|
13552
13571
|
this._includes.push({
|
|
13553
13572
|
fieldName: "message",
|
|
13554
|
-
fragmentDoc:
|
|
13573
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatMessageFragmentDoc,
|
|
13555
13574
|
variables,
|
|
13556
13575
|
isConnection: false,
|
|
13557
13576
|
isList: false,
|
|
@@ -13572,7 +13591,7 @@ var ChatSubBuilder = class {
|
|
|
13572
13591
|
_includes = [];
|
|
13573
13592
|
/** Include agents in the parent query. */
|
|
13574
13593
|
agents(variables, builder) {
|
|
13575
|
-
const info = extractIncludeInfo(
|
|
13594
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
13576
13595
|
let children;
|
|
13577
13596
|
if (builder) {
|
|
13578
13597
|
const sub = new AgentSubBuilder();
|
|
@@ -13581,7 +13600,7 @@ var ChatSubBuilder = class {
|
|
|
13581
13600
|
}
|
|
13582
13601
|
this._includes.push({
|
|
13583
13602
|
fieldName: "agents",
|
|
13584
|
-
fragmentDoc:
|
|
13603
|
+
fragmentDoc: chunkF4NHYL2R_cjs.AgentConnectionFragmentDoc,
|
|
13585
13604
|
variables,
|
|
13586
13605
|
isConnection: true,
|
|
13587
13606
|
isList: false,
|
|
@@ -13599,7 +13618,7 @@ var ChatSubBuilder = class {
|
|
|
13599
13618
|
}
|
|
13600
13619
|
/** Include artifacts in the parent query. */
|
|
13601
13620
|
artifacts(variables, builder) {
|
|
13602
|
-
const info = extractIncludeInfo(
|
|
13621
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
13603
13622
|
let children;
|
|
13604
13623
|
if (builder) {
|
|
13605
13624
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13608,7 +13627,7 @@ var ChatSubBuilder = class {
|
|
|
13608
13627
|
}
|
|
13609
13628
|
this._includes.push({
|
|
13610
13629
|
fieldName: "artifacts",
|
|
13611
|
-
fragmentDoc:
|
|
13630
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ArtifactConnectionFragmentDoc,
|
|
13612
13631
|
variables,
|
|
13613
13632
|
isConnection: true,
|
|
13614
13633
|
isList: false,
|
|
@@ -13626,10 +13645,10 @@ var ChatSubBuilder = class {
|
|
|
13626
13645
|
}
|
|
13627
13646
|
/** Include desktopDevice in the parent query. */
|
|
13628
13647
|
desktopDevice(variables) {
|
|
13629
|
-
const info = extractIncludeInfo(
|
|
13648
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
|
|
13630
13649
|
this._includes.push({
|
|
13631
13650
|
fieldName: "desktopDevice",
|
|
13632
|
-
fragmentDoc:
|
|
13651
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DesktopDeviceFragmentDoc,
|
|
13633
13652
|
variables,
|
|
13634
13653
|
isConnection: false,
|
|
13635
13654
|
isList: false,
|
|
@@ -13645,7 +13664,7 @@ var ChatSubBuilder = class {
|
|
|
13645
13664
|
}
|
|
13646
13665
|
/** Include insight in the parent query. */
|
|
13647
13666
|
insight(variables, builder) {
|
|
13648
|
-
const info = extractIncludeInfo(
|
|
13667
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
13649
13668
|
let children;
|
|
13650
13669
|
if (builder) {
|
|
13651
13670
|
const sub = new InsightSubBuilder();
|
|
@@ -13654,7 +13673,7 @@ var ChatSubBuilder = class {
|
|
|
13654
13673
|
}
|
|
13655
13674
|
this._includes.push({
|
|
13656
13675
|
fieldName: "insight",
|
|
13657
|
-
fragmentDoc:
|
|
13676
|
+
fragmentDoc: chunkF4NHYL2R_cjs.InsightFragmentDoc,
|
|
13658
13677
|
variables,
|
|
13659
13678
|
isConnection: false,
|
|
13660
13679
|
isList: false,
|
|
@@ -13671,7 +13690,7 @@ var ChatSubBuilder = class {
|
|
|
13671
13690
|
}
|
|
13672
13691
|
/** Include messages in the parent query. */
|
|
13673
13692
|
messages(variables, builder) {
|
|
13674
|
-
const info = extractIncludeInfo(
|
|
13693
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
13675
13694
|
let children;
|
|
13676
13695
|
if (builder) {
|
|
13677
13696
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -13680,7 +13699,7 @@ var ChatSubBuilder = class {
|
|
|
13680
13699
|
}
|
|
13681
13700
|
this._includes.push({
|
|
13682
13701
|
fieldName: "messages",
|
|
13683
|
-
fragmentDoc:
|
|
13702
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatMessageConnectionFragmentDoc,
|
|
13684
13703
|
variables,
|
|
13685
13704
|
isConnection: true,
|
|
13686
13705
|
isList: false,
|
|
@@ -13698,7 +13717,7 @@ var ChatSubBuilder = class {
|
|
|
13698
13717
|
}
|
|
13699
13718
|
/** Include project in the parent query. */
|
|
13700
13719
|
project(variables, builder) {
|
|
13701
|
-
const info = extractIncludeInfo(
|
|
13720
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_ProjectDocument, "project", ["id"]);
|
|
13702
13721
|
let children;
|
|
13703
13722
|
if (builder) {
|
|
13704
13723
|
const sub = new ProjectSubBuilder();
|
|
@@ -13707,7 +13726,7 @@ var ChatSubBuilder = class {
|
|
|
13707
13726
|
}
|
|
13708
13727
|
this._includes.push({
|
|
13709
13728
|
fieldName: "project",
|
|
13710
|
-
fragmentDoc:
|
|
13729
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ProjectFragmentDoc,
|
|
13711
13730
|
variables,
|
|
13712
13731
|
isConnection: false,
|
|
13713
13732
|
isList: false,
|
|
@@ -13728,7 +13747,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13728
13747
|
_includes = [];
|
|
13729
13748
|
/** Include artifacts in the parent query. */
|
|
13730
13749
|
artifacts(variables, builder) {
|
|
13731
|
-
const info = extractIncludeInfo(
|
|
13750
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
13732
13751
|
let children;
|
|
13733
13752
|
if (builder) {
|
|
13734
13753
|
const sub = new ArtifactSubBuilder();
|
|
@@ -13737,7 +13756,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13737
13756
|
}
|
|
13738
13757
|
this._includes.push({
|
|
13739
13758
|
fieldName: "artifacts",
|
|
13740
|
-
fragmentDoc:
|
|
13759
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ArtifactConnectionFragmentDoc,
|
|
13741
13760
|
variables,
|
|
13742
13761
|
isConnection: true,
|
|
13743
13762
|
isList: false,
|
|
@@ -13755,7 +13774,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13755
13774
|
}
|
|
13756
13775
|
/** Include chat in the parent query. */
|
|
13757
13776
|
chat(variables, builder) {
|
|
13758
|
-
const info = extractIncludeInfo(
|
|
13777
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
13759
13778
|
let children;
|
|
13760
13779
|
if (builder) {
|
|
13761
13780
|
const sub = new ChatSubBuilder();
|
|
@@ -13764,7 +13783,7 @@ var ChatMessageSubBuilder = class {
|
|
|
13764
13783
|
}
|
|
13765
13784
|
this._includes.push({
|
|
13766
13785
|
fieldName: "chat",
|
|
13767
|
-
fragmentDoc:
|
|
13786
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatFragmentDoc,
|
|
13768
13787
|
variables,
|
|
13769
13788
|
isConnection: false,
|
|
13770
13789
|
isList: false,
|
|
@@ -13781,10 +13800,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13781
13800
|
}
|
|
13782
13801
|
/** Include contents in the parent query. */
|
|
13783
13802
|
contents(variables) {
|
|
13784
|
-
const info = extractIncludeInfo(
|
|
13803
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
13785
13804
|
this._includes.push({
|
|
13786
13805
|
fieldName: "contents",
|
|
13787
|
-
fragmentDoc:
|
|
13806
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ContentBlockFragmentDoc,
|
|
13788
13807
|
variables,
|
|
13789
13808
|
isConnection: false,
|
|
13790
13809
|
isList: true,
|
|
@@ -13800,10 +13819,10 @@ var ChatMessageSubBuilder = class {
|
|
|
13800
13819
|
}
|
|
13801
13820
|
/** Include feedback in the parent query. */
|
|
13802
13821
|
feedback(variables) {
|
|
13803
|
-
const info = extractIncludeInfo(
|
|
13822
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
13804
13823
|
this._includes.push({
|
|
13805
13824
|
fieldName: "feedback",
|
|
13806
|
-
fragmentDoc:
|
|
13825
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedbackFragmentDoc,
|
|
13807
13826
|
variables,
|
|
13808
13827
|
isConnection: false,
|
|
13809
13828
|
isList: false,
|
|
@@ -13823,10 +13842,10 @@ var DatabaseSubBuilder = class {
|
|
|
13823
13842
|
_includes = [];
|
|
13824
13843
|
/** Include engine in the parent query. */
|
|
13825
13844
|
engine(variables) {
|
|
13826
|
-
const info = extractIncludeInfo(
|
|
13845
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
13827
13846
|
this._includes.push({
|
|
13828
13847
|
fieldName: "engine",
|
|
13829
|
-
fragmentDoc:
|
|
13848
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DatabaseEngineFragmentDoc,
|
|
13830
13849
|
variables,
|
|
13831
13850
|
isConnection: false,
|
|
13832
13851
|
isList: false,
|
|
@@ -13842,7 +13861,7 @@ var DatabaseSubBuilder = class {
|
|
|
13842
13861
|
}
|
|
13843
13862
|
/** Include tables in the parent query. */
|
|
13844
13863
|
tables(variables, builder) {
|
|
13845
|
-
const info = extractIncludeInfo(
|
|
13864
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
13846
13865
|
let children;
|
|
13847
13866
|
if (builder) {
|
|
13848
13867
|
const sub = new TableSubBuilder();
|
|
@@ -13851,7 +13870,7 @@ var DatabaseSubBuilder = class {
|
|
|
13851
13870
|
}
|
|
13852
13871
|
this._includes.push({
|
|
13853
13872
|
fieldName: "tables",
|
|
13854
|
-
fragmentDoc:
|
|
13873
|
+
fragmentDoc: chunkF4NHYL2R_cjs.TableConnectionFragmentDoc,
|
|
13855
13874
|
variables,
|
|
13856
13875
|
isConnection: true,
|
|
13857
13876
|
isList: false,
|
|
@@ -13873,10 +13892,10 @@ var DatabaseCatalogSubBuilder = class {
|
|
|
13873
13892
|
_includes = [];
|
|
13874
13893
|
/** Include engine in the parent query. */
|
|
13875
13894
|
engine(variables) {
|
|
13876
|
-
const info = extractIncludeInfo(
|
|
13895
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
13877
13896
|
this._includes.push({
|
|
13878
13897
|
fieldName: "engine",
|
|
13879
|
-
fragmentDoc:
|
|
13898
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DatabaseEngineFragmentDoc,
|
|
13880
13899
|
variables,
|
|
13881
13900
|
isConnection: false,
|
|
13882
13901
|
isList: false,
|
|
@@ -13896,10 +13915,10 @@ var DocumentSubBuilder = class {
|
|
|
13896
13915
|
_includes = [];
|
|
13897
13916
|
/** Include contents in the parent query. */
|
|
13898
13917
|
contents(variables) {
|
|
13899
|
-
const info = extractIncludeInfo(
|
|
13918
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
13900
13919
|
this._includes.push({
|
|
13901
13920
|
fieldName: "contents",
|
|
13902
|
-
fragmentDoc:
|
|
13921
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentContentFragmentDoc,
|
|
13903
13922
|
variables,
|
|
13904
13923
|
isConnection: false,
|
|
13905
13924
|
isList: true,
|
|
@@ -13915,10 +13934,10 @@ var DocumentSubBuilder = class {
|
|
|
13915
13934
|
}
|
|
13916
13935
|
/** Include file in the parent query. */
|
|
13917
13936
|
file(variables) {
|
|
13918
|
-
const info = extractIncludeInfo(
|
|
13937
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_FileDocument, "file", ["id"]);
|
|
13919
13938
|
this._includes.push({
|
|
13920
13939
|
fieldName: "file",
|
|
13921
|
-
fragmentDoc:
|
|
13940
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FileFragmentDoc,
|
|
13922
13941
|
variables,
|
|
13923
13942
|
isConnection: false,
|
|
13924
13943
|
isList: false,
|
|
@@ -13934,10 +13953,10 @@ var DocumentSubBuilder = class {
|
|
|
13934
13953
|
}
|
|
13935
13954
|
/** Include format in the parent query. */
|
|
13936
13955
|
format(variables) {
|
|
13937
|
-
const info = extractIncludeInfo(
|
|
13956
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_FormatDocument, "format", ["id"]);
|
|
13938
13957
|
this._includes.push({
|
|
13939
13958
|
fieldName: "format",
|
|
13940
|
-
fragmentDoc:
|
|
13959
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentFormatFragmentDoc,
|
|
13941
13960
|
variables,
|
|
13942
13961
|
isConnection: false,
|
|
13943
13962
|
isList: false,
|
|
@@ -13953,7 +13972,7 @@ var DocumentSubBuilder = class {
|
|
|
13953
13972
|
}
|
|
13954
13973
|
/** Include tables in the parent query. */
|
|
13955
13974
|
tables(variables, builder) {
|
|
13956
|
-
const info = extractIncludeInfo(
|
|
13975
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
13957
13976
|
let children;
|
|
13958
13977
|
if (builder) {
|
|
13959
13978
|
const sub = new TableSubBuilder();
|
|
@@ -13962,7 +13981,7 @@ var DocumentSubBuilder = class {
|
|
|
13962
13981
|
}
|
|
13963
13982
|
this._includes.push({
|
|
13964
13983
|
fieldName: "tables",
|
|
13965
|
-
fragmentDoc:
|
|
13984
|
+
fragmentDoc: chunkF4NHYL2R_cjs.TableConnectionFragmentDoc,
|
|
13966
13985
|
variables,
|
|
13967
13986
|
isConnection: true,
|
|
13968
13987
|
isList: false,
|
|
@@ -13984,10 +14003,10 @@ var DocumentCatalogSubBuilder = class {
|
|
|
13984
14003
|
_includes = [];
|
|
13985
14004
|
/** Include format in the parent query. */
|
|
13986
14005
|
format(variables) {
|
|
13987
|
-
const info = extractIncludeInfo(
|
|
14006
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
13988
14007
|
this._includes.push({
|
|
13989
14008
|
fieldName: "format",
|
|
13990
|
-
fragmentDoc:
|
|
14009
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentFormatFragmentDoc,
|
|
13991
14010
|
variables,
|
|
13992
14011
|
isConnection: false,
|
|
13993
14012
|
isList: false,
|
|
@@ -14007,10 +14026,10 @@ var FeedItemSubBuilder = class {
|
|
|
14007
14026
|
_includes = [];
|
|
14008
14027
|
/** Include action in the parent query. */
|
|
14009
14028
|
action(variables) {
|
|
14010
|
-
const info = extractIncludeInfo(
|
|
14029
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
14011
14030
|
this._includes.push({
|
|
14012
14031
|
fieldName: "action",
|
|
14013
|
-
fragmentDoc:
|
|
14032
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedSendMessageActionFragmentDoc,
|
|
14014
14033
|
variables,
|
|
14015
14034
|
isConnection: false,
|
|
14016
14035
|
isList: false,
|
|
@@ -14026,10 +14045,10 @@ var FeedItemSubBuilder = class {
|
|
|
14026
14045
|
}
|
|
14027
14046
|
/** Include data in the parent query. */
|
|
14028
14047
|
data(variables) {
|
|
14029
|
-
const info = extractIncludeInfo(
|
|
14048
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
14030
14049
|
this._includes.push({
|
|
14031
14050
|
fieldName: "data",
|
|
14032
|
-
fragmentDoc:
|
|
14051
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedArtifactDataFragmentDoc,
|
|
14033
14052
|
variables,
|
|
14034
14053
|
isConnection: false,
|
|
14035
14054
|
isList: true,
|
|
@@ -14049,7 +14068,7 @@ var InsightSubBuilder = class {
|
|
|
14049
14068
|
_includes = [];
|
|
14050
14069
|
/** Include chat in the parent query. */
|
|
14051
14070
|
chat(variables, builder) {
|
|
14052
|
-
const info = extractIncludeInfo(
|
|
14071
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
14053
14072
|
let children;
|
|
14054
14073
|
if (builder) {
|
|
14055
14074
|
const sub = new ChatSubBuilder();
|
|
@@ -14058,7 +14077,7 @@ var InsightSubBuilder = class {
|
|
|
14058
14077
|
}
|
|
14059
14078
|
this._includes.push({
|
|
14060
14079
|
fieldName: "chat",
|
|
14061
|
-
fragmentDoc:
|
|
14080
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatFragmentDoc,
|
|
14062
14081
|
variables,
|
|
14063
14082
|
isConnection: false,
|
|
14064
14083
|
isList: false,
|
|
@@ -14075,10 +14094,10 @@ var InsightSubBuilder = class {
|
|
|
14075
14094
|
}
|
|
14076
14095
|
/** Include reportMembers in the parent query. */
|
|
14077
14096
|
reportMembers(variables) {
|
|
14078
|
-
const info = extractIncludeInfo(
|
|
14097
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
14079
14098
|
this._includes.push({
|
|
14080
14099
|
fieldName: "reportMembers",
|
|
14081
|
-
fragmentDoc:
|
|
14100
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ReportMemberFragmentDoc,
|
|
14082
14101
|
variables,
|
|
14083
14102
|
isConnection: false,
|
|
14084
14103
|
isList: true,
|
|
@@ -14094,7 +14113,7 @@ var InsightSubBuilder = class {
|
|
|
14094
14113
|
}
|
|
14095
14114
|
/** Include reports in the parent query. */
|
|
14096
14115
|
reports(variables, builder) {
|
|
14097
|
-
const info = extractIncludeInfo(
|
|
14116
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
14098
14117
|
let children;
|
|
14099
14118
|
if (builder) {
|
|
14100
14119
|
const sub = new ReportSubBuilder();
|
|
@@ -14103,7 +14122,7 @@ var InsightSubBuilder = class {
|
|
|
14103
14122
|
}
|
|
14104
14123
|
this._includes.push({
|
|
14105
14124
|
fieldName: "reports",
|
|
14106
|
-
fragmentDoc:
|
|
14125
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ReportConnectionFragmentDoc,
|
|
14107
14126
|
variables,
|
|
14108
14127
|
isConnection: true,
|
|
14109
14128
|
isList: false,
|
|
@@ -14121,10 +14140,10 @@ var InsightSubBuilder = class {
|
|
|
14121
14140
|
}
|
|
14122
14141
|
/** Include thumbnailFile in the parent query. */
|
|
14123
14142
|
thumbnailFile(variables) {
|
|
14124
|
-
const info = extractIncludeInfo(
|
|
14143
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
14125
14144
|
this._includes.push({
|
|
14126
14145
|
fieldName: "thumbnailFile",
|
|
14127
|
-
fragmentDoc:
|
|
14146
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FileFragmentDoc,
|
|
14128
14147
|
variables,
|
|
14129
14148
|
isConnection: false,
|
|
14130
14149
|
isList: false,
|
|
@@ -14144,10 +14163,10 @@ var IntegrationSubBuilder = class {
|
|
|
14144
14163
|
_includes = [];
|
|
14145
14164
|
/** Include provider in the parent query. */
|
|
14146
14165
|
provider(variables) {
|
|
14147
|
-
const info = extractIncludeInfo(
|
|
14166
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
14148
14167
|
this._includes.push({
|
|
14149
14168
|
fieldName: "provider",
|
|
14150
|
-
fragmentDoc:
|
|
14169
|
+
fragmentDoc: chunkF4NHYL2R_cjs.IntegrationProviderFragmentDoc,
|
|
14151
14170
|
variables,
|
|
14152
14171
|
isConnection: false,
|
|
14153
14172
|
isList: false,
|
|
@@ -14167,10 +14186,10 @@ var IntegrationCatalogSubBuilder = class {
|
|
|
14167
14186
|
_includes = [];
|
|
14168
14187
|
/** Include provider in the parent query. */
|
|
14169
14188
|
provider(variables) {
|
|
14170
|
-
const info = extractIncludeInfo(
|
|
14189
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
14171
14190
|
this._includes.push({
|
|
14172
14191
|
fieldName: "provider",
|
|
14173
|
-
fragmentDoc:
|
|
14192
|
+
fragmentDoc: chunkF4NHYL2R_cjs.IntegrationProviderFragmentDoc,
|
|
14174
14193
|
variables,
|
|
14175
14194
|
isConnection: false,
|
|
14176
14195
|
isList: false,
|
|
@@ -14190,10 +14209,10 @@ var LiveContextSubBuilder = class {
|
|
|
14190
14209
|
_includes = [];
|
|
14191
14210
|
/** Include items in the parent query. */
|
|
14192
14211
|
items(variables) {
|
|
14193
|
-
const info = extractIncludeInfo(
|
|
14212
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.LiveContext_ItemsDocument, "items", ["id"]);
|
|
14194
14213
|
this._includes.push({
|
|
14195
14214
|
fieldName: "items",
|
|
14196
|
-
fragmentDoc:
|
|
14215
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedItemGeneratedFragmentDoc,
|
|
14197
14216
|
variables,
|
|
14198
14217
|
isConnection: false,
|
|
14199
14218
|
isList: true,
|
|
@@ -14209,10 +14228,10 @@ var LiveContextSubBuilder = class {
|
|
|
14209
14228
|
}
|
|
14210
14229
|
/** Include source in the parent query. */
|
|
14211
14230
|
source(variables) {
|
|
14212
|
-
const info = extractIncludeInfo(
|
|
14231
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.LiveContext_SourceDocument, "source", ["id"]);
|
|
14213
14232
|
this._includes.push({
|
|
14214
14233
|
fieldName: "source",
|
|
14215
|
-
fragmentDoc:
|
|
14234
|
+
fragmentDoc: chunkF4NHYL2R_cjs.CandidateFragmentDoc,
|
|
14216
14235
|
variables,
|
|
14217
14236
|
isConnection: false,
|
|
14218
14237
|
isList: false,
|
|
@@ -14232,7 +14251,7 @@ var ProjectSubBuilder = class {
|
|
|
14232
14251
|
_includes = [];
|
|
14233
14252
|
/** Include chats in the parent query. */
|
|
14234
14253
|
chats(variables, builder) {
|
|
14235
|
-
const info = extractIncludeInfo(
|
|
14254
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Project_ChatsDocument, "chats", ["id"]);
|
|
14236
14255
|
let children;
|
|
14237
14256
|
if (builder) {
|
|
14238
14257
|
const sub = new ChatSubBuilder();
|
|
@@ -14241,7 +14260,7 @@ var ProjectSubBuilder = class {
|
|
|
14241
14260
|
}
|
|
14242
14261
|
this._includes.push({
|
|
14243
14262
|
fieldName: "chats",
|
|
14244
|
-
fragmentDoc:
|
|
14263
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatConnectionFragmentDoc,
|
|
14245
14264
|
variables,
|
|
14246
14265
|
isConnection: true,
|
|
14247
14266
|
isList: false,
|
|
@@ -14259,10 +14278,10 @@ var ProjectSubBuilder = class {
|
|
|
14259
14278
|
}
|
|
14260
14279
|
/** Include desktopBinding in the parent query. */
|
|
14261
14280
|
desktopBinding(variables) {
|
|
14262
|
-
const info = extractIncludeInfo(
|
|
14281
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Project_DesktopBindingDocument, "desktopBinding", ["id"]);
|
|
14263
14282
|
this._includes.push({
|
|
14264
14283
|
fieldName: "desktopBinding",
|
|
14265
|
-
fragmentDoc:
|
|
14284
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ProjectDesktopBindingFragmentDoc,
|
|
14266
14285
|
variables,
|
|
14267
14286
|
isConnection: false,
|
|
14268
14287
|
isList: false,
|
|
@@ -14282,7 +14301,7 @@ var PulseEventSubBuilder = class {
|
|
|
14282
14301
|
_includes = [];
|
|
14283
14302
|
/** Include integration in the parent query. */
|
|
14284
14303
|
integration(variables, builder) {
|
|
14285
|
-
const info = extractIncludeInfo(
|
|
14304
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
14286
14305
|
let children;
|
|
14287
14306
|
if (builder) {
|
|
14288
14307
|
const sub = new IntegrationSubBuilder();
|
|
@@ -14291,7 +14310,7 @@ var PulseEventSubBuilder = class {
|
|
|
14291
14310
|
}
|
|
14292
14311
|
this._includes.push({
|
|
14293
14312
|
fieldName: "integration",
|
|
14294
|
-
fragmentDoc:
|
|
14313
|
+
fragmentDoc: chunkF4NHYL2R_cjs.IntegrationFragmentDoc,
|
|
14295
14314
|
variables,
|
|
14296
14315
|
isConnection: false,
|
|
14297
14316
|
isList: false,
|
|
@@ -14312,7 +14331,7 @@ var ReportSubBuilder = class {
|
|
|
14312
14331
|
_includes = [];
|
|
14313
14332
|
/** Include insights in the parent query. */
|
|
14314
14333
|
insights(variables, builder) {
|
|
14315
|
-
const info = extractIncludeInfo(
|
|
14334
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
14316
14335
|
let children;
|
|
14317
14336
|
if (builder) {
|
|
14318
14337
|
const sub = new InsightSubBuilder();
|
|
@@ -14321,7 +14340,7 @@ var ReportSubBuilder = class {
|
|
|
14321
14340
|
}
|
|
14322
14341
|
this._includes.push({
|
|
14323
14342
|
fieldName: "insights",
|
|
14324
|
-
fragmentDoc:
|
|
14343
|
+
fragmentDoc: chunkF4NHYL2R_cjs.InsightConnectionFragmentDoc,
|
|
14325
14344
|
variables,
|
|
14326
14345
|
isConnection: true,
|
|
14327
14346
|
isList: false,
|
|
@@ -14339,10 +14358,10 @@ var ReportSubBuilder = class {
|
|
|
14339
14358
|
}
|
|
14340
14359
|
/** Include layout in the parent query. */
|
|
14341
14360
|
layout(variables) {
|
|
14342
|
-
const info = extractIncludeInfo(
|
|
14361
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
14343
14362
|
this._includes.push({
|
|
14344
14363
|
fieldName: "layout",
|
|
14345
|
-
fragmentDoc:
|
|
14364
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ReportMemberFragmentDoc,
|
|
14346
14365
|
variables,
|
|
14347
14366
|
isConnection: false,
|
|
14348
14367
|
isList: true,
|
|
@@ -14362,7 +14381,7 @@ var TableSubBuilder = class {
|
|
|
14362
14381
|
_includes = [];
|
|
14363
14382
|
/** Include database in the parent query. */
|
|
14364
14383
|
database(variables, builder) {
|
|
14365
|
-
const info = extractIncludeInfo(
|
|
14384
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
14366
14385
|
let children;
|
|
14367
14386
|
if (builder) {
|
|
14368
14387
|
const sub = new DatabaseSubBuilder();
|
|
@@ -14371,7 +14390,7 @@ var TableSubBuilder = class {
|
|
|
14371
14390
|
}
|
|
14372
14391
|
this._includes.push({
|
|
14373
14392
|
fieldName: "database",
|
|
14374
|
-
fragmentDoc:
|
|
14393
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DatabaseFragmentDoc,
|
|
14375
14394
|
variables,
|
|
14376
14395
|
isConnection: false,
|
|
14377
14396
|
isList: false,
|
|
@@ -14388,7 +14407,7 @@ var TableSubBuilder = class {
|
|
|
14388
14407
|
}
|
|
14389
14408
|
/** Include document in the parent query. */
|
|
14390
14409
|
document(variables, builder) {
|
|
14391
|
-
const info = extractIncludeInfo(
|
|
14410
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
14392
14411
|
let children;
|
|
14393
14412
|
if (builder) {
|
|
14394
14413
|
const sub = new DocumentSubBuilder();
|
|
@@ -14397,7 +14416,7 @@ var TableSubBuilder = class {
|
|
|
14397
14416
|
}
|
|
14398
14417
|
this._includes.push({
|
|
14399
14418
|
fieldName: "document",
|
|
14400
|
-
fragmentDoc:
|
|
14419
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentFragmentDoc,
|
|
14401
14420
|
variables,
|
|
14402
14421
|
isConnection: false,
|
|
14403
14422
|
isList: false,
|
|
@@ -14414,10 +14433,10 @@ var TableSubBuilder = class {
|
|
|
14414
14433
|
}
|
|
14415
14434
|
/** Include fromRelations in the parent query. */
|
|
14416
14435
|
fromRelations(variables) {
|
|
14417
|
-
const info = extractIncludeInfo(
|
|
14436
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
14418
14437
|
this._includes.push({
|
|
14419
14438
|
fieldName: "fromRelations",
|
|
14420
|
-
fragmentDoc:
|
|
14439
|
+
fragmentDoc: chunkF4NHYL2R_cjs.RelationFragmentDoc,
|
|
14421
14440
|
variables,
|
|
14422
14441
|
isConnection: false,
|
|
14423
14442
|
isList: true,
|
|
@@ -14433,10 +14452,10 @@ var TableSubBuilder = class {
|
|
|
14433
14452
|
}
|
|
14434
14453
|
/** Include toRelations in the parent query. */
|
|
14435
14454
|
toRelations(variables) {
|
|
14436
|
-
const info = extractIncludeInfo(
|
|
14455
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
14437
14456
|
this._includes.push({
|
|
14438
14457
|
fieldName: "toRelations",
|
|
14439
|
-
fragmentDoc:
|
|
14458
|
+
fragmentDoc: chunkF4NHYL2R_cjs.RelationFragmentDoc,
|
|
14440
14459
|
variables,
|
|
14441
14460
|
isConnection: false,
|
|
14442
14461
|
isList: true,
|
|
@@ -14453,495 +14472,495 @@ var TableSubBuilder = class {
|
|
|
14453
14472
|
};
|
|
14454
14473
|
var AbortChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14455
14474
|
async fetch(variables) {
|
|
14456
|
-
const response = await this._syncEngine.mutate(
|
|
14475
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.AbortChatDocument, variables, MUTATION_CACHE_RULES["abortChat"]);
|
|
14457
14476
|
return response.abortChat;
|
|
14458
14477
|
}
|
|
14459
14478
|
};
|
|
14460
14479
|
var AddInsightToReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14461
14480
|
async fetch(variables, options) {
|
|
14462
|
-
const response = await this._syncEngine.mutate(
|
|
14481
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.AddInsightToReportDocument, variables, MUTATION_CACHE_RULES["addInsightToReport"]);
|
|
14463
14482
|
const data = response.addInsightToReport;
|
|
14464
14483
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14465
14484
|
}
|
|
14466
14485
|
};
|
|
14467
14486
|
var CancelOauthFlowMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14468
14487
|
async fetch(variables) {
|
|
14469
|
-
const response = await this._syncEngine.mutate(
|
|
14488
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CancelOauthFlowDocument, variables, MUTATION_CACHE_RULES["cancelOauthFlow"]);
|
|
14470
14489
|
return response.cancelOauthFlow;
|
|
14471
14490
|
}
|
|
14472
14491
|
};
|
|
14473
14492
|
var CancelWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14474
14493
|
async fetch(variables) {
|
|
14475
|
-
const response = await this._syncEngine.mutate(
|
|
14494
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CancelWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["cancelWorkspaceDeletion"]);
|
|
14476
14495
|
return response.cancelWorkspaceDeletion;
|
|
14477
14496
|
}
|
|
14478
14497
|
};
|
|
14479
14498
|
var ConnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14480
14499
|
async fetch(variables, options) {
|
|
14481
|
-
const response = await this._syncEngine.mutate(
|
|
14500
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.ConnectIntegrationDocument, variables, MUTATION_CACHE_RULES["connectIntegration"]);
|
|
14482
14501
|
const data = response.connectIntegration;
|
|
14483
14502
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14484
14503
|
}
|
|
14485
14504
|
};
|
|
14486
14505
|
var ConsumePulseEventsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14487
14506
|
async fetch(variables) {
|
|
14488
|
-
const response = await this._syncEngine.mutate(
|
|
14507
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.ConsumePulseEventsDocument, variables, MUTATION_CACHE_RULES["consumePulseEvents"]);
|
|
14489
14508
|
return response.consumePulseEvents;
|
|
14490
14509
|
}
|
|
14491
14510
|
};
|
|
14492
14511
|
var ContinueImportedChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14493
14512
|
async fetch(variables) {
|
|
14494
|
-
const response = await this._syncEngine.mutate(
|
|
14513
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.ContinueImportedChatDocument, variables, MUTATION_CACHE_RULES["continueImportedChat"]);
|
|
14495
14514
|
return response.continueImportedChat;
|
|
14496
14515
|
}
|
|
14497
14516
|
};
|
|
14498
14517
|
var ContinueInterpretationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14499
14518
|
async fetch(variables) {
|
|
14500
|
-
const response = await this._syncEngine.mutate(
|
|
14519
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.ContinueInterpretationDocument, variables, MUTATION_CACHE_RULES["continueInterpretation"]);
|
|
14501
14520
|
return response.continueInterpretation;
|
|
14502
14521
|
}
|
|
14503
14522
|
};
|
|
14504
14523
|
var CreateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14505
14524
|
async fetch(variables, options) {
|
|
14506
|
-
const response = await this._syncEngine.mutate(
|
|
14525
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateAgentDocument, variables, MUTATION_CACHE_RULES["createAgent"]);
|
|
14507
14526
|
const data = response.createAgent;
|
|
14508
14527
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14509
14528
|
}
|
|
14510
14529
|
};
|
|
14511
14530
|
var CreateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14512
14531
|
async fetch(variables, options) {
|
|
14513
|
-
const response = await this._syncEngine.mutate(
|
|
14532
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateChatDocument, variables, MUTATION_CACHE_RULES["createChat"]);
|
|
14514
14533
|
const data = response.createChat;
|
|
14515
14534
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14516
14535
|
}
|
|
14517
14536
|
};
|
|
14518
14537
|
var CreateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14519
14538
|
async fetch(variables, options) {
|
|
14520
|
-
const response = await this._syncEngine.mutate(
|
|
14539
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateDatabaseDocument, variables, MUTATION_CACHE_RULES["createDatabase"]);
|
|
14521
14540
|
const data = response.createDatabase;
|
|
14522
14541
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14523
14542
|
}
|
|
14524
14543
|
};
|
|
14525
14544
|
var CreateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14526
14545
|
async fetch(variables, options) {
|
|
14527
|
-
const response = await this._syncEngine.mutate(
|
|
14546
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateDocumentDocument, variables, MUTATION_CACHE_RULES["createDocument"]);
|
|
14528
14547
|
const data = response.createDocument;
|
|
14529
14548
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14530
14549
|
}
|
|
14531
14550
|
};
|
|
14532
14551
|
var CreateFeedbackMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14533
14552
|
async fetch(variables, options) {
|
|
14534
|
-
const response = await this._syncEngine.mutate(
|
|
14553
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateFeedbackDocument, variables, MUTATION_CACHE_RULES["createFeedback"]);
|
|
14535
14554
|
const data = response.createFeedback;
|
|
14536
14555
|
return new Feedback(this._request, data, this._syncEngine, this._baseUrl);
|
|
14537
14556
|
}
|
|
14538
14557
|
};
|
|
14539
14558
|
var CreateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14540
14559
|
async fetch(variables, options) {
|
|
14541
|
-
const response = await this._syncEngine.mutate(
|
|
14560
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateFolderDocument, variables, MUTATION_CACHE_RULES["createFolder"]);
|
|
14542
14561
|
const data = response.createFolder;
|
|
14543
14562
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14544
14563
|
}
|
|
14545
14564
|
};
|
|
14546
14565
|
var CreateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14547
14566
|
async fetch(variables, options) {
|
|
14548
|
-
const response = await this._syncEngine.mutate(
|
|
14567
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateInsightDocument, variables, MUTATION_CACHE_RULES["createInsight"]);
|
|
14549
14568
|
const data = response.createInsight;
|
|
14550
14569
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14551
14570
|
}
|
|
14552
14571
|
};
|
|
14553
14572
|
var CreateIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14554
14573
|
async fetch(variables, options) {
|
|
14555
|
-
const response = await this._syncEngine.mutate(
|
|
14574
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateIntegrationDocument, variables, MUTATION_CACHE_RULES["createIntegration"]);
|
|
14556
14575
|
const data = response.createIntegration;
|
|
14557
14576
|
return new CreateIntegrationOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14558
14577
|
}
|
|
14559
14578
|
};
|
|
14560
14579
|
var CreateProjectMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14561
14580
|
async fetch(variables, options) {
|
|
14562
|
-
const response = await this._syncEngine.mutate(
|
|
14581
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateProjectDocument, variables, MUTATION_CACHE_RULES["createProject"]);
|
|
14563
14582
|
const data = response.createProject;
|
|
14564
14583
|
return new Project(this._request, data, this._syncEngine, this._baseUrl);
|
|
14565
14584
|
}
|
|
14566
14585
|
};
|
|
14567
14586
|
var CreateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14568
14587
|
async fetch(variables, options) {
|
|
14569
|
-
const response = await this._syncEngine.mutate(
|
|
14588
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateReportDocument, variables, MUTATION_CACHE_RULES["createReport"]);
|
|
14570
14589
|
const data = response.createReport;
|
|
14571
14590
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14572
14591
|
}
|
|
14573
14592
|
};
|
|
14574
14593
|
var CreateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14575
14594
|
async fetch(variables, options) {
|
|
14576
|
-
const response = await this._syncEngine.mutate(
|
|
14595
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateTableDocument, variables, MUTATION_CACHE_RULES["createTable"]);
|
|
14577
14596
|
const data = response.createTable;
|
|
14578
14597
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14579
14598
|
}
|
|
14580
14599
|
};
|
|
14581
14600
|
var CreateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14582
14601
|
async fetch(variables, options) {
|
|
14583
|
-
const response = await this._syncEngine.mutate(
|
|
14602
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["createUserSkillFile"]);
|
|
14584
14603
|
const data = response.createUserSkillFile;
|
|
14585
14604
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14586
14605
|
}
|
|
14587
14606
|
};
|
|
14588
14607
|
var CreateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14589
14608
|
async fetch(variables, options) {
|
|
14590
|
-
const response = await this._syncEngine.mutate(
|
|
14609
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.CreateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["createUserSkillFolder"]);
|
|
14591
14610
|
const data = response.createUserSkillFolder;
|
|
14592
14611
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14593
14612
|
}
|
|
14594
14613
|
};
|
|
14595
14614
|
var DeleteAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14596
14615
|
async fetch(variables, options) {
|
|
14597
|
-
const response = await this._syncEngine.mutate(
|
|
14616
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteAgentDocument, variables, MUTATION_CACHE_RULES["deleteAgent"]);
|
|
14598
14617
|
const data = response.deleteAgent;
|
|
14599
14618
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14600
14619
|
}
|
|
14601
14620
|
};
|
|
14602
14621
|
var DeleteArtifactMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14603
14622
|
async fetch(variables, options) {
|
|
14604
|
-
const response = await this._syncEngine.mutate(
|
|
14623
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteArtifactDocument, variables, MUTATION_CACHE_RULES["deleteArtifact"]);
|
|
14605
14624
|
const data = response.deleteArtifact;
|
|
14606
14625
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14607
14626
|
}
|
|
14608
14627
|
};
|
|
14609
14628
|
var DeleteChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14610
14629
|
async fetch(variables, options) {
|
|
14611
|
-
const response = await this._syncEngine.mutate(
|
|
14630
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteChatDocument, variables, MUTATION_CACHE_RULES["deleteChat"]);
|
|
14612
14631
|
const data = response.deleteChat;
|
|
14613
14632
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14614
14633
|
}
|
|
14615
14634
|
};
|
|
14616
14635
|
var DeleteDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14617
14636
|
async fetch(variables, options) {
|
|
14618
|
-
const response = await this._syncEngine.mutate(
|
|
14637
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteDatabaseDocument, variables, MUTATION_CACHE_RULES["deleteDatabase"]);
|
|
14619
14638
|
const data = response.deleteDatabase;
|
|
14620
14639
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14621
14640
|
}
|
|
14622
14641
|
};
|
|
14623
14642
|
var DeleteDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14624
14643
|
async fetch(variables, options) {
|
|
14625
|
-
const response = await this._syncEngine.mutate(
|
|
14644
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteDocumentDocument, variables, MUTATION_CACHE_RULES["deleteDocument"]);
|
|
14626
14645
|
const data = response.deleteDocument;
|
|
14627
14646
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14628
14647
|
}
|
|
14629
14648
|
};
|
|
14630
14649
|
var DeleteFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14631
14650
|
async fetch(variables, options) {
|
|
14632
|
-
const response = await this._syncEngine.mutate(
|
|
14651
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteFolderDocument, variables, MUTATION_CACHE_RULES["deleteFolder"]);
|
|
14633
14652
|
const data = response.deleteFolder;
|
|
14634
14653
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14635
14654
|
}
|
|
14636
14655
|
};
|
|
14637
14656
|
var DeleteInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14638
14657
|
async fetch(variables, options) {
|
|
14639
|
-
const response = await this._syncEngine.mutate(
|
|
14658
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteInsightDocument, variables, MUTATION_CACHE_RULES["deleteInsight"]);
|
|
14640
14659
|
const data = response.deleteInsight;
|
|
14641
14660
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14642
14661
|
}
|
|
14643
14662
|
};
|
|
14644
14663
|
var DeleteInsightsMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14645
14664
|
async fetch(variables, options) {
|
|
14646
|
-
const response = await this._syncEngine.mutate(
|
|
14665
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteInsightsDocument, variables, MUTATION_CACHE_RULES["deleteInsights"]);
|
|
14647
14666
|
const data = response.deleteInsights;
|
|
14648
14667
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14649
14668
|
}
|
|
14650
14669
|
};
|
|
14651
14670
|
var DeleteIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14652
14671
|
async fetch(variables) {
|
|
14653
|
-
const response = await this._syncEngine.mutate(
|
|
14672
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteIntegrationDocument, variables, MUTATION_CACHE_RULES["deleteIntegration"]);
|
|
14654
14673
|
return response.deleteIntegration;
|
|
14655
14674
|
}
|
|
14656
14675
|
};
|
|
14657
14676
|
var DeleteProjectMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14658
14677
|
async fetch(variables, options) {
|
|
14659
|
-
const response = await this._syncEngine.mutate(
|
|
14678
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteProjectDocument, variables, MUTATION_CACHE_RULES["deleteProject"]);
|
|
14660
14679
|
const data = response.deleteProject;
|
|
14661
14680
|
return new Project(this._request, data, this._syncEngine, this._baseUrl);
|
|
14662
14681
|
}
|
|
14663
14682
|
};
|
|
14664
14683
|
var DeleteReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14665
14684
|
async fetch(variables, options) {
|
|
14666
|
-
const response = await this._syncEngine.mutate(
|
|
14685
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteReportDocument, variables, MUTATION_CACHE_RULES["deleteReport"]);
|
|
14667
14686
|
const data = response.deleteReport;
|
|
14668
14687
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14669
14688
|
}
|
|
14670
14689
|
};
|
|
14671
14690
|
var DeleteTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14672
14691
|
async fetch(variables, options) {
|
|
14673
|
-
const response = await this._syncEngine.mutate(
|
|
14692
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteTableDocument, variables, MUTATION_CACHE_RULES["deleteTable"]);
|
|
14674
14693
|
const data = response.deleteTable;
|
|
14675
14694
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14676
14695
|
}
|
|
14677
14696
|
};
|
|
14678
14697
|
var DeleteUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14679
14698
|
async fetch(variables, options) {
|
|
14680
|
-
const response = await this._syncEngine.mutate(
|
|
14699
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteUserSkillFileDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFile"]);
|
|
14681
14700
|
const data = response.deleteUserSkillFile;
|
|
14682
14701
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14683
14702
|
}
|
|
14684
14703
|
};
|
|
14685
14704
|
var DeleteUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14686
14705
|
async fetch(variables, options) {
|
|
14687
|
-
const response = await this._syncEngine.mutate(
|
|
14706
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DeleteUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["deleteUserSkillFolder"]);
|
|
14688
14707
|
const data = response.deleteUserSkillFolder;
|
|
14689
14708
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14690
14709
|
}
|
|
14691
14710
|
};
|
|
14692
14711
|
var DisconnectIntegrationMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14693
14712
|
async fetch(variables) {
|
|
14694
|
-
const response = await this._syncEngine.mutate(
|
|
14713
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DisconnectIntegrationDocument, variables, MUTATION_CACHE_RULES["disconnectIntegration"]);
|
|
14695
14714
|
return response.disconnectIntegration;
|
|
14696
14715
|
}
|
|
14697
14716
|
};
|
|
14698
14717
|
var DismissPulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14699
14718
|
async fetch(variables, options) {
|
|
14700
|
-
const response = await this._syncEngine.mutate(
|
|
14719
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.DismissPulseEventDocument, variables, MUTATION_CACHE_RULES["dismissPulseEvent"]);
|
|
14701
14720
|
const data = response.dismissPulseEvent;
|
|
14702
14721
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14703
14722
|
}
|
|
14704
14723
|
};
|
|
14705
14724
|
var ExecuteChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14706
14725
|
async fetch(variables, options) {
|
|
14707
|
-
const response = await this._syncEngine.mutate(
|
|
14726
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.ExecuteChatImportDocument, variables, MUTATION_CACHE_RULES["executeChatImport"]);
|
|
14708
14727
|
const data = response.executeChatImport;
|
|
14709
14728
|
return new ChatImportExecuteOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14710
14729
|
}
|
|
14711
14730
|
};
|
|
14712
14731
|
var GenerateUploadUriMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14713
14732
|
async fetch(variables, options) {
|
|
14714
|
-
const response = await this._syncEngine.mutate(
|
|
14733
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.GenerateUploadUriDocument, variables, MUTATION_CACHE_RULES["generateUploadUri"]);
|
|
14715
14734
|
const data = response.generateUploadUri;
|
|
14716
14735
|
return new FileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14717
14736
|
}
|
|
14718
14737
|
};
|
|
14719
14738
|
var PreviewChatImportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14720
14739
|
async fetch(variables, options) {
|
|
14721
|
-
const response = await this._syncEngine.mutate(
|
|
14740
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.PreviewChatImportDocument, variables, MUTATION_CACHE_RULES["previewChatImport"]);
|
|
14722
14741
|
const data = response.previewChatImport;
|
|
14723
14742
|
return new ChatImportPreviewOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
14724
14743
|
}
|
|
14725
14744
|
};
|
|
14726
14745
|
var ReanalyzeDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14727
14746
|
async fetch(variables, options) {
|
|
14728
|
-
const response = await this._syncEngine.mutate(
|
|
14747
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.ReanalyzeDocumentDocument, variables, MUTATION_CACHE_RULES["reanalyzeDocument"]);
|
|
14729
14748
|
const data = response.reanalyzeDocument;
|
|
14730
14749
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14731
14750
|
}
|
|
14732
14751
|
};
|
|
14733
14752
|
var RefineAgentInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14734
14753
|
async fetch(variables) {
|
|
14735
|
-
const response = await this._syncEngine.mutate(
|
|
14754
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.RefineAgentInstructionDocument, variables, MUTATION_CACHE_RULES["refineAgentInstruction"]);
|
|
14736
14755
|
return response.refineAgentInstruction;
|
|
14737
14756
|
}
|
|
14738
14757
|
};
|
|
14739
14758
|
var RefineSkillInstructionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14740
14759
|
async fetch(variables) {
|
|
14741
|
-
const response = await this._syncEngine.mutate(
|
|
14760
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.RefineSkillInstructionDocument, variables, MUTATION_CACHE_RULES["refineSkillInstruction"]);
|
|
14742
14761
|
return response.refineSkillInstruction;
|
|
14743
14762
|
}
|
|
14744
14763
|
};
|
|
14745
14764
|
var RefreshDatabaseSchemaMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14746
14765
|
async fetch(variables) {
|
|
14747
|
-
const response = await this._syncEngine.mutate(
|
|
14766
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.RefreshDatabaseSchemaDocument, variables, MUTATION_CACHE_RULES["refreshDatabaseSchema"]);
|
|
14748
14767
|
return response.refreshDatabaseSchema;
|
|
14749
14768
|
}
|
|
14750
14769
|
};
|
|
14751
14770
|
var RefreshInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14752
14771
|
async fetch(variables, options) {
|
|
14753
|
-
const response = await this._syncEngine.mutate(
|
|
14772
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.RefreshInsightDocument, variables, MUTATION_CACHE_RULES["refreshInsight"]);
|
|
14754
14773
|
const data = response.refreshInsight;
|
|
14755
14774
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14756
14775
|
}
|
|
14757
14776
|
};
|
|
14758
14777
|
var RegisterDesktopDeviceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14759
14778
|
async fetch(variables, options) {
|
|
14760
|
-
const response = await this._syncEngine.mutate(
|
|
14779
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.RegisterDesktopDeviceDocument, variables, MUTATION_CACHE_RULES["registerDesktopDevice"]);
|
|
14761
14780
|
const data = response.registerDesktopDevice;
|
|
14762
14781
|
return new DesktopDeviceModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14763
14782
|
}
|
|
14764
14783
|
};
|
|
14765
14784
|
var ReinterpretSourceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14766
14785
|
async fetch(variables) {
|
|
14767
|
-
const response = await this._syncEngine.mutate(
|
|
14786
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.ReinterpretSourceDocument, variables, MUTATION_CACHE_RULES["reinterpretSource"]);
|
|
14768
14787
|
return response.reinterpretSource;
|
|
14769
14788
|
}
|
|
14770
14789
|
};
|
|
14771
14790
|
var ReinterpretSourcesOfuserMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14772
14791
|
async fetch(variables) {
|
|
14773
|
-
const response = await this._syncEngine.mutate(
|
|
14792
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.ReinterpretSourcesOfuserDocument, variables, MUTATION_CACHE_RULES["reinterpretSourcesOfuser"]);
|
|
14774
14793
|
return response.reinterpretSourcesOfuser;
|
|
14775
14794
|
}
|
|
14776
14795
|
};
|
|
14777
14796
|
var RelocateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14778
14797
|
async fetch(variables, options) {
|
|
14779
|
-
const response = await this._syncEngine.mutate(
|
|
14798
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.RelocateInsightDocument, variables, MUTATION_CACHE_RULES["relocateInsight"]);
|
|
14780
14799
|
const data = response.relocateInsight;
|
|
14781
14800
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14782
14801
|
}
|
|
14783
14802
|
};
|
|
14784
14803
|
var RemoveInsightFromReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14785
14804
|
async fetch(variables, options) {
|
|
14786
|
-
const response = await this._syncEngine.mutate(
|
|
14805
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.RemoveInsightFromReportDocument, variables, MUTATION_CACHE_RULES["removeInsightFromReport"]);
|
|
14787
14806
|
const data = response.removeInsightFromReport;
|
|
14788
14807
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14789
14808
|
}
|
|
14790
14809
|
};
|
|
14791
14810
|
var ResetWorkspaceMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14792
14811
|
async fetch(variables) {
|
|
14793
|
-
const response = await this._syncEngine.mutate(
|
|
14812
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.ResetWorkspaceDocument, variables, MUTATION_CACHE_RULES["resetWorkspace"]);
|
|
14794
14813
|
return response.resetWorkspace;
|
|
14795
14814
|
}
|
|
14796
14815
|
};
|
|
14797
14816
|
var ResolvePulseEventMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14798
14817
|
async fetch(variables, options) {
|
|
14799
|
-
const response = await this._syncEngine.mutate(
|
|
14818
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.ResolvePulseEventDocument, variables, MUTATION_CACHE_RULES["resolvePulseEvent"]);
|
|
14800
14819
|
const data = response.resolvePulseEvent;
|
|
14801
14820
|
return new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14802
14821
|
}
|
|
14803
14822
|
};
|
|
14804
14823
|
var ScheduleWorkspaceDeletionMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14805
14824
|
async fetch(variables, options) {
|
|
14806
|
-
const response = await this._syncEngine.mutate(
|
|
14825
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.ScheduleWorkspaceDeletionDocument, variables, MUTATION_CACHE_RULES["scheduleWorkspaceDeletion"]);
|
|
14807
14826
|
const data = response.scheduleWorkspaceDeletion;
|
|
14808
14827
|
return new WorkspaceDeleteSchedule(this._request, data, this._syncEngine, this._baseUrl);
|
|
14809
14828
|
}
|
|
14810
14829
|
};
|
|
14811
14830
|
var SendMessageMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14812
14831
|
async fetch(variables, options) {
|
|
14813
|
-
const response = await this._syncEngine.mutate(
|
|
14832
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.SendMessageDocument, variables, MUTATION_CACHE_RULES["sendMessage"]);
|
|
14814
14833
|
const data = response.sendMessage;
|
|
14815
14834
|
return new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
14816
14835
|
}
|
|
14817
14836
|
};
|
|
14818
14837
|
var SetDatabasePrimaryKeyMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14819
14838
|
async fetch(variables) {
|
|
14820
|
-
const response = await this._syncEngine.mutate(
|
|
14839
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.SetDatabasePrimaryKeyDocument, variables, MUTATION_CACHE_RULES["setDatabasePrimaryKey"]);
|
|
14821
14840
|
return response.setDatabasePrimaryKey;
|
|
14822
14841
|
}
|
|
14823
14842
|
};
|
|
14824
14843
|
var SyncProjectDesktopBindingMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14825
14844
|
async fetch(variables, options) {
|
|
14826
|
-
const response = await this._syncEngine.mutate(
|
|
14845
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.SyncProjectDesktopBindingDocument, variables, MUTATION_CACHE_RULES["syncProjectDesktopBinding"]);
|
|
14827
14846
|
const data = response.syncProjectDesktopBinding;
|
|
14828
14847
|
return new Project(this._request, data, this._syncEngine, this._baseUrl);
|
|
14829
14848
|
}
|
|
14830
14849
|
};
|
|
14831
14850
|
var UpdateAgentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14832
14851
|
async fetch(variables, options) {
|
|
14833
|
-
const response = await this._syncEngine.mutate(
|
|
14852
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateAgentDocument, variables, MUTATION_CACHE_RULES["updateAgent"]);
|
|
14834
14853
|
const data = response.updateAgent;
|
|
14835
14854
|
return new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
14836
14855
|
}
|
|
14837
14856
|
};
|
|
14838
14857
|
var UpdateArtifactNameMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14839
14858
|
async fetch(variables, options) {
|
|
14840
|
-
const response = await this._syncEngine.mutate(
|
|
14859
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateArtifactNameDocument, variables, MUTATION_CACHE_RULES["updateArtifactName"]);
|
|
14841
14860
|
const data = response.updateArtifactName;
|
|
14842
14861
|
return new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
14843
14862
|
}
|
|
14844
14863
|
};
|
|
14845
14864
|
var UpdateChatMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14846
14865
|
async fetch(variables, options) {
|
|
14847
|
-
const response = await this._syncEngine.mutate(
|
|
14866
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateChatDocument, variables, MUTATION_CACHE_RULES["updateChat"]);
|
|
14848
14867
|
const data = response.updateChat;
|
|
14849
14868
|
return new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
14850
14869
|
}
|
|
14851
14870
|
};
|
|
14852
14871
|
var UpdateDatabaseMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14853
14872
|
async fetch(variables, options) {
|
|
14854
|
-
const response = await this._syncEngine.mutate(
|
|
14873
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateDatabaseDocument, variables, MUTATION_CACHE_RULES["updateDatabase"]);
|
|
14855
14874
|
const data = response.updateDatabase;
|
|
14856
14875
|
return new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
14857
14876
|
}
|
|
14858
14877
|
};
|
|
14859
14878
|
var UpdateDocumentMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14860
14879
|
async fetch(variables, options) {
|
|
14861
|
-
const response = await this._syncEngine.mutate(
|
|
14880
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateDocumentDocument, variables, MUTATION_CACHE_RULES["updateDocument"]);
|
|
14862
14881
|
const data = response.updateDocument;
|
|
14863
14882
|
return new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
14864
14883
|
}
|
|
14865
14884
|
};
|
|
14866
14885
|
var UpdateFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14867
14886
|
async fetch(variables, options) {
|
|
14868
|
-
const response = await this._syncEngine.mutate(
|
|
14887
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateFolderDocument, variables, MUTATION_CACHE_RULES["updateFolder"]);
|
|
14869
14888
|
const data = response.updateFolder;
|
|
14870
14889
|
return new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
14871
14890
|
}
|
|
14872
14891
|
};
|
|
14873
14892
|
var UpdateInsightMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14874
14893
|
async fetch(variables, options) {
|
|
14875
|
-
const response = await this._syncEngine.mutate(
|
|
14894
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateInsightDocument, variables, MUTATION_CACHE_RULES["updateInsight"]);
|
|
14876
14895
|
const data = response.updateInsight;
|
|
14877
14896
|
return new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
14878
14897
|
}
|
|
14879
14898
|
};
|
|
14880
14899
|
var UpdateInsightInReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14881
14900
|
async fetch(variables, options) {
|
|
14882
|
-
const response = await this._syncEngine.mutate(
|
|
14901
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateInsightInReportDocument, variables, MUTATION_CACHE_RULES["updateInsightInReport"]);
|
|
14883
14902
|
const data = response.updateInsightInReport;
|
|
14884
14903
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14885
14904
|
}
|
|
14886
14905
|
};
|
|
14887
14906
|
var UpdateInsightThumbnailMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14888
14907
|
async fetch(variables) {
|
|
14889
|
-
const response = await this._syncEngine.mutate(
|
|
14908
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateInsightThumbnailDocument, variables, MUTATION_CACHE_RULES["updateInsightThumbnail"]);
|
|
14890
14909
|
return response.updateInsightThumbnail;
|
|
14891
14910
|
}
|
|
14892
14911
|
};
|
|
14893
14912
|
var UpdateInterpMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14894
14913
|
async fetch(variables, options) {
|
|
14895
|
-
const response = await this._syncEngine.mutate(
|
|
14914
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateInterpDocument, variables, MUTATION_CACHE_RULES["updateInterp"]);
|
|
14896
14915
|
const data = response.updateInterp;
|
|
14897
14916
|
return new Interpretation(this._request, data, this._syncEngine, this._baseUrl);
|
|
14898
14917
|
}
|
|
14899
14918
|
};
|
|
14900
14919
|
var UpdateLiveContextMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14901
14920
|
async fetch(variables, options) {
|
|
14902
|
-
const response = await this._syncEngine.mutate(
|
|
14921
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateLiveContextDocument, variables, MUTATION_CACHE_RULES["updateLiveContext"]);
|
|
14903
14922
|
const data = response.updateLiveContext;
|
|
14904
14923
|
return new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
14905
14924
|
}
|
|
14906
14925
|
};
|
|
14907
14926
|
var UpdateProjectMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14908
14927
|
async fetch(variables, options) {
|
|
14909
|
-
const response = await this._syncEngine.mutate(
|
|
14928
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateProjectDocument, variables, MUTATION_CACHE_RULES["updateProject"]);
|
|
14910
14929
|
const data = response.updateProject;
|
|
14911
14930
|
return new Project(this._request, data, this._syncEngine, this._baseUrl);
|
|
14912
14931
|
}
|
|
14913
14932
|
};
|
|
14914
14933
|
var UpdatePulseTriggerMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14915
14934
|
async fetch(variables, options) {
|
|
14916
|
-
const response = await this._syncEngine.mutate(
|
|
14935
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdatePulseTriggerDocument, variables, MUTATION_CACHE_RULES["updatePulseTrigger"]);
|
|
14917
14936
|
const data = response.updatePulseTrigger;
|
|
14918
14937
|
return new PulseTriggerSettingModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14919
14938
|
}
|
|
14920
14939
|
};
|
|
14921
14940
|
var UpdateReportMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14922
14941
|
async fetch(variables, options) {
|
|
14923
|
-
const response = await this._syncEngine.mutate(
|
|
14942
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateReportDocument, variables, MUTATION_CACHE_RULES["updateReport"]);
|
|
14924
14943
|
const data = response.updateReport;
|
|
14925
14944
|
return new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
14926
14945
|
}
|
|
14927
14946
|
};
|
|
14928
14947
|
var UpdateTableMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14929
14948
|
async fetch(variables, options) {
|
|
14930
|
-
const response = await this._syncEngine.mutate(
|
|
14949
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateTableDocument, variables, MUTATION_CACHE_RULES["updateTable"]);
|
|
14931
14950
|
const data = response.updateTable;
|
|
14932
14951
|
return new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
14933
14952
|
}
|
|
14934
14953
|
};
|
|
14935
14954
|
var UpdateUserSkillFileMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14936
14955
|
async fetch(variables, options) {
|
|
14937
|
-
const response = await this._syncEngine.mutate(
|
|
14956
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateUserSkillFileDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFile"]);
|
|
14938
14957
|
const data = response.updateUserSkillFile;
|
|
14939
14958
|
return new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14940
14959
|
}
|
|
14941
14960
|
};
|
|
14942
14961
|
var UpdateUserSkillFolderMutation = class extends chunk342BFYZZ_cjs.Request {
|
|
14943
14962
|
async fetch(variables, options) {
|
|
14944
|
-
const response = await this._syncEngine.mutate(
|
|
14963
|
+
const response = await this._syncEngine.mutate(chunkF4NHYL2R_cjs.UpdateUserSkillFolderDocument, variables, MUTATION_CACHE_RULES["updateUserSkillFolder"]);
|
|
14945
14964
|
const data = response.updateUserSkillFolder;
|
|
14946
14965
|
return new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
14947
14966
|
}
|
|
@@ -14955,7 +14974,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14955
14974
|
}
|
|
14956
14975
|
async fetch(options) {
|
|
14957
14976
|
const variables = this._variables;
|
|
14958
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14977
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.AgentDocument, "agent", this._includes, variables);
|
|
14959
14978
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agent");
|
|
14960
14979
|
const data = response.agent;
|
|
14961
14980
|
const instance = new Agent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -14967,7 +14986,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14967
14986
|
watch(options) {
|
|
14968
14987
|
const variables = this._variables;
|
|
14969
14988
|
const includes = this._includes;
|
|
14970
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
14989
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.AgentDocument, "agent", includes, variables);
|
|
14971
14990
|
const raw = this._syncEngine.watch(
|
|
14972
14991
|
queryDoc,
|
|
14973
14992
|
mergedVars,
|
|
@@ -14997,7 +15016,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
14997
15016
|
}
|
|
14998
15017
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
14999
15018
|
chats(variables, builder) {
|
|
15000
|
-
const info = extractIncludeInfo(
|
|
15019
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
15001
15020
|
let children;
|
|
15002
15021
|
if (builder) {
|
|
15003
15022
|
const sub = new ChatSubBuilder();
|
|
@@ -15006,7 +15025,7 @@ var AgentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15006
15025
|
}
|
|
15007
15026
|
this._includes.push({
|
|
15008
15027
|
fieldName: "chats",
|
|
15009
|
-
fragmentDoc:
|
|
15028
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatConnectionFragmentDoc,
|
|
15010
15029
|
variables,
|
|
15011
15030
|
isConnection: true,
|
|
15012
15031
|
isList: false,
|
|
@@ -15031,18 +15050,18 @@ var Agent_ChatsQuery = class _Agent_ChatsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
15031
15050
|
}
|
|
15032
15051
|
async fetch(options) {
|
|
15033
15052
|
const variables = this._variables;
|
|
15034
|
-
const response = await this._syncEngine.query(
|
|
15053
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Agent_ChatsDocument, variables, "agent");
|
|
15035
15054
|
const data = response.agent?.chats;
|
|
15036
15055
|
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);
|
|
15037
15056
|
}
|
|
15038
15057
|
watch(options) {
|
|
15039
15058
|
const variables = this._variables;
|
|
15040
15059
|
const raw = this._syncEngine.watch(
|
|
15041
|
-
|
|
15060
|
+
chunkF4NHYL2R_cjs.Agent_ChatsDocument,
|
|
15042
15061
|
variables,
|
|
15043
15062
|
"agent",
|
|
15044
15063
|
async (db) => {
|
|
15045
|
-
const queryKey = buildQueryKey("agent", variables,
|
|
15064
|
+
const queryKey = buildQueryKey("agent", variables, chunkF4NHYL2R_cjs.Agent_ChatsDocument);
|
|
15046
15065
|
const qr = await db._queryResults.get(queryKey);
|
|
15047
15066
|
if (!qr) {
|
|
15048
15067
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -15070,7 +15089,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15070
15089
|
}
|
|
15071
15090
|
async fetch(options) {
|
|
15072
15091
|
const variables = this._variables;
|
|
15073
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15092
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.AgentsDocument, "agents", this._includes, variables, true);
|
|
15074
15093
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "agents");
|
|
15075
15094
|
const data = response.agents;
|
|
15076
15095
|
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);
|
|
@@ -15087,7 +15106,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15087
15106
|
const subscriptionId = crypto.randomUUID();
|
|
15088
15107
|
const includes = this._includes;
|
|
15089
15108
|
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) }] : []);
|
|
15090
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15109
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.AgentsDocument, "agents", includes, variables, true);
|
|
15091
15110
|
const raw = this._syncEngine.watch(
|
|
15092
15111
|
queryDoc,
|
|
15093
15112
|
mergedVars,
|
|
@@ -15129,7 +15148,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15129
15148
|
}
|
|
15130
15149
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
15131
15150
|
chats(variables, builder) {
|
|
15132
|
-
const info = extractIncludeInfo(
|
|
15151
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Agent_ChatsDocument, "chats", ["id"]);
|
|
15133
15152
|
let children;
|
|
15134
15153
|
if (builder) {
|
|
15135
15154
|
const sub = new ChatSubBuilder();
|
|
@@ -15138,7 +15157,7 @@ var AgentsQuery = class _AgentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15138
15157
|
}
|
|
15139
15158
|
this._includes.push({
|
|
15140
15159
|
fieldName: "chats",
|
|
15141
|
-
fragmentDoc:
|
|
15160
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatConnectionFragmentDoc,
|
|
15142
15161
|
variables,
|
|
15143
15162
|
isConnection: true,
|
|
15144
15163
|
isList: false,
|
|
@@ -15164,7 +15183,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15164
15183
|
}
|
|
15165
15184
|
async fetch(options) {
|
|
15166
15185
|
const variables = this._variables;
|
|
15167
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15186
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ArtifactDocument, "artifact", this._includes, variables);
|
|
15168
15187
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifact");
|
|
15169
15188
|
const data = response.artifact;
|
|
15170
15189
|
const instance = new Artifact(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15176,7 +15195,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15176
15195
|
watch(options) {
|
|
15177
15196
|
const variables = this._variables;
|
|
15178
15197
|
const includes = this._includes;
|
|
15179
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15198
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ArtifactDocument, "artifact", includes, variables);
|
|
15180
15199
|
const raw = this._syncEngine.watch(
|
|
15181
15200
|
queryDoc,
|
|
15182
15201
|
mergedVars,
|
|
@@ -15206,7 +15225,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15206
15225
|
}
|
|
15207
15226
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15208
15227
|
chat(variables, builder) {
|
|
15209
|
-
const info = extractIncludeInfo(
|
|
15228
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
15210
15229
|
let children;
|
|
15211
15230
|
if (builder) {
|
|
15212
15231
|
const sub = new ChatSubBuilder();
|
|
@@ -15215,7 +15234,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15215
15234
|
}
|
|
15216
15235
|
this._includes.push({
|
|
15217
15236
|
fieldName: "chat",
|
|
15218
|
-
fragmentDoc:
|
|
15237
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatFragmentDoc,
|
|
15219
15238
|
variables,
|
|
15220
15239
|
isConnection: false,
|
|
15221
15240
|
isList: false,
|
|
@@ -15232,10 +15251,10 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15232
15251
|
}
|
|
15233
15252
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
15234
15253
|
file(variables) {
|
|
15235
|
-
const info = extractIncludeInfo(
|
|
15254
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
15236
15255
|
this._includes.push({
|
|
15237
15256
|
fieldName: "file",
|
|
15238
|
-
fragmentDoc:
|
|
15257
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FileFragmentDoc,
|
|
15239
15258
|
variables,
|
|
15240
15259
|
isConnection: false,
|
|
15241
15260
|
isList: false,
|
|
@@ -15251,7 +15270,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15251
15270
|
}
|
|
15252
15271
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
15253
15272
|
message(variables, builder) {
|
|
15254
|
-
const info = extractIncludeInfo(
|
|
15273
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
15255
15274
|
let children;
|
|
15256
15275
|
if (builder) {
|
|
15257
15276
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15260,7 +15279,7 @@ var ArtifactQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15260
15279
|
}
|
|
15261
15280
|
this._includes.push({
|
|
15262
15281
|
fieldName: "message",
|
|
15263
|
-
fragmentDoc:
|
|
15282
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatMessageFragmentDoc,
|
|
15264
15283
|
variables,
|
|
15265
15284
|
isConnection: false,
|
|
15266
15285
|
isList: false,
|
|
@@ -15284,14 +15303,14 @@ var Artifact_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15284
15303
|
}
|
|
15285
15304
|
async fetch(options) {
|
|
15286
15305
|
const variables = this._variables;
|
|
15287
|
-
const response = await this._syncEngine.query(
|
|
15306
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Artifact_ChatDocument, variables, "artifact");
|
|
15288
15307
|
const data = response.artifact?.chat;
|
|
15289
15308
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15290
15309
|
}
|
|
15291
15310
|
watch(options) {
|
|
15292
15311
|
const variables = this._variables;
|
|
15293
15312
|
const raw = this._syncEngine.watch(
|
|
15294
|
-
|
|
15313
|
+
chunkF4NHYL2R_cjs.Artifact_ChatDocument,
|
|
15295
15314
|
variables,
|
|
15296
15315
|
"artifact",
|
|
15297
15316
|
async (db) => {
|
|
@@ -15314,14 +15333,14 @@ var Artifact_Chat_DesktopDeviceQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15314
15333
|
}
|
|
15315
15334
|
async fetch(options) {
|
|
15316
15335
|
const variables = this._variables;
|
|
15317
|
-
const response = await this._syncEngine.query(
|
|
15336
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Artifact_Chat_DesktopDeviceDocument, variables, "artifact");
|
|
15318
15337
|
const data = response.artifact?.chat?.desktopDevice;
|
|
15319
15338
|
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15320
15339
|
}
|
|
15321
15340
|
watch(options) {
|
|
15322
15341
|
const variables = this._variables;
|
|
15323
15342
|
const raw = this._syncEngine.watch(
|
|
15324
|
-
|
|
15343
|
+
chunkF4NHYL2R_cjs.Artifact_Chat_DesktopDeviceDocument,
|
|
15325
15344
|
variables,
|
|
15326
15345
|
"artifact",
|
|
15327
15346
|
async (db) => {
|
|
@@ -15344,14 +15363,14 @@ var Artifact_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15344
15363
|
}
|
|
15345
15364
|
async fetch(options) {
|
|
15346
15365
|
const variables = this._variables;
|
|
15347
|
-
const response = await this._syncEngine.query(
|
|
15366
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Artifact_Chat_InsightDocument, variables, "artifact");
|
|
15348
15367
|
const data = response.artifact?.chat?.insight;
|
|
15349
15368
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15350
15369
|
}
|
|
15351
15370
|
watch(options) {
|
|
15352
15371
|
const variables = this._variables;
|
|
15353
15372
|
const raw = this._syncEngine.watch(
|
|
15354
|
-
|
|
15373
|
+
chunkF4NHYL2R_cjs.Artifact_Chat_InsightDocument,
|
|
15355
15374
|
variables,
|
|
15356
15375
|
"artifact",
|
|
15357
15376
|
async (db) => {
|
|
@@ -15374,14 +15393,14 @@ var Artifact_Chat_ProjectQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15374
15393
|
}
|
|
15375
15394
|
async fetch(options) {
|
|
15376
15395
|
const variables = this._variables;
|
|
15377
|
-
const response = await this._syncEngine.query(
|
|
15396
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Artifact_Chat_ProjectDocument, variables, "artifact");
|
|
15378
15397
|
const data = response.artifact?.chat?.project;
|
|
15379
15398
|
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15380
15399
|
}
|
|
15381
15400
|
watch(options) {
|
|
15382
15401
|
const variables = this._variables;
|
|
15383
15402
|
const raw = this._syncEngine.watch(
|
|
15384
|
-
|
|
15403
|
+
chunkF4NHYL2R_cjs.Artifact_Chat_ProjectDocument,
|
|
15385
15404
|
variables,
|
|
15386
15405
|
"artifact",
|
|
15387
15406
|
async (db) => {
|
|
@@ -15404,14 +15423,14 @@ var Artifact_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15404
15423
|
}
|
|
15405
15424
|
async fetch(options) {
|
|
15406
15425
|
const variables = this._variables;
|
|
15407
|
-
const response = await this._syncEngine.query(
|
|
15426
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Artifact_FileDocument, variables, "artifact");
|
|
15408
15427
|
const data = response.artifact?.file;
|
|
15409
15428
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15410
15429
|
}
|
|
15411
15430
|
watch(options) {
|
|
15412
15431
|
const variables = this._variables;
|
|
15413
15432
|
const raw = this._syncEngine.watch(
|
|
15414
|
-
|
|
15433
|
+
chunkF4NHYL2R_cjs.Artifact_FileDocument,
|
|
15415
15434
|
variables,
|
|
15416
15435
|
"artifact",
|
|
15417
15436
|
async (db) => {
|
|
@@ -15434,14 +15453,14 @@ var Artifact_MessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15434
15453
|
}
|
|
15435
15454
|
async fetch(options) {
|
|
15436
15455
|
const variables = this._variables;
|
|
15437
|
-
const response = await this._syncEngine.query(
|
|
15456
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Artifact_MessageDocument, variables, "artifact");
|
|
15438
15457
|
const data = response.artifact?.message;
|
|
15439
15458
|
return data ? new ChatMessage(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15440
15459
|
}
|
|
15441
15460
|
watch(options) {
|
|
15442
15461
|
const variables = this._variables;
|
|
15443
15462
|
const raw = this._syncEngine.watch(
|
|
15444
|
-
|
|
15463
|
+
chunkF4NHYL2R_cjs.Artifact_MessageDocument,
|
|
15445
15464
|
variables,
|
|
15446
15465
|
"artifact",
|
|
15447
15466
|
async (db) => {
|
|
@@ -15464,14 +15483,14 @@ var Artifact_Message_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15464
15483
|
}
|
|
15465
15484
|
async fetch(options) {
|
|
15466
15485
|
const variables = this._variables;
|
|
15467
|
-
const response = await this._syncEngine.query(
|
|
15486
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Artifact_Message_ChatDocument, variables, "artifact");
|
|
15468
15487
|
const data = response.artifact?.message?.chat;
|
|
15469
15488
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15470
15489
|
}
|
|
15471
15490
|
watch(options) {
|
|
15472
15491
|
const variables = this._variables;
|
|
15473
15492
|
const raw = this._syncEngine.watch(
|
|
15474
|
-
|
|
15493
|
+
chunkF4NHYL2R_cjs.Artifact_Message_ChatDocument,
|
|
15475
15494
|
variables,
|
|
15476
15495
|
"artifact",
|
|
15477
15496
|
async (db) => {
|
|
@@ -15493,7 +15512,7 @@ var Artifact_Message_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15493
15512
|
this._variables = variables;
|
|
15494
15513
|
}
|
|
15495
15514
|
async fetch(options) {
|
|
15496
|
-
const response = await this._syncEngine.query(
|
|
15515
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Artifact_Message_ContentsDocument, this._variables, "artifact");
|
|
15497
15516
|
const data = response.artifact?.message?.contents;
|
|
15498
15517
|
if (!Array.isArray(data)) return [];
|
|
15499
15518
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15507,14 +15526,14 @@ var Artifact_Message_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15507
15526
|
}
|
|
15508
15527
|
async fetch(options) {
|
|
15509
15528
|
const variables = this._variables;
|
|
15510
|
-
const response = await this._syncEngine.query(
|
|
15529
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Artifact_Message_FeedbackDocument, variables, "artifact");
|
|
15511
15530
|
const data = response.artifact?.message?.feedback;
|
|
15512
15531
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15513
15532
|
}
|
|
15514
15533
|
watch(options) {
|
|
15515
15534
|
const variables = this._variables;
|
|
15516
15535
|
const raw = this._syncEngine.watch(
|
|
15517
|
-
|
|
15536
|
+
chunkF4NHYL2R_cjs.Artifact_Message_FeedbackDocument,
|
|
15518
15537
|
variables,
|
|
15519
15538
|
"artifact",
|
|
15520
15539
|
async (db) => {
|
|
@@ -15538,7 +15557,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15538
15557
|
}
|
|
15539
15558
|
async fetch(options) {
|
|
15540
15559
|
const variables = this._variables;
|
|
15541
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15560
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ArtifactsDocument, "artifacts", this._includes, variables, true);
|
|
15542
15561
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "artifacts");
|
|
15543
15562
|
const data = response.artifacts;
|
|
15544
15563
|
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);
|
|
@@ -15555,7 +15574,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15555
15574
|
const subscriptionId = crypto.randomUUID();
|
|
15556
15575
|
const includes = this._includes;
|
|
15557
15576
|
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) }] : []);
|
|
15558
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15577
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ArtifactsDocument, "artifacts", includes, variables, true);
|
|
15559
15578
|
const raw = this._syncEngine.watch(
|
|
15560
15579
|
queryDoc,
|
|
15561
15580
|
mergedVars,
|
|
@@ -15597,7 +15616,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15597
15616
|
}
|
|
15598
15617
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
15599
15618
|
chat(variables, builder) {
|
|
15600
|
-
const info = extractIncludeInfo(
|
|
15619
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Artifact_ChatDocument, "chat", ["id"]);
|
|
15601
15620
|
let children;
|
|
15602
15621
|
if (builder) {
|
|
15603
15622
|
const sub = new ChatSubBuilder();
|
|
@@ -15606,7 +15625,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15606
15625
|
}
|
|
15607
15626
|
this._includes.push({
|
|
15608
15627
|
fieldName: "chat",
|
|
15609
|
-
fragmentDoc:
|
|
15628
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatFragmentDoc,
|
|
15610
15629
|
variables,
|
|
15611
15630
|
isConnection: false,
|
|
15612
15631
|
isList: false,
|
|
@@ -15623,10 +15642,10 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15623
15642
|
}
|
|
15624
15643
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
15625
15644
|
file(variables) {
|
|
15626
|
-
const info = extractIncludeInfo(
|
|
15645
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Artifact_FileDocument, "file", ["id"]);
|
|
15627
15646
|
this._includes.push({
|
|
15628
15647
|
fieldName: "file",
|
|
15629
|
-
fragmentDoc:
|
|
15648
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FileFragmentDoc,
|
|
15630
15649
|
variables,
|
|
15631
15650
|
isConnection: false,
|
|
15632
15651
|
isList: false,
|
|
@@ -15642,7 +15661,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15642
15661
|
}
|
|
15643
15662
|
/** Include message in this query (Smart Fetch — single HTTP request). */
|
|
15644
15663
|
message(variables, builder) {
|
|
15645
|
-
const info = extractIncludeInfo(
|
|
15664
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Artifact_MessageDocument, "message", ["id"]);
|
|
15646
15665
|
let children;
|
|
15647
15666
|
if (builder) {
|
|
15648
15667
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15651,7 +15670,7 @@ var ArtifactsQuery = class _ArtifactsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
15651
15670
|
}
|
|
15652
15671
|
this._includes.push({
|
|
15653
15672
|
fieldName: "message",
|
|
15654
|
-
fragmentDoc:
|
|
15673
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatMessageFragmentDoc,
|
|
15655
15674
|
variables,
|
|
15656
15675
|
isConnection: false,
|
|
15657
15676
|
isList: false,
|
|
@@ -15676,7 +15695,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15676
15695
|
}
|
|
15677
15696
|
async fetch(options) {
|
|
15678
15697
|
const variables = this._variables;
|
|
15679
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15698
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ChatDocument, "chat", this._includes, variables);
|
|
15680
15699
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chat");
|
|
15681
15700
|
const data = response.chat;
|
|
15682
15701
|
const instance = new Chat(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -15688,7 +15707,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15688
15707
|
watch(options) {
|
|
15689
15708
|
const variables = this._variables;
|
|
15690
15709
|
const includes = this._includes;
|
|
15691
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
15710
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ChatDocument, "chat", includes, variables);
|
|
15692
15711
|
const raw = this._syncEngine.watch(
|
|
15693
15712
|
queryDoc,
|
|
15694
15713
|
mergedVars,
|
|
@@ -15718,7 +15737,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15718
15737
|
}
|
|
15719
15738
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
15720
15739
|
agents(variables, builder) {
|
|
15721
|
-
const info = extractIncludeInfo(
|
|
15740
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
15722
15741
|
let children;
|
|
15723
15742
|
if (builder) {
|
|
15724
15743
|
const sub = new AgentSubBuilder();
|
|
@@ -15727,7 +15746,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15727
15746
|
}
|
|
15728
15747
|
this._includes.push({
|
|
15729
15748
|
fieldName: "agents",
|
|
15730
|
-
fragmentDoc:
|
|
15749
|
+
fragmentDoc: chunkF4NHYL2R_cjs.AgentConnectionFragmentDoc,
|
|
15731
15750
|
variables,
|
|
15732
15751
|
isConnection: true,
|
|
15733
15752
|
isList: false,
|
|
@@ -15745,7 +15764,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15745
15764
|
}
|
|
15746
15765
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
15747
15766
|
artifacts(variables, builder) {
|
|
15748
|
-
const info = extractIncludeInfo(
|
|
15767
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
15749
15768
|
let children;
|
|
15750
15769
|
if (builder) {
|
|
15751
15770
|
const sub = new ArtifactSubBuilder();
|
|
@@ -15754,7 +15773,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15754
15773
|
}
|
|
15755
15774
|
this._includes.push({
|
|
15756
15775
|
fieldName: "artifacts",
|
|
15757
|
-
fragmentDoc:
|
|
15776
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ArtifactConnectionFragmentDoc,
|
|
15758
15777
|
variables,
|
|
15759
15778
|
isConnection: true,
|
|
15760
15779
|
isList: false,
|
|
@@ -15772,10 +15791,10 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15772
15791
|
}
|
|
15773
15792
|
/** Include desktopDevice in this query (Smart Fetch — single HTTP request). */
|
|
15774
15793
|
desktopDevice(variables) {
|
|
15775
|
-
const info = extractIncludeInfo(
|
|
15794
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
|
|
15776
15795
|
this._includes.push({
|
|
15777
15796
|
fieldName: "desktopDevice",
|
|
15778
|
-
fragmentDoc:
|
|
15797
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DesktopDeviceFragmentDoc,
|
|
15779
15798
|
variables,
|
|
15780
15799
|
isConnection: false,
|
|
15781
15800
|
isList: false,
|
|
@@ -15791,7 +15810,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15791
15810
|
}
|
|
15792
15811
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
15793
15812
|
insight(variables, builder) {
|
|
15794
|
-
const info = extractIncludeInfo(
|
|
15813
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
15795
15814
|
let children;
|
|
15796
15815
|
if (builder) {
|
|
15797
15816
|
const sub = new InsightSubBuilder();
|
|
@@ -15800,7 +15819,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15800
15819
|
}
|
|
15801
15820
|
this._includes.push({
|
|
15802
15821
|
fieldName: "insight",
|
|
15803
|
-
fragmentDoc:
|
|
15822
|
+
fragmentDoc: chunkF4NHYL2R_cjs.InsightFragmentDoc,
|
|
15804
15823
|
variables,
|
|
15805
15824
|
isConnection: false,
|
|
15806
15825
|
isList: false,
|
|
@@ -15817,7 +15836,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15817
15836
|
}
|
|
15818
15837
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
15819
15838
|
messages(variables, builder) {
|
|
15820
|
-
const info = extractIncludeInfo(
|
|
15839
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
15821
15840
|
let children;
|
|
15822
15841
|
if (builder) {
|
|
15823
15842
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -15826,7 +15845,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15826
15845
|
}
|
|
15827
15846
|
this._includes.push({
|
|
15828
15847
|
fieldName: "messages",
|
|
15829
|
-
fragmentDoc:
|
|
15848
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatMessageConnectionFragmentDoc,
|
|
15830
15849
|
variables,
|
|
15831
15850
|
isConnection: true,
|
|
15832
15851
|
isList: false,
|
|
@@ -15844,7 +15863,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15844
15863
|
}
|
|
15845
15864
|
/** Include project in this query (Smart Fetch — single HTTP request). */
|
|
15846
15865
|
project(variables, builder) {
|
|
15847
|
-
const info = extractIncludeInfo(
|
|
15866
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_ProjectDocument, "project", ["id"]);
|
|
15848
15867
|
let children;
|
|
15849
15868
|
if (builder) {
|
|
15850
15869
|
const sub = new ProjectSubBuilder();
|
|
@@ -15853,7 +15872,7 @@ var ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15853
15872
|
}
|
|
15854
15873
|
this._includes.push({
|
|
15855
15874
|
fieldName: "project",
|
|
15856
|
-
fragmentDoc:
|
|
15875
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ProjectFragmentDoc,
|
|
15857
15876
|
variables,
|
|
15858
15877
|
isConnection: false,
|
|
15859
15878
|
isList: false,
|
|
@@ -15877,18 +15896,18 @@ var Chat_AgentsQuery = class _Chat_AgentsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
15877
15896
|
}
|
|
15878
15897
|
async fetch(options) {
|
|
15879
15898
|
const variables = this._variables;
|
|
15880
|
-
const response = await this._syncEngine.query(
|
|
15899
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Chat_AgentsDocument, variables, "chat");
|
|
15881
15900
|
const data = response.chat?.agents;
|
|
15882
15901
|
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);
|
|
15883
15902
|
}
|
|
15884
15903
|
watch(options) {
|
|
15885
15904
|
const variables = this._variables;
|
|
15886
15905
|
const raw = this._syncEngine.watch(
|
|
15887
|
-
|
|
15906
|
+
chunkF4NHYL2R_cjs.Chat_AgentsDocument,
|
|
15888
15907
|
variables,
|
|
15889
15908
|
"chat",
|
|
15890
15909
|
async (db) => {
|
|
15891
|
-
const queryKey = buildQueryKey("chat", variables,
|
|
15910
|
+
const queryKey = buildQueryKey("chat", variables, chunkF4NHYL2R_cjs.Chat_AgentsDocument);
|
|
15892
15911
|
const qr = await db._queryResults.get(queryKey);
|
|
15893
15912
|
if (!qr) {
|
|
15894
15913
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -15915,18 +15934,18 @@ var Chat_ArtifactsQuery = class _Chat_ArtifactsQuery extends chunk342BFYZZ_cjs.R
|
|
|
15915
15934
|
}
|
|
15916
15935
|
async fetch(options) {
|
|
15917
15936
|
const variables = this._variables;
|
|
15918
|
-
const response = await this._syncEngine.query(
|
|
15937
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Chat_ArtifactsDocument, variables, "chat");
|
|
15919
15938
|
const data = response.chat?.artifacts;
|
|
15920
15939
|
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);
|
|
15921
15940
|
}
|
|
15922
15941
|
watch(options) {
|
|
15923
15942
|
const variables = this._variables;
|
|
15924
15943
|
const raw = this._syncEngine.watch(
|
|
15925
|
-
|
|
15944
|
+
chunkF4NHYL2R_cjs.Chat_ArtifactsDocument,
|
|
15926
15945
|
variables,
|
|
15927
15946
|
"chat",
|
|
15928
15947
|
async (db) => {
|
|
15929
|
-
const queryKey = buildQueryKey("chat", variables,
|
|
15948
|
+
const queryKey = buildQueryKey("chat", variables, chunkF4NHYL2R_cjs.Chat_ArtifactsDocument);
|
|
15930
15949
|
const qr = await db._queryResults.get(queryKey);
|
|
15931
15950
|
if (!qr) {
|
|
15932
15951
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -15953,14 +15972,14 @@ var Chat_DesktopDeviceQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15953
15972
|
}
|
|
15954
15973
|
async fetch(options) {
|
|
15955
15974
|
const variables = this._variables;
|
|
15956
|
-
const response = await this._syncEngine.query(
|
|
15975
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Chat_DesktopDeviceDocument, variables, "chat");
|
|
15957
15976
|
const data = response.chat?.desktopDevice;
|
|
15958
15977
|
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
15959
15978
|
}
|
|
15960
15979
|
watch(options) {
|
|
15961
15980
|
const variables = this._variables;
|
|
15962
15981
|
const raw = this._syncEngine.watch(
|
|
15963
|
-
|
|
15982
|
+
chunkF4NHYL2R_cjs.Chat_DesktopDeviceDocument,
|
|
15964
15983
|
variables,
|
|
15965
15984
|
"chat",
|
|
15966
15985
|
async (db) => {
|
|
@@ -15982,7 +16001,7 @@ var Chat_DesktopDevice_DesktopBindingsQuery = class extends chunk342BFYZZ_cjs.Re
|
|
|
15982
16001
|
this._variables = variables;
|
|
15983
16002
|
}
|
|
15984
16003
|
async fetch(options) {
|
|
15985
|
-
const response = await this._syncEngine.query(
|
|
16004
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Chat_DesktopDevice_DesktopBindingsDocument, this._variables, "chat");
|
|
15986
16005
|
const data = response.chat?.desktopDevice?.desktopBindings;
|
|
15987
16006
|
if (!Array.isArray(data)) return [];
|
|
15988
16007
|
return data.map((item) => new ProjectDesktopBinding(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -15996,14 +16015,14 @@ var Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
15996
16015
|
}
|
|
15997
16016
|
async fetch(options) {
|
|
15998
16017
|
const variables = this._variables;
|
|
15999
|
-
const response = await this._syncEngine.query(
|
|
16018
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Chat_InsightDocument, variables, "chat");
|
|
16000
16019
|
const data = response.chat?.insight;
|
|
16001
16020
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16002
16021
|
}
|
|
16003
16022
|
watch(options) {
|
|
16004
16023
|
const variables = this._variables;
|
|
16005
16024
|
const raw = this._syncEngine.watch(
|
|
16006
|
-
|
|
16025
|
+
chunkF4NHYL2R_cjs.Chat_InsightDocument,
|
|
16007
16026
|
variables,
|
|
16008
16027
|
"chat",
|
|
16009
16028
|
async (db) => {
|
|
@@ -16025,7 +16044,7 @@ var Chat_Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16025
16044
|
this._variables = variables;
|
|
16026
16045
|
}
|
|
16027
16046
|
async fetch(options) {
|
|
16028
|
-
const response = await this._syncEngine.query(
|
|
16047
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Chat_Insight_ReportMembersDocument, this._variables, "chat");
|
|
16029
16048
|
const data = response.chat?.insight?.reportMembers;
|
|
16030
16049
|
if (!Array.isArray(data)) return [];
|
|
16031
16050
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -16039,14 +16058,14 @@ var Chat_Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16039
16058
|
}
|
|
16040
16059
|
async fetch(options) {
|
|
16041
16060
|
const variables = this._variables;
|
|
16042
|
-
const response = await this._syncEngine.query(
|
|
16061
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Chat_Insight_ThumbnailFileDocument, variables, "chat");
|
|
16043
16062
|
const data = response.chat?.insight?.thumbnailFile;
|
|
16044
16063
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16045
16064
|
}
|
|
16046
16065
|
watch(options) {
|
|
16047
16066
|
const variables = this._variables;
|
|
16048
16067
|
const raw = this._syncEngine.watch(
|
|
16049
|
-
|
|
16068
|
+
chunkF4NHYL2R_cjs.Chat_Insight_ThumbnailFileDocument,
|
|
16050
16069
|
variables,
|
|
16051
16070
|
"chat",
|
|
16052
16071
|
async (db) => {
|
|
@@ -16069,18 +16088,18 @@ var Chat_MessagesQuery = class _Chat_MessagesQuery extends chunk342BFYZZ_cjs.Req
|
|
|
16069
16088
|
}
|
|
16070
16089
|
async fetch(options) {
|
|
16071
16090
|
const variables = this._variables;
|
|
16072
|
-
const response = await this._syncEngine.query(
|
|
16091
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Chat_MessagesDocument, variables, "chat");
|
|
16073
16092
|
const data = response.chat?.messages;
|
|
16074
16093
|
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);
|
|
16075
16094
|
}
|
|
16076
16095
|
watch(options) {
|
|
16077
16096
|
const variables = this._variables;
|
|
16078
16097
|
const raw = this._syncEngine.watch(
|
|
16079
|
-
|
|
16098
|
+
chunkF4NHYL2R_cjs.Chat_MessagesDocument,
|
|
16080
16099
|
variables,
|
|
16081
16100
|
"chat",
|
|
16082
16101
|
async (db) => {
|
|
16083
|
-
const queryKey = buildQueryKey("chat", variables,
|
|
16102
|
+
const queryKey = buildQueryKey("chat", variables, chunkF4NHYL2R_cjs.Chat_MessagesDocument);
|
|
16084
16103
|
const qr = await db._queryResults.get(queryKey);
|
|
16085
16104
|
if (!qr) {
|
|
16086
16105
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -16107,14 +16126,14 @@ var Chat_ProjectQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16107
16126
|
}
|
|
16108
16127
|
async fetch(options) {
|
|
16109
16128
|
const variables = this._variables;
|
|
16110
|
-
const response = await this._syncEngine.query(
|
|
16129
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Chat_ProjectDocument, variables, "chat");
|
|
16111
16130
|
const data = response.chat?.project;
|
|
16112
16131
|
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16113
16132
|
}
|
|
16114
16133
|
watch(options) {
|
|
16115
16134
|
const variables = this._variables;
|
|
16116
16135
|
const raw = this._syncEngine.watch(
|
|
16117
|
-
|
|
16136
|
+
chunkF4NHYL2R_cjs.Chat_ProjectDocument,
|
|
16118
16137
|
variables,
|
|
16119
16138
|
"chat",
|
|
16120
16139
|
async (db) => {
|
|
@@ -16137,14 +16156,14 @@ var Chat_Project_DesktopBindingQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16137
16156
|
}
|
|
16138
16157
|
async fetch(options) {
|
|
16139
16158
|
const variables = this._variables;
|
|
16140
|
-
const response = await this._syncEngine.query(
|
|
16159
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Chat_Project_DesktopBindingDocument, variables, "chat");
|
|
16141
16160
|
const data = response.chat?.project?.desktopBinding;
|
|
16142
16161
|
return data ? new ProjectDesktopBinding(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16143
16162
|
}
|
|
16144
16163
|
watch(options) {
|
|
16145
16164
|
const variables = this._variables;
|
|
16146
16165
|
const raw = this._syncEngine.watch(
|
|
16147
|
-
|
|
16166
|
+
chunkF4NHYL2R_cjs.Chat_Project_DesktopBindingDocument,
|
|
16148
16167
|
variables,
|
|
16149
16168
|
"chat",
|
|
16150
16169
|
async (db) => {
|
|
@@ -16168,7 +16187,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16168
16187
|
}
|
|
16169
16188
|
async fetch(options) {
|
|
16170
16189
|
const variables = this._variables;
|
|
16171
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16190
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ChatMessageDocument, "chatMessage", this._includes, variables);
|
|
16172
16191
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessage");
|
|
16173
16192
|
const data = response.chatMessage;
|
|
16174
16193
|
const instance = new ChatMessage(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16180,7 +16199,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16180
16199
|
watch(options) {
|
|
16181
16200
|
const variables = this._variables;
|
|
16182
16201
|
const includes = this._includes;
|
|
16183
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16202
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ChatMessageDocument, "chatMessage", includes, variables);
|
|
16184
16203
|
const raw = this._syncEngine.watch(
|
|
16185
16204
|
queryDoc,
|
|
16186
16205
|
mergedVars,
|
|
@@ -16210,7 +16229,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16210
16229
|
}
|
|
16211
16230
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
16212
16231
|
artifacts(variables, builder) {
|
|
16213
|
-
const info = extractIncludeInfo(
|
|
16232
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
16214
16233
|
let children;
|
|
16215
16234
|
if (builder) {
|
|
16216
16235
|
const sub = new ArtifactSubBuilder();
|
|
@@ -16219,7 +16238,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16219
16238
|
}
|
|
16220
16239
|
this._includes.push({
|
|
16221
16240
|
fieldName: "artifacts",
|
|
16222
|
-
fragmentDoc:
|
|
16241
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ArtifactConnectionFragmentDoc,
|
|
16223
16242
|
variables,
|
|
16224
16243
|
isConnection: true,
|
|
16225
16244
|
isList: false,
|
|
@@ -16237,7 +16256,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16237
16256
|
}
|
|
16238
16257
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
16239
16258
|
chat(variables, builder) {
|
|
16240
|
-
const info = extractIncludeInfo(
|
|
16259
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
16241
16260
|
let children;
|
|
16242
16261
|
if (builder) {
|
|
16243
16262
|
const sub = new ChatSubBuilder();
|
|
@@ -16246,7 +16265,7 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16246
16265
|
}
|
|
16247
16266
|
this._includes.push({
|
|
16248
16267
|
fieldName: "chat",
|
|
16249
|
-
fragmentDoc:
|
|
16268
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatFragmentDoc,
|
|
16250
16269
|
variables,
|
|
16251
16270
|
isConnection: false,
|
|
16252
16271
|
isList: false,
|
|
@@ -16263,10 +16282,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16263
16282
|
}
|
|
16264
16283
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
16265
16284
|
contents(variables) {
|
|
16266
|
-
const info = extractIncludeInfo(
|
|
16285
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
16267
16286
|
this._includes.push({
|
|
16268
16287
|
fieldName: "contents",
|
|
16269
|
-
fragmentDoc:
|
|
16288
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ContentBlockFragmentDoc,
|
|
16270
16289
|
variables,
|
|
16271
16290
|
isConnection: false,
|
|
16272
16291
|
isList: true,
|
|
@@ -16282,10 +16301,10 @@ var ChatMessageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16282
16301
|
}
|
|
16283
16302
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
16284
16303
|
feedback(variables) {
|
|
16285
|
-
const info = extractIncludeInfo(
|
|
16304
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
16286
16305
|
this._includes.push({
|
|
16287
16306
|
fieldName: "feedback",
|
|
16288
|
-
fragmentDoc:
|
|
16307
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedbackFragmentDoc,
|
|
16289
16308
|
variables,
|
|
16290
16309
|
isConnection: false,
|
|
16291
16310
|
isList: false,
|
|
@@ -16308,18 +16327,18 @@ var ChatMessage_ArtifactsQuery = class _ChatMessage_ArtifactsQuery extends chunk
|
|
|
16308
16327
|
}
|
|
16309
16328
|
async fetch(options) {
|
|
16310
16329
|
const variables = this._variables;
|
|
16311
|
-
const response = await this._syncEngine.query(
|
|
16330
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.ChatMessage_ArtifactsDocument, variables, "chatMessage");
|
|
16312
16331
|
const data = response.chatMessage?.artifacts;
|
|
16313
16332
|
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);
|
|
16314
16333
|
}
|
|
16315
16334
|
watch(options) {
|
|
16316
16335
|
const variables = this._variables;
|
|
16317
16336
|
const raw = this._syncEngine.watch(
|
|
16318
|
-
|
|
16337
|
+
chunkF4NHYL2R_cjs.ChatMessage_ArtifactsDocument,
|
|
16319
16338
|
variables,
|
|
16320
16339
|
"chatMessage",
|
|
16321
16340
|
async (db) => {
|
|
16322
|
-
const queryKey = buildQueryKey("chatMessage", variables,
|
|
16341
|
+
const queryKey = buildQueryKey("chatMessage", variables, chunkF4NHYL2R_cjs.ChatMessage_ArtifactsDocument);
|
|
16323
16342
|
const qr = await db._queryResults.get(queryKey);
|
|
16324
16343
|
if (!qr) {
|
|
16325
16344
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -16346,14 +16365,14 @@ var ChatMessage_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16346
16365
|
}
|
|
16347
16366
|
async fetch(options) {
|
|
16348
16367
|
const variables = this._variables;
|
|
16349
|
-
const response = await this._syncEngine.query(
|
|
16368
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.ChatMessage_ChatDocument, variables, "chatMessage");
|
|
16350
16369
|
const data = response.chatMessage?.chat;
|
|
16351
16370
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16352
16371
|
}
|
|
16353
16372
|
watch(options) {
|
|
16354
16373
|
const variables = this._variables;
|
|
16355
16374
|
const raw = this._syncEngine.watch(
|
|
16356
|
-
|
|
16375
|
+
chunkF4NHYL2R_cjs.ChatMessage_ChatDocument,
|
|
16357
16376
|
variables,
|
|
16358
16377
|
"chatMessage",
|
|
16359
16378
|
async (db) => {
|
|
@@ -16376,14 +16395,14 @@ var ChatMessage_Chat_DesktopDeviceQuery = class extends chunk342BFYZZ_cjs.Reques
|
|
|
16376
16395
|
}
|
|
16377
16396
|
async fetch(options) {
|
|
16378
16397
|
const variables = this._variables;
|
|
16379
|
-
const response = await this._syncEngine.query(
|
|
16398
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.ChatMessage_Chat_DesktopDeviceDocument, variables, "chatMessage");
|
|
16380
16399
|
const data = response.chatMessage?.chat?.desktopDevice;
|
|
16381
16400
|
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16382
16401
|
}
|
|
16383
16402
|
watch(options) {
|
|
16384
16403
|
const variables = this._variables;
|
|
16385
16404
|
const raw = this._syncEngine.watch(
|
|
16386
|
-
|
|
16405
|
+
chunkF4NHYL2R_cjs.ChatMessage_Chat_DesktopDeviceDocument,
|
|
16387
16406
|
variables,
|
|
16388
16407
|
"chatMessage",
|
|
16389
16408
|
async (db) => {
|
|
@@ -16406,14 +16425,14 @@ var ChatMessage_Chat_InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16406
16425
|
}
|
|
16407
16426
|
async fetch(options) {
|
|
16408
16427
|
const variables = this._variables;
|
|
16409
|
-
const response = await this._syncEngine.query(
|
|
16428
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.ChatMessage_Chat_InsightDocument, variables, "chatMessage");
|
|
16410
16429
|
const data = response.chatMessage?.chat?.insight;
|
|
16411
16430
|
return data ? new Insight(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16412
16431
|
}
|
|
16413
16432
|
watch(options) {
|
|
16414
16433
|
const variables = this._variables;
|
|
16415
16434
|
const raw = this._syncEngine.watch(
|
|
16416
|
-
|
|
16435
|
+
chunkF4NHYL2R_cjs.ChatMessage_Chat_InsightDocument,
|
|
16417
16436
|
variables,
|
|
16418
16437
|
"chatMessage",
|
|
16419
16438
|
async (db) => {
|
|
@@ -16436,14 +16455,14 @@ var ChatMessage_Chat_ProjectQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16436
16455
|
}
|
|
16437
16456
|
async fetch(options) {
|
|
16438
16457
|
const variables = this._variables;
|
|
16439
|
-
const response = await this._syncEngine.query(
|
|
16458
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.ChatMessage_Chat_ProjectDocument, variables, "chatMessage");
|
|
16440
16459
|
const data = response.chatMessage?.chat?.project;
|
|
16441
16460
|
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16442
16461
|
}
|
|
16443
16462
|
watch(options) {
|
|
16444
16463
|
const variables = this._variables;
|
|
16445
16464
|
const raw = this._syncEngine.watch(
|
|
16446
|
-
|
|
16465
|
+
chunkF4NHYL2R_cjs.ChatMessage_Chat_ProjectDocument,
|
|
16447
16466
|
variables,
|
|
16448
16467
|
"chatMessage",
|
|
16449
16468
|
async (db) => {
|
|
@@ -16465,7 +16484,7 @@ var ChatMessage_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16465
16484
|
this._variables = variables;
|
|
16466
16485
|
}
|
|
16467
16486
|
async fetch(options) {
|
|
16468
|
-
const response = await this._syncEngine.query(
|
|
16487
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.ChatMessage_ContentsDocument, this._variables, "chatMessage");
|
|
16469
16488
|
const data = response.chatMessage?.contents;
|
|
16470
16489
|
if (!Array.isArray(data)) return [];
|
|
16471
16490
|
return data.map((item) => new ContentBlock(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -16479,14 +16498,14 @@ var ChatMessage_FeedbackQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16479
16498
|
}
|
|
16480
16499
|
async fetch(options) {
|
|
16481
16500
|
const variables = this._variables;
|
|
16482
|
-
const response = await this._syncEngine.query(
|
|
16501
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.ChatMessage_FeedbackDocument, variables, "chatMessage");
|
|
16483
16502
|
const data = response.chatMessage?.feedback;
|
|
16484
16503
|
return data ? new Feedback(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16485
16504
|
}
|
|
16486
16505
|
watch(options) {
|
|
16487
16506
|
const variables = this._variables;
|
|
16488
16507
|
const raw = this._syncEngine.watch(
|
|
16489
|
-
|
|
16508
|
+
chunkF4NHYL2R_cjs.ChatMessage_FeedbackDocument,
|
|
16490
16509
|
variables,
|
|
16491
16510
|
"chatMessage",
|
|
16492
16511
|
async (db) => {
|
|
@@ -16510,7 +16529,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
16510
16529
|
}
|
|
16511
16530
|
async fetch(options) {
|
|
16512
16531
|
const variables = this._variables;
|
|
16513
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16532
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ChatMessagesDocument, "chatMessages", this._includes, variables, true);
|
|
16514
16533
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chatMessages");
|
|
16515
16534
|
const data = response.chatMessages;
|
|
16516
16535
|
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);
|
|
@@ -16527,7 +16546,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
16527
16546
|
const subscriptionId = crypto.randomUUID();
|
|
16528
16547
|
const includes = this._includes;
|
|
16529
16548
|
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) }] : []);
|
|
16530
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16549
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ChatMessagesDocument, "chatMessages", includes, variables, true);
|
|
16531
16550
|
const raw = this._syncEngine.watch(
|
|
16532
16551
|
queryDoc,
|
|
16533
16552
|
mergedVars,
|
|
@@ -16569,7 +16588,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
16569
16588
|
}
|
|
16570
16589
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
16571
16590
|
artifacts(variables, builder) {
|
|
16572
|
-
const info = extractIncludeInfo(
|
|
16591
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_ArtifactsDocument, "artifacts", ["id"]);
|
|
16573
16592
|
let children;
|
|
16574
16593
|
if (builder) {
|
|
16575
16594
|
const sub = new ArtifactSubBuilder();
|
|
@@ -16578,7 +16597,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
16578
16597
|
}
|
|
16579
16598
|
this._includes.push({
|
|
16580
16599
|
fieldName: "artifacts",
|
|
16581
|
-
fragmentDoc:
|
|
16600
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ArtifactConnectionFragmentDoc,
|
|
16582
16601
|
variables,
|
|
16583
16602
|
isConnection: true,
|
|
16584
16603
|
isList: false,
|
|
@@ -16596,7 +16615,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
16596
16615
|
}
|
|
16597
16616
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
16598
16617
|
chat(variables, builder) {
|
|
16599
|
-
const info = extractIncludeInfo(
|
|
16618
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_ChatDocument, "chat", ["id"]);
|
|
16600
16619
|
let children;
|
|
16601
16620
|
if (builder) {
|
|
16602
16621
|
const sub = new ChatSubBuilder();
|
|
@@ -16605,7 +16624,7 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
16605
16624
|
}
|
|
16606
16625
|
this._includes.push({
|
|
16607
16626
|
fieldName: "chat",
|
|
16608
|
-
fragmentDoc:
|
|
16627
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatFragmentDoc,
|
|
16609
16628
|
variables,
|
|
16610
16629
|
isConnection: false,
|
|
16611
16630
|
isList: false,
|
|
@@ -16622,10 +16641,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
16622
16641
|
}
|
|
16623
16642
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
16624
16643
|
contents(variables) {
|
|
16625
|
-
const info = extractIncludeInfo(
|
|
16644
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_ContentsDocument, "contents", ["id"]);
|
|
16626
16645
|
this._includes.push({
|
|
16627
16646
|
fieldName: "contents",
|
|
16628
|
-
fragmentDoc:
|
|
16647
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ContentBlockFragmentDoc,
|
|
16629
16648
|
variables,
|
|
16630
16649
|
isConnection: false,
|
|
16631
16650
|
isList: true,
|
|
@@ -16641,10 +16660,10 @@ var ChatMessagesQuery = class _ChatMessagesQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
16641
16660
|
}
|
|
16642
16661
|
/** Include feedback in this query (Smart Fetch — single HTTP request). */
|
|
16643
16662
|
feedback(variables) {
|
|
16644
|
-
const info = extractIncludeInfo(
|
|
16663
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.ChatMessage_FeedbackDocument, "feedback", ["id"]);
|
|
16645
16664
|
this._includes.push({
|
|
16646
16665
|
fieldName: "feedback",
|
|
16647
|
-
fragmentDoc:
|
|
16666
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedbackFragmentDoc,
|
|
16648
16667
|
variables,
|
|
16649
16668
|
isConnection: false,
|
|
16650
16669
|
isList: false,
|
|
@@ -16668,7 +16687,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16668
16687
|
}
|
|
16669
16688
|
async fetch(options) {
|
|
16670
16689
|
const variables = this._variables;
|
|
16671
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16690
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ChatsDocument, "chats", this._includes, variables, true);
|
|
16672
16691
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "chats");
|
|
16673
16692
|
const data = response.chats;
|
|
16674
16693
|
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);
|
|
@@ -16685,7 +16704,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16685
16704
|
const subscriptionId = crypto.randomUUID();
|
|
16686
16705
|
const includes = this._includes;
|
|
16687
16706
|
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) }] : []);
|
|
16688
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16707
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ChatsDocument, "chats", includes, variables, true);
|
|
16689
16708
|
const raw = this._syncEngine.watch(
|
|
16690
16709
|
queryDoc,
|
|
16691
16710
|
mergedVars,
|
|
@@ -16727,7 +16746,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16727
16746
|
}
|
|
16728
16747
|
/** Include agents in this query (Smart Fetch — single HTTP request). */
|
|
16729
16748
|
agents(variables, builder) {
|
|
16730
|
-
const info = extractIncludeInfo(
|
|
16749
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_AgentsDocument, "agents", ["id"]);
|
|
16731
16750
|
let children;
|
|
16732
16751
|
if (builder) {
|
|
16733
16752
|
const sub = new AgentSubBuilder();
|
|
@@ -16736,7 +16755,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16736
16755
|
}
|
|
16737
16756
|
this._includes.push({
|
|
16738
16757
|
fieldName: "agents",
|
|
16739
|
-
fragmentDoc:
|
|
16758
|
+
fragmentDoc: chunkF4NHYL2R_cjs.AgentConnectionFragmentDoc,
|
|
16740
16759
|
variables,
|
|
16741
16760
|
isConnection: true,
|
|
16742
16761
|
isList: false,
|
|
@@ -16754,7 +16773,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16754
16773
|
}
|
|
16755
16774
|
/** Include artifacts in this query (Smart Fetch — single HTTP request). */
|
|
16756
16775
|
artifacts(variables, builder) {
|
|
16757
|
-
const info = extractIncludeInfo(
|
|
16776
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_ArtifactsDocument, "artifacts", ["id"]);
|
|
16758
16777
|
let children;
|
|
16759
16778
|
if (builder) {
|
|
16760
16779
|
const sub = new ArtifactSubBuilder();
|
|
@@ -16763,7 +16782,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16763
16782
|
}
|
|
16764
16783
|
this._includes.push({
|
|
16765
16784
|
fieldName: "artifacts",
|
|
16766
|
-
fragmentDoc:
|
|
16785
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ArtifactConnectionFragmentDoc,
|
|
16767
16786
|
variables,
|
|
16768
16787
|
isConnection: true,
|
|
16769
16788
|
isList: false,
|
|
@@ -16781,10 +16800,10 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16781
16800
|
}
|
|
16782
16801
|
/** Include desktopDevice in this query (Smart Fetch — single HTTP request). */
|
|
16783
16802
|
desktopDevice(variables) {
|
|
16784
|
-
const info = extractIncludeInfo(
|
|
16803
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_DesktopDeviceDocument, "desktopDevice", ["id"]);
|
|
16785
16804
|
this._includes.push({
|
|
16786
16805
|
fieldName: "desktopDevice",
|
|
16787
|
-
fragmentDoc:
|
|
16806
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DesktopDeviceFragmentDoc,
|
|
16788
16807
|
variables,
|
|
16789
16808
|
isConnection: false,
|
|
16790
16809
|
isList: false,
|
|
@@ -16800,7 +16819,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16800
16819
|
}
|
|
16801
16820
|
/** Include insight in this query (Smart Fetch — single HTTP request). */
|
|
16802
16821
|
insight(variables, builder) {
|
|
16803
|
-
const info = extractIncludeInfo(
|
|
16822
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_InsightDocument, "insight", ["id"]);
|
|
16804
16823
|
let children;
|
|
16805
16824
|
if (builder) {
|
|
16806
16825
|
const sub = new InsightSubBuilder();
|
|
@@ -16809,7 +16828,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16809
16828
|
}
|
|
16810
16829
|
this._includes.push({
|
|
16811
16830
|
fieldName: "insight",
|
|
16812
|
-
fragmentDoc:
|
|
16831
|
+
fragmentDoc: chunkF4NHYL2R_cjs.InsightFragmentDoc,
|
|
16813
16832
|
variables,
|
|
16814
16833
|
isConnection: false,
|
|
16815
16834
|
isList: false,
|
|
@@ -16826,7 +16845,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16826
16845
|
}
|
|
16827
16846
|
/** Include messages in this query (Smart Fetch — single HTTP request). */
|
|
16828
16847
|
messages(variables, builder) {
|
|
16829
|
-
const info = extractIncludeInfo(
|
|
16848
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_MessagesDocument, "messages", ["id"]);
|
|
16830
16849
|
let children;
|
|
16831
16850
|
if (builder) {
|
|
16832
16851
|
const sub = new ChatMessageSubBuilder();
|
|
@@ -16835,7 +16854,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16835
16854
|
}
|
|
16836
16855
|
this._includes.push({
|
|
16837
16856
|
fieldName: "messages",
|
|
16838
|
-
fragmentDoc:
|
|
16857
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatMessageConnectionFragmentDoc,
|
|
16839
16858
|
variables,
|
|
16840
16859
|
isConnection: true,
|
|
16841
16860
|
isList: false,
|
|
@@ -16853,7 +16872,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16853
16872
|
}
|
|
16854
16873
|
/** Include project in this query (Smart Fetch — single HTTP request). */
|
|
16855
16874
|
project(variables, builder) {
|
|
16856
|
-
const info = extractIncludeInfo(
|
|
16875
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Chat_ProjectDocument, "project", ["id"]);
|
|
16857
16876
|
let children;
|
|
16858
16877
|
if (builder) {
|
|
16859
16878
|
const sub = new ProjectSubBuilder();
|
|
@@ -16862,7 +16881,7 @@ var ChatsQuery = class _ChatsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
16862
16881
|
}
|
|
16863
16882
|
this._includes.push({
|
|
16864
16883
|
fieldName: "project",
|
|
16865
|
-
fragmentDoc:
|
|
16884
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ProjectFragmentDoc,
|
|
16866
16885
|
variables,
|
|
16867
16886
|
isConnection: false,
|
|
16868
16887
|
isList: false,
|
|
@@ -16887,7 +16906,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16887
16906
|
}
|
|
16888
16907
|
async fetch(options) {
|
|
16889
16908
|
const variables = this._variables;
|
|
16890
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16909
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DatabaseDocument, "database", this._includes, variables);
|
|
16891
16910
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "database");
|
|
16892
16911
|
const data = response.database;
|
|
16893
16912
|
const instance = new Database(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -16899,7 +16918,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16899
16918
|
watch(options) {
|
|
16900
16919
|
const variables = this._variables;
|
|
16901
16920
|
const includes = this._includes;
|
|
16902
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
16921
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DatabaseDocument, "database", includes, variables);
|
|
16903
16922
|
const raw = this._syncEngine.watch(
|
|
16904
16923
|
queryDoc,
|
|
16905
16924
|
mergedVars,
|
|
@@ -16929,10 +16948,10 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16929
16948
|
}
|
|
16930
16949
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
16931
16950
|
engine(variables) {
|
|
16932
|
-
const info = extractIncludeInfo(
|
|
16951
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
16933
16952
|
this._includes.push({
|
|
16934
16953
|
fieldName: "engine",
|
|
16935
|
-
fragmentDoc:
|
|
16954
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DatabaseEngineFragmentDoc,
|
|
16936
16955
|
variables,
|
|
16937
16956
|
isConnection: false,
|
|
16938
16957
|
isList: false,
|
|
@@ -16948,7 +16967,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16948
16967
|
}
|
|
16949
16968
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
16950
16969
|
tables(variables, builder) {
|
|
16951
|
-
const info = extractIncludeInfo(
|
|
16970
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
16952
16971
|
let children;
|
|
16953
16972
|
if (builder) {
|
|
16954
16973
|
const sub = new TableSubBuilder();
|
|
@@ -16957,7 +16976,7 @@ var DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16957
16976
|
}
|
|
16958
16977
|
this._includes.push({
|
|
16959
16978
|
fieldName: "tables",
|
|
16960
|
-
fragmentDoc:
|
|
16979
|
+
fragmentDoc: chunkF4NHYL2R_cjs.TableConnectionFragmentDoc,
|
|
16961
16980
|
variables,
|
|
16962
16981
|
isConnection: true,
|
|
16963
16982
|
isList: false,
|
|
@@ -16982,14 +17001,14 @@ var Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
16982
17001
|
}
|
|
16983
17002
|
async fetch(options) {
|
|
16984
17003
|
const variables = this._variables;
|
|
16985
|
-
const response = await this._syncEngine.query(
|
|
17004
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Database_EngineDocument, variables, "database");
|
|
16986
17005
|
const data = response.database?.engine;
|
|
16987
17006
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
16988
17007
|
}
|
|
16989
17008
|
watch(options) {
|
|
16990
17009
|
const variables = this._variables;
|
|
16991
17010
|
const raw = this._syncEngine.watch(
|
|
16992
|
-
|
|
17011
|
+
chunkF4NHYL2R_cjs.Database_EngineDocument,
|
|
16993
17012
|
variables,
|
|
16994
17013
|
"database",
|
|
16995
17014
|
async (db) => {
|
|
@@ -17012,14 +17031,14 @@ var Database_Engine_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17012
17031
|
}
|
|
17013
17032
|
async fetch(options) {
|
|
17014
17033
|
const variables = this._variables;
|
|
17015
|
-
const response = await this._syncEngine.query(
|
|
17034
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Database_Engine_CatalogDocument, variables, "database");
|
|
17016
17035
|
const data = response.database?.engine?.catalog;
|
|
17017
17036
|
return data ? new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17018
17037
|
}
|
|
17019
17038
|
watch(options) {
|
|
17020
17039
|
const variables = this._variables;
|
|
17021
17040
|
const raw = this._syncEngine.watch(
|
|
17022
|
-
|
|
17041
|
+
chunkF4NHYL2R_cjs.Database_Engine_CatalogDocument,
|
|
17023
17042
|
variables,
|
|
17024
17043
|
"database",
|
|
17025
17044
|
async (db) => {
|
|
@@ -17042,18 +17061,18 @@ var Database_TablesQuery = class _Database_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
17042
17061
|
}
|
|
17043
17062
|
async fetch(options) {
|
|
17044
17063
|
const variables = this._variables;
|
|
17045
|
-
const response = await this._syncEngine.query(
|
|
17064
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Database_TablesDocument, variables, "database");
|
|
17046
17065
|
const data = response.database?.tables;
|
|
17047
17066
|
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);
|
|
17048
17067
|
}
|
|
17049
17068
|
watch(options) {
|
|
17050
17069
|
const variables = this._variables;
|
|
17051
17070
|
const raw = this._syncEngine.watch(
|
|
17052
|
-
|
|
17071
|
+
chunkF4NHYL2R_cjs.Database_TablesDocument,
|
|
17053
17072
|
variables,
|
|
17054
17073
|
"database",
|
|
17055
17074
|
async (db) => {
|
|
17056
|
-
const queryKey = buildQueryKey("database", variables,
|
|
17075
|
+
const queryKey = buildQueryKey("database", variables, chunkF4NHYL2R_cjs.Database_TablesDocument);
|
|
17057
17076
|
const qr = await db._queryResults.get(queryKey);
|
|
17058
17077
|
if (!qr) {
|
|
17059
17078
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -17081,7 +17100,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17081
17100
|
}
|
|
17082
17101
|
async fetch(options) {
|
|
17083
17102
|
const variables = this._variables;
|
|
17084
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17103
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DatabaseCatalogDocument, "databaseCatalog", this._includes, variables);
|
|
17085
17104
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalog");
|
|
17086
17105
|
const data = response.databaseCatalog;
|
|
17087
17106
|
const instance = new DatabaseCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17093,7 +17112,7 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17093
17112
|
watch(options) {
|
|
17094
17113
|
const variables = this._variables;
|
|
17095
17114
|
const includes = this._includes;
|
|
17096
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17115
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DatabaseCatalogDocument, "databaseCatalog", includes, variables);
|
|
17097
17116
|
const raw = this._syncEngine.watch(
|
|
17098
17117
|
queryDoc,
|
|
17099
17118
|
mergedVars,
|
|
@@ -17123,10 +17142,10 @@ var DatabaseCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17123
17142
|
}
|
|
17124
17143
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
17125
17144
|
engine(variables) {
|
|
17126
|
-
const info = extractIncludeInfo(
|
|
17145
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
17127
17146
|
this._includes.push({
|
|
17128
17147
|
fieldName: "engine",
|
|
17129
|
-
fragmentDoc:
|
|
17148
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DatabaseEngineFragmentDoc,
|
|
17130
17149
|
variables,
|
|
17131
17150
|
isConnection: false,
|
|
17132
17151
|
isList: false,
|
|
@@ -17149,14 +17168,14 @@ var DatabaseCatalog_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17149
17168
|
}
|
|
17150
17169
|
async fetch(options) {
|
|
17151
17170
|
const variables = this._variables;
|
|
17152
|
-
const response = await this._syncEngine.query(
|
|
17171
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.DatabaseCatalog_EngineDocument, variables, "databaseCatalog");
|
|
17153
17172
|
const data = response.databaseCatalog?.engine;
|
|
17154
17173
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17155
17174
|
}
|
|
17156
17175
|
watch(options) {
|
|
17157
17176
|
const variables = this._variables;
|
|
17158
17177
|
const raw = this._syncEngine.watch(
|
|
17159
|
-
|
|
17178
|
+
chunkF4NHYL2R_cjs.DatabaseCatalog_EngineDocument,
|
|
17160
17179
|
variables,
|
|
17161
17180
|
"databaseCatalog",
|
|
17162
17181
|
async (db) => {
|
|
@@ -17180,7 +17199,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17180
17199
|
}
|
|
17181
17200
|
async fetch(options) {
|
|
17182
17201
|
const variables = this._variables;
|
|
17183
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17202
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DatabaseCatalogsDocument, "databaseCatalogs", this._includes, variables, true);
|
|
17184
17203
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databaseCatalogs");
|
|
17185
17204
|
const data = response.databaseCatalogs;
|
|
17186
17205
|
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);
|
|
@@ -17197,7 +17216,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17197
17216
|
const subscriptionId = crypto.randomUUID();
|
|
17198
17217
|
const includes = this._includes;
|
|
17199
17218
|
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) }] : []);
|
|
17200
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17219
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DatabaseCatalogsDocument, "databaseCatalogs", includes, variables, true);
|
|
17201
17220
|
const raw = this._syncEngine.watch(
|
|
17202
17221
|
queryDoc,
|
|
17203
17222
|
mergedVars,
|
|
@@ -17239,10 +17258,10 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17239
17258
|
}
|
|
17240
17259
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
17241
17260
|
engine(variables) {
|
|
17242
|
-
const info = extractIncludeInfo(
|
|
17261
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.DatabaseCatalog_EngineDocument, "engine", []);
|
|
17243
17262
|
this._includes.push({
|
|
17244
17263
|
fieldName: "engine",
|
|
17245
|
-
fragmentDoc:
|
|
17264
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DatabaseEngineFragmentDoc,
|
|
17246
17265
|
variables,
|
|
17247
17266
|
isConnection: false,
|
|
17248
17267
|
isList: false,
|
|
@@ -17259,7 +17278,7 @@ var DatabaseCatalogsQuery = class _DatabaseCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17259
17278
|
};
|
|
17260
17279
|
var DatabaseSchemaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
17261
17280
|
async fetch(variables) {
|
|
17262
|
-
const response = await this._request(
|
|
17281
|
+
const response = await this._request(chunkF4NHYL2R_cjs.DatabaseSchemaDocument, variables);
|
|
17263
17282
|
return response.databaseSchema;
|
|
17264
17283
|
}
|
|
17265
17284
|
};
|
|
@@ -17272,7 +17291,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17272
17291
|
}
|
|
17273
17292
|
async fetch(options) {
|
|
17274
17293
|
const variables = this._variables;
|
|
17275
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17294
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DatabasesDocument, "databases", this._includes, variables, true);
|
|
17276
17295
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "databases");
|
|
17277
17296
|
const data = response.databases;
|
|
17278
17297
|
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);
|
|
@@ -17289,7 +17308,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17289
17308
|
const subscriptionId = crypto.randomUUID();
|
|
17290
17309
|
const includes = this._includes;
|
|
17291
17310
|
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) }] : []);
|
|
17292
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17311
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DatabasesDocument, "databases", includes, variables, true);
|
|
17293
17312
|
const raw = this._syncEngine.watch(
|
|
17294
17313
|
queryDoc,
|
|
17295
17314
|
mergedVars,
|
|
@@ -17331,10 +17350,10 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17331
17350
|
}
|
|
17332
17351
|
/** Include engine in this query (Smart Fetch — single HTTP request). */
|
|
17333
17352
|
engine(variables) {
|
|
17334
|
-
const info = extractIncludeInfo(
|
|
17353
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Database_EngineDocument, "engine", ["id"]);
|
|
17335
17354
|
this._includes.push({
|
|
17336
17355
|
fieldName: "engine",
|
|
17337
|
-
fragmentDoc:
|
|
17356
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DatabaseEngineFragmentDoc,
|
|
17338
17357
|
variables,
|
|
17339
17358
|
isConnection: false,
|
|
17340
17359
|
isList: false,
|
|
@@ -17350,7 +17369,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17350
17369
|
}
|
|
17351
17370
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
17352
17371
|
tables(variables, builder) {
|
|
17353
|
-
const info = extractIncludeInfo(
|
|
17372
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Database_TablesDocument, "tables", ["id"]);
|
|
17354
17373
|
let children;
|
|
17355
17374
|
if (builder) {
|
|
17356
17375
|
const sub = new TableSubBuilder();
|
|
@@ -17359,7 +17378,7 @@ var DatabasesQuery = class _DatabasesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17359
17378
|
}
|
|
17360
17379
|
this._includes.push({
|
|
17361
17380
|
fieldName: "tables",
|
|
17362
|
-
fragmentDoc:
|
|
17381
|
+
fragmentDoc: chunkF4NHYL2R_cjs.TableConnectionFragmentDoc,
|
|
17363
17382
|
variables,
|
|
17364
17383
|
isConnection: true,
|
|
17365
17384
|
isList: false,
|
|
@@ -17384,7 +17403,7 @@ var DesktopDevicesQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17384
17403
|
this._variables = variables;
|
|
17385
17404
|
}
|
|
17386
17405
|
async fetch(options) {
|
|
17387
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17406
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DesktopDevicesDocument, "desktopDevices", this._includes, this._variables);
|
|
17388
17407
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "desktopDevices");
|
|
17389
17408
|
const data = response.desktopDevices;
|
|
17390
17409
|
if (!Array.isArray(data)) return [];
|
|
@@ -17400,7 +17419,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17400
17419
|
}
|
|
17401
17420
|
async fetch(options) {
|
|
17402
17421
|
const variables = this._variables;
|
|
17403
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17422
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DocumentDocument, "document", this._includes, variables);
|
|
17404
17423
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "document");
|
|
17405
17424
|
const data = response.document;
|
|
17406
17425
|
const instance = new Document(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17412,7 +17431,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17412
17431
|
watch(options) {
|
|
17413
17432
|
const variables = this._variables;
|
|
17414
17433
|
const includes = this._includes;
|
|
17415
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17434
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DocumentDocument, "document", includes, variables);
|
|
17416
17435
|
const raw = this._syncEngine.watch(
|
|
17417
17436
|
queryDoc,
|
|
17418
17437
|
mergedVars,
|
|
@@ -17442,10 +17461,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17442
17461
|
}
|
|
17443
17462
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
17444
17463
|
contents(variables) {
|
|
17445
|
-
const info = extractIncludeInfo(
|
|
17464
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
17446
17465
|
this._includes.push({
|
|
17447
17466
|
fieldName: "contents",
|
|
17448
|
-
fragmentDoc:
|
|
17467
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentContentFragmentDoc,
|
|
17449
17468
|
variables,
|
|
17450
17469
|
isConnection: false,
|
|
17451
17470
|
isList: true,
|
|
@@ -17461,10 +17480,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17461
17480
|
}
|
|
17462
17481
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
17463
17482
|
file(variables) {
|
|
17464
|
-
const info = extractIncludeInfo(
|
|
17483
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_FileDocument, "file", ["id"]);
|
|
17465
17484
|
this._includes.push({
|
|
17466
17485
|
fieldName: "file",
|
|
17467
|
-
fragmentDoc:
|
|
17486
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FileFragmentDoc,
|
|
17468
17487
|
variables,
|
|
17469
17488
|
isConnection: false,
|
|
17470
17489
|
isList: false,
|
|
@@ -17480,10 +17499,10 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17480
17499
|
}
|
|
17481
17500
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
17482
17501
|
format(variables) {
|
|
17483
|
-
const info = extractIncludeInfo(
|
|
17502
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_FormatDocument, "format", ["id"]);
|
|
17484
17503
|
this._includes.push({
|
|
17485
17504
|
fieldName: "format",
|
|
17486
|
-
fragmentDoc:
|
|
17505
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentFormatFragmentDoc,
|
|
17487
17506
|
variables,
|
|
17488
17507
|
isConnection: false,
|
|
17489
17508
|
isList: false,
|
|
@@ -17499,7 +17518,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17499
17518
|
}
|
|
17500
17519
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
17501
17520
|
tables(variables, builder) {
|
|
17502
|
-
const info = extractIncludeInfo(
|
|
17521
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
17503
17522
|
let children;
|
|
17504
17523
|
if (builder) {
|
|
17505
17524
|
const sub = new TableSubBuilder();
|
|
@@ -17508,7 +17527,7 @@ var DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17508
17527
|
}
|
|
17509
17528
|
this._includes.push({
|
|
17510
17529
|
fieldName: "tables",
|
|
17511
|
-
fragmentDoc:
|
|
17530
|
+
fragmentDoc: chunkF4NHYL2R_cjs.TableConnectionFragmentDoc,
|
|
17512
17531
|
variables,
|
|
17513
17532
|
isConnection: true,
|
|
17514
17533
|
isList: false,
|
|
@@ -17532,7 +17551,7 @@ var Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17532
17551
|
this._variables = variables;
|
|
17533
17552
|
}
|
|
17534
17553
|
async fetch(options) {
|
|
17535
|
-
const response = await this._syncEngine.query(
|
|
17554
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Document_ContentsDocument, this._variables, "document");
|
|
17536
17555
|
const data = response.document?.contents;
|
|
17537
17556
|
if (!Array.isArray(data)) return [];
|
|
17538
17557
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -17546,14 +17565,14 @@ var Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17546
17565
|
}
|
|
17547
17566
|
async fetch(options) {
|
|
17548
17567
|
const variables = this._variables;
|
|
17549
|
-
const response = await this._syncEngine.query(
|
|
17568
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Document_FileDocument, variables, "document");
|
|
17550
17569
|
const data = response.document?.file;
|
|
17551
17570
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17552
17571
|
}
|
|
17553
17572
|
watch(options) {
|
|
17554
17573
|
const variables = this._variables;
|
|
17555
17574
|
const raw = this._syncEngine.watch(
|
|
17556
|
-
|
|
17575
|
+
chunkF4NHYL2R_cjs.Document_FileDocument,
|
|
17557
17576
|
variables,
|
|
17558
17577
|
"document",
|
|
17559
17578
|
async (db) => {
|
|
@@ -17576,14 +17595,14 @@ var Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17576
17595
|
}
|
|
17577
17596
|
async fetch(options) {
|
|
17578
17597
|
const variables = this._variables;
|
|
17579
|
-
const response = await this._syncEngine.query(
|
|
17598
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Document_FormatDocument, variables, "document");
|
|
17580
17599
|
const data = response.document?.format;
|
|
17581
17600
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17582
17601
|
}
|
|
17583
17602
|
watch(options) {
|
|
17584
17603
|
const variables = this._variables;
|
|
17585
17604
|
const raw = this._syncEngine.watch(
|
|
17586
|
-
|
|
17605
|
+
chunkF4NHYL2R_cjs.Document_FormatDocument,
|
|
17587
17606
|
variables,
|
|
17588
17607
|
"document",
|
|
17589
17608
|
async (db) => {
|
|
@@ -17606,14 +17625,14 @@ var Document_Format_CatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17606
17625
|
}
|
|
17607
17626
|
async fetch(options) {
|
|
17608
17627
|
const variables = this._variables;
|
|
17609
|
-
const response = await this._syncEngine.query(
|
|
17628
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Document_Format_CatalogDocument, variables, "document");
|
|
17610
17629
|
const data = response.document?.format?.catalog;
|
|
17611
17630
|
return data ? new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17612
17631
|
}
|
|
17613
17632
|
watch(options) {
|
|
17614
17633
|
const variables = this._variables;
|
|
17615
17634
|
const raw = this._syncEngine.watch(
|
|
17616
|
-
|
|
17635
|
+
chunkF4NHYL2R_cjs.Document_Format_CatalogDocument,
|
|
17617
17636
|
variables,
|
|
17618
17637
|
"document",
|
|
17619
17638
|
async (db) => {
|
|
@@ -17636,18 +17655,18 @@ var Document_TablesQuery = class _Document_TablesQuery extends chunk342BFYZZ_cjs
|
|
|
17636
17655
|
}
|
|
17637
17656
|
async fetch(options) {
|
|
17638
17657
|
const variables = this._variables;
|
|
17639
|
-
const response = await this._syncEngine.query(
|
|
17658
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Document_TablesDocument, variables, "document");
|
|
17640
17659
|
const data = response.document?.tables;
|
|
17641
17660
|
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);
|
|
17642
17661
|
}
|
|
17643
17662
|
watch(options) {
|
|
17644
17663
|
const variables = this._variables;
|
|
17645
17664
|
const raw = this._syncEngine.watch(
|
|
17646
|
-
|
|
17665
|
+
chunkF4NHYL2R_cjs.Document_TablesDocument,
|
|
17647
17666
|
variables,
|
|
17648
17667
|
"document",
|
|
17649
17668
|
async (db) => {
|
|
17650
|
-
const queryKey = buildQueryKey("document", variables,
|
|
17669
|
+
const queryKey = buildQueryKey("document", variables, chunkF4NHYL2R_cjs.Document_TablesDocument);
|
|
17651
17670
|
const qr = await db._queryResults.get(queryKey);
|
|
17652
17671
|
if (!qr) {
|
|
17653
17672
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -17675,7 +17694,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17675
17694
|
}
|
|
17676
17695
|
async fetch(options) {
|
|
17677
17696
|
const variables = this._variables;
|
|
17678
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17697
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DocumentCatalogDocument, "documentCatalog", this._includes, variables);
|
|
17679
17698
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalog");
|
|
17680
17699
|
const data = response.documentCatalog;
|
|
17681
17700
|
const instance = new DocumentCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -17687,7 +17706,7 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17687
17706
|
watch(options) {
|
|
17688
17707
|
const variables = this._variables;
|
|
17689
17708
|
const includes = this._includes;
|
|
17690
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17709
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DocumentCatalogDocument, "documentCatalog", includes, variables);
|
|
17691
17710
|
const raw = this._syncEngine.watch(
|
|
17692
17711
|
queryDoc,
|
|
17693
17712
|
mergedVars,
|
|
@@ -17717,10 +17736,10 @@ var DocumentCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17717
17736
|
}
|
|
17718
17737
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
17719
17738
|
format(variables) {
|
|
17720
|
-
const info = extractIncludeInfo(
|
|
17739
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
17721
17740
|
this._includes.push({
|
|
17722
17741
|
fieldName: "format",
|
|
17723
|
-
fragmentDoc:
|
|
17742
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentFormatFragmentDoc,
|
|
17724
17743
|
variables,
|
|
17725
17744
|
isConnection: false,
|
|
17726
17745
|
isList: false,
|
|
@@ -17743,14 +17762,14 @@ var DocumentCatalog_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
17743
17762
|
}
|
|
17744
17763
|
async fetch(options) {
|
|
17745
17764
|
const variables = this._variables;
|
|
17746
|
-
const response = await this._syncEngine.query(
|
|
17765
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.DocumentCatalog_FormatDocument, variables, "documentCatalog");
|
|
17747
17766
|
const data = response.documentCatalog?.format;
|
|
17748
17767
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
17749
17768
|
}
|
|
17750
17769
|
watch(options) {
|
|
17751
17770
|
const variables = this._variables;
|
|
17752
17771
|
const raw = this._syncEngine.watch(
|
|
17753
|
-
|
|
17772
|
+
chunkF4NHYL2R_cjs.DocumentCatalog_FormatDocument,
|
|
17754
17773
|
variables,
|
|
17755
17774
|
"documentCatalog",
|
|
17756
17775
|
async (db) => {
|
|
@@ -17774,7 +17793,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17774
17793
|
}
|
|
17775
17794
|
async fetch(options) {
|
|
17776
17795
|
const variables = this._variables;
|
|
17777
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17796
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DocumentCatalogsDocument, "documentCatalogs", this._includes, variables, true);
|
|
17778
17797
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documentCatalogs");
|
|
17779
17798
|
const data = response.documentCatalogs;
|
|
17780
17799
|
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);
|
|
@@ -17791,7 +17810,7 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17791
17810
|
const subscriptionId = crypto.randomUUID();
|
|
17792
17811
|
const includes = this._includes;
|
|
17793
17812
|
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) }] : []);
|
|
17794
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17813
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DocumentCatalogsDocument, "documentCatalogs", includes, variables, true);
|
|
17795
17814
|
const raw = this._syncEngine.watch(
|
|
17796
17815
|
queryDoc,
|
|
17797
17816
|
mergedVars,
|
|
@@ -17833,10 +17852,10 @@ var DocumentCatalogsQuery = class _DocumentCatalogsQuery extends chunk342BFYZZ_c
|
|
|
17833
17852
|
}
|
|
17834
17853
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
17835
17854
|
format(variables) {
|
|
17836
|
-
const info = extractIncludeInfo(
|
|
17855
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.DocumentCatalog_FormatDocument, "format", []);
|
|
17837
17856
|
this._includes.push({
|
|
17838
17857
|
fieldName: "format",
|
|
17839
|
-
fragmentDoc:
|
|
17858
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentFormatFragmentDoc,
|
|
17840
17859
|
variables,
|
|
17841
17860
|
isConnection: false,
|
|
17842
17861
|
isList: false,
|
|
@@ -17860,7 +17879,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17860
17879
|
}
|
|
17861
17880
|
async fetch(options) {
|
|
17862
17881
|
const variables = this._variables;
|
|
17863
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17882
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DocumentsDocument, "documents", this._includes, variables, true);
|
|
17864
17883
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "documents");
|
|
17865
17884
|
const data = response.documents;
|
|
17866
17885
|
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);
|
|
@@ -17877,7 +17896,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17877
17896
|
const subscriptionId = crypto.randomUUID();
|
|
17878
17897
|
const includes = this._includes;
|
|
17879
17898
|
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) }] : []);
|
|
17880
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
17899
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.DocumentsDocument, "documents", includes, variables, true);
|
|
17881
17900
|
const raw = this._syncEngine.watch(
|
|
17882
17901
|
queryDoc,
|
|
17883
17902
|
mergedVars,
|
|
@@ -17919,10 +17938,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17919
17938
|
}
|
|
17920
17939
|
/** Include contents in this query (Smart Fetch — single HTTP request). */
|
|
17921
17940
|
contents(variables) {
|
|
17922
|
-
const info = extractIncludeInfo(
|
|
17941
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_ContentsDocument, "contents", ["id"]);
|
|
17923
17942
|
this._includes.push({
|
|
17924
17943
|
fieldName: "contents",
|
|
17925
|
-
fragmentDoc:
|
|
17944
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentContentFragmentDoc,
|
|
17926
17945
|
variables,
|
|
17927
17946
|
isConnection: false,
|
|
17928
17947
|
isList: true,
|
|
@@ -17938,10 +17957,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17938
17957
|
}
|
|
17939
17958
|
/** Include file in this query (Smart Fetch — single HTTP request). */
|
|
17940
17959
|
file(variables) {
|
|
17941
|
-
const info = extractIncludeInfo(
|
|
17960
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_FileDocument, "file", ["id"]);
|
|
17942
17961
|
this._includes.push({
|
|
17943
17962
|
fieldName: "file",
|
|
17944
|
-
fragmentDoc:
|
|
17963
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FileFragmentDoc,
|
|
17945
17964
|
variables,
|
|
17946
17965
|
isConnection: false,
|
|
17947
17966
|
isList: false,
|
|
@@ -17957,10 +17976,10 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17957
17976
|
}
|
|
17958
17977
|
/** Include format in this query (Smart Fetch — single HTTP request). */
|
|
17959
17978
|
format(variables) {
|
|
17960
|
-
const info = extractIncludeInfo(
|
|
17979
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_FormatDocument, "format", ["id"]);
|
|
17961
17980
|
this._includes.push({
|
|
17962
17981
|
fieldName: "format",
|
|
17963
|
-
fragmentDoc:
|
|
17982
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentFormatFragmentDoc,
|
|
17964
17983
|
variables,
|
|
17965
17984
|
isConnection: false,
|
|
17966
17985
|
isList: false,
|
|
@@ -17976,7 +17995,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17976
17995
|
}
|
|
17977
17996
|
/** Include tables in this query (Smart Fetch — single HTTP request). */
|
|
17978
17997
|
tables(variables, builder) {
|
|
17979
|
-
const info = extractIncludeInfo(
|
|
17998
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Document_TablesDocument, "tables", ["id"]);
|
|
17980
17999
|
let children;
|
|
17981
18000
|
if (builder) {
|
|
17982
18001
|
const sub = new TableSubBuilder();
|
|
@@ -17985,7 +18004,7 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
17985
18004
|
}
|
|
17986
18005
|
this._includes.push({
|
|
17987
18006
|
fieldName: "tables",
|
|
17988
|
-
fragmentDoc:
|
|
18007
|
+
fragmentDoc: chunkF4NHYL2R_cjs.TableConnectionFragmentDoc,
|
|
17989
18008
|
variables,
|
|
17990
18009
|
isConnection: true,
|
|
17991
18010
|
isList: false,
|
|
@@ -18004,13 +18023,13 @@ var DocumentsQuery = class _DocumentsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18004
18023
|
};
|
|
18005
18024
|
var ExportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18006
18025
|
async fetch(variables) {
|
|
18007
|
-
const response = await this._request(
|
|
18026
|
+
const response = await this._request(chunkF4NHYL2R_cjs.ExportDocument, variables);
|
|
18008
18027
|
return response.export;
|
|
18009
18028
|
}
|
|
18010
18029
|
};
|
|
18011
18030
|
var ExportWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18012
18031
|
async fetch(variables) {
|
|
18013
|
-
const response = await this._request(
|
|
18032
|
+
const response = await this._request(chunkF4NHYL2R_cjs.ExportWithInsightIdDocument, variables);
|
|
18014
18033
|
return response.exportWithInsightId;
|
|
18015
18034
|
}
|
|
18016
18035
|
};
|
|
@@ -18023,7 +18042,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18023
18042
|
}
|
|
18024
18043
|
async fetch(options) {
|
|
18025
18044
|
const variables = this._variables;
|
|
18026
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18045
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.FeedItemDocument, "feedItem", this._includes, variables);
|
|
18027
18046
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItem");
|
|
18028
18047
|
const data = response.feedItem;
|
|
18029
18048
|
if (!data) return void 0;
|
|
@@ -18036,7 +18055,7 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18036
18055
|
watch(options) {
|
|
18037
18056
|
const variables = this._variables;
|
|
18038
18057
|
const includes = this._includes;
|
|
18039
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18058
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.FeedItemDocument, "feedItem", includes, variables);
|
|
18040
18059
|
const raw = this._syncEngine.watch(
|
|
18041
18060
|
queryDoc,
|
|
18042
18061
|
mergedVars,
|
|
@@ -18067,10 +18086,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18067
18086
|
}
|
|
18068
18087
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
18069
18088
|
action(variables) {
|
|
18070
|
-
const info = extractIncludeInfo(
|
|
18089
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
18071
18090
|
this._includes.push({
|
|
18072
18091
|
fieldName: "action",
|
|
18073
|
-
fragmentDoc:
|
|
18092
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedSendMessageActionFragmentDoc,
|
|
18074
18093
|
variables,
|
|
18075
18094
|
isConnection: false,
|
|
18076
18095
|
isList: false,
|
|
@@ -18086,10 +18105,10 @@ var FeedItemQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18086
18105
|
}
|
|
18087
18106
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
18088
18107
|
data(variables) {
|
|
18089
|
-
const info = extractIncludeInfo(
|
|
18108
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
18090
18109
|
this._includes.push({
|
|
18091
18110
|
fieldName: "data",
|
|
18092
|
-
fragmentDoc:
|
|
18111
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedArtifactDataFragmentDoc,
|
|
18093
18112
|
variables,
|
|
18094
18113
|
isConnection: false,
|
|
18095
18114
|
isList: true,
|
|
@@ -18112,14 +18131,14 @@ var FeedItem_ActionQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18112
18131
|
}
|
|
18113
18132
|
async fetch(options) {
|
|
18114
18133
|
const variables = this._variables;
|
|
18115
|
-
const response = await this._syncEngine.query(
|
|
18134
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.FeedItem_ActionDocument, variables, "feedItem");
|
|
18116
18135
|
const data = response.feedItem?.action;
|
|
18117
18136
|
return data ? new FeedSendMessageAction(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18118
18137
|
}
|
|
18119
18138
|
watch(options) {
|
|
18120
18139
|
const variables = this._variables;
|
|
18121
18140
|
const raw = this._syncEngine.watch(
|
|
18122
|
-
|
|
18141
|
+
chunkF4NHYL2R_cjs.FeedItem_ActionDocument,
|
|
18123
18142
|
variables,
|
|
18124
18143
|
"feedItem",
|
|
18125
18144
|
async (db) => {
|
|
@@ -18141,7 +18160,7 @@ var FeedItem_DataQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18141
18160
|
this._variables = variables;
|
|
18142
18161
|
}
|
|
18143
18162
|
async fetch(options) {
|
|
18144
|
-
const response = await this._syncEngine.query(
|
|
18163
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.FeedItem_DataDocument, this._variables, "feedItem");
|
|
18145
18164
|
const data = response.feedItem?.data;
|
|
18146
18165
|
if (!Array.isArray(data)) return [];
|
|
18147
18166
|
return data.map((item) => new FeedArtifactData(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -18156,7 +18175,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18156
18175
|
}
|
|
18157
18176
|
async fetch(options) {
|
|
18158
18177
|
const variables = this._variables;
|
|
18159
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18178
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.FeedItemsDocument, "feedItems", this._includes, variables, true);
|
|
18160
18179
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "feedItems");
|
|
18161
18180
|
const data = response.feedItems;
|
|
18162
18181
|
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);
|
|
@@ -18173,7 +18192,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18173
18192
|
const subscriptionId = crypto.randomUUID();
|
|
18174
18193
|
const includes = this._includes;
|
|
18175
18194
|
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) }] : []);
|
|
18176
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18195
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.FeedItemsDocument, "feedItems", includes, variables, true);
|
|
18177
18196
|
const raw = this._syncEngine.watch(
|
|
18178
18197
|
queryDoc,
|
|
18179
18198
|
mergedVars,
|
|
@@ -18215,10 +18234,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18215
18234
|
}
|
|
18216
18235
|
/** Include action in this query (Smart Fetch — single HTTP request). */
|
|
18217
18236
|
action(variables) {
|
|
18218
|
-
const info = extractIncludeInfo(
|
|
18237
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.FeedItem_ActionDocument, "action", ["id"]);
|
|
18219
18238
|
this._includes.push({
|
|
18220
18239
|
fieldName: "action",
|
|
18221
|
-
fragmentDoc:
|
|
18240
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedSendMessageActionFragmentDoc,
|
|
18222
18241
|
variables,
|
|
18223
18242
|
isConnection: false,
|
|
18224
18243
|
isList: false,
|
|
@@ -18234,10 +18253,10 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18234
18253
|
}
|
|
18235
18254
|
/** Include data in this query (Smart Fetch — single HTTP request). */
|
|
18236
18255
|
data(variables) {
|
|
18237
|
-
const info = extractIncludeInfo(
|
|
18256
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.FeedItem_DataDocument, "data", ["id"]);
|
|
18238
18257
|
this._includes.push({
|
|
18239
18258
|
fieldName: "data",
|
|
18240
|
-
fragmentDoc:
|
|
18259
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedArtifactDataFragmentDoc,
|
|
18241
18260
|
variables,
|
|
18242
18261
|
isConnection: false,
|
|
18243
18262
|
isList: true,
|
|
@@ -18254,7 +18273,7 @@ var FeedItemsQuery = class _FeedItemsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18254
18273
|
};
|
|
18255
18274
|
var FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18256
18275
|
async fetch(variables) {
|
|
18257
|
-
const response = await this._request(
|
|
18276
|
+
const response = await this._request(chunkF4NHYL2R_cjs.FileDocument, variables);
|
|
18258
18277
|
return response.file;
|
|
18259
18278
|
}
|
|
18260
18279
|
};
|
|
@@ -18267,7 +18286,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18267
18286
|
}
|
|
18268
18287
|
async fetch(options) {
|
|
18269
18288
|
const variables = this._variables;
|
|
18270
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18289
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.FileMetaDocument, "fileMeta", this._includes, variables);
|
|
18271
18290
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileMeta");
|
|
18272
18291
|
const data = response.fileMeta;
|
|
18273
18292
|
if (!data) return void 0;
|
|
@@ -18280,7 +18299,7 @@ var FileMetaQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18280
18299
|
watch(options) {
|
|
18281
18300
|
const variables = this._variables;
|
|
18282
18301
|
const includes = this._includes;
|
|
18283
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18302
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.FileMetaDocument, "fileMeta", includes, variables);
|
|
18284
18303
|
const raw = this._syncEngine.watch(
|
|
18285
18304
|
queryDoc,
|
|
18286
18305
|
mergedVars,
|
|
@@ -18318,7 +18337,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18318
18337
|
this._variables = variables;
|
|
18319
18338
|
}
|
|
18320
18339
|
async fetch(options) {
|
|
18321
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18340
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.FileUrlsDocument, "fileUrls", this._includes, this._variables);
|
|
18322
18341
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "fileUrls");
|
|
18323
18342
|
const data = response.fileUrls;
|
|
18324
18343
|
if (!Array.isArray(data)) return [];
|
|
@@ -18327,7 +18346,7 @@ var FileUrlsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18327
18346
|
};
|
|
18328
18347
|
var FindFitTierQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18329
18348
|
async fetch(variables) {
|
|
18330
|
-
const response = await this._request(
|
|
18349
|
+
const response = await this._request(chunkF4NHYL2R_cjs.FindFitTierDocument, variables);
|
|
18331
18350
|
return response.findFitTier ?? void 0;
|
|
18332
18351
|
}
|
|
18333
18352
|
};
|
|
@@ -18340,7 +18359,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18340
18359
|
}
|
|
18341
18360
|
async fetch(options) {
|
|
18342
18361
|
const variables = this._variables;
|
|
18343
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18362
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.FolderDocument, "folder", this._includes, variables);
|
|
18344
18363
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folder");
|
|
18345
18364
|
const data = response.folder;
|
|
18346
18365
|
const instance = new Folder(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18352,7 +18371,7 @@ var FolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18352
18371
|
watch(options) {
|
|
18353
18372
|
const variables = this._variables;
|
|
18354
18373
|
const includes = this._includes;
|
|
18355
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18374
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.FolderDocument, "folder", includes, variables);
|
|
18356
18375
|
const raw = this._syncEngine.watch(
|
|
18357
18376
|
queryDoc,
|
|
18358
18377
|
mergedVars,
|
|
@@ -18390,7 +18409,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18390
18409
|
}
|
|
18391
18410
|
async fetch(options) {
|
|
18392
18411
|
const variables = this._variables;
|
|
18393
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18412
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.FoldersDocument, "folders", this._includes, variables, true);
|
|
18394
18413
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "folders");
|
|
18395
18414
|
const data = response.folders;
|
|
18396
18415
|
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);
|
|
@@ -18407,7 +18426,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18407
18426
|
const subscriptionId = crypto.randomUUID();
|
|
18408
18427
|
const includes = this._includes;
|
|
18409
18428
|
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) }] : []);
|
|
18410
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18429
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.FoldersDocument, "folders", includes, variables, true);
|
|
18411
18430
|
const raw = this._syncEngine.watch(
|
|
18412
18431
|
queryDoc,
|
|
18413
18432
|
mergedVars,
|
|
@@ -18450,7 +18469,7 @@ var FoldersQuery = class _FoldersQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
18450
18469
|
};
|
|
18451
18470
|
var GetCapabilityQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18452
18471
|
async fetch(variables) {
|
|
18453
|
-
const response = await this._request(
|
|
18472
|
+
const response = await this._request(chunkF4NHYL2R_cjs.GetCapabilityDocument, variables);
|
|
18454
18473
|
return response.getCapability;
|
|
18455
18474
|
}
|
|
18456
18475
|
};
|
|
@@ -18463,7 +18482,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18463
18482
|
}
|
|
18464
18483
|
async fetch(options) {
|
|
18465
18484
|
const variables = this._variables;
|
|
18466
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18485
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.GetDevAccessTokenDocument, "getDevAccessToken", this._includes, variables);
|
|
18467
18486
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getDevAccessToken");
|
|
18468
18487
|
const data = response.getDevAccessToken;
|
|
18469
18488
|
const instance = new DevAccessTokenOutput(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18475,7 +18494,7 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18475
18494
|
watch(options) {
|
|
18476
18495
|
const variables = this._variables;
|
|
18477
18496
|
const includes = this._includes;
|
|
18478
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18497
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.GetDevAccessTokenDocument, "getDevAccessToken", includes, variables);
|
|
18479
18498
|
const raw = this._syncEngine.watch(
|
|
18480
18499
|
queryDoc,
|
|
18481
18500
|
mergedVars,
|
|
@@ -18506,13 +18525,13 @@ var GetDevAccessTokenQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18506
18525
|
};
|
|
18507
18526
|
var GetLimitQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18508
18527
|
async fetch(variables) {
|
|
18509
|
-
const response = await this._request(
|
|
18528
|
+
const response = await this._request(chunkF4NHYL2R_cjs.GetLimitDocument, variables);
|
|
18510
18529
|
return response.getLimit ?? void 0;
|
|
18511
18530
|
}
|
|
18512
18531
|
};
|
|
18513
18532
|
var GetRemainingQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18514
18533
|
async fetch(variables) {
|
|
18515
|
-
const response = await this._request(
|
|
18534
|
+
const response = await this._request(chunkF4NHYL2R_cjs.GetRemainingDocument, variables);
|
|
18516
18535
|
return response.getRemaining ?? void 0;
|
|
18517
18536
|
}
|
|
18518
18537
|
};
|
|
@@ -18524,7 +18543,7 @@ var GetTokenUsageByModelQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18524
18543
|
this._variables = variables;
|
|
18525
18544
|
}
|
|
18526
18545
|
async fetch(options) {
|
|
18527
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18546
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.GetTokenUsageByModelDocument, "getTokenUsageByModel", this._includes, this._variables);
|
|
18528
18547
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageByModel");
|
|
18529
18548
|
const data = response.getTokenUsageByModel;
|
|
18530
18549
|
if (!Array.isArray(data)) return [];
|
|
@@ -18539,7 +18558,7 @@ var GetTokenUsageHistoryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18539
18558
|
this._variables = variables;
|
|
18540
18559
|
}
|
|
18541
18560
|
async fetch(options) {
|
|
18542
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18561
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.GetTokenUsageHistoryDocument, "getTokenUsageHistory", this._includes, this._variables);
|
|
18543
18562
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageHistory");
|
|
18544
18563
|
const data = response.getTokenUsageHistory;
|
|
18545
18564
|
if (!Array.isArray(data)) return [];
|
|
@@ -18555,7 +18574,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18555
18574
|
}
|
|
18556
18575
|
async fetch(options) {
|
|
18557
18576
|
const variables = this._variables;
|
|
18558
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18577
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", this._includes, variables);
|
|
18559
18578
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "getTokenUsageStatus");
|
|
18560
18579
|
const data = response.getTokenUsageStatus;
|
|
18561
18580
|
const instance = new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18567,7 +18586,7 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18567
18586
|
watch(options) {
|
|
18568
18587
|
const variables = this._variables;
|
|
18569
18588
|
const includes = this._includes;
|
|
18570
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18589
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.GetTokenUsageStatusDocument, "getTokenUsageStatus", includes, variables);
|
|
18571
18590
|
const raw = this._syncEngine.watch(
|
|
18572
18591
|
queryDoc,
|
|
18573
18592
|
mergedVars,
|
|
@@ -18597,10 +18616,10 @@ var GetTokenUsageStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18597
18616
|
}
|
|
18598
18617
|
/** Include windows in this query (Smart Fetch — single HTTP request). */
|
|
18599
18618
|
windows(variables) {
|
|
18600
|
-
const info = extractIncludeInfo(
|
|
18619
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.GetTokenUsageStatus_WindowsDocument, "windows", []);
|
|
18601
18620
|
this._includes.push({
|
|
18602
18621
|
fieldName: "windows",
|
|
18603
|
-
fragmentDoc:
|
|
18622
|
+
fragmentDoc: chunkF4NHYL2R_cjs.UsageWindowsStatusTypeFragmentDoc,
|
|
18604
18623
|
variables,
|
|
18605
18624
|
isConnection: false,
|
|
18606
18625
|
isList: false,
|
|
@@ -18623,14 +18642,14 @@ var GetTokenUsageStatus_WindowsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18623
18642
|
}
|
|
18624
18643
|
async fetch(options) {
|
|
18625
18644
|
const variables = this._variables;
|
|
18626
|
-
const response = await this._syncEngine.query(
|
|
18645
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.GetTokenUsageStatus_WindowsDocument, variables, "getTokenUsageStatus");
|
|
18627
18646
|
const data = response.getTokenUsageStatus?.windows;
|
|
18628
18647
|
return data ? new UsageWindowsStatusType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18629
18648
|
}
|
|
18630
18649
|
watch(options) {
|
|
18631
18650
|
const variables = this._variables;
|
|
18632
18651
|
const raw = this._syncEngine.watch(
|
|
18633
|
-
|
|
18652
|
+
chunkF4NHYL2R_cjs.GetTokenUsageStatus_WindowsDocument,
|
|
18634
18653
|
variables,
|
|
18635
18654
|
"getTokenUsageStatus",
|
|
18636
18655
|
async (db) => {
|
|
@@ -18653,14 +18672,14 @@ var GetTokenUsageStatus_Windows_DayQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
18653
18672
|
}
|
|
18654
18673
|
async fetch(options) {
|
|
18655
18674
|
const variables = this._variables;
|
|
18656
|
-
const response = await this._syncEngine.query(
|
|
18675
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.GetTokenUsageStatus_Windows_DayDocument, variables, "getTokenUsageStatus");
|
|
18657
18676
|
const data = response.getTokenUsageStatus?.windows?.day;
|
|
18658
18677
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18659
18678
|
}
|
|
18660
18679
|
watch(options) {
|
|
18661
18680
|
const variables = this._variables;
|
|
18662
18681
|
const raw = this._syncEngine.watch(
|
|
18663
|
-
|
|
18682
|
+
chunkF4NHYL2R_cjs.GetTokenUsageStatus_Windows_DayDocument,
|
|
18664
18683
|
variables,
|
|
18665
18684
|
"getTokenUsageStatus",
|
|
18666
18685
|
async (db) => {
|
|
@@ -18683,14 +18702,14 @@ var GetTokenUsageStatus_Windows_FiveHourQuery = class extends chunk342BFYZZ_cjs.
|
|
|
18683
18702
|
}
|
|
18684
18703
|
async fetch(options) {
|
|
18685
18704
|
const variables = this._variables;
|
|
18686
|
-
const response = await this._syncEngine.query(
|
|
18705
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.GetTokenUsageStatus_Windows_FiveHourDocument, variables, "getTokenUsageStatus");
|
|
18687
18706
|
const data = response.getTokenUsageStatus?.windows?.fiveHour;
|
|
18688
18707
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18689
18708
|
}
|
|
18690
18709
|
watch(options) {
|
|
18691
18710
|
const variables = this._variables;
|
|
18692
18711
|
const raw = this._syncEngine.watch(
|
|
18693
|
-
|
|
18712
|
+
chunkF4NHYL2R_cjs.GetTokenUsageStatus_Windows_FiveHourDocument,
|
|
18694
18713
|
variables,
|
|
18695
18714
|
"getTokenUsageStatus",
|
|
18696
18715
|
async (db) => {
|
|
@@ -18713,14 +18732,14 @@ var GetTokenUsageStatus_Windows_MonthQuery = class extends chunk342BFYZZ_cjs.Req
|
|
|
18713
18732
|
}
|
|
18714
18733
|
async fetch(options) {
|
|
18715
18734
|
const variables = this._variables;
|
|
18716
|
-
const response = await this._syncEngine.query(
|
|
18735
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.GetTokenUsageStatus_Windows_MonthDocument, variables, "getTokenUsageStatus");
|
|
18717
18736
|
const data = response.getTokenUsageStatus?.windows?.month;
|
|
18718
18737
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18719
18738
|
}
|
|
18720
18739
|
watch(options) {
|
|
18721
18740
|
const variables = this._variables;
|
|
18722
18741
|
const raw = this._syncEngine.watch(
|
|
18723
|
-
|
|
18742
|
+
chunkF4NHYL2R_cjs.GetTokenUsageStatus_Windows_MonthDocument,
|
|
18724
18743
|
variables,
|
|
18725
18744
|
"getTokenUsageStatus",
|
|
18726
18745
|
async (db) => {
|
|
@@ -18743,14 +18762,14 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
18743
18762
|
}
|
|
18744
18763
|
async fetch(options) {
|
|
18745
18764
|
const variables = this._variables;
|
|
18746
|
-
const response = await this._syncEngine.query(
|
|
18765
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.GetTokenUsageStatus_Windows_WeekDocument, variables, "getTokenUsageStatus");
|
|
18747
18766
|
const data = response.getTokenUsageStatus?.windows?.week;
|
|
18748
18767
|
return data ? new WindowDetailType(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18749
18768
|
}
|
|
18750
18769
|
watch(options) {
|
|
18751
18770
|
const variables = this._variables;
|
|
18752
18771
|
const raw = this._syncEngine.watch(
|
|
18753
|
-
|
|
18772
|
+
chunkF4NHYL2R_cjs.GetTokenUsageStatus_Windows_WeekDocument,
|
|
18754
18773
|
variables,
|
|
18755
18774
|
"getTokenUsageStatus",
|
|
18756
18775
|
async (db) => {
|
|
@@ -18767,7 +18786,7 @@ var GetTokenUsageStatus_Windows_WeekQuery = class extends chunk342BFYZZ_cjs.Requ
|
|
|
18767
18786
|
};
|
|
18768
18787
|
var GetUsageQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
18769
18788
|
async fetch(variables) {
|
|
18770
|
-
const response = await this._request(
|
|
18789
|
+
const response = await this._request(chunkF4NHYL2R_cjs.GetUsageDocument, variables);
|
|
18771
18790
|
return response.getUsage ?? void 0;
|
|
18772
18791
|
}
|
|
18773
18792
|
};
|
|
@@ -18780,7 +18799,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18780
18799
|
}
|
|
18781
18800
|
async fetch(options) {
|
|
18782
18801
|
const variables = this._variables;
|
|
18783
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18802
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.InsightDocument, "insight", this._includes, variables);
|
|
18784
18803
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insight");
|
|
18785
18804
|
const data = response.insight;
|
|
18786
18805
|
const instance = new Insight(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -18792,7 +18811,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18792
18811
|
watch(options) {
|
|
18793
18812
|
const variables = this._variables;
|
|
18794
18813
|
const includes = this._includes;
|
|
18795
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
18814
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.InsightDocument, "insight", includes, variables);
|
|
18796
18815
|
const raw = this._syncEngine.watch(
|
|
18797
18816
|
queryDoc,
|
|
18798
18817
|
mergedVars,
|
|
@@ -18822,7 +18841,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18822
18841
|
}
|
|
18823
18842
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
18824
18843
|
chat(variables, builder) {
|
|
18825
|
-
const info = extractIncludeInfo(
|
|
18844
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
18826
18845
|
let children;
|
|
18827
18846
|
if (builder) {
|
|
18828
18847
|
const sub = new ChatSubBuilder();
|
|
@@ -18831,7 +18850,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18831
18850
|
}
|
|
18832
18851
|
this._includes.push({
|
|
18833
18852
|
fieldName: "chat",
|
|
18834
|
-
fragmentDoc:
|
|
18853
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatFragmentDoc,
|
|
18835
18854
|
variables,
|
|
18836
18855
|
isConnection: false,
|
|
18837
18856
|
isList: false,
|
|
@@ -18848,10 +18867,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18848
18867
|
}
|
|
18849
18868
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
18850
18869
|
reportMembers(variables) {
|
|
18851
|
-
const info = extractIncludeInfo(
|
|
18870
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
18852
18871
|
this._includes.push({
|
|
18853
18872
|
fieldName: "reportMembers",
|
|
18854
|
-
fragmentDoc:
|
|
18873
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ReportMemberFragmentDoc,
|
|
18855
18874
|
variables,
|
|
18856
18875
|
isConnection: false,
|
|
18857
18876
|
isList: true,
|
|
@@ -18867,7 +18886,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18867
18886
|
}
|
|
18868
18887
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
18869
18888
|
reports(variables, builder) {
|
|
18870
|
-
const info = extractIncludeInfo(
|
|
18889
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
18871
18890
|
let children;
|
|
18872
18891
|
if (builder) {
|
|
18873
18892
|
const sub = new ReportSubBuilder();
|
|
@@ -18876,7 +18895,7 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18876
18895
|
}
|
|
18877
18896
|
this._includes.push({
|
|
18878
18897
|
fieldName: "reports",
|
|
18879
|
-
fragmentDoc:
|
|
18898
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ReportConnectionFragmentDoc,
|
|
18880
18899
|
variables,
|
|
18881
18900
|
isConnection: true,
|
|
18882
18901
|
isList: false,
|
|
@@ -18894,10 +18913,10 @@ var InsightQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18894
18913
|
}
|
|
18895
18914
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
18896
18915
|
thumbnailFile(variables) {
|
|
18897
|
-
const info = extractIncludeInfo(
|
|
18916
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
18898
18917
|
this._includes.push({
|
|
18899
18918
|
fieldName: "thumbnailFile",
|
|
18900
|
-
fragmentDoc:
|
|
18919
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FileFragmentDoc,
|
|
18901
18920
|
variables,
|
|
18902
18921
|
isConnection: false,
|
|
18903
18922
|
isList: false,
|
|
@@ -18920,14 +18939,14 @@ var Insight_ChatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18920
18939
|
}
|
|
18921
18940
|
async fetch(options) {
|
|
18922
18941
|
const variables = this._variables;
|
|
18923
|
-
const response = await this._syncEngine.query(
|
|
18942
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Insight_ChatDocument, variables, "insight");
|
|
18924
18943
|
const data = response.insight?.chat;
|
|
18925
18944
|
return data ? new Chat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18926
18945
|
}
|
|
18927
18946
|
watch(options) {
|
|
18928
18947
|
const variables = this._variables;
|
|
18929
18948
|
const raw = this._syncEngine.watch(
|
|
18930
|
-
|
|
18949
|
+
chunkF4NHYL2R_cjs.Insight_ChatDocument,
|
|
18931
18950
|
variables,
|
|
18932
18951
|
"insight",
|
|
18933
18952
|
async (db) => {
|
|
@@ -18950,14 +18969,14 @@ var Insight_Chat_DesktopDeviceQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18950
18969
|
}
|
|
18951
18970
|
async fetch(options) {
|
|
18952
18971
|
const variables = this._variables;
|
|
18953
|
-
const response = await this._syncEngine.query(
|
|
18972
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Insight_Chat_DesktopDeviceDocument, variables, "insight");
|
|
18954
18973
|
const data = response.insight?.chat?.desktopDevice;
|
|
18955
18974
|
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18956
18975
|
}
|
|
18957
18976
|
watch(options) {
|
|
18958
18977
|
const variables = this._variables;
|
|
18959
18978
|
const raw = this._syncEngine.watch(
|
|
18960
|
-
|
|
18979
|
+
chunkF4NHYL2R_cjs.Insight_Chat_DesktopDeviceDocument,
|
|
18961
18980
|
variables,
|
|
18962
18981
|
"insight",
|
|
18963
18982
|
async (db) => {
|
|
@@ -18980,14 +18999,14 @@ var Insight_Chat_ProjectQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
18980
18999
|
}
|
|
18981
19000
|
async fetch(options) {
|
|
18982
19001
|
const variables = this._variables;
|
|
18983
|
-
const response = await this._syncEngine.query(
|
|
19002
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Insight_Chat_ProjectDocument, variables, "insight");
|
|
18984
19003
|
const data = response.insight?.chat?.project;
|
|
18985
19004
|
return data ? new Project(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
18986
19005
|
}
|
|
18987
19006
|
watch(options) {
|
|
18988
19007
|
const variables = this._variables;
|
|
18989
19008
|
const raw = this._syncEngine.watch(
|
|
18990
|
-
|
|
19009
|
+
chunkF4NHYL2R_cjs.Insight_Chat_ProjectDocument,
|
|
18991
19010
|
variables,
|
|
18992
19011
|
"insight",
|
|
18993
19012
|
async (db) => {
|
|
@@ -19009,7 +19028,7 @@ var Insight_ReportMembersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19009
19028
|
this._variables = variables;
|
|
19010
19029
|
}
|
|
19011
19030
|
async fetch(options) {
|
|
19012
|
-
const response = await this._syncEngine.query(
|
|
19031
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Insight_ReportMembersDocument, this._variables, "insight");
|
|
19013
19032
|
const data = response.insight?.reportMembers;
|
|
19014
19033
|
if (!Array.isArray(data)) return [];
|
|
19015
19034
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19023,18 +19042,18 @@ var Insight_ReportsQuery = class _Insight_ReportsQuery extends chunk342BFYZZ_cjs
|
|
|
19023
19042
|
}
|
|
19024
19043
|
async fetch(options) {
|
|
19025
19044
|
const variables = this._variables;
|
|
19026
|
-
const response = await this._syncEngine.query(
|
|
19045
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Insight_ReportsDocument, variables, "insight");
|
|
19027
19046
|
const data = response.insight?.reports;
|
|
19028
19047
|
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);
|
|
19029
19048
|
}
|
|
19030
19049
|
watch(options) {
|
|
19031
19050
|
const variables = this._variables;
|
|
19032
19051
|
const raw = this._syncEngine.watch(
|
|
19033
|
-
|
|
19052
|
+
chunkF4NHYL2R_cjs.Insight_ReportsDocument,
|
|
19034
19053
|
variables,
|
|
19035
19054
|
"insight",
|
|
19036
19055
|
async (db) => {
|
|
19037
|
-
const queryKey = buildQueryKey("insight", variables,
|
|
19056
|
+
const queryKey = buildQueryKey("insight", variables, chunkF4NHYL2R_cjs.Insight_ReportsDocument);
|
|
19038
19057
|
const qr = await db._queryResults.get(queryKey);
|
|
19039
19058
|
if (!qr) {
|
|
19040
19059
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -19061,14 +19080,14 @@ var Insight_ThumbnailFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19061
19080
|
}
|
|
19062
19081
|
async fetch(options) {
|
|
19063
19082
|
const variables = this._variables;
|
|
19064
|
-
const response = await this._syncEngine.query(
|
|
19083
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Insight_ThumbnailFileDocument, variables, "insight");
|
|
19065
19084
|
const data = response.insight?.thumbnailFile;
|
|
19066
19085
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19067
19086
|
}
|
|
19068
19087
|
watch(options) {
|
|
19069
19088
|
const variables = this._variables;
|
|
19070
19089
|
const raw = this._syncEngine.watch(
|
|
19071
|
-
|
|
19090
|
+
chunkF4NHYL2R_cjs.Insight_ThumbnailFileDocument,
|
|
19072
19091
|
variables,
|
|
19073
19092
|
"insight",
|
|
19074
19093
|
async (db) => {
|
|
@@ -19092,7 +19111,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19092
19111
|
}
|
|
19093
19112
|
async fetch(options) {
|
|
19094
19113
|
const variables = this._variables;
|
|
19095
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19114
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.InsightsDocument, "insights", this._includes, variables, true);
|
|
19096
19115
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "insights");
|
|
19097
19116
|
const data = response.insights;
|
|
19098
19117
|
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);
|
|
@@ -19109,7 +19128,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19109
19128
|
const subscriptionId = crypto.randomUUID();
|
|
19110
19129
|
const includes = this._includes;
|
|
19111
19130
|
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) }] : []);
|
|
19112
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19131
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.InsightsDocument, "insights", includes, variables, true);
|
|
19113
19132
|
const raw = this._syncEngine.watch(
|
|
19114
19133
|
queryDoc,
|
|
19115
19134
|
mergedVars,
|
|
@@ -19151,7 +19170,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19151
19170
|
}
|
|
19152
19171
|
/** Include chat in this query (Smart Fetch — single HTTP request). */
|
|
19153
19172
|
chat(variables, builder) {
|
|
19154
|
-
const info = extractIncludeInfo(
|
|
19173
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ChatDocument, "chat", ["id"]);
|
|
19155
19174
|
let children;
|
|
19156
19175
|
if (builder) {
|
|
19157
19176
|
const sub = new ChatSubBuilder();
|
|
@@ -19160,7 +19179,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19160
19179
|
}
|
|
19161
19180
|
this._includes.push({
|
|
19162
19181
|
fieldName: "chat",
|
|
19163
|
-
fragmentDoc:
|
|
19182
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatFragmentDoc,
|
|
19164
19183
|
variables,
|
|
19165
19184
|
isConnection: false,
|
|
19166
19185
|
isList: false,
|
|
@@ -19177,10 +19196,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19177
19196
|
}
|
|
19178
19197
|
/** Include reportMembers in this query (Smart Fetch — single HTTP request). */
|
|
19179
19198
|
reportMembers(variables) {
|
|
19180
|
-
const info = extractIncludeInfo(
|
|
19199
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ReportMembersDocument, "reportMembers", ["id"]);
|
|
19181
19200
|
this._includes.push({
|
|
19182
19201
|
fieldName: "reportMembers",
|
|
19183
|
-
fragmentDoc:
|
|
19202
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ReportMemberFragmentDoc,
|
|
19184
19203
|
variables,
|
|
19185
19204
|
isConnection: false,
|
|
19186
19205
|
isList: true,
|
|
@@ -19196,7 +19215,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19196
19215
|
}
|
|
19197
19216
|
/** Include reports in this query (Smart Fetch — single HTTP request). */
|
|
19198
19217
|
reports(variables, builder) {
|
|
19199
|
-
const info = extractIncludeInfo(
|
|
19218
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ReportsDocument, "reports", ["id"]);
|
|
19200
19219
|
let children;
|
|
19201
19220
|
if (builder) {
|
|
19202
19221
|
const sub = new ReportSubBuilder();
|
|
@@ -19205,7 +19224,7 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19205
19224
|
}
|
|
19206
19225
|
this._includes.push({
|
|
19207
19226
|
fieldName: "reports",
|
|
19208
|
-
fragmentDoc:
|
|
19227
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ReportConnectionFragmentDoc,
|
|
19209
19228
|
variables,
|
|
19210
19229
|
isConnection: true,
|
|
19211
19230
|
isList: false,
|
|
@@ -19223,10 +19242,10 @@ var InsightsQuery = class _InsightsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
19223
19242
|
}
|
|
19224
19243
|
/** Include thumbnailFile in this query (Smart Fetch — single HTTP request). */
|
|
19225
19244
|
thumbnailFile(variables) {
|
|
19226
|
-
const info = extractIncludeInfo(
|
|
19245
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Insight_ThumbnailFileDocument, "thumbnailFile", ["id"]);
|
|
19227
19246
|
this._includes.push({
|
|
19228
19247
|
fieldName: "thumbnailFile",
|
|
19229
|
-
fragmentDoc:
|
|
19248
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FileFragmentDoc,
|
|
19230
19249
|
variables,
|
|
19231
19250
|
isConnection: false,
|
|
19232
19251
|
isList: false,
|
|
@@ -19250,7 +19269,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19250
19269
|
}
|
|
19251
19270
|
async fetch(options) {
|
|
19252
19271
|
const variables = this._variables;
|
|
19253
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19272
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.IntegrationDocument, "integration", this._includes, variables);
|
|
19254
19273
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integration");
|
|
19255
19274
|
const data = response.integration;
|
|
19256
19275
|
const instance = new Integration(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19262,7 +19281,7 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19262
19281
|
watch(options) {
|
|
19263
19282
|
const variables = this._variables;
|
|
19264
19283
|
const includes = this._includes;
|
|
19265
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19284
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.IntegrationDocument, "integration", includes, variables);
|
|
19266
19285
|
const raw = this._syncEngine.watch(
|
|
19267
19286
|
queryDoc,
|
|
19268
19287
|
mergedVars,
|
|
@@ -19292,10 +19311,10 @@ var IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19292
19311
|
}
|
|
19293
19312
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
19294
19313
|
provider(variables) {
|
|
19295
|
-
const info = extractIncludeInfo(
|
|
19314
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
19296
19315
|
this._includes.push({
|
|
19297
19316
|
fieldName: "provider",
|
|
19298
|
-
fragmentDoc:
|
|
19317
|
+
fragmentDoc: chunkF4NHYL2R_cjs.IntegrationProviderFragmentDoc,
|
|
19299
19318
|
variables,
|
|
19300
19319
|
isConnection: false,
|
|
19301
19320
|
isList: false,
|
|
@@ -19318,14 +19337,14 @@ var Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19318
19337
|
}
|
|
19319
19338
|
async fetch(options) {
|
|
19320
19339
|
const variables = this._variables;
|
|
19321
|
-
const response = await this._syncEngine.query(
|
|
19340
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Integration_ProviderDocument, variables, "integration");
|
|
19322
19341
|
const data = response.integration?.provider;
|
|
19323
19342
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19324
19343
|
}
|
|
19325
19344
|
watch(options) {
|
|
19326
19345
|
const variables = this._variables;
|
|
19327
19346
|
const raw = this._syncEngine.watch(
|
|
19328
|
-
|
|
19347
|
+
chunkF4NHYL2R_cjs.Integration_ProviderDocument,
|
|
19329
19348
|
variables,
|
|
19330
19349
|
"integration",
|
|
19331
19350
|
async (db) => {
|
|
@@ -19348,14 +19367,14 @@ var Integration_Provider_CatalogQuery = class extends chunk342BFYZZ_cjs.Request
|
|
|
19348
19367
|
}
|
|
19349
19368
|
async fetch(options) {
|
|
19350
19369
|
const variables = this._variables;
|
|
19351
|
-
const response = await this._syncEngine.query(
|
|
19370
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Integration_Provider_CatalogDocument, variables, "integration");
|
|
19352
19371
|
const data = response.integration?.provider?.catalog;
|
|
19353
19372
|
return data ? new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19354
19373
|
}
|
|
19355
19374
|
watch(options) {
|
|
19356
19375
|
const variables = this._variables;
|
|
19357
19376
|
const raw = this._syncEngine.watch(
|
|
19358
|
-
|
|
19377
|
+
chunkF4NHYL2R_cjs.Integration_Provider_CatalogDocument,
|
|
19359
19378
|
variables,
|
|
19360
19379
|
"integration",
|
|
19361
19380
|
async (db) => {
|
|
@@ -19379,7 +19398,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19379
19398
|
}
|
|
19380
19399
|
async fetch(options) {
|
|
19381
19400
|
const variables = this._variables;
|
|
19382
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19401
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.IntegrationCatalogDocument, "integrationCatalog", this._includes, variables);
|
|
19383
19402
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalog");
|
|
19384
19403
|
const data = response.integrationCatalog;
|
|
19385
19404
|
const instance = new IntegrationCatalog(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19391,7 +19410,7 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19391
19410
|
watch(options) {
|
|
19392
19411
|
const variables = this._variables;
|
|
19393
19412
|
const includes = this._includes;
|
|
19394
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19413
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.IntegrationCatalogDocument, "integrationCatalog", includes, variables);
|
|
19395
19414
|
const raw = this._syncEngine.watch(
|
|
19396
19415
|
queryDoc,
|
|
19397
19416
|
mergedVars,
|
|
@@ -19421,10 +19440,10 @@ var IntegrationCatalogQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19421
19440
|
}
|
|
19422
19441
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
19423
19442
|
provider(variables) {
|
|
19424
|
-
const info = extractIncludeInfo(
|
|
19443
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
19425
19444
|
this._includes.push({
|
|
19426
19445
|
fieldName: "provider",
|
|
19427
|
-
fragmentDoc:
|
|
19446
|
+
fragmentDoc: chunkF4NHYL2R_cjs.IntegrationProviderFragmentDoc,
|
|
19428
19447
|
variables,
|
|
19429
19448
|
isConnection: false,
|
|
19430
19449
|
isList: false,
|
|
@@ -19447,14 +19466,14 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19447
19466
|
}
|
|
19448
19467
|
async fetch(options) {
|
|
19449
19468
|
const variables = this._variables;
|
|
19450
|
-
const response = await this._syncEngine.query(
|
|
19469
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.IntegrationCatalog_ProviderDocument, variables, "integrationCatalog");
|
|
19451
19470
|
const data = response.integrationCatalog?.provider;
|
|
19452
19471
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19453
19472
|
}
|
|
19454
19473
|
watch(options) {
|
|
19455
19474
|
const variables = this._variables;
|
|
19456
19475
|
const raw = this._syncEngine.watch(
|
|
19457
|
-
|
|
19476
|
+
chunkF4NHYL2R_cjs.IntegrationCatalog_ProviderDocument,
|
|
19458
19477
|
variables,
|
|
19459
19478
|
"integrationCatalog",
|
|
19460
19479
|
async (db) => {
|
|
@@ -19471,7 +19490,7 @@ var IntegrationCatalog_ProviderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19471
19490
|
};
|
|
19472
19491
|
var IntegrationCatalogToolsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
19473
19492
|
async fetch(variables) {
|
|
19474
|
-
const response = await this._request(
|
|
19493
|
+
const response = await this._request(chunkF4NHYL2R_cjs.IntegrationCatalogToolsDocument, variables);
|
|
19475
19494
|
return response.integrationCatalogTools;
|
|
19476
19495
|
}
|
|
19477
19496
|
};
|
|
@@ -19484,7 +19503,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
19484
19503
|
}
|
|
19485
19504
|
async fetch(options) {
|
|
19486
19505
|
const variables = this._variables;
|
|
19487
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19506
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.IntegrationCatalogsDocument, "integrationCatalogs", this._includes, variables, true);
|
|
19488
19507
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrationCatalogs");
|
|
19489
19508
|
const data = response.integrationCatalogs;
|
|
19490
19509
|
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);
|
|
@@ -19501,7 +19520,7 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
19501
19520
|
const subscriptionId = crypto.randomUUID();
|
|
19502
19521
|
const includes = this._includes;
|
|
19503
19522
|
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) }] : []);
|
|
19504
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19523
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.IntegrationCatalogsDocument, "integrationCatalogs", includes, variables, true);
|
|
19505
19524
|
const raw = this._syncEngine.watch(
|
|
19506
19525
|
queryDoc,
|
|
19507
19526
|
mergedVars,
|
|
@@ -19543,10 +19562,10 @@ var IntegrationCatalogsQuery = class _IntegrationCatalogsQuery extends chunk342B
|
|
|
19543
19562
|
}
|
|
19544
19563
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
19545
19564
|
provider(variables) {
|
|
19546
|
-
const info = extractIncludeInfo(
|
|
19565
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.IntegrationCatalog_ProviderDocument, "provider", []);
|
|
19547
19566
|
this._includes.push({
|
|
19548
19567
|
fieldName: "provider",
|
|
19549
|
-
fragmentDoc:
|
|
19568
|
+
fragmentDoc: chunkF4NHYL2R_cjs.IntegrationProviderFragmentDoc,
|
|
19550
19569
|
variables,
|
|
19551
19570
|
isConnection: false,
|
|
19552
19571
|
isList: false,
|
|
@@ -19570,7 +19589,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
19570
19589
|
}
|
|
19571
19590
|
async fetch(options) {
|
|
19572
19591
|
const variables = this._variables;
|
|
19573
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19592
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.IntegrationsDocument, "integrations", this._includes, variables, true);
|
|
19574
19593
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "integrations");
|
|
19575
19594
|
const data = response.integrations;
|
|
19576
19595
|
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);
|
|
@@ -19587,7 +19606,7 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
19587
19606
|
const subscriptionId = crypto.randomUUID();
|
|
19588
19607
|
const includes = this._includes;
|
|
19589
19608
|
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) }] : []);
|
|
19590
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19609
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.IntegrationsDocument, "integrations", includes, variables, true);
|
|
19591
19610
|
const raw = this._syncEngine.watch(
|
|
19592
19611
|
queryDoc,
|
|
19593
19612
|
mergedVars,
|
|
@@ -19629,10 +19648,10 @@ var IntegrationsQuery = class _IntegrationsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
19629
19648
|
}
|
|
19630
19649
|
/** Include provider in this query (Smart Fetch — single HTTP request). */
|
|
19631
19650
|
provider(variables) {
|
|
19632
|
-
const info = extractIncludeInfo(
|
|
19651
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Integration_ProviderDocument, "provider", ["id"]);
|
|
19633
19652
|
this._includes.push({
|
|
19634
19653
|
fieldName: "provider",
|
|
19635
|
-
fragmentDoc:
|
|
19654
|
+
fragmentDoc: chunkF4NHYL2R_cjs.IntegrationProviderFragmentDoc,
|
|
19636
19655
|
variables,
|
|
19637
19656
|
isConnection: false,
|
|
19638
19657
|
isList: false,
|
|
@@ -19656,7 +19675,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
19656
19675
|
}
|
|
19657
19676
|
async fetch(options) {
|
|
19658
19677
|
const variables = this._variables;
|
|
19659
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19678
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.InterpretationsDocument, "interpretations", this._includes, variables, true);
|
|
19660
19679
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "interpretations");
|
|
19661
19680
|
const data = response.interpretations;
|
|
19662
19681
|
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);
|
|
@@ -19673,7 +19692,7 @@ var InterpretationsQuery = class _InterpretationsQuery extends chunk342BFYZZ_cjs
|
|
|
19673
19692
|
const subscriptionId = crypto.randomUUID();
|
|
19674
19693
|
const includes = this._includes;
|
|
19675
19694
|
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) }] : []);
|
|
19676
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19695
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.InterpretationsDocument, "interpretations", includes, variables, true);
|
|
19677
19696
|
const raw = this._syncEngine.watch(
|
|
19678
19697
|
queryDoc,
|
|
19679
19698
|
mergedVars,
|
|
@@ -19723,7 +19742,7 @@ var LiveContextQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19723
19742
|
}
|
|
19724
19743
|
async fetch(options) {
|
|
19725
19744
|
const variables = this._variables;
|
|
19726
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19745
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.LiveContextDocument, "liveContext", this._includes, variables);
|
|
19727
19746
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "liveContext");
|
|
19728
19747
|
const data = response.liveContext;
|
|
19729
19748
|
const instance = new LiveContext(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19735,7 +19754,7 @@ var LiveContextQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19735
19754
|
watch(options) {
|
|
19736
19755
|
const variables = this._variables;
|
|
19737
19756
|
const includes = this._includes;
|
|
19738
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19757
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.LiveContextDocument, "liveContext", includes, variables);
|
|
19739
19758
|
const raw = this._syncEngine.watch(
|
|
19740
19759
|
queryDoc,
|
|
19741
19760
|
mergedVars,
|
|
@@ -19765,10 +19784,10 @@ var LiveContextQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19765
19784
|
}
|
|
19766
19785
|
/** Include items in this query (Smart Fetch — single HTTP request). */
|
|
19767
19786
|
items(variables) {
|
|
19768
|
-
const info = extractIncludeInfo(
|
|
19787
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.LiveContext_ItemsDocument, "items", ["id"]);
|
|
19769
19788
|
this._includes.push({
|
|
19770
19789
|
fieldName: "items",
|
|
19771
|
-
fragmentDoc:
|
|
19790
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedItemGeneratedFragmentDoc,
|
|
19772
19791
|
variables,
|
|
19773
19792
|
isConnection: false,
|
|
19774
19793
|
isList: true,
|
|
@@ -19784,10 +19803,10 @@ var LiveContextQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19784
19803
|
}
|
|
19785
19804
|
/** Include source in this query (Smart Fetch — single HTTP request). */
|
|
19786
19805
|
source(variables) {
|
|
19787
|
-
const info = extractIncludeInfo(
|
|
19806
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.LiveContext_SourceDocument, "source", ["id"]);
|
|
19788
19807
|
this._includes.push({
|
|
19789
19808
|
fieldName: "source",
|
|
19790
|
-
fragmentDoc:
|
|
19809
|
+
fragmentDoc: chunkF4NHYL2R_cjs.CandidateFragmentDoc,
|
|
19791
19810
|
variables,
|
|
19792
19811
|
isConnection: false,
|
|
19793
19812
|
isList: false,
|
|
@@ -19809,7 +19828,7 @@ var LiveContext_ItemsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19809
19828
|
this._variables = variables;
|
|
19810
19829
|
}
|
|
19811
19830
|
async fetch(options) {
|
|
19812
|
-
const response = await this._syncEngine.query(
|
|
19831
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.LiveContext_ItemsDocument, this._variables, "liveContext");
|
|
19813
19832
|
const data = response.liveContext?.items;
|
|
19814
19833
|
if (!Array.isArray(data)) return [];
|
|
19815
19834
|
return data.map((item) => new FeedItemGenerated(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19823,14 +19842,14 @@ var LiveContext_SourceQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19823
19842
|
}
|
|
19824
19843
|
async fetch(options) {
|
|
19825
19844
|
const variables = this._variables;
|
|
19826
|
-
const response = await this._syncEngine.query(
|
|
19845
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.LiveContext_SourceDocument, variables, "liveContext");
|
|
19827
19846
|
const data = response.liveContext?.source;
|
|
19828
19847
|
return data ? new Candidate(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
19829
19848
|
}
|
|
19830
19849
|
watch(options) {
|
|
19831
19850
|
const variables = this._variables;
|
|
19832
19851
|
const raw = this._syncEngine.watch(
|
|
19833
|
-
|
|
19852
|
+
chunkF4NHYL2R_cjs.LiveContext_SourceDocument,
|
|
19834
19853
|
variables,
|
|
19835
19854
|
"liveContext",
|
|
19836
19855
|
async (db) => {
|
|
@@ -19852,7 +19871,7 @@ var LiveContext_Source_EvidencesQuery = class extends chunk342BFYZZ_cjs.Request
|
|
|
19852
19871
|
this._variables = variables;
|
|
19853
19872
|
}
|
|
19854
19873
|
async fetch(options) {
|
|
19855
|
-
const response = await this._syncEngine.query(
|
|
19874
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.LiveContext_Source_EvidencesDocument, this._variables, "liveContext");
|
|
19856
19875
|
const data = response.liveContext?.source?.evidences;
|
|
19857
19876
|
if (!Array.isArray(data)) return [];
|
|
19858
19877
|
return data.map((item) => new CandidateEvidence(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -19867,7 +19886,7 @@ var LiveContextsQuery = class _LiveContextsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
19867
19886
|
}
|
|
19868
19887
|
async fetch(options) {
|
|
19869
19888
|
const variables = this._variables;
|
|
19870
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19889
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.LiveContextsDocument, "liveContexts", this._includes, variables, true);
|
|
19871
19890
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "liveContexts");
|
|
19872
19891
|
const data = response.liveContexts;
|
|
19873
19892
|
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);
|
|
@@ -19884,7 +19903,7 @@ var LiveContextsQuery = class _LiveContextsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
19884
19903
|
const subscriptionId = crypto.randomUUID();
|
|
19885
19904
|
const includes = this._includes;
|
|
19886
19905
|
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) }] : []);
|
|
19887
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19906
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.LiveContextsDocument, "liveContexts", includes, variables, true);
|
|
19888
19907
|
const raw = this._syncEngine.watch(
|
|
19889
19908
|
queryDoc,
|
|
19890
19909
|
mergedVars,
|
|
@@ -19926,10 +19945,10 @@ var LiveContextsQuery = class _LiveContextsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
19926
19945
|
}
|
|
19927
19946
|
/** Include items in this query (Smart Fetch — single HTTP request). */
|
|
19928
19947
|
items(variables) {
|
|
19929
|
-
const info = extractIncludeInfo(
|
|
19948
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.LiveContext_ItemsDocument, "items", ["id"]);
|
|
19930
19949
|
this._includes.push({
|
|
19931
19950
|
fieldName: "items",
|
|
19932
|
-
fragmentDoc:
|
|
19951
|
+
fragmentDoc: chunkF4NHYL2R_cjs.FeedItemGeneratedFragmentDoc,
|
|
19933
19952
|
variables,
|
|
19934
19953
|
isConnection: false,
|
|
19935
19954
|
isList: true,
|
|
@@ -19945,10 +19964,10 @@ var LiveContextsQuery = class _LiveContextsQuery extends chunk342BFYZZ_cjs.Reque
|
|
|
19945
19964
|
}
|
|
19946
19965
|
/** Include source in this query (Smart Fetch — single HTTP request). */
|
|
19947
19966
|
source(variables) {
|
|
19948
|
-
const info = extractIncludeInfo(
|
|
19967
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.LiveContext_SourceDocument, "source", ["id"]);
|
|
19949
19968
|
this._includes.push({
|
|
19950
19969
|
fieldName: "source",
|
|
19951
|
-
fragmentDoc:
|
|
19970
|
+
fragmentDoc: chunkF4NHYL2R_cjs.CandidateFragmentDoc,
|
|
19952
19971
|
variables,
|
|
19953
19972
|
isConnection: false,
|
|
19954
19973
|
isList: false,
|
|
@@ -19972,7 +19991,7 @@ var LocalRuntimeOverviewQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19972
19991
|
}
|
|
19973
19992
|
async fetch(options) {
|
|
19974
19993
|
const variables = this._variables;
|
|
19975
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
19994
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.LocalRuntimeOverviewDocument, "localRuntimeOverview", this._includes, variables);
|
|
19976
19995
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "localRuntimeOverview");
|
|
19977
19996
|
const data = response.localRuntimeOverview;
|
|
19978
19997
|
const instance = new LocalRuntimeOverviewModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -19984,7 +20003,7 @@ var LocalRuntimeOverviewQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
19984
20003
|
watch(options) {
|
|
19985
20004
|
const variables = this._variables;
|
|
19986
20005
|
const includes = this._includes;
|
|
19987
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20006
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.LocalRuntimeOverviewDocument, "localRuntimeOverview", includes, variables);
|
|
19988
20007
|
const raw = this._syncEngine.watch(
|
|
19989
20008
|
queryDoc,
|
|
19990
20009
|
mergedVars,
|
|
@@ -20014,10 +20033,10 @@ var LocalRuntimeOverviewQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20014
20033
|
}
|
|
20015
20034
|
/** Include devices in this query (Smart Fetch — single HTTP request). */
|
|
20016
20035
|
devices(variables) {
|
|
20017
|
-
const info = extractIncludeInfo(
|
|
20036
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.LocalRuntimeOverview_DevicesDocument, "devices", []);
|
|
20018
20037
|
this._includes.push({
|
|
20019
20038
|
fieldName: "devices",
|
|
20020
|
-
fragmentDoc:
|
|
20039
|
+
fragmentDoc: chunkF4NHYL2R_cjs.LocalRuntimeDeviceModelFragmentDoc,
|
|
20021
20040
|
variables,
|
|
20022
20041
|
isConnection: false,
|
|
20023
20042
|
isList: true,
|
|
@@ -20039,7 +20058,7 @@ var LocalRuntimeOverview_DevicesQuery = class extends chunk342BFYZZ_cjs.Request
|
|
|
20039
20058
|
this._variables = variables;
|
|
20040
20059
|
}
|
|
20041
20060
|
async fetch(options) {
|
|
20042
|
-
const response = await this._syncEngine.query(
|
|
20061
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.LocalRuntimeOverview_DevicesDocument, this._variables, "localRuntimeOverview");
|
|
20043
20062
|
const data = response.localRuntimeOverview?.devices;
|
|
20044
20063
|
if (!Array.isArray(data)) return [];
|
|
20045
20064
|
return data.map((item) => new LocalRuntimeDeviceModel(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -20054,7 +20073,7 @@ var LocalSandboxDeviceStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20054
20073
|
}
|
|
20055
20074
|
async fetch(options) {
|
|
20056
20075
|
const variables = this._variables;
|
|
20057
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20076
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.LocalSandboxDeviceStatusDocument, "localSandboxDeviceStatus", this._includes, variables);
|
|
20058
20077
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "localSandboxDeviceStatus");
|
|
20059
20078
|
const data = response.localSandboxDeviceStatus;
|
|
20060
20079
|
const instance = new LocalSandboxDeviceStatusModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -20066,7 +20085,7 @@ var LocalSandboxDeviceStatusQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20066
20085
|
watch(options) {
|
|
20067
20086
|
const variables = this._variables;
|
|
20068
20087
|
const includes = this._includes;
|
|
20069
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20088
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.LocalSandboxDeviceStatusDocument, "localSandboxDeviceStatus", includes, variables);
|
|
20070
20089
|
const raw = this._syncEngine.watch(
|
|
20071
20090
|
queryDoc,
|
|
20072
20091
|
mergedVars,
|
|
@@ -20104,7 +20123,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20104
20123
|
}
|
|
20105
20124
|
async fetch(options) {
|
|
20106
20125
|
const variables = this._variables;
|
|
20107
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20126
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.NotificationDocument, "notification", this._includes, variables);
|
|
20108
20127
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notification");
|
|
20109
20128
|
const data = response.notification;
|
|
20110
20129
|
const instance = new Notification(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -20116,7 +20135,7 @@ var NotificationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20116
20135
|
watch(options) {
|
|
20117
20136
|
const variables = this._variables;
|
|
20118
20137
|
const includes = this._includes;
|
|
20119
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20138
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.NotificationDocument, "notification", includes, variables);
|
|
20120
20139
|
const raw = this._syncEngine.watch(
|
|
20121
20140
|
queryDoc,
|
|
20122
20141
|
mergedVars,
|
|
@@ -20154,7 +20173,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
20154
20173
|
}
|
|
20155
20174
|
async fetch(options) {
|
|
20156
20175
|
const variables = this._variables;
|
|
20157
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20176
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.NotificationsDocument, "notifications", this._includes, variables, true);
|
|
20158
20177
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notifications");
|
|
20159
20178
|
const data = response.notifications;
|
|
20160
20179
|
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);
|
|
@@ -20171,7 +20190,7 @@ var NotificationsQuery = class _NotificationsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
20171
20190
|
const subscriptionId = crypto.randomUUID();
|
|
20172
20191
|
const includes = this._includes;
|
|
20173
20192
|
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) }] : []);
|
|
20174
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20193
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.NotificationsDocument, "notifications", includes, variables, true);
|
|
20175
20194
|
const raw = this._syncEngine.watch(
|
|
20176
20195
|
queryDoc,
|
|
20177
20196
|
mergedVars,
|
|
@@ -20220,7 +20239,7 @@ var NotificationsByReferenceQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20220
20239
|
this._variables = variables;
|
|
20221
20240
|
}
|
|
20222
20241
|
async fetch(options) {
|
|
20223
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20242
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.NotificationsByReferenceDocument, "notificationsByReference", this._includes, this._variables);
|
|
20224
20243
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "notificationsByReference");
|
|
20225
20244
|
const data = response.notificationsByReference;
|
|
20226
20245
|
if (!Array.isArray(data)) return [];
|
|
@@ -20236,7 +20255,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20236
20255
|
}
|
|
20237
20256
|
async fetch(options) {
|
|
20238
20257
|
const variables = this._variables;
|
|
20239
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20258
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.PrivacyStatsDocument, "privacyStats", this._includes, variables);
|
|
20240
20259
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "privacyStats");
|
|
20241
20260
|
const data = response.privacyStats;
|
|
20242
20261
|
const instance = new PrivacyStats(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -20248,7 +20267,7 @@ var PrivacyStatsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20248
20267
|
watch(options) {
|
|
20249
20268
|
const variables = this._variables;
|
|
20250
20269
|
const includes = this._includes;
|
|
20251
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20270
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.PrivacyStatsDocument, "privacyStats", includes, variables);
|
|
20252
20271
|
const raw = this._syncEngine.watch(
|
|
20253
20272
|
queryDoc,
|
|
20254
20273
|
mergedVars,
|
|
@@ -20286,7 +20305,7 @@ var ProjectQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20286
20305
|
}
|
|
20287
20306
|
async fetch(options) {
|
|
20288
20307
|
const variables = this._variables;
|
|
20289
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20308
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ProjectDocument, "project", this._includes, variables);
|
|
20290
20309
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "project");
|
|
20291
20310
|
const data = response.project;
|
|
20292
20311
|
const instance = new Project(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -20298,7 +20317,7 @@ var ProjectQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20298
20317
|
watch(options) {
|
|
20299
20318
|
const variables = this._variables;
|
|
20300
20319
|
const includes = this._includes;
|
|
20301
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20320
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ProjectDocument, "project", includes, variables);
|
|
20302
20321
|
const raw = this._syncEngine.watch(
|
|
20303
20322
|
queryDoc,
|
|
20304
20323
|
mergedVars,
|
|
@@ -20328,7 +20347,7 @@ var ProjectQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20328
20347
|
}
|
|
20329
20348
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
20330
20349
|
chats(variables, builder) {
|
|
20331
|
-
const info = extractIncludeInfo(
|
|
20350
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Project_ChatsDocument, "chats", ["id"]);
|
|
20332
20351
|
let children;
|
|
20333
20352
|
if (builder) {
|
|
20334
20353
|
const sub = new ChatSubBuilder();
|
|
@@ -20337,7 +20356,7 @@ var ProjectQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20337
20356
|
}
|
|
20338
20357
|
this._includes.push({
|
|
20339
20358
|
fieldName: "chats",
|
|
20340
|
-
fragmentDoc:
|
|
20359
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatConnectionFragmentDoc,
|
|
20341
20360
|
variables,
|
|
20342
20361
|
isConnection: true,
|
|
20343
20362
|
isList: false,
|
|
@@ -20355,10 +20374,10 @@ var ProjectQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20355
20374
|
}
|
|
20356
20375
|
/** Include desktopBinding in this query (Smart Fetch — single HTTP request). */
|
|
20357
20376
|
desktopBinding(variables) {
|
|
20358
|
-
const info = extractIncludeInfo(
|
|
20377
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Project_DesktopBindingDocument, "desktopBinding", ["id"]);
|
|
20359
20378
|
this._includes.push({
|
|
20360
20379
|
fieldName: "desktopBinding",
|
|
20361
|
-
fragmentDoc:
|
|
20380
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ProjectDesktopBindingFragmentDoc,
|
|
20362
20381
|
variables,
|
|
20363
20382
|
isConnection: false,
|
|
20364
20383
|
isList: false,
|
|
@@ -20381,18 +20400,18 @@ var Project_ChatsQuery = class _Project_ChatsQuery extends chunk342BFYZZ_cjs.Req
|
|
|
20381
20400
|
}
|
|
20382
20401
|
async fetch(options) {
|
|
20383
20402
|
const variables = this._variables;
|
|
20384
|
-
const response = await this._syncEngine.query(
|
|
20403
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Project_ChatsDocument, variables, "project");
|
|
20385
20404
|
const data = response.project?.chats;
|
|
20386
20405
|
return new ChatConnection(this._request, (conn, opts) => new _Project_ChatsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
20387
20406
|
}
|
|
20388
20407
|
watch(options) {
|
|
20389
20408
|
const variables = this._variables;
|
|
20390
20409
|
const raw = this._syncEngine.watch(
|
|
20391
|
-
|
|
20410
|
+
chunkF4NHYL2R_cjs.Project_ChatsDocument,
|
|
20392
20411
|
variables,
|
|
20393
20412
|
"project",
|
|
20394
20413
|
async (db) => {
|
|
20395
|
-
const queryKey = buildQueryKey("project", variables,
|
|
20414
|
+
const queryKey = buildQueryKey("project", variables, chunkF4NHYL2R_cjs.Project_ChatsDocument);
|
|
20396
20415
|
const qr = await db._queryResults.get(queryKey);
|
|
20397
20416
|
if (!qr) {
|
|
20398
20417
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -20419,14 +20438,14 @@ var Project_DesktopBindingQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20419
20438
|
}
|
|
20420
20439
|
async fetch(options) {
|
|
20421
20440
|
const variables = this._variables;
|
|
20422
|
-
const response = await this._syncEngine.query(
|
|
20441
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Project_DesktopBindingDocument, variables, "project");
|
|
20423
20442
|
const data = response.project?.desktopBinding;
|
|
20424
20443
|
return data ? new ProjectDesktopBinding(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
20425
20444
|
}
|
|
20426
20445
|
watch(options) {
|
|
20427
20446
|
const variables = this._variables;
|
|
20428
20447
|
const raw = this._syncEngine.watch(
|
|
20429
|
-
|
|
20448
|
+
chunkF4NHYL2R_cjs.Project_DesktopBindingDocument,
|
|
20430
20449
|
variables,
|
|
20431
20450
|
"project",
|
|
20432
20451
|
async (db) => {
|
|
@@ -20449,14 +20468,14 @@ var Project_DesktopBinding_DeviceQuery = class extends chunk342BFYZZ_cjs.Request
|
|
|
20449
20468
|
}
|
|
20450
20469
|
async fetch(options) {
|
|
20451
20470
|
const variables = this._variables;
|
|
20452
|
-
const response = await this._syncEngine.query(
|
|
20471
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Project_DesktopBinding_DeviceDocument, variables, "project");
|
|
20453
20472
|
const data = response.project?.desktopBinding?.device;
|
|
20454
20473
|
return data ? new DesktopDevice(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
20455
20474
|
}
|
|
20456
20475
|
watch(options) {
|
|
20457
20476
|
const variables = this._variables;
|
|
20458
20477
|
const raw = this._syncEngine.watch(
|
|
20459
|
-
|
|
20478
|
+
chunkF4NHYL2R_cjs.Project_DesktopBinding_DeviceDocument,
|
|
20460
20479
|
variables,
|
|
20461
20480
|
"project",
|
|
20462
20481
|
async (db) => {
|
|
@@ -20480,7 +20499,7 @@ var ProjectsQuery = class _ProjectsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20480
20499
|
}
|
|
20481
20500
|
async fetch(options) {
|
|
20482
20501
|
const variables = this._variables;
|
|
20483
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20502
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ProjectsDocument, "projects", this._includes, variables, true);
|
|
20484
20503
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "projects");
|
|
20485
20504
|
const data = response.projects;
|
|
20486
20505
|
const connection = new ProjectConnection(this._request, (conn, opts) => new _ProjectsQuery(this._request, this._syncEngine, chunk342BFYZZ_cjs.defaultConnection({ ...variables, ...conn }), this._baseUrl).fetch(opts), data, this._syncEngine, this._baseUrl);
|
|
@@ -20497,7 +20516,7 @@ var ProjectsQuery = class _ProjectsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20497
20516
|
const subscriptionId = crypto.randomUUID();
|
|
20498
20517
|
const includes = this._includes;
|
|
20499
20518
|
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) }] : []);
|
|
20500
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20519
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ProjectsDocument, "projects", includes, variables, true);
|
|
20501
20520
|
const raw = this._syncEngine.watch(
|
|
20502
20521
|
queryDoc,
|
|
20503
20522
|
mergedVars,
|
|
@@ -20539,7 +20558,7 @@ var ProjectsQuery = class _ProjectsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20539
20558
|
}
|
|
20540
20559
|
/** Include chats in this query (Smart Fetch — single HTTP request). */
|
|
20541
20560
|
chats(variables, builder) {
|
|
20542
|
-
const info = extractIncludeInfo(
|
|
20561
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Project_ChatsDocument, "chats", ["id"]);
|
|
20543
20562
|
let children;
|
|
20544
20563
|
if (builder) {
|
|
20545
20564
|
const sub = new ChatSubBuilder();
|
|
@@ -20548,7 +20567,7 @@ var ProjectsQuery = class _ProjectsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20548
20567
|
}
|
|
20549
20568
|
this._includes.push({
|
|
20550
20569
|
fieldName: "chats",
|
|
20551
|
-
fragmentDoc:
|
|
20570
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ChatConnectionFragmentDoc,
|
|
20552
20571
|
variables,
|
|
20553
20572
|
isConnection: true,
|
|
20554
20573
|
isList: false,
|
|
@@ -20566,10 +20585,10 @@ var ProjectsQuery = class _ProjectsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
20566
20585
|
}
|
|
20567
20586
|
/** Include desktopBinding in this query (Smart Fetch — single HTTP request). */
|
|
20568
20587
|
desktopBinding(variables) {
|
|
20569
|
-
const info = extractIncludeInfo(
|
|
20588
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Project_DesktopBindingDocument, "desktopBinding", ["id"]);
|
|
20570
20589
|
this._includes.push({
|
|
20571
20590
|
fieldName: "desktopBinding",
|
|
20572
|
-
fragmentDoc:
|
|
20591
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ProjectDesktopBindingFragmentDoc,
|
|
20573
20592
|
variables,
|
|
20574
20593
|
isConnection: false,
|
|
20575
20594
|
isList: false,
|
|
@@ -20593,7 +20612,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20593
20612
|
}
|
|
20594
20613
|
async fetch(options) {
|
|
20595
20614
|
const variables = this._variables;
|
|
20596
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20615
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.PulseAppSummaryDocument, "pulseAppSummary", this._includes, variables);
|
|
20597
20616
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseAppSummary");
|
|
20598
20617
|
const data = response.pulseAppSummary;
|
|
20599
20618
|
if (!data) return void 0;
|
|
@@ -20606,7 +20625,7 @@ var PulseAppSummaryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20606
20625
|
watch(options) {
|
|
20607
20626
|
const variables = this._variables;
|
|
20608
20627
|
const includes = this._includes;
|
|
20609
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20628
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.PulseAppSummaryDocument, "pulseAppSummary", includes, variables);
|
|
20610
20629
|
const raw = this._syncEngine.watch(
|
|
20611
20630
|
queryDoc,
|
|
20612
20631
|
mergedVars,
|
|
@@ -20645,7 +20664,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20645
20664
|
}
|
|
20646
20665
|
async fetch(options) {
|
|
20647
20666
|
const variables = this._variables;
|
|
20648
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20667
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.PulseEventDocument, "pulseEvent", this._includes, variables);
|
|
20649
20668
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvent");
|
|
20650
20669
|
const data = response.pulseEvent;
|
|
20651
20670
|
const instance = new PulseEvent(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -20657,7 +20676,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20657
20676
|
watch(options) {
|
|
20658
20677
|
const variables = this._variables;
|
|
20659
20678
|
const includes = this._includes;
|
|
20660
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20679
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.PulseEventDocument, "pulseEvent", includes, variables);
|
|
20661
20680
|
const raw = this._syncEngine.watch(
|
|
20662
20681
|
queryDoc,
|
|
20663
20682
|
mergedVars,
|
|
@@ -20687,7 +20706,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20687
20706
|
}
|
|
20688
20707
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
20689
20708
|
integration(variables, builder) {
|
|
20690
|
-
const info = extractIncludeInfo(
|
|
20709
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
20691
20710
|
let children;
|
|
20692
20711
|
if (builder) {
|
|
20693
20712
|
const sub = new IntegrationSubBuilder();
|
|
@@ -20696,7 +20715,7 @@ var PulseEventQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20696
20715
|
}
|
|
20697
20716
|
this._includes.push({
|
|
20698
20717
|
fieldName: "integration",
|
|
20699
|
-
fragmentDoc:
|
|
20718
|
+
fragmentDoc: chunkF4NHYL2R_cjs.IntegrationFragmentDoc,
|
|
20700
20719
|
variables,
|
|
20701
20720
|
isConnection: false,
|
|
20702
20721
|
isList: false,
|
|
@@ -20720,14 +20739,14 @@ var PulseEvent_IntegrationQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20720
20739
|
}
|
|
20721
20740
|
async fetch(options) {
|
|
20722
20741
|
const variables = this._variables;
|
|
20723
|
-
const response = await this._syncEngine.query(
|
|
20742
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.PulseEvent_IntegrationDocument, variables, "pulseEvent");
|
|
20724
20743
|
const data = response.pulseEvent?.integration;
|
|
20725
20744
|
return data ? new Integration(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
20726
20745
|
}
|
|
20727
20746
|
watch(options) {
|
|
20728
20747
|
const variables = this._variables;
|
|
20729
20748
|
const raw = this._syncEngine.watch(
|
|
20730
|
-
|
|
20749
|
+
chunkF4NHYL2R_cjs.PulseEvent_IntegrationDocument,
|
|
20731
20750
|
variables,
|
|
20732
20751
|
"pulseEvent",
|
|
20733
20752
|
async (db) => {
|
|
@@ -20750,14 +20769,14 @@ var PulseEvent_Integration_ProviderQuery = class extends chunk342BFYZZ_cjs.Reque
|
|
|
20750
20769
|
}
|
|
20751
20770
|
async fetch(options) {
|
|
20752
20771
|
const variables = this._variables;
|
|
20753
|
-
const response = await this._syncEngine.query(
|
|
20772
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.PulseEvent_Integration_ProviderDocument, variables, "pulseEvent");
|
|
20754
20773
|
const data = response.pulseEvent?.integration?.provider;
|
|
20755
20774
|
return data ? new IntegrationProvider(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
20756
20775
|
}
|
|
20757
20776
|
watch(options) {
|
|
20758
20777
|
const variables = this._variables;
|
|
20759
20778
|
const raw = this._syncEngine.watch(
|
|
20760
|
-
|
|
20779
|
+
chunkF4NHYL2R_cjs.PulseEvent_Integration_ProviderDocument,
|
|
20761
20780
|
variables,
|
|
20762
20781
|
"pulseEvent",
|
|
20763
20782
|
async (db) => {
|
|
@@ -20781,7 +20800,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
20781
20800
|
}
|
|
20782
20801
|
async fetch(options) {
|
|
20783
20802
|
const variables = this._variables;
|
|
20784
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20803
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.PulseEventsDocument, "pulseEvents", this._includes, variables, true);
|
|
20785
20804
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseEvents");
|
|
20786
20805
|
const data = response.pulseEvents;
|
|
20787
20806
|
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);
|
|
@@ -20798,7 +20817,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
20798
20817
|
const subscriptionId = crypto.randomUUID();
|
|
20799
20818
|
const includes = this._includes;
|
|
20800
20819
|
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) }] : []);
|
|
20801
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20820
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.PulseEventsDocument, "pulseEvents", includes, variables, true);
|
|
20802
20821
|
const raw = this._syncEngine.watch(
|
|
20803
20822
|
queryDoc,
|
|
20804
20823
|
mergedVars,
|
|
@@ -20840,7 +20859,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
20840
20859
|
}
|
|
20841
20860
|
/** Include integration in this query (Smart Fetch — single HTTP request). */
|
|
20842
20861
|
integration(variables, builder) {
|
|
20843
|
-
const info = extractIncludeInfo(
|
|
20862
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.PulseEvent_IntegrationDocument, "integration", ["id"]);
|
|
20844
20863
|
let children;
|
|
20845
20864
|
if (builder) {
|
|
20846
20865
|
const sub = new IntegrationSubBuilder();
|
|
@@ -20849,7 +20868,7 @@ var PulseEventsQuery = class _PulseEventsQuery extends chunk342BFYZZ_cjs.Request
|
|
|
20849
20868
|
}
|
|
20850
20869
|
this._includes.push({
|
|
20851
20870
|
fieldName: "integration",
|
|
20852
|
-
fragmentDoc:
|
|
20871
|
+
fragmentDoc: chunkF4NHYL2R_cjs.IntegrationFragmentDoc,
|
|
20853
20872
|
variables,
|
|
20854
20873
|
isConnection: false,
|
|
20855
20874
|
isList: false,
|
|
@@ -20873,7 +20892,7 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20873
20892
|
this._variables = variables;
|
|
20874
20893
|
}
|
|
20875
20894
|
async fetch(options) {
|
|
20876
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20895
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.PulseTriggerSettingsDocument, "pulseTriggerSettings", this._includes, this._variables);
|
|
20877
20896
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "pulseTriggerSettings");
|
|
20878
20897
|
const data = response.pulseTriggerSettings;
|
|
20879
20898
|
if (!Array.isArray(data)) return [];
|
|
@@ -20882,19 +20901,19 @@ var PulseTriggerSettingsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20882
20901
|
};
|
|
20883
20902
|
var QueryQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
20884
20903
|
async fetch(variables) {
|
|
20885
|
-
const response = await this._request(
|
|
20904
|
+
const response = await this._request(chunkF4NHYL2R_cjs.QueryDocument, variables);
|
|
20886
20905
|
return response.query;
|
|
20887
20906
|
}
|
|
20888
20907
|
};
|
|
20889
20908
|
var QueryWithInsightIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
20890
20909
|
async fetch(variables) {
|
|
20891
|
-
const response = await this._request(
|
|
20910
|
+
const response = await this._request(chunkF4NHYL2R_cjs.QueryWithInsightIdDocument, variables);
|
|
20892
20911
|
return response.queryWithInsightId;
|
|
20893
20912
|
}
|
|
20894
20913
|
};
|
|
20895
20914
|
var QueryWithMessageIdQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
20896
20915
|
async fetch(variables) {
|
|
20897
|
-
const response = await this._request(
|
|
20916
|
+
const response = await this._request(chunkF4NHYL2R_cjs.QueryWithMessageIdDocument, variables);
|
|
20898
20917
|
return response.queryWithMessageId;
|
|
20899
20918
|
}
|
|
20900
20919
|
};
|
|
@@ -20907,7 +20926,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20907
20926
|
}
|
|
20908
20927
|
async fetch(options) {
|
|
20909
20928
|
const variables = this._variables;
|
|
20910
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20929
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ReportDocument, "report", this._includes, variables);
|
|
20911
20930
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "report");
|
|
20912
20931
|
const data = response.report;
|
|
20913
20932
|
const instance = new Report(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -20919,7 +20938,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20919
20938
|
watch(options) {
|
|
20920
20939
|
const variables = this._variables;
|
|
20921
20940
|
const includes = this._includes;
|
|
20922
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
20941
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ReportDocument, "report", includes, variables);
|
|
20923
20942
|
const raw = this._syncEngine.watch(
|
|
20924
20943
|
queryDoc,
|
|
20925
20944
|
mergedVars,
|
|
@@ -20949,7 +20968,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20949
20968
|
}
|
|
20950
20969
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
20951
20970
|
insights(variables, builder) {
|
|
20952
|
-
const info = extractIncludeInfo(
|
|
20971
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
20953
20972
|
let children;
|
|
20954
20973
|
if (builder) {
|
|
20955
20974
|
const sub = new InsightSubBuilder();
|
|
@@ -20958,7 +20977,7 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20958
20977
|
}
|
|
20959
20978
|
this._includes.push({
|
|
20960
20979
|
fieldName: "insights",
|
|
20961
|
-
fragmentDoc:
|
|
20980
|
+
fragmentDoc: chunkF4NHYL2R_cjs.InsightConnectionFragmentDoc,
|
|
20962
20981
|
variables,
|
|
20963
20982
|
isConnection: true,
|
|
20964
20983
|
isList: false,
|
|
@@ -20976,10 +20995,10 @@ var ReportQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
20976
20995
|
}
|
|
20977
20996
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
20978
20997
|
layout(variables) {
|
|
20979
|
-
const info = extractIncludeInfo(
|
|
20998
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
20980
20999
|
this._includes.push({
|
|
20981
21000
|
fieldName: "layout",
|
|
20982
|
-
fragmentDoc:
|
|
21001
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ReportMemberFragmentDoc,
|
|
20983
21002
|
variables,
|
|
20984
21003
|
isConnection: false,
|
|
20985
21004
|
isList: true,
|
|
@@ -21002,18 +21021,18 @@ var Report_InsightsQuery = class _Report_InsightsQuery extends chunk342BFYZZ_cjs
|
|
|
21002
21021
|
}
|
|
21003
21022
|
async fetch(options) {
|
|
21004
21023
|
const variables = this._variables;
|
|
21005
|
-
const response = await this._syncEngine.query(
|
|
21024
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Report_InsightsDocument, variables, "report");
|
|
21006
21025
|
const data = response.report?.insights;
|
|
21007
21026
|
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);
|
|
21008
21027
|
}
|
|
21009
21028
|
watch(options) {
|
|
21010
21029
|
const variables = this._variables;
|
|
21011
21030
|
const raw = this._syncEngine.watch(
|
|
21012
|
-
|
|
21031
|
+
chunkF4NHYL2R_cjs.Report_InsightsDocument,
|
|
21013
21032
|
variables,
|
|
21014
21033
|
"report",
|
|
21015
21034
|
async (db) => {
|
|
21016
|
-
const queryKey = buildQueryKey("report", variables,
|
|
21035
|
+
const queryKey = buildQueryKey("report", variables, chunkF4NHYL2R_cjs.Report_InsightsDocument);
|
|
21017
21036
|
const qr = await db._queryResults.get(queryKey);
|
|
21018
21037
|
if (!qr) {
|
|
21019
21038
|
throw new DvinaCacheMissError(queryKey);
|
|
@@ -21039,7 +21058,7 @@ var Report_LayoutQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21039
21058
|
this._variables = variables;
|
|
21040
21059
|
}
|
|
21041
21060
|
async fetch(options) {
|
|
21042
|
-
const response = await this._syncEngine.query(
|
|
21061
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Report_LayoutDocument, this._variables, "report");
|
|
21043
21062
|
const data = response.report?.layout;
|
|
21044
21063
|
if (!Array.isArray(data)) return [];
|
|
21045
21064
|
return data.map((item) => new ReportMember(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -21054,7 +21073,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21054
21073
|
}
|
|
21055
21074
|
async fetch(options) {
|
|
21056
21075
|
const variables = this._variables;
|
|
21057
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21076
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ReportsDocument, "reports", this._includes, variables, true);
|
|
21058
21077
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "reports");
|
|
21059
21078
|
const data = response.reports;
|
|
21060
21079
|
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);
|
|
@@ -21071,7 +21090,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21071
21090
|
const subscriptionId = crypto.randomUUID();
|
|
21072
21091
|
const includes = this._includes;
|
|
21073
21092
|
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) }] : []);
|
|
21074
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21093
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.ReportsDocument, "reports", includes, variables, true);
|
|
21075
21094
|
const raw = this._syncEngine.watch(
|
|
21076
21095
|
queryDoc,
|
|
21077
21096
|
mergedVars,
|
|
@@ -21113,7 +21132,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21113
21132
|
}
|
|
21114
21133
|
/** Include insights in this query (Smart Fetch — single HTTP request). */
|
|
21115
21134
|
insights(variables, builder) {
|
|
21116
|
-
const info = extractIncludeInfo(
|
|
21135
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Report_InsightsDocument, "insights", ["id"]);
|
|
21117
21136
|
let children;
|
|
21118
21137
|
if (builder) {
|
|
21119
21138
|
const sub = new InsightSubBuilder();
|
|
@@ -21122,7 +21141,7 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21122
21141
|
}
|
|
21123
21142
|
this._includes.push({
|
|
21124
21143
|
fieldName: "insights",
|
|
21125
|
-
fragmentDoc:
|
|
21144
|
+
fragmentDoc: chunkF4NHYL2R_cjs.InsightConnectionFragmentDoc,
|
|
21126
21145
|
variables,
|
|
21127
21146
|
isConnection: true,
|
|
21128
21147
|
isList: false,
|
|
@@ -21140,10 +21159,10 @@ var ReportsQuery = class _ReportsQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21140
21159
|
}
|
|
21141
21160
|
/** Include layout in this query (Smart Fetch — single HTTP request). */
|
|
21142
21161
|
layout(variables) {
|
|
21143
|
-
const info = extractIncludeInfo(
|
|
21162
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Report_LayoutDocument, "layout", ["id"]);
|
|
21144
21163
|
this._includes.push({
|
|
21145
21164
|
fieldName: "layout",
|
|
21146
|
-
fragmentDoc:
|
|
21165
|
+
fragmentDoc: chunkF4NHYL2R_cjs.ReportMemberFragmentDoc,
|
|
21147
21166
|
variables,
|
|
21148
21167
|
isConnection: false,
|
|
21149
21168
|
isList: true,
|
|
@@ -21167,7 +21186,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21167
21186
|
}
|
|
21168
21187
|
async fetch(options) {
|
|
21169
21188
|
const variables = this._variables;
|
|
21170
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21189
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.TableDocument, "table", this._includes, variables);
|
|
21171
21190
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "table");
|
|
21172
21191
|
const data = response.table;
|
|
21173
21192
|
const instance = new Table(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -21179,7 +21198,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21179
21198
|
watch(options) {
|
|
21180
21199
|
const variables = this._variables;
|
|
21181
21200
|
const includes = this._includes;
|
|
21182
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21201
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.TableDocument, "table", includes, variables);
|
|
21183
21202
|
const raw = this._syncEngine.watch(
|
|
21184
21203
|
queryDoc,
|
|
21185
21204
|
mergedVars,
|
|
@@ -21209,7 +21228,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21209
21228
|
}
|
|
21210
21229
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
21211
21230
|
database(variables, builder) {
|
|
21212
|
-
const info = extractIncludeInfo(
|
|
21231
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
21213
21232
|
let children;
|
|
21214
21233
|
if (builder) {
|
|
21215
21234
|
const sub = new DatabaseSubBuilder();
|
|
@@ -21218,7 +21237,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21218
21237
|
}
|
|
21219
21238
|
this._includes.push({
|
|
21220
21239
|
fieldName: "database",
|
|
21221
|
-
fragmentDoc:
|
|
21240
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DatabaseFragmentDoc,
|
|
21222
21241
|
variables,
|
|
21223
21242
|
isConnection: false,
|
|
21224
21243
|
isList: false,
|
|
@@ -21235,7 +21254,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21235
21254
|
}
|
|
21236
21255
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
21237
21256
|
document(variables, builder) {
|
|
21238
|
-
const info = extractIncludeInfo(
|
|
21257
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
21239
21258
|
let children;
|
|
21240
21259
|
if (builder) {
|
|
21241
21260
|
const sub = new DocumentSubBuilder();
|
|
@@ -21244,7 +21263,7 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21244
21263
|
}
|
|
21245
21264
|
this._includes.push({
|
|
21246
21265
|
fieldName: "document",
|
|
21247
|
-
fragmentDoc:
|
|
21266
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentFragmentDoc,
|
|
21248
21267
|
variables,
|
|
21249
21268
|
isConnection: false,
|
|
21250
21269
|
isList: false,
|
|
@@ -21261,10 +21280,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21261
21280
|
}
|
|
21262
21281
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
21263
21282
|
fromRelations(variables) {
|
|
21264
|
-
const info = extractIncludeInfo(
|
|
21283
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
21265
21284
|
this._includes.push({
|
|
21266
21285
|
fieldName: "fromRelations",
|
|
21267
|
-
fragmentDoc:
|
|
21286
|
+
fragmentDoc: chunkF4NHYL2R_cjs.RelationFragmentDoc,
|
|
21268
21287
|
variables,
|
|
21269
21288
|
isConnection: false,
|
|
21270
21289
|
isList: true,
|
|
@@ -21280,10 +21299,10 @@ var TableQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21280
21299
|
}
|
|
21281
21300
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
21282
21301
|
toRelations(variables) {
|
|
21283
|
-
const info = extractIncludeInfo(
|
|
21302
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
21284
21303
|
this._includes.push({
|
|
21285
21304
|
fieldName: "toRelations",
|
|
21286
|
-
fragmentDoc:
|
|
21305
|
+
fragmentDoc: chunkF4NHYL2R_cjs.RelationFragmentDoc,
|
|
21287
21306
|
variables,
|
|
21288
21307
|
isConnection: false,
|
|
21289
21308
|
isList: true,
|
|
@@ -21306,14 +21325,14 @@ var Table_DatabaseQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21306
21325
|
}
|
|
21307
21326
|
async fetch(options) {
|
|
21308
21327
|
const variables = this._variables;
|
|
21309
|
-
const response = await this._syncEngine.query(
|
|
21328
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Table_DatabaseDocument, variables, "table");
|
|
21310
21329
|
const data = response.table?.database;
|
|
21311
21330
|
return data ? new Database(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
21312
21331
|
}
|
|
21313
21332
|
watch(options) {
|
|
21314
21333
|
const variables = this._variables;
|
|
21315
21334
|
const raw = this._syncEngine.watch(
|
|
21316
|
-
|
|
21335
|
+
chunkF4NHYL2R_cjs.Table_DatabaseDocument,
|
|
21317
21336
|
variables,
|
|
21318
21337
|
"table",
|
|
21319
21338
|
async (db) => {
|
|
@@ -21336,14 +21355,14 @@ var Table_Database_EngineQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21336
21355
|
}
|
|
21337
21356
|
async fetch(options) {
|
|
21338
21357
|
const variables = this._variables;
|
|
21339
|
-
const response = await this._syncEngine.query(
|
|
21358
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Table_Database_EngineDocument, variables, "table");
|
|
21340
21359
|
const data = response.table?.database?.engine;
|
|
21341
21360
|
return data ? new DatabaseEngine(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
21342
21361
|
}
|
|
21343
21362
|
watch(options) {
|
|
21344
21363
|
const variables = this._variables;
|
|
21345
21364
|
const raw = this._syncEngine.watch(
|
|
21346
|
-
|
|
21365
|
+
chunkF4NHYL2R_cjs.Table_Database_EngineDocument,
|
|
21347
21366
|
variables,
|
|
21348
21367
|
"table",
|
|
21349
21368
|
async (db) => {
|
|
@@ -21366,14 +21385,14 @@ var Table_DocumentQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21366
21385
|
}
|
|
21367
21386
|
async fetch(options) {
|
|
21368
21387
|
const variables = this._variables;
|
|
21369
|
-
const response = await this._syncEngine.query(
|
|
21388
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Table_DocumentDocument, variables, "table");
|
|
21370
21389
|
const data = response.table?.document;
|
|
21371
21390
|
return data ? new Document(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
21372
21391
|
}
|
|
21373
21392
|
watch(options) {
|
|
21374
21393
|
const variables = this._variables;
|
|
21375
21394
|
const raw = this._syncEngine.watch(
|
|
21376
|
-
|
|
21395
|
+
chunkF4NHYL2R_cjs.Table_DocumentDocument,
|
|
21377
21396
|
variables,
|
|
21378
21397
|
"table",
|
|
21379
21398
|
async (db) => {
|
|
@@ -21395,7 +21414,7 @@ var Table_Document_ContentsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21395
21414
|
this._variables = variables;
|
|
21396
21415
|
}
|
|
21397
21416
|
async fetch(options) {
|
|
21398
|
-
const response = await this._syncEngine.query(
|
|
21417
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Table_Document_ContentsDocument, this._variables, "table");
|
|
21399
21418
|
const data = response.table?.document?.contents;
|
|
21400
21419
|
if (!Array.isArray(data)) return [];
|
|
21401
21420
|
return data.map((item) => new DocumentContent(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -21409,14 +21428,14 @@ var Table_Document_FileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21409
21428
|
}
|
|
21410
21429
|
async fetch(options) {
|
|
21411
21430
|
const variables = this._variables;
|
|
21412
|
-
const response = await this._syncEngine.query(
|
|
21431
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Table_Document_FileDocument, variables, "table");
|
|
21413
21432
|
const data = response.table?.document?.file;
|
|
21414
21433
|
return data ? new File(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
21415
21434
|
}
|
|
21416
21435
|
watch(options) {
|
|
21417
21436
|
const variables = this._variables;
|
|
21418
21437
|
const raw = this._syncEngine.watch(
|
|
21419
|
-
|
|
21438
|
+
chunkF4NHYL2R_cjs.Table_Document_FileDocument,
|
|
21420
21439
|
variables,
|
|
21421
21440
|
"table",
|
|
21422
21441
|
async (db) => {
|
|
@@ -21439,14 +21458,14 @@ var Table_Document_FormatQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21439
21458
|
}
|
|
21440
21459
|
async fetch(options) {
|
|
21441
21460
|
const variables = this._variables;
|
|
21442
|
-
const response = await this._syncEngine.query(
|
|
21461
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Table_Document_FormatDocument, variables, "table");
|
|
21443
21462
|
const data = response.table?.document?.format;
|
|
21444
21463
|
return data ? new DocumentFormat(this._request, data, this._syncEngine, this._baseUrl) : void 0;
|
|
21445
21464
|
}
|
|
21446
21465
|
watch(options) {
|
|
21447
21466
|
const variables = this._variables;
|
|
21448
21467
|
const raw = this._syncEngine.watch(
|
|
21449
|
-
|
|
21468
|
+
chunkF4NHYL2R_cjs.Table_Document_FormatDocument,
|
|
21450
21469
|
variables,
|
|
21451
21470
|
"table",
|
|
21452
21471
|
async (db) => {
|
|
@@ -21468,7 +21487,7 @@ var Table_FromRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21468
21487
|
this._variables = variables;
|
|
21469
21488
|
}
|
|
21470
21489
|
async fetch(options) {
|
|
21471
|
-
const response = await this._syncEngine.query(
|
|
21490
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Table_FromRelationsDocument, this._variables, "table");
|
|
21472
21491
|
const data = response.table?.fromRelations;
|
|
21473
21492
|
if (!Array.isArray(data)) return [];
|
|
21474
21493
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -21481,7 +21500,7 @@ var Table_ToRelationsQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21481
21500
|
this._variables = variables;
|
|
21482
21501
|
}
|
|
21483
21502
|
async fetch(options) {
|
|
21484
|
-
const response = await this._syncEngine.query(
|
|
21503
|
+
const response = await this._syncEngine.query(chunkF4NHYL2R_cjs.Table_ToRelationsDocument, this._variables, "table");
|
|
21485
21504
|
const data = response.table?.toRelations;
|
|
21486
21505
|
if (!Array.isArray(data)) return [];
|
|
21487
21506
|
return data.map((item) => new Relation(this._request, item, this._syncEngine, this._baseUrl));
|
|
@@ -21496,7 +21515,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21496
21515
|
}
|
|
21497
21516
|
async fetch(options) {
|
|
21498
21517
|
const variables = this._variables;
|
|
21499
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21518
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.TablesDocument, "tables", this._includes, variables, true);
|
|
21500
21519
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "tables");
|
|
21501
21520
|
const data = response.tables;
|
|
21502
21521
|
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);
|
|
@@ -21513,7 +21532,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21513
21532
|
const subscriptionId = crypto.randomUUID();
|
|
21514
21533
|
const includes = this._includes;
|
|
21515
21534
|
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) }] : []);
|
|
21516
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21535
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.TablesDocument, "tables", includes, variables, true);
|
|
21517
21536
|
const raw = this._syncEngine.watch(
|
|
21518
21537
|
queryDoc,
|
|
21519
21538
|
mergedVars,
|
|
@@ -21555,7 +21574,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21555
21574
|
}
|
|
21556
21575
|
/** Include database in this query (Smart Fetch — single HTTP request). */
|
|
21557
21576
|
database(variables, builder) {
|
|
21558
|
-
const info = extractIncludeInfo(
|
|
21577
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_DatabaseDocument, "database", ["id"]);
|
|
21559
21578
|
let children;
|
|
21560
21579
|
if (builder) {
|
|
21561
21580
|
const sub = new DatabaseSubBuilder();
|
|
@@ -21564,7 +21583,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21564
21583
|
}
|
|
21565
21584
|
this._includes.push({
|
|
21566
21585
|
fieldName: "database",
|
|
21567
|
-
fragmentDoc:
|
|
21586
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DatabaseFragmentDoc,
|
|
21568
21587
|
variables,
|
|
21569
21588
|
isConnection: false,
|
|
21570
21589
|
isList: false,
|
|
@@ -21581,7 +21600,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21581
21600
|
}
|
|
21582
21601
|
/** Include document in this query (Smart Fetch — single HTTP request). */
|
|
21583
21602
|
document(variables, builder) {
|
|
21584
|
-
const info = extractIncludeInfo(
|
|
21603
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_DocumentDocument, "document", ["id"]);
|
|
21585
21604
|
let children;
|
|
21586
21605
|
if (builder) {
|
|
21587
21606
|
const sub = new DocumentSubBuilder();
|
|
@@ -21590,7 +21609,7 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21590
21609
|
}
|
|
21591
21610
|
this._includes.push({
|
|
21592
21611
|
fieldName: "document",
|
|
21593
|
-
fragmentDoc:
|
|
21612
|
+
fragmentDoc: chunkF4NHYL2R_cjs.DocumentFragmentDoc,
|
|
21594
21613
|
variables,
|
|
21595
21614
|
isConnection: false,
|
|
21596
21615
|
isList: false,
|
|
@@ -21607,10 +21626,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21607
21626
|
}
|
|
21608
21627
|
/** Include fromRelations in this query (Smart Fetch — single HTTP request). */
|
|
21609
21628
|
fromRelations(variables) {
|
|
21610
|
-
const info = extractIncludeInfo(
|
|
21629
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_FromRelationsDocument, "fromRelations", ["id"]);
|
|
21611
21630
|
this._includes.push({
|
|
21612
21631
|
fieldName: "fromRelations",
|
|
21613
|
-
fragmentDoc:
|
|
21632
|
+
fragmentDoc: chunkF4NHYL2R_cjs.RelationFragmentDoc,
|
|
21614
21633
|
variables,
|
|
21615
21634
|
isConnection: false,
|
|
21616
21635
|
isList: true,
|
|
@@ -21626,10 +21645,10 @@ var TablesQuery = class _TablesQuery extends chunk342BFYZZ_cjs.Request {
|
|
|
21626
21645
|
}
|
|
21627
21646
|
/** Include toRelations in this query (Smart Fetch — single HTTP request). */
|
|
21628
21647
|
toRelations(variables) {
|
|
21629
|
-
const info = extractIncludeInfo(
|
|
21648
|
+
const info = extractIncludeInfo(chunkF4NHYL2R_cjs.Table_ToRelationsDocument, "toRelations", ["id"]);
|
|
21630
21649
|
this._includes.push({
|
|
21631
21650
|
fieldName: "toRelations",
|
|
21632
|
-
fragmentDoc:
|
|
21651
|
+
fragmentDoc: chunkF4NHYL2R_cjs.RelationFragmentDoc,
|
|
21633
21652
|
variables,
|
|
21634
21653
|
isConnection: false,
|
|
21635
21654
|
isList: true,
|
|
@@ -21653,7 +21672,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21653
21672
|
}
|
|
21654
21673
|
async fetch(options) {
|
|
21655
21674
|
const variables = this._variables;
|
|
21656
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21675
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.UserSkillFileDocument, "userSkillFile", this._includes, variables);
|
|
21657
21676
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFile");
|
|
21658
21677
|
const data = response.userSkillFile;
|
|
21659
21678
|
const instance = new UserSkillFileModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -21665,7 +21684,7 @@ var UserSkillFileQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21665
21684
|
watch(options) {
|
|
21666
21685
|
const variables = this._variables;
|
|
21667
21686
|
const includes = this._includes;
|
|
21668
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21687
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.UserSkillFileDocument, "userSkillFile", includes, variables);
|
|
21669
21688
|
const raw = this._syncEngine.watch(
|
|
21670
21689
|
queryDoc,
|
|
21671
21690
|
mergedVars,
|
|
@@ -21702,7 +21721,7 @@ var UserSkillFilesQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21702
21721
|
this._variables = variables;
|
|
21703
21722
|
}
|
|
21704
21723
|
async fetch(options) {
|
|
21705
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21724
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.UserSkillFilesDocument, "userSkillFiles", this._includes, this._variables);
|
|
21706
21725
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFiles");
|
|
21707
21726
|
const data = response.userSkillFiles;
|
|
21708
21727
|
if (!Array.isArray(data)) return [];
|
|
@@ -21718,7 +21737,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21718
21737
|
}
|
|
21719
21738
|
async fetch(options) {
|
|
21720
21739
|
const variables = this._variables;
|
|
21721
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21740
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.UserSkillFolderDocument, "userSkillFolder", this._includes, variables);
|
|
21722
21741
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolder");
|
|
21723
21742
|
const data = response.userSkillFolder;
|
|
21724
21743
|
const instance = new UserSkillFolderModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
@@ -21730,7 +21749,7 @@ var UserSkillFolderQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21730
21749
|
watch(options) {
|
|
21731
21750
|
const variables = this._variables;
|
|
21732
21751
|
const includes = this._includes;
|
|
21733
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21752
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.UserSkillFolderDocument, "userSkillFolder", includes, variables);
|
|
21734
21753
|
const raw = this._syncEngine.watch(
|
|
21735
21754
|
queryDoc,
|
|
21736
21755
|
mergedVars,
|
|
@@ -21767,7 +21786,7 @@ var UserSkillFoldersQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21767
21786
|
this._variables = variables;
|
|
21768
21787
|
}
|
|
21769
21788
|
async fetch(options) {
|
|
21770
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21789
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.UserSkillFoldersDocument, "userSkillFolders", this._includes, this._variables);
|
|
21771
21790
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "userSkillFolders");
|
|
21772
21791
|
const data = response.userSkillFolders;
|
|
21773
21792
|
if (!Array.isArray(data)) return [];
|
|
@@ -21783,7 +21802,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21783
21802
|
}
|
|
21784
21803
|
async fetch(options) {
|
|
21785
21804
|
const variables = this._variables;
|
|
21786
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21805
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", this._includes, variables);
|
|
21787
21806
|
const response = await this._syncEngine.query(queryDoc, mergedVars, "workspaceDeletionSchedule");
|
|
21788
21807
|
const data = response.workspaceDeletionSchedule;
|
|
21789
21808
|
if (!data) return void 0;
|
|
@@ -21796,7 +21815,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21796
21815
|
watch(options) {
|
|
21797
21816
|
const variables = this._variables;
|
|
21798
21817
|
const includes = this._includes;
|
|
21799
|
-
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(
|
|
21818
|
+
const { document: queryDoc, variables: mergedVars } = buildSmartQuery(chunkF4NHYL2R_cjs.WorkspaceDeletionScheduleDocument, "workspaceDeletionSchedule", includes, variables);
|
|
21800
21819
|
const raw = this._syncEngine.watch(
|
|
21801
21820
|
queryDoc,
|
|
21802
21821
|
mergedVars,
|
|
@@ -21828,7 +21847,7 @@ var WorkspaceDeletionScheduleQuery = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21828
21847
|
};
|
|
21829
21848
|
var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
21830
21849
|
async *subscribe(variables) {
|
|
21831
|
-
for await (const response of this._subscribe(
|
|
21850
|
+
for await (const response of this._subscribe(chunkF4NHYL2R_cjs.McpAuthUpdatesDocument, variables)) {
|
|
21832
21851
|
const data = response.mcpAuthUpdates;
|
|
21833
21852
|
yield new McpAuthUpdateModel(this._request, data, this._syncEngine, this._baseUrl);
|
|
21834
21853
|
}
|
|
@@ -21836,7 +21855,7 @@ var McpAuthUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
|
21836
21855
|
};
|
|
21837
21856
|
var TokenUsageUpdatesSubscription = class extends chunk342BFYZZ_cjs.Request {
|
|
21838
21857
|
async *subscribe(variables) {
|
|
21839
|
-
for await (const response of this._subscribe(
|
|
21858
|
+
for await (const response of this._subscribe(chunkF4NHYL2R_cjs.TokenUsageUpdatesDocument, variables)) {
|
|
21840
21859
|
const data = response.tokenUsageUpdates;
|
|
21841
21860
|
yield new UsageStatus(this._request, data, this._syncEngine, this._baseUrl);
|
|
21842
21861
|
}
|
|
@@ -22651,6 +22670,7 @@ exports.FeedItem_ActionQuery = FeedItem_ActionQuery;
|
|
|
22651
22670
|
exports.FeedItem_DataQuery = FeedItem_DataQuery;
|
|
22652
22671
|
exports.FeedItemsQuery = FeedItemsQuery;
|
|
22653
22672
|
exports.FeedLiveContextData = FeedLiveContextData;
|
|
22673
|
+
exports.FeedProjectData = FeedProjectData;
|
|
22654
22674
|
exports.FeedPulseData = FeedPulseData;
|
|
22655
22675
|
exports.FeedSendMessageAction = FeedSendMessageAction;
|
|
22656
22676
|
exports.Feedback = Feedback;
|
|
@@ -22872,5 +22892,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
|
|
|
22872
22892
|
exports.reconstructConnectionNodes = reconstructConnectionNodes;
|
|
22873
22893
|
exports.reconstructEntity = reconstructEntity;
|
|
22874
22894
|
exports.uploadFile = uploadFile;
|
|
22875
|
-
//# sourceMappingURL=chunk-
|
|
22876
|
-
//# sourceMappingURL=chunk-
|
|
22895
|
+
//# sourceMappingURL=chunk-SQU7RYLF.cjs.map
|
|
22896
|
+
//# sourceMappingURL=chunk-SQU7RYLF.cjs.map
|