@powerhousedao/reactor-browser 6.2.2-dev.27 → 6.2.2-dev.28

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 (58) hide show
  1. package/dist/attachment-service-BbtWv6CL.d.ts +965 -0
  2. package/dist/attachment-service-BbtWv6CL.d.ts.map +1 -0
  3. package/dist/{client-_Gh2Uf0E.js → client-B1Af81HB.js} +26 -4
  4. package/dist/{client-_Gh2Uf0E.js.map → client-B1Af81HB.js.map} +1 -1
  5. package/dist/{client-DAJGpNZH.d.ts → client-CPfxm_9L.d.ts} +2 -2
  6. package/dist/{client-DAJGpNZH.d.ts.map → client-CPfxm_9L.d.ts.map} +1 -1
  7. package/dist/{client-DKuvLO3_.js → client-Zz_l9QzI.js} +1 -1
  8. package/dist/{client-DKuvLO3_.js.map → client-Zz_l9QzI.js.map} +1 -1
  9. package/dist/{document-by-id-dLYFX-xz.js → document-by-id-RNQCGkYh.js} +34 -42
  10. package/dist/document-by-id-RNQCGkYh.js.map +1 -0
  11. package/dist/document-model-modules-B2_aAWc7.js +2593 -0
  12. package/dist/document-model-modules-B2_aAWc7.js.map +1 -0
  13. package/dist/global-C8gV1GYv.d.ts +391 -0
  14. package/dist/global-C8gV1GYv.d.ts.map +1 -0
  15. package/dist/index-BHQr61KK.d.ts +345 -0
  16. package/dist/index-BHQr61KK.d.ts.map +1 -0
  17. package/dist/{index-B3keszpu.d.ts → index-CxxxP14A.d.ts} +2 -2
  18. package/dist/{index-B3keszpu.d.ts.map → index-CxxxP14A.d.ts.map} +1 -1
  19. package/dist/index.d.ts +25 -319
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +16 -1557
  22. package/dist/index.js.map +1 -1
  23. package/dist/{inspector-proxy-Doocf0nD.d.ts → inspector-proxy-CL1NSQyn.d.ts} +1 -1
  24. package/dist/{inspector-proxy-Doocf0nD.d.ts.map → inspector-proxy-CL1NSQyn.d.ts.map} +1 -1
  25. package/dist/{make-ph-event-functions-BHoLPif5.js → make-ph-event-functions-DBq3iWYn.js} +1 -1
  26. package/dist/{make-ph-event-functions-BHoLPif5.js.map → make-ph-event-functions-DBq3iWYn.js.map} +1 -1
  27. package/dist/{pglite-CntadC_p-BgIvrYtV.d.ts → pglite-CntadC_p-BtEalg1H.d.ts} +1 -1
  28. package/dist/{pglite-CntadC_p-BgIvrYtV.d.ts.map → pglite-CntadC_p-BtEalg1H.d.ts.map} +1 -1
  29. package/dist/{relational-Dj06-YkI.js → relational-DJlbclWB.js} +1 -1
  30. package/dist/{relational-Dj06-YkI.js.map → relational-DJlbclWB.js.map} +1 -1
  31. package/dist/renown-BZabzj4l.js +68 -0
  32. package/dist/renown-BZabzj4l.js.map +1 -0
  33. package/dist/{renown-Bihtk0Mj.js → renown-C7a1ygsj.js} +3 -65
  34. package/dist/renown-C7a1ygsj.js.map +1 -0
  35. package/dist/src/analytics/index.d.ts +1 -1
  36. package/dist/src/analytics/index.js +2 -1
  37. package/dist/src/analytics/index.js.map +1 -1
  38. package/dist/src/graphql/client.d.ts +3 -3
  39. package/dist/src/graphql/client.js +1 -1
  40. package/dist/src/graphql-client/entry.d.ts +4 -0
  41. package/dist/src/graphql-client/entry.js +3 -0
  42. package/dist/src/relational/index.d.ts +1 -1
  43. package/dist/src/relational/index.js +1 -1
  44. package/dist/src/renown/index.d.ts +1 -1
  45. package/dist/src/renown/index.js +2 -1
  46. package/dist/src/rpc/index.d.ts +2 -2
  47. package/dist/src/rpc/index.js +1 -1
  48. package/dist/store-DAJq6vSs.js +37 -0
  49. package/dist/store-DAJq6vSs.js.map +1 -0
  50. package/dist/{types-CVZRGBXo.d.ts → types-jEQ5crx9.d.ts} +20 -4
  51. package/dist/{types-CVZRGBXo.d.ts.map → types-jEQ5crx9.d.ts.map} +1 -1
  52. package/dist/{types-CPV0Cnsy.d.ts → types-wGaiXwjh.d.ts} +1 -1
  53. package/dist/{types-CPV0Cnsy.d.ts.map → types-wGaiXwjh.d.ts.map} +1 -1
  54. package/package.json +15 -9
  55. package/dist/document-by-id-dLYFX-xz.js.map +0 -1
  56. package/dist/index-BlPURnJv.d.ts +0 -714
  57. package/dist/index-BlPURnJv.d.ts.map +0 -1
  58. package/dist/renown-Bihtk0Mj.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,23 +1,23 @@
