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

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-C_8_poEv.d.ts} +80 -10
  2. package/dist/attachment-service-C_8_poEv.d.ts.map +1 -0
  3. package/dist/{client-Ca_CA8VC.d.ts → client-Cx43uuSO.d.ts} +2 -2
  4. package/dist/client-Cx43uuSO.d.ts.map +1 -0
  5. package/dist/{client-CI-3xGMZ.js → client-D_cBN8L-.js} +90 -2
  6. package/dist/client-D_cBN8L-.js.map +1 -0
  7. package/dist/{dispatch-qujH7vLW.js → dispatch-DLD1E-9L.js} +68 -2
  8. package/dist/dispatch-DLD1E-9L.js.map +1 -0
  9. package/dist/{document-by-id-D1wsYWhq.js → document-by-id-BGTnMWiG.js} +2 -2
  10. package/dist/{document-by-id-D1wsYWhq.js.map → document-by-id-BGTnMWiG.js.map} +1 -1
  11. package/dist/{document-model-modules-DmLQhKvh.js → document-model-modules-D_kT09sv.js} +254 -9
  12. package/dist/document-model-modules-D_kT09sv.js.map +1 -0
  13. package/dist/{document-operations-C4-irgHD.js → document-operations-BdCl99y6.js} +276 -37
  14. package/dist/document-operations-BdCl99y6.js.map +1 -0
  15. package/dist/{global-CgzlPBc3.d.ts → global-C4kaLEPb.d.ts} +140 -54
  16. package/dist/global-C4kaLEPb.d.ts.map +1 -0
  17. package/dist/{index-CrVfRJO1.d.ts → index-CROGY3XV.d.ts} +2 -2
  18. package/dist/{index-CrVfRJO1.d.ts.map → index-CROGY3XV.d.ts.map} +1 -1
  19. package/dist/index.d.ts +50 -36
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +205 -43
  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-CqUq5pIZ.js} +10 -48
  31. package/dist/switchboard-CqUq5pIZ.js.map +1 -0
  32. package/dist/{types-DOY-eHEk.d.ts → types-Vb8q55oM.d.ts} +69 -2
  33. package/dist/types-Vb8q55oM.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,12 +1,13 @@
1
- import { Ct as PromiseState, D as IPackageManager, E as IPackageListerUnsubscribe, O as IPackagesListener, St as OperationsCacheEntry, _ as SetPHGlobalValue$1, _t as DocumentsOfTypeEntry, bt as IDocumentTypeCache, dt as IReactorBrowserClient$1, ft as IReactorBrowserReadClient, gt as DocumentRefetchState, k as PackageManagerInstallResult, o as PHGlobal$1, pt as IReactorBrowserWriteClient, wt as PromiseWithState, xt as IOperationCache, y as UsePHGlobalValue$1, yt as IDocumentCache } from "./global-CgzlPBc3.js";
1
+ import { $ as IPackagesListener, Gt as IDocumentTypeCache, Ht as DocumentsOfTypeEntry, It as IReactorBrowserClient$1, Jt as PromiseState, Kt as IOperationCache, Lt as IReactorBrowserReadClient, Q as IPackageManager, Rt as IReactorBrowserWriteClient, Vt as DocumentRefetchState, Wt as IDocumentCache, Yt as PromiseWithState, Z as IPackageListerUnsubscribe, _ as SetPHGlobalValue$1, et as PackageManagerInstallResult, o as PHGlobal$1, qt as OperationsCacheEntry, y as UsePHGlobalValue$1 } from "./global-C4kaLEPb.js";
2
2
  import { t as PGlite } from "./pglite-CntadC_p-DTkdF8sr.js";
3
- import { A as SdkFunctionWrapper, C as GetDocumentQuery, D as PhDocumentFieldsFragment, O as PropagationMode$1, S as GetDocumentOperationsQuery, T as JobChangesSubscription, b as DocumentChangesSubscription, c as ReactorGraphQLClient, g as ActionInput, j as ViewFilterInput, k as Scalars } from "./types-DOY-eHEk.js";
3
+ import { A as Sdk, C as GetDocumentQuery, D as PhDocumentFieldsFragment, M as ViewFilterInput, O as PropagationMode$1, S as GetDocumentOperationsQuery, T as JobChangesSubscription, b as DocumentChangesSubscription, c as ReactorGraphQLClient, g as ActionInput, j as SdkFunctionWrapper, k as Scalars } from "./types-Vb8q55oM.js";
4
4
  import { ReactNode } from "react";
