@dvina/sdk 3.3.124 → 3.3.139
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-AODD423G.js +4 -0
- package/dist/{_generated_documents-DF34ZUJ3.js.map → _generated_documents-AODD423G.js.map} +1 -1
- package/dist/_generated_documents-HTHWTLGT.cjs +1685 -0
- package/dist/{_generated_documents-W4RHWJ4B.cjs.map → _generated_documents-HTHWTLGT.cjs.map} +1 -1
- package/dist/adapters/angular/index.cjs +5 -5
- package/dist/adapters/angular/index.d.cts +3 -3
- package/dist/adapters/angular/index.d.ts +3 -3
- package/dist/adapters/angular/index.js +3 -3
- package/dist/billing/index.cjs +5 -5
- package/dist/billing/index.js +1 -1
- package/dist/{chunk-7JUBGIQ2.js → chunk-2SDQPYT6.js} +343 -633
- package/dist/chunk-2SDQPYT6.js.map +1 -0
- package/dist/{chunk-OAAZZUYL.cjs → chunk-57QJNKRV.cjs} +464 -843
- package/dist/chunk-57QJNKRV.cjs.map +1 -0
- package/dist/{chunk-DHUFVGJR.cjs → chunk-5HODZTE2.cjs} +3971 -6163
- package/dist/chunk-5HODZTE2.cjs.map +1 -0
- package/dist/{chunk-KG3GNTYI.js → chunk-5TAY5I34.js} +6 -2
- package/dist/chunk-5TAY5I34.js.map +1 -0
- package/dist/{chunk-GDK2HJTF.cjs → chunk-BL3GFOZR.cjs} +6 -2
- package/dist/chunk-BL3GFOZR.cjs.map +1 -0
- package/dist/{chunk-RFBLNKW6.js → chunk-HHR27PDE.js} +3969 -6075
- package/dist/chunk-HHR27PDE.js.map +1 -0
- package/dist/{client-9Rwj21T9.d.cts → client-BX57zzHy.d.cts} +2 -2
- package/dist/{client-CLhQragb.d.cts → client-Bb2gD6Iz.d.cts} +42 -0
- package/dist/{client-CLhQragb.d.ts → client-Bb2gD6Iz.d.ts} +42 -0
- package/dist/{client-Bskq7sc_.d.ts → client-DiPeOA1R.d.ts} +2 -2
- package/dist/{index-BrGSfyXq.d.cts → index-DFP4l9XY.d.cts} +1 -1
- package/dist/{index-zPcVLagO.d.ts → index-x3esSuE9.d.ts} +1 -1
- package/dist/index.cjs +495 -839
- package/dist/index.d.cts +2104 -4462
- package/dist/index.d.ts +2104 -4462
- package/dist/index.js +3 -3
- package/dist/inference/index.d.cts +1 -1
- package/dist/inference/index.d.ts +1 -1
- package/dist/package.json +86 -0
- package/dist/pagination/index.d.cts +2 -2
- package/dist/pagination/index.d.ts +2 -2
- package/dist/{sync-engine-cLwTqdjv.d.ts → sync-engine-BXCeW3GE.d.ts} +44 -5
- package/dist/{sync-engine-DVKQO-1-.d.cts → sync-engine-DHWuexPR.d.cts} +44 -5
- package/package.json +2 -2
- package/dist/_generated_documents-DF34ZUJ3.js +0 -4
- package/dist/_generated_documents-W4RHWJ4B.cjs +0 -2041
- package/dist/chunk-7JUBGIQ2.js.map +0 -1
- package/dist/chunk-DHUFVGJR.cjs.map +0 -1
- package/dist/chunk-GDK2HJTF.cjs.map +0 -1
- package/dist/chunk-KG3GNTYI.js.map +0 -1
- package/dist/chunk-OAAZZUYL.cjs.map +0 -1
- package/dist/chunk-RFBLNKW6.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Action, AddInsightToReportMutation,
|
|
1
|
+
export { Action, AddInsightToReportMutation, Agent, AgentConnection, AgentQuery, AgentSubBuilder, Agent_ChatsQuery, AgentsQuery, Artifact, ArtifactConnection, ArtifactQuery, ArtifactSubBuilder, Artifact_ChatQuery, Artifact_Chat_InsightQuery, Artifact_FileQuery, Artifact_MessageQuery, Artifact_Message_ChatQuery, Artifact_Message_ContentsQuery, Artifact_Message_FeedbackQuery, ArtifactsQuery, AudioEventOutput, CancelOauthFlowMutation, CancelWorkspaceDeletionMutation, Chat, ChatConnection, ChatMessage, ChatMessageConnection, ChatMessageQuery, ChatMessageSubBuilder, ChatMessage_ArtifactsQuery, ChatMessage_ChatQuery, ChatMessage_Chat_InsightQuery, ChatMessage_ContentsQuery, ChatMessage_FeedbackQuery, ChatMessagesQuery, ChatQuery, ChatSubBuilder, ChatTitleEventOutput, Chat_AgentsQuery, Chat_ArtifactsQuery, Chat_InsightQuery, Chat_Insight_ReportMembersQuery, Chat_MessagesQuery, ChatsQuery, ConnectIntegrationMutation, ContentBlock, ContentMask, ContinueInterpretationMutation, CreateAgentMutation, CreateChatMutation, CreateDatabaseMutation, CreateDocumentMutation, CreateFeedbackMutation, CreateFolderMutation, CreateInsightMutation, CreateIntegrationMutation, CreateIntegrationOutput, CreateReportMutation, CreateTableMutation, CubeModel, DB_ENTITY_SCHEMA, Database, DatabaseCatalog, DatabaseCatalogConnection, DatabaseCatalogQuery, DatabaseCatalogSubBuilder, DatabaseCatalog_EngineQuery, DatabaseCatalogsQuery, DatabaseConnection, DatabaseEngine, DatabaseQuery, DatabaseSchemaQuery, DatabaseSubBuilder, Database_EngineQuery, Database_Engine_CatalogQuery, Database_TablesQuery, DatabasesQuery, DeepAnalysisUsage, DeferredDvinaQueryRef, DeleteAgentMutation, DeleteArtifactMutation, DeleteChatMutation, DeleteDatabaseMutation, DeleteDocumentMutation, DeleteFolderMutation, DeleteInsightMutation, DeleteInsightsMutation, DeleteIntegrationMutation, DeleteReportMutation, DeleteTableMutation, DevAccessTokenOutput, DexieLiveQueryRef, DisconnectIntegrationMutation, Document, DocumentCatalog, DocumentCatalogConnection, DocumentCatalogQuery, DocumentCatalogSubBuilder, DocumentCatalog_FormatQuery, DocumentCatalogsQuery, DocumentConnection, DocumentContent, DocumentFormat, DocumentQuery, DocumentSubBuilder, Document_ContentsQuery, Document_FileQuery, Document_FormatQuery, Document_Format_CatalogQuery, Document_TablesQuery, DocumentsQuery, DvinaDatabase, DvinaModel, DvinaSdk, ExportQuery, ExportWithInsightIdQuery, Feedback, File, FileMetaQuery, FileModel, FileQuery, FileUrlsQuery, FinalContentEventOutput, FindFitTierQuery, Folder, FolderConnection, FolderQuery, FoldersQuery, GenerateUploadUriMutation, GetCapabilityQuery, GetDevAccessTokenQuery, GetLimitQuery, GetRemainingQuery, GetTokenUsageByModelQuery, GetTokenUsageHistoryQuery, GetTokenUsageStatusQuery, GetTokenUsageStatus_WindowsQuery, GetTokenUsageStatus_Windows_DayQuery, GetTokenUsageStatus_Windows_FiveHourQuery, GetTokenUsageStatus_Windows_WeekQuery, GetUsageQuery, IndexContentObject, Insight, InsightConnection, InsightQuery, InsightSubBuilder, Insight_ChatQuery, Insight_ReportMembersQuery, Insight_ReportsQuery, InsightsQuery, Integration, IntegrationCatalog, IntegrationCatalogConnection, IntegrationCatalogQuery, IntegrationCatalogSubBuilder, IntegrationCatalog_ProviderQuery, IntegrationCatalogsQuery, IntegrationConnection, IntegrationProvider, IntegrationQuery, IntegrationSubBuilder, Integration_ProviderQuery, Integration_Provider_CatalogQuery, IntegrationsQuery, Interpretation, InterpretationConnection, InterpretationsQuery, Invocation, MUTATION_CACHE_RULES, MappedDvinaQueryRef, McpAuthUpdateModel, McpAuthUpdatesSubscription, McpClientInformation, McpCodeVerifier, McpServer, McpTokens, McpTool, MessageEndEventOutput, MessageStartEventOutput, ModelTokenUsage, Notification, NotificationConnection, NotificationQuery, NotificationsByReferenceQuery, NotificationsQuery, PRIMARY_KEY_CONFIG, PrivacyStats, PrivacyStatsQuery, QueryQuery, QueryWithInsightIdQuery, QueryWithMessageIdQuery, ReanalyzeDocumentMutation, ReasoningEventOutput, RefineMindInstructionMutation, RefreshDatabaseSchemaMutation, ReinterpretSourceMutation, ReinterpretSourcesOfuserMutation, Relation, RelocateInsightMutation, RemoveInsightFromReportMutation, Report, ReportConnection, ReportMember, ReportQuery, ReportSubBuilder, Report_InsightsQuery, Report_LayoutQuery, ReportsQuery, ResetWorkspaceMutation, ResolvedFileUrl, ScheduleWorkspaceDeletionMutation, SearchQuery, SendMessageStreamSubscription, SetDatabasePrimaryKeyMutation, StreamMessageContentOutput, StreamMessageOutput, SyncEngine, SyncEvent, TABLE_TO_TYPENAME, TYPENAME_TO_TABLE, Table, TableConnection, TableQuery, TableSubBuilder, Table_DatabaseQuery, Table_Database_EngineQuery, Table_DocumentQuery, Table_Document_ContentsQuery, Table_Document_FileQuery, Table_Document_FormatQuery, Table_FromRelationsQuery, Table_ToRelationsQuery, TablesQuery, TextBlockEventOutput, TextDeltaEventOutput, TokenUsage, TokenUsageUpdatesSubscription, ToolInputDeltaEventOutput, ToolResultArtifactOutput, ToolResultEventOutput, ToolStartEventOutput, UpdateAgentMutation, UpdateChatMutation, UpdateDatabaseMutation, UpdateDocumentMutation, UpdateFolderMutation, UpdateInsightInReportMutation, UpdateInsightMutation, UpdateInterpMutation, UpdateReportMutation, UpdateTableMutation, UsageMetaOutput, UsageStatus, UsageWindowsStatusType, WindowDetailType, WorkspaceDeleteSchedule, WorkspaceDeletionScheduleQuery, closeDatabase, createDvinaClient, createLazySyncEngine, createSseTransport, createWsTransport, deleteDatabase, getOrCreateDatabase, reconstructConnectionNodes, reconstructEntity, uploadFile } from './chunk-HHR27PDE.js';
|
|
2
2
|
export { extractNodes, mergeConnections } from './chunk-QOZI2HY5.js';
|
|
3
3
|
export { AbstractConnection, Connection, PageInfo, Request, defaultConnection } from './chunk-P4BYTXZ7.js';
|
|
4
4
|
import './chunk-PDM2KR7T.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-5TAY5I34.js';
|
|
6
6
|
export { DvinaAuthenticationError, DvinaError, DvinaGraphQLError, DvinaNetworkError, DvinaNotFoundError, DvinaPlanRestrictionError, DvinaTokenLimitError, GRAPHQL_ERROR_CODES, createGraphQLError, extractErrorCode } from './chunk-7XBJ77RJ.js';
|
|
7
|
-
export { ActionType, ActiveWindowType, AgentOrderByRelevanceFieldEnum, AiResourceType, CapabilityType, ChatMessageFromEnum, ChatMessageOrderByRelevanceFieldEnum, ChatOrderByRelevanceFieldEnum, ContentBlockType,
|
|
7
|
+
export { ActionType, ActiveWindowType, AgentOrderByRelevanceFieldEnum, AiResourceType, ArtifactKind, ArtifactOrderByRelevanceFieldEnum, CapabilityType, ChatMessageFromEnum, ChatMessageOrderByRelevanceFieldEnum, ChatOrderByRelevanceFieldEnum, ContentBlockType, DatabaseCatalogOrderByRelevanceFieldEnum, DatabaseOrderByRelevanceFieldEnum, DocumentCatalogOrderByRelevanceFieldEnum, DocumentOrderByRelevanceFieldEnum, EntitlementTier, FeedbackOrderByRelevanceFieldEnum, FeedbackType, FileOrderByRelevanceFieldEnum, FolderOrderByRelevanceFieldEnum, IndexType, InsightOrderByRelevanceFieldEnum, IntegrationCatalogOrderByRelevanceFieldEnum, IntegrationOrderByRelevanceFieldEnum, IntegrationStatus, InterpretationOrderByRelevanceFieldEnum, InterpretationType, LimitType, McpAuthPhase, NotificationCategory, NotificationOrderByRelevanceFieldEnum, NotificationPriority, NotificationStatus, NullsOrder, Presentation, QueryMode, RelationType, ReportMemberSize, ReportOrderByRelevanceFieldEnum, SendMessageModel, SortOrder, TableOrderByRelevanceFieldEnum, TableStatus, TokenUsageLimit, UsageHistoryGranularity } from './chunk-2SDQPYT6.js';
|
|
8
8
|
import './chunk-5WRI5ZAA.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as Chat, a as ChatCompletionChoice, b as ChatCompletionChunk, c as ChatCompletionRequest, d as ChatCompletionResponse, e as ChatCompletionStream, f as ChatCompletionStreamRequest, g as ChatCompletions, h as ChatMessage, i as ContentPart, H as HealthResponse, I as InferenceClient, j as InferenceClientOptions, k as InferenceErrorResponse, M as Model, l as ModelListResponse, m as Models, R as Responses, n as ResponsesRequest, o as ResponsesStreamRequest, S as StreamChunkChoice, p as StreamDelta, T as Tool, q as ToolCall, r as ToolChoice, U as Usage, s as createInferenceClient, t as createInferenceClientInternal, u as parseSSEStream } from '../client-
|
|
1
|
+
export { C as Chat, a as ChatCompletionChoice, b as ChatCompletionChunk, c as ChatCompletionRequest, d as ChatCompletionResponse, e as ChatCompletionStream, f as ChatCompletionStreamRequest, g as ChatCompletions, h as ChatMessage, i as ContentPart, H as HealthResponse, I as InferenceClient, j as InferenceClientOptions, k as InferenceErrorResponse, M as Model, l as ModelListResponse, m as Models, R as Responses, n as ResponsesRequest, o as ResponsesStreamRequest, S as StreamChunkChoice, p as StreamDelta, T as Tool, q as ToolCall, r as ToolChoice, U as Usage, s as createInferenceClient, t as createInferenceClientInternal, u as parseSSEStream } from '../client-Bb2gD6Iz.cjs';
|
|
2
2
|
import { D as DvinaError } from '../error-CsVoUTY8.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as Chat, a as ChatCompletionChoice, b as ChatCompletionChunk, c as ChatCompletionRequest, d as ChatCompletionResponse, e as ChatCompletionStream, f as ChatCompletionStreamRequest, g as ChatCompletions, h as ChatMessage, i as ContentPart, H as HealthResponse, I as InferenceClient, j as InferenceClientOptions, k as InferenceErrorResponse, M as Model, l as ModelListResponse, m as Models, R as Responses, n as ResponsesRequest, o as ResponsesStreamRequest, S as StreamChunkChoice, p as StreamDelta, T as Tool, q as ToolCall, r as ToolChoice, U as Usage, s as createInferenceClient, t as createInferenceClientInternal, u as parseSSEStream } from '../client-
|
|
1
|
+
export { C as Chat, a as ChatCompletionChoice, b as ChatCompletionChunk, c as ChatCompletionRequest, d as ChatCompletionResponse, e as ChatCompletionStream, f as ChatCompletionStreamRequest, g as ChatCompletions, h as ChatMessage, i as ContentPart, H as HealthResponse, I as InferenceClient, j as InferenceClientOptions, k as InferenceErrorResponse, M as Model, l as ModelListResponse, m as Models, R as Responses, n as ResponsesRequest, o as ResponsesStreamRequest, S as StreamChunkChoice, p as StreamDelta, T as Tool, q as ToolCall, r as ToolChoice, U as Usage, s as createInferenceClient, t as createInferenceClientInternal, u as parseSSEStream } from '../client-Bb2gD6Iz.js';
|
|
2
2
|
import { D as DvinaError } from '../error-CsVoUTY8.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dvina/sdk",
|
|
3
|
+
"version": "3.3.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"types": "./index.d.ts",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"import": {
|
|
9
|
+
"types": "./index.d.ts",
|
|
10
|
+
"default": "./index.js"
|
|
11
|
+
},
|
|
12
|
+
"require": {
|
|
13
|
+
"types": "./index.d.cts",
|
|
14
|
+
"default": "./index.cjs"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"./angular": {
|
|
18
|
+
"import": {
|
|
19
|
+
"types": "./adapters/angular/index.d.ts",
|
|
20
|
+
"default": "./adapters/angular/index.js"
|
|
21
|
+
},
|
|
22
|
+
"require": {
|
|
23
|
+
"types": "./adapters/angular/index.d.cts",
|
|
24
|
+
"default": "./adapters/angular/index.cjs"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"./react": {
|
|
28
|
+
"import": {
|
|
29
|
+
"types": "./adapters/react/index.d.ts",
|
|
30
|
+
"default": "./adapters/react/index.js"
|
|
31
|
+
},
|
|
32
|
+
"require": {
|
|
33
|
+
"types": "./adapters/react/index.d.cts",
|
|
34
|
+
"default": "./adapters/react/index.cjs"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"./pagination": {
|
|
38
|
+
"import": {
|
|
39
|
+
"types": "./pagination/index.d.ts",
|
|
40
|
+
"default": "./pagination/index.js"
|
|
41
|
+
},
|
|
42
|
+
"require": {
|
|
43
|
+
"types": "./pagination/index.d.cts",
|
|
44
|
+
"default": "./pagination/index.cjs"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"./inference": {
|
|
48
|
+
"import": {
|
|
49
|
+
"types": "./inference/index.d.ts",
|
|
50
|
+
"default": "./inference/index.js"
|
|
51
|
+
},
|
|
52
|
+
"require": {
|
|
53
|
+
"types": "./inference/index.d.cts",
|
|
54
|
+
"default": "./inference/index.cjs"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"./billing": {
|
|
58
|
+
"import": {
|
|
59
|
+
"types": "./billing/index.d.ts",
|
|
60
|
+
"default": "./billing/index.js"
|
|
61
|
+
},
|
|
62
|
+
"require": {
|
|
63
|
+
"types": "./billing/index.d.cts",
|
|
64
|
+
"default": "./billing/index.cjs"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@graphql-typed-document-node/core": "^3.2.0",
|
|
70
|
+
"dexie": "^4.3.0",
|
|
71
|
+
"graphql": "^16.9.0",
|
|
72
|
+
"graphql-ws": "^6.0.0"
|
|
73
|
+
},
|
|
74
|
+
"peerDependencies": {
|
|
75
|
+
"@angular/core": ">=19.0.0",
|
|
76
|
+
"react": ">=18.0.0"
|
|
77
|
+
},
|
|
78
|
+
"peerDependenciesMeta": {
|
|
79
|
+
"@angular/core": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"react": {
|
|
83
|
+
"optional": true
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as AbstractConnection, C as Connection, P as PageInfo, d as defaultConnection, e as extractNodes, m as mergeConnections } from '../index-
|
|
1
|
+
export { A as AbstractConnection, C as Connection, P as PageInfo, d as defaultConnection, e as extractNodes, m as mergeConnections } from '../index-DFP4l9XY.cjs';
|
|
2
2
|
import '../types-2RotD0Ab.cjs';
|
|
3
3
|
import 'graphql';
|
|
4
|
-
import '../sync-engine-
|
|
4
|
+
import '../sync-engine-DHWuexPR.cjs';
|
|
5
5
|
import 'dexie';
|
|
6
6
|
import '../error-CsVoUTY8.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as AbstractConnection, C as Connection, P as PageInfo, d as defaultConnection, e as extractNodes, m as mergeConnections } from '../index-
|
|
1
|
+
export { A as AbstractConnection, C as Connection, P as PageInfo, d as defaultConnection, e as extractNodes, m as mergeConnections } from '../index-x3esSuE9.js';
|
|
2
2
|
import '../types-2RotD0Ab.js';
|
|
3
3
|
import 'graphql';
|
|
4
|
-
import '../sync-engine-
|
|
4
|
+
import '../sync-engine-BXCeW3GE.js';
|
|
5
5
|
import 'dexie';
|
|
6
6
|
import '../error-CsVoUTY8.js';
|
|
@@ -102,6 +102,10 @@ declare class DvinaDatabase {
|
|
|
102
102
|
getLastSyncId(): Promise<string>;
|
|
103
103
|
/** Persist the last processed sync event ID. */
|
|
104
104
|
setLastSyncId(syncId: string): Promise<void>;
|
|
105
|
+
/** Get the last applied remote cache epoch, or 0 if none. */
|
|
106
|
+
getCacheEpoch(): Promise<number>;
|
|
107
|
+
/** Persist the last applied remote cache epoch. */
|
|
108
|
+
setCacheEpoch(cacheEpoch: number): Promise<void>;
|
|
105
109
|
}
|
|
106
110
|
/**
|
|
107
111
|
* Get or create a DvinaDatabase instance.
|
|
@@ -139,6 +143,8 @@ interface HttpTransportOptions {
|
|
|
139
143
|
}) => Promise<string>;
|
|
140
144
|
/** Returns the preferred language, or undefined */
|
|
141
145
|
getLanguage: () => string | undefined;
|
|
146
|
+
/** Returns the user's IANA timezone when available. */
|
|
147
|
+
getUserTimezone?: () => string | undefined;
|
|
142
148
|
/**
|
|
143
149
|
* Optional global error callback. Called with the final error right before
|
|
144
150
|
* it is thrown to the caller. Useful for centralized error reporting / UI alerts.
|
|
@@ -173,6 +179,7 @@ declare function createHttpTransport(options: HttpTransportOptions): HttpTranspo
|
|
|
173
179
|
* - Fetch-based SSE with Authorization header (no query parameter token exposure)
|
|
174
180
|
* - Automatic reconnection with exponential backoff
|
|
175
181
|
* - Auth failure detection with short-delay retry for token refresh
|
|
182
|
+
* - Automatic re-registration and periodic refresh of active query subscriptions
|
|
176
183
|
* - Event listener pattern for processing sync events
|
|
177
184
|
*/
|
|
178
185
|
interface SseSyncEvent {
|
|
@@ -214,6 +221,8 @@ interface SseTransportOptions {
|
|
|
214
221
|
onCursor?: (syncId: string) => void;
|
|
215
222
|
/** Called when the server signals that the sync gap is unrecoverable and a full resync is needed */
|
|
216
223
|
onFullResync?: () => void;
|
|
224
|
+
/** Called after a reconnect successfully re-registers active subscriptions */
|
|
225
|
+
onReconnect?: () => void;
|
|
217
226
|
/** Called on connection state changes */
|
|
218
227
|
onStateChange?: (state: 'connecting' | 'connected' | 'disconnected') => void;
|
|
219
228
|
}
|
|
@@ -261,8 +270,16 @@ interface CacheRuleDelete {
|
|
|
261
270
|
entityType: string;
|
|
262
271
|
/** Query result keys to remove the entity from */
|
|
263
272
|
connectionFields: string[];
|
|
264
|
-
/** Related entity types to cascade-delete
|
|
265
|
-
cascadeDelete?:
|
|
273
|
+
/** Related entity types to cascade-delete alongside the parent entity */
|
|
274
|
+
cascadeDelete?: CacheCascadeDeleteRule[];
|
|
275
|
+
}
|
|
276
|
+
interface CacheCascadeDeleteRule {
|
|
277
|
+
/** Dexie table name for the related entity to remove */
|
|
278
|
+
entityType: string;
|
|
279
|
+
/** Explicit foreign-key fields to match against the parent ID */
|
|
280
|
+
relationFields?: string[];
|
|
281
|
+
/** Nested cascade rules for children of this related entity */
|
|
282
|
+
cascadeDelete?: CacheCascadeDeleteRule[];
|
|
266
283
|
}
|
|
267
284
|
type CacheRule = CacheRuleCreate | CacheRuleUpdate | CacheRuleDelete;
|
|
268
285
|
interface SyncEngineOptions {
|
|
@@ -273,6 +290,14 @@ interface SyncEngineOptions {
|
|
|
273
290
|
/** Optional SSE transport for delta sync (browser-only) */
|
|
274
291
|
sseTransport?: SseTransport;
|
|
275
292
|
}
|
|
293
|
+
interface WatchedRelationMetadata {
|
|
294
|
+
fieldName: string;
|
|
295
|
+
entityType: string;
|
|
296
|
+
requiredFields: string[];
|
|
297
|
+
isConnection: boolean;
|
|
298
|
+
isList: boolean;
|
|
299
|
+
hasNestedIncludes: boolean;
|
|
300
|
+
}
|
|
276
301
|
/**
|
|
277
302
|
* The SyncEngine is the central orchestrator for all data operations in the SDK.
|
|
278
303
|
*
|
|
@@ -328,9 +353,16 @@ declare class SyncEngine {
|
|
|
328
353
|
*
|
|
329
354
|
* Clears all cached entities and query results, resets the sync cursor,
|
|
330
355
|
* then restarts the SSE connection so the client gets a fresh cursor.
|
|
331
|
-
*
|
|
356
|
+
* When SSE is available, active subscription-backed watchers are revalidated
|
|
357
|
+
* after the reconnect callback re-registers them with the server.
|
|
358
|
+
* Without SSE, revalidation happens immediately.
|
|
332
359
|
*/
|
|
333
360
|
handleFullResync(): Promise<void>;
|
|
361
|
+
/**
|
|
362
|
+
* Revalidate active subscription-backed queries after the SSE transport
|
|
363
|
+
* reconnects and re-registers them with the server.
|
|
364
|
+
*/
|
|
365
|
+
handleTransportReconnect(): Promise<void>;
|
|
334
366
|
/**
|
|
335
367
|
* Process an incoming SSE sync event.
|
|
336
368
|
* Writes the entity to Dexie and updates the sync cursor atomically.
|
|
@@ -362,7 +394,7 @@ declare class SyncEngine {
|
|
|
362
394
|
* @param buildResult - A function that reads from Dexie and returns the raw response shape.
|
|
363
395
|
* @param subscriptionDescriptor - Optional server-driven subscription metadata for filtered queries.
|
|
364
396
|
*/
|
|
365
|
-
watch<T>(document: DocumentNode, variables: Record<string, unknown> | undefined, operationName: string, buildResult: (db: DvinaDatabase) => Promise<T> | T, subscriptionDescriptor?: SubscriptionDescriptor): DvinaQueryRef<T>;
|
|
397
|
+
watch<T>(document: DocumentNode, variables: Record<string, unknown> | undefined, operationName: string, buildResult: (db: DvinaDatabase) => Promise<T> | T, subscriptionDescriptor?: SubscriptionDescriptor, relationMetadata?: WatchedRelationMetadata[]): DvinaQueryRef<T>;
|
|
366
398
|
/**
|
|
367
399
|
* Execute a mutation with optional optimistic update and automatic cache rule.
|
|
368
400
|
*
|
|
@@ -413,7 +445,14 @@ declare class SyncEngine {
|
|
|
413
445
|
private _processSyncUpsert;
|
|
414
446
|
private _markEntityTypeTouched;
|
|
415
447
|
private _revalidateSubscriptionIfStale;
|
|
416
|
-
private
|
|
448
|
+
private _revalidateAllActiveSubscriptions;
|
|
449
|
+
private _revalidateSubscriptions;
|
|
450
|
+
private _getActiveSubscriptionsForEntityType;
|
|
451
|
+
private _materializeWatchedRelations;
|
|
452
|
+
private _subscriptionNeedsRevalidation;
|
|
453
|
+
private _canMaterializeRelationRecord;
|
|
454
|
+
private _buildMaterializedRelationRecord;
|
|
455
|
+
private _inferParentLinkField;
|
|
417
456
|
/**
|
|
418
457
|
* Handle a delete sync event: remove entity from Dexie and query results.
|
|
419
458
|
*/
|
|
@@ -102,6 +102,10 @@ declare class DvinaDatabase {
|
|
|
102
102
|
getLastSyncId(): Promise<string>;
|
|
103
103
|
/** Persist the last processed sync event ID. */
|
|
104
104
|
setLastSyncId(syncId: string): Promise<void>;
|
|
105
|
+
/** Get the last applied remote cache epoch, or 0 if none. */
|
|
106
|
+
getCacheEpoch(): Promise<number>;
|
|
107
|
+
/** Persist the last applied remote cache epoch. */
|
|
108
|
+
setCacheEpoch(cacheEpoch: number): Promise<void>;
|
|
105
109
|
}
|
|
106
110
|
/**
|
|
107
111
|
* Get or create a DvinaDatabase instance.
|
|
@@ -139,6 +143,8 @@ interface HttpTransportOptions {
|
|
|
139
143
|
}) => Promise<string>;
|
|
140
144
|
/** Returns the preferred language, or undefined */
|
|
141
145
|
getLanguage: () => string | undefined;
|
|
146
|
+
/** Returns the user's IANA timezone when available. */
|
|
147
|
+
getUserTimezone?: () => string | undefined;
|
|
142
148
|
/**
|
|
143
149
|
* Optional global error callback. Called with the final error right before
|
|
144
150
|
* it is thrown to the caller. Useful for centralized error reporting / UI alerts.
|
|
@@ -173,6 +179,7 @@ declare function createHttpTransport(options: HttpTransportOptions): HttpTranspo
|
|
|
173
179
|
* - Fetch-based SSE with Authorization header (no query parameter token exposure)
|
|
174
180
|
* - Automatic reconnection with exponential backoff
|
|
175
181
|
* - Auth failure detection with short-delay retry for token refresh
|
|
182
|
+
* - Automatic re-registration and periodic refresh of active query subscriptions
|
|
176
183
|
* - Event listener pattern for processing sync events
|
|
177
184
|
*/
|
|
178
185
|
interface SseSyncEvent {
|
|
@@ -214,6 +221,8 @@ interface SseTransportOptions {
|
|
|
214
221
|
onCursor?: (syncId: string) => void;
|
|
215
222
|
/** Called when the server signals that the sync gap is unrecoverable and a full resync is needed */
|
|
216
223
|
onFullResync?: () => void;
|
|
224
|
+
/** Called after a reconnect successfully re-registers active subscriptions */
|
|
225
|
+
onReconnect?: () => void;
|
|
217
226
|
/** Called on connection state changes */
|
|
218
227
|
onStateChange?: (state: 'connecting' | 'connected' | 'disconnected') => void;
|
|
219
228
|
}
|
|
@@ -261,8 +270,16 @@ interface CacheRuleDelete {
|
|
|
261
270
|
entityType: string;
|
|
262
271
|
/** Query result keys to remove the entity from */
|
|
263
272
|
connectionFields: string[];
|
|
264
|
-
/** Related entity types to cascade-delete
|
|
265
|
-
cascadeDelete?:
|
|
273
|
+
/** Related entity types to cascade-delete alongside the parent entity */
|
|
274
|
+
cascadeDelete?: CacheCascadeDeleteRule[];
|
|
275
|
+
}
|
|
276
|
+
interface CacheCascadeDeleteRule {
|
|
277
|
+
/** Dexie table name for the related entity to remove */
|
|
278
|
+
entityType: string;
|
|
279
|
+
/** Explicit foreign-key fields to match against the parent ID */
|
|
280
|
+
relationFields?: string[];
|
|
281
|
+
/** Nested cascade rules for children of this related entity */
|
|
282
|
+
cascadeDelete?: CacheCascadeDeleteRule[];
|
|
266
283
|
}
|
|
267
284
|
type CacheRule = CacheRuleCreate | CacheRuleUpdate | CacheRuleDelete;
|
|
268
285
|
interface SyncEngineOptions {
|
|
@@ -273,6 +290,14 @@ interface SyncEngineOptions {
|
|
|
273
290
|
/** Optional SSE transport for delta sync (browser-only) */
|
|
274
291
|
sseTransport?: SseTransport;
|
|
275
292
|
}
|
|
293
|
+
interface WatchedRelationMetadata {
|
|
294
|
+
fieldName: string;
|
|
295
|
+
entityType: string;
|
|
296
|
+
requiredFields: string[];
|
|
297
|
+
isConnection: boolean;
|
|
298
|
+
isList: boolean;
|
|
299
|
+
hasNestedIncludes: boolean;
|
|
300
|
+
}
|
|
276
301
|
/**
|
|
277
302
|
* The SyncEngine is the central orchestrator for all data operations in the SDK.
|
|
278
303
|
*
|
|
@@ -328,9 +353,16 @@ declare class SyncEngine {
|
|
|
328
353
|
*
|
|
329
354
|
* Clears all cached entities and query results, resets the sync cursor,
|
|
330
355
|
* then restarts the SSE connection so the client gets a fresh cursor.
|
|
331
|
-
*
|
|
356
|
+
* When SSE is available, active subscription-backed watchers are revalidated
|
|
357
|
+
* after the reconnect callback re-registers them with the server.
|
|
358
|
+
* Without SSE, revalidation happens immediately.
|
|
332
359
|
*/
|
|
333
360
|
handleFullResync(): Promise<void>;
|
|
361
|
+
/**
|
|
362
|
+
* Revalidate active subscription-backed queries after the SSE transport
|
|
363
|
+
* reconnects and re-registers them with the server.
|
|
364
|
+
*/
|
|
365
|
+
handleTransportReconnect(): Promise<void>;
|
|
334
366
|
/**
|
|
335
367
|
* Process an incoming SSE sync event.
|
|
336
368
|
* Writes the entity to Dexie and updates the sync cursor atomically.
|
|
@@ -362,7 +394,7 @@ declare class SyncEngine {
|
|
|
362
394
|
* @param buildResult - A function that reads from Dexie and returns the raw response shape.
|
|
363
395
|
* @param subscriptionDescriptor - Optional server-driven subscription metadata for filtered queries.
|
|
364
396
|
*/
|
|
365
|
-
watch<T>(document: DocumentNode, variables: Record<string, unknown> | undefined, operationName: string, buildResult: (db: DvinaDatabase) => Promise<T> | T, subscriptionDescriptor?: SubscriptionDescriptor): DvinaQueryRef<T>;
|
|
397
|
+
watch<T>(document: DocumentNode, variables: Record<string, unknown> | undefined, operationName: string, buildResult: (db: DvinaDatabase) => Promise<T> | T, subscriptionDescriptor?: SubscriptionDescriptor, relationMetadata?: WatchedRelationMetadata[]): DvinaQueryRef<T>;
|
|
366
398
|
/**
|
|
367
399
|
* Execute a mutation with optional optimistic update and automatic cache rule.
|
|
368
400
|
*
|
|
@@ -413,7 +445,14 @@ declare class SyncEngine {
|
|
|
413
445
|
private _processSyncUpsert;
|
|
414
446
|
private _markEntityTypeTouched;
|
|
415
447
|
private _revalidateSubscriptionIfStale;
|
|
416
|
-
private
|
|
448
|
+
private _revalidateAllActiveSubscriptions;
|
|
449
|
+
private _revalidateSubscriptions;
|
|
450
|
+
private _getActiveSubscriptionsForEntityType;
|
|
451
|
+
private _materializeWatchedRelations;
|
|
452
|
+
private _subscriptionNeedsRevalidation;
|
|
453
|
+
private _canMaterializeRelationRecord;
|
|
454
|
+
private _buildMaterializedRelationRecord;
|
|
455
|
+
private _inferParentLinkField;
|
|
417
456
|
/**
|
|
418
457
|
* Handle a delete sync event: remove entity from Dexie and query results.
|
|
419
458
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvina/sdk",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.139",
|
|
4
4
|
"description": "Type-safe SDK for the Dvina GraphQL API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"graphql-ws": "^6.0.0"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@angular/core": "
|
|
118
|
+
"@angular/core": ">=19.0.0 <21.0.0",
|
|
119
119
|
"@apollo/client": "^3.11.0",
|
|
120
120
|
"@dvina/codegen-doc": "workspace:*",
|
|
121
121
|
"@dvina/codegen-sdk": "workspace:*",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { ActionAvgAggregateFragmentDoc, ActionCountAggregateFragmentDoc, ActionFragmentDoc, ActionMaxAggregateFragmentDoc, ActionMinAggregateFragmentDoc, ActionSumAggregateFragmentDoc, ActionType, ActiveWindowType, AddInsightToReportDocument, AddTeamMemberDocument, AgentConnectionFragmentDoc, AgentCountAggregateFragmentDoc, AgentDocument, AgentFragmentDoc, AgentMaxAggregateFragmentDoc, AgentMinAggregateFragmentDoc, AgentOrderByRelevanceFieldEnum, Agent_ChatsDocument, Agent_DocumentsDocument, AgentsDocument, AiResourceType, AudioEventOutputFragmentDoc, CancelOauthFlowDocument, CancelWorkspaceDeletionDocument, CapabilityType, ChatConnectionFragmentDoc, ChatCountAggregateFragmentDoc, ChatDocument, ChatFragmentDoc, ChatMaxAggregateFragmentDoc, ChatMessageConnectionFragmentDoc, ChatMessageCountAggregateFragmentDoc, ChatMessageDocument, ChatMessageFragmentDoc, ChatMessageFromEnum, ChatMessageMaxAggregateFragmentDoc, ChatMessageMinAggregateFragmentDoc, ChatMessageOrderByRelevanceFieldEnum, ChatMessage_AttachmentsDocument, ChatMessage_Attachments_ChatDocument, ChatMessage_Attachments_DataSourceDocument, ChatMessage_Attachments_FolderDocument, ChatMessage_Attachments_InsightDocument, ChatMessage_Attachments_PublicDocument, ChatMessage_Attachments_ReportDocument, ChatMessage_Attachments_TableDocument, ChatMessage_ChatDocument, ChatMessage_Chat_AgentDocument, ChatMessage_Chat_InsightDocument, ChatMessage_Chat_ResourceDocument, ChatMessage_ContentsDocument, ChatMessage_Contents_MasksDocument, ChatMessage_FeedbackDocument, ChatMessagesDocument, ChatMinAggregateFragmentDoc, ChatOrderByRelevanceFieldEnum, ChatTitleEventOutputFragmentDoc, Chat_AgentDocument, Chat_InsightDocument, Chat_Insight_ReportMembersDocument, Chat_Insight_ResourceDocument, Chat_MessagesDocument, Chat_ResourceDocument, Chat_Resource_DataSourceDocument, Chat_Resource_FolderDocument, Chat_Resource_InsightDocument, Chat_Resource_PublicDocument, Chat_Resource_ReportDocument, Chat_Resource_TableDocument, ChatsDocument, CloseToPublicDocument, ContentBlockAvgAggregateFragmentDoc, ContentBlockCountAggregateFragmentDoc, ContentBlockFragmentDoc, ContentBlockMaxAggregateFragmentDoc, ContentBlockMinAggregateFragmentDoc, ContentBlockSumAggregateFragmentDoc, ContentBlockType, ContentMaskCountAggregateFragmentDoc, ContentMaskFragmentDoc, ContentMaskMaxAggregateFragmentDoc, ContentMaskMinAggregateFragmentDoc, ContinueInterpretationDocument, CreateAgentDocument, CreateChatDocument, CreateDataSourceDocument, CreateFeedbackDocument, CreateFolderDocument, CreateInsightDocument, CreateIntegratedDataSourceDocument, CreateIntegrationDocument, CreateIntegrationOutputFragmentDoc, CreateRelationDocument, CreateReportDocument, CreateTableDocument, CreateTeamDocument, CubeModelCountAggregateFragmentDoc, CubeModelFragmentDoc, CubeModelMaxAggregateFragmentDoc, CubeModelMinAggregateFragmentDoc, DataSourceCategoryEnum, DataSourceConnectionFragmentDoc, DataSourceCountAggregateFragmentDoc, DataSourceDocument, DataSourceFragmentDoc, DataSourceMaxAggregateFragmentDoc, DataSourceMinAggregateFragmentDoc, DataSourceOrderByRelevanceFieldEnum, DataSourceType, DataSourceTypeDetailsAvgAggregateFragmentDoc, DataSourceTypeDetailsConnectionFragmentDoc, DataSourceTypeDetailsCountAggregateFragmentDoc, DataSourceTypeDetailsFragmentDoc, DataSourceTypeDetailsIconType, DataSourceTypeDetailsMaxAggregateFragmentDoc, DataSourceTypeDetailsMinAggregateFragmentDoc, DataSourceTypeDetailsOrderByRelevanceFieldEnum, DataSourceTypeDetailsSumAggregateFragmentDoc, DataSourceTypeDocument, DataSourceType_DataSourcesDocument, DataSourceTypesDocument, DataSource_ContentsDocument, DataSource_IntegratedSourceDocument, DataSource_IntegratedSource_IntegrationDocument, DataSource_ResourceDocument, DataSource_Resource_ChatDocument, DataSource_Resource_FolderDocument, DataSource_Resource_InsightDocument, DataSource_Resource_PublicDocument, DataSource_Resource_ReportDocument, DataSource_Resource_TableDocument, DataSource_TablesDocument, DataSource_TypeDetailsDocument, DataSourcesDocument, DeepAnalysisUsageAvgAggregateFragmentDoc, DeepAnalysisUsageCountAggregateFragmentDoc, DeepAnalysisUsageFragmentDoc, DeepAnalysisUsageMaxAggregateFragmentDoc, DeepAnalysisUsageMinAggregateFragmentDoc, DeepAnalysisUsageSumAggregateFragmentDoc, DeepAnalyzeDocument, DeleteAgentDocument, DeleteChatDocument, DeleteDataSourceDocument, DeleteFolderDocument, DeleteInsightDocument, DeleteInsightsDocument, DeleteIntegrationDocument, DeleteRelationDocument, DeleteReportDocument, DeleteTableDocument, DeleteTeamDocument, DevAccessTokenOutputFragmentDoc, DocumentContentAvgAggregateFragmentDoc, DocumentContentCountAggregateFragmentDoc, DocumentContentFragmentDoc, DocumentContentMaxAggregateFragmentDoc, DocumentContentMinAggregateFragmentDoc, DocumentContentSumAggregateFragmentDoc, DriveItemFragmentDoc, DropConnectionDocument, EntitlementTier, ExportDocument, ExportWithInsightIdDocument, FeedbackCountAggregateFragmentDoc, FeedbackFragmentDoc, FeedbackMaxAggregateFragmentDoc, FeedbackMinAggregateFragmentDoc, FeedbackOrderByRelevanceFieldEnum, FeedbackType, FileAvgAggregateFragmentDoc, FileCountAggregateFragmentDoc, FileDocument, FileFragmentDoc, FileMaxAggregateFragmentDoc, FileMetaDocument, FileMinAggregateFragmentDoc, FileModelFragmentDoc, FileSumAggregateFragmentDoc, FinalContentEventOutputFragmentDoc, FindFitTierDocument, FolderConnectionFragmentDoc, FolderCountAggregateFragmentDoc, FolderDocument, FolderFragmentDoc, FolderMaxAggregateFragmentDoc, FolderMinAggregateFragmentDoc, FolderOrderByRelevanceFieldEnum, Folder_ResourceDocument, Folder_Resource_ChatDocument, Folder_Resource_DataSourceDocument, Folder_Resource_InsightDocument, Folder_Resource_PublicDocument, Folder_Resource_ReportDocument, Folder_Resource_TableDocument, FoldersDocument, GenerateUploadUriDocument, GetAccessTokenDocument, GetAuthUrlDocument, GetCapabilityDocument, GetDevAccessTokenDocument, GetLimitDocument, GetRemainingDocument, GetSchemaWithIdDocument, GetSchemaWithParamsDocument, GetTokenUsageByModelDocument, GetTokenUsageHistoryDocument, GetTokenUsageStatusDocument, GetTokenUsageStatus_WindowsDocument, GetTokenUsageStatus_Windows_DayDocument, GetTokenUsageStatus_Windows_FiveHourDocument, GetTokenUsageStatus_Windows_WeekDocument, GetUsageDocument, GetVectorStoreStatesDocument, GetZombieDocumentsDocument, IndexContentObjectFragmentDoc, IndexType, InsightConnectionFragmentDoc, InsightCountAggregateFragmentDoc, InsightDocument, InsightFragmentDoc, InsightMaxAggregateFragmentDoc, InsightMinAggregateFragmentDoc, InsightOrderByRelevanceFieldEnum, Insight_ChatDocument, Insight_Chat_AgentDocument, Insight_Chat_ResourceDocument, Insight_ReportMembersDocument, Insight_ReportMembers_ReportDocument, Insight_ReportsDocument, Insight_ResourceDocument, Insight_Resource_ChatDocument, Insight_Resource_DataSourceDocument, Insight_Resource_FolderDocument, Insight_Resource_PublicDocument, Insight_Resource_ReportDocument, Insight_Resource_TableDocument, InsightsDocument, IntegratedSourceCountAggregateFragmentDoc, IntegratedSourceFragmentDoc, IntegratedSourceMaxAggregateFragmentDoc, IntegratedSourceMinAggregateFragmentDoc, IntegratedSourceResponseFragmentDoc, IntegrationCountAggregateFragmentDoc, IntegrationFragmentDoc, IntegrationMaxAggregateFragmentDoc, IntegrationMinAggregateFragmentDoc, IntegrationType, InterpretationConnectionFragmentDoc, InterpretationCountAggregateFragmentDoc, InterpretationFragmentDoc, InterpretationMaxAggregateFragmentDoc, InterpretationMinAggregateFragmentDoc, InterpretationOrderByRelevanceFieldEnum, InterpretationType, InterpretationsDocument, InvocationAvgAggregateFragmentDoc, InvocationCountAggregateFragmentDoc, InvocationFragmentDoc, InvocationMaxAggregateFragmentDoc, InvocationMinAggregateFragmentDoc, InvocationSumAggregateFragmentDoc, LimitType, ListItemsDocument, ListItems_ItemsDocument, McpAuthUpdateModelFragmentDoc, McpAuthUpdatesDocument, McpClientInformationCountAggregateFragmentDoc, McpClientInformationFragmentDoc, McpClientInformationMaxAggregateFragmentDoc, McpClientInformationMinAggregateFragmentDoc, McpCodeVerifierCountAggregateFragmentDoc, McpCodeVerifierFragmentDoc, McpCodeVerifierMaxAggregateFragmentDoc, McpCodeVerifierMinAggregateFragmentDoc, McpServerCountAggregateFragmentDoc, McpServerFragmentDoc, McpServerMaxAggregateFragmentDoc, McpServerMinAggregateFragmentDoc, McpTokensCountAggregateFragmentDoc, McpTokensFragmentDoc, McpTokensMaxAggregateFragmentDoc, McpTokensMinAggregateFragmentDoc, McpToolCountAggregateFragmentDoc, McpToolFragmentDoc, McpToolMaxAggregateFragmentDoc, McpToolMinAggregateFragmentDoc, MessageEndEventOutputFragmentDoc, MessageStartEventOutputFragmentDoc, MinTierBySourceDocument, ModelTokenUsageFragmentDoc, NotUsedDataSourceTypesDocument, NotificationCategory, NotificationConnectionFragmentDoc, NotificationCountAggregateFragmentDoc, NotificationDocument, NotificationFragmentDoc, NotificationMaxAggregateFragmentDoc, NotificationMinAggregateFragmentDoc, NotificationOrderByRelevanceFieldEnum, NotificationPriority, NotificationStatus, NotificationUpdatesDocument, NotificationsByReferenceDocument, NotificationsDocument, NullsOrder, OAuthCredentialCountAggregateFragmentDoc, OAuthCredentialFragmentDoc, OAuthCredentialMaxAggregateFragmentDoc, OAuthCredentialMinAggregateFragmentDoc, OAuthResultFragmentDoc, OauthResultDocument, OpenToPublicDocument, OpenToWorkspaceDocument, PageInfoFragmentDoc, PaginatedDriveItemsFragmentDoc, Presentation, PrivacyStatsDocument, PrivacyStatsFragmentDoc, QueryDocument, QueryMode, QueryWithInsightIdDocument, QueryWithMessageIdDocument, ReasoningEventOutputFragmentDoc, RefreshSchemaDocument, ReinterpretSourceDocument, ReinterpretSourcesOfuserDocument, RelationCountAggregateFragmentDoc, RelationDocument, RelationFragmentDoc, RelationMaxAggregateFragmentDoc, RelationMinAggregateFragmentDoc, RelationType, Relation_FromTableDocument, Relation_FromTable_DataSourceDocument, Relation_FromTable_ResourceDocument, Relation_ToTableDocument, Relation_ToTable_DataSourceDocument, Relation_ToTable_ResourceDocument, RelocateInsightDocument, RemoveInsightFromReportDocument, RemoveTeamMemberDocument, RepopulareVectorStoreDocument, ReportConnectionFragmentDoc, ReportCountAggregateFragmentDoc, ReportDocument, ReportFragmentDoc, ReportMaxAggregateFragmentDoc, ReportMemberAvgAggregateFragmentDoc, ReportMemberCountAggregateFragmentDoc, ReportMemberFragmentDoc, ReportMemberMaxAggregateFragmentDoc, ReportMemberMinAggregateFragmentDoc, ReportMemberSize, ReportMemberSumAggregateFragmentDoc, ReportMinAggregateFragmentDoc, ReportOrderByRelevanceFieldEnum, Report_InsightsDocument, Report_LayoutDocument, Report_Layout_InsightDocument, Report_ResourceDocument, Report_Resource_ChatDocument, Report_Resource_DataSourceDocument, Report_Resource_FolderDocument, Report_Resource_InsightDocument, Report_Resource_PublicDocument, Report_Resource_TableDocument, ReportsDocument, ResetWorkspaceDocument, ResourceConnectionFragmentDoc, ResourceCountAggregateFragmentDoc, ResourceDocument, ResourceFragmentDoc, ResourceMaxAggregateFragmentDoc, ResourceMinAggregateFragmentDoc, ResourceOrderByRelevanceFieldEnum, ResourcePrivilege, ResourcePublicCountAggregateFragmentDoc, ResourcePublicFragmentDoc, ResourcePublicMaxAggregateFragmentDoc, ResourcePublicMinAggregateFragmentDoc, ResourceSharingConnectionFragmentDoc, ResourceSharingCountAggregateFragmentDoc, ResourceSharingFragmentDoc, ResourceSharingMaxAggregateFragmentDoc, ResourceSharingMinAggregateFragmentDoc, ResourceSharingOrderByRelevanceFieldEnum, ResourceType, Resource_AgentsDocument, Resource_AttachedChatMessagesDocument, Resource_ChatDocument, Resource_Chat_AgentDocument, Resource_Chat_InsightDocument, Resource_DataSourceDocument, Resource_DataSource_ContentsDocument, Resource_DataSource_IntegratedSourceDocument, Resource_DataSource_TypeDetailsDocument, Resource_FolderDocument, Resource_InsightDocument, Resource_Insight_ChatDocument, Resource_Insight_ReportMembersDocument, Resource_PublicDocument, Resource_ReportDocument, Resource_Report_LayoutDocument, Resource_SharedWithDocument, Resource_TableDocument, Resource_Table_DataSourceDocument, Resource_Table_FromRelationsDocument, Resource_Table_ToRelationsDocument, ResourcesDocument, ScheduleWorkspaceDeletionDocument, SearchDocument, SendMessageModel, SendMessageStreamDocument, SetPrimaryKeyDocument, ShareResourceDocument, SharingDocument, Sharing_ResourceDocument, Sharing_Resource_ChatDocument, Sharing_Resource_DataSourceDocument, Sharing_Resource_FolderDocument, Sharing_Resource_InsightDocument, Sharing_Resource_PublicDocument, Sharing_Resource_ReportDocument, Sharing_Resource_TableDocument, Sharing_TeamDocument, SharingsDocument, SortOrder, SyncCubeFilesFromDbDocument, SyncEventAvgAggregateFragmentDoc, SyncEventCountAggregateFragmentDoc, SyncEventFragmentDoc, SyncEventMaxAggregateFragmentDoc, SyncEventMinAggregateFragmentDoc, SyncEventSumAggregateFragmentDoc, TableConnectionFragmentDoc, TableCountAggregateFragmentDoc, TableDocument, TableFragmentDoc, TableMaxAggregateFragmentDoc, TableMinAggregateFragmentDoc, TableOrderByRelevanceFieldEnum, TableStatus, Table_DataSourceDocument, Table_DataSource_ContentsDocument, Table_DataSource_IntegratedSourceDocument, Table_DataSource_ResourceDocument, Table_DataSource_TypeDetailsDocument, Table_FromRelationsDocument, Table_ResourceDocument, Table_Resource_ChatDocument, Table_Resource_DataSourceDocument, Table_Resource_FolderDocument, Table_Resource_InsightDocument, Table_Resource_PublicDocument, Table_Resource_ReportDocument, Table_ToRelationsDocument, TablesDocument, TeamConnectionFragmentDoc, TeamCountAggregateFragmentDoc, TeamDocument, TeamFragmentDoc, TeamMaxAggregateFragmentDoc, TeamMinAggregateFragmentDoc, TeamOrderByRelevanceFieldEnum, TeamsDocument, TextBlockEventOutputFragmentDoc, TextDeltaEventOutputFragmentDoc, TokenUsageAvgAggregateFragmentDoc, TokenUsageCountAggregateFragmentDoc, TokenUsageFragmentDoc, TokenUsageLimit, TokenUsageMaxAggregateFragmentDoc, TokenUsageMinAggregateFragmentDoc, TokenUsageSumAggregateFragmentDoc, TokenUsageUpdatesDocument, ToolInputDeltaEventOutputFragmentDoc, ToolResultEventOutputFragmentDoc, ToolStartEventOutputFragmentDoc, UnshareResourceDocument, UpdateAgentDocument, UpdateChatDocument, UpdateDataSourceDocument, UpdateFolderDocument, UpdateInsightDocument, UpdateInsightInReportDocument, UpdateInterpDocument, UpdateRelationDocument, UpdateReportDocument, UpdateResourceDocument, UpdateResourceSharingDocument, UpdateTableDocument, UpdateTeamDocument, UsageHistoryGranularity, UsageMetaOutputFragmentDoc, UsageStatusFragmentDoc, UsageWindowsDocument, UsageWindowsStatusTypeFragmentDoc, UsageWindowsUpdatesDocument, UsageWindows_DayDocument, UsageWindows_FiveHourDocument, UsageWindows_WeekDocument, WindowDetailTypeFragmentDoc, WorkspaceDeleteScheduleCountAggregateFragmentDoc, WorkspaceDeleteScheduleFragmentDoc, WorkspaceDeleteScheduleMaxAggregateFragmentDoc, WorkspaceDeleteScheduleMinAggregateFragmentDoc, WorkspaceDeletionScheduleDocument } from './chunk-7JUBGIQ2.js';
|
|
2
|
-
import './chunk-5WRI5ZAA.js';
|
|
3
|
-
//# sourceMappingURL=_generated_documents-DF34ZUJ3.js.map
|
|
4
|
-
//# sourceMappingURL=_generated_documents-DF34ZUJ3.js.map
|