@powerhousedao/reactor-browser 6.2.3-dev.77 → 6.2.3-dev.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{attachment-service-D-CKdGUb.d.ts → attachment-service-BoLudaH0.d.ts} +128 -30
  2. package/dist/attachment-service-BoLudaH0.d.ts.map +1 -0
  3. package/dist/{client-CI-3xGMZ.js → client-BUpynoY6.js} +114 -2
  4. package/dist/client-BUpynoY6.js.map +1 -0
  5. package/dist/{client-Ca_CA8VC.d.ts → client-XPGQrO4a.d.ts} +2 -2
  6. package/dist/client-XPGQrO4a.d.ts.map +1 -0
  7. package/dist/{dispatch-qujH7vLW.js → dispatch-C8J9jQ-o.js} +77 -9
  8. package/dist/dispatch-C8J9jQ-o.js.map +1 -0
  9. package/dist/{document-by-id-D1wsYWhq.js → document-by-id-Dpp76ZNE.js} +2 -2
  10. package/dist/{document-by-id-D1wsYWhq.js.map → document-by-id-Dpp76ZNE.js.map} +1 -1
  11. package/dist/{document-model-modules-DmLQhKvh.js → document-model-modules-XrYfGXt8.js} +254 -9
  12. package/dist/document-model-modules-XrYfGXt8.js.map +1 -0
  13. package/dist/{document-operations-C4-irgHD.js → document-operations-B0GZilXW.js} +452 -171
  14. package/dist/document-operations-B0GZilXW.js.map +1 -0
  15. package/dist/{global-CgzlPBc3.d.ts → global-BlOVLagj.d.ts} +140 -54
  16. package/dist/global-BlOVLagj.d.ts.map +1 -0
  17. package/dist/{index-CrVfRJO1.d.ts → index-Ck5Q0beA.d.ts} +2 -2
  18. package/dist/{index-CrVfRJO1.d.ts.map → index-Ck5Q0beA.d.ts.map} +1 -1
  19. package/dist/index.d.ts +69 -61
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +304 -87
  22. package/dist/index.js.map +1 -1
  23. package/dist/src/ai/index.js +2 -2
  24. package/dist/src/analytics/index.js +1 -1
  25. package/dist/src/graphql/client.d.ts +2 -2
  26. package/dist/src/graphql/client.js +1 -1
  27. package/dist/src/graphql-client/entry.d.ts +4 -4
  28. package/dist/src/graphql-client/entry.js +4 -4
  29. package/dist/src/renown/index.d.ts +1 -1
  30. package/dist/{switchboard-0yDJ-f9X.js → switchboard-CYTCYt4Z.js} +10 -48
  31. package/dist/switchboard-CYTCYt4Z.js.map +1 -0
  32. package/dist/{types-DOY-eHEk.d.ts → types-BNVqRNli.d.ts} +79 -2
  33. package/dist/types-BNVqRNli.d.ts.map +1 -0
  34. package/package.json +9 -9
  35. package/dist/attachment-service-D-CKdGUb.d.ts.map +0 -1
  36. package/dist/client-CI-3xGMZ.js.map +0 -1
  37. package/dist/client-Ca_CA8VC.d.ts.map +0 -1
  38. package/dist/dispatch-qujH7vLW.js.map +0 -1
  39. package/dist/document-model-modules-DmLQhKvh.js.map +0 -1
  40. package/dist/document-operations-C4-irgHD.js.map +0 -1
  41. package/dist/global-CgzlPBc3.d.ts.map +0 -1
  42. package/dist/switchboard-0yDJ-f9X.js.map +0 -1
  43. package/dist/types-DOY-eHEk.d.ts.map +0 -1
@@ -1,13 +1,14 @@
1
1
  import { t as PGlite } from "./pglite-CntadC_p-DTkdF8sr.js";
2
- import { c as ReactorGraphQLClient, r as GraphQLClientWindowEvents } from "./types-DOY-eHEk.js";
2
+ import { c as ReactorGraphQLClient, r as GraphQLClientWindowEvents } from "./types-BNVqRNli.js";
3
3
  import { r as IWorkerAdminClient, t as IInspectorProxy } from "./inspector-proxy-DODqs15F.js";
4
4
  import { DragEventHandler, ReactNode } from "react";
5
- import { DocumentDispatch as DocumentDispatch$1, DocumentModelModule, Operation, PHDocument } from "@powerhousedao/shared/document-model";
5
+ import { DocumentDispatch as DocumentDispatch$2, DocumentModelModule, Operation, PHDocument } from "@powerhousedao/shared/document-model";
6
6
  import { IDocumentModelLoader, IReactorClient, IReactorReadClient, IReactorWriteClient, InProcessReactorClientModule, InProcessReactorModule, ReactorClientModule, ReactorModule } from "@powerhousedao/reactor";
7
- import { DocumentDriveDocument } from "@powerhousedao/shared/document-drive";
7
+ import { DocumentDriveDocument, Node } from "@powerhousedao/shared/document-drive";
8
8
  import { IRenown } from "@renown/sdk";
