@powerhousedao/powerhouse-vetra-packages 6.2.0-dev.3 → 6.2.0-dev.5
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/browser/{connect-ZnLjvmRt.js → connect-DPNyOTBV.js} +4 -4
- package/dist/browser/{connect-ZnLjvmRt.js.map → connect-DPNyOTBV.js.map} +1 -1
- package/dist/browser/{dist-C1nRM9t2.js → dist-Bha1Om6O.js} +4 -25
- package/dist/browser/dist-Bha1Om6O.js.map +1 -0
- package/dist/browser/{dist-DLFI75Zd.js → dist-DnQpckQ8.js} +2 -2
- package/dist/browser/{dist-DLFI75Zd.js.map → dist-DnQpckQ8.js.map} +1 -1
- package/dist/browser/{document-drive-oqv68jDU.js → document-drive-CDaY4aIj.js} +5 -7
- package/dist/browser/document-drive-CDaY4aIj.js.map +1 -0
- package/dist/browser/document-models/index.js +1 -1
- package/dist/browser/{editor-DC3bigBu.js → editor-BtOSWTjb.js} +5 -5
- package/dist/browser/{editor-DC3bigBu.js.map → editor-BtOSWTjb.js.map} +1 -1
- package/dist/browser/{editor-CoTq6fqT.js → editor-CJFM1rC9.js} +6 -6
- package/dist/browser/{editor-CoTq6fqT.js.map → editor-CJFM1rC9.js.map} +1 -1
- package/dist/browser/editors/document-model-editor/module.js +1 -1
- package/dist/browser/editors/generic-drive-explorer/index.js +4 -4
- package/dist/browser/editors/generic-drive-explorer/module.js +1 -1
- package/dist/browser/{folder-view-DmYBf2pP.js → folder-view-DAhpWssS.js} +3 -3
- package/dist/browser/{folder-view-DmYBf2pP.js.map → folder-view-DAhpWssS.js.map} +1 -1
- package/dist/browser/{graphql-editor-CiGd_Li7.js → graphql-editor-Dwgpm08w.js} +3 -3
- package/dist/browser/{graphql-editor-CiGd_Li7.js.map → graphql-editor-Dwgpm08w.js.map} +1 -1
- package/dist/browser/index.js +2 -2
- package/dist/browser/{json-editor-sEqd5piI.js → json-editor-SKLjwlux.js} +3 -3
- package/dist/browser/{json-editor-sEqd5piI.js.map → json-editor-SKLjwlux.js.map} +1 -1
- package/dist/browser/{state-schemas-DJmzG_M8.js → state-schemas-S69fnpVk.js} +3 -3
- package/dist/browser/{state-schemas-DJmzG_M8.js.map → state-schemas-S69fnpVk.js.map} +1 -1
- package/dist/node/{connect-BLC4PXD9.mjs → connect-5a3Nx0Jd.mjs} +4 -4
- package/dist/node/{connect-BLC4PXD9.mjs.map → connect-5a3Nx0Jd.mjs.map} +1 -1
- package/dist/node/{dist-Cn3iExnV.mjs → dist-C7ZmTHz4.mjs} +2 -2
- package/dist/node/{dist-Cn3iExnV.mjs.map → dist-C7ZmTHz4.mjs.map} +1 -1
- package/dist/node/{dist-Bm05eoTg.mjs → dist-QOGgRb-y.mjs} +4 -25
- package/dist/node/dist-QOGgRb-y.mjs.map +1 -0
- package/dist/node/{document-drive-sM33juXr.mjs → document-drive-BK2-EDni.mjs} +5 -7
- package/dist/node/document-drive-BK2-EDni.mjs.map +1 -0
- package/dist/node/document-models/index.mjs +1 -1
- package/dist/node/{editor-BFBa9nsO.mjs → editor-BNOTRmUU.mjs} +6 -6
- package/dist/node/{editor-BFBa9nsO.mjs.map → editor-BNOTRmUU.mjs.map} +1 -1
- package/dist/node/{editor-BrS98lEH.mjs → editor-C_Gchmop.mjs} +5 -5
- package/dist/node/{editor-BrS98lEH.mjs.map → editor-C_Gchmop.mjs.map} +1 -1
- package/dist/node/editors/document-model-editor/module.mjs +1 -1
- package/dist/node/editors/generic-drive-explorer/index.mjs +4 -4
- package/dist/node/editors/generic-drive-explorer/module.mjs +1 -1
- package/dist/node/{folder-view-DHph3Yuu.mjs → folder-view-af4hVjjx.mjs} +3 -3
- package/dist/node/{folder-view-DHph3Yuu.mjs.map → folder-view-af4hVjjx.mjs.map} +1 -1
- package/dist/node/{graphql-editor-CPq7oIbf.mjs → graphql-editor-BoTCyC9n.mjs} +3 -3
- package/dist/node/{graphql-editor-CPq7oIbf.mjs.map → graphql-editor-BoTCyC9n.mjs.map} +1 -1
- package/dist/node/index.mjs +2 -2
- package/dist/node/{json-editor-L32CP7TS.mjs → json-editor-Bk4_b03g.mjs} +3 -3
- package/dist/node/{json-editor-L32CP7TS.mjs.map → json-editor-Bk4_b03g.mjs.map} +1 -1
- package/dist/node/{state-schemas-XTTjQZOe.mjs → state-schemas-DMw1UvT8.mjs} +3 -3
- package/dist/node/{state-schemas-XTTjQZOe.mjs.map → state-schemas-DMw1UvT8.mjs.map} +1 -1
- package/package.json +6 -6
- package/dist/browser/dist-C1nRM9t2.js.map +0 -1
- package/dist/browser/document-drive-oqv68jDU.js.map +0 -1
- package/dist/node/dist-Bm05eoTg.mjs.map +0 -1
- package/dist/node/document-drive-sM33juXr.mjs.map +0 -1
|
@@ -3513,16 +3513,16 @@ const noop = (scope = "global") => createAction("NOOP", {}, void 0, void 0, scop
|
|
|
3513
3513
|
*
|
|
3514
3514
|
* @param type - The type of the action.
|
|
3515
3515
|
* @param input - The input properties of the action.
|
|
3516
|
-
* @param
|
|
3516
|
+
* @param _attachments - Deprecated and ignored. Retained so action creators
|
|
3517
|
+
* generated before the attachment-system removal keep their 5-argument shape.
|
|
3517
3518
|
* @param validator - The validator to use for the input properties.
|
|
3518
3519
|
* @param scope - The scope of the action, can either be 'global' or 'local'.
|
|
3519
|
-
* @param skip - The number of operations to skip before this new action is applied.
|
|
3520
3520
|
*
|
|
3521
3521
|
* @throws Error if the type is empty or not a string.
|
|
3522
3522
|
*
|
|
3523
3523
|
* @returns The new action.
|
|
3524
3524
|
*/
|
|
3525
|
-
function createAction(type, input,
|
|
3525
|
+
function createAction(type, input, _attachments, validator, scope = "global") {
|
|
3526
3526
|
if (!type) throw new Error("Empty action type");
|
|
3527
3527
|
if (typeof type !== "string") throw new Error(`Invalid action type: ${JSON.stringify(type)}`);
|
|
3528
3528
|
const action = {
|
|
@@ -3532,7 +3532,6 @@ function createAction(type, input, attachments, validator, scope = "global") {
|
|
|
3532
3532
|
input,
|
|
3533
3533
|
scope
|
|
3534
3534
|
};
|
|
3535
|
-
if (attachments) action.attachments = attachments;
|
|
3536
3535
|
try {
|
|
3537
3536
|
validator?.().parse(action.input);
|
|
3538
3537
|
} catch (error) {
|
|
@@ -3552,8 +3551,7 @@ const actionFromAction = (action) => {
|
|
|
3552
3551
|
type: action.type,
|
|
3553
3552
|
input: action.input,
|
|
3554
3553
|
scope: action.scope,
|
|
3555
|
-
context: action.context
|
|
3556
|
-
attachments: action.attachments
|
|
3554
|
+
context: action.context
|
|
3557
3555
|
};
|
|
3558
3556
|
};
|
|
3559
3557
|
const operationFromAction = (action, index, skip, context) => {
|
|
@@ -7074,4 +7072,4 @@ const driveDocumentModelModule = {
|
|
|
7074
7072
|
//#endregion
|
|
7075
7073
|
export { replayDocument as A, setOperationDescription as B, defaultBaseState as C, documentModelDocumentType as D, deleteOperationError as E, setModelExtension as F, undo as G, setOperationName as H, setModelId as I, validateStateSchemaName as J, validateInitialState as K, setModelName as L, setAuthorWebsite as M, setInitialState as N, isDocumentAction as O, setModelDescription as P, setModuleName as R, createZip as S, deleteOperation as T, setOperationSchema as U, setOperationErrorName as V, setStateSchema as W, generateId as Y, baseSaveToFileHandle as _, handleTargetNameCollisions as a, createReducer as b, moveNode as c, logger as d, addModule as f, baseLoadFromInput as g, baseCreateDocument as h, generateNodesCopy as i, setAuthorName as j, redo as k, updateNode as l, addOperationError as m, copyNode as n, isFileNode as o, addOperation as p, validateModules as q, driveDocumentModelModule as r, isFolderNode as s, addFolder as t, documentModelDocumentModelModule as u, buildSignedAction as v, deleteModule as w, createState as x, createPresignedHeader as y, setName as z };
|
|
7076
7074
|
|
|
7077
|
-
//# sourceMappingURL=document-drive-
|
|
7075
|
+
//# sourceMappingURL=document-drive-BK2-EDni.mjs.map
|