@powerhousedao/reactor-browser 6.2.2-dev.2 → 6.2.2-dev.20

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.
Files changed (34) hide show
  1. package/README.md +178 -0
  2. package/dist/client-DAJGpNZH.d.ts +14 -0
  3. package/dist/client-DAJGpNZH.d.ts.map +1 -0
  4. package/dist/{client-u13cr-Vg.js → client-DKuvLO3_.js} +30 -3
  5. package/dist/client-DKuvLO3_.js.map +1 -0
  6. package/dist/index-B3keszpu.d.ts +144 -0
  7. package/dist/index-B3keszpu.d.ts.map +1 -0
  8. package/dist/index-Cj_YGHcz.d.ts +692 -0
  9. package/dist/index-Cj_YGHcz.d.ts.map +1 -0
  10. package/dist/index.d.ts +100 -382
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +105 -7
  13. package/dist/index.js.map +1 -1
  14. package/dist/{inspector-proxy-CvQDDxmT.d.ts → inspector-proxy-Doocf0nD.d.ts} +1 -1
  15. package/dist/{inspector-proxy-CvQDDxmT.d.ts.map → inspector-proxy-Doocf0nD.d.ts.map} +1 -1
  16. package/dist/{index-DS4W07Y8.d.ts → pglite-CntadC_p-BgIvrYtV.d.ts} +2 -142
  17. package/dist/pglite-CntadC_p-BgIvrYtV.d.ts.map +1 -0
  18. package/dist/{renown-D-1c_Bvx.js → renown-DBvu1oq7.js} +424 -27
  19. package/dist/renown-DBvu1oq7.js.map +1 -0
  20. package/dist/src/graphql/client.d.ts +2 -1
  21. package/dist/src/relational/index.d.ts +1 -1
  22. package/dist/src/renown/index.d.ts +2 -2
  23. package/dist/src/renown/index.js +2 -2
  24. package/dist/src/rpc/index.d.ts +2 -2
  25. package/dist/src/rpc/index.js +1 -1
  26. package/dist/{client-09xv0Dq6.d.ts → types-CVZRGBXo.d.ts} +2 -11
  27. package/dist/types-CVZRGBXo.d.ts.map +1 -0
  28. package/package.json +9 -9
  29. package/dist/client-09xv0Dq6.d.ts.map +0 -1
  30. package/dist/client-u13cr-Vg.js.map +0 -1
  31. package/dist/index-D3bV5rcl.d.ts +0 -216
  32. package/dist/index-D3bV5rcl.d.ts.map +0 -1
  33. package/dist/index-DS4W07Y8.d.ts.map +0 -1
  34. package/dist/renown-D-1c_Bvx.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,25 +1,26 @@
1
1
  import { a as getAnalyticsStore, i as createAnalyticsStore, n as IPowerhouseAnalytics, r as CreateStoreOptions } from "./types-CPV0Cnsy.js";
2
+ import { $ as PHGlobalEventHandlerAdders, $t as RenownAuth, A as CopyIcon, At as PHAppConfig, B as RenownAuthButton, Bt as PHGlobalConfig, C as RENOWN_CHAIN_ID, Ct as FailedInstallation, D as initConnectCrypto, Dt as PHModal, E as VERIFIABLE_CREDENTIAL_EIP712_TYPE, Et as PendingInstallation, F as RenownUserButton, Ft as PHDocumentEditorConfig, G as useLoginStatus, Gt as PHGlobalConfigSettersForKey, H as addRenownEventHandler, Ht as PHGlobalConfigHooksForKey, I as RenownUserButtonMenuItem, It as PHDocumentEditorConfigHooks, J as AddPHGlobalEventHandler, Jt as PHRenownGlobalConfig, K as useRenown, Kt as PHProcessorsGlobalConfig, L as RenownUserButtonProps, Lt as PHDocumentEditorConfigKey, M as RenownLogo, Mt as PHAppConfigKey, N as SpinnerIcon, Nt as PHAppConfigSetters, O as initRenownCrypto, Ot as FullPHGlobalConfig, P as UserIcon, Pt as PHCommonGlobalConfig, Q as PHGlobal, Qt as openRenown, R as RenownLoginButton, Rt as PHDocumentEditorConfigSetters, S as ISSUER_TYPE, St as DiscoveryEventListener, T as RENOWN_URL, Tt as IPackageDiscoveryService, U as setRenown, Ut as PHGlobalConfigKey, V as RenownAuthButtonProps, Vt as PHGlobalConfigHooks, W as useDid, Wt as PHGlobalConfigSetters, X as BrowserReactorModule, Xt as login, Y as BrowserReactorClientModule, Yt as PHSentryGlobalConfig, Z as LOADING, Zt as logout, _ as useRenownInitialUser, _t as PHToastType, a as RenownProvider, an as DocumentDispatch, at as WorkerReactorClientModule, b as CREDENTIAL_TYPES, bt as TimelineItem, c as RenownProps, cn as PromiseState, ct as addDraggingNodeEventHandler, d as RenownSessionCookieOptions, dt as IPackageListerUnsubscribe, en as RenownAuthAsync, et as PHGlobalKey, f as RenownSessionCookieState, ft as IPackageManager, g as RenownInitialUserProviderProps, gt as PHToastOptions, h as RenownInitialUserProvider, ht as PHToastFn, i as RenownWalletProviderProps, in as useRenownAuthAsync, it as UsePHGlobalValue, j as DisconnectIcon, jt as PHAppConfigHooks, k as ChevronDownIcon, kt as PHAnalyticsGlobalConfig, l as RenownInitOptions, ln as PromiseWithState, lt as useDragNode, m as useRenownSessionSynced, mt as PackageManagerInstallResult, n as useRenownLoginMethods, nn as RenownAuthStatus, nt as SetEvent, o as RenownProviderProps, on as FulfilledPromise, ot as WorkerReactorModule, p as useRenownSessionCookie, pt as IPackagesListener, q as useUser, qt as PHRelationalProcessorsGlobalConfig, r as RenownWalletProvider, rn as useRenownAuth, rt as SetPHGlobalValue, s as Renown, sn as IDocumentCache, st as DraggingNode, t as RenownLoginMethod, tn as RenownAuthResolution, tt as PHGlobalValue, u as useRenownInit, un as RejectedPromise, ut as useDropNode, v as CREDENTIAL_SCHEMA_EIP712_TYPE, vt as TimelineBarItem, w as RENOWN_NETWORK_ID, wt as FailedInstallationReason, x as DOMAIN_TYPE, xt as DiscoveryEvent, y as CREDENTIAL_SUBJECT_TYPE, yt as TimelineDividerItem, z as RenownLoginButtonProps, zt as PHDrivesGlobalConfig } from "./index-Cj_YGHcz.js";
2
3
  import { baseDocumentModels, baseDocumentModelsMap } from "./src/document-model.js";
3
- import { i as PGlite, r as PGliteWithLive } from "./index-DS4W07Y8.js";
4
- import { C as PhDocumentFieldsFragment, S as MutateDocumentMutation, T as Scalars, _ as DeleteDocumentMutation, a as GraphQLDocumentEventOperationName, b as GetDocumentOperationsQuery, c as GraphQLDocumentsEvents, d as DEFAULT_DRIVE_ID, f as DEFAULT_SWITCHBOARD_URL, g as CreateDocumentMutation, h as graphqlEventsToSyncDrive, i as GraphQLClientWindowEvents, l as ReactorGraphQLClient, m as graphqlDocumentsEvents, n as GraphQLClientDocumentEvent, o as GraphQLDocumentEvents, p as graphqlDocumentEvents, r as GraphQLClientDocumentsEvent, s as GraphQLDocumentEventsOperationName, t as createClient, u as TStateSchemaZodObject, v as DeleteDocumentsMutation, w as PropagationMode, x as GetDocumentWithOperationsQuery, y as FindDocumentsQuery } from "./client-09xv0Dq6.js";
5
- import { A as logout, C as RenownUserButtonMenuItem, D as RenownAuthButton, E as RenownLoginButtonProps, M as RenownAuth, N as RenownAuthStatus, O as RenownAuthButtonProps, P as useRenownAuth, S as RenownUserButton, T as RenownLoginButton, _ as CopyIcon, a as CREDENTIAL_SCHEMA_EIP712_TYPE, b as SpinnerIcon, c as DOMAIN_TYPE, d as RENOWN_NETWORK_ID, f as RENOWN_URL, g as ChevronDownIcon, h as initRenownCrypto, i as useRenownInit, j as openRenown, k as login, l as ISSUER_TYPE, m as initConnectCrypto, n as RenownProps, o as CREDENTIAL_SUBJECT_TYPE, p as VERIFIABLE_CREDENTIAL_EIP712_TYPE, r as RenownInitOptions, s as CREDENTIAL_TYPES, t as Renown, u as RENOWN_CHAIN_ID, v as DisconnectIcon, w as RenownUserButtonProps, x as UserIcon, y as RenownLogo } from "./index-D3bV5rcl.js";
6
- import { r as IWorkerAdminClient, t as IInspectorProxy } from "./inspector-proxy-CvQDDxmT.js";
4
+ import { t as PGlite } from "./pglite-CntadC_p-BgIvrYtV.js";
5
+ import { r as PGliteWithLive } from "./index-B3keszpu.js";
6
+ import { C as PropagationMode, S as PhDocumentFieldsFragment, _ as DeleteDocumentsMutation, a as GraphQLDocumentEvents, b as GetDocumentWithOperationsQuery, c as ReactorGraphQLClient, d as DEFAULT_SWITCHBOARD_URL, f as graphqlDocumentEvents, g as DeleteDocumentMutation, h as CreateDocumentMutation, i as GraphQLDocumentEventOperationName, l as TStateSchemaZodObject, m as graphqlEventsToSyncDrive, n as GraphQLClientDocumentsEvent, o as GraphQLDocumentEventsOperationName, p as graphqlDocumentsEvents, r as GraphQLClientWindowEvents, s as GraphQLDocumentsEvents, t as GraphQLClientDocumentEvent, u as DEFAULT_DRIVE_ID, v as FindDocumentsQuery, w as Scalars, x as MutateDocumentMutation, y as GetDocumentOperationsQuery } from "./types-CVZRGBXo.js";
7
+ import { t as createClient } from "./client-DAJGpNZH.js";
7
8
  import { QueryCallbackReturnType, RelationalDbWithLive, createProcessorQuery, useRelationalDb, useRelationalQuery, useRelationalQueryOptions } from "./src/relational/index.js";