9
9
  import { IAttachmentService } from "@powerhousedao/reactor-attachments/client";
10
10
  import { WorkerPackageSource } from "@powerhousedao/reactor/rpc";
11
+ import { PHGlobal, PHGlobalKey } from "@powerhousedao/reactor-browser";
11
12
  import { PHConnectRenownAdapters } from "@powerhousedao/shared/clis";
12
13
  import { DocumentModelLib, RegistryPackageSource } from "@powerhousedao/shared";
13
14
  //#region src/types/documents.d.ts
@@ -99,7 +100,7 @@ interface IOperationCache {
99
100
  * {@link IReactorReadClient}, so the signatures can never drift from the
100
101
  * reactor's own.
101
102
  */
102
- interface IReactorBrowserReadClient extends Pick<IReactorReadClient, "get" | "getMany" | "find" | "getOperations" | "subscribe" | "waitForJob" | "getJobStatus"> {}
103
+ interface IReactorBrowserReadClient extends Pick<IReactorReadClient, "get" | "getMany" | "find" | "getOperations" | "subscribe" | "waitForJob" | "getJobStatus" | "drives"> {}
103
104
  /**
104
105
  * The writes the reactor-browser hooks make: a derived subset of
105
106
  * {@link IReactorWriteClient}. Each resolves once its job is accepted and
@@ -123,27 +124,27 @@ interface IReactorBrowserWriteClient extends Pick<IReactorWriteClient, "execute"
123
124
  * `executeAsync`/`executeBatch`, `createEmpty`, `rename` and the document
124
125
  * model module getters.
125
126
  */
126
- interface IReactorBrowserClient extends Pick<IReactorClient, "get" | "find" | "subscribe" | "execute" | "getOperations" | "create" | "deleteDocument"> {
127
+ interface IReactorBrowserClient$1 extends Pick<IReactorClient, "get" | "find" | "subscribe" | "execute" | "getOperations" | "newDocument" | "create" | "deleteDocument"> {
127
128
  readonly read: IReactorBrowserReadClient;
128
129
  readonly write: IReactorBrowserWriteClient;
129
130
  }
130
131
  /** The client halves `window.ph.reactor` holds. */
131
- type ReactorBrowserHalves = {
132
+ type ReactorBrowserHalves$1 = {
132
133
  read: IReactorBrowserReadClient;
133
134
  write: IReactorBrowserWriteClient;
134
135
  };
135
136
  //#endregion
136
137
  //#region src/types/config.d.ts
137
- type PHGlobalConfig = PHCommonGlobalConfig & PHAppConfig & PHDocumentEditorConfig & PHDrivesGlobalConfig & PHAnalyticsGlobalConfig & PHRelationalProcessorsGlobalConfig & PHProcessorsGlobalConfig & PHRenownGlobalConfig & PHSentryGlobalConfig;
138
- type PHGlobalConfigKey = keyof PHGlobalConfig;
139
- type PHGlobalConfigSetters = PHGlobalConfigSettersForKey<PHGlobalConfigKey>;
140
- type PHGlobalConfigHooks = PHGlobalConfigHooksForKey<PHGlobalConfigKey>;
138
+ type PHGlobalConfig$1 = PHCommonGlobalConfig & PHAppConfig$1 & PHDocumentEditorConfig$1 & PHDrivesGlobalConfig & PHAnalyticsGlobalConfig & PHRelationalProcessorsGlobalConfig & PHProcessorsGlobalConfig & PHRenownGlobalConfig & PHSentryGlobalConfig;
139
+ type PHGlobalConfigKey$1 = keyof PHGlobalConfig$1;
140
+ type PHGlobalConfigSetters$1 = PHGlobalConfigSettersForKey<PHGlobalConfigKey$1>;
141
+ type PHGlobalConfigHooks$1 = PHGlobalConfigHooksForKey<PHGlobalConfigKey$1>;
141
142
  /**
142
143
  * Editor configuration settings which are globally available to your custom apps.
143
144
  *
144
145
  * Setting these will override the defaults when your editor is mounted.
145
146
  */
146
- type PHAppConfig = {
147
+ type PHAppConfig$1 = {
147
148
  /** Allows you to specify the document types that are allowed to be added to the drive.
148
149
  * An empty array means that any document type is allowed.
149
150
  */
@@ -151,16 +152,16 @@ type PHAppConfig = {
151
152
  /** Whether drag and drop is enabled for the app. */
152
153
  isDragAndDropEnabled?: boolean;
153
154
  };
154
- type PHAppConfigKey = keyof PHAppConfig;
155
- type PHAppConfigSetters = PHGlobalConfigSettersForKey<PHAppConfigKey>;
156
- type PHAppConfigHooks = PHGlobalConfigHooksForKey<PHAppConfigKey>;
157
- type PHDocumentEditorConfig = {
155
+ type PHAppConfigKey$1 = keyof PHAppConfig$1;
156
+ type PHAppConfigSetters$1 = PHGlobalConfigSettersForKey<PHAppConfigKey$1>;
157
+ type PHAppConfigHooks$1 = PHGlobalConfigHooksForKey<PHAppConfigKey$1>;
158
+ type PHDocumentEditorConfig$1 = {
158
159
  /** Whether external controls are enabled for the document editor. */
159
160
  isExternalControlsEnabled?: boolean;
160
161
  };
161
- type PHDocumentEditorConfigKey = keyof PHDocumentEditorConfig;
162
- type PHDocumentEditorConfigSetters = PHGlobalConfigSettersForKey<PHDocumentEditorConfigKey>;
163
- type PHDocumentEditorConfigHooks = PHGlobalConfigHooksForKey<PHDocumentEditorConfigKey>;
162
+ type PHDocumentEditorConfigKey$1 = keyof PHDocumentEditorConfig$1;
163
+ type PHDocumentEditorConfigSetters$1 = PHGlobalConfigSettersForKey<PHDocumentEditorConfigKey$1>;
164
+ type PHDocumentEditorConfigHooks$1 = PHGlobalConfigHooksForKey<PHDocumentEditorConfigKey$1>;
164
165
  type PHCommonGlobalConfig = {
165
166
  basePath?: string;
166
167
  routerBasename?: string;
@@ -223,13 +224,13 @@ type PHSentryGlobalConfig = {
223
224
  sentryEnv?: string;
224
225
  isSentryTracingEnabled?: boolean;
225
226
  };
226
- type PHGlobalConfigSettersForKey<T extends PHGlobalConfigKey> = { [K in T]: (value: PHGlobalConfig[K]) => void; };
227
- type PHGlobalConfigHooksForKey<TKey extends PHGlobalConfigKey> = { [K in TKey]: () => PHGlobalConfig[K]; };
227
+ type PHGlobalConfigSettersForKey<T extends PHGlobalConfigKey$1> = { [K in T]: (value: PHGlobalConfig$1[K]) => void; };
228
+ type PHGlobalConfigHooksForKey<TKey extends PHGlobalConfigKey$1> = { [K in TKey]: () => PHGlobalConfig$1[K]; };
228
229
  /** Helper type for ensuring keys are all present while still allowing them to be set */
229
- type FullPHGlobalConfig = Record<PHGlobalConfigKey, PHGlobalConfig[PHGlobalConfigKey]>;
230
+ type FullPHGlobalConfig = Record<PHGlobalConfigKey$1, PHGlobalConfig$1[PHGlobalConfigKey$1]>;
230
231
  //#endregion
231
232
  //#region src/types/modals.d.ts
232
- type PHModal = {
233
+ type PHModal$1 = {
233
234
  type: "createDocument";
234
235
  documentType: string;
235
236
  documentModelVersion?: number;
@@ -430,16 +431,99 @@ declare function useDropNode(targetId: string | undefined): {
430
431
  onDrop: DragEventHandler;
431
432
  };
432
433
  //#endregion
434
+ //#region src/hooks/ph-store.d.ts
435
+ /** PH state of one app (or one server request); assigning a key notifies. */
436
+ type PHStore = PHGlobal;
437
+ declare const ALL_KEYS: unique symbol;
438
+ declare function createPHStore(initial?: PHGlobal): PHStore;
439
+ /** Subscribes to changes of `key`, or of every key when omitted. */
440
+ declare function subscribePHStore(store: PHStore, listener: () => void, key?: PHGlobalKey | typeof ALL_KEYS): () => void;
441
+ /** Notifies `key`'s listeners without a change, as re-setting a value does. */
442
+ declare function notifyPHStore(store: PHStore, key: PHGlobalKey): void;
443
+ /** A subscribe for `key`, stable per store as useSyncExternalStore expects. */
444
+ declare function getPHStoreSubscribe(store: PHStore, key?: PHGlobalKey): (listener: () => void) => () => void;
445
+ /** The store bound with {@link bindPHStoreToWindow}, if any. */
446
+ declare function getActivePHStore(): PHGlobal | undefined;
447
+ /** The app's state outside React: the bound store, else `window.ph`. */
448
+ declare function getPHStore(): PHStore | undefined;
449
+ /** The bound store; otherwise binds `window.ph` if it is a store, else a new
450
+ * store that takes over a plain `window.ph`'s values. */
451
+ declare function ensurePHStore(): PHStore;
452
+ /** Makes `store` the app's state and `window.ph`; values set on a plain
453
+ * `window.ph` carry over where `store` has none. */
454
+ declare function bindPHStoreToWindow(store: PHStore): void;
455
+ /** Hooks below read from `store`; without a provider they read `window.ph`. */
456
+ declare function PHStoreProvider(props: {
457
+ store: PHStore;
458
+ children: ReactNode;
459
+ }): import("react/jsx-runtime").JSX.Element;
460
+ declare function usePHStore(): PHGlobal | undefined;
461
+ //#endregion
462
+ //#region src/hooks/drive-nodes.d.ts
463
+ /** One drive's cached nodes, read through `read.drives`. */
464
+ type DriveNodesEntry = {
465
+ readonly byId: ReadonlyMap<string, Node>;
466
+ /** "all" once a full listing landed; "partial" holds single fetches or a
467
+ * listing being refreshed. */
468
+ readonly loaded: "none" | "partial" | "all";
469
+ /** The drive's nodes from the last full listing, kept while it refreshes. */
470
+ readonly nodes?: Node[];
471
+ readonly loading?: Promise<Node[]>;
472
+ /** The drive changed while `loading` was in flight: that listing may miss
473
+ * the change, so another one follows as soon as it lands. */
474
+ readonly stale?: true;
475
+ /** The last full listing failed; hooks do not retry until invalidated. */
476
+ readonly error?: unknown;
477
+ };
478
+ /** Node caches by drive id; replaced, never mutated, so hooks see changes. */
479
+ type DriveNodesCache = ReadonlyMap<string, DriveNodesEntry>;
480
+ type DriveNodesOptions = {
481
+ /** Skip the cache and read through `read.drives`. */
482
+ refresh?: boolean;
483
+ store?: PHStore;
484
+ };
485
+ /** Returns the per-drive node caches */
486
+ declare const useDriveNodesCache: () => DriveNodesCache | undefined;
487
+ /** Adds an event handler for the drive node cache */
488
+ declare const addDriveNodesEventHandler: () => void;
489
+ /** Loads every node of a drive into the cache, paging through
490
+ * `read.drives.listNodes`; served from the cache once loaded. */
491
+ declare function loadDriveNodes(driveId: string, options?: DriveNodesOptions): Promise<Node[]>;
492
+ /** A node from the cache, else read through `read.drives.getNode`;
493
+ * undefined when the drive does not hold it. */
494
+ declare function getDriveNode(driveId: string, nodeId: string, options?: DriveNodesOptions): Promise<Node | undefined>;
495
+ /** A node from the cache only, without reading; for synchronous callers. */
496
+ declare function peekDriveNode(driveId: string, nodeId: string, store?: PHStore | undefined): Node | undefined;
497
+ /** Drops a drive's cached nodes; while a hook shows them, they reload and
498
+ * the old nodes stay visible until the new listing lands. */
499
+ declare function invalidateDriveNodes(driveId: string, store?: PHStore | undefined): void;
500
+ /**
501
+ * Notes that this tab wrote to a drive, so the drive change handler re-reads
502
+ * it on the change that follows instead of waiting out its interval: the
503
+ * person who added, renamed or removed a node expects to see it, while a
504
+ * drive being filled by someone else can wait.
505
+ */
506
+ declare function markLocalDriveWrite(driveId: string): void;
507
+ /** Spends a drive's local-write mark; true when one was set. */
508
+ declare function takeLocalDriveWrite(driveId: string): boolean;
509
+ /** Takes a node out of a drive's cache after this tab removed it, so the
510
+ * listing drops it at once instead of after the next drive refresh. */
511
+ declare function dropDriveNode(driveId: string, nodeId: string, store?: PHStore | undefined): void;
512
+ /** Every node of a drive, loaded on first use; undefined until loaded. */
513
+ declare function useDriveNodes(driveId: string | null | undefined): Node[] | undefined;
514
+ /** One node of a drive, from the cache or read on its own. */
515
+ declare function useDriveNode(driveId: string | null | undefined, nodeId: string | null | undefined): Node | undefined;
516
+ //#endregion
433
517
  //#region src/types/global.d.ts
434
518
  interface BrowserReactorModule extends InProcessReactorModule {
435
519
  pg: PGlite;
436
520
  }
437
- interface BrowserReactorClientModule extends InProcessReactorClientModule {
521
+ interface BrowserReactorClientModule$1 extends InProcessReactorClientModule {
438
522
  kind: "browser";
439
523
  reactorModule: BrowserReactorModule | undefined;
440
524
  }
441
525
  type WorkerReactorModule = ReactorModule;
442
- interface WorkerReactorClientModule extends ReactorClientModule {
526
+ interface WorkerReactorClientModule$1 extends ReactorClientModule {
443
527
  kind: "worker";
444
528
  reactorModule: WorkerReactorModule;
445
529
  adminClient: IWorkerAdminClient;
@@ -459,56 +543,56 @@ type PHDriveTarget = {
459
543
  nodeSlug?: string;
460
544
  };
461
545
  /** A settings tab by id; `true` opens the first one. */
462
- type PHSettingsTarget = {
546
+ type PHSettingsTarget$1 = {
463
547
  settings: string | true;
464
548
  };
465
549
  /** What the app shows; `undefined` targets home. */
466
- type PHNavigationTarget = PHDriveTarget | PHSettingsTarget;
550
+ type PHNavigationTarget$1 = PHDriveTarget | PHSettingsTarget$1;
467
551
  /** Query params to write; an `undefined` value removes the param. */
468
- type PHSearchUpdate = Record<string, string | undefined>;
469
- type PHNavigateOptions = {
552
+ type PHSearchUpdate$1 = Record<string, string | undefined>;
553
+ type PHNavigateOptions$1 = {
470
554
  replace?: boolean;
471
555
  /** The target's own query params; the host decides which others survive. */
472
- search?: PHSearchUpdate;
556
+ search?: PHSearchUpdate$1;
473
557
  };
474
558
  /** Merges an object into the current query params; a function returns them all. */
475
- type SearchParamsUpdate = PHSearchUpdate | ((prev: Record<string, string>) => PHSearchUpdate);
476
- type SetSearchParams = (update: SearchParamsUpdate, options?: {
559
+ type SearchParamsUpdate$1 = PHSearchUpdate$1 | ((prev: Record<string, string>) => PHSearchUpdate$1);
560
+ type SetSearchParams$1 = (update: SearchParamsUpdate$1, options?: {
477
561
  replace?: boolean;
478
562
  }) => void;
479
563
  /** Host-owned navigation and URL state; without one, the browser history is used.
480
564
  * Set once on the store; its hooks must not change between renders. */
481
- type PHNavigation = {
565
+ type PHNavigation$1 = {
482
566
  location(): {
483
567
  pathname: string;
484
568
  search: string;
485
569
  };
486
- open(target: PHNavigationTarget | undefined, options?: PHNavigateOptions): void;
570
+ open(target: PHNavigationTarget$1 | undefined, options?: PHNavigateOptions$1): void;
487
571
  /** The public href that opens `target`, base path included. */
488
- hrefFor?(target: PHNavigationTarget | undefined): string;
572
+ hrefFor?(target: PHNavigationTarget$1 | undefined): string;
489
573
  /** Whether `target` is what the location shows now; search params aside. */
490
- useIsCurrent?(target: PHNavigationTarget | undefined): boolean;
574
+ useIsCurrent?(target: PHNavigationTarget$1 | undefined): boolean;
491
575
  /** Warms what `target` shows, e.g. on hover; optional. */
492
- preload?(target: PHNavigationTarget | undefined): void;
576
+ preload?(target: PHNavigationTarget$1 | undefined): void;
493
577
  /** Replaces the query params with what `update` returns, keeping the path. */
494
- setSearch(update: (prev: Record<string, string>) => PHSearchUpdate, options?: {
578
+ setSearch(update: (prev: Record<string, string>) => PHSearchUpdate$1, options?: {
495
579
  replace?: boolean;
496
580
  }): void;
497
581
  /** The current query params. */
498
582
  useSearchParams(): Record<string, string>;
499
583
  /** A stable setter for the query params. */
500
- useSetSearchParams(): SetSearchParams;
584
+ useSetSearchParams(): SetSearchParams$1;
501
585
  /** Returns to the entry from before the open document was opened, past any
502
586
  * pushed inside it; false when this session didn't open it. */
503
587
  closeOpened?(): boolean;
504
588
  };
505
- type PHGlobal = PHGlobalConfig & {
506
- navigation?: PHNavigation;
589
+ type PHGlobal$1 = PHGlobalConfig$1 & {
590
+ navigation?: PHNavigation$1;
507
591
  loading?: boolean;
508
- reactorClientModule?: BrowserReactorClientModule | WorkerReactorClientModule;
509
- reactorClient?: IReactorBrowserClient;
592
+ reactorClientModule?: BrowserReactorClientModule$1 | WorkerReactorClientModule$1;
593
+ reactorClient?: IReactorBrowserClient$1;
510
594
  /** The client halves of `reactorClient`, set with it: reads and writes. */
511
- reactor?: ReactorBrowserHalves;
595
+ reactor?: ReactorBrowserHalves$1;
512
596
  /** Replaces `reactorClientModule.client` in full-client actions; Connect's router. */
513
597
  fullReactorClient?: IReactorClient;
514
598
  attachmentService?: IAttachmentService;
@@ -516,31 +600,33 @@ type PHGlobal = PHGlobalConfig & {
516
600
  renown?: IRenown | LOADING;
517
601
  vetraPackageManager?: IPackageManager;
518
602
  drives?: DocumentDriveDocument[];
603
+ /** Per-drive node caches; see `hooks/drive-nodes.ts`. */
604
+ driveNodes?: DriveNodesCache;
519
605
  documentCache?: IDocumentCache;
520
606
  selectedDriveId?: string;
521
607
  selectedNodeId?: string;
522
608
  draggingNode?: DraggingNode;
523
- modal?: PHModal;
609
+ modal?: PHModal$1;
524
610
  selectedTimelineRevision?: string | number | null;
525
611
  selectedTimelineItem?: TimelineItem | null;
526
612
  packageDiscoveryService?: IPackageDiscoveryService;
527
613
  features?: Map<string, boolean>;
528
614
  toast?: PHToastFn;
529
615
  };
530
- type PHGlobalKey = keyof PHGlobal;
531
- type PHGlobalValue = PHGlobal[PHGlobalKey];
532
- type UsePHGlobalValue<TValue extends PHGlobalValue> = () => TValue | undefined;
533
- type SetPHGlobalValue<TValue extends PHGlobalValue> = (value: TValue | undefined) => void;
534
- type AddPHGlobalEventHandler = () => void;
535
- type PHGlobalEventHandlerAdders = Record<PHGlobalKey, AddPHGlobalEventHandler>;
536
- type SetEvent<TKey extends PHGlobalKey> = CustomEvent<{ [key in TKey]: PHGlobal[TKey] | undefined; }>;
616
+ type PHGlobalKey$1 = keyof PHGlobal$1;
617
+ type PHGlobalValue = PHGlobal$1[PHGlobalKey$1];
618
+ type UsePHGlobalValue$1<TValue extends PHGlobalValue> = () => TValue | undefined;
619
+ type SetPHGlobalValue$1<TValue extends PHGlobalValue> = (value: TValue | undefined) => void;
620
+ type AddPHGlobalEventHandler$1 = () => void;
621
+ type PHGlobalEventHandlerAdders = Record<PHGlobalKey$1, AddPHGlobalEventHandler$1>;
622
+ type SetEvent<TKey extends PHGlobalKey$1> = CustomEvent<{ [key in TKey]: PHGlobal$1[TKey] | undefined; }>;
537
623
  declare global {
538
624
  interface Window {
539
- ph?: PHGlobal;
625
+ ph?: PHGlobal$1;
540
626
  }
541
627
  interface WindowEventMap extends GraphQLClientWindowEvents {}
542
628
  }
543
629
  //#endregion
544
- export { PHDocumentEditorConfigSetters as $, PHToastFn as A, IPackageDiscoveryService as B, addDraggingNodeEventHandler as C, PromiseState as Ct, IPackageManager as D, IPackageListerUnsubscribe as E, TimelineItem as F, PHAppConfig as G, PHModal as H, DiscoveryEvent as I, PHAppConfigSetters as J, PHAppConfigHooks as K, DiscoveryEventListener as L, PHToastType as M, TimelineBarItem as N, IPackagesListener as O, TimelineDividerItem as P, PHDocumentEditorConfigKey as Q, FailedInstallation as R, DraggingNode as S, OperationsCacheEntry as St, useDropNode as T, RejectedPromise as Tt, FullPHGlobalConfig as U, PendingInstallation as V, PHAnalyticsGlobalConfig as W, PHDocumentEditorConfig as X, PHCommonGlobalConfig as Y, PHDocumentEditorConfigHooks as Z, SetPHGlobalValue as _, DocumentsOfTypeEntry as _t, PHDriveTarget as a, PHGlobalConfigSetters as at, WorkerReactorClientModule as b, IDocumentTypeCache as bt, PHGlobalKey as c, PHRelationalProcessorsGlobalConfig as ct, PHNavigation as d, IReactorBrowserClient as dt, PHDrivesGlobalConfig as et, PHNavigationTarget as f, IReactorBrowserReadClient as ft, SetEvent as g, DocumentRefetchState as gt, SearchParamsUpdate as h, DocumentDispatch$1 as ht, LOADING as i, PHGlobalConfigKey as it, PHToastOptions as j, PackageManagerInstallResult as k, PHGlobalValue as l, PHRenownGlobalConfig as lt, PHSettingsTarget as m, ReactorBrowserHalves as mt, BrowserReactorClientModule as n, PHGlobalConfigHooks as nt, PHGlobal as o, PHGlobalConfigSettersForKey as ot, PHSearchUpdate as p, IReactorBrowserWriteClient as pt, PHAppConfigKey as q, BrowserReactorModule as r, PHGlobalConfigHooksForKey as rt, PHGlobalEventHandlerAdders as s, PHProcessorsGlobalConfig as st, AddPHGlobalEventHandler as t, PHGlobalConfig as tt, PHNavigateOptions as u, PHSentryGlobalConfig as ut, SetSearchParams as v, FulfilledPromise as vt, useDragNode as w, PromiseWithState as wt, WorkerReactorModule as x, IOperationCache as xt, UsePHGlobalValue as y, IDocumentCache as yt, FailedInstallationReason as z };
630
+ export { IPackagesListener as $, markLocalDriveWrite as A, PHGlobalConfigSetters$1 as At, ensurePHStore as B, DocumentDispatch$2 as Bt, DriveNodesEntry as C, PHDocumentEditorConfigKey$1 as Ct, getDriveNode as D, PHGlobalConfigHooks$1 as Dt, dropDriveNode as E, PHGlobalConfig$1 as Et, useDriveNodesCache as F, PHSentryGlobalConfig as Ft, subscribePHStore as G, IDocumentTypeCache as Gt, getPHStore as H, DocumentsOfTypeEntry as Ht, PHStore as I, IReactorBrowserClient$1 as It, addDraggingNodeEventHandler as J, PromiseState as Jt, usePHStore as K, IOperationCache as Kt, PHStoreProvider as L, IReactorBrowserReadClient as Lt, takeLocalDriveWrite as M, PHProcessorsGlobalConfig as Mt, useDriveNode as N, PHRelationalProcessorsGlobalConfig as Nt, invalidateDriveNodes as O, PHGlobalConfigHooksForKey as Ot, useDriveNodes as P, PHRenownGlobalConfig as Pt, IPackageManager as Q, bindPHStoreToWindow as R, IReactorBrowserWriteClient as Rt, DriveNodesCache as S, PHDocumentEditorConfigHooks$1 as St, addDriveNodesEventHandler as T, PHDrivesGlobalConfig as Tt, getPHStoreSubscribe as U, FulfilledPromise as Ut, getActivePHStore as V, DocumentRefetchState as Vt, notifyPHStore as W, IDocumentCache as Wt, useDropNode as X, RejectedPromise as Xt, useDragNode as Y, PromiseWithState as Yt, IPackageListerUnsubscribe as Z, SetPHGlobalValue$1 as _, PHAppConfigHooks$1 as _t, PHDriveTarget as a, TimelineDividerItem as at, WorkerReactorClientModule$1 as b, PHCommonGlobalConfig as bt, PHGlobalKey$1 as c, DiscoveryEventListener as ct, PHNavigation$1 as d, IPackageDiscoveryService as dt, PackageManagerInstallResult as et, PHNavigationTarget$1 as f, PendingInstallation as ft, SetEvent as g, PHAppConfig$1 as gt, SearchParamsUpdate$1 as h, PHAnalyticsGlobalConfig as ht, LOADING as i, TimelineBarItem as it, peekDriveNode as j, PHGlobalConfigSettersForKey as jt, loadDriveNodes as k, PHGlobalConfigKey$1 as kt, PHGlobalValue as l, FailedInstallation as lt, PHSettingsTarget$1 as m, FullPHGlobalConfig as mt, BrowserReactorClientModule$1 as n, PHToastOptions as nt, PHGlobal$1 as o, TimelineItem as ot, PHSearchUpdate$1 as p, PHModal$1 as pt, DraggingNode as q, OperationsCacheEntry as qt, BrowserReactorModule as r, PHToastType as rt, PHGlobalEventHandlerAdders as s, DiscoveryEvent as st, AddPHGlobalEventHandler$1 as t, PHToastFn as tt, PHNavigateOptions$1 as u, FailedInstallationReason as ut, SetSearchParams$1 as v, PHAppConfigKey$1 as vt, DriveNodesOptions as w, PHDocumentEditorConfigSetters$1 as wt, WorkerReactorModule as x, PHDocumentEditorConfig$1 as xt, UsePHGlobalValue$1 as y, PHAppConfigSetters$1 as yt, createPHStore as z, ReactorBrowserHalves$1 as zt };
545
631
  export {};
546
- //# sourceMappingURL=global-CgzlPBc3.d.ts.map
632
+ //# sourceMappingURL=global-BlOVLagj.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-BlOVLagj.d.ts","names":[],"sources":["../src/types/documents.ts","../src/types/reactor-browser-client.ts","../src/types/config.ts","../src/types/modals.ts","../src/types/package-discovery.ts","../src/types/timeline.ts","../src/types/toast.ts","../src/types/vetra.ts","../src/hooks/node-drag-and-drop.ts","../src/hooks/ph-store.tsx","../src/hooks/drive-nodes.ts","../src/types/global.ts"],"mappings":"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";
1
+ import { i as LOADING } from "./global-BlOVLagj.js";
2
2
  import { CSSProperties, ReactNode } from "react";
3
3
  import { CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, DOMAIN_TYPE, IRenown, ISSUER_TYPE, LoginStatus, User, VERIFIABLE_CREDENTIAL_EIP712_TYPE } from "@renown/sdk";
4
4
  import { LoginMethod, WalletAdapterDescriptor, WalletController, WalletSession, WalletTheme } from "@renown/sdk/wallet";
@@ -268,4 +268,4 @@ declare function useRenownWalletAdapter<T extends WalletController = WalletContr
268
268
  //#endregion
269
269
  export { useUser as $, RENOWN_RETURN_URL_STRIPPED_PARAMS as A, UserIcon as B, CREDENTIAL_SCHEMA_EIP712_TYPE as C, ISSUER_TYPE as D, DOMAIN_TYPE as E, ChevronDownIcon as F, RenownLoginButtonProps as G, RenownUserButtonMenuItem as H, CopyIcon as I, addRenownEventHandler as J, RenownAuthButton as K, DisconnectIcon as L, VERIFIABLE_CREDENTIAL_EIP712_TYPE as M, initConnectCrypto as N, RENOWN_CHAIN_ID as O, initRenownCrypto as P, useRenown as Q, RenownLogo as R, useRenownInitialUser as S, CREDENTIAL_TYPES as T, RenownUserButtonProps as U, RenownUserButton as V, RenownLoginButton as W, useDid as X, setRenown as Y, useLoginStatus as Z, RENOWN_INITIAL_UNKNOWN as _, RenownWalletProviderProps as a, RenownAuthResolution as at, RenownInitialUserProviderProps as b, Renown as c, useRenownAuthAsync as ct, useRenownInit as d, login as et, RenownSessionCookieOptions as f, RENOWN_INITIAL_ANONYMOUS as g, useRenownSessionSynced as h, RenownWalletProvider as i, RenownAuthAsync as it, RENOWN_URL as j, RENOWN_NETWORK_ID as k, RenownProps as l, useRenownSessionCookie as m, RenownLoginMethod as n, openRenown as nt, RenownProvider as o, RenownAuthStatus as ot, RenownSessionCookieState as p, RenownAuthButtonProps as q, useRenownLoginMethods as r, RenownAuth as rt, RenownProviderProps as s, useRenownAuth as st, useRenownWalletAdapter as t, logout as tt, RenownInitOptions as u, RenownInitialAuth as v, CREDENTIAL_SUBJECT_TYPE as w, useRenownInitialAuth as x, RenownInitialUserProvider as y, SpinnerIcon as z };
270
270
  export {};
271
- //# sourceMappingURL=index-CrVfRJO1.d.ts.map
271
+ //# sourceMappingURL=index-Ck5Q0beA.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-CrVfRJO1.d.ts","names":[],"sources":["../src/renown/use-renown-auth.ts","../src/renown/session.ts","../src/hooks/renown.ts","../src/renown/components/RenownAuthButton.tsx","../src/renown/components/RenownLoginButton.tsx","../src/renown/components/RenownUserButton.tsx","../src/renown/components/icons.tsx","../src/renown/crypto.ts","../src/renown/constants.ts","../src/renown/initial-user.tsx","../src/renown/use-renown-session.ts","../src/renown/use-renown-init.ts","../src/renown/renown-init.tsx","../src/renown/provider.tsx","../src/renown/wallet-provider.tsx","../src/renown/login-methods.ts","../src/renown/use-renown-wallet-adapter.ts"],"mappings":";;;;;KAoBY,mBAAmB;UAEd;EACf,QAAQ;EACR,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ,UAAU,eAAe,SAAS;EAC1C;EACA,OAAO;EACP,cAAc;EACd;;iBA+Bc,iBAAiB;KAuFrB;UAKK,wBAAwB;;EAEvC,OAAO;EACP;;iBAOc,sBAAsB;;;iBCxJtB,WAAW;iBAuHL,MACpB,6BACA,QAAQ,sBACP,QAAQ;iBAgCW,UAAM;;;;cChKf;;cAIA,iBAAiB,UAAU;;cAI3B,YAAY,OAAO,UAAU;;iBAI1B;;iBA2CA,WAAW;;iBA2CX,kBAAkB;;;UCvGjB;EACf;EACA;EACA,eAAe;EACf,cAAc;EACd,iBAAiB;EACjB,YAAY,MAAM,eAAe;;iBAGnB,mBACd,WACA,UACA,cACA,aACA,gBACA,YACC,oDAAqB,IAAA;;;UCfP;EACf;EACA;EACA,QAAQ;EACR;EACA;EACA,WAAW;;iBAsCG,oBACd,SAAS,aACT,OACA,WACA,SACA,YACC,qDA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ACX,UAAU;;iBA0BI,iBACd,SACA,WACA,KACA,gBACA,UACA,OACA,YACA,SACA,SACA,iBACA,SACA,YACC,kDAAmB,IAAA;;;UCsBL;;EAEf,UAAU;;EAEV,QAAQ;EACR,UAAU;;;iBAII,uBACd,UAAU,gBACV,OACA,YACC,wDAAyB,IAAA;;;UCtGX;EACf,IAAI;EACJ;;;iBAWc,sBACd,SAAS,QAAQ,OAAO,wBACvB;;;;iBCXa,uBACd,UAAU,mBAAmB,kBAC7B,aAAa"}
1
+ {"version":3,"file":"index-Ck5Q0beA.d.ts","names":[],"sources":["../src/renown/use-renown-auth.ts","../src/renown/session.ts","../src/hooks/renown.ts","../src/renown/components/RenownAuthButton.tsx","../src/renown/components/RenownLoginButton.tsx","../src/renown/components/RenownUserButton.tsx","../src/renown/components/icons.tsx","../src/renown/crypto.ts","../src/renown/constants.ts","../src/renown/initial-user.tsx","../src/renown/use-renown-session.ts","../src/renown/use-renown-init.ts","../src/renown/renown-init.tsx","../src/renown/provider.tsx","../src/renown/wallet-provider.tsx","../src/renown/login-methods.ts","../src/renown/use-renown-wallet-adapter.ts"],"mappings":";;;;;KAoBY,mBAAmB;UAEd;EACf,QAAQ;EACR,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ,UAAU,eAAe,SAAS;EAC1C;EACA,OAAO;EACP,cAAc;EACd;;iBA+Bc,iBAAiB;KAuFrB;UAKK,wBAAwB;;EAEvC,OAAO;EACP;;iBAOc,sBAAsB;;;iBCxJtB,WAAW;iBAuHL,MACpB,6BACA,QAAQ,sBACP,QAAQ;iBAgCW,UAAM;;;;cChKf;;cAIA,iBAAiB,UAAU;;cAI3B,YAAY,OAAO,UAAU;;iBAI1B;;iBA2CA,WAAW;;iBA2CX,kBAAkB;;;UCvGjB;EACf;EACA;EACA,eAAe;EACf,cAAc;EACd,iBAAiB;EACjB,YAAY,MAAM,eAAe;;iBAGnB,mBACd,WACA,UACA,cACA,aACA,gBACA,YACC,oDAAqB,IAAA;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