5
5
  import { Action, DocumentModelLib, DocumentModelModule, Operation, PHDocument } from "document-model";
6
6
  import { Action as Action$1, ActionSigningTarget, DocumentModelModule as DocumentModelModule$1, DocumentOperations, ISigner, Operation as Operation$1, PHBaseState, PHDocument as PHDocument$1, PHDocumentHeader, ProtocolVersions, SignaturePolicy } from "@powerhousedao/shared/document-model";
7
- import { BatchExecutionRequest, BatchExecutionResult, ConsistencyToken, Database, DocumentChangeEvent, DocumentModelSource, DocumentRelationship, IDocumentModelRegistry, IReactorClient, ISyncManager, JobInfo, OperationFilter, PagedResults, PagingOptions, PropagationMode, SearchFilter, ViewFilter } from "@powerhousedao/reactor";
8
- import { GraphQLClient, Variables } from "graphql-request";
7
+ import { BatchExecutionRequest, BatchExecutionResult, ConsistencyToken, Database, DocumentChangeEvent, DocumentModelSource, DocumentRelationship, DriveNodeKind, DriveNodePage, DriveNodeRecord, IDocumentModelRegistry, IDriveNodeSource, IDriveReadClient, IReactorClient, ISyncManager, JobInfo, OperationFilter, PagedResults, PagingOptions, PropagationMode, SearchFilter, ViewFilter } from "@powerhousedao/reactor";
8
+ import { Node } from "@powerhousedao/shared/document-drive";
9
9
  import { DocumentNode } from "graphql";
10
+ import { GraphQLClient, Variables } from "graphql-request";
10
11
  import { IAttachmentService } from "@powerhousedao/reactor-attachments/client";
11
12
  import { Kysely } from "kysely";
12
13
  import { AddPHGlobalEventHandler, BrowserReactorClientModule, IReactorBrowserClient, ReactorBrowserHalves, SetPHGlobalValue, UsePHGlobalValue, WorkerReactorClientModule } from "@powerhousedao/reactor-browser";
@@ -16,8 +17,13 @@ import { RegistryPackageSource } from "@powerhousedao/shared";
16
17
  declare const IDLE_REFETCH_STATE: DocumentRefetchState;
17
18
  //#endregion
18
19
  //#region src/document-cache.d.ts
19
- /** The reads a {@link DocumentCache} makes. */
20
- interface IDocumentCacheReader extends Pick<IReactorBrowserReadClient, "get" | "find" | "getOperations" | "subscribe"> {}
20
+ /**
21
+ * The reads a {@link DocumentCache} makes. `getMany` is optional: without it,
22
+ * a batch reads each uncached id with `get`.
23
+ */
24
+ interface IDocumentCacheReader extends Pick<IReactorBrowserReadClient, "get" | "find" | "getOperations" | "subscribe">, Partial<Pick<IReactorBrowserReadClient, "getMany">> {}
25
+ /** The most ids one `getMany` call is asked for. */
26
+ declare const GET_MANY_CHUNK_SIZE = 100;
21
27
  declare function addPromiseState<T>(promise: Promise<T>): PromiseWithState<T>;
22
28
  declare function readPromiseState<T>(promise: Promise<T> | PromiseWithState<T>): PromiseState<T>;
23
29
  /** The snapshot every uncached document scope reads as. One frozen object, so `useSyncExternalStore` sees a stable value. */
@@ -75,6 +81,19 @@ declare class DocumentCache implements IDocumentCache, IOperationCache, IDocumen
75
81
  get(id: string, refetch?: boolean): Promise<PHDocument$1>;
76
82
  getRefetchState(id: string): DocumentRefetchState;
77
83
  getBatch(ids: string[]): Promise<PHDocument$1[]>;