8
9
  import * as document_model0 from "document-model";
9
10
  import { DocumentModelLib, DocumentModelModule, EditorModule, PHDocument, PHDocumentController } from "document-model";
10
- import { Action, DocumentAction, DocumentModelModule as DocumentModelModule$1, DocumentOperations, ISigner, Operation, PHBaseState, PHDocument as PHDocument$1, PHDocumentHeader, SubgraphModule, ValidationError } from "@powerhousedao/shared/document-model";
11
+ import { Action, DocumentOperations, ISigner, Operation, PHBaseState, PHDocument as PHDocument$1, PHDocumentHeader, SubgraphModule, ValidationError } from "@powerhousedao/shared/document-model";
11
12
  import * as _powerhousedao_shared_document_drive0 from "@powerhousedao/shared/document-drive";
12
13
  import { DocumentDriveAction, DocumentDriveDocument, DriveInput, FileNode, FolderNode, Node, SharingType } from "@powerhousedao/shared/document-drive";
13
14
  import * as _powerhousedao_reactor0 from "@powerhousedao/reactor";
14
- import { ChannelScheme, ConnectionState, ConnectionStateSnapshot, ConnectionStateSnapshot as ConnectionStateSnapshot$1, Database, Database as Database$1, DocumentChangeType, DocumentIntegrityService, DriveCollectionId, GqlRequestChannel, IChannel, IDocumentModelLoader, IDocumentModelLoader as IDocumentModelLoader$1, IDocumentModelRegistry, IProcessor, IProcessorHostModule, IProcessorHostModule as IProcessorHostModule$1, IQueue, IReactorClient, IReactorClient as IReactorClient$1, IRelationalDb, ISyncManager, InMemoryQueue, InProcessReactorClientModule, InProcessReactorModule, IntervalPollTimer, Job, JwtHandler, KeyframeValidationIssue, OperationWithContext, ParsedDriveUrl, PollBehavior, PollBehavior as PollBehavior$1, ProcessorApp, ProcessorFactory, ProcessorFactoryBuilder, ProcessorFilter, ProcessorRecord, REACTOR_SCHEMA, ReactorBuilder, ReactorClientBuilder, ReactorClientModule, ReactorModule, RebuildResult, RelationalDbProcessor, Remote, RemoteFilter, RemoteMeta, SignerConfig, SnapshotValidationIssue, SyncOperation, SyncOperationStatus, ValidationResult, driveIdFromUrl, isDriveAuthError, parseDriveUrl } from "@powerhousedao/reactor";
15
- import { DragEventHandler, ReactNode } from "react";
16
- import { IRenown, LoginStatus, User } from "@renown/sdk";
17
- import { IAttachmentClient, IAttachmentService, PreprocessResult } from "@powerhousedao/reactor-attachments/client";
15
+ import { ChannelScheme, ConnectionState, ConnectionStateSnapshot, ConnectionStateSnapshot as ConnectionStateSnapshot$1, Database, Database as Database$1, DocumentChangeType, DocumentIntegrityService, DriveCollectionId, GqlRequestChannel, IChannel, IDocumentModelLoader, IDocumentModelRegistry, IProcessor, IProcessorHostModule, IProcessorHostModule as IProcessorHostModule$1, IQueue, IReactorClient, IReactorClient as IReactorClient$1, IRelationalDb, ISyncManager, InMemoryQueue, IntervalPollTimer, Job, JwtHandler, KeyframeValidationIssue, OperationWithContext, ParsedDriveUrl, PollBehavior, PollBehavior as PollBehavior$1, ProcessorApp, ProcessorFactory, ProcessorFactoryBuilder, ProcessorFilter, ProcessorRecord, REACTOR_SCHEMA, ReactorBuilder, ReactorClientBuilder, RebuildResult, RelationalDbProcessor, Remote, RemoteFilter, RemoteMeta, SignerConfig, SnapshotValidationIssue, SyncOperation, SyncOperationStatus, ValidationResult, driveIdFromUrl, isDriveAuthError, parseDriveUrl } from "@powerhousedao/reactor";
16
+ import { DragEventHandler } from "react";
17
+ import { AttachmentDownloadInput, AttachmentHeader, IAttachmentClient, IAttachmentService, PreprocessResult } from "@powerhousedao/reactor-attachments/client";
18
18
  import { Kysely } from "kysely";
19
19
  import * as _powerhousedao_reactor_browser0 from "@powerhousedao/reactor-browser";
20
- import { AddPHGlobalEventHandler as AddPHGlobalEventHandler$1, BrowserReactorClientModule as BrowserReactorClientModule$1, DocumentDispatch as DocumentDispatch$1, PHAppConfig as PHAppConfig$1, PHAppConfigHooks as PHAppConfigHooks$1, PHAppConfigKey as PHAppConfigKey$1, PHAppConfigSetters as PHAppConfigSetters$1, PHDocumentEditorConfig as PHDocumentEditorConfig$1, PHDocumentEditorConfigHooks as PHDocumentEditorConfigHooks$1, PHDocumentEditorConfigKey as PHDocumentEditorConfigKey$1, PHDocumentEditorConfigSetters as PHDocumentEditorConfigSetters$1, PHGlobal as PHGlobal$1, PHGlobalConfig as PHGlobalConfig$1, PHGlobalConfigHooks as PHGlobalConfigHooks$1, PHGlobalConfigKey as PHGlobalConfigKey$1, PHGlobalConfigSetters as PHGlobalConfigSetters$1, PHGlobalKey as PHGlobalKey$1, PHModal as PHModal$1, SetPHGlobalValue as SetPHGlobalValue$1, UsePHGlobalValue as UsePHGlobalValue$1, WorkerReactorClientModule as WorkerReactorClientModule$1 } from "@powerhousedao/reactor-browser";
21
- import { DocumentModelLib as DocumentModelLib$1, Node as Node$1, RegistryPackageSource } from "@powerhousedao/shared";
22
- import { PackageInfo } from "@powerhousedao/shared/registry";
20
+ import { AddPHGlobalEventHandler as AddPHGlobalEventHandler$1, BrowserReactorClientModule as BrowserReactorClientModule$1, ConflictResolution as ConflictResolution$1, DocumentDispatch as DocumentDispatch$1, FileUploadProgressCallback as FileUploadProgressCallback$1, PHAppConfig as PHAppConfig$1, PHAppConfigHooks as PHAppConfigHooks$1, PHAppConfigKey as PHAppConfigKey$1, PHAppConfigSetters as PHAppConfigSetters$1, PHDocumentEditorConfig as PHDocumentEditorConfig$1, PHDocumentEditorConfigHooks as PHDocumentEditorConfigHooks$1, PHDocumentEditorConfigKey as PHDocumentEditorConfigKey$1, PHDocumentEditorConfigSetters as PHDocumentEditorConfigSetters$1, PHGlobal as PHGlobal$1, PHGlobalConfig as PHGlobalConfig$1, PHGlobalConfigHooks as PHGlobalConfigHooks$1, PHGlobalConfigKey as PHGlobalConfigKey$1, PHGlobalConfigSetters as PHGlobalConfigSetters$1, PHGlobalKey as PHGlobalKey$1, PHModal as PHModal$1, SetPHGlobalValue as SetPHGlobalValue$1, UsePHGlobalValue as UsePHGlobalValue$1, WorkerReactorClientModule as WorkerReactorClientModule$1 } from "@powerhousedao/reactor-browser";
21
+ import * as _powerhousedao_shared0 from "@powerhousedao/shared";
22
+ import { Node as Node$1 } from "@powerhousedao/shared";
23
+ import { PackageInfo, PackagePage } from "@powerhousedao/shared/registry";
23
24
 
24
25
  //#region src/actions/dispatch.d.ts
