@powerhousedao/reactor-browser 6.2.3-dev.86 → 6.2.3-dev.88
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-Bdb6Kst6.d.ts → attachment-service-BZVL5UJ1.d.ts} +36 -12
- package/dist/attachment-service-BZVL5UJ1.d.ts.map +1 -0
- package/dist/{auth-DlMQ3sQT.d.ts → auth-DzIYxeEJ.d.ts} +2 -2
- package/dist/auth-DzIYxeEJ.d.ts.map +1 -0
- package/dist/{client-BUpynoY6.js → client-BNMyQ_Z2.js} +28 -1
- package/dist/client-BNMyQ_Z2.js.map +1 -0
- package/dist/{client-DfyMnY2p.d.ts → client-C-NgSjoc.d.ts} +3 -3
- package/dist/client-C-NgSjoc.d.ts.map +1 -0
- package/dist/{document-operations-x4rOim9v.js → document-operations-DCwmgcLe.js} +99 -9
- package/dist/document-operations-DCwmgcLe.js.map +1 -0
- package/dist/{global-WLS0zIjs.d.ts → global-bbfp3_1x.d.ts} +3 -3
- package/dist/{global-WLS0zIjs.d.ts.map → global-bbfp3_1x.d.ts.map} +1 -1
- package/dist/{index-CafZ4qKe.d.ts → index-31WV0-fD.d.ts} +2 -2
- package/dist/{index-CafZ4qKe.d.ts.map → index-31WV0-fD.d.ts.map} +1 -1
- package/dist/index.d.ts +25 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +75 -9
- package/dist/index.js.map +1 -1
- package/dist/{schema-B7fKG2YV.d.ts → schema-Bn6L3QR1.d.ts} +13 -1
- package/dist/schema-Bn6L3QR1.d.ts.map +1 -0
- package/dist/src/ai/index.d.ts +1 -1
- package/dist/src/graphql/client.d.ts +2 -2
- package/dist/src/graphql/client.js +1 -1
- package/dist/src/graphql-client/entry.d.ts +5 -5
- package/dist/src/graphql-client/entry.js +1 -1
- package/dist/src/renown/index.d.ts +1 -1
- package/dist/{types-DgMeokve.d.ts → types-CT44EMmw.d.ts} +2 -2
- package/dist/{types-DgMeokve.d.ts.map → types-CT44EMmw.d.ts.map} +1 -1
- package/package.json +10 -10
- package/dist/attachment-service-Bdb6Kst6.d.ts.map +0 -1
- package/dist/auth-DlMQ3sQT.d.ts.map +0 -1
- package/dist/client-BUpynoY6.js.map +0 -1
- package/dist/client-DfyMnY2p.d.ts.map +0 -1
- package/dist/document-operations-x4rOim9v.js.map +0 -1
- package/dist/schema-B7fKG2YV.d.ts.map +0 -1
|
@@ -2,11 +2,11 @@ import { c as getPHStore, f as usePHStore, t as makePHEventFunctions } from "./m
|
|
|
2
2
|
import { A as DocumentModelNotFoundError, D as queueActions, O as queueOperations, P as UnsupportedDocumentTypeError, b as DOCUMENT_CHANGE_TYPE, f as DocumentCache, h as IDLE_OPERATIONS_ENTRY, i as setDocumentCache, k as uploadOperations, o as useDocumentCache, r as addDocumentCacheEventHandler, v as isOperationCache } from "./dispatch-Cylwl2Dk.js";
|
|
3
3
|
import { $ as makeAuthMiddleware, A as addDrivesEventHandler, B as invalidateDriveNodes, H as markLocalDriveWrite, L as addDriveNodesEventHandler, Q as ambientRenownTokenProvider, R as dropDriveNode, X as listAllDriveNodes, a as setVetraPackageManager, c as addSelectedDriveIdEventHandler, f as setSelectedDriveId, h as useSelectedDriveId, r as addVetraPackageManagerEventHandler, u as selectDrive, v as addResetSelectedNodeEventHandler, w as setSelectedNodeId, y as addSelectedNodeIdEventHandler, z as getDriveNode } from "./document-model-modules-ChmfyIxT.js";
|
|
4
4
|
import { A as openTargetWith, C as getCurrentPathname, E as hasHostNavigation, G as extractNodeIdFromSlug, I as searchToRecord, J as findDriveBySlug, K as extractNodeSlugFromPath, L as setBrowserOpenSync, N as recordToSearch, U as extractDriveSlugFromPath, f as addLoadingEventHandler, k as openTarget, t as addRenownEventHandler, w as getPHNavigation, z as targetPathname } from "./renown-CBoTdGrg.js";
|
|
5
|
-
import { a as PhDocumentFieldsFragmentDoc, i as JobChangesDocument, n as DocumentChangesDocument, t as createClient$1 } from "./client-
|
|
5
|
+
import { a as PhDocumentFieldsFragmentDoc, i as JobChangesDocument, n as DocumentChangesDocument, t as createClient$1 } from "./client-BNMyQ_Z2.js";
|
|
6
6
|
import { useCallback, useEffect, useMemo, useState, useSyncExternalStore } from "react";
|
|
7
7
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
8
8
|
import { logger } from "document-model";
|
|
9
|
-
import { PEER_CAPABILITIES, UnsupportedDocumentModelVersionError, actionSignerIdentity, actionSigningTarget, actions, assertAuthPreservedOnDuplicate, baseLoadFromInput, baseLoadFromInputVersioned, baseSaveToFileHandle, capSelection, createCopyHeader, createPresignedHeader, createZip, creationState, deserializeSignature, documentModelDocumentType, generateId, hasDerivedDocumentId, hashDocumentStateForScope, headNewDocument, isSignaturePolicy, localSupports, normalizeDocumentModelVersion, replayDocumentVersioned, selectDocumentModelModule, setName, setPreferredEditor, signaturePolicyOf, toTransportAction, withSignaturePolicy } from "@powerhousedao/shared/document-model";
|
|
9
|
+
import { PEER_CAPABILITIES, UnsupportedDocumentModelVersionError, actionSignerIdentity, actionSigningTarget, actions, assertAuthPreservedOnDuplicate, baseLoadFromInput, baseLoadFromInputVersioned, baseSaveToFileHandle, capSelection, capabilitiesOf, createCopyHeader, createPresignedHeader, createZip, creationState, deserializeSignature, documentModelDocumentType, generateId, hasDerivedDocumentId, hashDocumentStateForScope, headNewDocument, isSignaturePolicy, localSupports, normalizeDocumentModelVersion, optionalBaseReducerCapabilities, replayDocumentVersioned, selectDocumentModelModule, serializeByKey, setName, setPreferredEditor, signaturePolicyOf, toTransportAction, undoCapabilitiesOf, undoNeedsTargets, undoRedoActions, undoRedoAvailabilityOf, withSignaturePolicy } from "@powerhousedao/shared/document-model";
|
|
10
10
|
import { addFolder, copyNode, driveDocumentModelModule, generateNodesCopy, handleTargetNameCollisions, isFileNode, isFolderNode, moveNode, updateNode } from "@powerhousedao/shared/document-drive";
|
|
11
11
|
import { allPass, conditional, constant, forEachObj, funnel, isDefined, isNot, isStrictEqual, isString, isTruthy, once } from "remeda";
|
|
12
12
|
import { gql } from "graphql-tag";
|
|
@@ -1598,7 +1598,8 @@ function snapshotTarget(action, snapshot) {
|
|
|
1598
1598
|
*
|
|
1599
1599
|
* `UNDO` and `REDO` rewrite history the light read path never fetched (and
|
|
1600
1600
|
* the reducer appends no operation for them); `NOOP` is only ever produced
|
|
1601
|
-
* by an undo chain;
|
|
1601
|
+
* by an undo chain; a `RETRACT` names a target in that unfetched history; the
|
|
1602
|
+
* document-scope actions run through the reactor's
|
|
1602
1603
|
* document-action handler rather than a document-model reducer
|
|
1603
1604
|
* (`DOCUMENT_SCOPE_ACTIONS` in packages/reactor/src/executor/util.ts) and
|
|
1604
1605
|
* `UPGRADE_DOCUMENT` changes which reducer applies mid-batch.
|
|
@@ -1607,6 +1608,7 @@ const unsupportedBatchActions = /* @__PURE__ */ new Set([
|
|
|
1607
1608
|
"UNDO",
|
|
1608
1609
|
"REDO",
|
|
1609
1610
|
"NOOP",
|
|
1611
|
+
"RETRACT",
|
|
1610
1612
|
"CREATE_DOCUMENT",
|
|
1611
1613
|
"DELETE_DOCUMENT",
|
|
1612
1614
|
"UPGRADE_DOCUMENT",
|
|
@@ -1621,8 +1623,8 @@ const unsupportedBatchActions = /* @__PURE__ */ new Set([
|
|
|
1621
1623
|
* `baseReducer` reads `baseReducerVersion(document.header)` for every action and
|
|
1622
1624
|
* throws when the header has no `protocolVersions`, which a header built by
|
|
1623
1625
|
* {@link phDocumentFromGetDocument} lacks when the server sends none. The
|
|
1624
|
-
* version only selects
|
|
1625
|
-
*
|
|
1626
|
+
* version only selects how UNDO, REDO and RETRACT apply, and every action
|
|
1627
|
+
* reaching the prediction loop is an
|
|
1626
1628
|
* ordinary append-only one, so it cannot change the predicted state here; it is
|
|
1627
1629
|
* passed purely so the lookup does not throw.
|
|
1628
1630
|
*/
|
|
@@ -1669,7 +1671,7 @@ async function prepareSignedActions(actions, snapshot, signer, module, signal) {
|
|
|
1669
1671
|
const before = scopeOperationCount(working, scope);
|
|
1670
1672
|
let next;
|
|
1671
1673
|
try {
|
|
1672
|
-
next = module.reducer(working, signedAction, void 0, { protocolVersion: working.header
|
|
1674
|
+
next = module.reducer(working, signedAction, void 0, { protocolVersion: optionalBaseReducerCapabilities(working.header)?.version ?? predictionProtocolVersion });
|
|
1673
1675
|
} catch (error) {
|
|
1674
1676
|
throw new Error(`cannot sign action ${index} (${action.type}): the ${snapshot.header.documentType} reducer rejected it, so the rest of the batch cannot be predicted`, { cause: error });
|
|
1675
1677
|
}
|
|
@@ -2217,6 +2219,7 @@ var GraphQLReactorClient = class {
|
|
|
2217
2219
|
documentModels;
|
|
2218
2220
|
resolveSigner;
|
|
2219
2221
|
driveIdFor;
|
|
2222
|
+
undoRedoChains = /* @__PURE__ */ new Map();
|
|
2220
2223
|
stopRealtime;
|
|
2221
2224
|
realtimeStarted = false;
|
|
2222
2225
|
realtimeGeneration = 0;
|
|
@@ -2536,6 +2539,79 @@ var GraphQLReactorClient = class {
|
|
|
2536
2539
|
return updated;
|
|
2537
2540
|
}
|
|
2538
2541
|
/**
|
|
2542
|
+
* Undoes the last applied operation of `scope` under this client's own
|
|
2543
|
+
* signature: UNDO below base-reducer 3; on it, a RETRACT of the target the
|
|
2544
|
+
* Switchboard resolves with {@link undoRedoTargets}. One at a time per
|
|
2545
|
+
* document, scope and branch. A stale target is refused, not re-resolved.
|
|
2546
|
+
*/
|
|
2547
|
+
undo(documentIdentifier, scope = "global", branch = "main", signal) {
|
|
2548
|
+
return this.undoOrRedo("UNDO", documentIdentifier, scope, branch, signal);
|
|
2549
|
+
}
|
|
2550
|
+
/** Redoes the last undo of `scope`; see {@link undo}. */
|
|
2551
|
+
redo(documentIdentifier, scope = "global", branch = "main", signal) {
|
|
2552
|
+
return this.undoOrRedo("REDO", documentIdentifier, scope, branch, signal);
|
|
2553
|
+
}
|
|
2554
|
+
/** Exact on base-reducer 3, from the targets the Switchboard resolves. */
|
|
2555
|
+
async undoRedoAvailability(documentIdentifier, scope = "global", branch = "main", signal) {
|
|
2556
|
+
const { caps, header } = await this.undoCapabilities(documentIdentifier, branch, signal);
|
|
2557
|
+
const targets = undoNeedsTargets(caps) ? await this.undoRedoTargets(documentIdentifier, scope, { branch }, signal) : void 0;
|
|
2558
|
+
return undoRedoAvailabilityOf(caps, targets, header.revision[scope] ?? 0, true);
|
|
2559
|
+
}
|
|
2560
|
+
/**
|
|
2561
|
+
* The rows a base-reducer 3 undo and redo would retract, resolved by the
|
|
2562
|
+
* Switchboard as the caller. A Switchboard without the query is refused
|
|
2563
|
+
* with {@link GraphQLOperationNotSupportedError}. `view.subject` is not
|
|
2564
|
+
* sent: the Switchboard reads the caller from the bearer.
|
|
2565
|
+
*/
|
|
2566
|
+
async undoRedoTargets(documentIdentifier, scope = "global", view, signal) {
|
|
2567
|
+
try {
|
|
2568
|
+
const { undoRedoTargets } = await this.sdk.GetUndoRedoTargets({
|
|
2569
|
+
documentIdOrSlug: documentIdentifier,
|
|
2570
|
+
scope,
|
|
2571
|
+
branch: view?.branch
|
|
2572
|
+
}, void 0, signal);
|
|
2573
|
+
return {
|
|
2574
|
+
...undoRedoTargets.undoTarget ? { undoTarget: undoRedoTargets.undoTarget } : {},
|
|
2575
|
+
...undoRedoTargets.redoTarget ? { redoTarget: undoRedoTargets.redoTarget } : {}
|
|
2576
|
+
};
|
|
2577
|
+
} catch (error) {
|
|
2578
|
+
if (queriesUnknownField(error, "undoRedoTargets")) throw new GraphQLOperationNotSupportedError("undoRedoTargets", "the Switchboard predates the undoRedoTargets query");
|
|
2579
|
+
throw error;
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
undoOrRedo(type, documentIdentifier, scope, branch, signal) {
|
|
2583
|
+
return serializeByKey(this.undoRedoChains, JSON.stringify([
|
|
2584
|
+
documentIdentifier,
|
|
2585
|
+
scope,
|
|
2586
|
+
branch
|
|
2587
|
+
]), async () => {
|
|
2588
|
+
const { caps } = await this.undoCapabilities(documentIdentifier, branch, signal);
|
|
2589
|
+
const targets = undoNeedsTargets(caps) ? await this.undoRedoTargets(documentIdentifier, scope, { branch }, signal) : void 0;
|
|
2590
|
+
return this.execute(documentIdentifier, branch, undoRedoActions(caps, type, scope, targets), signal);
|
|
2591
|
+
});
|
|
2592
|
+
}
|
|
2593
|
+
/** An older Switchboard serves no header versions; then CREATE_DOCUMENT names them, else it is 1. */
|
|
2594
|
+
async undoCapabilities(documentIdentifier, branch, signal) {
|
|
2595
|
+
const { header } = await this.get(documentIdentifier, { branch }, signal);
|
|
2596
|
+
const fromHeader = optionalBaseReducerCapabilities(header);
|
|
2597
|
+
if (fromHeader) return {
|
|
2598
|
+
caps: fromHeader,
|
|
2599
|
+
header
|
|
2600
|
+
};
|
|
2601
|
+
const create = (await this.getOperations(documentIdentifier, {
|
|
2602
|
+
branch,
|
|
2603
|
+
scopes: ["document"]
|
|
2604
|
+
}, void 0, {
|
|
2605
|
+
cursor: "0",
|
|
2606
|
+
limit: 1
|
|
2607
|
+
}, signal)).results.at(0)?.action;
|
|
2608
|
+
const input = create?.type === "CREATE_DOCUMENT" ? create.input : void 0;
|
|
2609
|
+
return {
|
|
2610
|
+
caps: undoCapabilitiesOf(header, input) ?? capabilitiesOf(1),
|
|
2611
|
+
header
|
|
2612
|
+
};
|
|
2613
|
+
}
|
|
2614
|
+
/**
|
|
2539
2615
|
* Runs multiple mutation jobs in dependency order over the Switchboard's
|
|
2540
2616
|
* `executeBatch` mutation and waits for all to settle, returning the result
|
|
2541
2617
|
* shaped like `IReactor.executeBatch`'s so the reference `DriveClient`
|
|
@@ -4214,6 +4290,16 @@ const DEFAULT_BREAKER = Object.freeze({
|
|
|
4214
4290
|
failures: 3,
|
|
4215
4291
|
openMs: 3e4
|
|
4216
4292
|
});
|
|
4293
|
+
function breakerSettings(breaker) {
|
|
4294
|
+
if (breaker === false) return {
|
|
4295
|
+
failures: Infinity,
|
|
4296
|
+
openMs: 0
|
|
4297
|
+
};
|
|
4298
|
+
return {
|
|
4299
|
+
...DEFAULT_BREAKER,
|
|
4300
|
+
...breaker
|
|
4301
|
+
};
|
|
4302
|
+
}
|
|
4217
4303
|
const FACTS_QUERY = `
|
|
4218
4304
|
query SwitchboardFacts {
|
|
4219
4305
|
inspection {
|
|
@@ -4376,7 +4462,7 @@ function isUnknownJob(job) {
|
|
|
4376
4462
|
/** A Switchboard as a router backend; members GraphQL cannot serve are absent. */
|
|
4377
4463
|
function createSwitchboardBackend(descriptor) {
|
|
4378
4464
|
const drives = new KnownDrives();
|
|
4379
|
-
const breaker = new Breaker(descriptor.name, descriptor.breaker
|
|
4465
|
+
const breaker = new Breaker(descriptor.name, breakerSettings(descriptor.breaker));
|
|
4380
4466
|
const signer = descriptor.signer;
|
|
4381
4467
|
const gql = new GraphQLReactorClient({
|
|
4382
4468
|
url: descriptor.url,
|
|
@@ -4416,7 +4502,11 @@ function createSwitchboardBackend(descriptor) {
|
|
|
4416
4502
|
const job = await gql.getJob(jobId, signal);
|
|
4417
4503
|
return job && isUnknownJob(job) ? void 0 : job;
|
|
4418
4504
|
},
|
|
4419
|
-
waitForJob: (job, signal) => gql.waitForJob(job, signal)
|
|
4505
|
+
waitForJob: (job, signal) => gql.waitForJob(job, signal),
|
|
4506
|
+
undo: async (identifier, scope, branch, signal) => drives.learn(await drives.refusable(gql.undo(identifier, scope, branch, signal))),
|
|
4507
|
+
redo: async (identifier, scope, branch, signal) => drives.learn(await drives.refusable(gql.redo(identifier, scope, branch, signal))),
|
|
4508
|
+
undoRedoTargets: (identifier, scope, view, signal) => gql.undoRedoTargets(identifier, scope, view, signal),
|
|
4509
|
+
undoRedoAvailability: (identifier, scope, branch, signal) => gql.undoRedoAvailability(identifier, scope, branch, signal)
|
|
4420
4510
|
};
|
|
4421
4511
|
let reading;
|
|
4422
4512
|
const read = () => reading ??= readFacts(gql, descriptor.url).finally(() => {
|
|
@@ -4546,4 +4636,4 @@ function useDocumentOperations(documentId, scope, options = {}) {
|
|
|
4546
4636
|
//#endregion
|
|
4547
4637
|
export { addIsAddLocalDrivesEnabledEventHandler as $, deleteNode as $i, useIsDeletePublicDrivesEnabled as $n, viewFilterInputFromViewFilter as $r, setIsAnalyticsEnabled as $t, useGraphQLReactorClient as A, closePHModal as Aa, phDocumentFromMutation as Ai, setVersion as An, addIsExternalControlsEnabledEventHandler as Ar, addSentryReleaseEventHandler as At, useAttachmentService as B, usePHModal as Ba, COMMON_PACKAGE_ID as Bi, useEnabledEditors as Bn, useIsDragAndDropEnabled as Br, setBasePath as Bt, addSyncSelectionOnPopStateEventHandler as C, useReactorClient as Ca, withRequestDeadline as Ci, setRequiresHardRefresh as Cn, useStudioMode as Cr, addRenownChainIdEventHandler as Ct, usePackageDiscoveryService as D, useSyncList as Da, toLegacyNode as Di, setSentryRelease as Dn, useWarnOutdatedApp as Dr, addRouterBasenameEventHandler as Dt, setPackageDiscoveryService as E, useSync as Ea, GraphQLDriveReadClient as Ei, setSentryEnv as En, useVersionCheckInterval as Er, addRequiresHardRefreshEventHandler as Et, addFeaturesEventHandler as F, setPHModal as Fa, extractRevisionMap as Fi, useBasePath as Fn, phDocumentEditorConfigSetters as Fr, addWarnOutdatedAppEventHandler as Ft, addDefaultDrivesUrlEventHandler as G, useSearchParams as Ga, GraphQLWrongBackendError as Gi, useIsAddLocalDrivesEnabled as Gn, recordBackendAuthError as Gr, setEnabledEditors as Gt, addAnalyticsDatabaseNameEventHandler as H, isPlainClick as Ha, DRIVE_DOCUMENT_TYPES as Hi, useGaTrackingId as Hn, addBackendAuthEventHandler as Hr, setDefaultDrivesUrl as Ht, setFeatures as I, showCreateDocumentModal as Ia, hasRevisionConflict as Ii, useCliVersion as In, setAllowedDocumentTypes as Ir, phGlobalConfigHooks as It, addEnabledEditorsEventHandler as J, queriesUnknownField as Ji, useIsAnalyticsEnabled as Jn, GraphQLReactorClient as Jr, setIsAddCloudDrivesEnabled as Jt, addDisabledEditorsEventHandler as K, useSetSearchParams as Ka, JobFailedError as Ki, useIsAddPublicDrivesEnabled as Kn, setBackendAuth as Kr, setFileUploadOperationsChunkSize as Kt, useFeatures as L, showDeleteNodeModal as La, screamingSnakeToCamel as Li, useDefaultDrivesUrl as Ln, setIsDragAndDropEnabled as Lr, phGlobalConfigSetters as Lt, useDragNode as M, modalFromSearch as Ma, ConflictError as Mi, setWarnOutdatedApp as Mn, phAppConfigHooks as Mr, addSwitchboardUrlEventHandler as Mt, useDropNode as N, modalHref as Na, buildPulledDocument as Ni, useAllowList as Nn, phAppConfigSetters as Nr, addVersionCheckIntervalEventHandler as Nt, addGraphQLReactorClientEventHandler as O, MODAL_SEARCH_PARAM as Oa, isoStringFromDateTime as Oi, setStudioMode as On, addAllowedDocumentTypesEventHandler as Or, addSentryDsnEventHandler as Ot, useDropTarget as P, modalSearch as Pa, convertRemoteOperations as Pi, useAnalyticsDatabaseName as Pn, phDocumentEditorConfigHooks as Pr, addVersionEventHandler as Pt, addIsAddDriveEnabledEventHandler as Q, copyNode$1 as Qi, useIsDeleteLocalDrivesEnabled as Qn, isGraphQLReactorClient as Qr, setIsAnalyticsDatabaseWorkerEnabled as Qt, addAttachmentServiceEventHandler as R, showPHModal as Ra, uncreatedDocument as Ri, useDisabledEditors as Rn, setIsExternalControlsEnabled as Rr, setAllowList as Rt, addSetSelectedNodeOnPopStateEventHandler as S, usePGlite as Sa, switchboardFetch as Si, setRenownUrl as Sn, useSentryRelease as Sr, addRenownAdaptersEventHandler as St, addPackageDiscoveryServiceEventHandler as T, useReactorHalves as Ta, GraphQLDriveNodeSource as Ti, setSentryDsn as Tn, useVersion as Tr, addRenownUrlEventHandler as Tt, addBasePathEventHandler as U, useLinkProps as Ua, BatchJobFailedError as Ui, useIsAddCloudDrivesEnabled as Un, backendAuthStatusOf as Ur, setDisabledEditors as Ut, addAllowListEventHandler as V, withoutModalSearch as Va, DEFAULT_DRIVE_EDITOR_ID as Vi, useFileUploadOperationsChunkSize as Vn, useIsExternalControlsEnabled as Vr, setCliVersion as Vt, addCliVersionEventHandler as W, usePHNavigation as Wa, GraphQLOperationNotSupportedError as Wi, useIsAddDriveEnabled as Wn, isBackendAuthError as Wr, setDrivesPreserveStrategy as Wt, addGaTrackingIdEventHandler as X, addFileWithProgress as Xi, useIsCloudDrivesEnabled as Xn, createGraphQLDriveNodeSource as Xr, setIsAddLocalDrivesEnabled as Xt, addFileUploadOperationsChunkSizeEventHandler as Y, addDocument as Yi, useIsAnalyticsExternalProcessorsEnabled as Yn, ambientRenownSigner as Yr, setIsAddDriveEnabled as Yt, addIsAddCloudDrivesEnabledEventHandler as Z, addFolder$1 as Zi, useIsDeleteCloudDrivesEnabled as Zn, findIsServableOverGraphQL as Zr, setIsAddPublicDrivesEnabled as Zt, useSelectedTimelineRevision as _, setFullReactorClient as _a, readCreateProtocolVersions as _i, setLocalDrivesEnabled as _n, useRenownUrl as _r, addIsPublicDrivesEnabledEventHandler as _t, createSwitchboardBackend as a, moveNode$1 as aa, SubgraphSdkRegistry as ai, setIsDiffAnalyticsEnabled as an, useIsExternalPackagesEnabled as ar, addIsDeleteCloudDrivesEnabledEventHandler as at, useSelectedTimelineItem as b, useDatabase as ba, isDeadlineError as bi, setRenownChainId as bn, useSentryDsn as br, addLocalDrivesEnabledEventHandler as bt, useSwitchboardClient as c, setPreferredEditorOnNode as ca, StaticPackageManager as ci, setIsEditorDebugModeEnabled as cn, useIsLocalDrivesEnabled as cr, addIsDiffAnalyticsEnabledEventHandler as ct, commonGlobalEventHandlerFunctions as d, isDocumentTypeSupported as da, prepareSignedActions as di, setIsExternalProcessorsEnabled as dn, useIsSentryTracingEnabled as dr, addIsEditorDebugModeEnabledEventHandler as dt, exportFile as ea, createJobChangesSocket as ei, setIsAnalyticsExternalProcessorsEnabled as en, useIsDiffAnalyticsEnabled as er, addIsAddPublicDrivesEnabledEventHandler as et, addToastEventHandler as f, addFullReactorClientEventHandler as fa, signStampedAction as fi, setIsExternalRelationalProcessorsEnabled as fn, useLocalDrivesEnabled as fr, addIsEditorReadModeEnabledEventHandler as ft, setSelectedTimelineRevision as g, getFullReactorClient as ga, ReactorOperationFieldsFragmentDoc as gi, setIsSentryTracingEnabled as gn, useRenownNetworkId as gr, addIsLocalDrivesEnabledEventHandler as gt, addSelectedTimelineRevisionEventHandler as h, addReactorHalvesEventHandler as ha, MutateDocumentWithOperationsDocument as hi, setIsRelationalProcessorsEnabled as hn, useRenownChainId as hr, addIsExternalRelationalProcessorsEnabledEventHandler as ht, SwitchboardUnreachableError as i, loadFile as ia, subscriptionsUrlFromGraphqlUrl as ii, setIsDeletePublicDrivesEnabled as in, useIsEditorReadModeEnabled as ir, addIsCloudDrivesEnabledEventHandler as it, addDraggingNodeEventHandler as j, isRoutedModal as ja, revisionMapFromRevisionsList as ji, setVersionCheckInterval as jn, isExternalControlsEnabledEventFunctions as jr, addStudioModeEventHandler as jt, setGraphQLReactorClient as k, addModalEventHandler as ka, phDocumentFromGetDocument as ki, setSwitchboardUrl as kn, addIsDragAndDropEnabledEventHandler as kr, addSentryEnvEventHandler as kt, addPHEventHandlers as l, upgradeDocument as la, packageFromDocumentModels as li, setIsEditorReadModeEnabled as ln, useIsPublicDrivesEnabled as lr, addIsDocumentModelSelectionSettingsEnabledEventHandler as lt, usePHToast as m, addReactorClientModuleEventHandler as ma, GetDocumentAtConsistencyDocument as mi, setIsPublicDrivesEnabled as mn, useRenownAdapters as mr, addIsExternalProcessorsEnabledEventHandler as mt, DEFAULT_BREAKER as n, fetchDocumentOperations as na, makeAuthConnectionParams as ni, setIsDeleteCloudDrivesEnabled as nn, useIsDriveAnalyticsEnabled as nr, addIsAnalyticsEnabledEventHandler as nt, GraphQLReactorProvider as o, renameDriveNode as oa, describeGraphQLDocument as oi, setIsDocumentModelSelectionSettingsEnabled as on, useIsExternalProcessorsEnabled as or, addIsDeleteLocalDrivesEnabledEventHandler as ot, setPHToast as p, addReactorClientEventHandler as pa, stampAction as pi, setIsLocalDrivesEnabled as pn, useLogLevel as pr, addIsExternalPackagesEnabledEventHandler as pt, addDrivesPreserveStrategyEventHandler as q, queriesUnknownArgument as qi, useIsAnalyticsDatabaseWorkerEnabled as qn, useBackendAuth as qr, setGaTrackingId as qt, DEFAULT_REQUEST_TIMEOUT_MS as r, getDocumentExtension as ra, startDocumentChangesSubscription as ri, setIsDeleteLocalDrivesEnabled as rn, useIsEditorDebugModeEnabled as rr, addIsAnalyticsExternalProcessorsEnabledEventHandler as rt, ensurePHEventHandlers as s, renameNode as sa, subgraphUrlFromGraphqlUrl as si, setIsDriveAnalyticsEnabled as sn, useIsExternalRelationalProcessorsEnabled as sr, addIsDeletePublicDrivesEnabledEventHandler as st, useDocumentOperations as t, extractInitialState as ta, isAuthRefusalClose as ti, setIsCloudDrivesEnabled as tn, useIsDocumentModelSelectionSettingsEnabled as tr, addIsAnalyticsDatabaseWorkerEnabledEventHandler as tt, callEventHandlerRegisterFunctions as u, getUserPermissions as ua, resolveDocumentModelModule as ui, setIsExternalPackagesEnabled as un, useIsRelationalProcessorsEnabled as ur, addIsDriveAnalyticsEnabledEventHandler as ut, addSelectedTimelineItemEventHandler as v, setReactorClient as va, readCreateSignaturePolicy as vi, setLogLevel as vn, useRequiresHardRefresh as vr, addIsRelationalProcessorsEnabledEventHandler as vt, syncSelectionFromPath as w, useReactorClientModule as wa, withStreamedBodies as wi, setRouterBasename as wn, useSwitchboardUrl as wr, addRenownNetworkIdEventHandler as wt, addSetSelectedDriveOnPopStateEventHandler as x, useModelRegistry as xa, isNodeFetch as xi, setRenownNetworkId as xn, useSentryEnv as xr, addLogLevelEventHandler as xt, setSelectedTimelineItem as y, setReactorClientModule as ya, globalFetch as yi, setRenownAdapters as yn, useRouterBasename as yr, addIsSentryTracingEnabledEventHandler as yt, setAttachmentService as z, useModalLinkProps as za, underSignaturePolicy as zi, useDrivesPreserveStrategy as zn, useAllowedDocumentTypes as zr, setAnalyticsDatabaseName as zt };
|
|
4548
4638
|
|
|
4549
|
-
//# sourceMappingURL=document-operations-
|
|
4639
|
+
//# sourceMappingURL=document-operations-DCwmgcLe.js.map
|