1
- import { a as getAnalyticsStore, i as createAnalyticsStore, n as IPowerhouseAnalytics, r as CreateStoreOptions } from "./types-CPV0Cnsy.js";
2
- import { $ as BrowserReactorClientModule, $t as PHSentryGlobalConfig, A as VERIFIABLE_CREDENTIAL_EIP712_TYPE, At as PendingInstallation, B as RenownUserButtonMenuItem, Bt as PHDocumentEditorConfigHooks, C as CREDENTIAL_SUBJECT_TYPE, Ct as TimelineDividerItem, D as RENOWN_CHAIN_ID, Dt as FailedInstallation, E as ISSUER_TYPE, Et as DiscoveryEventListener, F as DisconnectIcon, Ft as PHAppConfigHooks, G as RenownAuthButtonProps, Gt as PHGlobalConfigHooks, H as RenownLoginButton, Ht as PHDocumentEditorConfigSetters, I as RenownLogo, It as PHAppConfigKey, J as useDid, Jt as PHGlobalConfigSetters, K as addRenownEventHandler, Kt as PHGlobalConfigHooksForKey, L as SpinnerIcon, Lt as PHAppConfigSetters, M as initRenownCrypto, Mt as FullPHGlobalConfig, N as ChevronDownIcon, Nt as PHAnalyticsGlobalConfig, O as RENOWN_NETWORK_ID, Ot as FailedInstallationReason, P as CopyIcon, Pt as PHAppConfig, Q as AddPHGlobalEventHandler, Qt as PHRenownGlobalConfig, R as UserIcon, Rt as PHCommonGlobalConfig, S as CREDENTIAL_SCHEMA_EIP712_TYPE, St as TimelineBarItem, T as DOMAIN_TYPE, Tt as DiscoveryEvent, U as RenownLoginButtonProps, Ut as PHDrivesGlobalConfig, V as RenownUserButtonProps, Vt as PHDocumentEditorConfigKey, W as RenownAuthButton, Wt as PHGlobalConfig, X as useRenown, Xt as PHProcessorsGlobalConfig, Y as useLoginStatus, Yt as PHGlobalConfigSettersForKey, Z as useUser, Zt as PHRelationalProcessorsGlobalConfig, _ as RenownInitialAuth, _t as IPackagesListener, a as RenownProvider, an as RenownAuthResolution, at as PHGlobalValue, b as useRenownInitialAuth, bt as PHToastOptions, c as RenownProps, cn as useRenownAuthAsync, ct as UsePHGlobalValue, d as RenownSessionCookieOptions, dn as IDocumentCache, dt as DraggingNode, en as login, et as BrowserReactorModule, f as RenownSessionCookieState, fn as PromiseState, ft as addDraggingNodeEventHandler, g as RENOWN_INITIAL_UNKNOWN, gt as IPackageManager, h as RENOWN_INITIAL_ANONYMOUS, ht as IPackageListerUnsubscribe, i as RenownWalletProviderProps, in as RenownAuthAsync, it as PHGlobalKey, j as initConnectCrypto, jt as PHModal, k as RENOWN_URL, kt as IPackageDiscoveryService, l as RenownInitOptions, ln as DocumentDispatch, lt as WorkerReactorClientModule, m as useRenownSessionSynced, mn as RejectedPromise, mt as useDropNode, n as useRenownLoginMethods, nn as openRenown, nt as PHGlobal, o as RenownProviderProps, on as RenownAuthStatus, ot as SetEvent, p as useRenownSessionCookie, pn as PromiseWithState, pt as useDragNode, q as setRenown, qt as PHGlobalConfigKey, r as RenownWalletProvider, rn as RenownAuth, rt as PHGlobalEventHandlerAdders, s as Renown, sn as useRenownAuth, st as SetPHGlobalValue, t as RenownLoginMethod, tn as logout, tt as LOADING, u as useRenownInit, un as FulfilledPromise, ut as WorkerReactorModule, v as RenownInitialUserProvider, vt as PackageManagerInstallResult, w as CREDENTIAL_TYPES, wt as TimelineItem, x as useRenownInitialUser, xt as PHToastType, y as RenownInitialUserProviderProps, yt as PHToastFn, z as RenownUserButton, zt as PHDocumentEditorConfig } from "./index-BlPURnJv.js";
1
+ import { a as getAnalyticsStore, i as createAnalyticsStore, n as IPowerhouseAnalytics, r as CreateStoreOptions } from "./types-wGaiXwjh.js";
2
+ import { $ as PHProcessorsGlobalConfig, A as FailedInstallation, B as PHAppConfigSetters, C as PHToastOptions, D as TimelineItem, E as TimelineDividerItem, F as FullPHGlobalConfig, G as PHDocumentEditorConfigSetters, H as PHDocumentEditorConfig, I as PHAnalyticsGlobalConfig, J as PHGlobalConfigHooks, K as PHDrivesGlobalConfig, L as PHAppConfig, M as IPackageDiscoveryService, N as PendingInstallation, O as DiscoveryEvent, P as PHModal, Q as PHGlobalConfigSettersForKey, R as PHAppConfigHooks, S as PHToastFn, T as TimelineBarItem, U as PHDocumentEditorConfigHooks, V as PHCommonGlobalConfig, W as PHDocumentEditorConfigKey, X as PHGlobalConfigKey, Y as PHGlobalConfigHooksForKey, Z as PHGlobalConfigSetters, _ as useDropNode, a as PHGlobal, at as FulfilledPromise, b as IPackagesListener, c as PHGlobalValue, ct as PromiseWithState, d as UsePHGlobalValue, et as PHRelationalProcessorsGlobalConfig, f as WorkerReactorClientModule, g as useDragNode, h as addDraggingNodeEventHandler, i as LOADING, it as DocumentDispatch, j as FailedInstallationReason, k as DiscoveryEventListener, l as SetEvent, lt as RejectedPromise, m as DraggingNode, n as BrowserReactorClientModule, nt as PHSentryGlobalConfig, o as PHGlobalEventHandlerAdders, ot as IDocumentCache, p as WorkerReactorModule, q as PHGlobalConfig, r as BrowserReactorModule, rt as IReactorBrowserClient, s as PHGlobalKey, st as PromiseState, t as AddPHGlobalEventHandler, tt as PHRenownGlobalConfig, u as SetPHGlobalValue, v as IPackageListerUnsubscribe, w as PHToastType, x as PackageManagerInstallResult, y as IPackageManager, z as PHAppConfigKey } from "./global-C8gV1GYv.js";
3
+ import { $ as isGraphQLReactorClient, A as useGetDocument, At as RemoteOperation, B as packageFromDocumentModels, C as useSyncList, Ct as IRemoteController, D as useDocumentCache, Dt as RemoteControllerOptions, E as useDocument, Et as RemoteControllerGraphQLClient, F as DocumentChangesSubscriptionOptions, Ft as addPromiseState, G as MutateDocumentWithOperationsVariables, H as stampAction, I as makeAuthConnectionParams, It as readPromiseState, J as GraphQLReactorProviderProps, K as ReactorOperationFieldsFragmentDoc, L as startDocumentChangesSubscription, M as useGetDocuments, Mt as SyncStatus, N as ConnectionParams, Nt as TrackedAction, O as useDocumentSafe, Ot as RemoteDocumentChangeEvent, P as DocumentChangesEventPayload, Pt as DocumentCache, Q as GraphQLReactorClientOptions, R as subscriptionsUrlFromGraphqlUrl, S as useSync, St as IRemoteClient, T as setDocumentCache, Tt as PushResult, U as MutateDocumentWithOperationsDocument, V as signStampedAction, W as MutateDocumentWithOperationsResult, X as useSwitchboardClient, Y as ensurePHEventHandlers, Z as GraphQLReactorClient, _ as useDatabase, _t as ConflictStrategy, a as setVetraPackageManager, at as describeGraphQLDocument, b as useReactorClient, bt as GetDocumentWithOperationsResult, c as useDocumentModelModuleById, ct as ambientRenownTokenProvider, d as UseDispatchResult, dt as GetDocumentQueryResult, et as viewFilterInputFromViewFilter, f as useDispatch, ft as RevisionsListSelection, g as setReactorClientModule, gt as ConflictInfo, h as setReactorClient, ht as revisionMapFromRevisionsList, i as addVetraPackageManagerEventHandler, it as TypedGraphQLDocument, j as useGetDocumentAsync, jt as RemoteOperationResultPage, k as useDocuments, kt as RemoteDocumentData, l as useDocumentModelModules, lt as makeAuthMiddleware, m as addReactorClientModuleEventHandler, mt as phDocumentFromMutation, n as setAttachmentService, nt as SubgraphSdkFactory, o as useVetraPackageManager, ot as subgraphUrlFromGraphqlUrl, p as addReactorClientEventHandler, pt as phDocumentFromGetDocument, q as GraphQLReactorProvider, r as useAttachmentService, rt as SubgraphSdkRegistry, s as useVetraPackages, st as BearerTokenProvider, t as addAttachmentServiceEventHandler, tt as GraphQLRequestOptions, u as DispatchFn, ut as GetDocumentQueryFields, v as useModelRegistry, vt as DocumentChangeListener, w as addDocumentCacheEventHandler, wt as MergeHandler, x as useReactorClientModule, xt as GetOperationsResult, y as usePGlite, yt as GetDocumentResult, z as StaticPackageManager } from "./attachment-service-BbtWv6CL.js";
3
4
  import { baseDocumentModels, baseDocumentModelsMap } from "./src/document-model.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";