25
26
  /**
@@ -41,6 +42,12 @@ declare function dispatchActions(actionOrActions: Action[] | Action | undefined,
41
42
  //#endregion
42
43
  //#region src/actions/document.d.ts
43
44
  declare function exportFile(document: PHDocument$1, suggestedName?: string): Promise<void | FileSystemFileHandle>;
45
+ /**
46
+ * Loads a document file and replays it with version-aware reducers from the registry.
47
+ * Falls back to single-version legacy replay when no upgrade manifest is registered for
48
+ * the document type.
49
+ */
50
+ declare function loadFile(path: string | File): Promise<PHDocument$1<PHBaseState>>;
44
51
  declare function addDocument(driveId: string, name: string, documentType: string, parentFolder?: string, document?: PHDocument$1, id?: string, preferredEditor?: string): Promise<{
45
52
  id: string;
46
53
  name: string;
@@ -48,6 +55,13 @@ declare function addDocument(driveId: string, name: string, documentType: string
48
55
  parentFolder: string | null;
49
56
  kind: "file";
50
57
  }>;
58
+ declare function addFileWithProgress(file: string | File, driveId: string, name?: string, parentFolder?: string, onProgress?: FileUploadProgressCallback$1, documentTypes?: string[], resolveConflict?: ConflictResolution$1): Promise<{
59
+ id: string;
60
+ name: string;
61
+ documentType: string;
62
+ parentFolder: string | null;
63
+ kind: "file";
64
+ } | undefined>;
51
65
  declare function addFolder(driveId: string, name: string, parentFolder?: string): Promise<Node>;
52
66
  declare function deleteNode(driveId: string, nodeId: string): Promise<void>;
53
67
  declare function renameDriveNode(driveId: string, nodeId: string, name: string): Promise<Node | undefined>;
@@ -91,32 +105,6 @@ declare const COMMON_PACKAGE_ID = "powerhouse/common";
91
105
  /** Document types that represent a "drive": a container of nodes. */
92
106
  declare const DRIVE_DOCUMENT_TYPES: readonly ["powerhouse/document-drive", "powerhouse/reactor-drive"];
93
107
  //#endregion
94
- //#region src/types/documents.d.ts
95
- type DocumentDispatch<TAction extends Action> = (actionOrActions: TAction | TAction[] | DocumentAction | DocumentAction[] | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$1) => void) => void;
96
- type PromiseWithState<T> = Promise<T> & PromiseState<T>;
97
- type FulfilledPromise<T> = Promise<T> & {
98
- status: "fulfilled";
99
- value: T;
100
- };
101
- type RejectedPromise<T> = Promise<T> & {
102
- status: "rejected";
103
- reason: unknown;
104
- };
105
- type PromiseState<T> = {
106
- status: "pending";
107
- } | {
108
- status: "fulfilled";
109
- value: T;
110
- } | {
111
- status: "rejected";
112
- reason: unknown;
113
- };
114
- interface IDocumentCache {
115
- get(id: string, refetch?: boolean): Promise<PHDocument$1>;
116
- getBatch(ids: string[], refetch?: boolean): Promise<PHDocument$1[]>;
117
- subscribe(id: string | string[], callback: () => void): () => void;
118
- }
119
- //#endregion
120
108
  //#region src/document-cache.d.ts
121
109
  declare function addPromiseState<T>(promise: Promise<T>): PromiseWithState<T>;
122
110
  declare function readPromiseState<T>(promise: Promise<T> | PromiseWithState<T>): PromiseState<T>;
@@ -146,6 +134,27 @@ declare class DocumentCache implements IDocumentCache {
146
134
  dispose(): void;
147
135
  }
148
136
  //#endregion
137
+ //#region src/errors.d.ts
138
+ declare class UnsupportedDocumentTypeError extends Error {
139
+ constructor(documentType: string);
140
+ static isError(error: unknown): error is UnsupportedDocumentTypeError;
141
+ }
142
+ declare class DocumentNotFoundError extends Error {
143
+ constructor(documentId: string);
144
+ }
145
+ declare class DocumentModelNotFoundError extends Error {
146
+ readonly documentType: string;
147
+ readonly name = "DocumentModelNotFoundError";
148
+ constructor(documentType: string);
149
+ static isError(error: unknown): error is DocumentModelNotFoundError;
150
+ }
151
+ declare class DocumentTypeMismatchError extends Error {
152
+ constructor(documentId: string, expectedType: string, actualType: string);
153
+ }
154
+ declare class NoSelectedDocumentError extends Error {
155
+ constructor();
156
+ }
157
+ //#endregion
149
158
  //#region src/global/types.d.ts
