@powerhousedao/reactor-browser 6.4.0-next.3 → 6.4.0-next.4
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-0E5S0hZ6.d.ts → attachment-service-DdLM0Yf5.d.ts} +40 -9
- package/dist/attachment-service-DdLM0Yf5.d.ts.map +1 -0
- package/dist/auth-Ryem1MiX.d.ts +53 -0
- package/dist/auth-Ryem1MiX.d.ts.map +1 -0
- package/dist/{client-BFnMV-EO.js → client-DMCO2IaR.js} +3 -2
- package/dist/client-DMCO2IaR.js.map +1 -0
- package/dist/{document-model-modules-DCC6DjOP.js → document-model-modules-CHo9NZhj.js} +37 -5
- package/dist/document-model-modules-CHo9NZhj.js.map +1 -0
- package/dist/{document-operations-BUbpyfSf.js → document-operations-Dj0fTOHE.js} +113 -14
- package/dist/document-operations-Dj0fTOHE.js.map +1 -0
- package/dist/{global-DfeQC3Fg.d.ts → global-DMTXzdRf.d.ts} +28 -2
- package/dist/{global-DfeQC3Fg.d.ts.map → global-DMTXzdRf.d.ts.map} +1 -1
- package/dist/{index-BlCYgfht.d.ts → index-C5bsy9EC.d.ts} +127 -4
- package/dist/index-C5bsy9EC.d.ts.map +1 -0
- package/dist/index.d.ts +13 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/local-sign-in-D2zVzXgm.js +12 -0
- package/dist/local-sign-in-D2zVzXgm.js.map +1 -0
- package/dist/{renown-BlvHEYjM.js → renown-BwJ9oWxt.js} +414 -64
- package/dist/renown-BwJ9oWxt.js.map +1 -0
- 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 +4 -4
- package/dist/src/graphql-client/entry.js +3 -3
- package/dist/src/renown/index.d.ts +2 -2
- package/dist/src/renown/index.js +2 -2
- package/dist/src/rpc/index.d.ts +17 -11
- package/dist/src/rpc/index.d.ts.map +1 -1
- package/dist/src/rpc/index.js +4 -3
- package/dist/src/rpc/index.js.map +1 -1
- package/dist/{switchboard-directory-CwT34q4g.js → switchboard-directory-7KPHB5Tz.js} +2 -2
- package/dist/{switchboard-directory-CwT34q4g.js.map → switchboard-directory-7KPHB5Tz.js.map} +1 -1
- package/package.json +11 -11
- package/dist/attachment-service-0E5S0hZ6.d.ts.map +0 -1
- package/dist/auth-DRbzRdeC.d.ts +0 -32
- package/dist/auth-DRbzRdeC.d.ts.map +0 -1
- package/dist/client-BFnMV-EO.js.map +0 -1
- package/dist/document-model-modules-DCC6DjOP.js.map +0 -1
- package/dist/document-operations-BUbpyfSf.js.map +0 -1
- package/dist/index-BlCYgfht.d.ts.map +0 -1
- package/dist/renown-BlvHEYjM.js.map +0 -1
|
@@ -507,6 +507,30 @@ type BackendAuthState = {
|
|
|
507
507
|
/** When it was refused, ISO. */
|
|
508
508
|
at: string;
|
|
509
509
|
};
|
|
510
|
+
/**
|
|
511
|
+
* Sign-in by link to this computer's identity (`#ph-sign-in=`, F3d), when it
|
|
512
|
+
* needs the person: the key's password, a link the server refused, or a
|
|
513
|
+
* sign-in that ended. Unset while there is nothing to say.
|
|
514
|
+
*/
|
|
515
|
+
type LocalSignInState = {
|
|
516
|
+
status: "password";
|
|
517
|
+
/** Wrong passwords left before the link is used up. */
|
|
518
|
+
triesLeft?: number;
|
|
519
|
+
/** Sends the password to the server that serves this page. */
|
|
520
|
+
submit: (password: string) => Promise<void>;
|
|
521
|
+
dismiss: () => void;
|
|
522
|
+
} | {
|
|
523
|
+
status: "failed";
|
|
524
|
+
/** `used-code`, `expired-code`, `bad-code`, `renown-login`, ... */
|
|
525
|
+
reason: string;
|
|
526
|
+
/** A Renown login's name, for `renown-login`. */
|
|
527
|
+
label?: string;
|
|
528
|
+
dismiss: () => void;
|
|
529
|
+
} | {
|
|
530
|
+
status: "ended";
|
|
531
|
+
/** Why the credential was dropped: `expired`, `withdrawn-here`, ... */
|
|
532
|
+
reason: string;
|
|
533
|
+
};
|
|
510
534
|
type PHGlobal$1 = PHGlobalConfig$1 & {
|
|
511
535
|
navigation?: PHNavigation$1;
|
|
512
536
|
loading?: boolean;
|
|
@@ -530,6 +554,8 @@ type PHGlobal$1 = PHGlobalConfig$1 & {
|
|
|
530
554
|
* sign-in gate instead of the drives. See `hooks/backend-auth.ts`.
|
|
531
555
|
*/
|
|
532
556
|
backendAuth?: BackendAuthState;
|
|
557
|
+
/** Sign-in by link, when it needs the person; see `renown/local-sign-in.ts`. */
|
|
558
|
+
localSignIn?: LocalSignInState;
|
|
533
559
|
/** Per-drive node caches; see `hooks/drive-nodes.ts`. */
|
|
534
560
|
driveNodes?: DriveNodesCache;
|
|
535
561
|
documentCache?: IDocumentCache;
|
|
@@ -557,6 +583,6 @@ declare global {
|
|
|
557
583
|
interface WindowEventMap extends GraphQLClientWindowEvents {}
|
|
558
584
|
}
|
|
559
585
|
//#endregion
|
|
560
|
-
export {
|
|
586
|
+
export { IPackageListerUnsubscribe as $, invalidateDriveNodes as A, PHGlobalConfigKey$1 as At, bindPHStoreToWindow as B, IOperationCache as Bt, WorkerReactorModule as C, PHDocumentEditorConfigHooks$1 as Ct, addDriveNodesEventHandler as D, PHGlobalConfig$1 as Dt, DriveNodesOptions as E, PHDrivesGlobalConfig as Et, useDriveNode as F, DocumentRefetchState as Ft, getPHStoreSubscribe as G, ensurePHStore as H, PromiseState as Ht, useDriveNodes as I, DocumentsOfTypeEntry as It, usePHStore as J, notifyPHStore as K, useDriveNodesCache as L, FulfilledPromise as Lt, markLocalDriveWrite as M, PHGlobalConfigSettersForKey as Mt, peekDriveNode as N, PHRenownGlobalConfig as Nt, dropDriveNode as O, PHGlobalConfigHooks$1 as Ot, takeLocalDriveWrite as P, DocumentDispatch$2 as Pt, useDropNode as Q, PHStore as R, IDocumentCache as Rt, WorkerReactorClientModule$1 as S, PHDocumentEditorConfig$1 as St, DriveNodesEntry as T, PHDocumentEditorConfigSetters$1 as Tt, getActivePHStore as U, PromiseWithState as Ut, createPHStore as V, OperationsCacheEntry as Vt, getPHStore as W, RejectedPromise as Wt, addDraggingNodeEventHandler as X, DraggingNode as Y, useDragNode as Z, SearchParamsUpdate$1 as _, PHAppConfig$1 as _t, LOADING as a, PHToastType as at, SetSearchParams$1 as b, PHAppConfigSetters$1 as bt, PHGlobal$1 as c, TimelineItem as ct, PHGlobalValue as d, FailedInstallation as dt, IPackageManager as et, PHNavigateOptions$1 as f, FailedInstallationReason as ft, PHSettingsTarget$1 as g, FullPHGlobalConfig as gt, PHSearchUpdate$1 as h, PHModal$1 as ht, BrowserReactorModule as i, PHToastOptions as it, loadDriveNodes as j, PHGlobalConfigSetters$1 as jt, getDriveNode as k, PHGlobalConfigHooksForKey as kt, PHGlobalEventHandlerAdders as l, DiscoveryEvent as lt, PHNavigationTarget$1 as m, PendingInstallation as mt, BackendAuthState as n, PackageManagerInstallResult as nt, LocalSignInState as o, TimelineBarItem as ot, PHNavigation$1 as p, IPackageDiscoveryService as pt, subscribePHStore as q, BrowserReactorClientModule$1 as r, PHToastFn as rt, PHDriveTarget as s, TimelineDividerItem as st, AddPHGlobalEventHandler$1 as t, IPackagesListener as tt, PHGlobalKey$1 as u, DiscoveryEventListener as ut, SetEvent as v, PHAppConfigHooks$1 as vt, DriveNodesCache as w, PHDocumentEditorConfigKey$1 as wt, UsePHGlobalValue$1 as x, PHCommonGlobalConfig as xt, SetPHGlobalValue$1 as y, PHAppConfigKey$1 as yt, PHStoreProvider as z, IDocumentTypeCache as zt };
|
|
561
587
|
export {};
|
|
562
|
-
//# sourceMappingURL=global-
|
|
588
|
+
//# sourceMappingURL=global-DMTXzdRf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-
|
|
1
|
+
{"version":3,"file":"global-DMTXzdRf.d.ts","names":[],"sources":["../src/types/documents.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/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,kCACR,UAAU;;EAGZ,SAAS,QAAQ;;EAEjB,cAAc,QAAQ;;EAEtB,SAAS,QAAQ;;EAEjB,UACE,SAAS,MAAM,2BAA2B,kBAC1C;IAAY;;;EAGd,mBAAmB;;EAEnB,sBAAsB;;;EAGtB;;;KAIU;EACV;;EAEA;;EAEA;;EAEA;;;;;;;KAQU;EAEN;;EAEA;;EAEA,SAAS,qBAAqB;EAC9B;;EAGA;;EAEA;;EAEA;EACA;;EAGA;;EAEA;;KAGM,aAAW;EACrB,aAAa;EACb;EACA,sBAAsB,+BAA6B;EACnD,gBAAgB;;EAEhB,UAAU;;EAEV,oBAAoB;EACpB,oBAAoB;;EAEpB,eAAe;EACf,uBAAuB;EACvB,SAAS,UAAU;EACnB,sBAAsB;;EAEtB,gBAAgB,QAAQ;EACxB,SAAS;;;;;EAKT,cAAc;;EAEd,cAAc;;EAEd,aAAa;EACb,gBAAgB;EAChB;EACA;EACA,eAAe;EACf,QAAQ;EACR;EACA,uBAAuB;EACvB,0BAA0B;EAC1B,WAAW;EACX,QAAQ;;KAGE,sBAAoB;KACpB,gBAAgB,WAAS;KAEzB,mBAAiB,eAAe,uBACxC;KAGQ,mBAAiB,eAAe,kBAC1C,OAAO;KAGG;KAEA,6BAA6B,OACvC,eACA;KAGU,SAAS,aAAa,iBAAe,eAC9C,OAAO,OAAO,WAAS;QAGlB;YACI;IACR,KAAK;;YAEG,uBAAuB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as LOADING } from "./global-
|
|
1
|
+
import { a as LOADING } from "./global-DMTXzdRf.js";
|
|
2
2
|
import { CSSProperties, ReactNode } from "react";
|
|
3
|
-
import { CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, DOMAIN_TYPE, DelegationClaims, DelegationScope, IRenown, ISSUER_TYPE, LoginStatus, User, VERIFIABLE_CREDENTIAL_EIP712_TYPE, createDelegation, decodeDelegation } from "@renown/sdk";
|
|
3
|
+
import { CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, DOMAIN_TYPE, DelegationClaims, DelegationScope, IRenown, ISSUER_TYPE, LoginStatus, PowerhouseVerifiableCredential, PseudonymStore, User, VERIFIABLE_CREDENTIAL_EIP712_TYPE, createDelegation, decodeDelegation } from "@renown/sdk";
|
|
4
4
|
import { LoginMethod, WalletAdapterDescriptor, WalletController, WalletSession, WalletTheme } from "@renown/sdk/wallet";
|
|
5
5
|
//#region src/renown/use-renown-auth.d.ts
|
|
6
6
|
type RenownAuthStatus = LoginStatus | "loading";
|
|
@@ -269,6 +269,129 @@ declare function useRenownLoginMethods(labels?: Partial<Record<LoginMethod, stri
|
|
|
269
269
|
/** The controller of one adapter mounted by {@link RenownWalletProvider}, by its `meta.id`, typed as that adapter's own surface — e.g. `useRenownWalletAdapter<PrivyWalletController>("privy")` for headless email OTP. Rendering it activates the wallet tree (the adapter's library loads then), so call it from the sign-in screen, not the app shell. `undefined` until the adapter is mounted, or forever when no provider offers that id. */
|
|
270
270
|
declare function useRenownWalletAdapter<T extends WalletController = WalletController>(id: string): T | undefined;
|
|
271
271
|
//#endregion
|
|
272
|
-
|
|
272
|
+
//#region src/renown/local-sign-in.d.ts
|
|
273
|
+
/** The fragment a link carries, read and stripped at boot. */
|
|
274
|
+
type SignInFragment = {
|
|
275
|
+
kind: "sign-in";
|
|
276
|
+
code: string;
|
|
277
|
+
} | {
|
|
278
|
+
kind: "sign-out";
|
|
279
|
+
};
|
|
280
|
+
/** How long before its end a credential is renewed. */
|
|
281
|
+
declare const LOCAL_SIGN_IN_RENEW_DAYS = 7;
|
|
282
|
+
/** Refusals no retry with the same credential can change: it is dropped. */
|
|
283
|
+
declare const DROPPED_CREDENTIAL_REASONS: ReadonlySet<string>;
|
|
284
|
+
type LocalSignInEndpoint = {
|
|
285
|
+
/** The app's base path (`/` or `/<base>/`): the routes are under it. */
|
|
286
|
+
base: string;
|
|
287
|
+
/** The page's origin; default the window's. */
|
|
288
|
+
origin?: string;
|
|
289
|
+
fetch?: typeof globalThis.fetch;
|
|
290
|
+
};
|
|
291
|
+
type LocalSignInIssued = {
|
|
292
|
+
ok: true;
|
|
293
|
+
credential: PowerhouseVerifiableCredential;
|
|
294
|
+
identity: {
|
|
295
|
+
kind: string;
|
|
296
|
+
address: string;
|
|
297
|
+
label: string;
|
|
298
|
+
};
|
|
299
|
+
expiresAt: string;
|
|
300
|
+
renewFrom: string;
|
|
301
|
+
};
|
|
302
|
+
type LocalSignInRefused = {
|
|
303
|
+
ok: false;
|
|
304
|
+
status: number;
|
|
305
|
+
/** `password-required`, `wrong-password`, `used-code`, `withdrawn`, ... */
|
|
306
|
+
reason: string;
|
|
307
|
+
triesLeft?: number;
|
|
308
|
+
/** A Renown login's name (`renown-login`). */
|
|
309
|
+
label?: string;
|
|
310
|
+
};
|
|
311
|
+
/** Undefined: the endpoint could not be reached, or is not one. */
|
|
312
|
+
type LocalSignInAnswer = LocalSignInIssued | LocalSignInRefused;
|
|
313
|
+
/** Whether the server that serves this page signs pages in by link. */
|
|
314
|
+
declare function localSignInAvailable(endpoint: LocalSignInEndpoint): Promise<boolean>;
|
|
315
|
+
/** Exchanges a link's one-time code for a credential for `sessionDid`. */
|
|
316
|
+
declare function exchangeLocalSignIn(endpoint: LocalSignInEndpoint, o: {
|
|
317
|
+
code: string;
|
|
318
|
+
sessionDid: string;
|
|
319
|
+
password?: string;
|
|
320
|
+
}): Promise<LocalSignInAnswer | undefined>;
|
|
321
|
+
/** A new credential for the session whose `bearer` carries one issued here. */
|
|
322
|
+
declare function renewLocalSignIn(endpoint: LocalSignInEndpoint, o: {
|
|
323
|
+
bearer: string;
|
|
324
|
+
password?: string;
|
|
325
|
+
}): Promise<LocalSignInAnswer | undefined>;
|
|
326
|
+
/** Whether `credential` ends within `days` of `now` (or has ended). */
|
|
327
|
+
declare function credentialEndsWithin(credential: {
|
|
328
|
+
expirationDate?: string;
|
|
329
|
+
} | undefined, days: number, now: number): boolean;
|
|
330
|
+
/**
|
|
331
|
+
* The tab's answer to a credential a switchboard refused (for
|
|
332
|
+
* `setCredentialRefusalHandler`): a refusal for good drops it and the request
|
|
333
|
+
* goes again anonymously; `not-registered` enrols the browser's pseudonym at
|
|
334
|
+
* that switchboard and the request goes again with it.
|
|
335
|
+
*/
|
|
336
|
+
declare function credentialRefusalHandler(o: {
|
|
337
|
+
renown: IRenown;
|
|
338
|
+
localSignIn: Pick<LocalSignIn, "drop">;
|
|
339
|
+
browserIdentity?: {
|
|
340
|
+
enrolAt(url: string): Promise<boolean>;
|
|
341
|
+
};
|
|
342
|
+
}): (refusal: {
|
|
343
|
+
reason: string;
|
|
344
|
+
url?: string;
|
|
345
|
+
}) => Promise<"anonymous" | "again" | undefined>;
|
|
346
|
+
type LocalSignInOptions = LocalSignInEndpoint & {
|
|
347
|
+
renown: IRenown;
|
|
348
|
+
now?: () => number;
|
|
349
|
+
renewEveryMs?: number;
|
|
350
|
+
};
|
|
351
|
+
interface LocalSignIn {
|
|
352
|
+
/**
|
|
353
|
+
* At boot, before the clients: the link's sign-in or sign-out, a credential
|
|
354
|
+
* past its date dropped, a renewal that is due. Then renews every six hours.
|
|
355
|
+
*/
|
|
356
|
+
start(fragment: SignInFragment | undefined): Promise<void>;
|
|
357
|
+
/** Renews this computer's credential once under seven days remain. */
|
|
358
|
+
renew(): Promise<void>;
|
|
359
|
+
/** Drops the current credential: a switchboard refused it with `reason`. */
|
|
360
|
+
drop(reason: string): Promise<void>;
|
|
361
|
+
stop(): void;
|
|
362
|
+
}
|
|
363
|
+
declare function createLocalSignIn(o: LocalSignInOptions): LocalSignIn;
|
|
364
|
+
//#endregion
|
|
365
|
+
//#region src/renown/browser-identity.d.ts
|
|
366
|
+
type BrowserIdentityOptions = {
|
|
367
|
+
renown: IRenown;
|
|
368
|
+
/** Where the pseudonym is kept: `BrowserKeyStorage.create()`. */
|
|
369
|
+
store: () => Promise<PseudonymStore>;
|
|
370
|
+
/** The base URLs of the switchboards the tab writes to, asked per enrolment. */
|
|
371
|
+
hosts: () => readonly string[];
|
|
372
|
+
/** Whether a local server signs this page in by link (`GET __ph/sign-in`). */
|
|
373
|
+
localSignInAvailable: () => Promise<boolean>;
|
|
374
|
+
/** The chain the tab's bearers name. */
|
|
375
|
+
chainId?: number;
|
|
376
|
+
now?: () => number;
|
|
377
|
+
fetch?: typeof globalThis.fetch;
|
|
378
|
+
renewEveryMs?: number;
|
|
379
|
+
};
|
|
380
|
+
interface BrowserIdentity {
|
|
381
|
+
/** Nobody signed in: signs the browser's pseudonym in. Shared while running. */
|
|
382
|
+
ensure(): Promise<void>;
|
|
383
|
+
/** Under seven days left: a new credential, enrolled again. */
|
|
384
|
+
renew(): Promise<void>;
|
|
385
|
+
/** Enrols the current credential at the switchboard of `url`: whether it took. */
|
|
386
|
+
enrolAt(url: string): Promise<boolean>;
|
|
387
|
+
/** Renews now and every six hours. */
|
|
388
|
+
start(): void;
|
|
389
|
+
stop(): void;
|
|
390
|
+
}
|
|
391
|
+
/** A switchboard's base URL from its GraphQL endpoint (or base). */
|
|
392
|
+
declare function switchboardBaseOf(url: string): string;
|
|
393
|
+
declare function createBrowserIdentity(o: BrowserIdentityOptions): BrowserIdentity;
|
|
394
|
+
//#endregion
|
|
395
|
+
export { RENOWN_RETURN_URL_STRIPPED_PARAMS as $, RenownProviderProps as A, RenownAuthStatus as At, RENOWN_INITIAL_UNKNOWN as B, renewLocalSignIn as C, desktopShell as Ct, RenownWalletProvider as D, RenownAuth as Dt, useRenownLoginMethods as E, openRenown as Et, RenownSessionCookieOptions as F, useRenownInitialUser as G, RenownInitialUserProvider as H, RenownSessionCookieState as I, CREDENTIAL_TYPES as J, CREDENTIAL_SCHEMA_EIP712_TYPE as K, useRenownSessionCookie as L, RenownProps as M, useRenownAuthAsync as Mt, RenownInitOptions as N, RenownWalletProviderProps as O, RenownAuthAsync as Ot, useRenownInit as P, RENOWN_NETWORK_ID as Q, useRenownSessionSynced as R, localSignInAvailable as S, DesktopShell as St, RenownLoginMethod as T, logout as Tt, RenownInitialUserProviderProps as U, RenownInitialAuth as V, useRenownInitialAuth as W, ISSUER_TYPE as X, DOMAIN_TYPE as Y, RENOWN_CHAIN_ID as Z, SignInFragment as _, setRenown as _t, BrowserIdentity as a, DisconnectIcon as at, credentialRefusalHandler as b, useRenown as bt, switchboardBaseOf as c, UserIcon as ct, LocalSignIn as d, RenownUserButtonProps as dt, RENOWN_URL as et, LocalSignInAnswer as f, RenownLoginButton as ft, LocalSignInRefused as g, addRenownEventHandler as gt, LocalSignInOptions as h, RenownAuthButtonProps as ht, decodeDelegation as i, CopyIcon as it, Renown as j, useRenownAuth as jt, RenownProvider as k, RenownAuthResolution as kt, DROPPED_CREDENTIAL_REASONS as l, RenownUserButton as lt, LocalSignInIssued as m, RenownAuthButton as mt, DelegationScope as n, initRenownCrypto as nt, BrowserIdentityOptions as o, RenownLogo as ot, LocalSignInEndpoint as p, RenownLoginButtonProps as pt, CREDENTIAL_SUBJECT_TYPE as q, createDelegation as r, ChevronDownIcon as rt, createBrowserIdentity as s, SpinnerIcon as st, DelegationClaims as t, VERIFIABLE_CREDENTIAL_EIP712_TYPE as tt, LOCAL_SIGN_IN_RENEW_DAYS as u, RenownUserButtonMenuItem as ut, createLocalSignIn as v, useDid as vt, useRenownWalletAdapter as w, login as wt, exchangeLocalSignIn as x, useUser as xt, credentialEndsWithin as y, useLoginStatus as yt, RENOWN_INITIAL_ANONYMOUS as z };
|
|
273
396
|
export {};
|
|
274
|
-
//# sourceMappingURL=index-
|
|
397
|
+
//# sourceMappingURL=index-C5bsy9EC.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-C5bsy9EC.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","../src/renown/local-sign-in.ts","../src/renown/browser-identity.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;;;;;;;;KCnJ1B;EACV,aAAa,qBAAqB;;;iBAIpB,gBAAgB;iBA0BhB,WAAW;iBAkIL,MACpB,6BACA,QAAQ,sBACP,QAAQ;iBAgCW,UAAM;;;;cC/Mf;;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,cACA,aACA,gBACA,YACC,oDAAqB,IAAA;;;UCfP;EACf;EACA;EACA,QAAQ;EACR;EACA;EACA,WAAW;;iBAsCG,oBACd,SAAS,aACT,OACA,WACA,SACA,YACC,qDAAsB,IAAA;;;UCxCR;EACf;EACA,OAAO;EACP;EACA,QAAQ;;UAGO;EACf;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR;EACA;EACA,WAAW;EACX,YAAY;;iBAuKE,mBACd,SAAS,aACT,UAAU,cACV,WAAW,eACX,QAAQ,YACR,cAAc,kBACd,OACA,WACA,SACA,UACA,aACC,oDAAqB,IAAA;;;UCjNd;EACR;EACA;EACA;EACA;EACA,QAAQ;EACR;;UAGQ,wBAAwB;EAChC;;i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B;;;cAGO;;cAGA,4BAA4B;KAc7B;;EAEV;;EAEA;EACA,eAAe,WAAW;;KAGhB;EACV;EACA,YAAY;EACZ;IAAY;IAAc;IAAiB;;EAC3C;EACA;;KAGU;EACV;EACA;;EAEA;EACA;;EAEA;;;KAIU,oBAAoB,oBAAoB;;iBAwD9B,qBACpB,UAAU,sBACT;;iBAiBa,oBACd,UAAU,qBACV;EAAK;EAAc;EAAoB;IACtC,QAAQ;;iBAKK,iBACd,UAAU,qBACV;EAAK;EAAgB;IACpB,QAAQ;;iBAUK,qBACd;EAAc;eACd,cACA;;;;;;;iBAYc,yBAAyB;EACvC,QAAQ;EACR,aAAa,KAAK;EAClB;IAAoB,QAAQ,cAAc;;KACvC;EACH;EACA;MACI;KAkBM,qBAAqB;EAC/B,QAAQ;EACR;EACA;;UAGe;;;;;EAKf,MAAM,UAAU,6BAA6B;;EAE7C,SAAS;;EAET,KAAK,iBAAiB;EACtB;;iBAGc,kBAAkB,GAAG,qBAAqB;;;KCrM9C;EACV,QAAQ;;EAER,aAAa,QAAQ;;EAErB;;EAEA,4BAA4B;;EAE5B;EACA;EACA,eAAe,WAAW;EAC1B;;UAGe;;EAEf,UAAU;;EAEV,SAAS;;EAET,QAAQ,cAAc;;EAEtB;EACA;;;iBAIc,kBAAkB;iBAIlB,sBACd,GAAG,yBACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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-DdLM0Yf5.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 {
|
|
3
|
+
import { a as credentialRefusalOf, i as ambientRenownTokenProvider, n as CredentialRefusal, o as makeAuthMiddleware, r as CredentialRefusalHandler, s as setCredentialRefusalHandler, t as BearerTokenProvider } from "./auth-Ryem1MiX.js";
|
|
4
4
|
import { a as getAnalyticsStore, i as createAnalyticsStore, n as IPowerhouseAnalytics, r as CreateStoreOptions } from "./types-520nWrB3.js";
|
|
5
|
-
import { $ as
|
|
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";
|
|
7
7
|
import { baseDocumentModels, baseDocumentModelsMap } from "./src/document-model.js";
|
|
8
8
|
import { t as PGlite } from "./pglite-CntadC_p-DTkdF8sr.js";
|
|
9
9
|
import { r as PGliteWithLive } from "./index-rtDmzViP.js";
|
|
10
10
|
import { a as GraphQLDocumentEvents, c as ReactorGraphQLClient, d as DEFAULT_DRIVE_ID, f as DEFAULT_SWITCHBOARD_URL, h as graphqlEventsToSyncDrive, i as GraphQLDocumentEventOperationName, l as RunDocumentOptions, m as graphqlDocumentsEvents, n as GraphQLClientDocumentsEvent, o as GraphQLDocumentEventsOperationName, p as graphqlDocumentEvents, r as GraphQLClientWindowEvents, s as GraphQLDocumentsEvents, t as GraphQLClientDocumentEvent, u as TStateSchemaZodObject } from "./types-BWx6FPO4.js";
|
|
11
11
|
import { t as createClient } from "./client-BP0hXjqq.js";
|
|
12
|
-
import { $ as
|
|
12
|
+
import { $ as RENOWN_RETURN_URL_STRIPPED_PARAMS, A as RenownProviderProps, At as RenownAuthStatus, B as RENOWN_INITIAL_UNKNOWN, C as renewLocalSignIn, Ct as desktopShell, D as RenownWalletProvider, Dt as RenownAuth, E as useRenownLoginMethods, Et as openRenown, F as RenownSessionCookieOptions, G as useRenownInitialUser, H as RenownInitialUserProvider, I as RenownSessionCookieState, J as CREDENTIAL_TYPES, K as CREDENTIAL_SCHEMA_EIP712_TYPE, L as useRenownSessionCookie, M as RenownProps, Mt as useRenownAuthAsync, N as RenownInitOptions, O as RenownWalletProviderProps, Ot as RenownAuthAsync, P as useRenownInit, Q as RENOWN_NETWORK_ID, R as useRenownSessionSynced, S as localSignInAvailable, St as DesktopShell, T as RenownLoginMethod, Tt as logout, U as RenownInitialUserProviderProps, V as RenownInitialAuth, W as useRenownInitialAuth, X as ISSUER_TYPE, Y as DOMAIN_TYPE, Z as RENOWN_CHAIN_ID, _ as SignInFragment, _t as setRenown, a as BrowserIdentity, at as DisconnectIcon, b as credentialRefusalHandler, bt as useRenown, c as switchboardBaseOf, ct as UserIcon, d as LocalSignIn, dt as RenownUserButtonProps, et as RENOWN_URL, f as LocalSignInAnswer, ft as RenownLoginButton, g as LocalSignInRefused, gt as addRenownEventHandler, h as LocalSignInOptions, ht as RenownAuthButtonProps, i as decodeDelegation, it as CopyIcon, j as Renown, jt as useRenownAuth, k as RenownProvider, kt as RenownAuthResolution, l as DROPPED_CREDENTIAL_REASONS, lt as RenownUserButton, m as LocalSignInIssued, mt as RenownAuthButton, n as DelegationScope, nt as initRenownCrypto, o as BrowserIdentityOptions, ot as RenownLogo, p as LocalSignInEndpoint, pt as RenownLoginButtonProps, q as CREDENTIAL_SUBJECT_TYPE, r as createDelegation, rt as ChevronDownIcon, s as createBrowserIdentity, st as SpinnerIcon, t as DelegationClaims, tt as VERIFIABLE_CREDENTIAL_EIP712_TYPE, u as LOCAL_SIGN_IN_RENEW_DAYS, ut as RenownUserButtonMenuItem, v as createLocalSignIn, vt as useDid, w as useRenownWalletAdapter, wt as login, x as exchangeLocalSignIn, xt as useUser, y as credentialEndsWithin, yt as useLoginStatus, z as RENOWN_INITIAL_ANONYMOUS } from "./index-C5bsy9EC.js";
|
|
13
13
|
import { QueryCallbackReturnType, RelationalDbOptions, RelationalDbWithLive, createProcessorQuery, useRelationalDb, useRelationalQuery, useRelationalQueryOptions } from "./src/relational/index.js";
|
|
14
14
|
import { DragEventHandler, MouseEvent, ReactNode } from "react";
|
|
15
15
|
import { DocumentModelLib, DocumentModelModule, EditorModule, PHDocument, PHDocumentController } from "document-model";
|
|
@@ -267,6 +267,7 @@ export declare const commonGlobalEventHandlerFunctions: {
|
|
|
267
267
|
loading: () => void;
|
|
268
268
|
drives: () => void;
|
|
269
269
|
backendAuth: () => void;
|
|
270
|
+
localSignIn: () => void;
|
|
270
271
|
driveNodes: () => void;
|
|
271
272
|
selectedDriveId: () => void;
|
|
272
273
|
selectedNodeId: () => void;
|
|
@@ -1205,6 +1206,13 @@ export declare function isBackendAuthError(error: unknown): boolean;
|
|
|
1205
1206
|
/** Records the refusal `error` carries, if it is one; returns whether it was. */
|
|
1206
1207
|
export declare function recordBackendAuthError(error: unknown, backend?: string): boolean;
|
|
1207
1208
|
//#endregion
|
|
1209
|
+
//#region src/hooks/local-sign-in.d.ts
|
|
1210
|
+
/** What sign-in by link needs of the person, if anything. */
|
|
1211
|
+
export declare const useLocalSignIn: UsePHGlobalValue<LocalSignInState>;
|
|
1212
|
+
/** Sets (or clears, with `undefined`) what sign-in by link needs. */
|
|
1213
|
+
export declare const setLocalSignIn: SetPHGlobalValue<LocalSignInState>;
|
|
1214
|
+
export declare const addLocalSignInEventHandler: () => void;
|
|
1215
|
+
//#endregion
|
|
1208
1216
|
//#region src/pglite/drop.d.ts
|
|
1209
1217
|
export declare function truncateAllTables(pg: PGlite, schema?: string): Promise<void>;
|
|
1210
1218
|
export declare function dropAllReactorStorage(pg: PGlite): Promise<void>;
|
|
@@ -1838,6 +1846,6 @@ export declare function getUserPermissions(): {
|
|
|
1838
1846
|
//#region src/utils/validate-document.d.ts
|
|
1839
1847
|
export declare const validateDocument: (document: PHDocument$1) => ValidationError[];
|
|
1840
1848
|
//#endregion
|
|
1841
|
-
export { type AddPHGlobalEventHandler, type BackendAuthState, 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_BATCH_REQUEST_TIMEOUT_MS, DEFAULT_BREAKER, DEFAULT_DRIVE_ID, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, 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, 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 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, createClient, createDelegation, createDispatch, createGraphQLDriveNodeSource, createJobChangesSocket, createPHStore, createProcessorQuery, createSwitchboardBackend, decodeDelegation, describeGraphQLDocument, desktopShell, dispatchActions, dropDriveNode, ensurePHEventHandlers, ensurePHStore, findIsServableOverGraphQL, getActivePHStore, getAnalyticsStore, getDriveNode, getFullReactorClient, getPHStore, getPHStoreSubscribe, globalFetch, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, initRenownCrypto, invalidateDriveNodes, isAuthRefusalClose, isDeadlineError, isDocumentTypeCache, isDriveAuthError, isGraphQLReactorClient, isNodeFetch, isOperationCache, isoStringFromDateTime, loadDriveNodes, login, logout, makeAuthConnectionParams, makeAuthMiddleware, markLocalDriveWrite, notifyPHStore, openRenown, packageFromDocumentModels, peekDriveNode, phDocumentFromGetDocument, phDocumentFromMutation, prepareSignedActions, queriesUnknownArgument, queriesUnknownField, readPromiseState, resolveDocumentModelModule, revisionMapFromRevisionsList, setAttachmentService, setDocumentCache, setFullReactorClient, setReactorClient, setReactorClientModule, setRenown, signStampedAction, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscribePHStore, subscriptionsUrlFromGraphqlUrl, 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 };
|
|
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 };
|
|
1842
1850
|
export {};
|
|
1843
1851
|
//# 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/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;;;wBC+IW,qBACpB,UAAU,eACT;wBAyLmB,WAAW,UAAU,cAAY,yBAAsB,eAAA;;;;;;wBA4CvD,SAAS,eAAe,OAAI,QAAA,aAAA;wBA2C5B,YACpB,iBACA,cACA,sBACA,uBACA,WAAW,cACX,aACA,0BACA,gCAA6B;;;;;EA0DrB;;;KAKE;EACV;EACA;EACA;EACA;EACA;;wBA4GoB,oBACpB,eAAe,MACf,iBACA,eACA,uBACA,aAAa,8BACb,0BACA,kBAAkB,uBAAkB,QAAA;wBAwQhB,UACpB,iBACA,cACA,wBAAqB,QAAA;wBAgCD,WAAW,iBAAiB,iB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HjC,0BAA0B,OAAO;wBAuEjC,2BACd,sBACA,oBACA,QAAQ,qBACR;wBAqCc,yBACd,oBACA,sBACA,oBACA,QAAQ,qBACR;;;;iBClTe;WACN;aACE;aACA;eACE;eACA;iBAAoB;;;;;EAIjC,OAAO,oBAAoB,SAAS,cAAc;;iBAGnC;;;;;;EAMf;aAAqC;aAAuB;;;EAE5D,SAAS;;EAET,oBAAoB,KAAK;;EAEzB;;;;;;wBAwBc,2BACd,SAAS,8BACR;YAqFS;;qBAQC,+BAA+B;WAG/B,MAAM;WACN,uBAAuB;EAHlC,YACE,iBACS,MAAM,4BACN,wBAAuB;;iBAOnB;;EAEf;;EAEA;;EAEA;EACA,SAAS;;;;;;;;wBAmDW,mBACpB,WAAW,kCACX,UAAS,qBACR,QAAQ;;;YC5NC;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,cAAc,OAAO;;wBA+BrB,gBACd,iBAAiB,qCACjB,0BACC;;;;;wBAwBa,aAAa,MAAM;;;;;wBASnB,wBAAwB;;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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAaY;EACV;EACA;EACA;EACA;EACA,MAAM;EACN;;;;;;;;;;;;;;;;;;;;;wBAsBoB,eACpB,aACA,gBAAe,sBACd,QAAQ;;;wBC+IW,qBACpB,UAAU,eACT;wBAyLmB,WAAW,UAAU,cAAY,yBAAsB,eAAA;;;;;;wBA4CvD,SAAS,eAAe,OAAI,QAAA,aAAA;wBA2C5B,YACpB,iBACA,cACA,sBACA,uBACA,WAAW,cACX,aACA,0BACA,gCAA6B;;;;;EA0DrB;;;KAKE;EACV;EACA;EACA;EACA;EACA;;wBA4GoB,oBACpB,eAAe,MACf,iBACA,eACA,uBACA,aAAa,8BACb,0BACA,kBAAkB,uBAAkB,QAAA;wBAwQhB,UACpB,iBACA,cACA,wBAAqB,QAAA;wBAgCD,WAAW,iBAAiB,iBAAc;wBAwD1C,gBACpB,iBACA,gBACA,eACC,QAAQ;wBA4BW,yBACpB,gBACA,iCAA8B,QAAA;;;;;wBAwPV,gBAAgB,oBAAoB,qBAAkB,QAAA;;;KC/vChE;EAAkB,MAA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BACA,oBACA,QAAQ,qBACR;;;;iBClTe;WACN;aACE;aACA;eACE;eACA;iBAAoB;;;;;EAIjC,OAAO,oBAAoB,SAAS,cAAc;;iBAGnC;;;;;;EAMf;aAAqC;aAAuB;;;EAE5D,SAAS;;EAET,oBAAoB,KAAK;;EAEzB;;;;;;wBAwBc,2BACd,SAAS,8BACR;YAqFS;;qBAQC,+BAA+B;WAG/B,MAAM;WACN,uBAAuB;EAHlC,YACE,iBACS,MAAM,4BACN,wBAAuB;;iBAOnB;;EAEf;;EAEA;;EAEA;EACA,SAAS;;;;;;;;wBAmDW,mBACpB,WAAW,kCACX,UAAS,qBACR,QAAQ;;;YC5NC;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,cAAc,OAAO;;wBA+BrB,gBACd,iBAAiB,qCACjB,0BACC;;;;;wBAwBa,aAAa,MAAM;;;;;wBASnB,wBAAwB;;wBAOxB,SAAS;;wBAST,cAAc;wBAQd,sBAAsB;;;;;wBAQtB,yBAAyB;wBAMzB,uBAAuB;;;wBCtIvB;EAAA;EAAA;;;;qBCUH,mBAAgB,UAAc,iBAAU"}
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
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, 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
|
|
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 setCredentialRefusalHandler, 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 credentialRefusalOf, w as preloadNode, x as addResetSelectedNodeEventHandler, y as useSelectedDriveSafe, yt as makeAuthMiddleware, z as listSyncRemotes } from "./document-model-modules-CHo9NZhj.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-Dj0fTOHE.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
|
-
import {
|
|
11
|
-
import {
|
|
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-7KPHB5Tz.js";
|
|
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";
|
|
12
13
|
import { n as useDocumentsByIds, t as useDocumentById } from "./document-by-id-DdvqanGR.js";
|
|
13
14
|
import { i as setPGliteDB, n as useRelationalQuery, r as useRelationalDb, t as createProcessorQuery } from "./relational-DZuyKp2y.js";
|
|
14
|
-
import { a as getPackagesByDocumentType, c as trimTrailingSlash, i as getPackages,
|
|
15
|
+
import { a as getPackagesByDocumentType, c as trimTrailingSlash, i as getPackages, n as getPackageInfo, o as getPackagesForDocumentType, r as getPackagePage, s as searchPackages, t as RegistryClient, u as SYNC_REMOTES_CHANGED_EVENT } from "./client-DMCO2IaR.js";
|
|
15
16
|
import { use, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
16
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";
|
|
17
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";
|
|
@@ -3679,6 +3680,6 @@ var BrowserLocalStorage = class extends BaseStorage {
|
|
|
3679
3680
|
}
|
|
3680
3681
|
};
|
|
3681
3682
|
//#endregion
|
|
3682
|
-
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, 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, 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, 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, createClient, createDelegation, createDispatch, createDriveArrivals, createDriveChangeHandler, createGraphQLDriveNodeSource, createJobChangesSocket, createPHStore, createProcessorQuery, createSwitchboardBackend, createSwitchboardDirectory, decodeDelegation, deleteDrive, deleteNode, deriveSystemUrl, describeGraphQLDocument, desktopShell, diffStateShapes, dispatchActions, downloadDocument, downloadFolderZip, dropAllReactorStorage, dropDriveNode, ensurePHEventHandlers, ensurePHStore, 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, 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, resolveDocumentModelModule, resolveDriveRoute, resolveSearchUpdate, resolveSwitchboard, resolveUrlPathname, revisionMapFromRevisionsList, searchPackages, searchParamsToString, searchToRecord, setAllowList, setAllowedDocumentTypes, setAttachmentService, setBackendAuth, setBasePath, setBrowserOpenSync, setDefaultDrivesUrl, setDefaultPHGlobalConfig, setDisabledEditors, setDocumentCache, setDriveAvailableOffline, setDriveMetadata, setDriveSharingType, setDrives, setFeatures, setFullReactorClient, setGlobal, setGraphQLReactorClient, setIsAddDriveEnabled, setIsDragAndDropEnabled, setIsExternalControlsEnabled, setLoading, 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, 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, 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 };
|
|
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 };
|
|
3683
3684
|
|
|
3684
3685
|
//# sourceMappingURL=index.js.map
|