5
+ import { t as PGlite } from "./pglite-CntadC_p-BtEalg1H.js";
6
+ import { r as PGliteWithLive } from "./index-CxxxP14A.js";
7
+ import { C as GetDocumentWithOperationsQuery, D as Scalars, E as PropagationMode, O as SdkFunctionWrapper, _ as DeleteDocumentMutation, a as GraphQLDocumentEvents, b as FindDocumentsQuery, c as ReactorGraphQLClient, d as DEFAULT_DRIVE_ID, f as DEFAULT_SWITCHBOARD_URL, g as CreateDocumentMutation, h as graphqlEventsToSyncDrive, i as GraphQLDocumentEventOperationName, l as RunDocumentOptions, m as graphqlDocumentsEvents, n as GraphQLClientDocumentsEvent, o as GraphQLDocumentEventsOperationName, p as graphqlDocumentEvents, r as GraphQLClientWindowEvents, s as GraphQLDocumentsEvents, t as GraphQLClientDocumentEvent, u as TStateSchemaZodObject, v as DeleteDocumentsMutation, w as MutateDocumentMutation } from "./types-jEQ5crx9.js";
8
+ import { t as createClient } from "./client-CPfxm_9L.js";
9
+ import { $ as logout, A as VERIFIABLE_CREDENTIAL_EIP712_TYPE, B as RenownUserButtonMenuItem, C as CREDENTIAL_SUBJECT_TYPE, D as RENOWN_CHAIN_ID, E as ISSUER_TYPE, F as DisconnectIcon, G as RenownAuthButtonProps, H as RenownLoginButton, I as RenownLogo, J as useDid, K as addRenownEventHandler, L as SpinnerIcon, M as initRenownCrypto, N as ChevronDownIcon, O as RENOWN_NETWORK_ID, P as CopyIcon, Q as login, R as UserIcon, S as CREDENTIAL_SCHEMA_EIP712_TYPE, T as DOMAIN_TYPE, U as RenownLoginButtonProps, V as RenownUserButtonProps, W as RenownAuthButton, X as useRenown, Y as useLoginStatus, Z as useUser, _ as RenownInitialAuth, a as RenownProvider, at as useRenownAuth, b as useRenownInitialAuth, c as RenownProps, d as RenownSessionCookieOptions, et as openRenown, f as RenownSessionCookieState, g as RENOWN_INITIAL_UNKNOWN, h as RENOWN_INITIAL_ANONYMOUS, i as RenownWalletProviderProps, it as RenownAuthStatus, j as initConnectCrypto, k as RENOWN_URL, l as RenownInitOptions, m as useRenownSessionSynced, n as useRenownLoginMethods, nt as RenownAuthAsync, o as RenownProviderProps, ot as useRenownAuthAsync, p as useRenownSessionCookie, q as setRenown, r as RenownWalletProvider, rt as RenownAuthResolution, s as Renown, t as RenownLoginMethod, tt as RenownAuth, u as useRenownInit, v as RenownInitialUserProvider, w as CREDENTIAL_TYPES, x as useRenownInitialUser, y as RenownInitialUserProviderProps, z as RenownUserButton } from "./index-BHQr61KK.js";
8
10
  import { QueryCallbackReturnType, RelationalDbWithLive, createProcessorQuery, useRelationalDb, useRelationalQuery, useRelationalQueryOptions } from "./src/relational/index.js";
9
11
  import * as document_model0 from "document-model";
10
- import { DocumentModelLib, DocumentModelModule, EditorModule, PHDocument, PHDocumentController } from "document-model";
11
- import { Action, DocumentOperations, ISigner, Operation, PHBaseState, PHDocument as PHDocument$1, PHDocumentHeader, SubgraphModule, ValidationError } from "@powerhousedao/shared/document-model";
12
+ import { EditorModule, PHDocument, PHDocumentController } from "document-model";
13
+ import { Action as Action$1, DocumentOperations, Operation as Operation$1, PHBaseState, PHDocument as PHDocument$1, PHDocumentHeader, SubgraphModule, ValidationError } from "@powerhousedao/shared/document-model";
12
14
  import * as _powerhousedao_shared_document_drive0 from "@powerhousedao/shared/document-drive";