84
+ /**
85
+ * Reserves an entry for every id not yet cached and fills them from
86
+ * `getMany`, in chunks of {@link GET_MANY_CHUNK_SIZE}. Each id keeps its own
87
+ * entry, settled as `get` would settle it.
88
+ */
89
+ private loadMany;
90
+ /**
91
+ * `getMany` rejects when any id is unavailable, so a failed chunk is split
92
+ * in half and retried; a single id is read with `get`, so it settles exactly
93
+ * as a single read would.
94
+ */
95
+ private settleMany;
96
+ private settleFetched;
78
97
  subscribe(id: string | string[], callback: () => void): () => void;
79
98
  getOperationsState(documentId: string, scope: string): OperationsCacheEntry;
80
99
  loadOperations(documentId: string, scope: string, limit: number): void;
@@ -298,6 +317,37 @@ declare function ambientRenownTokenProvider(): Promise<string | undefined>;
298
317
  */
299
318
  declare function makeAuthMiddleware(tokenProvider: BearerTokenProvider): SdkFunctionWrapper;
300
319
  //#endregion
320
+ //#region src/graphql-client/drive-nodes.d.ts
321
+ /** The node queries a {@link GraphQLDriveNodeSource} runs. */
322
+ type DriveNodeQueries = Pick<Sdk, "GetDriveNodes" | "GetDriveNode" | "GetDriveDescendants">;
323
+ /**
324
+ * The reactor subgraph's type-neutral node queries (`driveNodes`, `driveNode`,
325
+ * `driveDescendants`) as an {@link IDriveNodeSource}, so a browser reads a
326
+ * legacy drive and a reactor-drive alike. The Switchboard serves only the
327
+ * nodes the caller may read. Drive ids must be canonical ids, not slugs.
328
+ */
329
+ declare class GraphQLDriveNodeSource implements IDriveNodeSource {
330
+ private readonly queries;
331
+ private readonly headersFor;
332
+ constructor(queries: DriveNodeQueries, headersFor?: (driveId: string) => Record<string, string> | undefined);
333
+ getNode(driveId: string, nodeId: string, signal?: AbortSignal): Promise<DriveNodeRecord | undefined>;
334
+ listChildren(driveId: string, parentFolder: string | null | undefined, paging?: PagingOptions, signal?: AbortSignal, kind?: DriveNodeKind): Promise<DriveNodePage>;
335
+ getDescendants(driveId: string, root: string, signal?: AbortSignal): Promise<DriveNodeRecord[]>;
336
+ listAll(driveId: string, signal?: AbortSignal): Promise<DriveNodeRecord[]>;
337
+ }
338
+ /**
339
+ * `read.drives` over a node source: the reactor's {@link IDriveReadClient},
340
+ * answering in the legacy `Node` shape for every drive type.
341
+ */
342
+ declare class GraphQLDriveReadClient implements IDriveReadClient {
343
+ private readonly nodes;
344
+ constructor(nodes: IDriveNodeSource);
345
+ getNode(driveIdentifier: string, nodeId: string, signal?: AbortSignal): Promise<Node>;
346
+ listNodes(driveIdentifier: string, parentFolder?: string | null, paging?: PagingOptions, signal?: AbortSignal): Promise<PagedResults<Node>>;
347
+ }
348
+ /** A node record in the legacy `Node` shape. */
349
+ declare function toLegacyNode(node: DriveNodeRecord): Node;
350
+ //#endregion
301
351
  //#region src/graphql-client/errors.d.ts
302
352
  /** A call the Switchboard GraphQL surface cannot express. */
