@powerhousedao/reactor-browser 6.4.0-next.4 → 6.4.0-next.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{attachment-service-DdLM0Yf5.d.ts → attachment-service-BPJUlGoc.d.ts} +8 -4
- package/dist/{attachment-service-DdLM0Yf5.d.ts.map → attachment-service-BPJUlGoc.d.ts.map} +1 -1
- package/dist/{auth-Ryem1MiX.d.ts → auth-Dj81DiN8.d.ts} +4 -2
- package/dist/auth-Dj81DiN8.d.ts.map +1 -0
- package/dist/{document-model-modules-CHo9NZhj.js → document-model-modules-DGwOMfqs.js} +8 -4
- package/dist/document-model-modules-DGwOMfqs.js.map +1 -0
- package/dist/{document-operations-Dj0fTOHE.js → document-operations-CVNMXCjB.js} +23 -14
- package/dist/document-operations-CVNMXCjB.js.map +1 -0
- package/dist/index.d.ts +7 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -5
- package/dist/index.js.map +1 -1
- package/dist/src/ai/index.d.ts +1 -1
- package/dist/src/ai/index.js +2 -2
- package/dist/src/graphql-client/entry.d.ts +3 -3
- package/dist/src/graphql-client/entry.js +3 -3
- package/dist/{switchboard-directory-7KPHB5Tz.js → switchboard-directory-fAZF-Sjv.js} +3 -3
- package/dist/{switchboard-directory-7KPHB5Tz.js.map → switchboard-directory-fAZF-Sjv.js.map} +1 -1
- package/package.json +10 -10
- package/dist/auth-Ryem1MiX.d.ts.map +0 -1
- package/dist/document-model-modules-CHo9NZhj.js.map +0 -1
- package/dist/document-operations-Dj0fTOHE.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as isAuthRefusalClose, $t as GetDocumentQueryFields, A as setDocumentCache, An as isDocumentTypeCache, At as GraphQLRequestOptions, B as DEFAULT_REQUEST_TIMEOUT_MS, Bt as switchboardFetch, C as usePGlite, Cn as TrackedAction, Ct as GraphQLReactorReadClient, D as useSync, Dn as IDLE_OPERATIONS_ENTRY, Dt as findIsServableOverGraphQL, E as useReactorHalves, En as IDLE_DOCUMENTS_OF_TYPE_ENTRY, Et as createGraphQLDriveNodeSource, F as useGetDocument, Ft as subgraphUrlFromGraphqlUrl, G as createSwitchboardBackend, Gt as GraphQLWrongBackendError, H as SwitchboardBackendDescriptor, Ht as withStreamedBodies, I as useGetDocumentAsync, It as GraphQLFetch, J as DocumentChangesSubscriptionOptions, Jt as queriesUnknownField, K as ConnectionParams, Kt as JobFailedError, L as useGetDocuments, Lt as globalFetch, M as useDocumentCache, Mn as readPromiseState, Mt as SubgraphSdkRegistry, N as useDocumentSafe, Nn as IDLE_REFETCH_STATE, Nt as TypedGraphQLDocument, O as useSyncList, On as IDocumentCacheReader, Ot as isGraphQLReactorClient, P as useDocuments, Pn as dispatchActions, Pt as describeGraphQLDocument, Q as createJobChangesSocket, Qt as toLegacyNode, R as DEFAULT_BATCH_REQUEST_TIMEOUT_MS, Rt as isDeadlineError, S as useModelRegistry, Sn as SyncStatus, St as GraphQLReactorClientOptions, T as useReactorClientModule, Tn as GET_MANY_CHUNK_SIZE, Tt as ambientRenownSigner, U as SwitchboardBreaker, Ut as BatchJobFailedError, V as SwitchboardBackend, Vt as withRequestDeadline, W as SwitchboardUnreachableError, Wt as GraphQLOperationNotSupportedError, X as JobChangesEventPayload, Xt as GraphQLDriveNodeSource, Y as IJobChangesSocket, Yt as DriveNodeQueries, Z as JobChangesSocketOptions, Zt as GraphQLDriveReadClient, _ as getFullReactorClient, _n as RemoteControllerOptions, _t as GraphQLReactorProviderProps, a as UseDocumentOperationsOptions, an as revisionMapFromRevisionsList, at as resolveDocumentModelModule, b as setReactorClientModule, bn as RemoteOperation, bt as DriveIdCall, c as useDocumentModelModules, cn as DocumentChangeListener, ct as stampAction, d as createDispatch, dn as GetOperationsResult, dt as GetDocumentAtConsistencyVariables, en as GetDocumentQueryResult, et as makeAuthConnectionParams, f as useDispatch, fn as IRemoteClient, ft as MutateDocumentWithOperationsDocument, g as addReactorHalvesEventHandler, gn as RemoteControllerGraphQLClient, gt as GraphQLReactorProvider, h as addReactorClientModuleEventHandler, hn as PushResult, ht as ReactorOperationFieldsFragmentDoc, i as DocumentOperationsResult, in as phDocumentFromMutation, it as packageFromDocumentModels, j as useDocument, jn as isOperationCache, jt as SubgraphSdkFactory, k as addDocumentCacheEventHandler, kn as addPromiseState, kt as viewFilterInputFromViewFilter, l as DispatchFn, ln as GetDocumentResult, lt as GetDocumentAtConsistencyDocument, m as addReactorClientEventHandler, mn as MergeHandler, mt as MutateDocumentWithOperationsVariables, n as setAttachmentService, nn as isoStringFromDateTime, nt as subscriptionsUrlFromGraphqlUrl, o as useDocumentOperations, on as ConflictInfo, ot as prepareSignedActions, p as addFullReactorClientEventHandler, pn as IRemoteController, pt as MutateDocumentWithOperationsResult, q as DocumentChangesEventPayload, qt as queriesUnknownArgument, r as useAttachmentService, rn as phDocumentFromGetDocument, rt as StaticPackageManager, s as useDocumentModelModuleById, sn as ConflictStrategy, st as signStampedAction, t as addAttachmentServiceEventHandler, tn as RevisionsListSelection, tt as startDocumentChangesSubscription, u as UseDispatchResult, un as GetDocumentWithOperationsResult, ut as GetDocumentAtConsistencyResult, v as setFullReactorClient, vn as RemoteDocumentChangeEvent, vt as ensurePHEventHandlers, w as useReactorClient, wn as DocumentCache, wt as GraphQLReactorWriteClient, x as useDatabase, xn as RemoteOperationResultPage, xt as GraphQLReactorClient, y as setReactorClient, yn as RemoteDocumentData, yt as useSwitchboardClient, z as DEFAULT_BREAKER, zt as isNodeFetch } from "./attachment-service-
|
|
1
|
+
import { $ as isAuthRefusalClose, $t as GetDocumentQueryFields, A as setDocumentCache, An as isDocumentTypeCache, At as GraphQLRequestOptions, B as DEFAULT_REQUEST_TIMEOUT_MS, Bt as switchboardFetch, C as usePGlite, Cn as TrackedAction, Ct as GraphQLReactorReadClient, D as useSync, Dn as IDLE_OPERATIONS_ENTRY, Dt as findIsServableOverGraphQL, E as useReactorHalves, En as IDLE_DOCUMENTS_OF_TYPE_ENTRY, Et as createGraphQLDriveNodeSource, F as useGetDocument, Ft as subgraphUrlFromGraphqlUrl, G as createSwitchboardBackend, Gt as GraphQLWrongBackendError, H as SwitchboardBackendDescriptor, Ht as withStreamedBodies, I as useGetDocumentAsync, It as GraphQLFetch, J as DocumentChangesSubscriptionOptions, Jt as queriesUnknownField, K as ConnectionParams, Kt as JobFailedError, L as useGetDocuments, Lt as globalFetch, M as useDocumentCache, Mn as readPromiseState, Mt as SubgraphSdkRegistry, N as useDocumentSafe, Nn as IDLE_REFETCH_STATE, Nt as TypedGraphQLDocument, O as useSyncList, On as IDocumentCacheReader, Ot as isGraphQLReactorClient, P as useDocuments, Pn as dispatchActions, Pt as describeGraphQLDocument, Q as createJobChangesSocket, Qt as toLegacyNode, R as DEFAULT_BATCH_REQUEST_TIMEOUT_MS, Rt as isDeadlineError, S as useModelRegistry, Sn as SyncStatus, St as GraphQLReactorClientOptions, T as useReactorClientModule, Tn as GET_MANY_CHUNK_SIZE, Tt as ambientRenownSigner, U as SwitchboardBreaker, Ut as BatchJobFailedError, V as SwitchboardBackend, Vt as withRequestDeadline, W as SwitchboardUnreachableError, Wt as GraphQLOperationNotSupportedError, X as JobChangesEventPayload, Xt as GraphQLDriveNodeSource, Y as IJobChangesSocket, Yt as DriveNodeQueries, Z as JobChangesSocketOptions, Zt as GraphQLDriveReadClient, _ as getFullReactorClient, _n as RemoteControllerOptions, _t as GraphQLReactorProviderProps, a as UseDocumentOperationsOptions, an as revisionMapFromRevisionsList, at as resolveDocumentModelModule, b as setReactorClientModule, bn as RemoteOperation, bt as DriveIdCall, c as useDocumentModelModules, cn as DocumentChangeListener, ct as stampAction, d as createDispatch, dn as GetOperationsResult, dt as GetDocumentAtConsistencyVariables, en as GetDocumentQueryResult, et as makeAuthConnectionParams, f as useDispatch, fn as IRemoteClient, ft as MutateDocumentWithOperationsDocument, g as addReactorHalvesEventHandler, gn as RemoteControllerGraphQLClient, gt as GraphQLReactorProvider, h as addReactorClientModuleEventHandler, hn as PushResult, ht as ReactorOperationFieldsFragmentDoc, i as DocumentOperationsResult, in as phDocumentFromMutation, it as packageFromDocumentModels, j as useDocument, jn as isOperationCache, jt as SubgraphSdkFactory, k as addDocumentCacheEventHandler, kn as addPromiseState, kt as viewFilterInputFromViewFilter, l as DispatchFn, ln as GetDocumentResult, lt as GetDocumentAtConsistencyDocument, m as addReactorClientEventHandler, mn as MergeHandler, mt as MutateDocumentWithOperationsVariables, n as setAttachmentService, nn as isoStringFromDateTime, nt as subscriptionsUrlFromGraphqlUrl, o as useDocumentOperations, on as ConflictInfo, ot as prepareSignedActions, p as addFullReactorClientEventHandler, pn as IRemoteController, pt as MutateDocumentWithOperationsResult, q as DocumentChangesEventPayload, qt as queriesUnknownArgument, r as useAttachmentService, rn as phDocumentFromGetDocument, rt as StaticPackageManager, s as useDocumentModelModuleById, sn as ConflictStrategy, st as signStampedAction, t as addAttachmentServiceEventHandler, tn as RevisionsListSelection, tt as startDocumentChangesSubscription, u as UseDispatchResult, un as GetDocumentWithOperationsResult, ut as GetDocumentAtConsistencyResult, v as setFullReactorClient, vn as RemoteDocumentChangeEvent, vt as ensurePHEventHandlers, w as useReactorClient, wn as DocumentCache, wt as GraphQLReactorWriteClient, x as useDatabase, xn as RemoteOperationResultPage, xt as GraphQLReactorClient, y as setReactorClient, yn as RemoteDocumentData, yt as useSwitchboardClient, z as DEFAULT_BREAKER, zt as isNodeFetch } from "./attachment-service-BPJUlGoc.js";
|
|
2
2
|
import { d as MutateDocumentMutation, h as PropagationMode, i as DeleteDocumentsMutation, l as GetDocumentWithOperationsQuery, n as CreateDocumentMutation, o as FindDocumentsQuery, r as DeleteDocumentMutation, t as ActionInput, v as SdkFunctionWrapper } from "./schema-C6ECceaN.js";
|
|
3
|
-
import { a as
|
|
3
|
+
import { a as answerCredentialRefusal, c as setCredentialRefusalHandler, i as ambientRenownTokenProvider, n as CredentialRefusal, o as credentialRefusalOf, r as CredentialRefusalHandler, s as makeAuthMiddleware, t as BearerTokenProvider } from "./auth-Dj81DiN8.js";
|
|
4
4
|
import { a as getAnalyticsStore, i as createAnalyticsStore, n as IPowerhouseAnalytics, r as CreateStoreOptions } from "./types-520nWrB3.js";
|
|
5
5
|
import { $ as IPackageListerUnsubscribe, A as invalidateDriveNodes, At as PHGlobalConfigKey, B as bindPHStoreToWindow, Bt as IOperationCache, C as WorkerReactorModule, Ct as PHDocumentEditorConfigHooks, D as addDriveNodesEventHandler, Dt as PHGlobalConfig, E as DriveNodesOptions, Et as PHDrivesGlobalConfig, F as useDriveNode, Ft as DocumentRefetchState, G as getPHStoreSubscribe, H as ensurePHStore, Ht as PromiseState, I as useDriveNodes, It as DocumentsOfTypeEntry, J as usePHStore, K as notifyPHStore, L as useDriveNodesCache, Lt as FulfilledPromise, M as markLocalDriveWrite, Mt as PHGlobalConfigSettersForKey, N as peekDriveNode, Nt as PHRenownGlobalConfig, O as dropDriveNode, Ot as PHGlobalConfigHooks, P as takeLocalDriveWrite, Pt as DocumentDispatch, Q as useDropNode, R as PHStore, Rt as IDocumentCache, S as WorkerReactorClientModule, St as PHDocumentEditorConfig, T as DriveNodesEntry, Tt as PHDocumentEditorConfigSetters, U as getActivePHStore, Ut as PromiseWithState, V as createPHStore, Vt as OperationsCacheEntry, W as getPHStore, Wt as RejectedPromise, X as addDraggingNodeEventHandler, Y as DraggingNode, Z as useDragNode, _ as SearchParamsUpdate, _t as PHAppConfig, a as LOADING, at as PHToastType, b as SetSearchParams, bt as PHAppConfigSetters, c as PHGlobal, ct as TimelineItem, d as PHGlobalValue, dt as FailedInstallation, et as IPackageManager, f as PHNavigateOptions, ft as FailedInstallationReason, g as PHSettingsTarget, gt as FullPHGlobalConfig, h as PHSearchUpdate, ht as PHModal, i as BrowserReactorModule, it as PHToastOptions, j as loadDriveNodes, jt as PHGlobalConfigSetters, k as getDriveNode, kt as PHGlobalConfigHooksForKey, l as PHGlobalEventHandlerAdders, lt as DiscoveryEvent, m as PHNavigationTarget, mt as PendingInstallation, n as BackendAuthState, nt as PackageManagerInstallResult, o as LocalSignInState, ot as TimelineBarItem, p as PHNavigation, pt as IPackageDiscoveryService, q as subscribePHStore, r as BrowserReactorClientModule, rt as PHToastFn, s as PHDriveTarget, st as TimelineDividerItem, t as AddPHGlobalEventHandler, tt as IPackagesListener, u as PHGlobalKey, ut as DiscoveryEventListener, v as SetEvent, vt as PHAppConfigHooks, w as DriveNodesCache, wt as PHDocumentEditorConfigKey, x as UsePHGlobalValue, xt as PHCommonGlobalConfig, y as SetPHGlobalValue, yt as PHAppConfigKey, z as PHStoreProvider, zt as IDocumentTypeCache } from "./global-DMTXzdRf.js";
|
|
6
6
|
import { a as IReactorBrowserReadClient, i as IReactorBrowserClient, n as SwitchboardEntry, o as IReactorBrowserWriteClient, r as SwitchboardWorkflows, s as ReactorBrowserHalves, t as SwitchboardDirectory } from "./switchboards-D-_JBUbF.js";
|
|
@@ -51,6 +51,10 @@ type DriveInfo = {
|
|
|
51
51
|
* provider already answers `undefined` when logged out, and an open
|
|
52
52
|
* switchboard serves that anonymously exactly as before.
|
|
53
53
|
*
|
|
54
|
+
* A credential the switchboard refuses goes to the app's refusal handler, as
|
|
55
|
+
* the GraphQL clients' does (a browser pseudonym the switchboard has not seen
|
|
56
|
+
* is enrolled there), and the request goes once more as it says.
|
|
57
|
+
*
|
|
54
58
|
* A failure throws `DriveRequestError` carrying the status, so
|
|
55
59
|
* `isDriveAuthError` can tell a refusal from an unreachable host and the
|
|
56
60
|
* caller can prompt for a login instead of reporting a network fault.
|
|
@@ -1846,6 +1850,6 @@ export declare function getUserPermissions(): {
|
|
|
1846
1850
|
//#region src/utils/validate-document.d.ts
|
|
1847
1851
|
export declare const validateDocument: (document: PHDocument$1) => ValidationError[];
|
|
1848
1852
|
//#endregion
|
|
1849
|
-
export { type AddPHGlobalEventHandler, type BackendAuthState, BatchJobFailedError, BearerTokenProvider, type BrowserIdentity, type BrowserIdentityOptions, type BrowserReactorClientModule, type BrowserReactorModule, type BulkImportJob, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, type ConflictInfo, type ConflictResolution, type ConflictStrategy, ConnectionParams, type ConnectionState, type ConnectionStateSnapshot, CopyIcon, CreateStoreOptions, CredentialRefusal, CredentialRefusalHandler, DEFAULT_BATCH_REQUEST_TIMEOUT_MS, DEFAULT_BREAKER, DEFAULT_DRIVE_ID, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, DROPPED_CREDENTIAL_REASONS, type Database, type DelegationClaims, type DelegationScope, type DesktopShell, DisconnectIcon, type DiscoveryEvent, type DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentChangesEventPayload, DocumentChangesSubscriptionOptions, type DocumentDispatch, DocumentIntegrityService, DocumentOperationsResult, type DocumentRefetchState, type DocumentTypeIcon, type DocumentsOfTypeEntry, DraggingNode, DriveCollectionId, DriveIdCall, type DriveInfo, DriveNodeQueries, DriveNodesCache, DriveNodesEntry, DriveNodesOptions, type FailedInstallation, type FailedInstallationReason, type FileUploadProgress, type FileUploadProgressCallback, type FolderZipResult, type FulfilledPromise, type FullPHGlobalConfig, GET_MANY_CHUNK_SIZE, GetDocumentAtConsistencyDocument, GetDocumentAtConsistencyResult, GetDocumentAtConsistencyVariables, GetDocumentQueryFields, GetDocumentQueryResult, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, type GraphQLClientDocumentEvent, type GraphQLClientDocumentsEvent, type GraphQLClientWindowEvents, type GraphQLDocumentEventOperationName, type GraphQLDocumentEvents, type GraphQLDocumentEventsOperationName, type GraphQLDocumentsEvents, GraphQLDriveNodeSource, GraphQLDriveReadClient, GraphQLFetch, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorClientOptions, GraphQLReactorProvider, GraphQLReactorProviderProps, GraphQLReactorReadClient, GraphQLReactorWriteClient, GraphQLRequestOptions, GraphQLWrongBackendError, type IChannel, IDLE_DOCUMENTS_OF_TYPE_ENTRY, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, type IDocumentCache, IDocumentCacheReader, type IDocumentModelLoader, type IDocumentTypeCache, IJobChangesSocket, type IOperationCache, type IPackageDiscoveryService, type IPackageListerUnsubscribe, type IPackageManager, type IPackagesListener, type IPeerAgreement, type IProcessor, type IProcessorHostModule, type IProcessorHostModuleBase, type IQueue, type IReactorBrowserClient, type IReactorBrowserReadClient, type IReactorBrowserWriteClient, type IReactorClient, type IReactorReadClient, type IReactorWriteClient, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, type Job, JobChangesEventPayload, JobChangesSocketOptions, JobFailedError, type JwtHandler, type KeyframeValidationIssue, type LOADING, LOCAL_SIGN_IN_RENEW_DAYS, type LocalSignIn, type LocalSignInAnswer, type LocalSignInEndpoint, type LocalSignInIssued, type LocalSignInOptions, type LocalSignInRefused, type LocalSignInState, type MergeHandler, MutateDocumentWithOperationsDocument, MutateDocumentWithOperationsResult, MutateDocumentWithOperationsVariables, type NodeKind, type OperationWithContext, type OperationsCacheEntry, type PHAppConfig, type PHAppConfigHooks, type PHAppConfigKey, type PHAppConfigSetters, type PHCommonGlobalConfig, type PHDocumentEditorConfig, type PHDocumentEditorConfigHooks, type PHDocumentEditorConfigKey, type PHDocumentEditorConfigSetters, type PHDriveTarget, type PHDrivesGlobalConfig, type PHGlobal, type PHGlobalConfig, type PHGlobalConfigHooks, type PHGlobalConfigHooksForKey, type PHGlobalConfigKey, type PHGlobalConfigSetters, type PHGlobalConfigSettersForKey, type PHGlobalEventHandlerAdders, type PHGlobalKey, type PHGlobalValue, type PHModal, type PHNavigateOptions, type PHNavigation, type PHNavigationTarget, type PHRenownGlobalConfig, type PHSearchUpdate, type PHSettingsTarget, PHStore, PHStoreProvider, type PHToastFn, type PHToastOptions, type PHToastType, type PackageManagerInstallResult, type PendingInstallation, PollBehavior, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, type PromiseState, type PromiseWithState, PropagationMode, type PublishEvent, type PushResult, QueryCallbackReturnType, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, RENOWN_NETWORK_ID, RENOWN_RETURN_URL_STRIPPED_PARAMS, RENOWN_URL, type ReactorBrowserHalves, ReactorBuilder, ReactorClientBuilder, type ReactorFeatureFlags, type ReactorGraphQLClient, ReactorOperationFieldsFragmentDoc, type RebuildResult, type RejectedPromise, RelationalDbOptions, RelationalDbProcessor, RelationalDbWithLive, type Remote, type RemoteControllerGraphQLClient, type RemoteControllerOptions, type RemoteDocumentControllerWith, type RemoteDocumentData, type RemoteFilter, type RemoteMeta, type RemoteOperation, type RemoteOperationResultPage, type RemotePeer, Renown, RenownAuth, RenownAuthAsync, RenownAuthButton, type RenownAuthButtonProps, RenownAuthResolution, RenownAuthStatus, type RenownInitOptions, type RenownInitialAuth, RenownInitialUserProvider, type RenownInitialUserProviderProps, RenownLoginButton, type RenownLoginButtonProps, type RenownLoginMethod, RenownLogo, type RenownProps, RenownProvider, type RenownProviderProps, type RenownSessionCookieOptions, type RenownSessionCookieState, RenownUserButton, type RenownUserButtonMenuItem, type RenownUserButtonProps, RenownWalletProvider, type RenownWalletProviderProps, RevisionsListSelection, type RunDocumentOptions, type SdkFunctionWrapper, type SearchParamsUpdate, type SetEvent, type SetPHGlobalValue, type SetSearchParams, type SignInFragment, type SignerConfig, type SnapshotValidationIssue, SpinnerIcon, StaticPackageManager, SubgraphSdkFactory, SubgraphSdkRegistry, SwitchboardBackend, SwitchboardBackendDescriptor, SwitchboardBreaker, type SwitchboardDirectory, type SwitchboardEntry, SwitchboardUnreachableError, type SwitchboardWorkflows, type SyncHold, type SyncOperation, SyncOperationStatus, type SyncStatus, type TStateSchemaZodObject, type TimelineBarItem, type TimelineDividerItem, type TimelineItem, type TrackedAction, TypedGraphQLDocument, UseDispatchResult, UseDocumentOperationsOptions, type UseOnDropFile, type UsePHGlobalValue, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, type ValidationResult, type WorkerReactorClientModule, type WorkerReactorModule, type WriteHandle, type WriteReceipt, addAttachmentServiceEventHandler, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDriveNodesEventHandler, addFullReactorClientEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addReactorHalvesEventHandler, addRenownEventHandler, ambientRenownSigner, ambientRenownTokenProvider, baseDocumentModels, baseDocumentModelsMap, bindPHStoreToWindow, createAnalyticsStore, createBrowserIdentity, createClient, createDelegation, createDispatch, createGraphQLDriveNodeSource, createJobChangesSocket, createLocalSignIn, createPHStore, createProcessorQuery, createSwitchboardBackend, credentialEndsWithin, credentialRefusalHandler, credentialRefusalOf, decodeDelegation, describeGraphQLDocument, desktopShell, dispatchActions, dropDriveNode, ensurePHEventHandlers, ensurePHStore, exchangeLocalSignIn, findIsServableOverGraphQL, getActivePHStore, getAnalyticsStore, getDriveNode, getFullReactorClient, getPHStore, getPHStoreSubscribe, globalFetch, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, initRenownCrypto, invalidateDriveNodes, isAuthRefusalClose, isDeadlineError, isDocumentTypeCache, isDriveAuthError, isGraphQLReactorClient, isNodeFetch, isOperationCache, isoStringFromDateTime, loadDriveNodes, localSignInAvailable, login, logout, makeAuthConnectionParams, makeAuthMiddleware, markLocalDriveWrite, notifyPHStore, openRenown, packageFromDocumentModels, peekDriveNode, phDocumentFromGetDocument, phDocumentFromMutation, prepareSignedActions, queriesUnknownArgument, queriesUnknownField, readPromiseState, renewLocalSignIn, resolveDocumentModelModule, revisionMapFromRevisionsList, setAttachmentService, setCredentialRefusalHandler, setDocumentCache, setFullReactorClient, setReactorClient, setReactorClientModule, setRenown, signStampedAction, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscribePHStore, subscriptionsUrlFromGraphqlUrl, switchboardBaseOf, switchboardFetch, takeLocalDriveWrite, toLegacyNode, useAttachmentService, useDatabase, useDid, useDispatch, useDocument, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOperations, useDocumentSafe, useDocuments, useDragNode, useDriveNode, useDriveNodes, useDriveNodesCache, useDropNode, useGetDocument, useGetDocumentAsync, useGetDocuments, useLoginStatus, useModelRegistry, usePGlite, usePHStore, useReactorClient, useReactorClientModule, useReactorHalves, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAuth, useRenownAuthAsync, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownSessionCookie, useRenownSessionSynced, useRenownWalletAdapter, useSwitchboardClient, useSync, useSyncList, useUser, viewFilterInputFromViewFilter, withRequestDeadline, withStreamedBodies };
|
|
1853
|
+
export { type AddPHGlobalEventHandler, type BackendAuthState, BatchJobFailedError, BearerTokenProvider, type BrowserIdentity, type BrowserIdentityOptions, type BrowserReactorClientModule, type BrowserReactorModule, type BulkImportJob, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, type ConflictInfo, type ConflictResolution, type ConflictStrategy, ConnectionParams, type ConnectionState, type ConnectionStateSnapshot, CopyIcon, CreateStoreOptions, CredentialRefusal, CredentialRefusalHandler, DEFAULT_BATCH_REQUEST_TIMEOUT_MS, DEFAULT_BREAKER, DEFAULT_DRIVE_ID, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, DROPPED_CREDENTIAL_REASONS, type Database, type DelegationClaims, type DelegationScope, type DesktopShell, DisconnectIcon, type DiscoveryEvent, type DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentChangesEventPayload, DocumentChangesSubscriptionOptions, type DocumentDispatch, DocumentIntegrityService, DocumentOperationsResult, type DocumentRefetchState, type DocumentTypeIcon, type DocumentsOfTypeEntry, DraggingNode, DriveCollectionId, DriveIdCall, type DriveInfo, DriveNodeQueries, DriveNodesCache, DriveNodesEntry, DriveNodesOptions, type FailedInstallation, type FailedInstallationReason, type FileUploadProgress, type FileUploadProgressCallback, type FolderZipResult, type FulfilledPromise, type FullPHGlobalConfig, GET_MANY_CHUNK_SIZE, GetDocumentAtConsistencyDocument, GetDocumentAtConsistencyResult, GetDocumentAtConsistencyVariables, GetDocumentQueryFields, GetDocumentQueryResult, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, type GraphQLClientDocumentEvent, type GraphQLClientDocumentsEvent, type GraphQLClientWindowEvents, type GraphQLDocumentEventOperationName, type GraphQLDocumentEvents, type GraphQLDocumentEventsOperationName, type GraphQLDocumentsEvents, GraphQLDriveNodeSource, GraphQLDriveReadClient, GraphQLFetch, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorClientOptions, GraphQLReactorProvider, GraphQLReactorProviderProps, GraphQLReactorReadClient, GraphQLReactorWriteClient, GraphQLRequestOptions, GraphQLWrongBackendError, type IChannel, IDLE_DOCUMENTS_OF_TYPE_ENTRY, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, type IDocumentCache, IDocumentCacheReader, type IDocumentModelLoader, type IDocumentTypeCache, IJobChangesSocket, type IOperationCache, type IPackageDiscoveryService, type IPackageListerUnsubscribe, type IPackageManager, type IPackagesListener, type IPeerAgreement, type IProcessor, type IProcessorHostModule, type IProcessorHostModuleBase, type IQueue, type IReactorBrowserClient, type IReactorBrowserReadClient, type IReactorBrowserWriteClient, type IReactorClient, type IReactorReadClient, type IReactorWriteClient, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, type Job, JobChangesEventPayload, JobChangesSocketOptions, JobFailedError, type JwtHandler, type KeyframeValidationIssue, type LOADING, LOCAL_SIGN_IN_RENEW_DAYS, type LocalSignIn, type LocalSignInAnswer, type LocalSignInEndpoint, type LocalSignInIssued, type LocalSignInOptions, type LocalSignInRefused, type LocalSignInState, type MergeHandler, MutateDocumentWithOperationsDocument, MutateDocumentWithOperationsResult, MutateDocumentWithOperationsVariables, type NodeKind, type OperationWithContext, type OperationsCacheEntry, type PHAppConfig, type PHAppConfigHooks, type PHAppConfigKey, type PHAppConfigSetters, type PHCommonGlobalConfig, type PHDocumentEditorConfig, type PHDocumentEditorConfigHooks, type PHDocumentEditorConfigKey, type PHDocumentEditorConfigSetters, type PHDriveTarget, type PHDrivesGlobalConfig, type PHGlobal, type PHGlobalConfig, type PHGlobalConfigHooks, type PHGlobalConfigHooksForKey, type PHGlobalConfigKey, type PHGlobalConfigSetters, type PHGlobalConfigSettersForKey, type PHGlobalEventHandlerAdders, type PHGlobalKey, type PHGlobalValue, type PHModal, type PHNavigateOptions, type PHNavigation, type PHNavigationTarget, type PHRenownGlobalConfig, type PHSearchUpdate, type PHSettingsTarget, PHStore, PHStoreProvider, type PHToastFn, type PHToastOptions, type PHToastType, type PackageManagerInstallResult, type PendingInstallation, PollBehavior, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, type PromiseState, type PromiseWithState, PropagationMode, type PublishEvent, type PushResult, QueryCallbackReturnType, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, RENOWN_NETWORK_ID, RENOWN_RETURN_URL_STRIPPED_PARAMS, RENOWN_URL, type ReactorBrowserHalves, ReactorBuilder, ReactorClientBuilder, type ReactorFeatureFlags, type ReactorGraphQLClient, ReactorOperationFieldsFragmentDoc, type RebuildResult, type RejectedPromise, RelationalDbOptions, RelationalDbProcessor, RelationalDbWithLive, type Remote, type RemoteControllerGraphQLClient, type RemoteControllerOptions, type RemoteDocumentControllerWith, type RemoteDocumentData, type RemoteFilter, type RemoteMeta, type RemoteOperation, type RemoteOperationResultPage, type RemotePeer, Renown, RenownAuth, RenownAuthAsync, RenownAuthButton, type RenownAuthButtonProps, RenownAuthResolution, RenownAuthStatus, type RenownInitOptions, type RenownInitialAuth, RenownInitialUserProvider, type RenownInitialUserProviderProps, RenownLoginButton, type RenownLoginButtonProps, type RenownLoginMethod, RenownLogo, type RenownProps, RenownProvider, type RenownProviderProps, type RenownSessionCookieOptions, type RenownSessionCookieState, RenownUserButton, type RenownUserButtonMenuItem, type RenownUserButtonProps, RenownWalletProvider, type RenownWalletProviderProps, RevisionsListSelection, type RunDocumentOptions, type SdkFunctionWrapper, type SearchParamsUpdate, type SetEvent, type SetPHGlobalValue, type SetSearchParams, type SignInFragment, type SignerConfig, type SnapshotValidationIssue, SpinnerIcon, StaticPackageManager, SubgraphSdkFactory, SubgraphSdkRegistry, SwitchboardBackend, SwitchboardBackendDescriptor, SwitchboardBreaker, type SwitchboardDirectory, type SwitchboardEntry, SwitchboardUnreachableError, type SwitchboardWorkflows, type SyncHold, type SyncOperation, SyncOperationStatus, type SyncStatus, type TStateSchemaZodObject, type TimelineBarItem, type TimelineDividerItem, type TimelineItem, type TrackedAction, TypedGraphQLDocument, UseDispatchResult, UseDocumentOperationsOptions, type UseOnDropFile, type UsePHGlobalValue, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, type ValidationResult, type WorkerReactorClientModule, type WorkerReactorModule, type WriteHandle, type WriteReceipt, addAttachmentServiceEventHandler, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDriveNodesEventHandler, addFullReactorClientEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addReactorHalvesEventHandler, addRenownEventHandler, ambientRenownSigner, ambientRenownTokenProvider, answerCredentialRefusal, baseDocumentModels, baseDocumentModelsMap, bindPHStoreToWindow, createAnalyticsStore, createBrowserIdentity, createClient, createDelegation, createDispatch, createGraphQLDriveNodeSource, createJobChangesSocket, createLocalSignIn, createPHStore, createProcessorQuery, createSwitchboardBackend, credentialEndsWithin, credentialRefusalHandler, credentialRefusalOf, decodeDelegation, describeGraphQLDocument, desktopShell, dispatchActions, dropDriveNode, ensurePHEventHandlers, ensurePHStore, exchangeLocalSignIn, findIsServableOverGraphQL, getActivePHStore, getAnalyticsStore, getDriveNode, getFullReactorClient, getPHStore, getPHStoreSubscribe, globalFetch, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, initRenownCrypto, invalidateDriveNodes, isAuthRefusalClose, isDeadlineError, isDocumentTypeCache, isDriveAuthError, isGraphQLReactorClient, isNodeFetch, isOperationCache, isoStringFromDateTime, loadDriveNodes, localSignInAvailable, login, logout, makeAuthConnectionParams, makeAuthMiddleware, markLocalDriveWrite, notifyPHStore, openRenown, packageFromDocumentModels, peekDriveNode, phDocumentFromGetDocument, phDocumentFromMutation, prepareSignedActions, queriesUnknownArgument, queriesUnknownField, readPromiseState, renewLocalSignIn, resolveDocumentModelModule, revisionMapFromRevisionsList, setAttachmentService, setCredentialRefusalHandler, setDocumentCache, setFullReactorClient, setReactorClient, setReactorClientModule, setRenown, signStampedAction, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscribePHStore, subscriptionsUrlFromGraphqlUrl, switchboardBaseOf, switchboardFetch, takeLocalDriveWrite, toLegacyNode, useAttachmentService, useDatabase, useDid, useDispatch, useDocument, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOperations, useDocumentSafe, useDocuments, useDragNode, useDriveNode, useDriveNodes, useDriveNodesCache, useDropNode, useGetDocument, useGetDocumentAsync, useGetDocuments, useLoginStatus, useModelRegistry, usePGlite, usePHStore, useReactorClient, useReactorClientModule, useReactorHalves, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAuth, useRenownAuthAsync, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownSessionCookie, useRenownSessionSynced, useRenownWalletAdapter, useSwitchboardClient, useSync, useSyncList, useUser, viewFilterInputFromViewFilter, withRequestDeadline, withStreamedBodies };
|
|
1850
1854
|
export {};
|
|
1851
1855
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/actions/drive-info.ts","../src/actions/document.ts","../src/actions/bulk-archive.ts","../src/actions/folder-zip.ts","../src/actions/drive.ts","../src/constants.ts","../src/errors.ts","../src/global/types.ts","../src/global/core.ts","../src/graphql/adapters.ts","../src/graphql/fetchers.ts","../src/graphql/graphql-client-document-cache.ts","../src/graphql/mutators.ts","../src/hooks/add-ph-event-handlers.ts","../src/hooks/allowed-document-model-modules.ts","../src/hooks/child-nodes.ts","../src/hooks/config/connect.ts","../src/hooks/config/editor.ts","../src/hooks/config/set-config-by-key.ts","../src/hooks/config/set-config-by-object.ts","../src/hooks/config/use-value-by-key.ts","../src/hooks/config/utils.ts","../src/hooks/drives.ts","../src/hooks/loading.ts","../src/hooks/connection-state.ts","../src/hooks/document-by-id.ts","../src/hooks/link-props.ts","../src/hooks/document-link.ts","../src/hooks/documents-of-type.ts","../src/hooks/document-of-type.ts","../src/hooks/document-types.ts","../src/hooks/document-version-status.ts","../src/hooks/download-document.ts","../src/hooks/download-folder.ts","../src/hooks/drive-by-id.ts","../src/hooks/drive-context.tsx","../src/hooks/editor-context.tsx","../src/hooks/editor-modules.ts","../src/hooks/use-editor-preloader.ts","../src/hooks/features.ts","../src/hooks/file-drag-and-drop.ts","../src/hooks/folder-by-id.ts","../src/hooks/graphql-reactor-client.ts","../src/hooks/init-graphql-reactor-client.ts","../src/hooks/items-in-selected-drive.ts","../src/hooks/items-in-selected-folder.ts","../src/hooks/make-ph-event-functions.ts","../src/hooks/modals.ts","../src/hooks/node-actions.ts","../src/hooks/node-by-id.ts","../src/hooks/node-path.ts","../src/hooks/package-discovery.ts","../src/hooks/parent-folder.ts","../src/hooks/revision-history.ts","../src/hooks/selected-document.ts","../src/hooks/navigation.ts","../src/hooks/url-state.ts","../src/hooks/selected-drive.ts","../src/hooks/selected-folder.ts","../src/hooks/set-selected-node.ts","../src/hooks/selected-node.ts","../src/hooks/selected-timeline-item.ts","../src/hooks/subgraph-modules.ts","../src/hooks/supported-document-types.ts","../src/hooks/theme.ts","../src/hooks/timeline-revision.ts","../src/hooks/toast.ts","../src/hooks/use-can-execute.ts","../src/hooks/use-drive-system-info.ts","../src/hooks/use-editor-file-drop.ts","../src/hooks/use-get-switchboard-link.ts","../src/types/upload.ts","../src/hooks/use-on-drop-file.ts","../src/hooks/user-permissions.ts","../src/hooks/vetra-packages.ts","../src/hooks/switchboards.ts","../src/hooks/close-node.ts","../src/hooks/attachment-progress.ts","../src/hooks/use-attachments.ts","../src/hooks/backend-auth.ts","../src/hooks/local-sign-in.ts","../src/pglite/drop.ts","../src/pglite/usePGlite.ts","../src/reactor.ts","../src/routing/drive-arrivals.ts","../src/routing/resolve-drive-route.ts","../src/registry/types.ts","../src/registry/client.ts","../src/registry/fetchers.ts","../src/remote-controller/action-tracker.ts","../src/remote-controller/remote-client.ts","../src/remote-controller/remote-controller.ts","../src/remote-controller/utils.ts","../src/storage/base-storage.ts","../src/storage/local-storage.ts","../src/storage/types.ts","../src/types/reactor.ts","../src/types/processor-host-module.ts","../src/utils/documents.ts","../src/utils/drives.ts","../src/utils/download-document.ts","../src/utils/get-revision-from-date.ts","../src/utils/nodes.ts","../src/utils/preload-editor.ts","../src/utils/switchboard.ts","../src/utils/switchboard-directory.ts","../src/utils/upgrade-preview.ts","../src/utils/url.ts","../src/utils/user.ts","../src/utils/validate-document.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAaY;EACV;EACA;EACA;EACA;EACA,MAAM;EACN;;;;;;;;;;;;;;;;;;;;;wBAsBoB,eACpB,aACA,gBAAe,sBACd,QAAQ;;;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;wBAOxB,SAAS;;wBAST,cAAc;wBAQd,sBAAsB;;;;;wBAQtB,yBAAyB;wBAMzB,uBAAuB;;;wBCtIvB;EAAA;EAAA;;;;qBCUH,mBAAgB,UAAc,iBAAU"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/actions/drive-info.ts","../src/actions/document.ts","../src/actions/bulk-archive.ts","../src/actions/folder-zip.ts","../src/actions/drive.ts","../src/constants.ts","../src/errors.ts","../src/global/types.ts","../src/global/core.ts","../src/graphql/adapters.ts","../src/graphql/fetchers.ts","../src/graphql/graphql-client-document-cache.ts","../src/graphql/mutators.ts","../src/hooks/add-ph-event-handlers.ts","../src/hooks/allowed-document-model-modules.ts","../src/hooks/child-nodes.ts","../src/hooks/config/connect.ts","../src/hooks/config/editor.ts","../src/hooks/config/set-config-by-key.ts","../src/hooks/config/set-config-by-object.ts","../src/hooks/config/use-value-by-key.ts","../src/hooks/config/utils.ts","../src/hooks/drives.ts","../src/hooks/loading.ts","../src/hooks/connection-state.ts","../src/hooks/document-by-id.ts","../src/hooks/link-props.ts","../src/hooks/document-link.ts","../src/hooks/documents-of-type.ts","../src/hooks/document-of-type.ts","../src/hooks/document-types.ts","../src/hooks/document-version-status.ts","../src/hooks/download-document.ts","../src/hooks/download-folder.ts","../src/hooks/drive-by-id.ts","../src/hooks/drive-context.tsx","../src/hooks/editor-context.tsx","../src/hooks/editor-modules.ts","../src/hooks/use-editor-preloader.ts","../src/hooks/features.ts","../src/hooks/file-drag-and-drop.ts","../src/hooks/folder-by-id.ts","../src/hooks/graphql-reactor-client.ts","../src/hooks/init-graphql-reactor-client.ts","../src/hooks/items-in-selected-drive.ts","../src/hooks/items-in-selected-folder.ts","../src/hooks/make-ph-event-functions.ts","../src/hooks/modals.ts","../src/hooks/node-actions.ts","../src/hooks/node-by-id.ts","../src/hooks/node-path.ts","../src/hooks/package-discovery.ts","../src/hooks/parent-folder.ts","../src/hooks/revision-history.ts","../src/hooks/selected-document.ts","../src/hooks/navigation.ts","../src/hooks/url-state.ts","../src/hooks/selected-drive.ts","../src/hooks/selected-folder.ts","../src/hooks/set-selected-node.ts","../src/hooks/selected-node.ts","../src/hooks/selected-timeline-item.ts","../src/hooks/subgraph-modules.ts","../src/hooks/supported-document-types.ts","../src/hooks/theme.ts","../src/hooks/timeline-revision.ts","../src/hooks/toast.ts","../src/hooks/use-can-execute.ts","../src/hooks/use-drive-system-info.ts","../src/hooks/use-editor-file-drop.ts","../src/hooks/use-get-switchboard-link.ts","../src/types/upload.ts","../src/hooks/use-on-drop-file.ts","../src/hooks/user-permissions.ts","../src/hooks/vetra-packages.ts","../src/hooks/switchboards.ts","../src/hooks/close-node.ts","../src/hooks/attachment-progress.ts","../src/hooks/use-attachments.ts","../src/hooks/backend-auth.ts","../src/hooks/local-sign-in.ts","../src/pglite/drop.ts","../src/pglite/usePGlite.ts","../src/reactor.ts","../src/routing/drive-arrivals.ts","../src/routing/resolve-drive-route.ts","../src/registry/types.ts","../src/registry/client.ts","../src/registry/fetchers.ts","../src/remote-controller/action-tracker.ts","../src/remote-controller/remote-client.ts","../src/remote-controller/remote-controller.ts","../src/remote-controller/utils.ts","../src/storage/base-storage.ts","../src/storage/local-storage.ts","../src/storage/types.ts","../src/types/reactor.ts","../src/types/processor-host-module.ts","../src/utils/documents.ts","../src/utils/drives.ts","../src/utils/download-document.ts","../src/utils/get-revision-from-date.ts","../src/utils/nodes.ts","../src/utils/preload-editor.ts","../src/utils/switchboard.ts","../src/utils/switchboard-directory.ts","../src/utils/upgrade-preview.ts","../src/utils/url.ts","../src/utils/user.ts","../src/utils/validate-document.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAeY;EACV;EACA;EACA;EACA;EACA,MAAM;EACN;;;;;;;;;;;;;;;;;;;;;;;;;wBA0BoB,eACpB,aACA,gBAAe,sBACd,QAAQ;;;wBCyIW,qBACpB,UAAU,eACT;wBAyLmB,WAAW,UAAU,cAAY,yBAAsB,eAAA;;;;;;wB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AAuB;;;wBCtIvB;EAAA;EAAA;;;;qBCUH,mBAAgB,UAAc,iBAAU"}
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { a as createPHStore, c as getPHStore, d as subscribePHStore, f as usePHStore, i as bindPHStoreToWindow, l as getPHStoreSubscribe, n as subscribeToPHValue, o as ensurePHStore, r as PHStoreProvider, s as getActivePHStore, t as makePHEventFunctions, u as notifyPHStore } from "./make-ph-event-functions-B5GU5xcR.js";
|
|
2
2
|
import { A as DocumentModelNotFoundError, E as dispatchActions, M as NoSelectedDocumentError, N as OperationRejectedError, P as UnsupportedDocumentTypeError, T as IDLE_REFETCH_STATE, _ as isDocumentTypeCache, a as useDocument, b as DOCUMENT_CHANGE_TYPE, c as useDocuments, d as useGetDocuments, f as DocumentCache, g as addPromiseState, h as IDLE_OPERATIONS_ENTRY, i as setDocumentCache, j as DocumentTypeMismatchError, l as useGetDocument, m as IDLE_DOCUMENTS_OF_TYPE_ENTRY, n as useDispatch, o as useDocumentCache, p as GET_MANY_CHUNK_SIZE, r as addDocumentCacheEventHandler, s as useDocumentSafe, t as createDispatch, u as useGetDocumentAsync, v as isOperationCache, w as DocumentRefetcher, y as readPromiseState } from "./dispatch-Cylwl2Dk.js";
|
|
3
|
-
import { $ as useReactorHalves, A as usePreloadNode, B as addFullReactorClientEventHandler, C as getNodeTarget, E as setSelectedNode, F as useDrives, G as setFullReactorClient, H as addReactorClientModuleEventHandler, I as DriveProvider, J as useDatabase, K as setReactorClient, L as useDriveContext, M as useSetSelectedNode, N as addDrivesEventHandler, O as useNodeTarget, P as setDrives, Q as useReactorClientModule, R as isInitialSyncInFlight, T as selectNode, U as addReactorHalvesEventHandler, V as addReactorClientEventHandler, W as getFullReactorClient, X as usePGlite, Y as useModelRegistry, Z as useReactorClient, _ as useSelectedDrive, _t as ambientRenownTokenProvider, a as setVetraPackageManager, at as invalidateDriveNodes, b as useSetSelectedDrive, bt as
|
|
3
|
+
import { $ as useReactorHalves, A as usePreloadNode, B as addFullReactorClientEventHandler, C as getNodeTarget, E as setSelectedNode, F as useDrives, G as setFullReactorClient, H as addReactorClientModuleEventHandler, I as DriveProvider, J as useDatabase, K as setReactorClient, L as useDriveContext, M as useSetSelectedNode, N as addDrivesEventHandler, O as useNodeTarget, P as setDrives, Q as useReactorClientModule, R as isInitialSyncInFlight, T as selectNode, U as addReactorHalvesEventHandler, V as addReactorClientEventHandler, W as getFullReactorClient, X as usePGlite, Y as useModelRegistry, Z as useReactorClient, _ as useSelectedDrive, _t as ambientRenownTokenProvider, a as setVetraPackageManager, at as invalidateDriveNodes, b as useSetSelectedDrive, bt as makeAuthMiddleware, c as addSwitchboardsEventHandler, ct as peekDriveNode, dt as useDriveNodes, et as useSync, f as preloadDrive, ft as useDriveNodesCache, g as usePreloadDrive, gt as sortNodesByName, ht as listAllDriveNodes, i as onVetraPackageManager, it as getDriveNode, k as useOpenNode, l as setSwitchboards, lt as takeLocalDriveWrite, m as setSelectedDrive, mt as isFolderNodeKind, n as useDocumentModelModules, nt as addDriveNodesEventHandler, o as useVetraPackageManager, ot as loadDriveNodes, p as selectDrive, pt as isFileNodeKind, q as setReactorClientModule, r as addVetraPackageManagerEventHandler, rt as dropDriveNode, s as useVetraPackages, st as markLocalDriveWrite, t as useDocumentModelModuleById, tt as useSyncList, u as useSwitchboards, ut as useDriveNode, v as useSelectedDriveId, vt as answerCredentialRefusal, w as preloadNode, x as addResetSelectedNodeEventHandler, xt as setCredentialRefusalHandler, y as useSelectedDriveSafe, yt as credentialRefusalOf, z as listSyncRemotes } from "./document-model-modules-DGwOMfqs.js";
|
|
4
4
|
import { A as openTargetWith, B as extractDriveIdFromSlug, C as getCurrentPathname, D as isGlobalSearchParam, E as hasHostNavigation, F as searchParamsToString, G as findDriveBySlug, H as extractNodeIdFromSlug, I as searchToRecord, J as makeDriveSlug, K as findUuid, L as setBrowserOpenSync, M as preloadTarget, N as recordToSearch, O as isSettingsTarget, P as resolveSearchUpdate, R as setSearchParams, S as browserNavigation, T as getTargetHref, U as extractNodeSlugFromPath, V as extractDriveSlugFromPath, W as findDerivedId, X as resolveUrlPathname, Y as makeNodeSlug, _ as GLOBAL_SEARCH_PARAMS, a as useRenown, b as SETTINGS_PATH, c as RENOWN_INITIAL_UNKNOWN, d as useRenownInitialUser, f as addLoadingEventHandler, g as FEATURE_FLAG_PARAM_PREFIX, h as useLoading, i as useLoginStatus, j as openedFromIndex, k as openTarget, l as RenownInitialUserProvider, m as setLoading, n as setRenown, o as useUser, p as loading, q as getPathWithoutBase, r as useDid, s as RENOWN_INITIAL_ANONYMOUS, t as addRenownEventHandler, u as useRenownInitialAuth, v as OPENED_FROM_STATE_KEY, w as getPHNavigation, x as applySearchUpdate, y as PH_LOCATION_CHANGE_EVENT, z as targetPathname } from "./renown-BXiV_I-t.js";
|
|
5
|
-
import { $ as setDefaultDrivesUrl, $n as setPreferredEditorOnNode, $t as StaticPackageManager, A as useDropNode, An as underSignaturePolicy, At as useAllowedDocumentTypes, B as addDefaultDrivesUrlEventHandler, Bn as addDocument, Bt as ambientRenownSigner, C as setPackageDiscoveryService, Cn as ConflictError, Ct as phAppConfigHooks, D as useGraphQLReactorClient, Dn as hasRevisionConflict, Dt as setAllowedDocumentTypes, E as setGraphQLReactorClient, En as extractRevisionMap, Et as phDocumentEditorConfigSetters, F as addAttachmentServiceEventHandler, Fn as GraphQLOperationNotSupportedError, Ft as isBackendAuthError, G as addRouterBasenameEventHandler, Gn as exportFile, Gt as createJobChangesSocket, H as addIsAddDriveEnabledEventHandler, Hn as addFolder, Ht as findIsServableOverGraphQL, I as setAttachmentService, In as GraphQLWrongBackendError, It as recordBackendAuthError, J as addWarnOutdatedAppEventHandler, Jn as getDocumentExtension, Jt as startDocumentChangesSubscription, K as addStudioModeEventHandler, Kn as extractInitialState, Kt as isAuthRefusalClose, L as useAttachmentService, Ln as JobFailedError, Lt as setBackendAuth, M as addFeaturesEventHandler, Mn as DEFAULT_DRIVE_EDITOR_ID, Mt as useIsExternalControlsEnabled, N as setFeatures, Nn as DRIVE_DOCUMENT_TYPES, Nt as addBackendAuthEventHandler, O as addDraggingNodeEventHandler, On as screamingSnakeToCamel, Ot as setIsDragAndDropEnabled, P as useFeatures, Pn as BatchJobFailedError, Pt as backendAuthStatusOf, Q as setBasePath, Qn as renameNode, Qt as subgraphUrlFromGraphqlUrl, R as addAllowListEventHandler, Rn as queriesUnknownArgument, Rt as useBackendAuth, S as addPackageDiscoveryServiceEventHandler, Sn as revisionMapFromRevisionsList, St as isExternalControlsEnabledEventFunctions, T as addGraphQLReactorClientEventHandler, Tn as convertRemoteOperations, Tt as phDocumentEditorConfigHooks, U as addLogLevelEventHandler, Un as copyNode$1, Ut as isGraphQLReactorClient, V as addDisabledEditorsEventHandler, Vn as addFileWithProgress, Vt as createGraphQLDriveNodeSource, W as addRenownUrlEventHandler, Wn as deleteNode, Wt as viewFilterInputFromViewFilter, X as phGlobalConfigSetters, Xn as moveNode$1, Xt as SubgraphSdkRegistry, Y as phGlobalConfigHooks, Yn as loadFile, Yt as subscriptionsUrlFromGraphqlUrl, Z as setAllowList, Zn as renameDriveNode, Zt as describeGraphQLDocument, _ as setSelectedTimelineRevision, _n as GraphQLDriveReadClient, _r as isPlainClick, _t as useSwitchboardUrl, a as SwitchboardUnreachableError, an as GetDocumentAtConsistencyDocument, ar as closePHModal, at as setStudioMode, b as setSelectedTimelineItem, bn as phDocumentFromGetDocument, br as useSearchParams, bt as addIsDragAndDropEnabledEventHandler, c as ensurePHEventHandlers, cn as readCreateProtocolVersions, cr as modalHref, ct as useAllowList, d as callEventHandlerRegisterFunctions, dn as isDeadlineError, dr as showCreateDocumentModal, dt as useDisabledEditors, en as packageFromDocumentModels, er as upgradeDocument, et as setDisabledEditors, f as commonGlobalEventHandlerFunctions, fn as isNodeFetch, fr as showDeleteNodeModal, ft as useIsAddDriveEnabled, g as addSelectedTimelineRevisionEventHandler, gn as GraphQLDriveNodeSource, gr as withoutModalSearch, gt as useStudioMode, h as usePHToast, hn as withStreamedBodies, hr as usePHModal, ht as useRouterBasename, i as DEFAULT_REQUEST_TIMEOUT_MS, in as stampAction, ir as addModalEventHandler, it as setRouterBasename, j as useDropTarget, jn as COMMON_PACKAGE_ID, jt as useIsDragAndDropEnabled, k as useDragNode, kn as uncreatedDocument, kt as setIsExternalControlsEnabled, l as useSwitchboardClient, ln as readCreateSignaturePolicy, lr as modalSearch, lt as useBasePath, m as setPHToast, mn as withRequestDeadline, mr as useModalLinkProps, mt as useRenownUrl, n as DEFAULT_BATCH_REQUEST_TIMEOUT_MS, nn as prepareSignedActions, nr as isDocumentTypeSupported, nt as setLogLevel, o as createSwitchboardBackend, on as MutateDocumentWithOperationsDocument, or as isRoutedModal, ot as setSwitchboardUrl, p as addToastEventHandler, pn as switchboardFetch, pr as showPHModal, pt as useLogLevel, q as addSwitchboardUrlEventHandler, qn as fetchDocumentOperations, qt as makeAuthConnectionParams, r as DEFAULT_BREAKER, rn as signStampedAction, rr as MODAL_SEARCH_PARAM, rt as setRenownUrl, s as GraphQLReactorProvider, sn as ReactorOperationFieldsFragmentDoc, sr as modalFromSearch, st as setWarnOutdatedApp, t as useDocumentOperations, tn as resolveDocumentModelModule, tr as getUserPermissions, tt as setIsAddDriveEnabled, u as addPHEventHandlers, un as globalFetch, ur as setPHModal, ut as useDefaultDrivesUrl, v as useSelectedTimelineRevision, vn as toLegacyNode, vr as useLinkProps, vt as useWarnOutdatedApp, w as usePackageDiscoveryService, wn as buildPulledDocument, wt as phAppConfigSetters, x as useSelectedTimelineItem, xn as phDocumentFromMutation, xr as useSetSearchParams, xt as addIsExternalControlsEnabledEventHandler, y as addSelectedTimelineItemEventHandler, yn as isoStringFromDateTime, yr as usePHNavigation, yt as addAllowedDocumentTypesEventHandler, z as addBasePathEventHandler, zn as queriesUnknownField, zt as GraphQLReactorClient } from "./document-operations-
|
|
5
|
+
import { $ as setDefaultDrivesUrl, $n as setPreferredEditorOnNode, $t as StaticPackageManager, A as useDropNode, An as underSignaturePolicy, At as useAllowedDocumentTypes, B as addDefaultDrivesUrlEventHandler, Bn as addDocument, Bt as ambientRenownSigner, C as setPackageDiscoveryService, Cn as ConflictError, Ct as phAppConfigHooks, D as useGraphQLReactorClient, Dn as hasRevisionConflict, Dt as setAllowedDocumentTypes, E as setGraphQLReactorClient, En as extractRevisionMap, Et as phDocumentEditorConfigSetters, F as addAttachmentServiceEventHandler, Fn as GraphQLOperationNotSupportedError, Ft as isBackendAuthError, G as addRouterBasenameEventHandler, Gn as exportFile, Gt as createJobChangesSocket, H as addIsAddDriveEnabledEventHandler, Hn as addFolder, Ht as findIsServableOverGraphQL, I as setAttachmentService, In as GraphQLWrongBackendError, It as recordBackendAuthError, J as addWarnOutdatedAppEventHandler, Jn as getDocumentExtension, Jt as startDocumentChangesSubscription, K as addStudioModeEventHandler, Kn as extractInitialState, Kt as isAuthRefusalClose, L as useAttachmentService, Ln as JobFailedError, Lt as setBackendAuth, M as addFeaturesEventHandler, Mn as DEFAULT_DRIVE_EDITOR_ID, Mt as useIsExternalControlsEnabled, N as setFeatures, Nn as DRIVE_DOCUMENT_TYPES, Nt as addBackendAuthEventHandler, O as addDraggingNodeEventHandler, On as screamingSnakeToCamel, Ot as setIsDragAndDropEnabled, P as useFeatures, Pn as BatchJobFailedError, Pt as backendAuthStatusOf, Q as setBasePath, Qn as renameNode, Qt as subgraphUrlFromGraphqlUrl, R as addAllowListEventHandler, Rn as queriesUnknownArgument, Rt as useBackendAuth, S as addPackageDiscoveryServiceEventHandler, Sn as revisionMapFromRevisionsList, St as isExternalControlsEnabledEventFunctions, T as addGraphQLReactorClientEventHandler, Tn as convertRemoteOperations, Tt as phDocumentEditorConfigHooks, U as addLogLevelEventHandler, Un as copyNode$1, Ut as isGraphQLReactorClient, V as addDisabledEditorsEventHandler, Vn as addFileWithProgress, Vt as createGraphQLDriveNodeSource, W as addRenownUrlEventHandler, Wn as deleteNode, Wt as viewFilterInputFromViewFilter, X as phGlobalConfigSetters, Xn as moveNode$1, Xt as SubgraphSdkRegistry, Y as phGlobalConfigHooks, Yn as loadFile, Yt as subscriptionsUrlFromGraphqlUrl, Z as setAllowList, Zn as renameDriveNode, Zt as describeGraphQLDocument, _ as setSelectedTimelineRevision, _n as GraphQLDriveReadClient, _r as isPlainClick, _t as useSwitchboardUrl, a as SwitchboardUnreachableError, an as GetDocumentAtConsistencyDocument, ar as closePHModal, at as setStudioMode, b as setSelectedTimelineItem, bn as phDocumentFromGetDocument, br as useSearchParams, bt as addIsDragAndDropEnabledEventHandler, c as ensurePHEventHandlers, cn as readCreateProtocolVersions, cr as modalHref, ct as useAllowList, d as callEventHandlerRegisterFunctions, dn as isDeadlineError, dr as showCreateDocumentModal, dt as useDisabledEditors, en as packageFromDocumentModels, er as upgradeDocument, et as setDisabledEditors, f as commonGlobalEventHandlerFunctions, fn as isNodeFetch, fr as showDeleteNodeModal, ft as useIsAddDriveEnabled, g as addSelectedTimelineRevisionEventHandler, gn as GraphQLDriveNodeSource, gr as withoutModalSearch, gt as useStudioMode, h as usePHToast, hn as withStreamedBodies, hr as usePHModal, ht as useRouterBasename, i as DEFAULT_REQUEST_TIMEOUT_MS, in as stampAction, ir as addModalEventHandler, it as setRouterBasename, j as useDropTarget, jn as COMMON_PACKAGE_ID, jt as useIsDragAndDropEnabled, k as useDragNode, kn as uncreatedDocument, kt as setIsExternalControlsEnabled, l as useSwitchboardClient, ln as readCreateSignaturePolicy, lr as modalSearch, lt as useBasePath, m as setPHToast, mn as withRequestDeadline, mr as useModalLinkProps, mt as useRenownUrl, n as DEFAULT_BATCH_REQUEST_TIMEOUT_MS, nn as prepareSignedActions, nr as isDocumentTypeSupported, nt as setLogLevel, o as createSwitchboardBackend, on as MutateDocumentWithOperationsDocument, or as isRoutedModal, ot as setSwitchboardUrl, p as addToastEventHandler, pn as switchboardFetch, pr as showPHModal, pt as useLogLevel, q as addSwitchboardUrlEventHandler, qn as fetchDocumentOperations, qt as makeAuthConnectionParams, r as DEFAULT_BREAKER, rn as signStampedAction, rr as MODAL_SEARCH_PARAM, rt as setRenownUrl, s as GraphQLReactorProvider, sn as ReactorOperationFieldsFragmentDoc, sr as modalFromSearch, st as setWarnOutdatedApp, t as useDocumentOperations, tn as resolveDocumentModelModule, tr as getUserPermissions, tt as setIsAddDriveEnabled, u as addPHEventHandlers, un as globalFetch, ur as setPHModal, ut as useDefaultDrivesUrl, v as useSelectedTimelineRevision, vn as toLegacyNode, vr as useLinkProps, vt as useWarnOutdatedApp, w as usePackageDiscoveryService, wn as buildPulledDocument, wt as phAppConfigSetters, x as useSelectedTimelineItem, xn as phDocumentFromMutation, xr as useSetSearchParams, xt as addIsExternalControlsEnabledEventHandler, y as addSelectedTimelineItemEventHandler, yn as isoStringFromDateTime, yr as usePHNavigation, yt as addAllowedDocumentTypesEventHandler, z as addBasePathEventHandler, zn as queriesUnknownField, zt as GraphQLReactorClient } from "./document-operations-CVNMXCjB.js";
|
|
6
6
|
import { a as setGlobal, i as getGlobal, n as getAnalyticsStore, r as clearGlobal, t as createAnalyticsStore } from "./store-DInXcjal.js";
|
|
7
7
|
import { baseDocumentModels, baseDocumentModelsMap } from "./src/document-model.js";
|
|
8
8
|
import { s as PropagationMode } from "./schema-B5lftDPf.js";
|
|
9
9
|
import { t as createClient } from "./client-wwavHFfs.js";
|
|
10
10
|
import { n as setLocalSignIn, r as useLocalSignIn, t as addLocalSignInEventHandler } from "./local-sign-in-D2zVzXgm.js";
|
|
11
|
-
import { _ as EditorDocumentProvider, a as buildDocumentSubgraphUrl, b as useSelectedNode, c as getDriveIdBySlug, d as getSwitchboardGatewayUrlFromDriveUrl, g as useSelectedDocumentSafe, h as useSelectedDocumentOfType, i as buildDocumentSubgraphQuery, l as getSlugFromDriveUrl, m as useSelectedDocumentId, n as createSwitchboardDirectory, o as getDocumentGraphqlQuery, p as useSelectedDocument, r as resolveSwitchboard, s as getDocumentStateSelection, t as SwitchboardLookupError, u as getSwitchboardBaseFromChannelUrl, v as useEditorDocumentContext, x as useNodeById, y as useDocumentOfType } from "./switchboard-directory-
|
|
11
|
+
import { _ as EditorDocumentProvider, a as buildDocumentSubgraphUrl, b as useSelectedNode, c as getDriveIdBySlug, d as getSwitchboardGatewayUrlFromDriveUrl, g as useSelectedDocumentSafe, h as useSelectedDocumentOfType, i as buildDocumentSubgraphQuery, l as getSlugFromDriveUrl, m as useSelectedDocumentId, n as createSwitchboardDirectory, o as getDocumentGraphqlQuery, p as useSelectedDocument, r as resolveSwitchboard, s as getDocumentStateSelection, t as SwitchboardLookupError, u as getSwitchboardBaseFromChannelUrl, v as useEditorDocumentContext, x as useNodeById, y as useDocumentOfType } from "./switchboard-directory-fAZF-Sjv.js";
|
|
12
12
|
import { A as UserIcon, B as DOMAIN_TYPE, C as RenownUserButton, D as DisconnectIcon, E as CopyIcon, F as logout, G as RENOWN_URL, H as RENOWN_CHAIN_ID, I as openRenown, K as VERIFIABLE_CREDENTIAL_EIP712_TYPE, L as CREDENTIAL_SCHEMA_EIP712_TYPE, M as useRenownAuthAsync, N as desktopShell, O as RenownLogo, P as login, R as CREDENTIAL_SUBJECT_TYPE, S as RenownAuthButton, T as ChevronDownIcon, U as RENOWN_NETWORK_ID, V as ISSUER_TYPE, W as RENOWN_RETURN_URL_STRIPPED_PARAMS, _ as Renown, a as DROPPED_CREDENTIAL_REASONS, b as useRenownSessionSynced, c as credentialEndsWithin, d as localSignInAvailable, f as renewLocalSignIn, g as RenownWalletProvider, h as RenownProvider, i as switchboardBaseOf, j as useRenownAuth, k as SpinnerIcon, l as credentialRefusalHandler, m as useRenownLoginMethods, n as decodeDelegation, o as LOCAL_SIGN_IN_RENEW_DAYS, p as useRenownWalletAdapter, r as createBrowserIdentity, s as createLocalSignIn, t as createDelegation, u as exchangeLocalSignIn, v as useRenownInit, w as RenownLoginButton, x as initRenownCrypto, y as useRenownSessionCookie, z as CREDENTIAL_TYPES } from "./renown-BwJ9oWxt.js";
|
|
13
13
|
import { n as useDocumentsByIds, t as useDocumentById } from "./document-by-id-DdvqanGR.js";
|
|
14
14
|
import { i as setPGliteDB, n as useRelationalQuery, r as useRelationalDb, t as createProcessorQuery } from "./relational-DZuyKp2y.js";
|
|
@@ -16,6 +16,7 @@ import { a as getPackagesByDocumentType, c as trimTrailingSlash, i as getPackage
|
|
|
16
16
|
import { use, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
17
17
|
import { DEFAULT_SIGNATURE_POLICY, actionSignerIdentity, actionSigningTarget, createZip, headNewDocument, isDocumentZip, parseBulkArchive, redo, requestedSignaturePolicy, stateReducerOf, toTransportAction, undo, undoCapabilitiesOf, undoNeedsTargets, undoRedoActions, undoRedoTargetsOf, validateInitialState, validateModules, validateStateSchemaName, zipEntries } from "@powerhousedao/shared/document-model";
|
|
18
18
|
import { AuthEnforcementDisabledError, ChannelScheme, DocumentChangeType, DocumentChangeType as DocumentChangeType$1, DocumentIntegrityService, DriveCollectionId, DriveCollectionId as DriveCollectionId$1, DriveRequestError, GqlRequestChannel, InMemoryQueue, IntervalPollTimer, PollBehavior, PropagationMode as PropagationMode$1, REACTOR_SCHEMA, REACTOR_SCHEMA as REACTOR_SCHEMA$1, ReactorBuilder, ReactorClientBuilder, RelationalDbProcessor, SyncEventTypes, SyncOperationStatus, SyncStatus, isDriveAuthError, isDriveAuthError as isDriveAuthError$1 } from "@powerhousedao/reactor";
|
|
19
|
+
import { switchboardOfDrive } from "@powerhousedao/shared/host-tokens";
|
|
19
20
|
import { DriveDocumentSchema, driveDocumentType, getDescendants, getNextCopyNumber, isFileNode, isFolderNode, setAvailableOffline, setDriveIcon, setDriveName, setSharingType } from "@powerhousedao/shared/document-drive";
|
|
20
21
|
import { allPass, filter, find, forEach, funnel, hasAtLeast, isArray, isDefined, isIncludedIn, isStrictEqual, isTruthy, last, map, mapToObj, once, pipe, prop, split, unique } from "remeda";
|
|
21
22
|
import { ClientError } from "graphql-request";
|
|
@@ -38,16 +39,34 @@ import { createAttachmentClient } from "@powerhousedao/reactor-attachments/clien
|
|
|
38
39
|
* provider already answers `undefined` when logged out, and an open
|
|
39
40
|
* switchboard serves that anonymously exactly as before.
|
|
40
41
|
*
|
|
42
|
+
* A credential the switchboard refuses goes to the app's refusal handler, as
|
|
43
|
+
* the GraphQL clients' does (a browser pseudonym the switchboard has not seen
|
|
44
|
+
* is enrolled there), and the request goes once more as it says.
|
|
45
|
+
*
|
|
41
46
|
* A failure throws `DriveRequestError` carrying the status, so
|
|
42
47
|
* `isDriveAuthError` can tell a refusal from an unreachable host and the
|
|
43
48
|
* caller can prompt for a login instead of reporting a network fault.
|
|
44
49
|
*/
|
|
45
50
|
async function fetchDriveInfo(url, tokenProvider = ambientRenownTokenProvider) {
|
|
51
|
+
const send = (token) => fetch(url, { headers: token ? { Authorization: `Bearer ${token}` } : {} });
|
|
46
52
|
const token = await tokenProvider();
|
|
47
|
-
|
|
53
|
+
let response = await send(token);
|
|
54
|
+
if (token && response.status === 401) {
|
|
55
|
+
const handled = await answerRefusal(response, url);
|
|
56
|
+
if (handled === "anonymous") response = await send(void 0);
|
|
57
|
+
if (handled === "again") response = await send(await tokenProvider());
|
|
58
|
+
}
|
|
48
59
|
if (!response.ok) throw new DriveRequestError(`Failed to resolve drive info from ${url}: HTTP ${response.status}`, response.status);
|
|
49
60
|
return await response.json();
|
|
50
61
|
}
|
|
62
|
+
/** The refusal handler's answer to a 401 that names its reason. */
|
|
63
|
+
async function answerRefusal(response, url) {
|
|
64
|
+
const body = await response.json().catch(() => void 0);
|
|
65
|
+
return typeof body?.reason === "string" ? answerCredentialRefusal({
|
|
66
|
+
reason: body.reason,
|
|
67
|
+
url: switchboardOfDrive(url)?.graphql
|
|
68
|
+
}) : void 0;
|
|
69
|
+
}
|
|
51
70
|
//#endregion
|
|
52
71
|
//#region src/actions/bulk-archive.ts
|
|
53
72
|
/**
|
|
@@ -3680,6 +3699,6 @@ var BrowserLocalStorage = class extends BaseStorage {
|
|
|
3680
3699
|
}
|
|
3681
3700
|
};
|
|
3682
3701
|
//#endregion
|
|
3683
|
-
export { ActionTracker, BaseStorage, BatchJobFailedError, BrowserLocalStorage, COMMON_PACKAGE_ID, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, ConflictError, CopyIcon, DEFAULT_BATCH_REQUEST_TIMEOUT_MS, DEFAULT_BREAKER, DEFAULT_DRIVE_EDITOR_ID, DEFAULT_DRIVE_ID, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, DRIVE_ARRIVAL_MAX_WAIT_MS, DRIVE_DOCUMENT_TYPES, DROPPED_CREDENTIAL_REASONS, DisconnectIcon, DocumentCache, DocumentChangeType, DocumentIntegrityService, DocumentModelNotFoundError, DocumentTypeMismatchError, DriveCollectionId, DriveProvider, EDITOR_FILE_DROP_OPT_OUT_ATTR, EditorDocumentProvider, FEATURE_FLAG_PARAM_PREFIX, GET_MANY_CHUNK_SIZE, GLOBAL_SEARCH_PARAMS, GetDocumentAtConsistencyDocument, GqlRequestChannel, GraphQLClientDocumentCache, GraphQLDriveNodeSource, GraphQLDriveReadClient, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorProvider, GraphQLWrongBackendError, IDLE_DOCUMENTS_OF_TYPE_ENTRY, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, JobFailedError, LOCAL_SIGN_IN_RENEW_DAYS, MODAL_SEARCH_PARAM, MutateDocumentWithOperationsDocument, NoSelectedDocumentError, OPENED_FROM_STATE_KEY, OperationRejectedError, PHStoreProvider, PH_LOCATION_CHANGE_EVENT, PREFETCH_WAIT_MS, PollBehavior, PropagationMode, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, RENOWN_NETWORK_ID, RENOWN_RETURN_URL_STRIPPED_PARAMS, RENOWN_URL, REVISION_HISTORY_PAGE_PARAM, REVISION_HISTORY_PARAM, ReactorBuilder, ReactorClientBuilder, ReactorOperationFieldsFragmentDoc, RegistryClient, RelationalDbProcessor, RemoteClient, RemoteDocumentController, Renown, RenownAuthButton, RenownInitialUserProvider, RenownLoginButton, RenownLogo, RenownProvider, RenownUserButton, RenownWalletProvider, SETTINGS_PATH, SpinnerIcon, StaticPackageManager, SubgraphSdkRegistry, SwitchboardLookupError, SwitchboardUnreachableError, SyncOperationStatus, UnsupportedDocumentTypeError, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, addAllowListEventHandler, addAllowedDocumentTypesEventHandler, addAttachmentServiceEventHandler, addBackendAuthEventHandler, addBasePathEventHandler, addDefaultDrivesUrlEventHandler, addDisabledEditorsEventHandler, addDocument, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDrive, addDriveNodesEventHandler, addDrivesEventHandler, addFeaturesEventHandler, addFileWithProgress, addFolder, addFullReactorClientEventHandler, addGraphQLReactorClientEventHandler, addIsAddDriveEnabledEventHandler, addIsDragAndDropEnabledEventHandler, addIsExternalControlsEnabledEventHandler, addLoadingEventHandler, addLocalSignInEventHandler, addLogLevelEventHandler, addModalEventHandler, addPHEventHandlers, addPackageDiscoveryServiceEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addReactorHalvesEventHandler, addRemoteDrive, addRenownEventHandler, addRenownUrlEventHandler, addResetSelectedNodeEventHandler, addRouterBasenameEventHandler, addSelectedTimelineItemEventHandler, addSelectedTimelineRevisionEventHandler, addStudioModeEventHandler, addSwitchboardUrlEventHandler, addSwitchboardsEventHandler, addToastEventHandler, addVetraPackageManagerEventHandler, addWarnOutdatedAppEventHandler, ambientRenownSigner, ambientRenownTokenProvider, applySearchUpdate, backendAuthStatusOf, baseDocumentModels, baseDocumentModelsMap, bindPHStoreToWindow, browserNavigation, buildDocumentSubgraphQuery, buildDocumentSubgraphUrl, buildFolderZip, callEventHandlerRegisterFunctions, callGlobalSetterForKey, clearGlobal, closePHModal, commonGlobalEventHandlerFunctions, convertRemoteOperations, createAnalyticsStore, createBrowserIdentity, createClient, createDelegation, createDispatch, createDriveArrivals, createDriveChangeHandler, createGraphQLDriveNodeSource, createJobChangesSocket, createLocalSignIn, createPHStore, createProcessorQuery, createSwitchboardBackend, createSwitchboardDirectory, credentialEndsWithin, credentialRefusalHandler, credentialRefusalOf, decodeDelegation, deleteDrive, deleteNode, deriveSystemUrl, describeGraphQLDocument, desktopShell, diffStateShapes, dispatchActions, downloadDocument, downloadFolderZip, dropAllReactorStorage, dropDriveNode, ensurePHEventHandlers, ensurePHStore, exchangeLocalSignIn, expandBulkArchive, exportFile, extractDriveIdFromSlug, extractDriveSlugFromPath, extractNodeIdFromSlug, extractNodeSlugFromPath, fetchDrive, fetchDriveInfo, findDerivedId, findDriveBySlug, findDriveBySlugOrId, findIsServableOverGraphQL, findUuid, getActivePHStore, getAnalyticsStore, getAttachmentClient, getCurrentPathname, getDocumentExtension, getDocumentGraphqlQuery, getDocumentStateSelection, getDocumentUpgradePreview, getDocumentVersionStatus, getDrive, getDriveIdBySlug, getDriveName, getDriveNode, getDrives, getFullReactorClient, getGlobal, getNodeTarget, getPHNavigation, getPHStore, getPHStoreSubscribe, getPackageInfo, getPackagePage, getPackages, getPackagesByDocumentType, getPackagesForDocumentType, getPathWithoutBase, getRevisionFromDate, getSlugFromDriveUrl, getSwitchboardBaseFromChannelUrl, getSwitchboardGatewayUrlFromDriveUrl, getSyncStatus, getSyncStatusSync, getTargetHref, getUserPermissions, globalFetch, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, hasHostNavigation, hasPreloadBandwidth, hideRevisionHistory, identifierFromMutateDocumentOperationVariables, initRenownCrypto, initTheme, invalidateDriveNodes, isAuthRefusalClose, isBackendAuthError, isDeadlineError, isDocumentTypeCache, isDocumentTypeSupported, isDriveAuthError, isExternalControlsEnabledEventFunctions, isFileNodeKind, isFolderNodeKind, isGlobalSearchParam, isGraphQLReactorClient, isNodeFetch, isOperationCache, isPlainClick, isRoutedModal, isSettingsTarget, isoStringFromDateTime, listAllDriveNodes, listDriveIds, loadDocumentsOfType, loadDriveNodes, loadFile, loading, localSignInAvailable, login, logout, makeAuthConnectionParams, makeAuthMiddleware, makeDriveSlug, makeNodeSlug, makePHEventFunctions, markLocalDriveWrite, modalFromSearch, modalHref, modalSearch, notifyPHStore, onVetraPackageManager, openRenown, openTarget, openTargetWith, openedFromIndex, packageFromDocumentModels, parseRevisionHistoryPage, peekDriveNode, phAppConfigHooks, phAppConfigSetters, phDocumentEditorConfigHooks, phDocumentEditorConfigSetters, phDocumentFromGetDocument, phDocumentFromMutation, phDocumentFromQuery, phDocumentsFromQuery, phGlobalConfigHooks, phGlobalConfigSetters, prefetchDocument, preloadDrive, preloadDriveApp, preloadEditorModule, preloadNode, preloadTarget, prepareSignedActions, queriesUnknownArgument, queriesUnknownField, reactorGraphqlBatchFetchDocuments, reactorGraphqlCreateDocument, reactorGraphqlDeleteDocument, reactorGraphqlDeleteDocuments, reactorGraphqlFetchDocument, reactorGraphqlMutateDocument, readPromiseState, recordBackendAuthError, recordToSearch, refreshDrive, refreshDriveMembership, refreshReactorData, refreshReactorDataClient, renameDrive, renameDriveNode, renewLocalSignIn, resolveDocumentModelModule, resolveDriveRoute, resolveSearchUpdate, resolveSwitchboard, resolveUrlPathname, revisionMapFromRevisionsList, searchPackages, searchParamsToString, searchToRecord, setAllowList, setAllowedDocumentTypes, setAttachmentService, setBackendAuth, setBasePath, setBrowserOpenSync, setCredentialRefusalHandler, setDefaultDrivesUrl, setDefaultPHGlobalConfig, setDisabledEditors, setDocumentCache, setDriveAvailableOffline, setDriveMetadata, setDriveSharingType, setDrives, setFeatures, setFullReactorClient, setGlobal, setGraphQLReactorClient, setIsAddDriveEnabled, setIsDragAndDropEnabled, setIsExternalControlsEnabled, setLoading, setLocalSignIn, setLogLevel, setPGliteDB, setPHAppConfig, setPHAppConfigByKey, setPHDocumentEditorConfig, setPHDocumentEditorConfigByKey, setPHGlobalConfig, setPHGlobalConfigByKey, setPHModal, setPHToast, setPackageDiscoveryService, setPreferredEditorOnNode, setReactorClient, setReactorClientModule, setRenown, setRenownUrl, setRevisionHistoryPage, setRevisionHistoryVisible, setRouterBasename, setSearchParams, setSelectedDrive, setSelectedNode, setSelectedTimelineItem, setSelectedTimelineRevision, setStudioMode, setSwitchboardUrl, setSwitchboards, setVetraPackageManager, setWarnOutdatedApp, showCreateDocumentModal, showDeleteNodeModal, showPHModal, showRevisionHistory, signStampedAction, sortNodesByName, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscribePHStore, subscribeToPHValue, subscriptionsUrlFromGraphqlUrl, switchboardBaseOf, switchboardFetch, takeLocalDriveWrite, targetPathname, toLegacyNode, trackDriveArrival, trimTrailingSlash, truncateAllTables, untilDriveListed, upgradeDocument, useAllowList, useAllowedDocumentModelModules, useAllowedDocumentTypes, useAppModuleById, useAppModules, useAttachmentPreview, useAttachmentService, useAttachmentUpload, useAttachments, useBackendAuth, useBasePath, useCanExecute, useCloseNode, useConnectionState, useConnectionStates, useDatabase, useDefaultAppModule, useDefaultDrivesUrl, useDid, useDisabledEditors, useDispatch, useDocument, useDocumentById, useDocumentCache, useDocumentLinkProps, useDocumentModelModuleById, useDocumentModelModules, useDocumentOfType, useDocumentOperations, useDocumentSafe, useDocumentTarget, useDocumentTypes, useDocumentTypesInSelectedDrive, useDocumentVersionStatus, useDocuments, useDocumentsByIds, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useDocumentsOfType, useDownloadDocument, useDownloadFolder, useDragNode, useDriveById, useDriveContext, useDriveNode, useDriveNodes, useDriveNodesCache, useDriveSystemInfo, useDrives, useDropFile, useDropNode, useEditorDocumentContext, useEditorFileDrop, useEditorModuleById, useEditorModuleFor, useEditorModules, useEditorModulesForDocumentType, useEditorPreloader, useFallbackEditorModule, useFeatures, useFileNodesInSelectedDrive, useFileNodesInSelectedFolder, useFolderById, useFolderNodesInSelectedDrive, useFolderNodesInSelectedFolder, useGetDocument, useGetDocumentAsync, useGetDocuments, useGetSwitchboardLink, useGraphQLReactorClient, useInitReactorGraphqlClient, useIsAddDriveEnabled, useIsDragAndDropEnabled, useIsExternalControlsEnabled, useLinkProps, useLoading, useLocalSignIn, useLogLevel, useLoginStatus, useModalLinkProps, useModelRegistry, useNodeActions, useNodeById, useNodeParentFolderById, useNodePathById, useNodeTarget, useNodesInSelectedDrive, useNodesInSelectedDriveOrFolder, useNodesInSelectedFolder, useOnDropFile, useOpenNode, usePGlite, usePHAppConfigByKey, usePHDocumentEditorConfigByKey, usePHGlobalConfigByKey, usePHModal, usePHNavigation, usePHStore, usePHToast, usePackageDiscoveryService, useParentFolderForSelectedNode, usePreloadDrive, usePreloadNode, useReactorClient, useReactorClientModule, useReactorHalves, useRelationalDb, useRelationalQuery, useRenown, useRenownAuth, useRenownAuthAsync, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownSessionCookie, useRenownSessionSynced, useRenownUrl, useRenownWalletAdapter, useResetPHGlobalConfig, useRevisionHistoryPage, useRevisionHistoryVisible, useRouterBasename, useSearchParams, useSelectedDocument, useSelectedDocumentId, useSelectedDocumentOfType, useSelectedDocumentSafe, useSelectedDrive, useSelectedDriveId, useSelectedDriveSafe, useSelectedFolder, useSelectedNode, useSelectedNodePath, useSelectedTimelineItem, useSelectedTimelineRevision, useSetDefaultPHGlobalConfig, useSetPHAppConfig, useSetPHDocumentEditorConfig, useSetPHGlobalConfig, useSetSearchParams, useSetSelectedDrive, useSetSelectedNode, useStudioMode, useSubgraphModules, useSupportedDocumentTypesInReactor, useSwitchboardClient, useSwitchboardUrl, useSwitchboards, useSync, useSyncList, useTheme, useUser, useUserPermissions, useVetraPackageManager, useVetraPackages, useWarnOutdatedApp, validateDocument, viewFilterInputFromViewFilter, waitForArrival, waitForDocumentReady, withRequestDeadline, withStreamedBodies, withoutModalSearch };
|
|
3702
|
+
export { ActionTracker, BaseStorage, BatchJobFailedError, BrowserLocalStorage, COMMON_PACKAGE_ID, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, ConflictError, CopyIcon, DEFAULT_BATCH_REQUEST_TIMEOUT_MS, DEFAULT_BREAKER, DEFAULT_DRIVE_EDITOR_ID, DEFAULT_DRIVE_ID, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, DRIVE_ARRIVAL_MAX_WAIT_MS, DRIVE_DOCUMENT_TYPES, DROPPED_CREDENTIAL_REASONS, DisconnectIcon, DocumentCache, DocumentChangeType, DocumentIntegrityService, DocumentModelNotFoundError, DocumentTypeMismatchError, DriveCollectionId, DriveProvider, EDITOR_FILE_DROP_OPT_OUT_ATTR, EditorDocumentProvider, FEATURE_FLAG_PARAM_PREFIX, GET_MANY_CHUNK_SIZE, GLOBAL_SEARCH_PARAMS, GetDocumentAtConsistencyDocument, GqlRequestChannel, GraphQLClientDocumentCache, GraphQLDriveNodeSource, GraphQLDriveReadClient, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorProvider, GraphQLWrongBackendError, IDLE_DOCUMENTS_OF_TYPE_ENTRY, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, JobFailedError, LOCAL_SIGN_IN_RENEW_DAYS, MODAL_SEARCH_PARAM, MutateDocumentWithOperationsDocument, NoSelectedDocumentError, OPENED_FROM_STATE_KEY, OperationRejectedError, PHStoreProvider, PH_LOCATION_CHANGE_EVENT, PREFETCH_WAIT_MS, PollBehavior, PropagationMode, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, RENOWN_NETWORK_ID, RENOWN_RETURN_URL_STRIPPED_PARAMS, RENOWN_URL, REVISION_HISTORY_PAGE_PARAM, REVISION_HISTORY_PARAM, ReactorBuilder, ReactorClientBuilder, ReactorOperationFieldsFragmentDoc, RegistryClient, RelationalDbProcessor, RemoteClient, RemoteDocumentController, Renown, RenownAuthButton, RenownInitialUserProvider, RenownLoginButton, RenownLogo, RenownProvider, RenownUserButton, RenownWalletProvider, SETTINGS_PATH, SpinnerIcon, StaticPackageManager, SubgraphSdkRegistry, SwitchboardLookupError, SwitchboardUnreachableError, SyncOperationStatus, UnsupportedDocumentTypeError, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, addAllowListEventHandler, addAllowedDocumentTypesEventHandler, addAttachmentServiceEventHandler, addBackendAuthEventHandler, addBasePathEventHandler, addDefaultDrivesUrlEventHandler, addDisabledEditorsEventHandler, addDocument, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDrive, addDriveNodesEventHandler, addDrivesEventHandler, addFeaturesEventHandler, addFileWithProgress, addFolder, addFullReactorClientEventHandler, addGraphQLReactorClientEventHandler, addIsAddDriveEnabledEventHandler, addIsDragAndDropEnabledEventHandler, addIsExternalControlsEnabledEventHandler, addLoadingEventHandler, addLocalSignInEventHandler, addLogLevelEventHandler, addModalEventHandler, addPHEventHandlers, addPackageDiscoveryServiceEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addReactorHalvesEventHandler, addRemoteDrive, addRenownEventHandler, addRenownUrlEventHandler, addResetSelectedNodeEventHandler, addRouterBasenameEventHandler, addSelectedTimelineItemEventHandler, addSelectedTimelineRevisionEventHandler, addStudioModeEventHandler, addSwitchboardUrlEventHandler, addSwitchboardsEventHandler, addToastEventHandler, addVetraPackageManagerEventHandler, addWarnOutdatedAppEventHandler, ambientRenownSigner, ambientRenownTokenProvider, answerCredentialRefusal, applySearchUpdate, backendAuthStatusOf, baseDocumentModels, baseDocumentModelsMap, bindPHStoreToWindow, browserNavigation, buildDocumentSubgraphQuery, buildDocumentSubgraphUrl, buildFolderZip, callEventHandlerRegisterFunctions, callGlobalSetterForKey, clearGlobal, closePHModal, commonGlobalEventHandlerFunctions, convertRemoteOperations, createAnalyticsStore, createBrowserIdentity, createClient, createDelegation, createDispatch, createDriveArrivals, createDriveChangeHandler, createGraphQLDriveNodeSource, createJobChangesSocket, createLocalSignIn, createPHStore, createProcessorQuery, createSwitchboardBackend, createSwitchboardDirectory, credentialEndsWithin, credentialRefusalHandler, credentialRefusalOf, decodeDelegation, deleteDrive, deleteNode, deriveSystemUrl, describeGraphQLDocument, desktopShell, diffStateShapes, dispatchActions, downloadDocument, downloadFolderZip, dropAllReactorStorage, dropDriveNode, ensurePHEventHandlers, ensurePHStore, exchangeLocalSignIn, expandBulkArchive, exportFile, extractDriveIdFromSlug, extractDriveSlugFromPath, extractNodeIdFromSlug, extractNodeSlugFromPath, fetchDrive, fetchDriveInfo, findDerivedId, findDriveBySlug, findDriveBySlugOrId, findIsServableOverGraphQL, findUuid, getActivePHStore, getAnalyticsStore, getAttachmentClient, getCurrentPathname, getDocumentExtension, getDocumentGraphqlQuery, getDocumentStateSelection, getDocumentUpgradePreview, getDocumentVersionStatus, getDrive, getDriveIdBySlug, getDriveName, getDriveNode, getDrives, getFullReactorClient, getGlobal, getNodeTarget, getPHNavigation, getPHStore, getPHStoreSubscribe, getPackageInfo, getPackagePage, getPackages, getPackagesByDocumentType, getPackagesForDocumentType, getPathWithoutBase, getRevisionFromDate, getSlugFromDriveUrl, getSwitchboardBaseFromChannelUrl, getSwitchboardGatewayUrlFromDriveUrl, getSyncStatus, getSyncStatusSync, getTargetHref, getUserPermissions, globalFetch, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, hasHostNavigation, hasPreloadBandwidth, hideRevisionHistory, identifierFromMutateDocumentOperationVariables, initRenownCrypto, initTheme, invalidateDriveNodes, isAuthRefusalClose, isBackendAuthError, isDeadlineError, isDocumentTypeCache, isDocumentTypeSupported, isDriveAuthError, isExternalControlsEnabledEventFunctions, isFileNodeKind, isFolderNodeKind, isGlobalSearchParam, isGraphQLReactorClient, isNodeFetch, isOperationCache, isPlainClick, isRoutedModal, isSettingsTarget, isoStringFromDateTime, listAllDriveNodes, listDriveIds, loadDocumentsOfType, loadDriveNodes, loadFile, loading, localSignInAvailable, login, logout, makeAuthConnectionParams, makeAuthMiddleware, makeDriveSlug, makeNodeSlug, makePHEventFunctions, markLocalDriveWrite, modalFromSearch, modalHref, modalSearch, notifyPHStore, onVetraPackageManager, openRenown, openTarget, openTargetWith, openedFromIndex, packageFromDocumentModels, parseRevisionHistoryPage, peekDriveNode, phAppConfigHooks, phAppConfigSetters, phDocumentEditorConfigHooks, phDocumentEditorConfigSetters, phDocumentFromGetDocument, phDocumentFromMutation, phDocumentFromQuery, phDocumentsFromQuery, phGlobalConfigHooks, phGlobalConfigSetters, prefetchDocument, preloadDrive, preloadDriveApp, preloadEditorModule, preloadNode, preloadTarget, prepareSignedActions, queriesUnknownArgument, queriesUnknownField, reactorGraphqlBatchFetchDocuments, reactorGraphqlCreateDocument, reactorGraphqlDeleteDocument, reactorGraphqlDeleteDocuments, reactorGraphqlFetchDocument, reactorGraphqlMutateDocument, readPromiseState, recordBackendAuthError, recordToSearch, refreshDrive, refreshDriveMembership, refreshReactorData, refreshReactorDataClient, renameDrive, renameDriveNode, renewLocalSignIn, resolveDocumentModelModule, resolveDriveRoute, resolveSearchUpdate, resolveSwitchboard, resolveUrlPathname, revisionMapFromRevisionsList, searchPackages, searchParamsToString, searchToRecord, setAllowList, setAllowedDocumentTypes, setAttachmentService, setBackendAuth, setBasePath, setBrowserOpenSync, setCredentialRefusalHandler, setDefaultDrivesUrl, setDefaultPHGlobalConfig, setDisabledEditors, setDocumentCache, setDriveAvailableOffline, setDriveMetadata, setDriveSharingType, setDrives, setFeatures, setFullReactorClient, setGlobal, setGraphQLReactorClient, setIsAddDriveEnabled, setIsDragAndDropEnabled, setIsExternalControlsEnabled, setLoading, setLocalSignIn, setLogLevel, setPGliteDB, setPHAppConfig, setPHAppConfigByKey, setPHDocumentEditorConfig, setPHDocumentEditorConfigByKey, setPHGlobalConfig, setPHGlobalConfigByKey, setPHModal, setPHToast, setPackageDiscoveryService, setPreferredEditorOnNode, setReactorClient, setReactorClientModule, setRenown, setRenownUrl, setRevisionHistoryPage, setRevisionHistoryVisible, setRouterBasename, setSearchParams, setSelectedDrive, setSelectedNode, setSelectedTimelineItem, setSelectedTimelineRevision, setStudioMode, setSwitchboardUrl, setSwitchboards, setVetraPackageManager, setWarnOutdatedApp, showCreateDocumentModal, showDeleteNodeModal, showPHModal, showRevisionHistory, signStampedAction, sortNodesByName, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscribePHStore, subscribeToPHValue, subscriptionsUrlFromGraphqlUrl, switchboardBaseOf, switchboardFetch, takeLocalDriveWrite, targetPathname, toLegacyNode, trackDriveArrival, trimTrailingSlash, truncateAllTables, untilDriveListed, upgradeDocument, useAllowList, useAllowedDocumentModelModules, useAllowedDocumentTypes, useAppModuleById, useAppModules, useAttachmentPreview, useAttachmentService, useAttachmentUpload, useAttachments, useBackendAuth, useBasePath, useCanExecute, useCloseNode, useConnectionState, useConnectionStates, useDatabase, useDefaultAppModule, useDefaultDrivesUrl, useDid, useDisabledEditors, useDispatch, useDocument, useDocumentById, useDocumentCache, useDocumentLinkProps, useDocumentModelModuleById, useDocumentModelModules, useDocumentOfType, useDocumentOperations, useDocumentSafe, useDocumentTarget, useDocumentTypes, useDocumentTypesInSelectedDrive, useDocumentVersionStatus, useDocuments, useDocumentsByIds, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useDocumentsOfType, useDownloadDocument, useDownloadFolder, useDragNode, useDriveById, useDriveContext, useDriveNode, useDriveNodes, useDriveNodesCache, useDriveSystemInfo, useDrives, useDropFile, useDropNode, useEditorDocumentContext, useEditorFileDrop, useEditorModuleById, useEditorModuleFor, useEditorModules, useEditorModulesForDocumentType, useEditorPreloader, useFallbackEditorModule, useFeatures, useFileNodesInSelectedDrive, useFileNodesInSelectedFolder, useFolderById, useFolderNodesInSelectedDrive, useFolderNodesInSelectedFolder, useGetDocument, useGetDocumentAsync, useGetDocuments, useGetSwitchboardLink, useGraphQLReactorClient, useInitReactorGraphqlClient, useIsAddDriveEnabled, useIsDragAndDropEnabled, useIsExternalControlsEnabled, useLinkProps, useLoading, useLocalSignIn, useLogLevel, useLoginStatus, useModalLinkProps, useModelRegistry, useNodeActions, useNodeById, useNodeParentFolderById, useNodePathById, useNodeTarget, useNodesInSelectedDrive, useNodesInSelectedDriveOrFolder, useNodesInSelectedFolder, useOnDropFile, useOpenNode, usePGlite, usePHAppConfigByKey, usePHDocumentEditorConfigByKey, usePHGlobalConfigByKey, usePHModal, usePHNavigation, usePHStore, usePHToast, usePackageDiscoveryService, useParentFolderForSelectedNode, usePreloadDrive, usePreloadNode, useReactorClient, useReactorClientModule, useReactorHalves, useRelationalDb, useRelationalQuery, useRenown, useRenownAuth, useRenownAuthAsync, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownSessionCookie, useRenownSessionSynced, useRenownUrl, useRenownWalletAdapter, useResetPHGlobalConfig, useRevisionHistoryPage, useRevisionHistoryVisible, useRouterBasename, useSearchParams, useSelectedDocument, useSelectedDocumentId, useSelectedDocumentOfType, useSelectedDocumentSafe, useSelectedDrive, useSelectedDriveId, useSelectedDriveSafe, useSelectedFolder, useSelectedNode, useSelectedNodePath, useSelectedTimelineItem, useSelectedTimelineRevision, useSetDefaultPHGlobalConfig, useSetPHAppConfig, useSetPHDocumentEditorConfig, useSetPHGlobalConfig, useSetSearchParams, useSetSelectedDrive, useSetSelectedNode, useStudioMode, useSubgraphModules, useSupportedDocumentTypesInReactor, useSwitchboardClient, useSwitchboardUrl, useSwitchboards, useSync, useSyncList, useTheme, useUser, useUserPermissions, useVetraPackageManager, useVetraPackages, useWarnOutdatedApp, validateDocument, viewFilterInputFromViewFilter, waitForArrival, waitForDocumentReady, withRequestDeadline, withStreamedBodies, withoutModalSearch };
|
|
3684
3703
|
|
|
3685
3704
|
//# sourceMappingURL=index.js.map
|