13
15
  import { DocumentDriveAction, DocumentDriveDocument, DriveInput, FileNode, FolderNode, Node, SharingType } from "@powerhousedao/shared/document-drive";
14
- import * as _powerhousedao_reactor0 from "@powerhousedao/reactor";
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 { ChannelScheme, ConnectionState, ConnectionStateSnapshot, ConnectionStateSnapshot as ConnectionStateSnapshot$1, Database, DocumentChangeType, DocumentIntegrityService, DriveCollectionId, GqlRequestChannel, IChannel, IDocumentModelLoader, IProcessor, IProcessorHostModule, IProcessorHostModule as IProcessorHostModule$1, IQueue, IReactorClient, IReactorClient as IReactorClient$1, IRelationalDb, 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
17
  import { DragEventHandler } from "react";
17
- import { AttachmentDownloadInput, AttachmentHeader, IAttachmentClient, IAttachmentService, PreprocessResult } from "@powerhousedao/reactor-attachments/client";
18
- import { Kysely } from "kysely";
18
+ import { AttachmentDownloadInput, AttachmentHeader, IAttachmentClient, PreprocessResult } from "@powerhousedao/reactor-attachments/client";
19
19
  import * as _powerhousedao_reactor_browser0 from "@powerhousedao/reactor-browser";
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";
20
+ import { ConflictResolution as ConflictResolution$1, DocumentDispatch as DocumentDispatch$1, FileUploadProgressCallback as FileUploadProgressCallback$1, IReactorBrowserClient as IReactorBrowserClient$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 } from "@powerhousedao/reactor-browser";
21
21
  import * as _powerhousedao_shared0 from "@powerhousedao/shared";
22
22
  import { Node as Node$1 } from "@powerhousedao/shared";
23
23
  import { PackageInfo, PackagePage } from "@powerhousedao/shared/registry";
@@ -30,7 +30,7 @@ import { PackageInfo, PackagePage } from "@powerhousedao/shared/registry";
30
30
  * @param onErrors - Callback invoked with any errors that occurred during action execution.
31
31
  * @returns The updated document, or undefined if the dispatch failed.
32
32
  */
33
- declare function dispatchActions<TDocument = PHDocument$1, TAction = Action>(actionOrActions: TAction[] | TAction | undefined, document: TDocument | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$1) => void): Promise<PHDocument$1 | undefined>;
33
+ declare function dispatchActions<TDocument = PHDocument$1, TAction = Action$1>(actionOrActions: TAction[] | TAction | undefined, document: TDocument | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$1) => void): Promise<PHDocument$1 | undefined>;
34
34
  /**
35
35
  * Dispatches actions to a document.
36
36
  * @param actionOrActions - The action or actions to dispatch.
@@ -38,7 +38,7 @@ declare function dispatchActions<TDocument = PHDocument$1, TAction = Action>(act
38
38
  * @param onErrors - Callback invoked with any errors that occurred during action execution.
39
39
  * @returns The updated document, or undefined if the dispatch failed.
40
40
  */
41
- declare function dispatchActions(actionOrActions: Action[] | Action | undefined, documentId: string, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$1) => void): Promise<PHDocument$1 | undefined>;
41
+ declare function dispatchActions(actionOrActions: Action$1[] | Action$1 | undefined, documentId: string, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$1) => void): Promise<PHDocument$1 | undefined>;
42
42
  //#endregion
43
43
  //#region src/actions/document.d.ts
44
44
  declare function exportFile(document: PHDocument$1, suggestedName?: string): Promise<void | FileSystemFileHandle>;
@@ -105,35 +105,6 @@ declare const COMMON_PACKAGE_ID = "powerhouse/common";
105
105
  /** Document types that represent a "drive": a container of nodes. */
106
106
  declare const DRIVE_DOCUMENT_TYPES: readonly ["powerhouse/document-drive", "powerhouse/reactor-drive"];
107
107
  //#endregion
108
- //#region src/document-cache.d.ts
109
- declare function addPromiseState<T>(promise: Promise<T>): PromiseWithState<T>;
110
- declare function readPromiseState<T>(promise: Promise<T> | PromiseWithState<T>): PromiseState<T>;
111
- /**
112
- * Document cache implementation that uses the new ReactorClient API.
113
- *
114
- * This cache subscribes to document change events via IReactorClient.subscribe()
115
- * and automatically updates the cache when documents are created, updated, or deleted.
116
- */
117
- declare class DocumentCache implements IDocumentCache {
118
- private client;
119
- private documents;
120
- private batchPromises;
121
- private listeners;
122
- private unsubscribe;
123
- constructor(client: IReactorClient$1);
124
- private handleDocumentChange;
125
- private handleDocumentDeleted;
126
- private handleDocumentUpdated;
127
- private invalidateBatchesContaining;
128
- get(id: string, refetch?: boolean): Promise<PHDocument$1>;
129
- getBatch(ids: string[]): Promise<PHDocument$1[]>;
130
- subscribe(id: string | string[], callback: () => void): () => void;
131
- /**
132
- * Disposes of the cache and unsubscribes from document change events.
133
- */
134
- dispose(): void;
135
- }
136
- //#endregion
137
108
  //#region src/errors.d.ts