303
353
  declare class GraphQLOperationNotSupportedError extends Error {
@@ -519,6 +569,11 @@ type GraphQLReactorClientOptions = {
519
569
  * and answers `false`. A branded property survives both.
520
570
  */
521
571
  declare const graphQLReactorClientBrand: "__powerhouseGraphQLReactorClient";
572
+ /** The read half of {@link GraphQLReactorClient}: the hooks' reads plus `drives`. */
573
+ interface GraphQLReactorReadClient extends IReactorBrowserReadClient {
574
+ /** A drive's nodes from the node queries, for every drive type. */
575
+ readonly drives: IDriveReadClient;
576
+ }
522
577
  /**
523
578
  * A light implementation of {@link IReactorBrowserClient} that talks plain
524
579
  * GraphQL to a Switchboard, with no reactor in the bundle.
@@ -549,11 +604,12 @@ declare class GraphQLReactorClient implements IReactorBrowserClient$1 {
549
604
  private jobRealtimeBroken;
550
605
  /** Set once the Switchboard refused the `document` query's `consistency` argument. */
551
606
  private consistencyUnsupported;
607
+ private readonly driveNodes;
552
608
  /**
553
609
  * The read half: the reads the hooks make. Every method is this client's
554
610
  * own; nothing that writes is reachable from it.
555
611
  */
556
- readonly read: IReactorBrowserReadClient;
612
+ readonly read: GraphQLReactorReadClient;
557
613
  /**
558
614
  * The write half. `execute` submits through `executeAsync` and hands back a
559
615
  * handle whose `written` and `readable` resolve from `jobStatus`, woken by
@@ -564,6 +620,11 @@ declare class GraphQLReactorClient implements IReactorBrowserClient$1 {
564
620
  */
565
621
  readonly write: IReactorBrowserWriteClient;
566
622
  constructor(options: GraphQLReactorClientOptions);
623
+ /**
624
+ * The Switchboard's drive node queries as a node source, for every drive
625
+ * type. `read.drives` answers from it.
626
+ */
627
+ nodeSource(): IDriveNodeSource;
567
628
  /**
568
629
  * Reads a document. With a consistency token that names any coordinate, the
569
630
  * Switchboard waits until its read models hold them; one without the
@@ -571,8 +632,15 @@ declare class GraphQLReactorClient implements IReactorBrowserClient$1 {
571
632
  * a write's `readable` stage still sees the write on a single node.
572
633
  */
573
634
  get<TDocument extends PHDocument>(identifier: string, view?: ViewFilter, signal?: AbortSignal, consistencyToken?: ConsistencyToken): Promise<TDocument>;
574
- /** Reads documents by id, in the order given; throws if any is missing. */
635
+ /**
636
+ * Reads documents by id, in the order given; throws if any is missing. Each
637
+ * chunk of {@link GET_MANY_CHUNK_SIZE} ids is one request holding an aliased
638
+ * `document` field per id, with the selection and arguments `get` sends.
639
+ */
575
640
  getMany<TDocument extends PHDocument>(documentIds: string[], view?: ViewFilter, signal?: AbortSignal, consistencyToken?: ConsistencyToken): Promise<TDocument[]>;
641
+ /** One chunk of `getMany`, with the `consistency` argument while the Switchboard accepts it. */
642
+ private getDocumentChunk;
643
+ private runGetDocuments;
576
644
  /**
577
645
  * Whether the Switchboard would serve the document to this client's caller,
578
646
  * from its `documentServed` query: the same read gate `find` passes. Absent
@@ -883,6 +951,8 @@ declare class GraphQLReactorClient implements IReactorBrowserClient$1 {
883
951
  */
884
952
  private emitChange;
885
953
  }
954
+ /** {@link GraphQLReactorClient.nodeSource}, as a function. */
955
+ declare function createGraphQLDriveNodeSource(client: GraphQLReactorClient): IDriveNodeSource;
886
956
  /**
887
957
  * Whether a value is a {@link GraphQLReactorClient}, including one built by
888
958
  * another copy of this module.
@@ -1548,6 +1618,6 @@ declare const setAttachmentService: SetPHGlobalValue<IAttachmentService>;
1548
1618
  /** Registers the attachmentService window event handler */
1549
1619
  declare const addAttachmentServiceEventHandler: AddPHGlobalEventHandler;
1550
1620
  //#endregion
1551
- export { prepareSignedActions as $, RemoteOperation as $t, addDocumentCacheEventHandler as A, ambientRenownTokenProvider as At, DocumentChangesEventPayload as B, ConflictStrategy as Bt, useModelRegistry as C, describeGraphQLDocument as Ct, useReactorHalves as D, GraphQLWrongBackendError as Dt, useReactorClientModule as E, GraphQLOperationNotSupportedError as Et, useDocuments as F, isoStringFromDateTime as Ft, createJobChangesSocket as G, IRemoteClient as Gt, IJobChangesSocket as H, GetDocumentResult as Ht, useGetDocument as I, phDocumentFromGetDocument as It, startDocumentChangesSubscription as J, PushResult as Jt, isAuthRefusalClose as K, IRemoteController as Kt, useGetDocumentAsync as L, phDocumentFromMutation as Lt, useDocument as M, GetDocumentQueryFields as Mt, useDocumentCache as N, GetDocumentQueryResult as Nt, useSync as O, JobFailedError as Ot, useDocumentSafe as P, RevisionsListSelection as Pt, resolveDocumentModelModule as Q, RemoteDocumentData as Qt, useGetDocuments as R, revisionMapFromRevisionsList as Rt, useDatabase as S, TypedGraphQLDocument as St, useReactorClient as T, BatchJobFailedError as Tt, JobChangesEventPayload as U, GetDocumentWithOperationsResult as Ut, DocumentChangesSubscriptionOptions as V, DocumentChangeListener as Vt, JobChangesSocketOptions as W, GetOperationsResult as Wt, StaticPackageManager as X, RemoteControllerOptions as Xt, subscriptionsUrlFromGraphqlUrl as Y, RemoteControllerGraphQLClient as Yt, packageFromDocumentModels as Z, RemoteDocumentChangeEvent as Zt, addReactorHalvesEventHandler as _, isGraphQLReactorClient as _t, DocumentOperationsState as a, IDLE_OPERATIONS_ENTRY as an, MutateDocumentWithOperationsDocument as at, setReactorClient as b, SubgraphSdkFactory as bt, useDocumentModelModuleById as c, isDocumentTypeCache as cn, ReactorOperationFieldsFragmentDoc as ct, UseDispatchResult as d, IDLE_REFETCH_STATE as dn, ensurePHEventHandlers as dt, RemoteOperationResultPage as en, signStampedAction as et, createDispatch as f, useSwitchboardClient as ft, addReactorClientModuleEventHandler as g, findIsServableOverGraphQL as gt, addReactorClientEventHandler as h, GraphQLReactorClientOptions as ht, DocumentOperationsResult as i, IDLE_DOCUMENTS_OF_TYPE_ENTRY as in, GetDocumentAtConsistencyVariables as it, setDocumentCache as j, makeAuthMiddleware as jt, useSyncList as k, BearerTokenProvider as kt, useDocumentModelModules as l, isOperationCache as ln, GraphQLReactorProvider as lt, addFullReactorClientEventHandler as m, GraphQLReactorClient as mt, setAttachmentService as n, TrackedAction as nn, GetDocumentAtConsistencyDocument as nt, UseDocumentOperationsOptions as o, IDocumentCacheReader as on, MutateDocumentWithOperationsResult as ot, useDispatch as p, DriveIdCall as pt, makeAuthConnectionParams as q, MergeHandler as qt, useAttachmentService as r, DocumentCache as rn, GetDocumentAtConsistencyResult as rt, useDocumentOperations as s, addPromiseState as sn, MutateDocumentWithOperationsVariables as st, addAttachmentServiceEventHandler as t, SyncStatus$1 as tn, stampAction as tt, DispatchFn as u, readPromiseState as un, GraphQLReactorProviderProps as ut, getFullReactorClient as v, viewFilterInputFromViewFilter as vt, usePGlite as w, subgraphUrlFromGraphqlUrl as wt, setReactorClientModule as x, SubgraphSdkRegistry as xt, setFullReactorClient as y, GraphQLRequestOptions as yt, ConnectionParams as z, ConflictInfo as zt };
1621
+ export { prepareSignedActions as $, MergeHandler as $t, addDocumentCacheEventHandler as A, JobFailedError as At, DocumentChangesEventPayload as B, RevisionsListSelection as Bt, useModelRegistry as C, SubgraphSdkRegistry as Ct, useReactorHalves as D, BatchJobFailedError as Dt, useReactorClientModule as E, subgraphUrlFromGraphqlUrl as Et, useDocuments as F, BearerTokenProvider as Ft, createJobChangesSocket as G, ConflictInfo as Gt, IJobChangesSocket as H, phDocumentFromGetDocument as Ht, useGetDocument as I, ambientRenownTokenProvider as It, startDocumentChangesSubscription as J, GetDocumentResult as Jt, isAuthRefusalClose as K, ConflictStrategy as Kt, useGetDocumentAsync as L, makeAuthMiddleware as Lt, useDocument as M, GraphQLDriveNodeSource as Mt, useDocumentCache as N, GraphQLDriveReadClient as Nt, useSync as O, GraphQLOperationNotSupportedError as Ot, useDocumentSafe as P, toLegacyNode as Pt, resolveDocumentModelModule as Q, IRemoteController as Qt, useGetDocuments as R, GetDocumentQueryFields as Rt, useDatabase as S, SubgraphSdkFactory as St, useReactorClient as T, describeGraphQLDocument as Tt, JobChangesEventPayload as U, phDocumentFromMutation as Ut, DocumentChangesSubscriptionOptions as V, isoStringFromDateTime as Vt, JobChangesSocketOptions as W, revisionMapFromRevisionsList as Wt, StaticPackageManager as X, GetOperationsResult as Xt, subscriptionsUrlFromGraphqlUrl as Y, GetDocumentWithOperationsResult as Yt, packageFromDocumentModels as Z, IRemoteClient as Zt, addReactorHalvesEventHandler as _, readPromiseState as _n, createGraphQLDriveNodeSource as _t, DocumentOperationsState as a, RemoteOperation as an, MutateDocumentWithOperationsDocument as at, setReactorClient as b, viewFilterInputFromViewFilter as bt, useDocumentModelModuleById as c, TrackedAction as cn, ReactorOperationFieldsFragmentDoc as ct, UseDispatchResult as d, IDLE_DOCUMENTS_OF_TYPE_ENTRY as dn, ensurePHEventHandlers as dt, PushResult as en, signStampedAction as et, createDispatch as f, IDLE_OPERATIONS_ENTRY as fn, useSwitchboardClient as ft, addReactorClientModuleEventHandler as g, isOperationCache as gn, GraphQLReactorReadClient as gt, addReactorClientEventHandler as h, isDocumentTypeCache as hn, GraphQLReactorClientOptions as ht, DocumentOperationsResult as i, RemoteDocumentData as in, GetDocumentAtConsistencyVariables as it, setDocumentCache as j, DriveNodeQueries as jt, useSyncList as k, GraphQLWrongBackendError as kt, useDocumentModelModules as l, DocumentCache as ln, GraphQLReactorProvider as lt, addFullReactorClientEventHandler as m, addPromiseState as mn, GraphQLReactorClient as mt, setAttachmentService as n, RemoteControllerOptions as nn, GetDocumentAtConsistencyDocument as nt, UseDocumentOperationsOptions as o, RemoteOperationResultPage as on, MutateDocumentWithOperationsResult as ot, useDispatch as p, IDocumentCacheReader as pn, DriveIdCall as pt, makeAuthConnectionParams as q, DocumentChangeListener as qt, useAttachmentService as r, RemoteDocumentChangeEvent as rn, GetDocumentAtConsistencyResult as rt, useDocumentOperations as s, SyncStatus$1 as sn, MutateDocumentWithOperationsVariables as st, addAttachmentServiceEventHandler as t, RemoteControllerGraphQLClient as tn, stampAction as tt, DispatchFn as u, GET_MANY_CHUNK_SIZE as un, GraphQLReactorProviderProps as ut, getFullReactorClient as v, IDLE_REFETCH_STATE as vn, findIsServableOverGraphQL as vt, usePGlite as w, TypedGraphQLDocument as wt, setReactorClientModule as x, GraphQLRequestOptions as xt, setFullReactorClient as y, isGraphQLReactorClient as yt, ConnectionParams as z, GetDocumentQueryResult as zt };
1552
1622
  export {};
1553
- //# sourceMappingURL=attachment-service-D-CKdGUb.d.ts.map
1623
+ //# sourceMappingURL=attachment-service-C_8_poEv.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachment-service-C_8_poEv.d.ts","names":[],"sources":["../src/document-refetcher.ts","../src/document-cache.ts","../src/remote-controller/types.ts","../src/graphql-client/adapter.ts","../src/graphql-client/auth.ts","../src/graphql-client/drive-nodes.ts","../src/graphql-client/errors.ts","../src/graphql-client/subgraph.ts","../src/graphql-client/graphql-reactor-client.ts","../src/graphql-client/graphql-reactor-provider.tsx","../src/graphql-client/operations.ts","../src/graphql-client/signing.ts","../src/graphql-client/static-package-manager.ts","../src/graphql-client/subscriptions.ts","../src/hooks/document-cache.ts","../src/hooks/reactor.ts","../src/hooks/dispatch.ts","../src/hooks/document-model-modules.ts","../src/hooks/document-operations.ts","../src/hooks/attachment-service.ts"],"mappings":";;;;;;;;;;;;;;;;cASa,oBAAoB;;;;;;;UCmBhB,6BAEb,KACE,4EAGF,QAAQ,KAAK;;cAGJ;iBAEG,gBAAgB,GAAG,SAAS,QAAQ,KAAK,iBAAiB;iBAwB1D,iBAAiB,GAC/B,SAAS,QAAQ,KAAK,iBAAiB,KACtC,aAAa;;cA4BH,uBAAuB;;iBAQpB,iBAAiB,iBAAiB,SAAS;;cAa9C,8BAA8B;;iBAU3B,oBACd,iBACC,SAAS;;;;;;;;;;;cAuFC,yBACA,gBAAgB,iBAAiB;UAEpC;UACA;UAI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AO;EACP;;;iBAsFc,sBACd,wCACC;;;;;;;;;;;;;;;;;iBAiBa,sBACd,uCACA,eACA,UAAU,+BACT;;;;cCjJU,sBAAsB,iBAAiB;;cAIvC,sBAAsB,iBAAiB;;cAIvC,kCAAkC"}
@@ -1,4 +1,4 @@
1
- import { A as SdkFunctionWrapper, c as ReactorGraphQLClient } from "./types-DOY-eHEk.js";
1
+ import { c as ReactorGraphQLClient, j as SdkFunctionWrapper } from "./types-Vb8q55oM.js";
2
2
  import { GraphQLClient } from "graphql-request";
3
3
  //#region src/graphql/client.d.ts
4
4
  /**
@@ -11,4 +11,4 @@ declare function createClient(urlOrGQLClient: string | GraphQLClient, middleware
11
11
  //#endregion
12
12
  export { createClient as t };
13
13
  export {};
14
- //# sourceMappingURL=client-Ca_CA8VC.d.ts.map
14
+ //# sourceMappingURL=client-Cx43uuSO.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-Cx43uuSO.d.ts","names":[],"sources":["../src/graphql/client.ts"],"mappings":";;;;;;;;;iBA4BgB,aACd,yBAAyB,eACzB,aAAa,qBACZ"}
@@ -1,5 +1,5 @@
1
- import { GraphQLClient } from "graphql-request";
2
1
  import { gql } from "graphql-tag";
2
+ import { GraphQLClient } from "graphql-request";
3
3
  //#region src/graphql/gen/schema.ts
4
4
  let PropagationMode = /* @__PURE__ */ function(PropagationMode) {
5
5
  PropagationMode["Cascade"] = "CASCADE";
@@ -59,6 +59,23 @@ const JobInfoFieldsFragmentDoc = gql`
59
59
  }
60
60
  }
61
61
  `;
62
+ const DriveNodeFieldsFragmentDoc = gql`
63
+ fragment DriveNodeFields on DriveNode {
64
+ ... on DriveFileNode {
65
+ id
66
+ driveId
67
+ name
68
+ parentFolder
69
+ documentType
70
+ }
71
+ ... on DriveFolderNode {
72
+ id
73
+ driveId
74
+ name
75
+ parentFolder
76
+ }
77
+ }
78
+ `;
62
79
  const GetDocumentModelsDocument = gql`
63
80
  query GetDocumentModels($namespace: String, $paging: PagingInput) {
64
81
  documentModels(namespace: $namespace, paging: $paging) {
@@ -309,6 +326,44 @@ const GetCreateDefaultsDocument = gql`
309
326
  }
310
327
  }
