@powerhousedao/reactor-browser 6.2.2-dev.11 → 6.2.2-dev.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +178 -0
- package/dist/client-DAJGpNZH.d.ts +14 -0
- package/dist/client-DAJGpNZH.d.ts.map +1 -0
- package/dist/index-B3keszpu.d.ts +144 -0
- package/dist/index-B3keszpu.d.ts.map +1 -0
- package/dist/index-Cd5nc0QC.d.ts +705 -0
- package/dist/index-Cd5nc0QC.d.ts.map +1 -0
- package/dist/index.d.ts +13 -381
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/{inspector-proxy-CvQDDxmT.d.ts → inspector-proxy-Doocf0nD.d.ts} +1 -1
- package/dist/{inspector-proxy-CvQDDxmT.d.ts.map → inspector-proxy-Doocf0nD.d.ts.map} +1 -1
- package/dist/{index-DS4W07Y8.d.ts → pglite-CntadC_p-BgIvrYtV.d.ts} +2 -142
- package/dist/pglite-CntadC_p-BgIvrYtV.d.ts.map +1 -0
- package/dist/{renown-D-1c_Bvx.js → renown-CjoxQPCi.js} +346 -16
- package/dist/renown-CjoxQPCi.js.map +1 -0
- package/dist/src/graphql/client.d.ts +2 -1
- package/dist/src/relational/index.d.ts +1 -1
- package/dist/src/renown/index.d.ts +2 -2
- package/dist/src/renown/index.js +2 -2
- package/dist/src/rpc/index.d.ts +2 -2
- package/dist/{client-09xv0Dq6.d.ts → types-CVZRGBXo.d.ts} +2 -11
- package/dist/types-CVZRGBXo.d.ts.map +1 -0
- package/package.json +9 -9
- package/dist/client-09xv0Dq6.d.ts.map +0 -1
- package/dist/index-D3bV5rcl.d.ts +0 -216
- package/dist/index-D3bV5rcl.d.ts.map +0 -1
- package/dist/index-DS4W07Y8.d.ts.map +0 -1
- package/dist/renown-D-1c_Bvx.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-Cd5nc0QC.d.ts","names":[],"sources":["../src/types/documents.ts","../src/renown/use-renown-auth.ts","../src/renown/utils.ts","../src/types/config.ts","../src/types/modals.ts","../src/types/package-discovery.ts","../src/types/timeline.ts","../src/types/toast.ts","../src/types/vetra.ts","../src/hooks/node-drag-and-drop.ts","../src/types/global.ts","../src/hooks/renown.ts","../src/renown/components/RenownAuthButton.tsx","../src/renown/components/RenownLoginButton.tsx","../src/renown/components/RenownUserButton.tsx","../src/renown/components/icons.tsx","../src/renown/crypto.ts","../src/renown/constants.ts","../src/renown/initial-user.tsx","../src/renown/use-renown-session-cookie.ts","../src/renown/use-renown-init.ts","../src/renown/renown-init.tsx","../src/renown/provider.tsx","../src/renown/wallet-provider.tsx","../src/renown/login-methods.ts"],"mappings":";;;;;;;;;;;;;;;;KAMY,gBAAA,iBAAiC,MAAA,KAC3C,eAAA,EACI,OAAA,GACA,OAAA,KACA,cAAA,GACA,cAAA,gBAEJ,QAAA,IAAY,MAAA,EAAQ,KAAA,aACpB,SAAA,IAAa,MAAA,EAAQ,UAAA;AAAA,KAGX,gBAAA,MAAsB,OAAA,CAAQ,CAAA,IAAK,YAAA,CAAa,CAAA;AAAA,KAEhD,gBAAA,MAAsB,OAAA,CAAQ,CAAA;EACxC,MAAA;EACA,KAAA,EAAO,CAAA;AAAA;AAAA,KAGG,eAAA,MAAqB,OAAA,CAAQ,CAAA;EACvC,MAAA;EACA,MAAA;AAAA;AAAA,KAGU,YAAA;EAEN,MAAA;AAAA;EAEA,MAAA;EAAqB,KAAA,EAAO,CAAA;AAAA;EAC5B,MAAA;EAAoB,MAAA;AAAA;AAAA,UAET,cAAA;EACf,GAAA,CAAI,EAAA,UAAY,OAAA,aAAoB,OAAA,CAAQ,UAAA;EAC5C,QAAA,CAAS,GAAA,YAAe,OAAA,aAAoB,OAAA,CAAQ,UAAA;EACpD,SAAA,CAAU,EAAA,qBAAuB,QAAA;AAAA;;;KC3BvB,gBAAA,GAAmB,WAAA;AAAA,UAEd,UAAA;EACf,MAA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BAAA,GAAmB,kBAAA,CAAA,GAAA,CAAA,OAAA;;;UCaL,yBAAA;;EAEf,QAAA,EAAU,oBAAA;;EAEV,KAAA,GAAQ,WAAA;EACR,QAAA,EAAU,SAAA;AAAA;;iBAII,oBAAA,CAAA;EACd,QAAA,EAAU,cAAA;EACV,KAAA;EACA;AAAA,GACC,yBAAA,GAAyB,kBAAA,CAAA,GAAA,CAAA,OAAA;;;UCnFX,iBAAA;EACf,EAAA,EAAI,WAAA;EACJ,KAAA;AAAA;;iBAWc,qBAAA,CACd,QAAA,EAAU,oBAAA,cACV,MAAA,GAAS,OAAA,CAAQ,MAAA,CAAO,WAAA,aACvB,iBAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
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 login, 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 getWalletActivator, 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 failWalletActivation, Y as BrowserReactorClientModule, Yt as PHSentryGlobalConfig, Z as LOADING, Zt as getActiveWalletController, _ as useRenownInitialUser, _n as RejectedPromise, _t as PHToastType, a as RenownProvider, an as whenWalletControllerReady, at as WorkerReactorClientModule, b as CREDENTIAL_TYPES, bt as TimelineItem, c as RenownProps, cn as RenownAuthResolution, ct as addDraggingNodeEventHandler, d as RenownSessionCookieOptions, dn as useRenownAuthAsync, dt as IPackageListerUnsubscribe, en as logout, et as PHGlobalKey, f as RenownSessionCookieState, fn as DocumentDispatch, ft as IPackageManager, g as RenownInitialUserProviderProps, gn as PromiseWithState, gt as PHToastOptions, h as RenownInitialUserProvider, hn as PromiseState, ht as PHToastFn, i as RenownWalletProviderProps, in as signIn, it as UsePHGlobalValue, j as DisconnectIcon, jt as PHAppConfigHooks, k as ChevronDownIcon, kt as PHAnalyticsGlobalConfig, l as RenownInitOptions, ln as RenownAuthStatus, lt as useDragNode, m as useRenownSessionSynced, mn as IDocumentCache, mt as PackageManagerInstallResult, n as useRenownLoginMethods, nn as setActiveWalletController, nt as SetEvent, o as RenownProviderProps, on as RenownAuth, ot as WorkerReactorModule, p as useRenownSessionCookie, pn as FulfilledPromise, pt as IPackagesListener, q as useUser, qt as PHRelationalProcessorsGlobalConfig, r as RenownWalletProvider, rn as setWalletActivator, rt as SetPHGlobalValue, s as Renown, sn as RenownAuthAsync, st as DraggingNode, t as RenownLoginMethod, tn as openRenown, tt as PHGlobalValue, u as useRenownInit, un as useRenownAuth, 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-Cd5nc0QC.js";
|
|
2
3
|
import { baseDocumentModels, baseDocumentModelsMap } from "./src/document-model.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
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,
|
|
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,
|
|
15
|
-
import { DragEventHandler
|
|
16
|
-
import { IRenown, LoginStatus, User } from "@renown/sdk";
|
|
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
17
|
import { 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
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
|
|
21
|
+
import * as _powerhousedao_shared0 from "@powerhousedao/shared";
|
|
22
|
+
import { Node as Node$1 } from "@powerhousedao/shared";
|
|
22
23
|
import { PackageInfo, PackagePage } from "@powerhousedao/shared/registry";
|
|
23
24
|
|
|
24
25
|
//#region src/actions/dispatch.d.ts
|
|
@@ -104,32 +105,6 @@ declare const COMMON_PACKAGE_ID = "powerhouse/common";
|
|
|
104
105
|
/** Document types that represent a "drive": a container of nodes. */
|
|
105
106
|
declare const DRIVE_DOCUMENT_TYPES: readonly ["powerhouse/document-drive", "powerhouse/reactor-drive"];
|
|
106
107
|
//#endregion
|
|
107
|
-
//#region src/types/documents.d.ts
|
|
108
|
-
type DocumentDispatch<TAction extends Action> = (actionOrActions: TAction | TAction[] | DocumentAction | DocumentAction[] | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$1) => void) => void;
|
|
109
|
-
type PromiseWithState<T> = Promise<T> & PromiseState<T>;
|
|
110
|
-
type FulfilledPromise<T> = Promise<T> & {
|
|
111
|
-
status: "fulfilled";
|
|
112
|
-
value: T;
|
|
113
|
-
};
|
|
114
|
-
type RejectedPromise<T> = Promise<T> & {
|
|
115
|
-
status: "rejected";
|
|
116
|
-
reason: unknown;
|
|
117
|
-
};
|
|
118
|
-
type PromiseState<T> = {
|
|
119
|
-
status: "pending";
|
|
120
|
-
} | {
|
|
121
|
-
status: "fulfilled";
|
|
122
|
-
value: T;
|
|
123
|
-
} | {
|
|
124
|
-
status: "rejected";
|
|
125
|
-
reason: unknown;
|
|
126
|
-
};
|
|
127
|
-
interface IDocumentCache {
|
|
128
|
-
get(id: string, refetch?: boolean): Promise<PHDocument$1>;
|
|
129
|
-
getBatch(ids: string[], refetch?: boolean): Promise<PHDocument$1[]>;
|
|
130
|
-
subscribe(id: string | string[], callback: () => void): () => void;
|
|
131
|
-
}
|
|
132
|
-
//#endregion
|
|
133
108
|
//#region src/document-cache.d.ts
|
|
134
109
|
declare function addPromiseState<T>(promise: Promise<T>): PromiseWithState<T>;
|
|
135
110
|
declare function readPromiseState<T>(promise: Promise<T> | PromiseWithState<T>): PromiseState<T>;
|
|
@@ -288,6 +263,8 @@ declare const useIsDriveAnalyticsEnabled: () => boolean | undefined, setIsDriveA
|
|
|
288
263
|
declare const useRenownUrl: () => string | undefined, setRenownUrl: (value: string | undefined) => void, addRenownUrlEventHandler: () => void;
|
|
289
264
|
declare const useRenownNetworkId: () => string | undefined, setRenownNetworkId: (value: string | undefined) => void, addRenownNetworkIdEventHandler: () => void;
|
|
290
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;
|
|
291
268
|
declare const useSentryRelease: () => string | undefined, setSentryRelease: (value: string | undefined) => void, addSentryReleaseEventHandler: () => void;
|
|
292
269
|
declare const useSentryDsn: () => string | undefined, setSentryDsn: (value: string | undefined) => void, addSentryDsnEventHandler: () => void;
|
|
293
270
|
declare const useSentryEnv: () => string | undefined, setSentryEnv: (value: string | undefined) => void, addSentryEnvEventHandler: () => void;
|
|
@@ -435,337 +412,6 @@ declare function usePHDocumentEditorConfigByKey<TKey extends PHDocumentEditorCon
|
|
|
435
412
|
//#region src/hooks/config/utils.d.ts
|
|
436
413
|
declare function callGlobalSetterForKey<TKey extends PHGlobalConfigKey$1>(key: TKey, value: PHGlobalConfig$1[TKey] | undefined): void;
|
|
437
414
|
//#endregion
|
|
438
|
-
//#region src/types/config.d.ts
|
|
439
|
-
type PHGlobalConfig = PHCommonGlobalConfig & PHAppConfig & PHDocumentEditorConfig & PHDrivesGlobalConfig & PHAnalyticsGlobalConfig & PHRelationalProcessorsGlobalConfig & PHProcessorsGlobalConfig & PHRenownGlobalConfig & PHSentryGlobalConfig;
|
|
440
|
-
type PHGlobalConfigKey = keyof PHGlobalConfig;
|
|
441
|
-
type PHGlobalConfigSetters = PHGlobalConfigSettersForKey<PHGlobalConfigKey>;
|
|
442
|
-
type PHGlobalConfigHooks = PHGlobalConfigHooksForKey<PHGlobalConfigKey>;
|
|
443
|
-
/**
|
|
444
|
-
* Editor configuration settings which are globally available to your custom apps.
|
|
445
|
-
*
|
|
446
|
-
* Setting these will override the defaults when your editor is mounted.
|
|
447
|
-
*/
|
|
448
|
-
type PHAppConfig = {
|
|
449
|
-
/** Allows you to specify the document types that are allowed to be added to the drive.
|
|
450
|
-
* An empty array means that any document type is allowed.
|
|
451
|
-
*/
|
|
452
|
-
allowedDocumentTypes?: string[]; /** Whether drag and drop is enabled for the app. */
|
|
453
|
-
isDragAndDropEnabled?: boolean;
|
|
454
|
-
};
|
|
455
|
-
type PHAppConfigKey = keyof PHAppConfig;
|
|
456
|
-
type PHAppConfigSetters = PHGlobalConfigSettersForKey<PHAppConfigKey>;
|
|
457
|
-
type PHAppConfigHooks = PHGlobalConfigHooksForKey<PHAppConfigKey>;
|
|
458
|
-
type PHDocumentEditorConfig = {
|
|
459
|
-
/** Whether external controls are enabled for the document editor. */isExternalControlsEnabled?: boolean;
|
|
460
|
-
};
|
|
461
|
-
type PHDocumentEditorConfigKey = keyof PHDocumentEditorConfig;
|
|
462
|
-
type PHDocumentEditorConfigSetters = PHGlobalConfigSettersForKey<PHDocumentEditorConfigKey>;
|
|
463
|
-
type PHDocumentEditorConfigHooks = PHGlobalConfigHooksForKey<PHDocumentEditorConfigKey>;
|
|
464
|
-
type PHCommonGlobalConfig = {
|
|
465
|
-
basePath?: string;
|
|
466
|
-
routerBasename?: string;
|
|
467
|
-
version?: string;
|
|
468
|
-
requiresHardRefresh?: boolean;
|
|
469
|
-
warnOutdatedApp?: boolean;
|
|
470
|
-
studioMode?: boolean;
|
|
471
|
-
versionCheckInterval?: number;
|
|
472
|
-
cliVersion?: string;
|
|
473
|
-
fileUploadOperationsChunkSize?: number;
|
|
474
|
-
gaTrackingId?: string;
|
|
475
|
-
isDocumentModelSelectionSettingsEnabled?: boolean;
|
|
476
|
-
isAddDriveEnabled?: boolean;
|
|
477
|
-
isPublicDrivesEnabled?: boolean;
|
|
478
|
-
isAddPublicDrivesEnabled?: boolean;
|
|
479
|
-
isDeletePublicDrivesEnabled?: boolean;
|
|
480
|
-
isCloudDrivesEnabled?: boolean;
|
|
481
|
-
isAddCloudDrivesEnabled?: boolean;
|
|
482
|
-
isDeleteCloudDrivesEnabled?: boolean;
|
|
483
|
-
isLocalDrivesEnabled?: boolean;
|
|
484
|
-
isAddLocalDrivesEnabled?: boolean;
|
|
485
|
-
isDeleteLocalDrivesEnabled?: boolean;
|
|
486
|
-
allowList?: string[];
|
|
487
|
-
analyticsDatabaseName?: string;
|
|
488
|
-
logLevel?: "debug" | "info" | "warn" | "error";
|
|
489
|
-
isEditorDebugModeEnabled?: boolean;
|
|
490
|
-
isEditorReadModeEnabled?: boolean;
|
|
491
|
-
disabledEditors?: string[];
|
|
492
|
-
enabledEditors?: string[];
|
|
493
|
-
};
|
|
494
|
-
type PHDrivesGlobalConfig = {
|
|
495
|
-
defaultDrivesUrl?: string;
|
|
496
|
-
drivesPreserveStrategy?: string;
|
|
497
|
-
};
|
|
498
|
-
type PHAnalyticsGlobalConfig = {
|
|
499
|
-
isAnalyticsEnabled?: boolean;
|
|
500
|
-
isAnalyticsDatabaseWorkerEnabled?: boolean;
|
|
501
|
-
isDiffAnalyticsEnabled?: boolean;
|
|
502
|
-
isDriveAnalyticsEnabled?: boolean;
|
|
503
|
-
isAnalyticsExternalProcessorsEnabled?: boolean;
|
|
504
|
-
};
|
|
505
|
-
type PHRelationalProcessorsGlobalConfig = {
|
|
506
|
-
isRelationalProcessorsEnabled?: boolean;
|
|
507
|
-
isExternalRelationalProcessorsEnabled?: boolean;
|
|
508
|
-
};
|
|
509
|
-
type PHProcessorsGlobalConfig = {
|
|
510
|
-
isExternalProcessorsEnabled?: boolean;
|
|
511
|
-
isExternalPackagesEnabled?: boolean;
|
|
512
|
-
};
|
|
513
|
-
type PHRenownGlobalConfig = {
|
|
514
|
-
renownUrl?: string;
|
|
515
|
-
renownNetworkId?: string;
|
|
516
|
-
renownChainId?: number;
|
|
517
|
-
};
|
|
518
|
-
type PHSentryGlobalConfig = {
|
|
519
|
-
sentryRelease?: string;
|
|
520
|
-
sentryDsn?: string;
|
|
521
|
-
sentryEnv?: string;
|
|
522
|
-
isSentryTracingEnabled?: boolean;
|
|
523
|
-
};
|
|
524
|
-
type PHGlobalConfigSettersForKey<T extends PHGlobalConfigKey> = { [K in T]: (value: PHGlobalConfig[K]) => void };
|
|
525
|
-
type PHGlobalConfigHooksForKey<TKey extends PHGlobalConfigKey> = { [K in TKey]: () => PHGlobalConfig[K] };
|
|
526
|
-
/** Helper type for ensuring keys are all present while still allowing them to be set */
|
|
527
|
-
type FullPHGlobalConfig = Record<PHGlobalConfigKey, PHGlobalConfig[PHGlobalConfigKey]>;
|
|
528
|
-
//#endregion
|
|
529
|
-
//#region src/types/modals.d.ts
|
|
530
|
-
type PHModal = {
|
|
531
|
-
type: "createDocument";
|
|
532
|
-
documentType: string;
|
|
533
|
-
} | {
|
|
534
|
-
type: "deleteItem";
|
|
535
|
-
id: string;
|
|
536
|
-
} | {
|
|
537
|
-
type: "addDrive";
|
|
538
|
-
} | {
|
|
539
|
-
type: "upgradeDrive";
|
|
540
|
-
driveId: string;
|
|
541
|
-
} | {
|
|
542
|
-
type: "deleteDrive";
|
|
543
|
-
driveId: string;
|
|
544
|
-
} | {
|
|
545
|
-
type: "driveSettings";
|
|
546
|
-
driveId: string;
|
|
547
|
-
} | {
|
|
548
|
-
type: "settings";
|
|
549
|
-
} | {
|
|
550
|
-
type: "clearStorage";
|
|
551
|
-
} | {
|
|
552
|
-
type: "debugSettings";
|
|
553
|
-
} | {
|
|
554
|
-
type: "disclaimer";
|
|
555
|
-
} | {
|
|
556
|
-
type: "cookiesPolicy";
|
|
557
|
-
} | {
|
|
558
|
-
type: "downloadDocumentWithErrors";
|
|
559
|
-
documentId: string;
|
|
560
|
-
} | {
|
|
561
|
-
type: "inspector";
|
|
562
|
-
} | {
|
|
563
|
-
type: "missingPackage";
|
|
564
|
-
documentType: string;
|
|
565
|
-
} | {
|
|
566
|
-
type: "driveAuthRequired";
|
|
567
|
-
} | {
|
|
568
|
-
type: "openFileDocuments";
|
|
569
|
-
};
|
|
570
|
-
//#endregion
|
|
571
|
-
//#region src/types/package-discovery.d.ts
|
|
572
|
-
type PendingInstallation = {
|
|
573
|
-
documentType: string;
|
|
574
|
-
packageNames: string[];
|
|
575
|
-
};
|
|
576
|
-
type FailedInstallationReason = "no-registry" | "not-in-registry" | "registry-error" | "install-failed" | "dismissed" | "offline";
|
|
577
|
-
type FailedInstallation = {
|
|
578
|
-
documentType: string;
|
|
579
|
-
reason: FailedInstallationReason;
|
|
580
|
-
packageNames: string[];
|
|
581
|
-
error: Error | null;
|
|
582
|
-
};
|
|
583
|
-
type DiscoveryEvent = {
|
|
584
|
-
type: "type-discovered";
|
|
585
|
-
documentType: string;
|
|
586
|
-
packageNames: string[];
|
|
587
|
-
} | {
|
|
588
|
-
type: "installation-prompted";
|
|
589
|
-
documentType: string;
|
|
590
|
-
packageNames: string[];
|
|
591
|
-
} | {
|
|
592
|
-
type: "installation-approved";
|
|
593
|
-
packageName: string;
|
|
594
|
-
documentTypes: string[];
|
|
595
|
-
} | {
|
|
596
|
-
type: "installation-dismissed";
|
|
597
|
-
packageName: string;
|
|
598
|
-
documentTypes: string[];
|
|
599
|
-
} | {
|
|
600
|
-
type: "installation-failed";
|
|
601
|
-
packageName: string;
|
|
602
|
-
error: Error;
|
|
603
|
-
} | {
|
|
604
|
-
type: "registry-query-failed";
|
|
605
|
-
documentType: string;
|
|
606
|
-
error: Error;
|
|
607
|
-
} | {
|
|
608
|
-
type: "load-failed";
|
|
609
|
-
documentType: string;
|
|
610
|
-
reason: FailedInstallationReason;
|
|
611
|
-
};
|
|
612
|
-
type DiscoveryEventListener = (event: DiscoveryEvent) => void;
|
|
613
|
-
interface IPackageDiscoveryService {
|
|
614
|
-
load(documentType: string): Promise<DocumentModelModule$1<any>>;
|
|
615
|
-
getPendingInstallations(): PendingInstallation[];
|
|
616
|
-
subscribePending(listener: () => void): () => void;
|
|
617
|
-
getFailedInstallations(): FailedInstallation[];
|
|
618
|
-
subscribeFailed(listener: () => void): () => void;
|
|
619
|
-
subscribeEvents(listener: DiscoveryEventListener): () => void;
|
|
620
|
-
approveInstallation(packageName: string): Promise<void>;
|
|
621
|
-
dismissInstallation(packageName: string): void;
|
|
622
|
-
promptInstallation(documentType: string): void;
|
|
623
|
-
retryInstallation(documentType: string): Promise<void>;
|
|
624
|
-
}
|
|
625
|
-
//#endregion
|
|
626
|
-
//#region src/types/timeline.d.ts
|
|
627
|
-
type TimelineBarItem = {
|
|
628
|
-
id: string;
|
|
629
|
-
type: "bar";
|
|
630
|
-
addSize?: 0 | 1 | 2 | 3 | 4;
|
|
631
|
-
delSize?: 0 | 1 | 2 | 3 | 4;
|
|
632
|
-
timestampUtcMs?: string;
|
|
633
|
-
additions?: number;
|
|
634
|
-
deletions?: number;
|
|
635
|
-
revision?: number;
|
|
636
|
-
startDate?: Date;
|
|
637
|
-
endDate?: Date;
|
|
638
|
-
};
|
|
639
|
-
type TimelineDividerItem = {
|
|
640
|
-
id: string;
|
|
641
|
-
type: "divider";
|
|
642
|
-
timestampUtcMs?: string;
|
|
643
|
-
title?: string;
|
|
644
|
-
subtitle?: string;
|
|
645
|
-
revision?: number;
|
|
646
|
-
startDate?: Date;
|
|
647
|
-
endDate?: Date;
|
|
648
|
-
};
|
|
649
|
-
type TimelineItem = TimelineBarItem | TimelineDividerItem;
|
|
650
|
-
//#endregion
|
|
651
|
-
//#region src/types/toast.d.ts
|
|
652
|
-
type PHToastType = "default" | "success" | "error" | "warning" | "info" | "connect-success" | "connect-warning" | "connect-loading" | "connect-deleted";
|
|
653
|
-
type PHToastOptions = {
|
|
654
|
-
type?: PHToastType;
|
|
655
|
-
autoClose?: number | false;
|
|
656
|
-
containerId?: string;
|
|
657
|
-
};
|
|
658
|
-
type PHToastFn = (content: ReactNode | string, options?: PHToastOptions) => void;
|
|
659
|
-
//#endregion
|
|
660
|
-
//#region src/types/vetra.d.ts
|
|
661
|
-
type IPackagesListener = (data: {
|
|
662
|
-
packages: DocumentModelLib$1[];
|
|
663
|
-
}) => void;
|
|
664
|
-
type IPackageListerUnsubscribe = () => void;
|
|
665
|
-
type PackageManagerInstallResult = {
|
|
666
|
-
type: "success";
|
|
667
|
-
package: DocumentModelLib$1;
|
|
668
|
-
} | {
|
|
669
|
-
type: "error";
|
|
670
|
-
error: Error;
|
|
671
|
-
};
|
|
672
|
-
interface IPackageManager extends IDocumentModelLoader$1 {
|
|
673
|
-
registryUrl: string | null;
|
|
674
|
-
packages: DocumentModelLib$1[];
|
|
675
|
-
addPackage(packageName: string): Promise<PackageManagerInstallResult> | PackageManagerInstallResult;
|
|
676
|
-
addPackages(packageNames: string[]): Promise<PackageManagerInstallResult[]> | PackageManagerInstallResult[];
|
|
677
|
-
removePackage(name: string): void;
|
|
678
|
-
updateLocalPackage(pkg: DocumentModelLib$1, version?: string): void;
|
|
679
|
-
subscribe(handler: IPackagesListener): IPackageListerUnsubscribe;
|
|
680
|
-
getPackageSource: (packageName: string) => RegistryPackageSource | null;
|
|
681
|
-
getPackageVersion: (packageName: string) => string | undefined;
|
|
682
|
-
/**
|
|
683
|
-
* Registry-installed packages keyed by their storage name (the registry
|
|
684
|
-
* spec, e.g. "@powerhousedao/clint-common"). Used by callers that need to
|
|
685
|
-
* diff against an external source of truth such as the publish-reload
|
|
686
|
-
* channel's `/__packages` SSE feed.
|
|
687
|
-
*/
|
|
688
|
-
getRegistryPackages: () => {
|
|
689
|
-
name: string;
|
|
690
|
-
version: string | undefined;
|
|
691
|
-
}[];
|
|
692
|
-
addLocalPackage: (name: string, loadedPackage: DocumentModelLib$1, version?: string) => void;
|
|
693
|
-
}
|
|
694
|
-
//#endregion
|
|
695
|
-
//#region src/hooks/node-drag-and-drop.d.ts
|
|
696
|
-
type DraggingNode = {
|
|
697
|
-
srcId: string;
|
|
698
|
-
parentId: string | null | undefined;
|
|
699
|
-
};
|
|
700
|
-
declare const addDraggingNodeEventHandler: () => void;
|
|
701
|
-
declare function useDragNode(args: {
|
|
702
|
-
srcId: string | undefined;
|
|
703
|
-
parentId: string | null | undefined;
|
|
704
|
-
}): {
|
|
705
|
-
isDragging: boolean;
|
|
706
|
-
draggable: boolean;
|
|
707
|
-
onDragStart: DragEventHandler;
|
|
708
|
-
onDragEnd: DragEventHandler;
|
|
709
|
-
};
|
|
710
|
-
declare function useDropNode(targetId: string | undefined): {
|
|
711
|
-
isDropTarget: boolean;
|
|
712
|
-
onDragEnter: DragEventHandler;
|
|
713
|
-
onDragOver: DragEventHandler;
|
|
714
|
-
onDragLeave: DragEventHandler;
|
|
715
|
-
onDrop: DragEventHandler;
|
|
716
|
-
};
|
|
717
|
-
//#endregion
|
|
718
|
-
//#region src/types/global.d.ts
|
|
719
|
-
interface BrowserReactorModule extends InProcessReactorModule {
|
|
720
|
-
pg: PGlite;
|
|
721
|
-
}
|
|
722
|
-
interface BrowserReactorClientModule extends InProcessReactorClientModule {
|
|
723
|
-
kind: "browser";
|
|
724
|
-
reactorModule: BrowserReactorModule | undefined;
|
|
725
|
-
}
|
|
726
|
-
type WorkerReactorModule = ReactorModule;
|
|
727
|
-
interface WorkerReactorClientModule extends ReactorClientModule {
|
|
728
|
-
kind: "worker";
|
|
729
|
-
reactorModule: WorkerReactorModule;
|
|
730
|
-
adminClient: IWorkerAdminClient;
|
|
731
|
-
inspector: IInspectorProxy;
|
|
732
|
-
}
|
|
733
|
-
type LOADING = null;
|
|
734
|
-
type PHGlobal = PHGlobalConfig & {
|
|
735
|
-
loading?: boolean;
|
|
736
|
-
reactorClientModule?: BrowserReactorClientModule | WorkerReactorClientModule;
|
|
737
|
-
reactorClient?: IReactorClient$1;
|
|
738
|
-
attachmentService?: IAttachmentService;
|
|
739
|
-
reactorGraphQLClient?: ReactorGraphQLClient | undefined;
|
|
740
|
-
renown?: IRenown | LOADING;
|
|
741
|
-
vetraPackageManager?: IPackageManager;
|
|
742
|
-
drives?: DocumentDriveDocument[];
|
|
743
|
-
documentCache?: IDocumentCache;
|
|
744
|
-
selectedDriveId?: string;
|
|
745
|
-
selectedNodeId?: string;
|
|
746
|
-
draggingNode?: DraggingNode;
|
|
747
|
-
modal?: PHModal;
|
|
748
|
-
selectedTimelineRevision?: string | number | null;
|
|
749
|
-
revisionHistoryVisible?: boolean;
|
|
750
|
-
selectedTimelineItem?: TimelineItem | null;
|
|
751
|
-
packageDiscoveryService?: IPackageDiscoveryService;
|
|
752
|
-
features?: Map<string, boolean>;
|
|
753
|
-
toast?: PHToastFn;
|
|
754
|
-
};
|
|
755
|
-
type PHGlobalKey = keyof PHGlobal;
|
|
756
|
-
type PHGlobalValue = PHGlobal[PHGlobalKey];
|
|
757
|
-
type UsePHGlobalValue<TValue extends PHGlobalValue> = () => TValue | undefined;
|
|
758
|
-
type SetPHGlobalValue<TValue extends PHGlobalValue> = (value: TValue | undefined) => void;
|
|
759
|
-
type AddPHGlobalEventHandler = () => void;
|
|
760
|
-
type PHGlobalEventHandlerAdders = Record<PHGlobalKey, AddPHGlobalEventHandler>;
|
|
761
|
-
type SetEvent<TKey extends PHGlobalKey> = CustomEvent<{ [key in TKey]: PHGlobal[TKey] | undefined }>;
|
|
762
|
-
declare global {
|
|
763
|
-
interface Window {
|
|
764
|
-
ph?: PHGlobal;
|
|
765
|
-
}
|
|
766
|
-
interface WindowEventMap extends GraphQLClientWindowEvents {}
|
|
767
|
-
} //# sourceMappingURL=global.d.ts.map
|
|
768
|
-
//#endregion
|
|
769
415
|
//#region src/hooks/document-cache.d.ts
|
|
770
416
|
/** Returns all documents in the reactor. */
|
|
771
417
|
declare const useDocumentCache: UsePHGlobalValue<IDocumentCache>;
|
|
@@ -924,20 +570,6 @@ declare function useConnectionStates(): ReadonlyMap<string, ConnectionStateSnaps
|
|
|
924
570
|
*/
|
|
925
571
|
declare function useConnectionState(remoteName: string): ConnectionStateSnapshot$1 | undefined;
|
|
926
572
|
//#endregion
|
|
927
|
-
//#region src/hooks/renown.d.ts
|
|
928
|
-
/** Adds an event handler for the renown instance */
|
|
929
|
-
declare const addRenownEventHandler: () => void;
|
|
930
|
-
/** Returns the renown instance */
|
|
931
|
-
declare const useRenown: () => IRenown | LOADING | undefined;
|
|
932
|
-
/** Sets the renown instance */
|
|
933
|
-
declare const setRenown: (value: IRenown | LOADING | undefined) => void;
|
|
934
|
-
/** Returns the DID from the renown instance */
|
|
935
|
-
declare function useDid(): string | undefined;
|
|
936
|
-
/** Returns the current user from the renown instance, subscribing to user events */
|
|
937
|
-
declare function useUser(): User | undefined;
|
|
938
|
-
/** Returns the login status, subscribing to renown status events */
|
|
939
|
-
declare function useLoginStatus(): LoginStatus | "loading" | undefined;
|
|
940
|
-
//#endregion
|
|
941
573
|
//#region src/hooks/dispatch.d.ts
|
|
942
574
|
/**
|
|
943
575
|
* Returns a dispatch function for dispatching actions to a document.
|
|
@@ -1809,5 +1441,5 @@ declare function getUserPermissions(): {
|
|
|
1809
1441
|
//#region src/utils/validate-document.d.ts
|
|
1810
1442
|
declare const validateDocument: (document: PHDocument$1) => ValidationError[];
|
|
1811
1443
|
//#endregion
|
|
1812
|
-
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, 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, UnsupportedDocumentTypeError, 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, 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, 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, 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, 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 };
|
|
1444
|
+
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, 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, failWalletActivation, findUuid, getActiveWalletController, getAnalyticsStore, getDocumentGraphqlQuery, getDriveIdBySlug, getDrives, getGlobal, getPackagePage, getPackages, getPackagesByDocumentType, getPackagesForDocumentType, getPathWithoutBase, getRevisionFromDate, getSlugFromDriveUrl, getSwitchboardGatewayUrlFromDriveUrl, getSyncStatus, getSyncStatusSync, getUserPermissions, getWalletActivator, 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, setActiveWalletController, 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, setWalletActivator, setWarnOutdatedApp, showCreateDocumentModal, showDeleteNodeModal, showPHModal, showRevisionHistory, signIn, 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, 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, whenWalletControllerReady };
|
|
1813
1445
|
//# sourceMappingURL=index.d.ts.map
|