138
109
  declare class UnsupportedDocumentTypeError extends Error {
139
110
  constructor(documentType: string);
@@ -412,122 +383,6 @@ declare function usePHDocumentEditorConfigByKey<TKey extends PHDocumentEditorCon
412
383
  //#region src/hooks/config/utils.d.ts
413
384
  declare function callGlobalSetterForKey<TKey extends PHGlobalConfigKey$1>(key: TKey, value: PHGlobalConfig$1[TKey] | undefined): void;
414
385
  //#endregion
415
- //#region src/hooks/document-cache.d.ts
416
- /** Returns all documents in the reactor. */
417
- declare const useDocumentCache: UsePHGlobalValue<IDocumentCache>;
418
- /** Sets all of the documents in the reactor. */
419
- declare const setDocumentCache: SetPHGlobalValue<IDocumentCache>;
420
- /** Adds an event handler for all of the documents in the reactor. */
421
- declare const addDocumentCacheEventHandler: () => void;
422
- /**
423
- * Retrieves a document from the reactor and subscribes to changes using React Suspense.
424
- * This hook will suspend rendering while the document is loading.
425
- * @param id - The document ID to retrieve, or null/undefined to skip retrieval
426
- * @returns The document if found, or undefined if id is null/undefined
427
- */
428
- declare function useDocument(id: string | null | undefined): PHDocument$1 | undefined;
429
- /**
430
- * Retrieves a document from the reactor and subscribes to changes without
431
- * suspending or throwing. Use this when the ID might be stale (e.g., a
432
- * previously selected node that has since been deleted) and the consumer
433
- * wants to render a placeholder instead of crashing.
434
- *
435
- * Unlike {@link useGetDocumentAsync}, this hook subscribes to cache
436
- * updates, so the returned state stays in sync with reactor changes.
437
- *
438
- * @param id - The document ID to retrieve, or null/undefined to skip retrieval
439
- * @returns An object containing:
440
- * - status: "initial" | "pending" | "success" | "error"
441
- * - data: The document if successfully loaded
442
- * - isPending: Whether the document is currently loading
443
- * - error: Any error that occurred during loading (e.g., document not found)
444
- * - reload: Function to force a refetch, or undefined when no id is supplied
445
- */
446
- declare function useDocumentSafe(id: string | null | undefined): {
447
- readonly status: "initial";
448
- readonly isPending: false;
449
- readonly error: undefined;
450
- readonly data: undefined;
451
- readonly reload: undefined;
452
- } | {
453
- readonly reload: () => Promise<PHDocument$1>;
454
- readonly status: "pending";
455
- readonly isPending: true;
456
- readonly error: undefined;
457
- readonly data: undefined;
458
- } | {
459
- readonly reload: () => Promise<PHDocument$1>;
460
- readonly status: "success";
461
- readonly isPending: false;
462
- readonly error: undefined;
463
- readonly data: PHDocument$1;
464
- } | {
465
- readonly reload: () => Promise<PHDocument$1>;
466
- readonly status: "error";
467
- readonly isPending: false;
468
- readonly error: unknown;
469
- readonly data: undefined;
470
- };
471
- /**
472
- * Retrieves multiple documents from the reactor using React Suspense.
473
- * This hook will suspend rendering while any of the documents are loading.
474
- *
475
- * Uses getBatch from the document cache which handles promise caching internally,
476
- * ensuring stable references for useSyncExternalStore.
477
- *
478
- * @param ids - Array of document IDs to retrieve, or null/undefined to skip retrieval
479
- * @returns An array of documents if found, or empty array if ids is null/undefined
480
- */
481
- declare function useDocuments(ids: string[] | null | undefined): PHDocument$1[];
482
- /**
483
- * Returns a function to retrieve a document from the cache.
484
- * The returned function fetches and returns a document by ID.
485
- * @returns A function that takes a document ID and returns a Promise of the document
486
- */
487
- declare function useGetDocument(): (id: string) => Promise<PHDocument$1>;
488
- /**
489
- * Returns a function to retrieve multiple documents from the cache.
490
- * The returned function fetches and returns documents by their IDs.
491
- * @returns A function that takes an array of document IDs and returns a Promise of the documents
492
- */
493
- declare function useGetDocuments(): (ids: string[]) => Promise<PHDocument$1[]>;
494
- /**
495
- * Retrieves a document from the reactor without suspending rendering.
496
- * Returns the current state of the document loading operation.
497
- * @param id - The document ID to retrieve, or null/undefined to skip retrieval
498
- * @returns An object containing:
499
- * - status: "initial" | "pending" | "success" | "error"
500
- * - data: The document if successfully loaded
501
- * - isPending: Boolean indicating if the document is currently loading
502
- * - error: Any error that occurred during loading
503
- * - reload: Function to force reload the document from cache
504
- */
505
- declare function useGetDocumentAsync(id: string | null | undefined): {
506
- readonly status: "initial";
507
- readonly data: undefined;
508
- readonly isPending: false;
509
- readonly error: undefined;
510
- readonly reload: undefined;
511
- } | {
512
- readonly reload: () => Promise<PHDocument$1>;
513
- readonly status: "pending";
514
- readonly isPending: true;
515
- readonly error: undefined;
516
- readonly data: undefined;
517
- } | {
518
- readonly reload: () => Promise<PHDocument$1>;
519
- readonly status: "success";
520
- readonly isPending: false;
521
- readonly error: undefined;
522
- readonly data: PHDocument$1;
523
- } | {
524
- readonly reload: () => Promise<PHDocument$1>;
525
- readonly status: "error";
526
- readonly isPending: false;
527
- readonly error: unknown;
528
- readonly data: undefined;
529
- };
530
- //#endregion
531
386
  //#region src/hooks/drives.d.ts
532
387
  /** Returns all of the drives in the reactor */
533
388
  declare const useDrives: UsePHGlobalValue<DocumentDriveDocument[]>;
@@ -540,25 +395,6 @@ declare const addDrivesEventHandler: () => void;
540
395
  declare const useLoading: () => boolean | undefined, setLoading: (value: boolean | undefined) => void, addLoadingEventHandler: () => void;
541
396
  declare const loading: LOADING;
542
397
  //#endregion
543
- //#region src/hooks/reactor.d.ts
544
- /** Returns the reactor client module (in-process or worker-backed) */
545
- declare const useReactorClientModule: UsePHGlobalValue$1<BrowserReactorClientModule$1 | WorkerReactorClientModule$1>;
546
- /** Sets the reactor client module */
547
- declare const setReactorClientModule: SetPHGlobalValue$1<BrowserReactorClientModule$1 | WorkerReactorClientModule$1>;
548
- /** Adds an event handler for the reactor client module */
549
- declare const addReactorClientModuleEventHandler: AddPHGlobalEventHandler$1;
550
- /** Returns the reactor client */
551
- declare const useReactorClient: UsePHGlobalValue$1<IReactorClient$1>;
552
- /** Sets the reactor client */
553
- declare const setReactorClient: SetPHGlobalValue$1<IReactorClient$1>;
554
- /** Adds an event handler for the reactor client */
555
- declare const addReactorClientEventHandler: AddPHGlobalEventHandler$1;
556
- declare const useSync: () => ISyncManager | undefined;
557
- declare const useSyncList: () => _powerhousedao_reactor0.Remote[];
558
- declare const useModelRegistry: () => IDocumentModelRegistry | undefined;
559
- declare const useDatabase: () => Kysely<Database$1> | undefined;
560
- declare const usePGlite: () => PGlite | undefined;
561
- //#endregion
562
398
  //#region src/hooks/connection-state.d.ts
563
399
  /**
564
400
  * Returns a map of remote name to connection state snapshot for all remotes.
@@ -570,35 +406,20 @@ declare function useConnectionStates(): ReadonlyMap<string, ConnectionStateSnaps
570
406
  */
571
407
  declare function useConnectionState(remoteName: string): ConnectionStateSnapshot$1 | undefined;
572
408
  //#endregion
573
- //#region src/hooks/dispatch.d.ts
574
- /**
575
- * Returns a dispatch function for dispatching actions to a document.
576
- * Used internally by other hooks to provide action dispatching capabilities.
577
- * @param document - The document to dispatch actions to.
578
- * @returns A tuple containing the document and a dispatch function.
579
- */
580
- type DispatchFn<TAction> = (actionOrActions: TAction[] | TAction | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$1) => void) => void;
581
- type UseDispatchResult<TDocument, TAction> = readonly [TDocument | undefined, DispatchFn<TAction>];
582
- declare function useDispatch<TDocument = PHDocument$1, TAction = Action>(document: TDocument | undefined): UseDispatchResult<TDocument, TAction>;
583
- //#endregion
584
409
  //#region src/hooks/document-by-id.d.ts
