@powerhousedao/reactor-browser 6.2.3-dev.71 → 6.2.3-dev.73
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-CAf9N-15.d.ts → attachment-service-0L7kHOC-.d.ts} +23 -4
- package/dist/attachment-service-0L7kHOC-.d.ts.map +1 -0
- package/dist/{dispatch-Dd_WEz35.js → dispatch-COa-7Cnf.js} +134 -4
- package/dist/dispatch-COa-7Cnf.js.map +1 -0
- package/dist/{document-by-id-DqAyjr9P.js → document-by-id-1mRv91Zu.js} +2 -2
- package/dist/{document-by-id-DqAyjr9P.js.map → document-by-id-1mRv91Zu.js.map} +1 -1
- package/dist/{document-model-modules-DROQT_yu.js → document-model-modules-BN6ps-J2.js} +2 -2
- package/dist/{document-model-modules-DROQT_yu.js.map → document-model-modules-BN6ps-J2.js.map} +1 -1
- package/dist/{document-operations-C6khz2If.js → document-operations-BY6lqh4g.js} +65 -9
- package/dist/document-operations-BY6lqh4g.js.map +1 -0
- package/dist/{global-D-VZTZRz.d.ts → global-DgCDUQH2.d.ts} +32 -6
- package/dist/global-DgCDUQH2.d.ts.map +1 -0
- package/dist/{index-XfcUiODQ.d.ts → index-Dfr257W2.d.ts} +2 -2
- package/dist/{index-XfcUiODQ.d.ts.map → index-Dfr257W2.d.ts.map} +1 -1
- package/dist/index.d.ts +54 -20
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +85 -48
- package/dist/index.js.map +1 -1
- package/dist/navigation-BqphkrOB.js.map +1 -1
- package/dist/src/ai/index.js +2 -2
- package/dist/src/analytics/index.js +1 -1
- package/dist/src/graphql-client/entry.d.ts +2 -2
- package/dist/src/graphql-client/entry.js +3 -3
- package/dist/src/renown/index.d.ts +1 -1
- package/dist/src/rpc/index.d.ts +44 -10
- package/dist/src/rpc/index.d.ts.map +1 -1
- package/dist/src/rpc/index.js +199 -35
- package/dist/src/rpc/index.js.map +1 -1
- package/dist/{switchboard-cwUp3FxP.js → switchboard-BxnVm77m.js} +3 -3
- package/dist/{switchboard-cwUp3FxP.js.map → switchboard-BxnVm77m.js.map} +1 -1
- package/package.json +10 -9
- package/dist/attachment-service-CAf9N-15.d.ts.map +0 -1
- package/dist/dispatch-Dd_WEz35.js.map +0 -1
- package/dist/document-operations-C6khz2If.js.map +0 -1
- package/dist/global-D-VZTZRz.d.ts.map +0 -1
|
@@ -52,6 +52,29 @@ type OperationsCacheEntry = {
|
|
|
52
52
|
/** Whether the last loaded page reported a further page. */
|
|
53
53
|
hasNextPage: boolean;
|
|
54
54
|
};
|
|
55
|
+
/** The documents of one type loaded so far, in `find`'s order, across loaded pages. */
|
|
56
|
+
type DocumentsOfTypeEntry = {
|
|
57
|
+
/** `idle` means nothing has been requested yet. */
|
|
58
|
+
status: "idle" | "pending" | "success" | "error";
|
|
59
|
+
/** The ids loaded so far; the documents themselves are in the document cache. */
|
|
60
|
+
ids: readonly string[];
|
|
61
|
+
/** The rejection reason of the last failed page; `undefined` otherwise. */
|
|
62
|
+
error: unknown;
|
|
63
|
+
/** Whether the last loaded page reported a further page. */
|
|
64
|
+
hasNextPage: boolean;
|
|
65
|
+
};
|
|
66
|
+
/** Documents by type, a page at a time; loaded pages reload when one of the
|
|
67
|
+
* type is created or deleted, and a changed one updates in the document cache. */
|
|
68
|
+
interface IDocumentTypeCache {
|
|
69
|
+
/** Current snapshot of `type` paged by `limit`; a shared idle entry when nothing is loaded. */
|
|
70
|
+
getDocumentsOfTypeState(type: string, limit: number): DocumentsOfTypeEntry;
|
|
71
|
+
/** Loads the first page, once; settles when it has loaded or failed. */
|
|
72
|
+
loadDocumentsOfType(type: string, limit: number): Promise<void>;
|
|
73
|
+
/** Loads the page after the last one; no-op unless loaded with a next page. */
|
|
74
|
+
loadMoreDocumentsOfType(type: string, limit: number): void;
|
|
75
|
+
/** Subscribes to changes of `type` paged by `limit`. Returns the unsubscribe function. */
|
|
76
|
+
subscribeDocumentsOfType(type: string, limit: number, callback: () => void): () => void;
|
|
77
|
+
}
|
|
55
78
|
/**
|
|
56
79
|
* Operation history keyed by document id and scope. Pages are fetched
|
|
57
80
|
* oldest first and appended. A document change event drops every scope of
|
|
@@ -80,11 +103,11 @@ interface IOperationCache {
|
|
|
80
103
|
* `IReactorClient`) and `GraphQLReactorClient`, which talks plain GraphQL to a
|
|
81
104
|
* Switchboard without bundling a reactor.
|
|
82
105
|
*
|
|
83
|
-
* Deliberately excluded: `drives`, relationships, `
|
|
106
|
+
* Deliberately excluded: `drives`, relationships, `resolveIdOrSlug`,
|
|
84
107
|
* `executeAsync`/`executeBatch`, jobs, `createEmpty`, `rename` and the document
|
|
85
108
|
* model module getters.
|
|
86
109
|
*/
|
|
87
|
-
interface IReactorBrowserClient extends Pick<IReactorClient, "get" | "subscribe" | "execute" | "getOperations" | "create" | "deleteDocument"> {}
|
|
110
|
+
interface IReactorBrowserClient extends Pick<IReactorClient, "get" | "find" | "subscribe" | "execute" | "getOperations" | "create" | "deleteDocument"> {}
|
|
88
111
|
//#endregion
|
|
89
112
|
//#region src/types/config.d.ts
|
|
90
113
|
type PHGlobalConfig = PHCommonGlobalConfig & PHAppConfig & PHDocumentEditorConfig & PHDrivesGlobalConfig & PHAnalyticsGlobalConfig & PHRelationalProcessorsGlobalConfig & PHProcessorsGlobalConfig & PHRenownGlobalConfig & PHSentryGlobalConfig;
|
|
@@ -186,6 +209,8 @@ type PHModal = {
|
|
|
186
209
|
type: "createDocument";
|
|
187
210
|
documentType: string;
|
|
188
211
|
documentModelVersion?: number;
|
|
212
|
+
/** The drive to create it in; else the open drive, else the user picks one. */
|
|
213
|
+
driveId?: string;
|
|
189
214
|
} | {
|
|
190
215
|
type: "deleteItem";
|
|
191
216
|
id: string;
|
|
@@ -398,9 +423,10 @@ interface WorkerReactorClientModule extends ReactorClientModule {
|
|
|
398
423
|
/**
|
|
399
424
|
* Loads (or, for a source already loaded, REPLACES) URL-addressed packages
|
|
400
425
|
* in the worker's registry. A vetra watch rebuild re-sends the project's
|
|
401
|
-
* models through this with a cache-busted URL.
|
|
426
|
+
* models through this with a cache-busted URL. `specs` are registry packages
|
|
427
|
+
* (`name@version`), replaced when their version changes.
|
|
402
428
|
*/
|
|
403
|
-
registerPackages: (sources: WorkerPackageSource[]) => Promise<void>;
|
|
429
|
+
registerPackages: (sources: WorkerPackageSource[], specs?: string[]) => Promise<void>;
|
|
404
430
|
}
|
|
405
431
|
type LOADING = null;
|
|
406
432
|
/** A drive, or a node in it. */
|
|
@@ -489,6 +515,6 @@ declare global {
|
|
|
489
515
|
interface WindowEventMap extends GraphQLClientWindowEvents {}
|
|
490
516
|
}
|
|
491
517
|
//#endregion
|
|
492
|
-
export { PHDocumentEditorConfigSetters as $, PHToastFn as A, IPackageDiscoveryService as B, addDraggingNodeEventHandler as C, IPackageManager as D, IPackageListerUnsubscribe as E, TimelineItem as F, PHAppConfig as G, PHModal as H, DiscoveryEvent as I, PHAppConfigSetters as J, PHAppConfigHooks as K, DiscoveryEventListener as L, PHToastType as M, TimelineBarItem as N, IPackagesListener as O, TimelineDividerItem as P, PHDocumentEditorConfigKey as Q, FailedInstallation as R, DraggingNode as S, useDropNode as T, FullPHGlobalConfig as U, PendingInstallation as V, PHAnalyticsGlobalConfig as W, PHDocumentEditorConfig as X, PHCommonGlobalConfig as Y, PHDocumentEditorConfigHooks as Z, SetPHGlobalValue as _,
|
|
518
|
+
export { PHDocumentEditorConfigSetters as $, PHToastFn as A, IPackageDiscoveryService as B, addDraggingNodeEventHandler as C, IPackageManager as D, IPackageListerUnsubscribe as E, TimelineItem as F, PHAppConfig as G, PHModal as H, DiscoveryEvent as I, PHAppConfigSetters as J, PHAppConfigHooks as K, DiscoveryEventListener as L, PHToastType as M, TimelineBarItem as N, IPackagesListener as O, TimelineDividerItem as P, PHDocumentEditorConfigKey as Q, FailedInstallation as R, DraggingNode as S, RejectedPromise as St, useDropNode as T, FullPHGlobalConfig as U, PendingInstallation as V, PHAnalyticsGlobalConfig as W, PHDocumentEditorConfig as X, PHCommonGlobalConfig as Y, PHDocumentEditorConfigHooks as Z, SetPHGlobalValue as _, IDocumentTypeCache as _t, PHDriveTarget as a, PHGlobalConfigSetters as at, WorkerReactorClientModule as b, PromiseState as bt, PHGlobalKey as c, PHRelationalProcessorsGlobalConfig as ct, PHNavigation as d, IReactorBrowserClient as dt, PHDrivesGlobalConfig as et, PHNavigationTarget as f, DocumentDispatch$1 as ft, SetEvent as g, IDocumentCache as gt, SearchParamsUpdate as h, FulfilledPromise as ht, LOADING as i, PHGlobalConfigKey as it, PHToastOptions as j, PackageManagerInstallResult as k, PHGlobalValue as l, PHRenownGlobalConfig as lt, PHSettingsTarget as m, DocumentsOfTypeEntry as mt, BrowserReactorClientModule as n, PHGlobalConfigHooks as nt, PHGlobal as o, PHGlobalConfigSettersForKey as ot, PHSearchUpdate as p, DocumentRefetchState as pt, PHAppConfigKey as q, BrowserReactorModule as r, PHGlobalConfigHooksForKey as rt, PHGlobalEventHandlerAdders as s, PHProcessorsGlobalConfig as st, AddPHGlobalEventHandler as t, PHGlobalConfig as tt, PHNavigateOptions as u, PHSentryGlobalConfig as ut, SetSearchParams as v, IOperationCache as vt, useDragNode as w, WorkerReactorModule as x, PromiseWithState as xt, UsePHGlobalValue as y, OperationsCacheEntry as yt, FailedInstallationReason as z };
|
|
493
519
|
export {};
|
|
494
|
-
//# sourceMappingURL=global-
|
|
520
|
+
//# sourceMappingURL=global-DgCDUQH2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global-DgCDUQH2.d.ts","names":[],"sources":["../src/types/documents.ts","../src/types/reactor-browser-client.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"],"mappings":";;;;;;;;;;;;;KAOY,iBAAiB,KAAK,QAAQ,KAAK,aAAa;KAEhD,iBAAiB,KAAK,QAAQ;EACxC;EACA,OAAO;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-1,4 +1,4 @@
|
|
|
1
|
-
import { i as LOADING } from "./global-
|
|
1
|
+
import { i as LOADING } from "./global-DgCDUQH2.js";
|
|
2
2
|
import { CSSProperties, ReactNode } from "react";
|
|
3
3
|
import { CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, DOMAIN_TYPE, IRenown, ISSUER_TYPE, LoginStatus, User, VERIFIABLE_CREDENTIAL_EIP712_TYPE } from "@renown/sdk";
|
|
4
4
|
import { LoginMethod, WalletAdapterDescriptor, WalletController, WalletSession, WalletTheme } from "@renown/sdk/wallet";
|
|
@@ -268,4 +268,4 @@ declare function useRenownWalletAdapter<T extends WalletController = WalletContr
|
|
|
268
268
|
//#endregion
|
|
269
269
|
export { useUser as $, RENOWN_RETURN_URL_STRIPPED_PARAMS as A, UserIcon as B, CREDENTIAL_SCHEMA_EIP712_TYPE as C, ISSUER_TYPE as D, DOMAIN_TYPE as E, ChevronDownIcon as F, RenownLoginButtonProps as G, RenownUserButtonMenuItem as H, CopyIcon as I, addRenownEventHandler as J, RenownAuthButton as K, DisconnectIcon as L, VERIFIABLE_CREDENTIAL_EIP712_TYPE as M, initConnectCrypto as N, RENOWN_CHAIN_ID as O, initRenownCrypto as P, useRenown as Q, RenownLogo as R, useRenownInitialUser as S, CREDENTIAL_TYPES as T, RenownUserButtonProps as U, RenownUserButton as V, RenownLoginButton as W, useDid as X, setRenown as Y, useLoginStatus as Z, RENOWN_INITIAL_UNKNOWN as _, RenownWalletProviderProps as a, RenownAuthResolution as at, RenownInitialUserProviderProps as b, Renown as c, useRenownAuthAsync as ct, useRenownInit as d, login as et, RenownSessionCookieOptions as f, RENOWN_INITIAL_ANONYMOUS as g, useRenownSessionSynced as h, RenownWalletProvider as i, RenownAuthAsync as it, RENOWN_URL as j, RENOWN_NETWORK_ID as k, RenownProps as l, useRenownSessionCookie as m, RenownLoginMethod as n, openRenown as nt, RenownProvider as o, RenownAuthStatus as ot, RenownSessionCookieState as p, RenownAuthButtonProps as q, useRenownLoginMethods as r, RenownAuth as rt, RenownProviderProps as s, useRenownAuth as st, useRenownWalletAdapter as t, logout as tt, RenownInitOptions as u, RenownInitialAuth as v, CREDENTIAL_SUBJECT_TYPE as w, useRenownInitialAuth as x, RenownInitialUserProvider as y, SpinnerIcon as z };
|
|
270
270
|
export {};
|
|
271
|
-
//# sourceMappingURL=index-
|
|
271
|
+
//# sourceMappingURL=index-Dfr257W2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-Dfr257W2.d.ts","names":[],"sources":["../src/renown/use-renown-auth.ts","../src/renown/session.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.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","../src/renown/use-renown-wallet-adapter.ts"],"mappings":";;;;;KAoBY,mBAAmB;UAEd;EACf,QAAQ;EACR,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ,UAAU,eAAe,SAAS;EAC1C;EACA,OAAO;EACP,cAAc;EACd;;iBA+Bc,iBAAiB;KAuFrB;UAKK,wBAAwB;;EAEvC,OAAO;EACP;;iBAOc,sBAAsB;;;iBCxJtB,WAAW;iBAuHL,MACpB,6BACA,QAAQ,sBACP,QAAQ;iBAgCW,UAAM;;;;cChKf;;cAIA,iBAAiB,UAAU;;cAI3B,YAAY,OAAO,UAAU;;iBAI1B;;iBA2CA,WAAW;;iBA2CX,kBAAkB;;;UCvGjB;EACf;EACA;EACA,eAAe;EACf,cAAc;EACd,iBAAiB;EACjB,YAAY,MAAM,eAAe;;iBAGnB,mBACd,WACA,UACA,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AmBG,SAAS,YAAY,eAAe;;;UCJnC;EACf;;EAEA;EACA;EACA;;EAEA,WAAW;EACX,QAAQ;;EAER;;EAEA;;EAEA;IAAY,OAAO;;;EAEnB;EACA,WAAW;EACX,UAAU;;iBA0BI,iBACd,SACA,WACA,KACA,gBACA,UACA,OACA,YACA,SACA,SACA,iBACA,SACA,YACC,kDAAmB,IAAA;;;UCsBL;;EAEf,UAAU;;EAEV,QAAQ;EACR,UAAU;;;iBAII,uBACd,UAAU,gBACV,OACA,YACC,wDAAyB,IAAA;;;UCtGX;EACf,IAAI;EACJ;;;iBAWc,sBACd,SAAS,QAAQ,OAAO,wBACvB;;;;iBCXa,uBACd,UAAU,mBAAmB,kBAC7B,aAAa"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { a as getAnalyticsStore, i as createAnalyticsStore, n as IPowerhouseAnalytics, r as CreateStoreOptions } from "./types-520nWrB3.js";
|
|
2
|
-
import { $ as PHDocumentEditorConfigSetters, A as PHToastFn, B as IPackageDiscoveryService, C as addDraggingNodeEventHandler, D as IPackageManager, E as IPackageListerUnsubscribe, F as TimelineItem, G as PHAppConfig, H as PHModal, I as DiscoveryEvent, J as PHAppConfigSetters, K as PHAppConfigHooks, L as DiscoveryEventListener, M as PHToastType, N as TimelineBarItem, O as IPackagesListener, P as TimelineDividerItem, Q as PHDocumentEditorConfigKey, R as FailedInstallation, S as DraggingNode, T as useDropNode, U as FullPHGlobalConfig, V as PendingInstallation, W as PHAnalyticsGlobalConfig, X as PHDocumentEditorConfig, Y as PHCommonGlobalConfig, Z as PHDocumentEditorConfigHooks, _ as SetPHGlobalValue, _t as
|
|
3
|
-
import { $ as ReactorOperationFieldsFragmentDoc, A as useDocument, At as ConflictStrategy, B as isAuthRefusalClose, Bt as RemoteControllerOptions, C as usePGlite, Ct as GetDocumentQueryResult, D as useSyncList, Dt as phDocumentFromMutation, E as useSync, Et as phDocumentFromGetDocument, F as useGetDocumentAsync, Ft as IRemoteClient, G as packageFromDocumentModels, Gt as SyncStatus, H as startDocumentChangesSubscription, Ht as RemoteDocumentData, I as useGetDocuments, It as IRemoteController, J as signStampedAction, Jt as
|
|
2
|
+
import { $ as PHDocumentEditorConfigSetters, A as PHToastFn, B as IPackageDiscoveryService, C as addDraggingNodeEventHandler, D as IPackageManager, E as IPackageListerUnsubscribe, F as TimelineItem, G as PHAppConfig, H as PHModal, I as DiscoveryEvent, J as PHAppConfigSetters, K as PHAppConfigHooks, L as DiscoveryEventListener, M as PHToastType, N as TimelineBarItem, O as IPackagesListener, P as TimelineDividerItem, Q as PHDocumentEditorConfigKey, R as FailedInstallation, S as DraggingNode, St as RejectedPromise, T as useDropNode, U as FullPHGlobalConfig, V as PendingInstallation, W as PHAnalyticsGlobalConfig, X as PHDocumentEditorConfig, Y as PHCommonGlobalConfig, Z as PHDocumentEditorConfigHooks, _ as SetPHGlobalValue, _t as IDocumentTypeCache, a as PHDriveTarget, at as PHGlobalConfigSetters, b as WorkerReactorClientModule, bt as PromiseState, c as PHGlobalKey, ct as PHRelationalProcessorsGlobalConfig, d as PHNavigation, dt as IReactorBrowserClient, et as PHDrivesGlobalConfig, f as PHNavigationTarget, ft as DocumentDispatch, g as SetEvent, gt as IDocumentCache, h as SearchParamsUpdate, ht as FulfilledPromise, i as LOADING, it as PHGlobalConfigKey, j as PHToastOptions, k as PackageManagerInstallResult, l as PHGlobalValue, lt as PHRenownGlobalConfig, m as PHSettingsTarget, mt as DocumentsOfTypeEntry, n as BrowserReactorClientModule, nt as PHGlobalConfigHooks, o as PHGlobal, ot as PHGlobalConfigSettersForKey, p as PHSearchUpdate, pt as DocumentRefetchState, q as PHAppConfigKey, r as BrowserReactorModule, rt as PHGlobalConfigHooksForKey, s as PHGlobalEventHandlerAdders, st as PHProcessorsGlobalConfig, t as AddPHGlobalEventHandler, tt as PHGlobalConfig, u as PHNavigateOptions, ut as PHSentryGlobalConfig, v as SetSearchParams, vt as IOperationCache, w as useDragNode, x as WorkerReactorModule, xt as PromiseWithState, y as UsePHGlobalValue, yt as OperationsCacheEntry, z as FailedInstallationReason } from "./global-DgCDUQH2.js";
|
|
3
|
+
import { $ as ReactorOperationFieldsFragmentDoc, $t as readPromiseState, A as useDocument, At as ConflictStrategy, B as isAuthRefusalClose, Bt as RemoteControllerOptions, C as usePGlite, Ct as GetDocumentQueryResult, D as useSyncList, Dt as phDocumentFromMutation, E as useSync, Et as phDocumentFromGetDocument, F as useGetDocumentAsync, Ft as IRemoteClient, G as packageFromDocumentModels, Gt as SyncStatus, H as startDocumentChangesSubscription, Ht as RemoteDocumentData, I as useGetDocuments, It as IRemoteController, J as signStampedAction, Jt as IDLE_DOCUMENTS_OF_TYPE_ENTRY, K as resolveDocumentModelModule, Kt as TrackedAction, L as ConnectionParams, Lt as MergeHandler, M as useDocumentSafe, Mt as GetDocumentResult, N as useDocuments, Nt as GetDocumentWithOperationsResult, O as addDocumentCacheEventHandler, Ot as revisionMapFromRevisionsList, P as useGetDocument, Pt as GetOperationsResult, Q as MutateDocumentWithOperationsVariables, Qt as isOperationCache, R as DocumentChangesEventPayload, Rt as PushResult, S as useModelRegistry, St as GetDocumentQueryFields, T as useReactorClientModule, Tt as isoStringFromDateTime, U as subscriptionsUrlFromGraphqlUrl, Ut as RemoteOperation, V as makeAuthConnectionParams, Vt as RemoteDocumentChangeEvent, W as StaticPackageManager, Wt as RemoteOperationResultPage, X as MutateDocumentWithOperationsDocument, Xt as addPromiseState, Y as stampAction, Yt as IDLE_OPERATIONS_ENTRY, Z as MutateDocumentWithOperationsResult, Zt as isDocumentTypeCache, _ as getFullReactorClient, _t as GraphQLOperationNotSupportedError, a as DocumentOperationsState, at as GraphQLReactorClient, b as setReactorClientModule, bt as ambientRenownTokenProvider, c as useDocumentModelModuleById, ct as isGraphQLReactorClient, d as UseDispatchResult, dt as SubgraphSdkFactory, en as IDLE_REFETCH_STATE, et as GraphQLReactorProvider, f as createDispatch, ft as SubgraphSdkRegistry, g as addReactorClientModuleEventHandler, gt as BatchJobFailedError, h as addReactorClientEventHandler, ht as subgraphUrlFromGraphqlUrl, i as DocumentOperationsResult, it as DriveIdCall, j as useDocumentCache, jt as DocumentChangeListener, k as setDocumentCache, kt as ConflictInfo, l as useDocumentModelModules, lt as viewFilterInputFromViewFilter, m as addFullReactorClientEventHandler, mt as describeGraphQLDocument, n as setAttachmentService, nt as ensurePHEventHandlers, o as UseDocumentOperationsOptions, ot as GraphQLReactorClientOptions, p as useDispatch, pt as TypedGraphQLDocument, q as prepareSignedActions, qt as DocumentCache, r as useAttachmentService, rt as useSwitchboardClient, s as useDocumentOperations, st as findIsServableOverGraphQL, t as addAttachmentServiceEventHandler, tt as GraphQLReactorProviderProps, u as DispatchFn, ut as GraphQLRequestOptions, v as setFullReactorClient, vt as GraphQLWrongBackendError, w as useReactorClient, wt as RevisionsListSelection, x as useDatabase, xt as makeAuthMiddleware, y as setReactorClient, yt as BearerTokenProvider, z as DocumentChangesSubscriptionOptions, zt as RemoteControllerGraphQLClient } from "./attachment-service-0L7kHOC-.js";
|
|
4
4
|
import { baseDocumentModels, baseDocumentModelsMap } from "./src/document-model.js";
|
|
5
5
|
import { t as PGlite } from "./pglite-CntadC_p-DTkdF8sr.js";
|
|
6
6
|
import { r as PGliteWithLive } from "./index-rtDmzViP.js";
|
|
7
7
|
import { D as PropagationMode, T as MutateDocumentMutation, _ as CreateDocumentMutation, a as GraphQLDocumentEvents, c as ReactorGraphQLClient, d as DEFAULT_DRIVE_ID, f as DEFAULT_SWITCHBOARD_URL, g as ActionInput, h as graphqlEventsToSyncDrive, i as GraphQLDocumentEventOperationName, k as SdkFunctionWrapper, l as RunDocumentOptions, m as graphqlDocumentsEvents, n as GraphQLClientDocumentsEvent, o as GraphQLDocumentEventsOperationName, p as graphqlDocumentEvents, r as GraphQLClientWindowEvents, s as GraphQLDocumentsEvents, t as GraphQLClientDocumentEvent, u as TStateSchemaZodObject, v as DeleteDocumentMutation, w as GetDocumentWithOperationsQuery, x as FindDocumentsQuery, y as DeleteDocumentsMutation } from "./types-0Fh1tNjy.js";
|
|
8
8
|
import { t as createClient } from "./client-BnGewICj.js";
|
|
9
|
-
import { $ as useUser, A as RENOWN_RETURN_URL_STRIPPED_PARAMS, B as UserIcon, C as CREDENTIAL_SCHEMA_EIP712_TYPE, D as ISSUER_TYPE, E as DOMAIN_TYPE, F as ChevronDownIcon, G as RenownLoginButtonProps, H as RenownUserButtonMenuItem, I as CopyIcon, J as addRenownEventHandler, K as RenownAuthButton, L as DisconnectIcon, M as VERIFIABLE_CREDENTIAL_EIP712_TYPE, N as initConnectCrypto, O as RENOWN_CHAIN_ID, P as initRenownCrypto, Q as useRenown, R as RenownLogo, S as useRenownInitialUser, T as CREDENTIAL_TYPES, U as RenownUserButtonProps, V as RenownUserButton, W as RenownLoginButton, X as useDid, Y as setRenown, Z as useLoginStatus, _ as RENOWN_INITIAL_UNKNOWN, a as RenownWalletProviderProps, at as RenownAuthResolution, b as RenownInitialUserProviderProps, c as Renown, ct as useRenownAuthAsync, d as useRenownInit, et as login, f as RenownSessionCookieOptions, g as RENOWN_INITIAL_ANONYMOUS, h as useRenownSessionSynced, i as RenownWalletProvider, it as RenownAuthAsync, j as RENOWN_URL, k as RENOWN_NETWORK_ID, l as RenownProps, m as useRenownSessionCookie, n as RenownLoginMethod, nt as openRenown, o as RenownProvider, ot as RenownAuthStatus, p as RenownSessionCookieState, q as RenownAuthButtonProps, r as useRenownLoginMethods, rt as RenownAuth, s as RenownProviderProps, st as useRenownAuth, t as useRenownWalletAdapter, tt as logout, u as RenownInitOptions, v as RenownInitialAuth, w as CREDENTIAL_SUBJECT_TYPE, x as useRenownInitialAuth, y as RenownInitialUserProvider, z as SpinnerIcon } from "./index-
|
|
9
|
+
import { $ as useUser, A as RENOWN_RETURN_URL_STRIPPED_PARAMS, B as UserIcon, C as CREDENTIAL_SCHEMA_EIP712_TYPE, D as ISSUER_TYPE, E as DOMAIN_TYPE, F as ChevronDownIcon, G as RenownLoginButtonProps, H as RenownUserButtonMenuItem, I as CopyIcon, J as addRenownEventHandler, K as RenownAuthButton, L as DisconnectIcon, M as VERIFIABLE_CREDENTIAL_EIP712_TYPE, N as initConnectCrypto, O as RENOWN_CHAIN_ID, P as initRenownCrypto, Q as useRenown, R as RenownLogo, S as useRenownInitialUser, T as CREDENTIAL_TYPES, U as RenownUserButtonProps, V as RenownUserButton, W as RenownLoginButton, X as useDid, Y as setRenown, Z as useLoginStatus, _ as RENOWN_INITIAL_UNKNOWN, a as RenownWalletProviderProps, at as RenownAuthResolution, b as RenownInitialUserProviderProps, c as Renown, ct as useRenownAuthAsync, d as useRenownInit, et as login, f as RenownSessionCookieOptions, g as RENOWN_INITIAL_ANONYMOUS, h as useRenownSessionSynced, i as RenownWalletProvider, it as RenownAuthAsync, j as RENOWN_URL, k as RENOWN_NETWORK_ID, l as RenownProps, m as useRenownSessionCookie, n as RenownLoginMethod, nt as openRenown, o as RenownProvider, ot as RenownAuthStatus, p as RenownSessionCookieState, q as RenownAuthButtonProps, r as useRenownLoginMethods, rt as RenownAuth, s as RenownProviderProps, st as useRenownAuth, t as useRenownWalletAdapter, tt as logout, u as RenownInitOptions, v as RenownInitialAuth, w as CREDENTIAL_SUBJECT_TYPE, x as useRenownInitialAuth, y as RenownInitialUserProvider, z as SpinnerIcon } from "./index-Dfr257W2.js";
|
|
10
10
|
import { QueryCallbackReturnType, RelationalDbOptions, RelationalDbWithLive, createProcessorQuery, useRelationalDb, useRelationalQuery, useRelationalQueryOptions } from "./src/relational/index.js";
|
|
11
11
|
import { DragEventHandler, MouseEvent, ReactNode } from "react";
|
|
12
12
|
import { DocumentModelLib, DocumentModelModule, EditorModule, PHDocument, PHDocumentController } from "document-model";
|
|
13
13
|
import { ActionCandidate, ChannelScheme, ConnectionState, ConnectionStateSnapshot, ConnectionStateSnapshot as ConnectionStateSnapshot$1, Database, DocumentChangeType, DocumentIntegrityService, DriveCollectionId, Evaluation, GqlRequestChannel, IChannel, IDocumentModelLoader, IDocumentModelRegistry, IPeerAgreement, IProcessor, IProcessorHostModuleBase, IQueue, IReactorClient, IReactorClient as IReactorClient$1, IReactorProcessorHostModuleBase, IRelationalDb, InMemoryQueue, IntervalPollTimer, Job, JwtHandler, KeyframeValidationIssue, OperationWithContext, ParsedDriveUrl, PollBehavior, PollBehavior as PollBehavior$1, ProcessorApp, ProcessorFactory, ProcessorFactoryBuilder as ProcessorFactoryBuilder$1, ProcessorFilter, ProcessorRecord, REACTOR_SCHEMA, ReactorBuilder, ReactorClientBuilder, ReactorFeatureFlags, RebuildResult, RelationalDbProcessor, Remote, RemoteFilter, RemoteMeta, RemotePeer, SignerConfig, SnapshotValidationIssue, SyncHold, SyncOperation, SyncOperationStatus, ValidationResult, driveIdFromUrl, isDriveAuthError, parseDriveUrl } from "@powerhousedao/reactor";
|
|
14
14
|
import { DocumentDriveAction, DocumentDriveDocument, DriveInput, FileNode, FolderNode, Node, SharingType } from "@powerhousedao/shared/document-drive";
|
|
15
|
-
import { Action as Action$1, AuthSubject, DocumentDispatch as DocumentDispatch$1, DocumentOperations, Operation as Operation$1, PHBaseState, PHDocument as PHDocument$1, PHDocumentHeader, SubgraphModule, ValidationError } from "@powerhousedao/shared/document-model";
|
|
15
|
+
import { Action as Action$1, AuthSubject, DocumentDispatch as DocumentDispatch$1, DocumentModelModule as DocumentModelModule$1, DocumentOperations, Operation as Operation$1, PHBaseState, PHDocument as PHDocument$1, PHDocumentHeader, SubgraphModule, ValidationError } from "@powerhousedao/shared/document-model";
|
|
16
16
|
import { AttachmentDownloadInput, AttachmentHeader, AttachmentUploadResult, IAttachmentClient, PreprocessResult } from "@powerhousedao/reactor-attachments/client";
|
|
17
17
|
import { ConflictResolution as ConflictResolution$1, DocumentDispatch as DocumentDispatch$2, FileUploadProgressCallback as FileUploadProgressCallback$1, IReactorBrowserClient as IReactorBrowserClient$1, PHAppConfig as PHAppConfig$1, PHAppConfigHooks as PHAppConfigHooks$1, PHAppConfigKey as PHAppConfigKey$1, PHAppConfigSetters as PHAppConfigSetters$1, PHDocumentEditorConfig as PHDocumentEditorConfig$1, PHDocumentEditorConfigHooks as PHDocumentEditorConfigHooks$1, PHDocumentEditorConfigKey as PHDocumentEditorConfigKey$1, PHDocumentEditorConfigSetters as PHDocumentEditorConfigSetters$1, PHGlobal as PHGlobal$1, PHGlobalConfig as PHGlobalConfig$1, PHGlobalConfigHooks as PHGlobalConfigHooks$1, PHGlobalConfigKey as PHGlobalConfigKey$1, PHGlobalConfigSetters as PHGlobalConfigSetters$1, PHGlobalKey as PHGlobalKey$1, PHModal as PHModal$1, PHNavigateOptions as PHNavigateOptions$1, PHNavigation as PHNavigation$1, PHNavigationTarget as PHNavigationTarget$1, PHSearchUpdate as PHSearchUpdate$1, PHSettingsTarget as PHSettingsTarget$1, SearchParamsUpdate as SearchParamsUpdate$1, SetSearchParams as SetSearchParams$1 } from "@powerhousedao/reactor-browser";
|
|
18
18
|
import { Node as Node$1 } from "@powerhousedao/shared";
|
|
@@ -516,6 +516,52 @@ export declare function useDocumentById(id: string | null | undefined): UseDispa
|
|
|
516
516
|
/** Returns documents by ids. */
|
|
517
517
|
export declare function useDocumentsByIds(ids: string[] | null | undefined): PHDocument$1[];
|
|
518
518
|
//#endregion
|
|
519
|
+
//#region src/hooks/link-props.d.ts
|
|
520
|
+
type ClickLike = Pick<MouseEvent, "button" | "metaKey" | "ctrlKey" | "shiftKey" | "altKey" | "defaultPrevented" | "preventDefault">;
|
|
521
|
+
/** A plain primary click; modified and other-button clicks stay the browser's. */
|
|
522
|
+
export declare function isPlainClick(event: ClickLike): boolean;
|
|
523
|
+
export type LinkProps = {
|
|
524
|
+
href: string;
|
|
525
|
+
onClick: (event: ClickLike) => void;
|
|
526
|
+
onMouseEnter: () => void;
|
|
527
|
+
onFocus: () => void;
|
|
528
|
+
"aria-current"?: "page";
|
|
529
|
+
};
|
|
530
|
+
/** Props for an `<a>` that opens `target` in the app on a plain click, and
|
|
531
|
+
* leaves new tabs and windows to the browser; acts on the store in context. */
|
|
532
|
+
export declare function useLinkProps(target: PHNavigationTarget$1 | undefined, open?: () => void): LinkProps;
|
|
533
|
+
//#endregion
|
|
534
|
+
//#region src/hooks/document-link.d.ts
|
|
535
|
+
/** Where a document opens: the loaded drive that lists it, or undefined while none does. */
|
|
536
|
+
export declare function useDocumentTarget(documentId: string | null | undefined): PHDriveTarget | undefined;
|
|
537
|
+
/** `useLinkProps` for a document by id, e.g. a `useDocumentsOfType` row;
|
|
538
|
+
* undefined while no loaded drive lists it. */
|
|
539
|
+
export declare function useDocumentLinkProps(documentId: string | null | undefined): LinkProps | undefined;
|
|
540
|
+
//#endregion
|
|
541
|
+
//#region src/hooks/documents-of-type.d.ts
|
|
542
|
+
export type DocumentsOfTypeOptions = {
|
|
543
|
+
/** Documents per page; 25 by default. */
|
|
544
|
+
limit?: number;
|
|
545
|
+
};
|
|
546
|
+
export type DocumentsOfType<TState extends PHBaseState> = {
|
|
547
|
+
/** The loaded pages' documents that pass the module's schema. */
|
|
548
|
+
documents: PHDocument$1<TState>[];
|
|
549
|
+
/** Documents of the type that fail it, e.g. written by another version of the model. */
|
|
550
|
+
invalid: PHDocument$1[];
|
|
551
|
+
hasNextPage: boolean;
|
|
552
|
+
isLoadingNextPage: boolean;
|
|
553
|
+
/** Loads the next page; does nothing while one loads or when there is none. */
|
|
554
|
+
loadNextPage: () => void;
|
|
555
|
+
/** The last failure loading a further page; a failed first page throws. */
|
|
556
|
+
error: unknown;
|
|
557
|
+
};
|
|
558
|
+
type ModelOf = Pick<DocumentModelModule$1, "documentModel">;
|
|
559
|
+
/** The documents of `module`'s type across every drive, a page at a time and
|
|
560
|
+
* checked against its schema; suspends until the first page has loaded. */
|
|
561
|
+
export declare function useDocumentsOfType<TState extends PHBaseState>(module: DocumentModelModule$1<TState>, { limit }?: DocumentsOfTypeOptions): DocumentsOfType<TState>;
|
|
562
|
+
/** Loads the first page `useDocumentsOfType` reads, e.g. in a route loader, so it doesn't suspend. */
|
|
563
|
+
export declare function loadDocumentsOfType(module: ModelOf, { limit }?: DocumentsOfTypeOptions): Promise<void>;
|
|
564
|
+
//#endregion
|
|
519
565
|
//#region src/hooks/document-of-type.d.ts
|
|
520
566
|
/** Returns a document of a specific type, throws an error if the found document has a different type */
|
|
521
567
|
export declare function useDocumentOfType<TDocument extends PHDocument$1, TAction extends Action$1>(documentId: string | null | undefined, documentType: string | null | undefined): never[] | [TDocument, DocumentDispatch$2<TAction>];
|
|
@@ -702,6 +748,9 @@ export declare function showPHModal(modal: PHModal$1): void;
|
|
|
702
748
|
export declare function closePHModal(): void;
|
|
703
749
|
/** The href that opens `modal` over the current page. */
|
|
704
750
|
export declare function modalHref(modal: PHModal$1): string;
|
|
751
|
+
/** Props for an `<a>` that opens a routed `modal` over the current page on a
|
|
752
|
+
* plain click; new tabs and copied links get its URL. */
|
|
753
|
+
export declare function useModalLinkProps(modal: PHModal$1): Pick<LinkProps, "href" | "onClick">;
|
|
705
754
|
/** Shows the create document modal */
|
|
706
755
|
export declare function showCreateDocumentModal(documentType: string, documentModelVersion?: number): void;
|
|
707
756
|
/** Shows the delete node modal */
|
|
@@ -1156,21 +1205,6 @@ export declare function setVetraPackageManager(packageManager: IPackageManager):
|
|
|
1156
1205
|
* pushed inside it; else, e.g. after a deep link, to its parent in place. */
|
|
1157
1206
|
export declare function useCloseNode(nodeId: string | null | undefined): () => void;
|
|
1158
1207
|
//#endregion
|
|
1159
|
-
//#region src/hooks/link-props.d.ts
|
|
1160
|
-
type ClickLike = Pick<MouseEvent, "button" | "metaKey" | "ctrlKey" | "shiftKey" | "altKey" | "defaultPrevented" | "preventDefault">;
|
|
1161
|
-
/** A plain primary click; modified and other-button clicks stay the browser's. */
|
|
1162
|
-
export declare function isPlainClick(event: ClickLike): boolean;
|
|
1163
|
-
export type LinkProps = {
|
|
1164
|
-
href: string;
|
|
1165
|
-
onClick: (event: ClickLike) => void;
|
|
1166
|
-
onMouseEnter: () => void;
|
|
1167
|
-
onFocus: () => void;
|
|
1168
|
-
"aria-current"?: "page";
|
|
1169
|
-
};
|
|
1170
|
-
/** Props for an `<a>` that opens `target` in the app on a plain click, and
|
|
1171
|
-
* leaves new tabs and windows to the browser; acts on the store in context. */
|
|
1172
|
-
export declare function useLinkProps(target: PHNavigationTarget$1 | undefined, open?: () => void): LinkProps;
|
|
1173
|
-
//#endregion
|
|
1174
1208
|
//#region src/hooks/attachment-progress.d.ts
|
|
1175
1209
|
/**
|
|
1176
1210
|
* Progress in both units. `percent` is the house unit (0-100, matching
|
|
@@ -1787,6 +1821,6 @@ export declare function getUserPermissions(): {
|
|
|
1787
1821
|
//#region src/utils/validate-document.d.ts
|
|
1788
1822
|
export declare const validateDocument: (document: PHDocument$1) => ValidationError[];
|
|
1789
1823
|
//#endregion
|
|
1790
|
-
export { type AddPHGlobalEventHandler, BatchJobFailedError, BearerTokenProvider, 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, DEFAULT_DRIVE_ID, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, type Database, DisconnectIcon, type DiscoveryEvent, type DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentChangesEventPayload, DocumentChangesSubscriptionOptions, type DocumentDispatch, DocumentIntegrityService, DocumentOperationsResult, DocumentOperationsState, type DocumentRefetchState, type DocumentTypeIcon, DraggingNode, DriveCollectionId, DriveIdCall, type DriveInfo, type FailedInstallation, type FailedInstallationReason, type FileUploadProgress, type FileUploadProgressCallback, type FolderZipResult, type FulfilledPromise, type FullPHGlobalConfig, GetDocumentQueryFields, GetDocumentQueryResult, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, type GraphQLClientDocumentEvent, type GraphQLClientDocumentsEvent, type GraphQLClientWindowEvents, type GraphQLDocumentEventOperationName, type GraphQLDocumentEvents, type GraphQLDocumentEventsOperationName, type GraphQLDocumentsEvents, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorClientOptions, GraphQLReactorProvider, GraphQLReactorProviderProps, GraphQLRequestOptions, GraphQLWrongBackendError, type IChannel, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, type IDocumentCache, type IDocumentModelLoader, type IOperationCache, type IPackageDiscoveryService, type IPackageListerUnsubscribe, type IPackageManager, type IPackagesListener, type IPeerAgreement, type IProcessor, type IProcessorHostModule, type IProcessorHostModuleBase, type IQueue, type IReactorBrowserClient, type IReactorClient, type IReactorProcessorHostModule, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, type Job, type JwtHandler, type KeyframeValidationIssue, type LOADING, type MergeHandler, MutateDocumentWithOperationsDocument, MutateDocumentWithOperationsResult, MutateDocumentWithOperationsVariables, type NodeKind, type OperationWithContext, type OperationsCacheEntry, type PHAnalyticsGlobalConfig, 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 PHProcessorsGlobalConfig, type PHRelationalProcessorsGlobalConfig, type PHRenownGlobalConfig, type PHSearchUpdate, type PHSentryGlobalConfig, type PHSettingsTarget, type PHToastFn, type PHToastOptions, type PHToastType, type PackageManagerInstallResult, type ParsedDriveUrl, 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, 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 SignerConfig, type SnapshotValidationIssue, SpinnerIcon, StaticPackageManager, SubgraphSdkFactory, SubgraphSdkRegistry, 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, addAttachmentServiceEventHandler, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addFullReactorClientEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addRenownEventHandler, ambientRenownTokenProvider, baseDocumentModels, baseDocumentModelsMap, createAnalyticsStore, createClient, createDispatch, createProcessorQuery, describeGraphQLDocument, driveIdFromUrl, ensurePHEventHandlers, findIsServableOverGraphQL, getAnalyticsStore, getFullReactorClient, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, initConnectCrypto, initRenownCrypto, isAuthRefusalClose, isDriveAuthError, isGraphQLReactorClient, isOperationCache, isoStringFromDateTime, login, logout, makeAuthConnectionParams, makeAuthMiddleware, openRenown, packageFromDocumentModels, parseDriveUrl, phDocumentFromGetDocument, phDocumentFromMutation, prepareSignedActions, readPromiseState, resolveDocumentModelModule, revisionMapFromRevisionsList, setAttachmentService, setDocumentCache, setFullReactorClient, setReactorClient, setReactorClientModule, setRenown, signStampedAction, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscriptionsUrlFromGraphqlUrl, useAttachmentService, useDatabase, useDid, useDispatch, useDocument, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOperations, useDocumentSafe, useDocuments, useDragNode, useDropNode, useGetDocument, useGetDocumentAsync, useGetDocuments, useLoginStatus, useModelRegistry, usePGlite, useReactorClient, useReactorClientModule, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAuth, useRenownAuthAsync, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownSessionCookie, useRenownSessionSynced, useRenownWalletAdapter, useSwitchboardClient, useSync, useSyncList, useUser, viewFilterInputFromViewFilter };
|
|
1824
|
+
export { type AddPHGlobalEventHandler, BatchJobFailedError, BearerTokenProvider, 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, DEFAULT_DRIVE_ID, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, type Database, DisconnectIcon, type DiscoveryEvent, type DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentChangesEventPayload, DocumentChangesSubscriptionOptions, type DocumentDispatch, DocumentIntegrityService, DocumentOperationsResult, DocumentOperationsState, type DocumentRefetchState, type DocumentTypeIcon, type DocumentsOfTypeEntry, DraggingNode, DriveCollectionId, DriveIdCall, type DriveInfo, type FailedInstallation, type FailedInstallationReason, type FileUploadProgress, type FileUploadProgressCallback, type FolderZipResult, type FulfilledPromise, type FullPHGlobalConfig, GetDocumentQueryFields, GetDocumentQueryResult, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, type GraphQLClientDocumentEvent, type GraphQLClientDocumentsEvent, type GraphQLClientWindowEvents, type GraphQLDocumentEventOperationName, type GraphQLDocumentEvents, type GraphQLDocumentEventsOperationName, type GraphQLDocumentsEvents, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorClientOptions, GraphQLReactorProvider, GraphQLReactorProviderProps, GraphQLRequestOptions, GraphQLWrongBackendError, type IChannel, IDLE_DOCUMENTS_OF_TYPE_ENTRY, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, type IDocumentCache, type IDocumentModelLoader, type IDocumentTypeCache, type IOperationCache, type IPackageDiscoveryService, type IPackageListerUnsubscribe, type IPackageManager, type IPackagesListener, type IPeerAgreement, type IProcessor, type IProcessorHostModule, type IProcessorHostModuleBase, type IQueue, type IReactorBrowserClient, type IReactorClient, type IReactorProcessorHostModule, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, type Job, type JwtHandler, type KeyframeValidationIssue, type LOADING, type MergeHandler, MutateDocumentWithOperationsDocument, MutateDocumentWithOperationsResult, MutateDocumentWithOperationsVariables, type NodeKind, type OperationWithContext, type OperationsCacheEntry, type PHAnalyticsGlobalConfig, 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 PHProcessorsGlobalConfig, type PHRelationalProcessorsGlobalConfig, type PHRenownGlobalConfig, type PHSearchUpdate, type PHSentryGlobalConfig, type PHSettingsTarget, type PHToastFn, type PHToastOptions, type PHToastType, type PackageManagerInstallResult, type ParsedDriveUrl, 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, 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 SignerConfig, type SnapshotValidationIssue, SpinnerIcon, StaticPackageManager, SubgraphSdkFactory, SubgraphSdkRegistry, 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, addAttachmentServiceEventHandler, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addFullReactorClientEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addRenownEventHandler, ambientRenownTokenProvider, baseDocumentModels, baseDocumentModelsMap, createAnalyticsStore, createClient, createDispatch, createProcessorQuery, describeGraphQLDocument, driveIdFromUrl, ensurePHEventHandlers, findIsServableOverGraphQL, getAnalyticsStore, getFullReactorClient, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, initConnectCrypto, initRenownCrypto, isAuthRefusalClose, isDocumentTypeCache, isDriveAuthError, isGraphQLReactorClient, isOperationCache, isoStringFromDateTime, login, logout, makeAuthConnectionParams, makeAuthMiddleware, openRenown, packageFromDocumentModels, parseDriveUrl, phDocumentFromGetDocument, phDocumentFromMutation, prepareSignedActions, readPromiseState, resolveDocumentModelModule, revisionMapFromRevisionsList, setAttachmentService, setDocumentCache, setFullReactorClient, setReactorClient, setReactorClientModule, setRenown, signStampedAction, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscriptionsUrlFromGraphqlUrl, useAttachmentService, useDatabase, useDid, useDispatch, useDocument, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOperations, useDocumentSafe, useDocuments, useDragNode, useDropNode, useGetDocument, useGetDocumentAsync, useGetDocuments, useLoginStatus, useModelRegistry, usePGlite, useReactorClient, useReactorClientModule, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAuth, useRenownAuthAsync, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownSessionCookie, useRenownSessionSynced, useRenownWalletAdapter, useSwitchboardClient, useSync, useSyncList, useUser, viewFilterInputFromViewFilter };
|
|
1791
1825
|
export {};
|
|
1792
1826
|
//# 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/dispatch.ts","../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/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/ph-store.tsx","../src/hooks/selected-drive.ts","../src/hooks/selected-folder.ts","../src/hooks/set-selected-node.ts","../src/hooks/sync-selection.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/close-node.ts","../src/hooks/link-props.ts","../src/hooks/attachment-progress.ts","../src/hooks/use-attachments.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/upgrade-preview.ts","../src/utils/url.ts","../src/utils/user.ts","../src/utils/validate-document.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAwCsB,gBAAgB,YAAY,cAAY,UAAU,UACtE,iBAAiB,YAAY,qBAC7B,UAAU,uBACV,YAAY,QAAQ,kBACpB,aAAa,QAAQ,wBACpB,QAAQ;;;;;;;;wBAQW,gBACpB,iBAAiB,aAAW,sBAC5B,oBACA,YAAY,QAAQ,kBACpB,aAAa,QAAQ,wBACpB,QAAQ;;;;;;;;;;KChDC;EACV;EACA;EACA;EACA;EACA,MAAM;EACN;;;;;;;;;;;;;;;;;;;;;wBAsBoB,eAAe,cAAc,QAAQ;;;wBC6HrC,qBACpB,UAAU,eACT;wBAmMmB,WAAW,UAAU,cAAY,yBAAsB,eAAA;;;;;;wBAyCvD,SAAS,eAAe,OAAI,QAAA,aAAA;wBA2C5B,YACpB,iBACA,cACA,sBACA,uBACA,WAAW,cACX,aACA,0BACA,gCAA6B;;;;;EAwErB;;;KAKE;EACV;EACA;EACA;EACA;EACA;;wBAwGoB,oBACpB,eAAe,MACf,iBACA,eACA,uBACA,aAAa,8BACb,0BACA,kBAAkB,uBAAkB,QAAA;wBAqQhB,UACpB,iBACA,cACA,wBAAqB,QAAA;wBAoCD,WAAW,iBAAiB,iBAAc;wBAoD1C,gBACpB,iBACA,gBACA,eACC,QAAQ;wBA2BW,yBACpB,gBACA,iCAA8B,QAAA;;;;;wBAqOV,gBAAgB,oBAAoB,qBAAkB,QAAA;;;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3B,mBAAmB,OAAO;wBASnB,iBACd,UAAU,0BACV,qBAAW;;;qBChBA,sBAAmB,YAClB,MAAI,UACN,MAAI,sBACO;;;;wBCEP,gBAAgB,UAAU,MAAM,OAAO,MAAG;;wBAK1C,eACd,MAAM,0BACL,QAAQ;;wBAMK,iBACd,MAAM,0BACL,QAAQ;;;wBCXK,oBACd,QAAQ,eACP;wBA8Ba;;;wBC9BM,iBAAiB,kBAAkB,eAAY;wBAkCrD,oBAAoB;wBAKpB,qCAAqC;wBAQrC;;;;;;;;wBAiBA,iCAAiC;;;;;;;wBA8GjC,0BAA0B,OAAO;wBAuEjC,2BACd,sBACA,oBACA,QAAQ,qBACR;wBAqCc,yBACd,oBACA,sBACA,oBACA,QAAQ,qBACR;;;YCvSU;EACV;EACA;;YAGU;EACV;EACA;EACA,OAAO;EACP;EACA;;;;;;;;;;wBAgDc,gBACd,iBACA;EACG;EAAiB;;;;;;;;;;;;;wBAkBN,0BACd,UAAU,cACV,UAAU,qCACT;;;wBC/Ea,mBAAmB;;wBAQnB,mBAAmB;;;wBAUnB,sBACd,OAAO;;;wBAQO,cAAc,OAAO;;wBA+BrB,gBACd,iBAAiB,qCACjB,0BACC;;;;;wBAwBa,aAAa,MAAM;;;;;wBASnB,wBAAwB;;wBAOxB,SAAS;;wBAST,cAAc;wBAQd,sBAAsB;;wBAKtB,sBAAsB;;;;;wBAUtB,yBAAyB;wBAMzB,uBAAuB;;wBAKvB,uBAAuB;;;wBAQvB,6BAA6B;;;wBCnK7B;EAAA;EAAA;;;;qBCUH,mBAAgB,UAAc,iBAAU"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/actions/dispatch.ts","../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/ph-store.tsx","../src/hooks/selected-drive.ts","../src/hooks/selected-folder.ts","../src/hooks/set-selected-node.ts","../src/hooks/sync-selection.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/close-node.ts","../src/hooks/attachment-progress.ts","../src/hooks/use-attachments.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/upgrade-preview.ts","../src/utils/url.ts","../src/utils/user.ts","../src/utils/validate-document.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAwCsB,gBAAgB,YAAY,cAAY,UAAU,UACtE,iBAAiB,YAAY,qBAC7B,UAAU,uBACV,YAAY,QAAQ,kBACpB,aAAa,QAAQ,wBACpB,QAAQ;;;;;;;;wBAQW,gBACpB,iBAAiB,aAAW,sBAC5B,oBACA,YAAY,QAAQ,kBACpB,aAAa,QAAQ,wBACpB,QAAQ;;;;;;;;;;KChDC;EACV;EACA;EACA;EACA;EACA,MAAM;EACN;;;;;;;;;;;;;;;;;;;;;wBAsBoB,eAAe,cAAc,QAAQ;;;wBC6HrC,qBACpB,UAAU,eACT;wBAmMmB,WAAW,UAAU,cAAY,yBAAsB,eAAA;;;;;;wBAyCvD,SAAS,eAAe,OAAI,QAAA,aAAA;wBA2C5B,YACpB,iBACA,cACA,sBACA,uBACA,WAAW,cACX,aACA,0BACA,gCAA6B;;;;;EAwErB;;;KAKE;EACV;EACA;EACA;EACA;EACA;;wBAwGoB,oBACpB,eAAe,MACf,iBACA,eACA,uBACA,a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