150
159
  interface PGliteState$1 {
151
160
  db: PGliteWithLive | null;
@@ -254,6 +263,8 @@ declare const useIsDriveAnalyticsEnabled: () => boolean | undefined, setIsDriveA
254
263
  declare const useRenownUrl: () => string | undefined, setRenownUrl: (value: string | undefined) => void, addRenownUrlEventHandler: () => void;
255
264
  declare const useRenownNetworkId: () => string | undefined, setRenownNetworkId: (value: string | undefined) => void, addRenownNetworkIdEventHandler: () => void;
256
265
  declare const useRenownChainId: () => number | undefined, setRenownChainId: (value: number | undefined) => void, addRenownChainIdEventHandler: () => void;
266
+ declare const useSwitchboardUrl: () => string | undefined, setSwitchboardUrl: (value: string | undefined) => void, addSwitchboardUrlEventHandler: () => void;
267
+ declare const useRenownAdapters: () => _powerhousedao_shared0.PHConnectRenownAdapters | undefined, setRenownAdapters: (value: _powerhousedao_shared0.PHConnectRenownAdapters | undefined) => void, addRenownAdaptersEventHandler: () => void;
257
268
  declare const useSentryRelease: () => string | undefined, setSentryRelease: (value: string | undefined) => void, addSentryReleaseEventHandler: () => void;
258
269
  declare const useSentryDsn: () => string | undefined, setSentryDsn: (value: string | undefined) => void, addSentryDsnEventHandler: () => void;
259
270
  declare const useSentryEnv: () => string | undefined, setSentryEnv: (value: string | undefined) => void, addSentryEnvEventHandler: () => void;
@@ -401,335 +412,6 @@ declare function usePHDocumentEditorConfigByKey<TKey extends PHDocumentEditorCon
401
412
  //#region src/hooks/config/utils.d.ts
402
413
  declare function callGlobalSetterForKey<TKey extends PHGlobalConfigKey$1>(key: TKey, value: PHGlobalConfig$1[TKey] | undefined): void;
403
414
  //#endregion
404
- //#region src/types/config.d.ts
405
- type PHGlobalConfig = PHCommonGlobalConfig & PHAppConfig & PHDocumentEditorConfig & PHDrivesGlobalConfig & PHAnalyticsGlobalConfig & PHRelationalProcessorsGlobalConfig & PHProcessorsGlobalConfig & PHRenownGlobalConfig & PHSentryGlobalConfig;
406
- type PHGlobalConfigKey = keyof PHGlobalConfig;
407
- type PHGlobalConfigSetters = PHGlobalConfigSettersForKey<PHGlobalConfigKey>;
408
- type PHGlobalConfigHooks = PHGlobalConfigHooksForKey<PHGlobalConfigKey>;
409
- /**
410
- * Editor configuration settings which are globally available to your custom apps.
411
- *
412
- * Setting these will override the defaults when your editor is mounted.
413
- */
414
- type PHAppConfig = {
415
- /** Allows you to specify the document types that are allowed to be added to the drive.
416
- * An empty array means that any document type is allowed.
417
- */
418
- allowedDocumentTypes?: string[]; /** Whether drag and drop is enabled for the app. */
419
- isDragAndDropEnabled?: boolean;
420
- };
421
- type PHAppConfigKey = keyof PHAppConfig;
422
- type PHAppConfigSetters = PHGlobalConfigSettersForKey<PHAppConfigKey>;
423
- type PHAppConfigHooks = PHGlobalConfigHooksForKey<PHAppConfigKey>;
424
- type PHDocumentEditorConfig = {
425
- /** Whether external controls are enabled for the document editor. */isExternalControlsEnabled?: boolean;
426
- };
427
- type PHDocumentEditorConfigKey = keyof PHDocumentEditorConfig;
428
- type PHDocumentEditorConfigSetters = PHGlobalConfigSettersForKey<PHDocumentEditorConfigKey>;
429
- type PHDocumentEditorConfigHooks = PHGlobalConfigHooksForKey<PHDocumentEditorConfigKey>;
430
- type PHCommonGlobalConfig = {
431
- basePath?: string;
432
- routerBasename?: string;
433
- version?: string;
434
- requiresHardRefresh?: boolean;
435
- warnOutdatedApp?: boolean;
436
- studioMode?: boolean;
437
- versionCheckInterval?: number;
438
- cliVersion?: string;
439
- fileUploadOperationsChunkSize?: number;
440
- gaTrackingId?: string;
441
- isDocumentModelSelectionSettingsEnabled?: boolean;
442
- isAddDriveEnabled?: boolean;
443
- isPublicDrivesEnabled?: boolean;
444
- isAddPublicDrivesEnabled?: boolean;
445
- isDeletePublicDrivesEnabled?: boolean;
446
- isCloudDrivesEnabled?: boolean;
447
- isAddCloudDrivesEnabled?: boolean;
448
- isDeleteCloudDrivesEnabled?: boolean;
449
- isLocalDrivesEnabled?: boolean;
450
- isAddLocalDrivesEnabled?: boolean;
451
- isDeleteLocalDrivesEnabled?: boolean;
452
- allowList?: string[];
453
- analyticsDatabaseName?: string;
454
- logLevel?: "debug" | "info" | "warn" | "error";
455
- isEditorDebugModeEnabled?: boolean;
456
- isEditorReadModeEnabled?: boolean;
457
- disabledEditors?: string[];
458
- enabledEditors?: string[];
459
- };
460
- type PHDrivesGlobalConfig = {
461
- defaultDrivesUrl?: string;
462
- drivesPreserveStrategy?: string;
463
- };
464
- type PHAnalyticsGlobalConfig = {
465
- isAnalyticsEnabled?: boolean;
466
- isAnalyticsDatabaseWorkerEnabled?: boolean;
467
- isDiffAnalyticsEnabled?: boolean;
468
- isDriveAnalyticsEnabled?: boolean;
469
- isAnalyticsExternalProcessorsEnabled?: boolean;
470
- };
471
- type PHRelationalProcessorsGlobalConfig = {
472
- isRelationalProcessorsEnabled?: boolean;
473
- isExternalRelationalProcessorsEnabled?: boolean;
474
- };
475
- type PHProcessorsGlobalConfig = {
476
- isExternalProcessorsEnabled?: boolean;
477
- isExternalPackagesEnabled?: boolean;
478
- };
479
- type PHRenownGlobalConfig = {
480
- renownUrl?: string;
481
- renownNetworkId?: string;
482
- renownChainId?: number;
483
- };
484
- type PHSentryGlobalConfig = {
485
- sentryRelease?: string;
486
- sentryDsn?: string;
487
- sentryEnv?: string;
488
- isSentryTracingEnabled?: boolean;
489
- };
490
- type PHGlobalConfigSettersForKey<T extends PHGlobalConfigKey> = { [K in T]: (value: PHGlobalConfig[K]) => void };
491
- type PHGlobalConfigHooksForKey<TKey extends PHGlobalConfigKey> = { [K in TKey]: () => PHGlobalConfig[K] };
492
- /** Helper type for ensuring keys are all present while still allowing them to be set */
493
- type FullPHGlobalConfig = Record<PHGlobalConfigKey, PHGlobalConfig[PHGlobalConfigKey]>;
494
- //#endregion
495
- //#region src/types/modals.d.ts
496
- type PHModal = {
497
- type: "createDocument";
498
- documentType: string;
499
- } | {
500
- type: "deleteItem";
501
- id: string;
502
- } | {
503
- type: "addDrive";
504
- } | {
505
- type: "upgradeDrive";
506
- driveId: string;
507
- } | {
508
- type: "deleteDrive";
509
- driveId: string;
510
- } | {
511
- type: "driveSettings";
512
- driveId: string;
513
- } | {
514
- type: "settings";
515
- } | {
516
- type: "clearStorage";
517
- } | {
518
- type: "debugSettings";
519
- } | {
520
- type: "disclaimer";
521
- } | {
522
- type: "cookiesPolicy";
523
- } | {
524
- type: "downloadDocumentWithErrors";
525
- documentId: string;
526
- } | {
527
- type: "inspector";
528
- } | {
529
- type: "missingPackage";
530
- documentType: string;
531
- } | {
532
- type: "driveAuthRequired";
533
- };
534
- //#endregion
535
- //#region src/types/package-discovery.d.ts
536
- type PendingInstallation = {
537
- documentType: string;
538
- packageNames: string[];
539
- };
540
- type FailedInstallationReason = "no-registry" | "not-in-registry" | "registry-error" | "install-failed" | "dismissed" | "offline";
541
- type FailedInstallation = {
542
- documentType: string;
543
- reason: FailedInstallationReason;
544
- packageNames: string[];
545
- error: Error | null;
546
- };
547
- type DiscoveryEvent = {
548
- type: "type-discovered";
549
- documentType: string;
550
- packageNames: string[];
551
- } | {
552
- type: "installation-prompted";
553
- documentType: string;
554
- packageNames: string[];
555
- } | {
556
- type: "installation-approved";
557
- packageName: string;
558
- documentTypes: string[];
559
- } | {
560
- type: "installation-dismissed";
561
- packageName: string;
562
- documentTypes: string[];
563
- } | {
564
- type: "installation-failed";
565
- packageName: string;
566
- error: Error;
567
- } | {
568
- type: "registry-query-failed";
569
- documentType: string;
570
- error: Error;
571
- } | {
572
- type: "load-failed";
573
- documentType: string;
574
- reason: FailedInstallationReason;
575
- };
576
- type DiscoveryEventListener = (event: DiscoveryEvent) => void;
577
- interface IPackageDiscoveryService {
578
- load(documentType: string): Promise<DocumentModelModule$1<any>>;
579
- getPendingInstallations(): PendingInstallation[];
580
- subscribePending(listener: () => void): () => void;
581
- getFailedInstallations(): FailedInstallation[];
582
- subscribeFailed(listener: () => void): () => void;
583
- subscribeEvents(listener: DiscoveryEventListener): () => void;
584
- approveInstallation(packageName: string): Promise<void>;
585
- dismissInstallation(packageName: string): void;
586
- promptInstallation(documentType: string): void;
587
- retryInstallation(documentType: string): Promise<void>;
588
- }
589
- //#endregion
590
- //#region src/types/timeline.d.ts
591
- type TimelineBarItem = {
592
- id: string;
593
- type: "bar";
594
- addSize?: 0 | 1 | 2 | 3 | 4;
595
- delSize?: 0 | 1 | 2 | 3 | 4;
596
- timestampUtcMs?: string;
597
- additions?: number;
598
- deletions?: number;
599
- revision?: number;
600
- startDate?: Date;
601
- endDate?: Date;
602
- };
603
- type TimelineDividerItem = {
604
- id: string;
605
- type: "divider";
606
- timestampUtcMs?: string;
607
- title?: string;
608
- subtitle?: string;
609
- revision?: number;
610
- startDate?: Date;
611
- endDate?: Date;
612
- };
613
- type TimelineItem = TimelineBarItem | TimelineDividerItem;
614
- //#endregion
615
- //#region src/types/toast.d.ts
616
- type PHToastType = "default" | "success" | "error" | "warning" | "info" | "connect-success" | "connect-warning" | "connect-loading" | "connect-deleted";
617
- type PHToastOptions = {
618
- type?: PHToastType;
619
- autoClose?: number | false;
620
- containerId?: string;
621
- };
622
- type PHToastFn = (content: ReactNode | string, options?: PHToastOptions) => void;
623
- //#endregion
624
- //#region src/types/vetra.d.ts
625
- type IPackagesListener = (data: {
626
- packages: DocumentModelLib$1[];
627
- }) => void;
628
- type IPackageListerUnsubscribe = () => void;
629
- type PackageManagerInstallResult = {
630
- type: "success";
631
- package: DocumentModelLib$1;
632
- } | {
633
- type: "error";
634
- error: Error;
635
- };
636
- interface IPackageManager extends IDocumentModelLoader$1 {
637
- registryUrl: string | null;
638
- packages: DocumentModelLib$1[];
639
- addPackage(packageName: string): Promise<PackageManagerInstallResult> | PackageManagerInstallResult;
640
- addPackages(packageNames: string[]): Promise<PackageManagerInstallResult[]> | PackageManagerInstallResult[];
641
- removePackage(name: string): void;
642
- updateLocalPackage(pkg: DocumentModelLib$1, version?: string): void;
643
- subscribe(handler: IPackagesListener): IPackageListerUnsubscribe;
644
- getPackageSource: (packageName: string) => RegistryPackageSource | null;
645
- getPackageVersion: (packageName: string) => string | undefined;
646
- /**
647
- * Registry-installed packages keyed by their storage name (the registry
648
- * spec, e.g. "@powerhousedao/clint-common"). Used by callers that need to
649
- * diff against an external source of truth such as the publish-reload
650
- * channel's `/__packages` SSE feed.
651
- */
652
- getRegistryPackages: () => {
653
- name: string;
654
- version: string | undefined;
655
- }[];
656
- addLocalPackage: (name: string, loadedPackage: DocumentModelLib$1, version?: string) => void;
657
- }
658
- //#endregion
659
- //#region src/hooks/node-drag-and-drop.d.ts
660
- type DraggingNode = {
661
- srcId: string;
662
- parentId: string | null | undefined;
663
- };
664
- declare const addDraggingNodeEventHandler: () => void;
665
- declare function useDragNode(args: {
666
- srcId: string | undefined;
667
- parentId: string | null | undefined;
668
- }): {
669
- isDragging: boolean;
670
- draggable: boolean;
671
- onDragStart: DragEventHandler;
672
- onDragEnd: DragEventHandler;
673
- };
674
- declare function useDropNode(targetId: string | undefined): {
675
- isDropTarget: boolean;
676
- onDragEnter: DragEventHandler;
677
- onDragOver: DragEventHandler;
678
- onDragLeave: DragEventHandler;
679
- onDrop: DragEventHandler;
680
- };
681
- //#endregion
682
- //#region src/types/global.d.ts
683
- interface BrowserReactorModule extends InProcessReactorModule {
684
- pg: PGlite;
685
- }
686
- interface BrowserReactorClientModule extends InProcessReactorClientModule {
687
- kind: "browser";
688
- reactorModule: BrowserReactorModule | undefined;
689
- }
690
- type WorkerReactorModule = ReactorModule;
691
- interface WorkerReactorClientModule extends ReactorClientModule {
692
- kind: "worker";
693
- reactorModule: WorkerReactorModule;
694
- adminClient: IWorkerAdminClient;
695
- inspector: IInspectorProxy;
696
- }
697
- type LOADING = null;
698
- type PHGlobal = PHGlobalConfig & {
699
- loading?: boolean;
700
- reactorClientModule?: BrowserReactorClientModule | WorkerReactorClientModule;
701
- reactorClient?: IReactorClient$1;
702
- attachmentService?: IAttachmentService;
703
- reactorGraphQLClient?: ReactorGraphQLClient | undefined;
704
- renown?: IRenown | LOADING;
705
- vetraPackageManager?: IPackageManager;
706
- drives?: DocumentDriveDocument[];
707
- documentCache?: IDocumentCache;
708
- selectedDriveId?: string;
709
- selectedNodeId?: string;
710
- draggingNode?: DraggingNode;
711
- modal?: PHModal;
712
- selectedTimelineRevision?: string | number | null;
713
- revisionHistoryVisible?: boolean;
714
- selectedTimelineItem?: TimelineItem | null;
715
- packageDiscoveryService?: IPackageDiscoveryService;
716
- features?: Map<string, boolean>;
717
- toast?: PHToastFn;
718
- };
719
- type PHGlobalKey = keyof PHGlobal;
720
- type PHGlobalValue = PHGlobal[PHGlobalKey];
721
- type UsePHGlobalValue<TValue extends PHGlobalValue> = () => TValue | undefined;
722
- type SetPHGlobalValue<TValue extends PHGlobalValue> = (value: TValue | undefined) => void;
723
- type AddPHGlobalEventHandler = () => void;
724
- type PHGlobalEventHandlerAdders = Record<PHGlobalKey, AddPHGlobalEventHandler>;
725
- type SetEvent<TKey extends PHGlobalKey> = CustomEvent<{ [key in TKey]: PHGlobal[TKey] | undefined }>;
726
- declare global {
727
- interface Window {
728
- ph?: PHGlobal;
729
- }
730
- interface WindowEventMap extends GraphQLClientWindowEvents {}
731
- } //# sourceMappingURL=global.d.ts.map
732
- //#endregion
733
415
  //#region src/hooks/document-cache.d.ts
734
416
  /** Returns all documents in the reactor. */
735
417
  declare const useDocumentCache: UsePHGlobalValue<IDocumentCache>;
@@ -888,20 +570,6 @@ declare function useConnectionStates(): ReadonlyMap<string, ConnectionStateSnaps
888
570
  */
889
571
  declare function useConnectionState(remoteName: string): ConnectionStateSnapshot$1 | undefined;
890
572
  //#endregion
891
- //#region src/hooks/renown.d.ts
892
- /** Adds an event handler for the renown instance */
893
- declare const addRenownEventHandler: () => void;
894
- /** Returns the renown instance */
895
- declare const useRenown: () => IRenown | LOADING | undefined;
896
- /** Sets the renown instance */
897
- declare const setRenown: (value: IRenown | LOADING | undefined) => void;
898
- /** Returns the DID from the renown instance */
899
- declare function useDid(): string | undefined;
900
- /** Returns the current user from the renown instance, subscribing to user events */
901
- declare function useUser(): User | undefined;
902
- /** Returns the login status, subscribing to renown status events */
903
- declare function useLoginStatus(): LoginStatus | "loading" | undefined;
904
- //#endregion
905
573
  //#region src/hooks/dispatch.d.ts
906
574
  /**
907
575
  * Returns a dispatch function for dispatching actions to a document.
@@ -1287,6 +955,39 @@ declare const addAttachmentServiceEventHandler: AddPHGlobalEventHandler$1;
1287
955
  //#region src/hooks/use-attachments.d.ts
1288
956
  /** Returns an IAttachmentClient wrapping the current IAttachmentService, or undefined if none is set. */
1289
957
  declare function useAttachments(): IAttachmentClient | undefined;
958
+ type UseAttachmentPreviewInput = {
959
+ documentId: string; /** Pass null/undefined to render nothing (the hook stays idle). */
960
+ ref: AttachmentDownloadInput["ref"] | null | undefined;
961
+ /**
962
+ * How many times a failed attempt is retried before the hook settles on
963
+ * error. Retrying matters because a freshly attached ref is not
964
+ * immediately downloadable: the server's reference index authorizes
965
+ * downloads and only learns the (document, ref) pair once the operation
966
+ * has synced and been projected. Defaults to 3.
967
+ */
968
+ retries?: number; /** Fixed delay between attempts, in milliseconds. Defaults to 3000. */
969
+ retryDelayMs?: number;
970
+ };
971
+ type UseAttachmentPreviewReturn = {
972
+ /** Object URL ready for img/iframe/video src; undefined while loading or on error. */url: string | undefined;
973
+ header: AttachmentHeader | undefined;
974
+ loading: boolean;
975
+ error: Error | undefined;
976
+ };
977
+ /**
978
+ * Document-authorized inline preview of an attachment. Downloads the bytes
979
+ * through the normal authorized flow, exposes them as an object URL, and
980
+ * revokes it automatically on unmount and whenever documentId/ref change —
981
+ * editors never touch blobs or URL lifecycles. Failed attempts are retried
982
+ * (`retries` × `retryDelayMs`) so a preview requested right after attaching
983
+ * appears as soon as the server's reference index catches up.
984
+ */
985
+ declare function useAttachmentPreview({
986
+ documentId,
987
+ ref,
988
+ retries,
989
+ retryDelayMs
990
+ }: UseAttachmentPreviewInput): UseAttachmentPreviewReturn;
1290
991
  /** Upload lifecycle status. progress is coarse (0 before/during, 1 on Done) because RemoteAttachmentUpload buffers the full body before issuing a single PUT. */
1291
992
  declare enum UploadStatus {
1292
993
  None = "None",
@@ -1347,6 +1048,23 @@ declare class RegistryClient {
1347
1048
  //#region src/registry/fetchers.d.ts
1348
1049
  declare function trimTrailingSlash(url: string): string;
1349
1050
  declare function getPackages(registryUrl: string): Promise<PackageInfo[]>;
1051
+ /**
1052
+ * Fetch one page of the registry listing (trimmed items). Backed by the
1053
+ * paginated `GET /packages?limit=&offset=&search=` mode. Used by the Package
1054
+ * Manager's Available tab for infinite scroll + server-side search.
1055
+ */
1056
+ declare function getPackagePage(registryUrl: string, params: {
1057
+ limit: number;
1058
+ offset: number;
1059
+ search?: string;
1060
+ }): Promise<PackagePage>;
1061
+ /**
1062
+ * Fetch full package info for every package exposing a given document type,
1063
+ * via the legacy `?documentType=` filter (returns full PackageInfo objects,
1064
+ * not just names). Used by the MissingPackageModal to offer installs without
1065
+ * loading the entire paginated listing.
1066
+ */
1067
+ declare function getPackagesForDocumentType(registryUrl: string, documentType: string): Promise<PackageInfo[]>;
1350
1068
  declare function getPackagesByDocumentType(registryUrl: string, documentType: string): Promise<string[]>;
1351
1069
  //#endregion
1352
1070
  //#region src/remote-controller/types.d.ts
@@ -1756,5 +1474,5 @@ declare function getUserPermissions(): {
1756
1474
  //#region src/utils/validate-document.d.ts
1757
1475
  declare const validateDocument: (document: PHDocument$1) => ValidationError[];
1758
1476
  //#endregion
1759
- export { ActionTracker, AddPHGlobalEventHandler, BaseStorage, BrowserLocalStorage, BrowserReactorClientModule, BrowserReactorModule, COMMON_PACKAGE_ID, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, ConflictError, type ConflictInfo, ConflictResolution, type ConflictStrategy, type ConnectionState, type ConnectionStateSnapshot, CopyIcon, CreateStoreOptions, DEFAULT_DRIVE_EDITOR_ID, DEFAULT_DRIVE_ID, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, DRIVE_DOCUMENT_TYPES, type Database, DisconnectIcon, DiscoveryEvent, DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentDispatch, DocumentIntegrityService, DocumentTypeIcon, DraggingNode, DriveCollectionId, DriveSystemInfoState, EDITOR_FILE_DROP_OPT_OUT_ATTR, FailedInstallation, FailedInstallationReason, FileUploadProgress, FileUploadProgressCallback, FulfilledPromise, FullPHGlobalConfig, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, GraphQLClientDocumentCache, GraphQLClientDocumentEvent, GraphQLClientDocumentsEvent, GraphQLClientWindowEvents, GraphQLDocumentEventOperationName, GraphQLDocumentEvents, GraphQLDocumentEventsOperationName, GraphQLDocumentsEvents, type IChannel, IDocumentCache, type IDocumentModelLoader, IPackageDiscoveryService, IPackageListerUnsubscribe, IPackageManager, IPackagesListener, type IProcessor, type IProcessorHostModule, type IQueue, type IReactorClient, IReactorProcessorHostModule, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, IStorage, InMemoryQueue, IntervalPollTimer, type Job, type JwtHandler, type KeyframeValidationIssue, LOADING, type MergeHandler, NodeKind, type OperationWithContext, PHAnalyticsGlobalConfig, PHAppConfig, PHAppConfigHooks, PHAppConfigKey, PHAppConfigSetters, PHCommonGlobalConfig, PHDocumentEditorConfig, PHDocumentEditorConfigHooks, PHDocumentEditorConfigKey, PHDocumentEditorConfigSetters, PHDrivesGlobalConfig, PHGlobal, PHGlobalConfig, PHGlobalConfigHooks, PHGlobalConfigHooksForKey, PHGlobalConfigKey, PHGlobalConfigSetters, PHGlobalConfigSettersForKey, PHGlobalEventHandlerAdders, PHGlobalKey, PHGlobalValue, PHModal, PHProcessorsGlobalConfig, PHRelationalProcessorsGlobalConfig, PHRenownGlobalConfig, PHSentryGlobalConfig, PHToastFn, PHToastOptions, PHToastType, PackageManagerInstallResult, type ParsedDriveUrl, PendingInstallation, PollBehavior, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, PromiseState, PromiseWithState, PropagationMode, PublishEvent, type PushResult, QueryCallbackReturnType, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_NETWORK_ID, RENOWN_URL, ReactorBuilder, ReactorClientBuilder, ReactorDefaultDrivesConfig, ReactorGraphQLClient, type RebuildResult, RefreshReactorDataConfig, RegistryClient, RejectedPromise, RelationalDbProcessor, RelationalDbWithLive, type Remote, RemoteClient, type RemoteControllerGraphQLClient, type RemoteControllerOptions, RemoteDocumentController, type RemoteDocumentControllerWith, type RemoteDocumentData, type RemoteFilter, type RemoteMeta, type RemoteOperation, type RemoteOperationResultPage, Renown, RenownAuth, RenownAuthButton, RenownAuthButtonProps, RenownAuthStatus, RenownInitOptions, RenownLoginButton, RenownLoginButtonProps, RenownLogo, RenownProps, RenownUserButton, RenownUserButtonMenuItem, RenownUserButtonProps, SetEvent, SetPHGlobalValue, type SignerConfig, type SnapshotValidationIssue, SpinnerIcon, type SyncOperation, SyncOperationStatus, type SyncStatus, TStateSchemaZodObject, TimelineBarItem, TimelineDividerItem, TimelineItem, type TrackedAction, UISyncStatus, UploadStatus, UseAttachmentUploadReturn, UseDispatchResult, UseEditorFileDropOptions, UseEditorFileDropResult, UseOnDropFile, UsePHGlobalValue, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, type ValidationResult, WorkerReactorClientModule, WorkerReactorModule, addAllowListEventHandler, addAllowedDocumentTypesEventHandler, addAnalyticsDatabaseNameEventHandler, addAttachmentServiceEventHandler, addBasePathEventHandler, addCliVersionEventHandler, addDefaultDrivesUrlEventHandler, addDisabledEditorsEventHandler, addDocument, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDrive, addDrivesEventHandler, addDrivesPreserveStrategyEventHandler, addEnabledEditorsEventHandler, addFeaturesEventHandler, addFileUploadOperationsChunkSizeEventHandler, addFolder, addGaTrackingIdEventHandler, addGraphQLReactorClientEventHandler, addIsAddCloudDrivesEnabledEventHandler, addIsAddDriveEnabledEventHandler, addIsAddLocalDrivesEnabledEventHandler, addIsAddPublicDrivesEnabledEventHandler, addIsAnalyticsDatabaseWorkerEnabledEventHandler, addIsAnalyticsEnabledEventHandler, addIsAnalyticsExternalProcessorsEnabledEventHandler, addIsCloudDrivesEnabledEventHandler, addIsDeleteCloudDrivesEnabledEventHandler, addIsDeleteLocalDrivesEnabledEventHandler, addIsDeletePublicDrivesEnabledEventHandler, addIsDiffAnalyticsEnabledEventHandler, addIsDocumentModelSelectionSettingsEnabledEventHandler, addIsDragAndDropEnabledEventHandler, addIsDriveAnalyticsEnabledEventHandler, addIsEditorDebugModeEnabledEventHandler, addIsEditorReadModeEnabledEventHandler, addIsExternalControlsEnabledEventHandler, addIsExternalPackagesEnabledEventHandler, addIsExternalProcessorsEnabledEventHandler, addIsExternalRelationalProcessorsEnabledEventHandler, addIsLocalDrivesEnabledEventHandler, addIsPublicDrivesEnabledEventHandler, addIsRelationalProcessorsEnabledEventHandler, addIsSentryTracingEnabledEventHandler, addLoadingEventHandler, addLocalDrivesEnabledEventHandler, addLogLevelEventHandler, addModalEventHandler, addPHEventHandlers, addPackageDiscoveryServiceEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addRemoteDrive, addRenownChainIdEventHandler, addRenownEventHandler, addRenownNetworkIdEventHandler, addRenownUrlEventHandler, addRequiresHardRefreshEventHandler, addResetSelectedNodeEventHandler, addRevisionHistoryVisibleEventHandler, addRouterBasenameEventHandler, addSelectedDriveIdEventHandler, addSelectedNodeIdEventHandler, addSelectedTimelineItemEventHandler, addSelectedTimelineRevisionEventHandler, addSentryDsnEventHandler, addSentryEnvEventHandler, addSentryReleaseEventHandler, addSetSelectedDriveOnPopStateEventHandler, addSetSelectedNodeOnPopStateEventHandler, addStudioModeEventHandler, addToastEventHandler, addVersionCheckIntervalEventHandler, addVersionEventHandler, addVetraPackageManagerEventHandler, addWarnOutdatedAppEventHandler, baseDocumentModels, baseDocumentModelsMap, buildDocumentSubgraphQuery, buildDocumentSubgraphUrl, callEventHandlerRegisterFunctions, callGlobalSetterForKey, clearGlobal, closePHModal, commonGlobalEventHandlerFunctions, convertRemoteOperations, createAnalyticsStore, createClient, createProcessorQuery, createUrlWithPreservedParams, deleteDrive, deleteNode, deriveSystemUrl, dispatchActions, downloadDocument, driveIdFromUrl, dropAllReactorStorage, exportFile, extractDriveIdFromPath, extractDriveIdFromSlug, extractDriveSlugFromPath, extractNodeIdFromPath, extractNodeIdFromSlug, extractNodeSlugFromPath, findUuid, getAnalyticsStore, getDocumentGraphqlQuery, getDriveIdBySlug, getDrives, getGlobal, getPackages, getPackagesByDocumentType, getPathWithoutBase, getRevisionFromDate, getSlugFromDriveUrl, getSwitchboardGatewayUrlFromDriveUrl, getSyncStatus, getSyncStatusSync, getUserPermissions, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, hasPreloadBandwidth, hideRevisionHistory, identifierFromMutateDocumentOperationVariables, initConnectCrypto, initRenownCrypto, initTheme, isDocumentTypeSupported, isDriveAuthError, isExternalControlsEnabledEventFunctions, isFileNodeKind, isFolderNodeKind, loading, login, logout, makeDriveUrlComponent, makeNodeSlug, makePHEventFunctions, openRenown, parseDriveUrl, phAppConfigHooks, phAppConfigSetters, phDocumentEditorConfigHooks, phDocumentEditorConfigSetters, phDocumentFromQuery, phDocumentsFromQuery, phGlobalConfigHooks, phGlobalConfigSetters, preloadEditorModule, reactorGraphqlBatchFetchDocuments, reactorGraphqlCreateDocument, reactorGraphqlDeleteDocument, reactorGraphqlDeleteDocuments, reactorGraphqlFetchDocument, reactorGraphqlMutateDocument, readPromiseState, refreshReactorData, refreshReactorDataClient, renameDrive, renameDriveNode, resolveUrlPathname, setAllowList, setAllowedDocumentTypes, setAnalyticsDatabaseName, setAttachmentService, setBasePath, setCliVersion, setDefaultDrivesUrl, setDefaultPHGlobalConfig, setDisabledEditors, setDocumentCache, setDriveAvailableOffline, setDriveMetadata, setDriveSharingType, setDrives, setDrivesPreserveStrategy, setEnabledEditors, setFeatures, setFileUploadOperationsChunkSize, setGaTrackingId, setGlobal, setGraphQLReactorClient, setIsAddCloudDrivesEnabled, setIsAddDriveEnabled, setIsAddLocalDrivesEnabled, setIsAddPublicDrivesEnabled, setIsAnalyticsDatabaseWorkerEnabled, setIsAnalyticsEnabled, setIsAnalyticsExternalProcessorsEnabled, setIsCloudDrivesEnabled, setIsDeleteCloudDrivesEnabled, setIsDeleteLocalDrivesEnabled, setIsDeletePublicDrivesEnabled, setIsDiffAnalyticsEnabled, setIsDocumentModelSelectionSettingsEnabled, setIsDragAndDropEnabled, setIsDriveAnalyticsEnabled, setIsEditorDebugModeEnabled, setIsEditorReadModeEnabled, setIsExternalControlsEnabled, setIsExternalPackagesEnabled, setIsExternalProcessorsEnabled, setIsExternalRelationalProcessorsEnabled, setIsLocalDrivesEnabled, setIsPublicDrivesEnabled, setIsRelationalProcessorsEnabled, setIsSentryTracingEnabled, setLoading, setLocalDrivesEnabled, setLogLevel, setPGliteDB, setPHAppConfig, setPHAppConfigByKey, setPHDocumentEditorConfig, setPHDocumentEditorConfigByKey, setPHGlobalConfig, setPHGlobalConfigByKey, setPHModal, setPHToast, setPackageDiscoveryService, setReactorClient, setReactorClientModule, setRenown, setRenownChainId, setRenownNetworkId, setRenownUrl, setRequiresHardRefresh, setRevisionHistoryVisible, setRouterBasename, setSelectedDrive, setSelectedDriveId, setSelectedNode, setSelectedTimelineItem, setSelectedTimelineRevision, setSentryDsn, setSentryEnv, setSentryRelease, setStudioMode, setVersion, setVersionCheckInterval, setVetraPackageManager, setWarnOutdatedApp, showCreateDocumentModal, showDeleteNodeModal, showPHModal, showRevisionHistory, sortNodesByName, trimTrailingSlash, truncateAllTables, useAllowList, useAllowedDocumentModelModules, useAllowedDocumentTypes, useAnalyticsDatabaseName, useAppModuleById, useAppModules, useAttachmentService, useAttachmentUpload, useAttachments, useBasePath, useCliVersion, useConnectionState, useConnectionStates, useDatabase, useDefaultAppModule, useDefaultDrivesUrl, useDid, useDisabledEditors, useDispatch, useDocument, useDocumentById, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOfType, useDocumentOperations, useDocumentSafe, useDocumentTypes, useDocumentTypesInSelectedDrive, useDocuments, useDocumentsByIds, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useDownloadDocument, useDragNode, useDriveById, useDriveSystemInfo, useDrives, useDrivesPreserveStrategy, useDropFile, useDropNode, useEditorFileDrop, useEditorModuleById, useEditorModules, useEditorModulesForDocumentType, useEditorPreloader, useEnabledEditors, useFallbackEditorModule, useFeatures, useFileNodesInSelectedDrive, useFileNodesInSelectedFolder, useFileUploadOperationsChunkSize, useFolderById, useFolderNodesInSelectedDrive, useFolderNodesInSelectedFolder, useGaTrackingId, useGetDocument, useGetDocumentAsync, useGetDocuments, useGetSwitchboardLink, useGraphQLReactorClient, useInitReactorGraphqlClient, useIsAddCloudDrivesEnabled, useIsAddDriveEnabled, useIsAddLocalDrivesEnabled, useIsAddPublicDrivesEnabled, useIsAnalyticsDatabaseWorkerEnabled, useIsAnalyticsEnabled, useIsAnalyticsExternalProcessorsEnabled, useIsCloudDrivesEnabled, useIsDeleteCloudDrivesEnabled, useIsDeleteLocalDrivesEnabled, useIsDeletePublicDrivesEnabled, useIsDiffAnalyticsEnabled, useIsDocumentModelSelectionSettingsEnabled, useIsDragAndDropEnabled, useIsDriveAnalyticsEnabled, useIsEditorDebugModeEnabled, useIsEditorReadModeEnabled, useIsExternalControlsEnabled, useIsExternalPackagesEnabled, useIsExternalProcessorsEnabled, useIsExternalRelationalProcessorsEnabled, useIsLocalDrivesEnabled, useIsPublicDrivesEnabled, useIsRelationalProcessorsEnabled, useIsSentryTracingEnabled, useLoading, useLocalDrivesEnabled, useLogLevel, useLoginStatus, useModelRegistry, useNodeActions, useNodeById, useNodeParentFolderById, useNodePathById, useNodesInSelectedDrive, useNodesInSelectedDriveOrFolder, useNodesInSelectedFolder, useOnDropFile, usePGlite, usePHAppConfigByKey, usePHDocumentEditorConfigByKey, usePHGlobalConfigByKey, usePHModal, usePHToast, usePackageDiscoveryService, useParentFolderForSelectedNode, useReactorClient, useReactorClientModule, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAuth, useRenownChainId, useRenownInit, useRenownNetworkId, useRenownUrl, useRequiresHardRefresh, useResetPHGlobalConfig, useRevisionHistoryVisible, useRouterBasename, useSelectedDocument, useSelectedDocumentId, useSelectedDocumentOfType, useSelectedDocumentSafe, useSelectedDrive, useSelectedDriveId, useSelectedDriveSafe, useSelectedFolder, useSelectedNode, useSelectedNodePath, useSelectedTimelineItem, useSelectedTimelineRevision, useSentryDsn, useSentryEnv, useSentryRelease, useSetDefaultPHGlobalConfig, useSetPHAppConfig, useSetPHDocumentEditorConfig, useSetPHGlobalConfig, useStudioMode, useSubgraphModules, useSupportedDocumentTypesInReactor, useSync, useSyncList, useTheme, useUser, useUserPermissions, useVersion, useVersionCheckInterval, useVetraPackageManager, useVetraPackages, useWarnOutdatedApp, validateDocument, waitForDocumentReady };
1477
+ export { ActionTracker, AddPHGlobalEventHandler, BaseStorage, BrowserLocalStorage, BrowserReactorClientModule, BrowserReactorModule, COMMON_PACKAGE_ID, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, ConflictError, type ConflictInfo, ConflictResolution, type ConflictStrategy, type ConnectionState, type ConnectionStateSnapshot, CopyIcon, CreateStoreOptions, DEFAULT_DRIVE_EDITOR_ID, DEFAULT_DRIVE_ID, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, DRIVE_DOCUMENT_TYPES, type Database, DisconnectIcon, DiscoveryEvent, DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentDispatch, DocumentIntegrityService, DocumentModelNotFoundError, DocumentNotFoundError, DocumentTypeIcon, DocumentTypeMismatchError, DraggingNode, DriveCollectionId, DriveSystemInfoState, EDITOR_FILE_DROP_OPT_OUT_ATTR, FailedInstallation, FailedInstallationReason, FileUploadProgress, FileUploadProgressCallback, FulfilledPromise, FullPHGlobalConfig, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, GraphQLClientDocumentCache, GraphQLClientDocumentEvent, GraphQLClientDocumentsEvent, GraphQLClientWindowEvents, GraphQLDocumentEventOperationName, GraphQLDocumentEvents, GraphQLDocumentEventsOperationName, GraphQLDocumentsEvents, type IChannel, IDocumentCache, type IDocumentModelLoader, IPackageDiscoveryService, IPackageListerUnsubscribe, IPackageManager, IPackagesListener, type IProcessor, type IProcessorHostModule, type IQueue, type IReactorClient, IReactorProcessorHostModule, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, IStorage, InMemoryQueue, IntervalPollTimer, type Job, type JwtHandler, type KeyframeValidationIssue, LOADING, type MergeHandler, NoSelectedDocumentError, NodeKind, type OperationWithContext, PHAnalyticsGlobalConfig, PHAppConfig, PHAppConfigHooks, PHAppConfigKey, PHAppConfigSetters, PHCommonGlobalConfig, PHDocumentEditorConfig, PHDocumentEditorConfigHooks, PHDocumentEditorConfigKey, PHDocumentEditorConfigSetters, PHDrivesGlobalConfig, PHGlobal, PHGlobalConfig, PHGlobalConfigHooks, PHGlobalConfigHooksForKey, PHGlobalConfigKey, PHGlobalConfigSetters, PHGlobalConfigSettersForKey, PHGlobalEventHandlerAdders, PHGlobalKey, PHGlobalValue, PHModal, PHProcessorsGlobalConfig, PHRelationalProcessorsGlobalConfig, PHRenownGlobalConfig, PHSentryGlobalConfig, PHToastFn, PHToastOptions, PHToastType, PackageManagerInstallResult, type ParsedDriveUrl, PendingInstallation, PollBehavior, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, PromiseState, PromiseWithState, PropagationMode, PublishEvent, type PushResult, QueryCallbackReturnType, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_NETWORK_ID, RENOWN_URL, ReactorBuilder, ReactorClientBuilder, ReactorDefaultDrivesConfig, ReactorGraphQLClient, type RebuildResult, RefreshReactorDataConfig, RegistryClient, RejectedPromise, RelationalDbProcessor, RelationalDbWithLive, type Remote, RemoteClient, type RemoteControllerGraphQLClient, type RemoteControllerOptions, RemoteDocumentController, type RemoteDocumentControllerWith, type RemoteDocumentData, type RemoteFilter, type RemoteMeta, type RemoteOperation, type RemoteOperationResultPage, Renown, RenownAuth, RenownAuthAsync, RenownAuthButton, RenownAuthButtonProps, RenownAuthResolution, RenownAuthStatus, RenownInitOptions, RenownInitialUserProvider, RenownInitialUserProviderProps, RenownLoginButton, RenownLoginButtonProps, RenownLoginMethod, RenownLogo, RenownProps, RenownProvider, RenownProviderProps, RenownSessionCookieOptions, RenownSessionCookieState, RenownUserButton, RenownUserButtonMenuItem, RenownUserButtonProps, RenownWalletProvider, RenownWalletProviderProps, SetEvent, SetPHGlobalValue, type SignerConfig, type SnapshotValidationIssue, SpinnerIcon, type SyncOperation, SyncOperationStatus, type SyncStatus, TStateSchemaZodObject, TimelineBarItem, TimelineDividerItem, TimelineItem, type TrackedAction, UISyncStatus, UnsupportedDocumentTypeError, UploadStatus, UseAttachmentPreviewInput, UseAttachmentPreviewReturn, UseAttachmentUploadReturn, UseDispatchResult, UseEditorFileDropOptions, UseEditorFileDropResult, UseOnDropFile, UsePHGlobalValue, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, type ValidationResult, WorkerReactorClientModule, WorkerReactorModule, addAllowListEventHandler, addAllowedDocumentTypesEventHandler, addAnalyticsDatabaseNameEventHandler, addAttachmentServiceEventHandler, addBasePathEventHandler, addCliVersionEventHandler, addDefaultDrivesUrlEventHandler, addDisabledEditorsEventHandler, addDocument, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDrive, addDrivesEventHandler, addDrivesPreserveStrategyEventHandler, addEnabledEditorsEventHandler, addFeaturesEventHandler, addFileUploadOperationsChunkSizeEventHandler, addFileWithProgress, addFolder, addGaTrackingIdEventHandler, addGraphQLReactorClientEventHandler, addIsAddCloudDrivesEnabledEventHandler, addIsAddDriveEnabledEventHandler, addIsAddLocalDrivesEnabledEventHandler, addIsAddPublicDrivesEnabledEventHandler, addIsAnalyticsDatabaseWorkerEnabledEventHandler, addIsAnalyticsEnabledEventHandler, addIsAnalyticsExternalProcessorsEnabledEventHandler, addIsCloudDrivesEnabledEventHandler, addIsDeleteCloudDrivesEnabledEventHandler, addIsDeleteLocalDrivesEnabledEventHandler, addIsDeletePublicDrivesEnabledEventHandler, addIsDiffAnalyticsEnabledEventHandler, addIsDocumentModelSelectionSettingsEnabledEventHandler, addIsDragAndDropEnabledEventHandler, addIsDriveAnalyticsEnabledEventHandler, addIsEditorDebugModeEnabledEventHandler, addIsEditorReadModeEnabledEventHandler, addIsExternalControlsEnabledEventHandler, addIsExternalPackagesEnabledEventHandler, addIsExternalProcessorsEnabledEventHandler, addIsExternalRelationalProcessorsEnabledEventHandler, addIsLocalDrivesEnabledEventHandler, addIsPublicDrivesEnabledEventHandler, addIsRelationalProcessorsEnabledEventHandler, addIsSentryTracingEnabledEventHandler, addLoadingEventHandler, addLocalDrivesEnabledEventHandler, addLogLevelEventHandler, addModalEventHandler, addPHEventHandlers, addPackageDiscoveryServiceEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addRemoteDrive, addRenownAdaptersEventHandler, addRenownChainIdEventHandler, addRenownEventHandler, addRenownNetworkIdEventHandler, addRenownUrlEventHandler, addRequiresHardRefreshEventHandler, addResetSelectedNodeEventHandler, addRevisionHistoryVisibleEventHandler, addRouterBasenameEventHandler, addSelectedDriveIdEventHandler, addSelectedNodeIdEventHandler, addSelectedTimelineItemEventHandler, addSelectedTimelineRevisionEventHandler, addSentryDsnEventHandler, addSentryEnvEventHandler, addSentryReleaseEventHandler, addSetSelectedDriveOnPopStateEventHandler, addSetSelectedNodeOnPopStateEventHandler, addStudioModeEventHandler, addSwitchboardUrlEventHandler, addToastEventHandler, addVersionCheckIntervalEventHandler, addVersionEventHandler, addVetraPackageManagerEventHandler, addWarnOutdatedAppEventHandler, baseDocumentModels, baseDocumentModelsMap, buildDocumentSubgraphQuery, buildDocumentSubgraphUrl, callEventHandlerRegisterFunctions, callGlobalSetterForKey, clearGlobal, closePHModal, commonGlobalEventHandlerFunctions, convertRemoteOperations, createAnalyticsStore, createClient, createProcessorQuery, createUrlWithPreservedParams, deleteDrive, deleteNode, deriveSystemUrl, dispatchActions, downloadDocument, driveIdFromUrl, dropAllReactorStorage, exportFile, extractDriveIdFromPath, extractDriveIdFromSlug, extractDriveSlugFromPath, extractNodeIdFromPath, extractNodeIdFromSlug, extractNodeSlugFromPath, findUuid, getAnalyticsStore, getDocumentGraphqlQuery, getDriveIdBySlug, getDrives, getGlobal, getPackagePage, getPackages, getPackagesByDocumentType, getPackagesForDocumentType, getPathWithoutBase, getRevisionFromDate, getSlugFromDriveUrl, getSwitchboardGatewayUrlFromDriveUrl, getSyncStatus, getSyncStatusSync, getUserPermissions, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, hasPreloadBandwidth, hideRevisionHistory, identifierFromMutateDocumentOperationVariables, initConnectCrypto, initRenownCrypto, initTheme, isDocumentTypeSupported, isDriveAuthError, isExternalControlsEnabledEventFunctions, isFileNodeKind, isFolderNodeKind, loadFile, loading, login, logout, makeDriveUrlComponent, makeNodeSlug, makePHEventFunctions, openRenown, parseDriveUrl, phAppConfigHooks, phAppConfigSetters, phDocumentEditorConfigHooks, phDocumentEditorConfigSetters, phDocumentFromQuery, phDocumentsFromQuery, phGlobalConfigHooks, phGlobalConfigSetters, preloadEditorModule, reactorGraphqlBatchFetchDocuments, reactorGraphqlCreateDocument, reactorGraphqlDeleteDocument, reactorGraphqlDeleteDocuments, reactorGraphqlFetchDocument, reactorGraphqlMutateDocument, readPromiseState, refreshReactorData, refreshReactorDataClient, renameDrive, renameDriveNode, resolveUrlPathname, setAllowList, setAllowedDocumentTypes, setAnalyticsDatabaseName, setAttachmentService, setBasePath, setCliVersion, setDefaultDrivesUrl, setDefaultPHGlobalConfig, setDisabledEditors, setDocumentCache, setDriveAvailableOffline, setDriveMetadata, setDriveSharingType, setDrives, setDrivesPreserveStrategy, setEnabledEditors, setFeatures, setFileUploadOperationsChunkSize, setGaTrackingId, setGlobal, setGraphQLReactorClient, setIsAddCloudDrivesEnabled, setIsAddDriveEnabled, setIsAddLocalDrivesEnabled, setIsAddPublicDrivesEnabled, setIsAnalyticsDatabaseWorkerEnabled, setIsAnalyticsEnabled, setIsAnalyticsExternalProcessorsEnabled, setIsCloudDrivesEnabled, setIsDeleteCloudDrivesEnabled, setIsDeleteLocalDrivesEnabled, setIsDeletePublicDrivesEnabled, setIsDiffAnalyticsEnabled, setIsDocumentModelSelectionSettingsEnabled, setIsDragAndDropEnabled, setIsDriveAnalyticsEnabled, setIsEditorDebugModeEnabled, setIsEditorReadModeEnabled, setIsExternalControlsEnabled, setIsExternalPackagesEnabled, setIsExternalProcessorsEnabled, setIsExternalRelationalProcessorsEnabled, setIsLocalDrivesEnabled, setIsPublicDrivesEnabled, setIsRelationalProcessorsEnabled, setIsSentryTracingEnabled, setLoading, setLocalDrivesEnabled, setLogLevel, setPGliteDB, setPHAppConfig, setPHAppConfigByKey, setPHDocumentEditorConfig, setPHDocumentEditorConfigByKey, setPHGlobalConfig, setPHGlobalConfigByKey, setPHModal, setPHToast, setPackageDiscoveryService, setReactorClient, setReactorClientModule, setRenown, setRenownAdapters, setRenownChainId, setRenownNetworkId, setRenownUrl, setRequiresHardRefresh, setRevisionHistoryVisible, setRouterBasename, setSelectedDrive, setSelectedDriveId, setSelectedNode, setSelectedTimelineItem, setSelectedTimelineRevision, setSentryDsn, setSentryEnv, setSentryRelease, setStudioMode, setSwitchboardUrl, setVersion, setVersionCheckInterval, setVetraPackageManager, setWarnOutdatedApp, showCreateDocumentModal, showDeleteNodeModal, showPHModal, showRevisionHistory, sortNodesByName, trimTrailingSlash, truncateAllTables, useAllowList, useAllowedDocumentModelModules, useAllowedDocumentTypes, useAnalyticsDatabaseName, useAppModuleById, useAppModules, useAttachmentPreview, useAttachmentService, useAttachmentUpload, useAttachments, useBasePath, useCliVersion, useConnectionState, useConnectionStates, useDatabase, useDefaultAppModule, useDefaultDrivesUrl, useDid, useDisabledEditors, useDispatch, useDocument, useDocumentById, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOfType, useDocumentOperations, useDocumentSafe, useDocumentTypes, useDocumentTypesInSelectedDrive, useDocuments, useDocumentsByIds, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useDownloadDocument, useDragNode, useDriveById, useDriveSystemInfo, useDrives, useDrivesPreserveStrategy, useDropFile, useDropNode, useEditorFileDrop, useEditorModuleById, useEditorModules, useEditorModulesForDocumentType, useEditorPreloader, useEnabledEditors, useFallbackEditorModule, useFeatures, useFileNodesInSelectedDrive, useFileNodesInSelectedFolder, useFileUploadOperationsChunkSize, useFolderById, useFolderNodesInSelectedDrive, useFolderNodesInSelectedFolder, useGaTrackingId, useGetDocument, useGetDocumentAsync, useGetDocuments, useGetSwitchboardLink, useGraphQLReactorClient, useInitReactorGraphqlClient, useIsAddCloudDrivesEnabled, useIsAddDriveEnabled, useIsAddLocalDrivesEnabled, useIsAddPublicDrivesEnabled, useIsAnalyticsDatabaseWorkerEnabled, useIsAnalyticsEnabled, useIsAnalyticsExternalProcessorsEnabled, useIsCloudDrivesEnabled, useIsDeleteCloudDrivesEnabled, useIsDeleteLocalDrivesEnabled, useIsDeletePublicDrivesEnabled, useIsDiffAnalyticsEnabled, useIsDocumentModelSelectionSettingsEnabled, useIsDragAndDropEnabled, useIsDriveAnalyticsEnabled, useIsEditorDebugModeEnabled, useIsEditorReadModeEnabled, useIsExternalControlsEnabled, useIsExternalPackagesEnabled, useIsExternalProcessorsEnabled, useIsExternalRelationalProcessorsEnabled, useIsLocalDrivesEnabled, useIsPublicDrivesEnabled, useIsRelationalProcessorsEnabled, useIsSentryTracingEnabled, useLoading, useLocalDrivesEnabled, useLogLevel, useLoginStatus, useModelRegistry, useNodeActions, useNodeById, useNodeParentFolderById, useNodePathById, useNodesInSelectedDrive, useNodesInSelectedDriveOrFolder, useNodesInSelectedFolder, useOnDropFile, usePGlite, usePHAppConfigByKey, usePHDocumentEditorConfigByKey, usePHGlobalConfigByKey, usePHModal, usePHToast, usePackageDiscoveryService, useParentFolderForSelectedNode, useReactorClient, useReactorClientModule, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAdapters, useRenownAuth, useRenownAuthAsync, useRenownChainId, useRenownInit, useRenownInitialUser, useRenownLoginMethods, useRenownNetworkId, useRenownSessionCookie, useRenownSessionSynced, useRenownUrl, useRequiresHardRefresh, useResetPHGlobalConfig, useRevisionHistoryVisible, useRouterBasename, useSelectedDocument, useSelectedDocumentId, useSelectedDocumentOfType, useSelectedDocumentSafe, useSelectedDrive, useSelectedDriveId, useSelectedDriveSafe, useSelectedFolder, useSelectedNode, useSelectedNodePath, useSelectedTimelineItem, useSelectedTimelineRevision, useSentryDsn, useSentryEnv, useSentryRelease, useSetDefaultPHGlobalConfig, useSetPHAppConfig, useSetPHDocumentEditorConfig, useSetPHGlobalConfig, useStudioMode, useSubgraphModules, useSupportedDocumentTypesInReactor, useSwitchboardUrl, useSync, useSyncList, useTheme, useUser, useUserPermissions, useVersion, useVersionCheckInterval, useVetraPackageManager, useVetraPackages, useWarnOutdatedApp, validateDocument, waitForDocumentReady };
1760
1478
  //# sourceMappingURL=index.d.ts.map