585
410
  /** Returns a document by id. */
586
- declare function useDocumentById(id: string | null | undefined): UseDispatchResult<PHDocument$1, Action>;
411
+ declare function useDocumentById(id: string | null | undefined): UseDispatchResult<PHDocument$1, Action$1>;
587
412
  /** Returns documents by ids. */
588
413
  declare function useDocumentsByIds(ids: string[] | null | undefined): PHDocument$1[];
589
414
  //#endregion
590
- //#region src/hooks/document-model-modules.d.ts
591
- declare function useDocumentModelModules(): DocumentModelModule[] | undefined;
592
- declare function useDocumentModelModuleById(id: string | null | undefined): DocumentModelModule | undefined;
593
- //#endregion
594
415
  //#region src/hooks/document-of-type.d.ts
595
416
  /** Returns a document of a specific type, throws an error if the found document has a different type */
596
- declare function useDocumentOfType<TDocument extends PHDocument$1, TAction extends Action>(documentId: string | null | undefined, documentType: string | null | undefined): never[] | [TDocument, DocumentDispatch$1<TAction>];
417
+ declare function useDocumentOfType<TDocument extends PHDocument$1, TAction extends Action$1>(documentId: string | null | undefined, documentType: string | null | undefined): never[] | [TDocument, DocumentDispatch$1<TAction>];
597
418
  //#endregion
598
419
  //#region src/hooks/document-operations.d.ts
599
420
  type InternalState = {
600
- globalOperations: Operation[];
601
- localOperations: Operation[];
421
+ globalOperations: Operation$1[];
422
+ localOperations: Operation$1[];
602
423
  isLoading: boolean;
603
424
  error: Error | undefined;
604
425
  };
@@ -758,12 +579,12 @@ declare function hideRevisionHistory(): void;
758
579
  /** Returns the selected document id */
759
580
  declare function useSelectedDocumentId(): string | undefined;
760
581
  /** Returns the selected document. */
761
- declare function useSelectedDocument(): readonly [PHDocument$1, DispatchFn<Action>];
582
+ declare function useSelectedDocument(): readonly [PHDocument$1, DispatchFn<Action$1>];
762
583
  /** Returns the selected document. */
763
- declare function useSelectedDocumentSafe(): UseDispatchResult<PHDocument$1, Action>;
584
+ declare function useSelectedDocumentSafe(): UseDispatchResult<PHDocument$1, Action$1>;
764
585
  /** Returns the selected document of a specific type, throws an error if the found document has a different type */
765
586
  declare function useSelectedDocumentOfType(documentType: null | undefined): never[];
766
- declare function useSelectedDocumentOfType<TDocument extends PHDocument$1, TAction extends Action>(documentType: string): [TDocument, DocumentDispatch$1<TAction>];
587
+ declare function useSelectedDocumentOfType<TDocument extends PHDocument$1, TAction extends Action$1>(documentType: string): [TDocument, DocumentDispatch$1<TAction>];
767
588
  //#endregion
768
589
  //#region src/hooks/selected-drive.d.ts
769
590
  /** Returns the selected drive id */
@@ -935,23 +756,6 @@ declare function useUserPermissions(): {
935
756
  isAllowedToEditDocuments: boolean;
936
757
  };
937
758
  //#endregion
938
- //#region src/hooks/vetra-packages.d.ts
939
- declare const useVetraPackageManager: () => IPackageManager | undefined;
940
- /** Returns all of the Vetra packages loaded by the Connect instance */
941
- declare const useVetraPackages: () => DocumentModelLib[];
942
- /** Adds the Vetra package manager event handler */
943
- declare const addVetraPackageManagerEventHandler: () => void;
944
- /** Sets the Vetra package manager and registers its packages */
945
- declare function setVetraPackageManager(packageManager: IPackageManager): void;
946
- //#endregion
947
- //#region src/hooks/attachment-service.d.ts
948
- /** Returns the attachment service from window.ph */
949
- declare const useAttachmentService: UsePHGlobalValue$1<IAttachmentService>;
950
- /** Sets the attachment service on window.ph */
951
- declare const setAttachmentService: SetPHGlobalValue$1<IAttachmentService>;
952
- /** Registers the attachmentService window event handler */
953
- declare const addAttachmentServiceEventHandler: AddPHGlobalEventHandler$1;
954
- //#endregion
955
759
  //#region src/hooks/use-attachments.d.ts
956
760
  /** Returns an IAttachmentClient wrapping the current IAttachmentService, or undefined if none is set. */
957
761
  declare function useAttachments(): IAttachmentClient | undefined;
