document-model 4.1.0-dev.56 → 4.1.0-dev.58
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/index.d.ts +4 -20
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -14
- package/dist/index.js.map +1 -1
- package/dist/src/document/actions/constants.d.ts +7 -0
- package/dist/src/document/actions/constants.d.ts.map +1 -0
- package/dist/src/document/actions/constants.js +7 -0
- package/dist/src/document/actions/constants.js.map +1 -0
- package/dist/src/document/actions/create-action.d.ts +25 -0
- package/dist/src/document/actions/create-action.d.ts.map +1 -0
- package/dist/src/document/actions/create-action.js +48 -0
- package/dist/src/document/actions/create-action.js.map +1 -0
- package/dist/src/document/actions/creators.d.ts +2 -4
- package/dist/src/document/actions/creators.d.ts.map +1 -1
- package/dist/src/document/actions/creators.js +1 -2
- package/dist/src/document/actions/creators.js.map +1 -1
- package/dist/src/document/actions/index.d.ts +5 -0
- package/dist/src/document/actions/index.d.ts.map +1 -0
- package/dist/src/document/actions/index.js +5 -0
- package/dist/src/document/actions/index.js.map +1 -0
- package/dist/src/document/actions/operations.d.ts +3 -5
- package/dist/src/document/actions/operations.d.ts.map +1 -1
- package/dist/src/document/actions/operations.js +1 -3
- package/dist/src/document/actions/operations.js.map +1 -1
- package/dist/src/document/actions/types.d.ts +1 -8
- package/dist/src/document/actions/types.d.ts.map +1 -1
- package/dist/src/document/actions/types.js +1 -6
- package/dist/src/document/actions/types.js.map +1 -1
- package/dist/src/document/index.d.ts +6 -0
- package/dist/src/document/index.d.ts.map +1 -0
- package/dist/src/document/index.js +6 -0
- package/dist/src/document/index.js.map +1 -0
- package/dist/src/document/ph-factories.d.ts +1 -2
- package/dist/src/document/ph-factories.d.ts.map +1 -1
- package/dist/src/document/ph-factories.js +1 -1
- package/dist/src/document/ph-factories.js.map +1 -1
- package/dist/src/document/reducer.d.ts +20 -12
- package/dist/src/document/reducer.d.ts.map +1 -1
- package/dist/src/document/reducer.js +28 -44
- package/dist/src/document/reducer.js.map +1 -1
- package/dist/src/document/schema/index.d.ts +2 -0
- package/dist/src/document/schema/index.d.ts.map +1 -0
- package/dist/src/document/schema/index.js +2 -0
- package/dist/src/document/schema/index.js.map +1 -0
- package/dist/src/document/schema/types.d.ts +14 -34
- package/dist/src/document/schema/types.d.ts.map +1 -1
- package/dist/src/document/schema/zod.d.ts +42 -43
- package/dist/src/document/schema/zod.d.ts.map +1 -1
- package/dist/src/document/schema/zod.js +0 -6
- package/dist/src/document/schema/zod.js.map +1 -1
- package/dist/src/document/types.d.ts +8 -14
- package/dist/src/document/types.d.ts.map +1 -1
- package/dist/src/document/types.js +4 -1
- package/dist/src/document/types.js.map +1 -1
- package/dist/src/document/utils/base.d.ts +2 -48
- package/dist/src/document/utils/base.d.ts.map +1 -1
- package/dist/src/document/utils/base.js +9 -95
- package/dist/src/document/utils/base.js.map +1 -1
- package/dist/src/document/utils/browser.d.ts +6 -6
- package/dist/src/document/utils/browser.d.ts.map +1 -1
- package/dist/src/document/utils/browser.js +7 -8
- package/dist/src/document/utils/browser.js.map +1 -1
- package/dist/src/document/utils/crypto.d.ts +2 -3
- package/dist/src/document/utils/crypto.d.ts.map +1 -1
- package/dist/src/document/utils/crypto.js +4 -10
- package/dist/src/document/utils/crypto.js.map +1 -1
- package/dist/src/document/utils/document-helpers.d.ts +2 -2
- package/dist/src/document/utils/document-helpers.d.ts.map +1 -1
- package/dist/src/document/utils/document-helpers.js +0 -2
- package/dist/src/document/utils/document-helpers.js.map +1 -1
- package/dist/src/document/utils/file.d.ts +2 -48
- package/dist/src/document/utils/file.d.ts.map +1 -1
- package/dist/src/document/utils/file.js +1 -103
- package/dist/src/document/utils/file.js.map +1 -1
- package/dist/src/document/utils/header.d.ts +2 -2
- package/dist/src/document/utils/header.d.ts.map +1 -1
- package/dist/src/document/utils/header.js +6 -19
- package/dist/src/document/utils/header.js.map +1 -1
- package/dist/src/document/utils/index.d.ts +11 -0
- package/dist/src/document/utils/index.d.ts.map +1 -0
- package/dist/src/document/utils/index.js +11 -0
- package/dist/src/document/utils/index.js.map +1 -0
- package/dist/src/document/utils/node.d.ts +48 -6
- package/dist/src/document/utils/node.d.ts.map +1 -1
- package/dist/src/document/utils/node.js +90 -9
- package/dist/src/document/utils/node.js.map +1 -1
- package/dist/src/document/utils/revisions.d.ts +12 -0
- package/dist/src/document/utils/revisions.d.ts.map +1 -0
- package/dist/src/document/utils/revisions.js +42 -0
- package/dist/src/document/utils/revisions.js.map +1 -0
- package/dist/src/document/utils/validation.d.ts +1 -1
- package/dist/src/document/utils/validation.d.ts.map +1 -1
- package/dist/src/document/utils/zip.d.ts +4 -0
- package/dist/src/document/utils/zip.d.ts.map +1 -0
- package/dist/src/document/utils/zip.js +26 -0
- package/dist/src/document/utils/zip.js.map +1 -0
- package/dist/src/document-model/custom/index.d.ts +3 -0
- package/dist/src/document-model/custom/index.d.ts.map +1 -0
- package/dist/src/document-model/custom/index.js +3 -0
- package/dist/src/document-model/custom/index.js.map +1 -0
- package/dist/src/document-model/custom/reducers/header.d.ts +2 -2
- package/dist/src/document-model/custom/reducers/header.d.ts.map +1 -1
- package/dist/src/document-model/custom/reducers/header.js +1 -1
- package/dist/src/document-model/custom/reducers/header.js.map +1 -1
- package/dist/src/document-model/custom/reducers/index.d.ts +8 -0
- package/dist/src/document-model/custom/reducers/index.d.ts.map +1 -0
- package/dist/src/document-model/custom/reducers/index.js +8 -0
- package/dist/src/document-model/custom/reducers/index.js.map +1 -0
- package/dist/src/document-model/custom/reducers/module.d.ts +2 -2
- package/dist/src/document-model/custom/reducers/module.d.ts.map +1 -1
- package/dist/src/document-model/custom/reducers/module.js +1 -1
- package/dist/src/document-model/custom/reducers/module.js.map +1 -1
- package/dist/src/document-model/custom/reducers/operation-error.d.ts +2 -2
- package/dist/src/document-model/custom/reducers/operation-error.d.ts.map +1 -1
- package/dist/src/document-model/custom/reducers/operation-error.js +9 -5
- package/dist/src/document-model/custom/reducers/operation-error.js.map +1 -1
- package/dist/src/document-model/custom/reducers/operation-example.d.ts +2 -2
- package/dist/src/document-model/custom/reducers/operation-example.d.ts.map +1 -1
- package/dist/src/document-model/custom/reducers/operation-example.js +1 -1
- package/dist/src/document-model/custom/reducers/operation-example.js.map +1 -1
- package/dist/src/document-model/custom/reducers/operation.d.ts +2 -2
- package/dist/src/document-model/custom/reducers/operation.d.ts.map +1 -1
- package/dist/src/document-model/custom/reducers/operation.js +1 -1
- package/dist/src/document-model/custom/reducers/operation.js.map +1 -1
- package/dist/src/document-model/custom/reducers/state.d.ts +2 -2
- package/dist/src/document-model/custom/reducers/state.d.ts.map +1 -1
- package/dist/src/document-model/custom/reducers/state.js +1 -1
- package/dist/src/document-model/custom/reducers/state.js.map +1 -1
- package/dist/src/document-model/custom/reducers/versioning.d.ts +2 -2
- package/dist/src/document-model/custom/reducers/versioning.d.ts.map +1 -1
- package/dist/src/document-model/custom/reducers/versioning.js +1 -1
- package/dist/src/document-model/custom/reducers/versioning.js.map +1 -1
- package/dist/src/document-model/custom/utils.d.ts +4 -5
- package/dist/src/document-model/custom/utils.d.ts.map +1 -1
- package/dist/src/document-model/custom/utils.js.map +1 -1
- package/dist/src/document-model/gen/actions.d.ts +1 -14
- package/dist/src/document-model/gen/actions.d.ts.map +1 -1
- package/dist/src/document-model/gen/actions.js +1 -7
- package/dist/src/document-model/gen/actions.js.map +1 -1
- package/dist/src/document-model/gen/constants.d.ts +3 -3
- package/dist/src/document-model/gen/constants.d.ts.map +1 -1
- package/dist/src/document-model/gen/constants.js +1 -1
- package/dist/src/document-model/gen/constants.js.map +1 -1
- package/dist/src/document-model/gen/document-model.d.ts +2 -2
- package/dist/src/document-model/gen/document-model.d.ts.map +1 -1
- package/dist/src/document-model/gen/document-model.js +1 -1
- package/dist/src/document-model/gen/document-model.js.map +1 -1
- package/dist/src/document-model/gen/header/actions.d.ts +1 -2
- package/dist/src/document-model/gen/header/actions.d.ts.map +1 -1
- package/dist/src/document-model/gen/header/creators.d.ts +1 -2
- package/dist/src/document-model/gen/header/creators.d.ts.map +1 -1
- package/dist/src/document-model/gen/header/creators.js +7 -8
- package/dist/src/document-model/gen/header/creators.js.map +1 -1
- package/dist/src/document-model/gen/header/index.d.ts +2 -0
- package/dist/src/document-model/gen/header/index.d.ts.map +1 -0
- package/dist/src/document-model/gen/header/index.js +2 -0
- package/dist/src/document-model/gen/header/index.js.map +1 -0
- package/dist/src/document-model/gen/header/operations.d.ts +7 -8
- package/dist/src/document-model/gen/header/operations.d.ts.map +1 -1
- package/dist/src/document-model/gen/header/types.d.ts +3 -0
- package/dist/src/document-model/gen/header/types.d.ts.map +1 -0
- package/dist/src/document-model/gen/header/types.js +3 -0
- package/dist/src/document-model/gen/header/types.js.map +1 -0
- package/dist/src/document-model/gen/index.d.ts +12 -0
- package/dist/src/document-model/gen/index.d.ts.map +1 -0
- package/dist/src/document-model/gen/index.js +12 -0
- package/dist/src/document-model/gen/index.js.map +1 -0
- package/dist/src/document-model/gen/module/actions.d.ts +1 -2
- package/dist/src/document-model/gen/module/actions.d.ts.map +1 -1
- package/dist/src/document-model/gen/module/creators.d.ts +1 -2
- package/dist/src/document-model/gen/module/creators.d.ts.map +1 -1
- package/dist/src/document-model/gen/module/creators.js +6 -7
- package/dist/src/document-model/gen/module/creators.js.map +1 -1
- package/dist/src/document-model/gen/module/index.d.ts +2 -0
- package/dist/src/document-model/gen/module/index.d.ts.map +1 -0
- package/dist/src/document-model/gen/module/index.js +2 -0
- package/dist/src/document-model/gen/module/index.js.map +1 -0
- package/dist/src/document-model/gen/module/operations.d.ts +7 -7
- package/dist/src/document-model/gen/module/operations.d.ts.map +1 -1
- package/dist/src/document-model/gen/module/types.d.ts +3 -0
- package/dist/src/document-model/gen/module/types.d.ts.map +1 -0
- package/dist/src/document-model/gen/module/types.js +3 -0
- package/dist/src/document-model/gen/module/types.js.map +1 -0
- package/dist/src/document-model/gen/operation/actions.d.ts +1 -2
- package/dist/src/document-model/gen/operation/actions.d.ts.map +1 -1
- package/dist/src/document-model/gen/operation/creators.d.ts +1 -2
- package/dist/src/document-model/gen/operation/creators.d.ts.map +1 -1
- package/dist/src/document-model/gen/operation/creators.js +11 -12
- package/dist/src/document-model/gen/operation/creators.js.map +1 -1
- package/dist/src/document-model/gen/operation/index.d.ts +2 -0
- package/dist/src/document-model/gen/operation/index.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation/index.js +2 -0
- package/dist/src/document-model/gen/operation/index.js.map +1 -0
- package/dist/src/document-model/gen/operation/types.d.ts +15 -0
- package/dist/src/document-model/gen/operation/types.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation/types.js +2 -0
- package/dist/src/document-model/gen/operation/types.js.map +1 -0
- package/dist/src/document-model/gen/operation-error/actions.d.ts +1 -2
- package/dist/src/document-model/gen/operation-error/actions.d.ts.map +1 -1
- package/dist/src/document-model/gen/operation-error/creators.d.ts +1 -2
- package/dist/src/document-model/gen/operation-error/creators.d.ts.map +1 -1
- package/dist/src/document-model/gen/operation-error/creators.js +8 -9
- package/dist/src/document-model/gen/operation-error/creators.js.map +1 -1
- package/dist/src/document-model/gen/operation-error/index.d.ts +2 -0
- package/dist/src/document-model/gen/operation-error/index.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-error/index.js +2 -0
- package/dist/src/document-model/gen/operation-error/index.js.map +1 -0
- package/dist/src/document-model/gen/operation-error/operations.d.ts +9 -9
- package/dist/src/document-model/gen/operation-error/operations.d.ts.map +1 -1
- package/dist/src/document-model/gen/operation-error/types.d.ts +3 -0
- package/dist/src/document-model/gen/operation-error/types.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-error/types.js +3 -0
- package/dist/src/document-model/gen/operation-error/types.js.map +1 -0
- package/dist/src/document-model/gen/operation-example/actions.d.ts +1 -2
- package/dist/src/document-model/gen/operation-example/actions.d.ts.map +1 -1
- package/dist/src/document-model/gen/operation-example/creators.d.ts +1 -2
- package/dist/src/document-model/gen/operation-example/creators.d.ts.map +1 -1
- package/dist/src/document-model/gen/operation-example/creators.js +5 -6
- package/dist/src/document-model/gen/operation-example/creators.js.map +1 -1
- package/dist/src/document-model/gen/operation-example/index.d.ts +2 -0
- package/dist/src/document-model/gen/operation-example/index.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-example/index.js +2 -0
- package/dist/src/document-model/gen/operation-example/index.js.map +1 -0
- package/dist/src/document-model/gen/operation-example/operations.d.ts +5 -6
- package/dist/src/document-model/gen/operation-example/operations.d.ts.map +1 -1
- package/dist/src/document-model/gen/operation-example/types.d.ts +3 -0
- package/dist/src/document-model/gen/operation-example/types.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-example/types.js +3 -0
- package/dist/src/document-model/gen/operation-example/types.js.map +1 -0
- package/dist/src/document-model/gen/ph-factories.d.ts +7 -16
- package/dist/src/document-model/gen/ph-factories.d.ts.map +1 -1
- package/dist/src/document-model/gen/ph-factories.js +3 -4
- package/dist/src/document-model/gen/ph-factories.js.map +1 -1
- package/dist/src/document-model/gen/reducer.d.ts +3 -4
- package/dist/src/document-model/gen/reducer.d.ts.map +1 -1
- package/dist/src/document-model/gen/reducer.js +47 -54
- package/dist/src/document-model/gen/reducer.js.map +1 -1
- package/dist/src/document-model/gen/schema/index.d.ts +2 -2
- package/dist/src/document-model/gen/schema/index.d.ts.map +1 -1
- package/dist/src/document-model/gen/schema/index.js +2 -2
- package/dist/src/document-model/gen/schema/index.js.map +1 -1
- package/dist/src/document-model/gen/schema/types.d.ts +58 -102
- package/dist/src/document-model/gen/schema/types.d.ts.map +1 -1
- package/dist/src/document-model/gen/schema/zod.d.ts +200 -204
- package/dist/src/document-model/gen/schema/zod.d.ts.map +1 -1
- package/dist/src/document-model/gen/schema/zod.js +8 -14
- package/dist/src/document-model/gen/schema/zod.js.map +1 -1
- package/dist/src/document-model/gen/state/actions.d.ts +1 -2
- package/dist/src/document-model/gen/state/actions.d.ts.map +1 -1
- package/dist/src/document-model/gen/state/creators.d.ts +1 -2
- package/dist/src/document-model/gen/state/creators.d.ts.map +1 -1
- package/dist/src/document-model/gen/state/creators.js +7 -8
- package/dist/src/document-model/gen/state/creators.js.map +1 -1
- package/dist/src/document-model/gen/state/index.d.ts +2 -0
- package/dist/src/document-model/gen/state/index.d.ts.map +1 -0
- package/dist/src/document-model/gen/state/index.js +2 -0
- package/dist/src/document-model/gen/state/index.js.map +1 -0
- package/dist/src/document-model/gen/state/operations.d.ts +7 -8
- package/dist/src/document-model/gen/state/operations.d.ts.map +1 -1
- package/dist/src/document-model/gen/state/types.d.ts +3 -0
- package/dist/src/document-model/gen/state/types.d.ts.map +1 -0
- package/dist/src/document-model/gen/state/types.js +3 -0
- package/dist/src/document-model/gen/state/types.js.map +1 -0
- package/dist/src/document-model/gen/types.d.ts +9 -6
- package/dist/src/document-model/gen/types.d.ts.map +1 -1
- package/dist/src/document-model/gen/types.js +9 -1
- package/dist/src/document-model/gen/types.js.map +1 -1
- package/dist/src/document-model/gen/utils.d.ts +5 -9
- package/dist/src/document-model/gen/utils.d.ts.map +1 -1
- package/dist/src/document-model/gen/utils.js +11 -19
- package/dist/src/document-model/gen/utils.js.map +1 -1
- package/dist/src/document-model/gen/versioning/actions.d.ts +1 -2
- package/dist/src/document-model/gen/versioning/actions.d.ts.map +1 -1
- package/dist/src/document-model/gen/versioning/creators.d.ts +1 -2
- package/dist/src/document-model/gen/versioning/creators.d.ts.map +1 -1
- package/dist/src/document-model/gen/versioning/creators.js +5 -6
- package/dist/src/document-model/gen/versioning/creators.js.map +1 -1
- package/dist/src/document-model/gen/versioning/index.d.ts +2 -0
- package/dist/src/document-model/gen/versioning/index.d.ts.map +1 -0
- package/dist/src/document-model/gen/versioning/index.js +2 -0
- package/dist/src/document-model/gen/versioning/index.js.map +1 -0
- package/dist/src/document-model/gen/versioning/operations.d.ts +6 -7
- package/dist/src/document-model/gen/versioning/operations.d.ts.map +1 -1
- package/dist/src/document-model/gen/versioning/types.d.ts +3 -0
- package/dist/src/document-model/gen/versioning/types.d.ts.map +1 -0
- package/dist/src/document-model/gen/versioning/types.js +3 -0
- package/dist/src/document-model/gen/versioning/types.js.map +1 -0
- package/dist/src/document-model/index.d.ts +4 -0
- package/dist/src/document-model/index.d.ts.map +1 -0
- package/dist/src/document-model/index.js +4 -0
- package/dist/src/document-model/index.js.map +1 -0
- package/dist/src/document-model/module.d.ts.map +1 -1
- package/dist/src/document-model/module.js +14 -8
- package/dist/src/document-model/module.js.map +1 -1
- package/dist/src/document-model/types.d.ts +3 -2
- package/dist/src/document-model/types.d.ts.map +1 -1
- package/dist/src/document-model/types.js +1 -1
- package/dist/src/document-model/types.js.map +1 -1
- package/dist/test/document/crypto.test.js +4 -8
- package/dist/test/document/crypto.test.js.map +1 -1
- package/dist/test/document/event-vs-command.test.js +2 -2
- package/dist/test/document/event-vs-command.test.js.map +1 -1
- package/dist/test/document/local.test.js +2 -3
- package/dist/test/document/local.test.js.map +1 -1
- package/dist/test/document/operation-id.test.js +3 -4
- package/dist/test/document/operation-id.test.js.map +1 -1
- package/dist/test/document/prune.test.js +11 -12
- package/dist/test/document/prune.test.js.map +1 -1
- package/dist/test/document/reducer.test.js +7 -10
- package/dist/test/document/reducer.test.js.map +1 -1
- package/dist/test/document/skip-operations.test.js +9 -10
- package/dist/test/document/skip-operations.test.js.map +1 -1
- package/dist/test/document/undo-redo.test.js +5 -7
- package/dist/test/document/undo-redo.test.js.map +1 -1
- package/dist/test/document/utils.test.js +5 -8
- package/dist/test/document/utils.test.js.map +1 -1
- package/dist/test/document-helpers/addUndo.test.js +1 -1
- package/dist/test/document-helpers/addUndo.test.js.map +1 -1
- package/dist/test/document-helpers/attachBranch.test.js +1 -1
- package/dist/test/document-helpers/attachBranch.test.js.map +1 -1
- package/dist/test/document-helpers/checkCleanedOperationsIntegrity.test.js +1 -1
- package/dist/test/document-helpers/checkCleanedOperationsIntegrity.test.js.map +1 -1
- package/dist/test/document-helpers/conflictResolution.test.js +1 -1
- package/dist/test/document-helpers/conflictResolution.test.js.map +1 -1
- package/dist/test/document-helpers/filterDuplicatedOperations.test.js +1 -1
- package/dist/test/document-helpers/filterDuplicatedOperations.test.js.map +1 -1
- package/dist/test/document-helpers/garbageCollect.test.js +1 -1
- package/dist/test/document-helpers/garbageCollect.test.js.map +1 -1
- package/dist/test/document-helpers/groupOperationsByScope.test.js +2 -2
- package/dist/test/document-helpers/groupOperationsByScope.test.js.map +1 -1
- package/dist/test/document-helpers/merge.test.js +1 -1
- package/dist/test/document-helpers/merge.test.js.map +1 -1
- package/dist/test/document-helpers/nextSkipNumber.test.js +1 -1
- package/dist/test/document-helpers/nextSkipNumber.test.js.map +1 -1
- package/dist/test/document-helpers/prepareOperations.test.js +1 -1
- package/dist/test/document-helpers/prepareOperations.test.js.map +1 -1
- package/dist/test/document-helpers/removeExistingOperations.test.js +2 -3
- package/dist/test/document-helpers/removeExistingOperations.test.js.map +1 -1
- package/dist/test/document-helpers/reshuffleByTimestamp.test.js +1 -1
- package/dist/test/document-helpers/reshuffleByTimestamp.test.js.map +1 -1
- package/dist/test/document-helpers/reshuffleByTimestampAndIndex.test.js +1 -1
- package/dist/test/document-helpers/reshuffleByTimestampAndIndex.test.js.map +1 -1
- package/dist/test/document-helpers/skipHeaderOperations.test.js +1 -1
- package/dist/test/document-helpers/skipHeaderOperations.test.js.map +1 -1
- package/dist/test/document-helpers/sortOperations.test.js +1 -1
- package/dist/test/document-helpers/sortOperations.test.js.map +1 -1
- package/dist/test/document-helpers/split.test.js +1 -1
- package/dist/test/document-helpers/split.test.js.map +1 -1
- package/dist/test/document-helpers/utils.d.ts +1 -1
- package/dist/test/document-helpers/utils.d.ts.map +1 -1
- package/dist/test/document-helpers/utils.js +1 -1
- package/dist/test/document-helpers/utils.js.map +1 -1
- package/dist/test/document-model/replay.test.js +2 -3
- package/dist/test/document-model/replay.test.js.map +1 -1
- package/dist/test/document-model/skip-operations.test.js +92 -95
- package/dist/test/document-model/skip-operations.test.js.map +1 -1
- package/dist/test/document-model/validation.test.js +16 -28
- package/dist/test/document-model/validation.test.js.map +1 -1
- package/dist/test/document-model/zip.test.js +17 -19
- package/dist/test/document-model/zip.test.js.map +1 -1
- package/dist/test/helpers.d.ts +8 -5
- package/dist/test/helpers.d.ts.map +1 -1
- package/dist/test/helpers.js +3 -5
- package/dist/test/helpers.js.map +1 -1
- package/dist/test/index.d.ts +3 -0
- package/dist/test/index.d.ts.map +1 -0
- package/dist/test/index.js +3 -0
- package/dist/test/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vitest.config.d.ts +1 -1
- package/dist/vitest.config.d.ts.map +1 -1
- package/dist/vitest.config.js +2 -11
- package/dist/vitest.config.js.map +1 -1
- package/package.json +20 -24
- package/dist/src/document/object.d.ts +0 -125
- package/dist/src/document/object.d.ts.map +0 -1
- package/dist/src/document/object.js +0 -183
- package/dist/src/document/object.js.map +0 -1
- package/dist/src/document-model/gen/header/object.d.ts +0 -13
- package/dist/src/document-model/gen/header/object.d.ts.map +0 -1
- package/dist/src/document-model/gen/header/object.js +0 -23
- package/dist/src/document-model/gen/header/object.js.map +0 -1
- package/dist/src/document-model/gen/module/object.d.ts +0 -12
- package/dist/src/document-model/gen/module/object.d.ts.map +0 -1
- package/dist/src/document-model/gen/module/object.js +0 -20
- package/dist/src/document-model/gen/module/object.js.map +0 -1
- package/dist/src/document-model/gen/object.d.ts +0 -28
- package/dist/src/document-model/gen/object.d.ts.map +0 -1
- package/dist/src/document-model/gen/object.js +0 -46
- package/dist/src/document-model/gen/object.js.map +0 -1
- package/dist/src/document-model/gen/operation/object.d.ts +0 -17
- package/dist/src/document-model/gen/operation/object.d.ts.map +0 -1
- package/dist/src/document-model/gen/operation/object.js +0 -35
- package/dist/src/document-model/gen/operation/object.js.map +0 -1
- package/dist/src/document-model/gen/operation/operations.d.ts +0 -15
- package/dist/src/document-model/gen/operation/operations.d.ts.map +0 -1
- package/dist/src/document-model/gen/operation/operations.js +0 -2
- package/dist/src/document-model/gen/operation/operations.js.map +0 -1
- package/dist/src/document-model/gen/operation-error/object.d.ts +0 -14
- package/dist/src/document-model/gen/operation-error/object.d.ts.map +0 -1
- package/dist/src/document-model/gen/operation-error/object.js +0 -26
- package/dist/src/document-model/gen/operation-error/object.js.map +0 -1
- package/dist/src/document-model/gen/operation-example/object.d.ts +0 -11
- package/dist/src/document-model/gen/operation-example/object.d.ts.map +0 -1
- package/dist/src/document-model/gen/operation-example/object.js +0 -17
- package/dist/src/document-model/gen/operation-example/object.js.map +0 -1
- package/dist/src/document-model/gen/state/object.d.ts +0 -13
- package/dist/src/document-model/gen/state/object.d.ts.map +0 -1
- package/dist/src/document-model/gen/state/object.js +0 -23
- package/dist/src/document-model/gen/state/object.js.map +0 -1
- package/dist/src/document-model/gen/versioning/object.d.ts +0 -12
- package/dist/src/document-model/gen/versioning/object.d.ts.map +0 -1
- package/dist/src/document-model/gen/versioning/object.js +0 -20
- package/dist/src/document-model/gen/versioning/object.js.map +0 -1
- package/dist/test/document/object.test.d.ts +0 -2
- package/dist/test/document/object.test.d.ts.map +0 -1
- package/dist/test/document/object.test.js +0 -13
- package/dist/test/document/object.test.js.map +0 -1
- package/dist/test/document-model/object.test.d.ts +0 -2
- package/dist/test/document-model/object.test.d.ts.map +0 -1
- package/dist/test/document-model/object.test.js +0 -243
- package/dist/test/document-model/object.test.js.map +0 -1
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { AddChangeLogItemInput, AddModuleInput, AddOperationErrorInput, AddOperationExampleInput, AddOperationInput, AddStateExampleInput, Author, CodeExample, DeleteChangeLogItemInput, DeleteModuleInput, DeleteOperationErrorInput, DeleteOperationExampleInput, DeleteOperationInput, DeleteStateExampleInput,
|
|
2
|
+
import type { AddChangeLogItemInput, AddModuleInput, AddOperationErrorInput, AddOperationExampleInput, AddOperationInput, AddStateExampleInput, Author, CodeExample, DeleteChangeLogItemInput, DeleteModuleInput, DeleteOperationErrorInput, DeleteOperationExampleInput, DeleteOperationInput, DeleteStateExampleInput, DocumentModelGlobalState, DocumentSpecification, ModuleSpecification, MoveOperationInput, OperationErrorSpecification, OperationSpecification, ReorderChangeLogItemsInput, ReorderModuleOperationsInput, ReorderModulesInput, ReorderOperationErrorsInput, ReorderOperationExamplesInput, ReorderStateExamplesInput, ScopeState, SetAuthorNameInput, SetAuthorWebsiteInput, SetInitialStateInput, SetModelDescriptionInput, SetModelExtensionInput, SetModelIdInput, SetModelNameInput, SetModuleDescriptionInput, SetModuleNameInput, SetOperationDescriptionInput, SetOperationErrorCodeInput, SetOperationErrorDescriptionInput, SetOperationErrorNameInput, SetOperationErrorTemplateInput, SetOperationNameInput, SetOperationReducerInput, SetOperationSchemaInput, SetOperationScopeInput, SetOperationTemplateInput, SetStateSchemaInput, State, UpdateChangeLogItemInput, UpdateOperationExampleInput, UpdateStateExampleInput } from "document-model";
|
|
3
3
|
type Properties<T> = Required<{
|
|
4
4
|
[K in keyof T]: z.ZodType<T[K], any, T[K]>;
|
|
5
5
|
}>;
|
|
6
|
-
type definedNonNullAny = {};
|
|
7
|
-
export declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
8
|
-
export declare const definedNonNullAnySchema: z.ZodEffects<z.ZodAny, definedNonNullAny, any>;
|
|
9
6
|
export declare function AddChangeLogItemInputSchema(): z.ZodObject<Properties<AddChangeLogItemInput>>;
|
|
10
7
|
export declare function AddModuleInputSchema(): z.ZodObject<Properties<AddModuleInput>>;
|
|
11
8
|
export declare function AddOperationErrorInputSchema(): z.ZodObject<Properties<AddOperationErrorInput>>;
|
|
@@ -20,404 +17,403 @@ export declare function DeleteOperationErrorInputSchema(): z.ZodObject<Propertie
|
|
|
20
17
|
export declare function DeleteOperationExampleInputSchema(): z.ZodObject<Properties<DeleteOperationExampleInput>>;
|
|
21
18
|
export declare function DeleteOperationInputSchema(): z.ZodObject<Properties<DeleteOperationInput>>;
|
|
22
19
|
export declare function DeleteStateExampleInputSchema(): z.ZodObject<Properties<DeleteStateExampleInput>>;
|
|
23
|
-
export declare function OperationScopeSchema(): z.ZodString;
|
|
24
20
|
export declare function DocumentModelInputSchema(): z.ZodUnion<[z.ZodObject<Required<{
|
|
25
21
|
__typename?: z.ZodType<"AddChangeLogItemInput" | undefined, any, "AddChangeLogItemInput" | undefined> | undefined;
|
|
26
22
|
content: z.ZodType<string, any, string>;
|
|
27
23
|
id: z.ZodType<string, any, string>;
|
|
28
|
-
insertBefore: z.ZodType<import("
|
|
24
|
+
insertBefore: z.ZodType<import("document-model").Maybe<string>, any, import("document-model").Maybe<string>>;
|
|
29
25
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
30
|
-
id: import("
|
|
31
|
-
content: import("
|
|
32
|
-
insertBefore: import("
|
|
26
|
+
id: import("document-model").Scalars["ID"]["output"];
|
|
27
|
+
content: import("document-model").Scalars["String"]["output"];
|
|
28
|
+
insertBefore: import("document-model").Maybe<import("document-model").Scalars["ID"]["output"]>;
|
|
33
29
|
__typename?: "AddChangeLogItemInput" | undefined;
|
|
34
30
|
}, {
|
|
35
|
-
id: import("
|
|
36
|
-
content: import("
|
|
37
|
-
insertBefore: import("
|
|
31
|
+
id: import("document-model").Scalars["ID"]["output"];
|
|
32
|
+
content: import("document-model").Scalars["String"]["output"];
|
|
33
|
+
insertBefore: import("document-model").Maybe<import("document-model").Scalars["ID"]["output"]>;
|
|
38
34
|
__typename?: "AddChangeLogItemInput" | undefined;
|
|
39
35
|
}>, z.ZodObject<Required<{
|
|
40
|
-
description?: z.ZodType<import("
|
|
36
|
+
description?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
41
37
|
id: z.ZodType<string, any, string>;
|
|
42
38
|
name: z.ZodType<string, any, string>;
|
|
43
39
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
description?: import("
|
|
40
|
+
name: import("document-model").Scalars["String"]["input"];
|
|
41
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
42
|
+
description?: import("document-model").InputMaybe<string>;
|
|
47
43
|
}, {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
description?: import("
|
|
44
|
+
name: import("document-model").Scalars["String"]["input"];
|
|
45
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
46
|
+
description?: import("document-model").InputMaybe<string>;
|
|
51
47
|
}>, z.ZodObject<Required<{
|
|
52
|
-
errorCode?: z.ZodType<import("
|
|
53
|
-
errorDescription?: z.ZodType<import("
|
|
54
|
-
errorName?: z.ZodType<import("
|
|
55
|
-
errorTemplate?: z.ZodType<import("
|
|
48
|
+
errorCode?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
49
|
+
errorDescription?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
50
|
+
errorName?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
51
|
+
errorTemplate?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
56
52
|
id: z.ZodType<string, any, string>;
|
|
57
53
|
operationId: z.ZodType<string, any, string>;
|
|
58
54
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
59
|
-
id: import("
|
|
60
|
-
operationId: import("
|
|
61
|
-
errorCode?: import("
|
|
62
|
-
errorDescription?: import("
|
|
63
|
-
errorName?: import("
|
|
64
|
-
errorTemplate?: import("
|
|
55
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
56
|
+
operationId: import("document-model").Scalars["ID"]["input"];
|
|
57
|
+
errorCode?: import("document-model").InputMaybe<string>;
|
|
58
|
+
errorDescription?: import("document-model").InputMaybe<string>;
|
|
59
|
+
errorName?: import("document-model").InputMaybe<string>;
|
|
60
|
+
errorTemplate?: import("document-model").InputMaybe<string>;
|
|
65
61
|
}, {
|
|
66
|
-
id: import("
|
|
67
|
-
operationId: import("
|
|
68
|
-
errorCode?: import("
|
|
69
|
-
errorDescription?: import("
|
|
70
|
-
errorName?: import("
|
|
71
|
-
errorTemplate?: import("
|
|
62
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
63
|
+
operationId: import("document-model").Scalars["ID"]["input"];
|
|
64
|
+
errorCode?: import("document-model").InputMaybe<string>;
|
|
65
|
+
errorDescription?: import("document-model").InputMaybe<string>;
|
|
66
|
+
errorName?: import("document-model").InputMaybe<string>;
|
|
67
|
+
errorTemplate?: import("document-model").InputMaybe<string>;
|
|
72
68
|
}>, z.ZodObject<Required<{
|
|
73
69
|
example: z.ZodType<string, any, string>;
|
|
74
70
|
id: z.ZodType<string, any, string>;
|
|
75
71
|
operationId: z.ZodType<string, any, string>;
|
|
76
72
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
77
|
-
id: import("
|
|
78
|
-
operationId: import("
|
|
79
|
-
example: import("
|
|
73
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
74
|
+
operationId: import("document-model").Scalars["ID"]["input"];
|
|
75
|
+
example: import("document-model").Scalars["String"]["input"];
|
|
80
76
|
}, {
|
|
81
|
-
id: import("
|
|
82
|
-
operationId: import("
|
|
83
|
-
example: import("
|
|
77
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
78
|
+
operationId: import("document-model").Scalars["ID"]["input"];
|
|
79
|
+
example: import("document-model").Scalars["String"]["input"];
|
|
84
80
|
}>, z.ZodObject<Required<{
|
|
85
|
-
description?: z.ZodType<import("
|
|
81
|
+
description?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
86
82
|
id: z.ZodType<string, any, string>;
|
|
87
83
|
moduleId: z.ZodType<string, any, string>;
|
|
88
84
|
name: z.ZodType<string, any, string>;
|
|
89
|
-
reducer?: z.ZodType<import("
|
|
90
|
-
schema?: z.ZodType<import("
|
|
91
|
-
template?: z.ZodType<import("
|
|
92
|
-
scope?: z.ZodType<import("
|
|
93
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
moduleId: import("
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
template?: import("
|
|
102
|
-
}, {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
moduleId: import("
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
template?: import("
|
|
85
|
+
reducer?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
86
|
+
schema?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
87
|
+
template?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
88
|
+
scope?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
89
|
+
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
90
|
+
name: import("document-model").Scalars["String"]["input"];
|
|
91
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
92
|
+
moduleId: import("document-model").Scalars["ID"]["input"];
|
|
93
|
+
schema?: import("document-model").InputMaybe<string>;
|
|
94
|
+
scope?: import("document-model").InputMaybe<string>;
|
|
95
|
+
description?: import("document-model").InputMaybe<string>;
|
|
96
|
+
reducer?: import("document-model").InputMaybe<string>;
|
|
97
|
+
template?: import("document-model").InputMaybe<string>;
|
|
98
|
+
}, {
|
|
99
|
+
name: import("document-model").Scalars["String"]["input"];
|
|
100
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
101
|
+
moduleId: import("document-model").Scalars["ID"]["input"];
|
|
102
|
+
schema?: import("document-model").InputMaybe<string>;
|
|
103
|
+
scope?: import("document-model").InputMaybe<string>;
|
|
104
|
+
description?: import("document-model").InputMaybe<string>;
|
|
105
|
+
reducer?: import("document-model").InputMaybe<string>;
|
|
106
|
+
template?: import("document-model").InputMaybe<string>;
|
|
111
107
|
}>, z.ZodObject<Required<{
|
|
112
108
|
scope: z.ZodType<string, any, string>;
|
|
113
109
|
example: z.ZodType<string, any, string>;
|
|
114
110
|
id: z.ZodType<string, any, string>;
|
|
115
|
-
insertBefore?: z.ZodType<import("
|
|
111
|
+
insertBefore?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
116
112
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
117
|
-
scope: import("
|
|
118
|
-
id: import("
|
|
119
|
-
example: import("
|
|
120
|
-
insertBefore?: import("
|
|
113
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
114
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
115
|
+
example: import("document-model").Scalars["String"]["input"];
|
|
116
|
+
insertBefore?: import("document-model").InputMaybe<string>;
|
|
121
117
|
}, {
|
|
122
|
-
scope: import("
|
|
123
|
-
id: import("
|
|
124
|
-
example: import("
|
|
125
|
-
insertBefore?: import("
|
|
118
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
119
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
120
|
+
example: import("document-model").Scalars["String"]["input"];
|
|
121
|
+
insertBefore?: import("document-model").InputMaybe<string>;
|
|
126
122
|
}>, z.ZodObject<Required<{
|
|
127
123
|
__typename?: z.ZodType<"DeleteChangeLogItemInput" | undefined, any, "DeleteChangeLogItemInput" | undefined> | undefined;
|
|
128
124
|
id: z.ZodType<string, any, string>;
|
|
129
125
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
130
|
-
id: import("
|
|
126
|
+
id: import("document-model").Scalars["ID"]["output"];
|
|
131
127
|
__typename?: "DeleteChangeLogItemInput" | undefined;
|
|
132
128
|
}, {
|
|
133
|
-
id: import("
|
|
129
|
+
id: import("document-model").Scalars["ID"]["output"];
|
|
134
130
|
__typename?: "DeleteChangeLogItemInput" | undefined;
|
|
135
131
|
}>, z.ZodObject<Required<{
|
|
136
132
|
id: z.ZodType<string, any, string>;
|
|
137
133
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
138
|
-
id: import("
|
|
134
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
139
135
|
}, {
|
|
140
|
-
id: import("
|
|
136
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
141
137
|
}>, z.ZodObject<Required<{
|
|
142
138
|
id: z.ZodType<string, any, string>;
|
|
143
139
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
144
|
-
id: import("
|
|
140
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
145
141
|
}, {
|
|
146
|
-
id: import("
|
|
142
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
147
143
|
}>, z.ZodObject<Required<{
|
|
148
144
|
id: z.ZodType<string, any, string>;
|
|
149
145
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
150
|
-
id: import("
|
|
146
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
151
147
|
}, {
|
|
152
|
-
id: import("
|
|
148
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
153
149
|
}>, z.ZodObject<Required<{
|
|
154
150
|
id: z.ZodType<string, any, string>;
|
|
155
151
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
156
|
-
id: import("
|
|
152
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
157
153
|
}, {
|
|
158
|
-
id: import("
|
|
154
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
159
155
|
}>, z.ZodObject<Required<{
|
|
160
156
|
scope: z.ZodType<string, any, string>;
|
|
161
157
|
id: z.ZodType<string, any, string>;
|
|
162
158
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
163
|
-
scope: import("
|
|
164
|
-
id: import("
|
|
159
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
160
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
165
161
|
}, {
|
|
166
|
-
scope: import("
|
|
167
|
-
id: import("
|
|
162
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
163
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
168
164
|
}>, z.ZodObject<Required<{
|
|
169
165
|
newModuleId: z.ZodType<string, any, string>;
|
|
170
166
|
operationId: z.ZodType<string, any, string>;
|
|
171
167
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
172
|
-
operationId: import("
|
|
173
|
-
newModuleId: import("
|
|
168
|
+
operationId: import("document-model").Scalars["ID"]["input"];
|
|
169
|
+
newModuleId: import("document-model").Scalars["ID"]["input"];
|
|
174
170
|
}, {
|
|
175
|
-
operationId: import("
|
|
176
|
-
newModuleId: import("
|
|
171
|
+
operationId: import("document-model").Scalars["ID"]["input"];
|
|
172
|
+
newModuleId: import("document-model").Scalars["ID"]["input"];
|
|
177
173
|
}>, z.ZodObject<Required<{
|
|
178
174
|
__typename?: z.ZodType<"ReorderChangeLogItemsInput" | undefined, any, "ReorderChangeLogItemsInput" | undefined> | undefined;
|
|
179
175
|
order: z.ZodType<string[], any, string[]>;
|
|
180
176
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
181
|
-
order: Array<import("
|
|
177
|
+
order: Array<import("document-model").Scalars["ID"]["output"]>;
|
|
182
178
|
__typename?: "ReorderChangeLogItemsInput" | undefined;
|
|
183
179
|
}, {
|
|
184
|
-
order: Array<import("
|
|
180
|
+
order: Array<import("document-model").Scalars["ID"]["output"]>;
|
|
185
181
|
__typename?: "ReorderChangeLogItemsInput" | undefined;
|
|
186
182
|
}>, z.ZodObject<Required<{
|
|
187
183
|
moduleId: z.ZodType<string, any, string>;
|
|
188
184
|
order: z.ZodType<string[], any, string[]>;
|
|
189
185
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
190
|
-
|
|
191
|
-
|
|
186
|
+
order: Array<import("document-model").Scalars["ID"]["input"]>;
|
|
187
|
+
moduleId: import("document-model").Scalars["ID"]["input"];
|
|
192
188
|
}, {
|
|
193
|
-
|
|
194
|
-
|
|
189
|
+
order: Array<import("document-model").Scalars["ID"]["input"]>;
|
|
190
|
+
moduleId: import("document-model").Scalars["ID"]["input"];
|
|
195
191
|
}>, z.ZodObject<Required<{
|
|
196
192
|
order: z.ZodType<string[], any, string[]>;
|
|
197
193
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
198
|
-
order: Array<import("
|
|
194
|
+
order: Array<import("document-model").Scalars["ID"]["input"]>;
|
|
199
195
|
}, {
|
|
200
|
-
order: Array<import("
|
|
196
|
+
order: Array<import("document-model").Scalars["ID"]["input"]>;
|
|
201
197
|
}>, z.ZodObject<Required<{
|
|
202
198
|
operationId: z.ZodType<string, any, string>;
|
|
203
199
|
order: z.ZodType<string[], any, string[]>;
|
|
204
200
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
205
|
-
|
|
206
|
-
|
|
201
|
+
order: Array<import("document-model").Scalars["ID"]["input"]>;
|
|
202
|
+
operationId: import("document-model").Scalars["ID"]["input"];
|
|
207
203
|
}, {
|
|
208
|
-
|
|
209
|
-
|
|
204
|
+
order: Array<import("document-model").Scalars["ID"]["input"]>;
|
|
205
|
+
operationId: import("document-model").Scalars["ID"]["input"];
|
|
210
206
|
}>, z.ZodObject<Required<{
|
|
211
207
|
operationId: z.ZodType<string, any, string>;
|
|
212
208
|
order: z.ZodType<string[], any, string[]>;
|
|
213
209
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
214
|
-
|
|
215
|
-
|
|
210
|
+
order: Array<import("document-model").Scalars["ID"]["input"]>;
|
|
211
|
+
operationId: import("document-model").Scalars["ID"]["input"];
|
|
216
212
|
}, {
|
|
217
|
-
|
|
218
|
-
|
|
213
|
+
order: Array<import("document-model").Scalars["ID"]["input"]>;
|
|
214
|
+
operationId: import("document-model").Scalars["ID"]["input"];
|
|
219
215
|
}>, z.ZodObject<Required<{
|
|
220
216
|
scope: z.ZodType<string, any, string>;
|
|
221
217
|
order: z.ZodType<string[], any, string[]>;
|
|
222
218
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
223
|
-
scope: import("
|
|
224
|
-
order: Array<import("
|
|
219
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
220
|
+
order: Array<import("document-model").Scalars["ID"]["input"]>;
|
|
225
221
|
}, {
|
|
226
|
-
scope: import("
|
|
227
|
-
order: Array<import("
|
|
222
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
223
|
+
order: Array<import("document-model").Scalars["ID"]["input"]>;
|
|
228
224
|
}>, z.ZodObject<Required<{
|
|
229
225
|
authorName: z.ZodType<string, any, string>;
|
|
230
226
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
231
|
-
authorName: import("
|
|
227
|
+
authorName: import("document-model").Scalars["String"]["input"];
|
|
232
228
|
}, {
|
|
233
|
-
authorName: import("
|
|
229
|
+
authorName: import("document-model").Scalars["String"]["input"];
|
|
234
230
|
}>, z.ZodObject<Required<{
|
|
235
231
|
authorWebsite: z.ZodType<string, any, string>;
|
|
236
232
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
237
|
-
authorWebsite: import("
|
|
233
|
+
authorWebsite: import("document-model").Scalars["String"]["input"];
|
|
238
234
|
}, {
|
|
239
|
-
authorWebsite: import("
|
|
235
|
+
authorWebsite: import("document-model").Scalars["String"]["input"];
|
|
240
236
|
}>, z.ZodObject<Required<{
|
|
241
237
|
scope: z.ZodType<string, any, string>;
|
|
242
238
|
initialValue: z.ZodType<string, any, string>;
|
|
243
239
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
244
|
-
scope: import("
|
|
245
|
-
initialValue: import("
|
|
240
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
241
|
+
initialValue: import("document-model").Scalars["String"]["input"];
|
|
246
242
|
}, {
|
|
247
|
-
scope: import("
|
|
248
|
-
initialValue: import("
|
|
243
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
244
|
+
initialValue: import("document-model").Scalars["String"]["input"];
|
|
249
245
|
}>, z.ZodObject<Required<{
|
|
250
246
|
description: z.ZodType<string, any, string>;
|
|
251
247
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
252
|
-
description: import("
|
|
248
|
+
description: import("document-model").Scalars["String"]["input"];
|
|
253
249
|
}, {
|
|
254
|
-
description: import("
|
|
250
|
+
description: import("document-model").Scalars["String"]["input"];
|
|
255
251
|
}>, z.ZodObject<Required<{
|
|
256
252
|
extension: z.ZodType<string, any, string>;
|
|
257
253
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
258
|
-
extension: import("
|
|
254
|
+
extension: import("document-model").Scalars["String"]["input"];
|
|
259
255
|
}, {
|
|
260
|
-
extension: import("
|
|
256
|
+
extension: import("document-model").Scalars["String"]["input"];
|
|
261
257
|
}>, z.ZodObject<Required<{
|
|
262
258
|
id: z.ZodType<string, any, string>;
|
|
263
259
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
264
|
-
id: import("
|
|
260
|
+
id: import("document-model").Scalars["String"]["input"];
|
|
265
261
|
}, {
|
|
266
|
-
id: import("
|
|
262
|
+
id: import("document-model").Scalars["String"]["input"];
|
|
267
263
|
}>, z.ZodObject<Required<{
|
|
268
264
|
name: z.ZodType<string, any, string>;
|
|
269
265
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
270
|
-
name: import("
|
|
266
|
+
name: import("document-model").Scalars["String"]["input"];
|
|
271
267
|
}, {
|
|
272
|
-
name: import("
|
|
268
|
+
name: import("document-model").Scalars["String"]["input"];
|
|
273
269
|
}>, z.ZodObject<Required<{
|
|
274
|
-
description?: z.ZodType<import("
|
|
270
|
+
description?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
275
271
|
id: z.ZodType<string, any, string>;
|
|
276
272
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
277
|
-
id: import("
|
|
278
|
-
description?: import("
|
|
273
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
274
|
+
description?: import("document-model").InputMaybe<string>;
|
|
279
275
|
}, {
|
|
280
|
-
id: import("
|
|
281
|
-
description?: import("
|
|
276
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
277
|
+
description?: import("document-model").InputMaybe<string>;
|
|
282
278
|
}>, z.ZodObject<Required<{
|
|
283
279
|
id: z.ZodType<string, any, string>;
|
|
284
|
-
name?: z.ZodType<import("
|
|
280
|
+
name?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
285
281
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
286
|
-
id: import("
|
|
287
|
-
name?: import("
|
|
282
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
283
|
+
name?: import("document-model").InputMaybe<string>;
|
|
288
284
|
}, {
|
|
289
|
-
id: import("
|
|
290
|
-
name?: import("
|
|
285
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
286
|
+
name?: import("document-model").InputMaybe<string>;
|
|
291
287
|
}>, z.ZodObject<Required<{
|
|
292
|
-
description?: z.ZodType<import("
|
|
288
|
+
description?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
293
289
|
id: z.ZodType<string, any, string>;
|
|
294
290
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
295
|
-
id: import("
|
|
296
|
-
description?: import("
|
|
291
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
292
|
+
description?: import("document-model").InputMaybe<string>;
|
|
297
293
|
}, {
|
|
298
|
-
id: import("
|
|
299
|
-
description?: import("
|
|
294
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
295
|
+
description?: import("document-model").InputMaybe<string>;
|
|
300
296
|
}>, z.ZodObject<Required<{
|
|
301
|
-
errorCode?: z.ZodType<import("
|
|
297
|
+
errorCode?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
302
298
|
id: z.ZodType<string, any, string>;
|
|
303
299
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
304
|
-
id: import("
|
|
305
|
-
errorCode?: import("
|
|
300
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
301
|
+
errorCode?: import("document-model").InputMaybe<string>;
|
|
306
302
|
}, {
|
|
307
|
-
id: import("
|
|
308
|
-
errorCode?: import("
|
|
303
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
304
|
+
errorCode?: import("document-model").InputMaybe<string>;
|
|
309
305
|
}>, z.ZodObject<Required<{
|
|
310
|
-
errorDescription?: z.ZodType<import("
|
|
306
|
+
errorDescription?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
311
307
|
id: z.ZodType<string, any, string>;
|
|
312
308
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
313
|
-
id: import("
|
|
314
|
-
errorDescription?: import("
|
|
309
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
310
|
+
errorDescription?: import("document-model").InputMaybe<string>;
|
|
315
311
|
}, {
|
|
316
|
-
id: import("
|
|
317
|
-
errorDescription?: import("
|
|
312
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
313
|
+
errorDescription?: import("document-model").InputMaybe<string>;
|
|
318
314
|
}>, z.ZodObject<Required<{
|
|
319
|
-
errorName?: z.ZodType<import("
|
|
315
|
+
errorName?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
320
316
|
id: z.ZodType<string, any, string>;
|
|
321
317
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
322
|
-
id: import("
|
|
323
|
-
errorName?: import("
|
|
318
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
319
|
+
errorName?: import("document-model").InputMaybe<string>;
|
|
324
320
|
}, {
|
|
325
|
-
id: import("
|
|
326
|
-
errorName?: import("
|
|
321
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
322
|
+
errorName?: import("document-model").InputMaybe<string>;
|
|
327
323
|
}>, z.ZodObject<Required<{
|
|
328
|
-
errorTemplate?: z.ZodType<import("
|
|
324
|
+
errorTemplate?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
329
325
|
id: z.ZodType<string, any, string>;
|
|
330
326
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
331
|
-
id: import("
|
|
332
|
-
errorTemplate?: import("
|
|
327
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
328
|
+
errorTemplate?: import("document-model").InputMaybe<string>;
|
|
333
329
|
}, {
|
|
334
|
-
id: import("
|
|
335
|
-
errorTemplate?: import("
|
|
330
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
331
|
+
errorTemplate?: import("document-model").InputMaybe<string>;
|
|
336
332
|
}>, z.ZodObject<Required<{
|
|
337
333
|
id: z.ZodType<string, any, string>;
|
|
338
|
-
name?: z.ZodType<import("
|
|
334
|
+
name?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
339
335
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
340
|
-
id: import("
|
|
341
|
-
name?: import("
|
|
336
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
337
|
+
name?: import("document-model").InputMaybe<string>;
|
|
342
338
|
}, {
|
|
343
|
-
id: import("
|
|
344
|
-
name?: import("
|
|
339
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
340
|
+
name?: import("document-model").InputMaybe<string>;
|
|
345
341
|
}>, z.ZodObject<Required<{
|
|
346
342
|
id: z.ZodType<string, any, string>;
|
|
347
|
-
reducer?: z.ZodType<import("
|
|
343
|
+
reducer?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
348
344
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
349
|
-
id: import("
|
|
350
|
-
reducer?: import("
|
|
345
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
346
|
+
reducer?: import("document-model").InputMaybe<string>;
|
|
351
347
|
}, {
|
|
352
|
-
id: import("
|
|
353
|
-
reducer?: import("
|
|
348
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
349
|
+
reducer?: import("document-model").InputMaybe<string>;
|
|
354
350
|
}>, z.ZodObject<Required<{
|
|
355
351
|
id: z.ZodType<string, any, string>;
|
|
356
|
-
schema?: z.ZodType<import("
|
|
352
|
+
schema?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
357
353
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
358
|
-
id: import("
|
|
359
|
-
schema?: import("
|
|
354
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
355
|
+
schema?: import("document-model").InputMaybe<string>;
|
|
360
356
|
}, {
|
|
361
|
-
id: import("
|
|
362
|
-
schema?: import("
|
|
357
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
358
|
+
schema?: import("document-model").InputMaybe<string>;
|
|
363
359
|
}>, z.ZodObject<Required<{
|
|
364
360
|
id: z.ZodType<string, any, string>;
|
|
365
|
-
template?: z.ZodType<import("
|
|
361
|
+
template?: z.ZodType<import("document-model").InputMaybe<string>, any, import("document-model").InputMaybe<string>> | undefined;
|
|
366
362
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
367
|
-
id: import("
|
|
368
|
-
template?: import("
|
|
363
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
364
|
+
template?: import("document-model").InputMaybe<string>;
|
|
369
365
|
}, {
|
|
370
|
-
id: import("
|
|
371
|
-
template?: import("
|
|
366
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
367
|
+
template?: import("document-model").InputMaybe<string>;
|
|
372
368
|
}>, z.ZodObject<Required<{
|
|
373
369
|
scope: z.ZodType<string, any, string>;
|
|
374
370
|
schema: z.ZodType<string, any, string>;
|
|
375
371
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
376
|
-
|
|
377
|
-
|
|
372
|
+
schema: import("document-model").Scalars["String"]["input"];
|
|
373
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
378
374
|
}, {
|
|
379
|
-
|
|
380
|
-
|
|
375
|
+
schema: import("document-model").Scalars["String"]["input"];
|
|
376
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
381
377
|
}>, z.ZodObject<Required<{
|
|
382
378
|
__typename?: z.ZodType<"UpdateChangeLogItemInput" | undefined, any, "UpdateChangeLogItemInput" | undefined> | undefined;
|
|
383
379
|
id: z.ZodType<string, any, string>;
|
|
384
380
|
newContent: z.ZodType<string, any, string>;
|
|
385
381
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
386
|
-
id: import("
|
|
387
|
-
newContent: import("
|
|
382
|
+
id: import("document-model").Scalars["ID"]["output"];
|
|
383
|
+
newContent: import("document-model").Scalars["String"]["output"];
|
|
388
384
|
__typename?: "UpdateChangeLogItemInput" | undefined;
|
|
389
385
|
}, {
|
|
390
|
-
id: import("
|
|
391
|
-
newContent: import("
|
|
386
|
+
id: import("document-model").Scalars["ID"]["output"];
|
|
387
|
+
newContent: import("document-model").Scalars["String"]["output"];
|
|
392
388
|
__typename?: "UpdateChangeLogItemInput" | undefined;
|
|
393
389
|
}>, z.ZodObject<Required<{
|
|
394
390
|
example: z.ZodType<string, any, string>;
|
|
395
391
|
id: z.ZodType<string, any, string>;
|
|
396
392
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
397
|
-
id: import("
|
|
398
|
-
example: import("
|
|
393
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
394
|
+
example: import("document-model").Scalars["String"]["input"];
|
|
399
395
|
}, {
|
|
400
|
-
id: import("
|
|
401
|
-
example: import("
|
|
396
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
397
|
+
example: import("document-model").Scalars["String"]["input"];
|
|
402
398
|
}>, z.ZodObject<Required<{
|
|
403
399
|
scope: z.ZodType<string, any, string>;
|
|
404
400
|
id: z.ZodType<string, any, string>;
|
|
405
401
|
newExample: z.ZodType<string, any, string>;
|
|
406
402
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
407
|
-
scope: import("
|
|
408
|
-
id: import("
|
|
409
|
-
newExample: import("
|
|
403
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
404
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
405
|
+
newExample: import("document-model").Scalars["String"]["input"];
|
|
410
406
|
}, {
|
|
411
|
-
scope: import("
|
|
412
|
-
id: import("
|
|
413
|
-
newExample: import("
|
|
407
|
+
scope: import("document-model").Scalars["String"]["input"];
|
|
408
|
+
id: import("document-model").Scalars["ID"]["input"];
|
|
409
|
+
newExample: import("document-model").Scalars["String"]["input"];
|
|
414
410
|
}>]>;
|
|
415
|
-
export declare function
|
|
411
|
+
export declare function DocumentModelGlobalStateSchema(): z.ZodObject<Properties<DocumentModelGlobalState>>;
|
|
416
412
|
export declare function DocumentSpecificationSchema(): z.ZodObject<Properties<DocumentSpecification>>;
|
|
417
|
-
export declare function ModuleSchema(): z.ZodObject<Properties<
|
|
413
|
+
export declare function ModuleSchema(): z.ZodObject<Properties<ModuleSpecification>>;
|
|
418
414
|
export declare function MoveOperationInputSchema(): z.ZodObject<Properties<MoveOperationInput>>;
|
|
419
|
-
export declare function
|
|
420
|
-
export declare function OperationErrorSchema(): z.ZodObject<Properties<
|
|
415
|
+
export declare function OperationSpecificationSchema(): z.ZodObject<Properties<OperationSpecification>>;
|
|
416
|
+
export declare function OperationErrorSchema(): z.ZodObject<Properties<OperationErrorSpecification>>;
|
|
421
417
|
export declare function ReorderChangeLogItemsInputSchema(): z.ZodObject<Properties<ReorderChangeLogItemsInput>>;
|
|
422
418
|
export declare function ReorderModuleOperationsInputSchema(): z.ZodObject<Properties<ReorderModuleOperationsInput>>;
|
|
423
419
|
export declare function ReorderModulesInputSchema(): z.ZodObject<Properties<ReorderModulesInput>>;
|