311
328
  `;
329
+ const GetDriveNodesDocument = gql`
330
+ query GetDriveNodes(
331
+ $driveId: ID!
332
+ $parentFolder: ID
333
+ $paging: PagingInput
334
+ $kind: DriveNodeKind
335
+ ) {
336
+ driveNodes(
337
+ driveId: $driveId
338
+ parentFolder: $parentFolder
339
+ paging: $paging
340
+ kind: $kind
341
+ ) {
342
+ results {
343
+ ...DriveNodeFields
344
+ }
345
+ nextCursor
346
+ hasMore
347
+ }
348
+ }
349
+ ${DriveNodeFieldsFragmentDoc}
350
+ `;
351
+ const GetDriveNodeDocument = gql`
352
+ query GetDriveNode($driveId: ID!, $id: ID!) {
353
+ driveNode(driveId: $driveId, id: $id) {
354
+ ...DriveNodeFields
355
+ }
356
+ }
357
+ ${DriveNodeFieldsFragmentDoc}
358
+ `;
359
+ const GetDriveDescendantsDocument = gql`
360
+ query GetDriveDescendants($driveId: ID!, $root: ID!) {
361
+ driveDescendants(driveId: $driveId, root: $root) {
362
+ ...DriveNodeFields
363
+ }
364
+ }
365
+ ${DriveNodeFieldsFragmentDoc}
366
+ `;
312
367
  const EvaluateActionsDocument = gql`