@@ -1067,104 +871,6 @@ declare function getPackagePage(registryUrl: string, params: {
1067
871
  declare function getPackagesForDocumentType(registryUrl: string, documentType: string): Promise<PackageInfo[]>;
1068
872
  declare function getPackagesByDocumentType(registryUrl: string, documentType: string): Promise<string[]>;
1069
873
  //#endregion
1070
- //#region src/remote-controller/types.d.ts
1071
- type RemoteControllerGraphQLClient = Pick<ReactorGraphQLClient, "GetDocument" | "GetDocumentWithOperations" | "GetDocumentOperations" | "MutateDocument" | "CreateDocument" | "CreateEmptyDocument" | "DeleteDocument" | "BatchGetDocumentOperations" | "BatchGetDocumentWithOperations">;
1072
- type RemoteDocumentData = PhDocumentFieldsFragment;
1073
- type RemoteOperation = GetDocumentOperationsQuery["documentOperations"]["items"][number];
1074
- type RemoteOperationResultPage = GetDocumentOperationsQuery["documentOperations"];
1075
- /**
1076
- * Options for creating a RemoteDocumentController.
1077
- */
1078
- type RemoteControllerOptions = {
1079
- client: RemoteControllerGraphQLClient; /** Remote document id. Omit for new documents. */
1080
- documentId?: string; /** "batch" requires explicit push(), "streaming" auto-pushes after actions. Defaults to "batch" */
1081
- mode?: "batch" | "streaming"; /** Optional signer for action signing. */
1082
- signer?: ISigner; /** Branch name, defaults to "main". */
1083
- branch?: string; /** Parent document identifier for creating new documents. */
1084
- parentIdentifier?: string; /** Conflict resolution strategy when remote has new operations. Default: no check (current behavior). */
1085
- onConflict?: ConflictStrategy; /** Called when a streaming-mode push fails. If not provided, errors are silently swallowed. */
1086
- onPushError?: (error: unknown) => void; /** Number of operations to fetch per page. Defaults to 100. */
1087
- operationsPageSize?: number;
1088
- };
1089
- /**
1090
- * Result of a push operation.
1091
- */
1092
- type PushResult = {
1093
- remoteDocument: RemoteDocumentData;
1094
- actionCount: number; /** The actions that were sent to the server (after signing, if applicable). */
1095
- operations: ReadonlyArray<Action>;
1096
- };
1097
- /**
1098
- * Sync status of the controller.
1099
- */
1100
- type SyncStatus = {
1101
- pendingActionCount: number;
1102
- connected: boolean;
1103
- documentId: string;
1104
- remoteRevision: Record<string, number>;
1105
- };
1106
- /**
1107
- * A tracked action with operation context for signing.
1108
- */
1109
- type TrackedAction = {
1110
- action: Action;
1111
- prevOpHash: string;
1112
- prevOpIndex: number;
1113
- };
1114
- /** Information about a detected conflict. */
1115
- type ConflictInfo = {
1116
- /** Remote operations added since the last pull, grouped by scope. */remoteOperations: Record<string, RemoteOperation[]>; /** Local actions pending push. */
1117
- localActions: TrackedAction[]; /** Remote revision at last pull. */
1118
- knownRevision: Record<string, number>; /** Current remote revision. */
1119
- currentRevision: Record<string, number>;
1120
- };
1121
- /** Custom merge handler receives conflict info and returns actions to push (or throws to abort). */
1122
- type MergeHandler = (conflict: ConflictInfo) => Action[] | Promise<Action[]>;
1123
- /** Conflict resolution strategy. */
1124
- type ConflictStrategy = "reject" | "rebase" | MergeHandler;
1125
- /** Event emitted when the document changes. */
1126
- type RemoteDocumentChangeEvent = {
1127
- source: "action" | "pull";
1128
- document: PHDocument$1<PHBaseState>;
1129
- };
1130
- /** Listener for document change events. */
1131
- type DocumentChangeListener = (event: RemoteDocumentChangeEvent) => void;
1132
- /** Result of fetching operations. */
1133
- type GetOperationsResult = {
1134
- operationsByScope: Record<string, RemoteOperation[]>;
1135
- };
1136
- /** Result of fetching a document together with its operations. */
1137
- type GetDocumentWithOperationsResult = {
1138
- document: RemoteDocumentData;
1139
- childIds: ReadonlyArray<string>;
1140
- operations: GetOperationsResult;
1141
- };
1142
- interface IRemoteClient {
1143
- getDocument(identifier: string, branch?: string): Promise<GetDocumentResult | null>;
1144
- /** Fetch document metadata and operations in a single call. */
1145
- getDocumentWithOperations(identifier: string, branch?: string, sinceRevision?: Record<string, number>, scopes?: string[]): Promise<GetDocumentWithOperationsResult | null>;
1146
- getAllOperations(documentId: string, branch?: string, sinceRevision?: Record<string, number>, scopes?: string[]): Promise<GetOperationsResult>;
1147
- pushActions(documentIdentifier: string, actions: ReadonlyArray<NonNullable<unknown>>, branch?: string): Promise<RemoteDocumentData>;
1148
- createDocument(document: NonNullable<unknown>, parentIdentifier?: string): Promise<RemoteDocumentData>;
1149
- createEmptyDocument(documentType: string, parentIdentifier?: string): Promise<RemoteDocumentData>;
1150
- deleteDocument(identifier: string, propagate?: PropagationMode): Promise<boolean>;
1151
- }
1152
- type GetDocumentResult = {
1153
- document: RemoteDocumentData;
1154
- childIds: ReadonlyArray<string>;
1155
- };
1156
- interface IRemoteController<TState extends PHBaseState = PHBaseState> {
1157
- readonly header: PHDocumentHeader;
1158
- readonly state: TState;
1159
- readonly operations: DocumentOperations;
1160
- readonly document: PHDocument$1<TState>;
1161
- readonly status: SyncStatus;
1162
- onChange(listener: DocumentChangeListener): () => void;
1163
- push(): Promise<PushResult>;
1164
- pull(): Promise<RemoteDocumentData>;
1165
- delete(propagate?: PropagationMode): Promise<boolean>;
1166
- }
1167
- //#endregion
1168
874
  //#region src/remote-controller/action-tracker.d.ts
1169
875
  /**
1170
876
  * Tracks pending actions with their operation context (prevOpHash, prevOpIndex).
@@ -1173,7 +879,7 @@ interface IRemoteController<TState extends PHBaseState = PHBaseState> {
1173
879
  declare class ActionTracker {
1174
880
  private pending;
1175
881
  /** Track a new action with its operation context. */
1176
- track(action: Action, prevOpHash: string, prevOpIndex: number): void;
882
+ track(action: Action$1, prevOpHash: string, prevOpIndex: number): void;
1177
883
  /** Flush all pending actions and return them. Clears the internal queue. */
1178
884
  flush(): TrackedAction[];
1179
885
  /** Number of pending actions. */
@@ -1414,7 +1120,7 @@ declare function defaultHandleError(error: Error): void;
1414
1120
  declare function downloadDocument(document: PHDocument$1 | undefined, handleError?: typeof defaultHandleError): void;
1415
1121
  //#endregion
1416
1122
  //#region src/utils/get-revision-from-date.d.ts
1417
- declare const getRevisionFromDate: (startDate?: Date, endDate?: Date, operations?: Operation[]) => number;
1123
+ declare const getRevisionFromDate: (startDate?: Date, endDate?: Date, operations?: Operation$1[]) => number;
1418
1124
  //#endregion
1419
1125
  //#region src/utils/nodes.d.ts
1420
1126
  /** Sorts nodes by name. */
@@ -1474,5 +1180,5 @@ declare function getUserPermissions(): {
1474
1180
  //#region src/utils/validate-document.d.ts
1475
1181
  declare const validateDocument: (document: PHDocument$1) => ValidationError[];
1476
1182
  //#endregion
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_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, 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, RenownInitialAuth, 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, useRenownInitialAuth, 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 };
1183
+ export { ActionTracker, AddPHGlobalEventHandler, BaseStorage, BearerTokenProvider, BrowserLocalStorage, BrowserReactorClientModule, BrowserReactorModule, COMMON_PACKAGE_ID, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, ConflictError, type ConflictInfo, ConflictResolution, type ConflictStrategy, ConnectionParams, 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, DocumentChangesEventPayload, DocumentChangesSubscriptionOptions, DocumentDispatch, DocumentIntegrityService, DocumentModelNotFoundError, DocumentNotFoundError, DocumentTypeIcon, DocumentTypeMismatchError, DraggingNode, DriveCollectionId, DriveSystemInfoState, EDITOR_FILE_DROP_OPT_OUT_ATTR, FailedInstallation, FailedInstallationReason, FileUploadProgress, FileUploadProgressCallback, FulfilledPromise, FullPHGlobalConfig, GetDocumentQueryFields, GetDocumentQueryResult, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, GraphQLClientDocumentCache, GraphQLClientDocumentEvent, GraphQLClientDocumentsEvent, GraphQLClientWindowEvents, GraphQLDocumentEventOperationName, GraphQLDocumentEvents, GraphQLDocumentEventsOperationName, GraphQLDocumentsEvents, GraphQLReactorClient, GraphQLReactorClientOptions, GraphQLReactorProvider, GraphQLReactorProviderProps, GraphQLRequestOptions, type IChannel, IDocumentCache, type IDocumentModelLoader, IPackageDiscoveryService, IPackageListerUnsubscribe, IPackageManager, IPackagesListener, type IProcessor, type IProcessorHostModule, type IQueue, IReactorBrowserClient, type IReactorClient, IReactorProcessorHostModule, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, IStorage, InMemoryQueue, IntervalPollTimer, type Job, type JwtHandler, type KeyframeValidationIssue, LOADING, type MergeHandler, MutateDocumentWithOperationsDocument, MutateDocumentWithOperationsResult, MutateDocumentWithOperationsVariables, 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_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, RENOWN_NETWORK_ID, RENOWN_URL, ReactorBuilder, ReactorClientBuilder, ReactorDefaultDrivesConfig, ReactorGraphQLClient, ReactorOperationFieldsFragmentDoc, 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, RenownInitialAuth, RenownInitialUserProvider, RenownInitialUserProviderProps, RenownLoginButton, RenownLoginButtonProps, RenownLoginMethod, RenownLogo, RenownProps, RenownProvider, RenownProviderProps, RenownSessionCookieOptions, RenownSessionCookieState, RenownUserButton, RenownUserButtonMenuItem, RenownUserButtonProps, RenownWalletProvider, RenownWalletProviderProps, RevisionsListSelection, RunDocumentOptions, SdkFunctionWrapper, SetEvent, SetPHGlobalValue, type SignerConfig, type SnapshotValidationIssue, SpinnerIcon, StaticPackageManager, SubgraphSdkFactory, SubgraphSdkRegistry, type SyncOperation, SyncOperationStatus, type SyncStatus, TStateSchemaZodObject, TimelineBarItem, TimelineDividerItem, TimelineItem, type TrackedAction, TypedGraphQLDocument, 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, ambientRenownTokenProvider, baseDocumentModels, baseDocumentModelsMap, buildDocumentSubgraphQuery, buildDocumentSubgraphUrl, callEventHandlerRegisterFunctions, callGlobalSetterForKey, clearGlobal, closePHModal, commonGlobalEventHandlerFunctions, convertRemoteOperations, createAnalyticsStore, createClient, createProcessorQuery, createUrlWithPreservedParams, deleteDrive, deleteNode, deriveSystemUrl, describeGraphQLDocument, dispatchActions, downloadDocument, driveIdFromUrl, dropAllReactorStorage, ensurePHEventHandlers, 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, isGraphQLReactorClient, loadFile, loading, login, logout, makeAuthConnectionParams, makeAuthMiddleware, makeDriveUrlComponent, makeNodeSlug, makePHEventFunctions, openRenown, packageFromDocumentModels, parseDriveUrl, phAppConfigHooks, phAppConfigSetters, phDocumentEditorConfigHooks, phDocumentEditorConfigSetters, phDocumentFromGetDocument, phDocumentFromMutation, phDocumentFromQuery, phDocumentsFromQuery, phGlobalConfigHooks, phGlobalConfigSetters, preloadEditorModule, reactorGraphqlBatchFetchDocuments, reactorGraphqlCreateDocument, reactorGraphqlDeleteDocument, reactorGraphqlDeleteDocuments, reactorGraphqlFetchDocument, reactorGraphqlMutateDocument, readPromiseState, refreshReactorData, refreshReactorDataClient, renameDrive, renameDriveNode, resolveUrlPathname, revisionMapFromRevisionsList, 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, signStampedAction, sortNodesByName, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscriptionsUrlFromGraphqlUrl, 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, useRenownInitialAuth, 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, useSwitchboardClient, useSwitchboardUrl, useSync, useSyncList, useTheme, useUser, useUserPermissions, useVersion, useVersionCheckInterval, useVetraPackageManager, useVetraPackages, useWarnOutdatedApp, validateDocument, viewFilterInputFromViewFilter, waitForDocumentReady };
1478
1184
  //# sourceMappingURL=index.d.ts.map