@powerhousedao/powerhouse-vetra-packages 6.2.0-dev.0 → 6.2.0-dev.10
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
|
@@ -3496,16 +3496,16 @@ const noop = (scope = "global") => createAction("NOOP", {}, void 0, void 0, scop
|
|
|
3496
3496
|
*
|
|
3497
3497
|
* @param type - The type of the action.
|
|
3498
3498
|
* @param input - The input properties of the action.
|
|
3499
|
-
* @param
|
|
3499
|
+
* @param _attachments - Deprecated and ignored. Retained so action creators
|
|
3500
|
+
* generated before the attachment-system removal keep their 5-argument shape.
|
|
3500
3501
|
* @param validator - The validator to use for the input properties.
|
|
3501
3502
|
* @param scope - The scope of the action, can either be 'global' or 'local'.
|
|
3502
|
-
* @param skip - The number of operations to skip before this new action is applied.
|
|
3503
3503
|
*
|
|
3504
3504
|
* @throws Error if the type is empty or not a string.
|
|
3505
3505
|
*
|
|
3506
3506
|
* @returns The new action.
|
|
3507
3507
|
*/
|
|
3508
|
-
function createAction(type, input,
|
|
3508
|
+
function createAction(type, input, _attachments, validator, scope = "global") {
|
|
3509
3509
|
if (!type) throw new Error("Empty action type");
|
|
3510
3510
|
if (typeof type !== "string") throw new Error(`Invalid action type: ${JSON.stringify(type)}`);
|
|
3511
3511
|
const action = {
|
|
@@ -3515,7 +3515,6 @@ function createAction(type, input, attachments, validator, scope = "global") {
|
|
|
3515
3515
|
input,
|
|
3516
3516
|
scope
|
|
3517
3517
|
};
|
|
3518
|
-
if (attachments) action.attachments = attachments;
|
|
3519
3518
|
try {
|
|
3520
3519
|
validator?.().parse(action.input);
|
|
3521
3520
|
} catch (error) {
|
|
@@ -3535,8 +3534,7 @@ const actionFromAction = (action) => {
|
|
|
3535
3534
|
type: action.type,
|
|
3536
3535
|
input: action.input,
|
|
3537
3536
|
scope: action.scope,
|
|
3538
|
-
context: action.context
|
|
3539
|
-
attachments: action.attachments
|
|
3537
|
+
context: action.context
|
|
3540
3538
|
};
|
|
3541
3539
|
};
|
|
3542
3540
|
const operationFromAction = (action, index, skip, context) => {
|
|
@@ -7057,4 +7055,4 @@ const driveDocumentModelModule = {
|
|
|
7057
7055
|
//#endregion
|
|
7058
7056
|
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 };
|
|
7059
7057
|
|
|
7060
|
-
//# sourceMappingURL=document-drive-
|
|
7058
|
+
//# sourceMappingURL=document-drive-CDaY4aIj.js.map
|