313
368
  query EvaluateActions(
314
369
  $documentIdentifier: String!
@@ -787,6 +842,39 @@ function getSdk(client, withWrapper = defaultWrapper) {
787
842
  signal
788
843
  }), "GetCreateDefaults", "query", variables);
789
844
  },
845
+ GetDriveNodes(variables, requestHeaders, signal) {
846
+ return withWrapper((wrappedRequestHeaders) => client.request({
847
+ document: GetDriveNodesDocument,
848
+ variables,
849
+ requestHeaders: {
850
+ ...requestHeaders,
851
+ ...wrappedRequestHeaders
852
+ },
853
+ signal
854
+ }), "GetDriveNodes", "query", variables);
855
+ },
856
+ GetDriveNode(variables, requestHeaders, signal) {
857
+ return withWrapper((wrappedRequestHeaders) => client.request({
858
+ document: GetDriveNodeDocument,
859
+ variables,
860
+ requestHeaders: {
861
+ ...requestHeaders,
862
+ ...wrappedRequestHeaders
863
+ },
864
+ signal
865
+ }), "GetDriveNode", "query", variables);
866
+ },
867
+ GetDriveDescendants(variables, requestHeaders, signal) {
868
+ return withWrapper((wrappedRequestHeaders) => client.request({
869
+ document: GetDriveDescendantsDocument,
870
+ variables,
871
+ requestHeaders: {
872
+ ...requestHeaders,
873
+ ...wrappedRequestHeaders
874
+ },
875
+ signal
876
+ }), "GetDriveDescendants", "query", variables);
877
+ },
790
878
  EvaluateActions(variables, requestHeaders, signal) {
791
879
  return withWrapper((wrappedRequestHeaders) => client.request({
792
880
  document: EvaluateActionsDocument,
@@ -1131,4 +1219,4 @@ function createClient(urlOrGQLClient, middleware) {
1131
1219
  //#endregion
1132
1220
  export { PhDocumentFieldsFragmentDoc as a, JobChangesDocument as i, DocumentChangesDocument as n, PropagationMode as o, GetDocumentWithOperationsDocument as r, createClient as t };
1133
1221
 
1134
- //# sourceMappingURL=client-CI-3xGMZ.js.map
1222
+ //# sourceMappingURL=client-D_cBN8L-.js.map