document-model 2.4.0 → 2.5.0-test.0
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 +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/{browser/src → src}/document/actions/creators.d.ts +4 -2
- package/dist/src/document/actions/creators.d.ts.map +1 -0
- package/dist/{node/src/document/actions/creators.d.ts → src/document/actions/creators.js} +18 -8
- package/dist/src/document/actions/creators.js.map +1 -0
- package/dist/src/document/actions/operations.d.ts +23 -0
- package/dist/src/document/actions/operations.d.ts.map +1 -0
- package/dist/src/document/actions/operations.js +131 -0
- package/dist/src/document/actions/operations.js.map +1 -0
- package/dist/src/document/actions/types.d.ts +16 -0
- package/dist/src/document/actions/types.d.ts.map +1 -0
- package/dist/src/document/actions/types.js +7 -0
- package/dist/src/document/actions/types.js.map +1 -0
- package/dist/{browser/src → src}/document/object.d.ts +17 -14
- package/dist/src/document/object.d.ts.map +1 -0
- package/dist/{node/src/document/object.d.ts → src/document/object.js} +93 -29
- package/dist/src/document/object.js.map +1 -0
- package/dist/src/document/reducer.d.ts +49 -0
- package/dist/src/document/reducer.d.ts.map +1 -0
- package/dist/src/document/reducer.js +342 -0
- package/dist/src/document/reducer.js.map +1 -0
- package/dist/{browser/src → src}/document/schema/types.d.ts +2 -1
- package/dist/src/document/schema/types.d.ts.map +1 -0
- package/dist/src/document/schema/types.js +2 -0
- package/dist/src/document/schema/types.js.map +1 -0
- package/dist/{browser/src → src}/document/schema/zod.d.ts +30 -47
- package/dist/src/document/schema/zod.d.ts.map +1 -0
- package/dist/src/document/schema/zod.js +113 -0
- package/dist/src/document/schema/zod.js.map +1 -0
- package/dist/{node/src → src}/document/signal.d.ts +10 -9
- package/dist/src/document/signal.d.ts.map +1 -0
- package/dist/src/document/signal.js +2 -0
- package/dist/src/document/signal.js.map +1 -0
- package/dist/src/document/types.d.ts +345 -0
- package/dist/src/document/types.d.ts.map +1 -0
- package/dist/src/document/types.js +2 -0
- package/dist/src/document/types.js.map +1 -0
- package/dist/src/document/utils/base.d.ts +83 -0
- package/dist/src/document/utils/base.d.ts.map +1 -0
- package/dist/src/document/utils/base.js +331 -0
- package/dist/src/document/utils/base.js.map +1 -0
- package/dist/src/document/utils/browser.d.ts +18 -0
- package/dist/src/document/utils/browser.d.ts.map +1 -0
- package/dist/src/document/utils/browser.js +54 -0
- package/dist/src/document/utils/browser.js.map +1 -0
- package/dist/src/document/utils/crypto.d.ts +11 -0
- package/dist/src/document/utils/crypto.d.ts.map +1 -0
- package/dist/src/document/utils/crypto.js +80 -0
- package/dist/src/document/utils/crypto.js.map +1 -0
- package/dist/src/document/utils/document-helpers.d.ts +78 -0
- package/dist/src/document/utils/document-helpers.d.ts.map +1 -0
- package/dist/src/document/utils/document-helpers.js +411 -0
- package/dist/src/document/utils/document-helpers.js.map +1 -0
- package/dist/src/document/utils/errors.d.ts +10 -0
- package/dist/src/document/utils/errors.d.ts.map +1 -0
- package/dist/src/document/utils/errors.js +19 -0
- package/dist/src/document/utils/errors.js.map +1 -0
- package/dist/{node/src → src}/document/utils/file.d.ts +10 -8
- package/dist/src/document/utils/file.d.ts.map +1 -0
- package/dist/src/document/utils/file.js +158 -0
- package/dist/src/document/utils/file.js.map +1 -0
- package/dist/src/document/utils/node.d.ts +18 -0
- package/dist/src/document/utils/node.d.ts.map +1 -0
- package/dist/src/document/utils/node.js +62 -0
- package/dist/src/document/utils/node.js.map +1 -0
- package/dist/src/document/utils/validation.d.ts +3 -0
- package/dist/src/document/utils/validation.d.ts.map +1 -0
- package/dist/src/document/utils/validation.js +23 -0
- package/dist/src/document/utils/validation.js.map +1 -0
- package/dist/src/document-model/custom/reducers/header.d.ts +3 -0
- package/dist/src/document-model/custom/reducers/header.d.ts.map +1 -0
- package/dist/src/document-model/custom/reducers/header.js +23 -0
- package/dist/src/document-model/custom/reducers/header.js.map +1 -0
- package/dist/src/document-model/custom/reducers/module.d.ts +3 -0
- package/dist/src/document-model/custom/reducers/module.d.ts.map +1 -0
- package/dist/src/document-model/custom/reducers/module.js +41 -0
- package/dist/src/document-model/custom/reducers/module.js.map +1 -0
- package/dist/src/document-model/custom/reducers/operation-error.d.ts +3 -0
- package/dist/src/document-model/custom/reducers/operation-error.d.ts.map +1 -0
- package/dist/src/document-model/custom/reducers/operation-error.js +94 -0
- package/dist/src/document-model/custom/reducers/operation-error.js.map +1 -0
- package/dist/src/document-model/custom/reducers/operation-example.d.ts +3 -0
- package/dist/src/document-model/custom/reducers/operation-example.d.ts.map +1 -0
- package/dist/src/document-model/custom/reducers/operation-example.js +53 -0
- package/dist/src/document-model/custom/reducers/operation-example.js.map +1 -0
- package/dist/src/document-model/custom/reducers/operation.d.ts +3 -0
- package/dist/src/document-model/custom/reducers/operation.d.ts.map +1 -0
- package/dist/src/document-model/custom/reducers/operation.js +125 -0
- package/dist/src/document-model/custom/reducers/operation.js.map +1 -0
- package/dist/src/document-model/custom/reducers/state.d.ts +3 -0
- package/dist/src/document-model/custom/reducers/state.d.ts.map +1 -0
- package/dist/src/document-model/custom/reducers/state.js +71 -0
- package/dist/src/document-model/custom/reducers/state.js.map +1 -0
- package/dist/src/document-model/custom/reducers/versioning.d.ts +8 -0
- package/dist/src/document-model/custom/reducers/versioning.d.ts.map +1 -0
- package/dist/src/document-model/custom/reducers/versioning.js +23 -0
- package/dist/src/document-model/custom/reducers/versioning.js.map +1 -0
- package/dist/{browser/src → src}/document-model/custom/utils.d.ts +4 -3
- package/dist/src/document-model/custom/utils.d.ts.map +1 -0
- package/dist/src/document-model/custom/utils.js +105 -0
- package/dist/src/document-model/custom/utils.js.map +1 -0
- package/dist/src/document-model/gen/actions.d.ts +16 -0
- package/dist/src/document-model/gen/actions.d.ts.map +1 -0
- package/dist/src/document-model/gen/actions.js +8 -0
- package/dist/src/document-model/gen/actions.js.map +1 -0
- package/dist/src/document-model/gen/constants.d.ts +7 -0
- package/dist/src/document-model/gen/constants.d.ts.map +1 -0
- package/dist/src/document-model/gen/constants.js +34 -0
- package/dist/src/document-model/gen/constants.js.map +1 -0
- package/dist/src/document-model/gen/creators.d.ts +8 -0
- package/dist/src/document-model/gen/creators.d.ts.map +1 -0
- package/dist/src/document-model/gen/creators.js +8 -0
- package/dist/src/document-model/gen/creators.js.map +1 -0
- package/dist/src/document-model/gen/document-model.d.ts +3 -0
- package/dist/src/document-model/gen/document-model.d.ts.map +1 -0
- package/dist/src/document-model/gen/document-model.js +542 -0
- package/dist/src/document-model/gen/document-model.js.map +1 -0
- package/dist/src/document-model/gen/header/actions.d.ts +10 -0
- package/dist/src/document-model/gen/header/actions.d.ts.map +1 -0
- package/dist/src/document-model/gen/header/actions.js +2 -0
- package/dist/src/document-model/gen/header/actions.js.map +1 -0
- package/dist/{node/src → src}/document-model/gen/header/creators.d.ts +3 -2
- package/dist/src/document-model/gen/header/creators.d.ts.map +1 -0
- package/dist/src/document-model/gen/header/creators.js +10 -0
- package/dist/src/document-model/gen/header/creators.js.map +1 -0
- package/dist/src/document-model/gen/header/object.d.ts +13 -0
- package/dist/src/document-model/gen/header/object.d.ts.map +1 -0
- package/dist/src/document-model/gen/header/object.js +23 -0
- package/dist/src/document-model/gen/header/object.js.map +1 -0
- package/dist/{node/src → src}/document-model/gen/header/operations.d.ts +3 -2
- package/dist/src/document-model/gen/header/operations.d.ts.map +1 -0
- package/dist/src/document-model/gen/header/operations.js +2 -0
- package/dist/src/document-model/gen/header/operations.js.map +1 -0
- package/dist/src/document-model/gen/module/actions.d.ts +9 -0
- package/dist/src/document-model/gen/module/actions.d.ts.map +1 -0
- package/dist/src/document-model/gen/module/actions.js +2 -0
- package/dist/src/document-model/gen/module/actions.js.map +1 -0
- package/dist/{node/src → src}/document-model/gen/module/creators.d.ts +3 -2
- package/dist/src/document-model/gen/module/creators.d.ts.map +1 -0
- package/dist/src/document-model/gen/module/creators.js +9 -0
- package/dist/src/document-model/gen/module/creators.js.map +1 -0
- package/dist/src/document-model/gen/module/object.d.ts +12 -0
- package/dist/src/document-model/gen/module/object.d.ts.map +1 -0
- package/dist/src/document-model/gen/module/object.js +20 -0
- package/dist/src/document-model/gen/module/object.js.map +1 -0
- package/dist/{browser/src → src}/document-model/gen/module/operations.d.ts +3 -2
- package/dist/src/document-model/gen/module/operations.d.ts.map +1 -0
- package/dist/src/document-model/gen/module/operations.js +2 -0
- package/dist/src/document-model/gen/module/operations.js.map +1 -0
- package/dist/src/document-model/gen/object.d.ts +29 -0
- package/dist/src/document-model/gen/object.d.ts.map +1 -0
- package/dist/src/document-model/gen/object.js +46 -0
- package/dist/src/document-model/gen/object.js.map +1 -0
- package/dist/src/document-model/gen/operation/actions.d.ts +14 -0
- package/dist/src/document-model/gen/operation/actions.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation/actions.js +2 -0
- package/dist/src/document-model/gen/operation/actions.js.map +1 -0
- package/dist/{browser/src → src}/document-model/gen/operation/creators.d.ts +3 -2
- package/dist/src/document-model/gen/operation/creators.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation/creators.js +20 -0
- package/dist/src/document-model/gen/operation/creators.js.map +1 -0
- package/dist/{node/src → src}/document-model/gen/operation/object.d.ts +7 -5
- package/dist/src/document-model/gen/operation/object.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation/object.js +35 -0
- package/dist/src/document-model/gen/operation/object.js.map +1 -0
- package/dist/{node/src → src}/document-model/gen/operation/operations.d.ts +3 -2
- package/dist/src/document-model/gen/operation/operations.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation/operations.js +2 -0
- package/dist/src/document-model/gen/operation/operations.js.map +1 -0
- package/dist/src/document-model/gen/operation-error/actions.d.ts +11 -0
- package/dist/src/document-model/gen/operation-error/actions.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-error/actions.js +2 -0
- package/dist/src/document-model/gen/operation-error/actions.js.map +1 -0
- package/dist/{node/src → src}/document-model/gen/operation-error/creators.d.ts +3 -2
- package/dist/src/document-model/gen/operation-error/creators.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-error/creators.js +17 -0
- package/dist/src/document-model/gen/operation-error/creators.js.map +1 -0
- package/dist/{node/src → src}/document-model/gen/operation-error/object.d.ts +7 -5
- package/dist/src/document-model/gen/operation-error/object.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-error/object.js +26 -0
- package/dist/src/document-model/gen/operation-error/object.js.map +1 -0
- package/dist/{browser/src → src}/document-model/gen/operation-error/operations.d.ts +3 -2
- package/dist/src/document-model/gen/operation-error/operations.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-error/operations.js +2 -0
- package/dist/src/document-model/gen/operation-error/operations.js.map +1 -0
- package/dist/src/document-model/gen/operation-example/actions.d.ts +8 -0
- package/dist/src/document-model/gen/operation-example/actions.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-example/actions.js +2 -0
- package/dist/src/document-model/gen/operation-example/actions.js.map +1 -0
- package/dist/{browser/src → src}/document-model/gen/operation-example/creators.d.ts +3 -2
- package/dist/src/document-model/gen/operation-example/creators.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-example/creators.js +14 -0
- package/dist/src/document-model/gen/operation-example/creators.js.map +1 -0
- package/dist/src/document-model/gen/operation-example/object.d.ts +12 -0
- package/dist/src/document-model/gen/operation-example/object.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-example/object.js +17 -0
- package/dist/src/document-model/gen/operation-example/object.js.map +1 -0
- package/dist/{browser/src → src}/document-model/gen/operation-example/operations.d.ts +3 -2
- package/dist/src/document-model/gen/operation-example/operations.d.ts.map +1 -0
- package/dist/src/document-model/gen/operation-example/operations.js +2 -0
- package/dist/src/document-model/gen/operation-example/operations.js.map +1 -0
- package/dist/src/document-model/gen/reducer.d.ts +5 -0
- package/dist/src/document-model/gen/reducer.d.ts.map +1 -0
- package/dist/src/document-model/gen/reducer.js +193 -0
- package/dist/src/document-model/gen/reducer.js.map +1 -0
- package/dist/{browser/src → src}/document-model/gen/schema/types.d.ts +6 -1
- package/dist/src/document-model/gen/schema/types.d.ts.map +1 -0
- package/dist/src/document-model/gen/schema/types.js +2 -0
- package/dist/src/document-model/gen/schema/types.js.map +1 -0
- package/dist/src/document-model/gen/schema/zod.d.ts +454 -0
- package/dist/src/document-model/gen/schema/zod.d.ts.map +1 -0
- package/dist/src/document-model/gen/schema/zod.js +394 -0
- package/dist/src/document-model/gen/schema/zod.js.map +1 -0
- package/dist/src/document-model/gen/state/actions.d.ts +10 -0
- package/dist/src/document-model/gen/state/actions.d.ts.map +1 -0
- package/dist/src/document-model/gen/state/actions.js +2 -0
- package/dist/src/document-model/gen/state/actions.js.map +1 -0
- package/dist/{browser/src → src}/document-model/gen/state/creators.d.ts +3 -2
- package/dist/src/document-model/gen/state/creators.d.ts.map +1 -0
- package/dist/src/document-model/gen/state/creators.js +10 -0
- package/dist/src/document-model/gen/state/creators.js.map +1 -0
- package/dist/src/document-model/gen/state/object.d.ts +13 -0
- package/dist/src/document-model/gen/state/object.d.ts.map +1 -0
- package/dist/src/document-model/gen/state/object.js +23 -0
- package/dist/src/document-model/gen/state/object.js.map +1 -0
- package/dist/{browser/src → src}/document-model/gen/state/operations.d.ts +3 -2
- package/dist/src/document-model/gen/state/operations.d.ts.map +1 -0
- package/dist/src/document-model/gen/state/operations.js +2 -0
- package/dist/src/document-model/gen/state/operations.js.map +1 -0
- package/dist/src/document-model/gen/types.d.ts +7 -0
- package/dist/src/document-model/gen/types.d.ts.map +1 -0
- package/dist/src/document-model/gen/types.js +2 -0
- package/dist/src/document-model/gen/types.js.map +1 -0
- package/dist/src/document-model/gen/utils.d.ts +11 -0
- package/dist/src/document-model/gen/utils.d.ts.map +1 -0
- package/dist/src/document-model/gen/utils.js +30 -0
- package/dist/src/document-model/gen/utils.js.map +1 -0
- package/dist/src/document-model/gen/versioning/actions.d.ts +9 -0
- package/dist/src/document-model/gen/versioning/actions.d.ts.map +1 -0
- package/dist/src/document-model/gen/versioning/actions.js +2 -0
- package/dist/src/document-model/gen/versioning/actions.js.map +1 -0
- package/dist/{browser/src → src}/document-model/gen/versioning/creators.d.ts +3 -2
- package/dist/src/document-model/gen/versioning/creators.d.ts.map +1 -0
- package/dist/src/document-model/gen/versioning/creators.js +13 -0
- package/dist/src/document-model/gen/versioning/creators.js.map +1 -0
- package/dist/src/document-model/gen/versioning/object.d.ts +13 -0
- package/dist/src/document-model/gen/versioning/object.d.ts.map +1 -0
- package/dist/src/document-model/gen/versioning/object.js +20 -0
- package/dist/src/document-model/gen/versioning/object.js.map +1 -0
- package/dist/{browser/src → src}/document-model/gen/versioning/operations.d.ts +3 -2
- package/dist/src/document-model/gen/versioning/operations.d.ts.map +1 -0
- package/dist/src/document-model/gen/versioning/operations.js +2 -0
- package/dist/src/document-model/gen/versioning/operations.js.map +1 -0
- package/dist/src/document-model/module.d.ts +3 -0
- package/dist/src/document-model/module.d.ts.map +1 -0
- package/dist/src/document-model/module.js +13 -0
- package/dist/src/document-model/module.js.map +1 -0
- package/dist/src/document-model/types.d.ts +4 -0
- package/dist/src/document-model/types.d.ts.map +1 -0
- package/dist/src/document-model/types.js +2 -0
- package/dist/src/document-model/types.js.map +1 -0
- package/dist/test/document/crypto.test.d.ts +2 -0
- package/dist/test/document/crypto.test.d.ts.map +1 -0
- package/dist/test/document/crypto.test.js +181 -0
- package/dist/test/document/crypto.test.js.map +1 -0
- package/dist/test/document/event-vs-command.test.d.ts +2 -0
- package/dist/test/document/event-vs-command.test.d.ts.map +1 -0
- package/dist/test/document/event-vs-command.test.js +169 -0
- package/dist/test/document/event-vs-command.test.js.map +1 -0
- package/dist/test/document/local.test.d.ts +2 -0
- package/dist/test/document/local.test.d.ts.map +1 -0
- package/dist/test/document/local.test.js +248 -0
- package/dist/test/document/local.test.js.map +1 -0
- package/dist/test/document/object.test.d.ts +2 -0
- package/dist/test/document/object.test.d.ts.map +1 -0
- package/dist/test/document/object.test.js +13 -0
- package/dist/test/document/object.test.js.map +1 -0
- package/dist/test/document/operation-id.test.d.ts +2 -0
- package/dist/test/document/operation-id.test.d.ts.map +1 -0
- package/dist/test/document/operation-id.test.js +159 -0
- package/dist/test/document/operation-id.test.js.map +1 -0
- package/dist/test/document/prune.test.d.ts +2 -0
- package/dist/test/document/prune.test.d.ts.map +1 -0
- package/dist/test/document/prune.test.js +177 -0
- package/dist/test/document/prune.test.js.map +1 -0
- package/dist/test/document/reducer.test.d.ts +2 -0
- package/dist/test/document/reducer.test.d.ts.map +1 -0
- package/dist/test/document/reducer.test.js +270 -0
- package/dist/test/document/reducer.test.js.map +1 -0
- package/dist/test/document/skip-operations.test.d.ts +2 -0
- package/dist/test/document/skip-operations.test.d.ts.map +1 -0
- package/dist/test/document/skip-operations.test.js +442 -0
- package/dist/test/document/skip-operations.test.js.map +1 -0
- package/dist/test/document/undo-redo.test.d.ts +2 -0
- package/dist/test/document/undo-redo.test.d.ts.map +1 -0
- package/dist/test/document/undo-redo.test.js +377 -0
- package/dist/test/document/undo-redo.test.js.map +1 -0
- package/dist/test/document/utils.test.d.ts +2 -0
- package/dist/test/document/utils.test.d.ts.map +1 -0
- package/dist/test/document/utils.test.js +152 -0
- package/dist/test/document/utils.test.js.map +1 -0
- package/dist/test/document-helpers/addUndo.test.d.ts +2 -0
- package/dist/test/document-helpers/addUndo.test.d.ts.map +1 -0
- package/dist/test/document-helpers/addUndo.test.js +120 -0
- package/dist/test/document-helpers/addUndo.test.js.map +1 -0
- package/dist/test/document-helpers/attachBranch.test.d.ts +2 -0
- package/dist/test/document-helpers/attachBranch.test.d.ts.map +1 -0
- package/dist/test/document-helpers/attachBranch.test.js +364 -0
- package/dist/test/document-helpers/attachBranch.test.js.map +1 -0
- package/dist/test/document-helpers/checkCleanedOperationsIntegrity.test.d.ts +2 -0
- package/dist/test/document-helpers/checkCleanedOperationsIntegrity.test.d.ts.map +1 -0
- package/dist/test/document-helpers/checkCleanedOperationsIntegrity.test.js +252 -0
- package/dist/test/document-helpers/checkCleanedOperationsIntegrity.test.js.map +1 -0
- package/dist/test/document-helpers/conflictResolution.test.d.ts +2 -0
- package/dist/test/document-helpers/conflictResolution.test.d.ts.map +1 -0
- package/dist/test/document-helpers/conflictResolution.test.js +109 -0
- package/dist/test/document-helpers/conflictResolution.test.js.map +1 -0
- package/dist/test/document-helpers/filterDuplicatedOperations.test.d.ts +2 -0
- package/dist/test/document-helpers/filterDuplicatedOperations.test.d.ts.map +1 -0
- package/dist/test/document-helpers/filterDuplicatedOperations.test.js +126 -0
- package/dist/test/document-helpers/filterDuplicatedOperations.test.js.map +1 -0
- package/dist/test/document-helpers/garbageCollect.test.d.ts +2 -0
- package/dist/test/document-helpers/garbageCollect.test.d.ts.map +1 -0
- package/dist/test/document-helpers/garbageCollect.test.js +136 -0
- package/dist/test/document-helpers/garbageCollect.test.js.map +1 -0
- package/dist/test/document-helpers/groupOperationsByScope.test.d.ts +2 -0
- package/dist/test/document-helpers/groupOperationsByScope.test.d.ts.map +1 -0
- package/dist/test/document-helpers/groupOperationsByScope.test.js +98 -0
- package/dist/test/document-helpers/groupOperationsByScope.test.js.map +1 -0
- package/dist/test/document-helpers/merge.test.d.ts +2 -0
- package/dist/test/document-helpers/merge.test.d.ts.map +1 -0
- package/dist/test/document-helpers/merge.test.js +906 -0
- package/dist/test/document-helpers/merge.test.js.map +1 -0
- package/dist/test/document-helpers/nextSkipNumber.test.d.ts +2 -0
- package/dist/test/document-helpers/nextSkipNumber.test.d.ts.map +1 -0
- package/dist/test/document-helpers/nextSkipNumber.test.js +135 -0
- package/dist/test/document-helpers/nextSkipNumber.test.js.map +1 -0
- package/dist/test/document-helpers/prepareOperations.test.d.ts +2 -0
- package/dist/test/document-helpers/prepareOperations.test.d.ts.map +1 -0
- package/dist/test/document-helpers/prepareOperations.test.js +304 -0
- package/dist/test/document-helpers/prepareOperations.test.js.map +1 -0
- package/dist/test/document-helpers/removeExistingOperations.test.d.ts +2 -0
- package/dist/test/document-helpers/removeExistingOperations.test.d.ts.map +1 -0
- package/dist/test/document-helpers/removeExistingOperations.test.js +150 -0
- package/dist/test/document-helpers/removeExistingOperations.test.js.map +1 -0
- package/dist/test/document-helpers/reshuffleByTimestamp.test.d.ts +2 -0
- package/dist/test/document-helpers/reshuffleByTimestamp.test.d.ts.map +1 -0
- package/dist/test/document-helpers/reshuffleByTimestamp.test.js +148 -0
- package/dist/test/document-helpers/reshuffleByTimestamp.test.js.map +1 -0
- package/dist/test/document-helpers/reshuffleByTimestampAndIndex.test.d.ts +2 -0
- package/dist/test/document-helpers/reshuffleByTimestampAndIndex.test.d.ts.map +1 -0
- package/dist/test/document-helpers/reshuffleByTimestampAndIndex.test.js +200 -0
- package/dist/test/document-helpers/reshuffleByTimestampAndIndex.test.js.map +1 -0
- package/dist/test/document-helpers/skipHeaderOperations.test.d.ts +2 -0
- package/dist/test/document-helpers/skipHeaderOperations.test.d.ts.map +1 -0
- package/dist/test/document-helpers/skipHeaderOperations.test.js +74 -0
- package/dist/test/document-helpers/skipHeaderOperations.test.js.map +1 -0
- package/dist/test/document-helpers/sortOperations.test.d.ts +2 -0
- package/dist/test/document-helpers/sortOperations.test.d.ts.map +1 -0
- package/dist/test/document-helpers/sortOperations.test.js +101 -0
- package/dist/test/document-helpers/sortOperations.test.js.map +1 -0
- package/dist/test/document-helpers/split.test.d.ts +2 -0
- package/dist/test/document-helpers/split.test.d.ts.map +1 -0
- package/dist/test/document-helpers/split.test.js +121 -0
- package/dist/test/document-helpers/split.test.js.map +1 -0
- package/dist/{browser/test → test}/document-helpers/utils.d.ts +2 -1
- package/dist/test/document-helpers/utils.d.ts.map +1 -0
- package/dist/test/document-helpers/utils.js +22 -0
- package/dist/test/document-helpers/utils.js.map +1 -0
- package/dist/test/document-model/object.test.d.ts +2 -0
- package/dist/test/document-model/object.test.d.ts.map +1 -0
- package/dist/test/document-model/object.test.js +243 -0
- package/dist/test/document-model/object.test.js.map +1 -0
- package/dist/test/document-model/replay.test.d.ts +2 -0
- package/dist/test/document-model/replay.test.d.ts.map +1 -0
- package/dist/test/document-model/replay.test.js +149 -0
- package/dist/test/document-model/replay.test.js.map +1 -0
- package/dist/test/document-model/skip-operations.test.d.ts +2 -0
- package/dist/test/document-model/skip-operations.test.d.ts.map +1 -0
- package/dist/test/document-model/skip-operations.test.js +220 -0
- package/dist/test/document-model/skip-operations.test.js.map +1 -0
- package/dist/test/document-model/validation.test.d.ts +2 -0
- package/dist/test/document-model/validation.test.d.ts.map +1 -0
- package/dist/test/document-model/validation.test.js +258 -0
- package/dist/test/document-model/validation.test.js.map +1 -0
- package/dist/test/document-model/zip.test.d.ts +2 -0
- package/dist/test/document-model/zip.test.d.ts.map +1 -0
- package/dist/test/document-model/zip.test.js +80 -0
- package/dist/test/document-model/zip.test.js.map +1 -0
- package/dist/test/helpers.d.ts +31 -0
- package/dist/test/helpers.d.ts.map +1 -0
- package/dist/test/helpers.js +71 -0
- package/dist/test/helpers.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/vitest.config.d.ts +3 -0
- package/dist/vitest.config.d.ts.map +1 -0
- package/dist/vitest.config.js +13 -0
- package/dist/vitest.config.js.map +1 -0
- package/package.json +27 -53
- package/dist/browser/cjs/document-model.js +0 -20
- package/dist/browser/cjs/document-model.js.map +0 -1
- package/dist/browser/cjs/document.js +0 -15
- package/dist/browser/cjs/document.js.map +0 -1
- package/dist/browser/cjs/index.js +0 -14
- package/dist/browser/cjs/index.js.map +0 -1
- package/dist/browser/cjs/internal/index-DyKphRZa.js +0 -2215
- package/dist/browser/cjs/internal/index-DyKphRZa.js.map +0 -1
- package/dist/browser/cjs/internal/index-y9w_m1Lo.js +0 -57
- package/dist/browser/cjs/internal/index-y9w_m1Lo.js.map +0 -1
- package/dist/browser/cjs/internal/object-Dbc1GbBl.js +0 -2694
- package/dist/browser/cjs/internal/object-Dbc1GbBl.js.map +0 -1
- package/dist/browser/cjs/package.json +0 -1
- package/dist/browser/document-model.d.ts +0 -2
- package/dist/browser/document.d.ts +0 -2
- package/dist/browser/es/document-model.js +0 -20
- package/dist/browser/es/document-model.js.map +0 -1
- package/dist/browser/es/document.js +0 -15
- package/dist/browser/es/document.js.map +0 -1
- package/dist/browser/es/index.js +0 -14
- package/dist/browser/es/index.js.map +0 -1
- package/dist/browser/es/internal/index-BI16PNmr.js +0 -58
- package/dist/browser/es/internal/index-BI16PNmr.js.map +0 -1
- package/dist/browser/es/internal/index-CiQX4huJ.js +0 -2216
- package/dist/browser/es/internal/index-CiQX4huJ.js.map +0 -1
- package/dist/browser/es/internal/object-BTIqCvb-.js +0 -2695
- package/dist/browser/es/internal/object-BTIqCvb-.js.map +0 -1
- package/dist/browser/es/package.json +0 -1
- package/dist/browser/index.d.ts +0 -6
- package/dist/browser/src/document/actions/index.d.ts +0 -14
- package/dist/browser/src/document/actions/types.d.ts +0 -15
- package/dist/browser/src/document/index.d.ts +0 -6
- package/dist/browser/src/document/reducer.d.ts +0 -65
- package/dist/browser/src/document/schema/index.d.ts +0 -2
- package/dist/browser/src/document/signal.d.ts +0 -29
- package/dist/browser/src/document/types.d.ts +0 -271
- package/dist/browser/src/document/utils/base.d.ts +0 -87
- package/dist/browser/src/document/utils/crypto.d.ts +0 -9
- package/dist/browser/src/document/utils/document-helpers.d.ts +0 -73
- package/dist/browser/src/document/utils/file.d.ts +0 -48
- package/dist/browser/src/document/utils/index.d.ts +0 -6
- package/dist/browser/src/document/utils/node.d.ts +0 -9
- package/dist/browser/src/document/utils/validation.d.ts +0 -2
- package/dist/browser/src/document-model/custom/reducers/header.d.ts +0 -2
- package/dist/browser/src/document-model/custom/reducers/module.d.ts +0 -2
- package/dist/browser/src/document-model/custom/reducers/operation-error.d.ts +0 -2
- package/dist/browser/src/document-model/custom/reducers/operation-example.d.ts +0 -2
- package/dist/browser/src/document-model/custom/reducers/operation.d.ts +0 -2
- package/dist/browser/src/document-model/custom/reducers/state.d.ts +0 -2
- package/dist/browser/src/document-model/custom/reducers/versioning.d.ts +0 -2
- package/dist/browser/src/document-model/gen/actions.d.ts +0 -15
- package/dist/browser/src/document-model/gen/creators.d.ts +0 -7
- package/dist/browser/src/document-model/gen/document-model.d.ts +0 -2
- package/dist/browser/src/document-model/gen/header/actions.d.ts +0 -9
- package/dist/browser/src/document-model/gen/header/creators.d.ts +0 -8
- package/dist/browser/src/document-model/gen/header/object.d.ts +0 -12
- package/dist/browser/src/document-model/gen/header/operations.d.ts +0 -10
- package/dist/browser/src/document-model/gen/index.d.ts +0 -5
- package/dist/browser/src/document-model/gen/module/actions.d.ts +0 -8
- package/dist/browser/src/document-model/gen/module/creators.d.ts +0 -7
- package/dist/browser/src/document-model/gen/module/object.d.ts +0 -11
- package/dist/browser/src/document-model/gen/object.d.ts +0 -28
- package/dist/browser/src/document-model/gen/operation/actions.d.ts +0 -13
- package/dist/browser/src/document-model/gen/operation/object.d.ts +0 -16
- package/dist/browser/src/document-model/gen/operation/operations.d.ts +0 -14
- package/dist/browser/src/document-model/gen/operation-error/actions.d.ts +0 -10
- package/dist/browser/src/document-model/gen/operation-error/creators.d.ts +0 -9
- package/dist/browser/src/document-model/gen/operation-error/object.d.ts +0 -13
- package/dist/browser/src/document-model/gen/operation-example/actions.d.ts +0 -7
- package/dist/browser/src/document-model/gen/operation-example/object.d.ts +0 -10
- package/dist/browser/src/document-model/gen/reducer.d.ts +0 -5
- package/dist/browser/src/document-model/gen/schema/index.d.ts +0 -2
- package/dist/browser/src/document-model/gen/schema/zod.d.ts +0 -453
- package/dist/browser/src/document-model/gen/state/actions.d.ts +0 -9
- package/dist/browser/src/document-model/gen/state/object.d.ts +0 -12
- package/dist/browser/src/document-model/gen/types.d.ts +0 -8
- package/dist/browser/src/document-model/gen/utils.d.ts +0 -6
- package/dist/browser/src/document-model/gen/versioning/actions.d.ts +0 -8
- package/dist/browser/src/document-model/gen/versioning/object.d.ts +0 -11
- package/dist/browser/src/document-model/index.d.ts +0 -76
- package/dist/browser/src/index.d.ts +0 -24
- package/dist/browser/test/document/crypto.test.d.ts +0 -1
- package/dist/browser/test/document/event-vs-command.test.d.ts +0 -1
- package/dist/browser/test/document/local.test.d.ts +0 -1
- package/dist/browser/test/document/object.test.d.ts +0 -1
- package/dist/browser/test/document/operation-id.test.d.ts +0 -1
- package/dist/browser/test/document/prune.test.d.ts +0 -1
- package/dist/browser/test/document/reducer.test.d.ts +0 -1
- package/dist/browser/test/document/skip-operations.test.d.ts +0 -1
- package/dist/browser/test/document/undo-redo.test.d.ts +0 -1
- package/dist/browser/test/document/utils.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/addUndo.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/attachBranch.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/checkCleanedOperationsIntegrity.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/conflictResolution.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/filterDuplicatedOperations.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/garbageCollect.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/groupOperationsByScope.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/merge.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/nextSkipNumber.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/prepareOperations.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/removeExistingOperations.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/reshuffleByTimestamp.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/reshuffleByTimestampAndIndex.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/skipHeaderOperations.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/sortOperations.test.d.ts +0 -1
- package/dist/browser/test/document-helpers/split.test.d.ts +0 -1
- package/dist/browser/test/document-model/object.test.d.ts +0 -1
- package/dist/browser/test/document-model/replay.test.d.ts +0 -1
- package/dist/browser/test/document-model/skip-operations.test.d.ts +0 -1
- package/dist/browser/test/document-model/validation.test.d.ts +0 -1
- package/dist/browser/test/document-model/zip.test.d.ts +0 -1
- package/dist/browser/test/helpers.d.ts +0 -39
- package/dist/browser/vite.config.d.ts +0 -2
- package/dist/browser/vitest.config.d.ts +0 -2
- package/dist/node/cjs/document-model.js +0 -24
- package/dist/node/cjs/document-model.js.map +0 -1
- package/dist/node/cjs/document.js +0 -15
- package/dist/node/cjs/document.js.map +0 -1
- package/dist/node/cjs/index.js +0 -14
- package/dist/node/cjs/index.js.map +0 -1
- package/dist/node/cjs/internal/index-CLCVBs4I.js +0 -57
- package/dist/node/cjs/internal/index-CLCVBs4I.js.map +0 -1
- package/dist/node/cjs/internal/index-Cp37sm40.js +0 -2219
- package/dist/node/cjs/internal/index-Cp37sm40.js.map +0 -1
- package/dist/node/cjs/internal/object-ByNZ3G_j.js +0 -2480
- package/dist/node/cjs/internal/object-ByNZ3G_j.js.map +0 -1
- package/dist/node/cjs/package.json +0 -1
- package/dist/node/document-model.d.ts +0 -2
- package/dist/node/document.d.ts +0 -2
- package/dist/node/es/document-model.js +0 -24
- package/dist/node/es/document-model.js.map +0 -1
- package/dist/node/es/document.js +0 -15
- package/dist/node/es/document.js.map +0 -1
- package/dist/node/es/index.js +0 -14
- package/dist/node/es/index.js.map +0 -1
- package/dist/node/es/internal/index-BXfMlE4L.js +0 -58
- package/dist/node/es/internal/index-BXfMlE4L.js.map +0 -1
- package/dist/node/es/internal/index-ppDSDiFU.js +0 -2220
- package/dist/node/es/internal/index-ppDSDiFU.js.map +0 -1
- package/dist/node/es/internal/object-C8sca9DR.js +0 -2481
- package/dist/node/es/internal/object-C8sca9DR.js.map +0 -1
- package/dist/node/es/package.json +0 -1
- package/dist/node/index.d.ts +0 -6
- package/dist/node/src/document/actions/index.d.ts +0 -14
- package/dist/node/src/document/actions/types.d.ts +0 -15
- package/dist/node/src/document/index.d.ts +0 -6
- package/dist/node/src/document/reducer.d.ts +0 -65
- package/dist/node/src/document/schema/index.d.ts +0 -2
- package/dist/node/src/document/schema/types.d.ts +0 -176
- package/dist/node/src/document/schema/zod.d.ts +0 -116
- package/dist/node/src/document/types.d.ts +0 -271
- package/dist/node/src/document/utils/base.d.ts +0 -87
- package/dist/node/src/document/utils/crypto.d.ts +0 -9
- package/dist/node/src/document/utils/document-helpers.d.ts +0 -73
- package/dist/node/src/document/utils/index.d.ts +0 -6
- package/dist/node/src/document/utils/node.d.ts +0 -9
- package/dist/node/src/document/utils/validation.d.ts +0 -2
- package/dist/node/src/document-model/custom/reducers/header.d.ts +0 -2
- package/dist/node/src/document-model/custom/reducers/module.d.ts +0 -2
- package/dist/node/src/document-model/custom/reducers/operation-error.d.ts +0 -2
- package/dist/node/src/document-model/custom/reducers/operation-example.d.ts +0 -2
- package/dist/node/src/document-model/custom/reducers/operation.d.ts +0 -2
- package/dist/node/src/document-model/custom/reducers/state.d.ts +0 -2
- package/dist/node/src/document-model/custom/reducers/versioning.d.ts +0 -2
- package/dist/node/src/document-model/custom/utils.d.ts +0 -7
- package/dist/node/src/document-model/gen/actions.d.ts +0 -15
- package/dist/node/src/document-model/gen/creators.d.ts +0 -7
- package/dist/node/src/document-model/gen/document-model.d.ts +0 -2
- package/dist/node/src/document-model/gen/header/actions.d.ts +0 -9
- package/dist/node/src/document-model/gen/header/object.d.ts +0 -12
- package/dist/node/src/document-model/gen/index.d.ts +0 -5
- package/dist/node/src/document-model/gen/module/actions.d.ts +0 -8
- package/dist/node/src/document-model/gen/module/object.d.ts +0 -11
- package/dist/node/src/document-model/gen/module/operations.d.ts +0 -9
- package/dist/node/src/document-model/gen/object.d.ts +0 -28
- package/dist/node/src/document-model/gen/operation/actions.d.ts +0 -13
- package/dist/node/src/document-model/gen/operation/creators.d.ts +0 -12
- package/dist/node/src/document-model/gen/operation-error/actions.d.ts +0 -10
- package/dist/node/src/document-model/gen/operation-error/operations.d.ts +0 -11
- package/dist/node/src/document-model/gen/operation-example/actions.d.ts +0 -7
- package/dist/node/src/document-model/gen/operation-example/creators.d.ts +0 -6
- package/dist/node/src/document-model/gen/operation-example/object.d.ts +0 -10
- package/dist/node/src/document-model/gen/operation-example/operations.d.ts +0 -8
- package/dist/node/src/document-model/gen/reducer.d.ts +0 -5
- package/dist/node/src/document-model/gen/schema/index.d.ts +0 -2
- package/dist/node/src/document-model/gen/schema/types.d.ts +0 -453
- package/dist/node/src/document-model/gen/schema/zod.d.ts +0 -453
- package/dist/node/src/document-model/gen/state/actions.d.ts +0 -9
- package/dist/node/src/document-model/gen/state/creators.d.ts +0 -8
- package/dist/node/src/document-model/gen/state/object.d.ts +0 -12
- package/dist/node/src/document-model/gen/state/operations.d.ts +0 -10
- package/dist/node/src/document-model/gen/types.d.ts +0 -8
- package/dist/node/src/document-model/gen/utils.d.ts +0 -6
- package/dist/node/src/document-model/gen/versioning/actions.d.ts +0 -8
- package/dist/node/src/document-model/gen/versioning/creators.d.ts +0 -7
- package/dist/node/src/document-model/gen/versioning/object.d.ts +0 -11
- package/dist/node/src/document-model/gen/versioning/operations.d.ts +0 -9
- package/dist/node/src/document-model/index.d.ts +0 -76
- package/dist/node/src/index.d.ts +0 -24
- package/dist/node/test/document/crypto.test.d.ts +0 -1
- package/dist/node/test/document/event-vs-command.test.d.ts +0 -1
- package/dist/node/test/document/local.test.d.ts +0 -1
- package/dist/node/test/document/object.test.d.ts +0 -1
- package/dist/node/test/document/operation-id.test.d.ts +0 -1
- package/dist/node/test/document/prune.test.d.ts +0 -1
- package/dist/node/test/document/reducer.test.d.ts +0 -1
- package/dist/node/test/document/skip-operations.test.d.ts +0 -1
- package/dist/node/test/document/undo-redo.test.d.ts +0 -1
- package/dist/node/test/document/utils.test.d.ts +0 -1
- package/dist/node/test/document-helpers/addUndo.test.d.ts +0 -1
- package/dist/node/test/document-helpers/attachBranch.test.d.ts +0 -1
- package/dist/node/test/document-helpers/checkCleanedOperationsIntegrity.test.d.ts +0 -1
- package/dist/node/test/document-helpers/conflictResolution.test.d.ts +0 -1
- package/dist/node/test/document-helpers/filterDuplicatedOperations.test.d.ts +0 -1
- package/dist/node/test/document-helpers/garbageCollect.test.d.ts +0 -1
- package/dist/node/test/document-helpers/groupOperationsByScope.test.d.ts +0 -1
- package/dist/node/test/document-helpers/merge.test.d.ts +0 -1
- package/dist/node/test/document-helpers/nextSkipNumber.test.d.ts +0 -1
- package/dist/node/test/document-helpers/prepareOperations.test.d.ts +0 -1
- package/dist/node/test/document-helpers/removeExistingOperations.test.d.ts +0 -1
- package/dist/node/test/document-helpers/reshuffleByTimestamp.test.d.ts +0 -1
- package/dist/node/test/document-helpers/reshuffleByTimestampAndIndex.test.d.ts +0 -1
- package/dist/node/test/document-helpers/skipHeaderOperations.test.d.ts +0 -1
- package/dist/node/test/document-helpers/sortOperations.test.d.ts +0 -1
- package/dist/node/test/document-helpers/split.test.d.ts +0 -1
- package/dist/node/test/document-helpers/utils.d.ts +0 -7
- package/dist/node/test/document-model/object.test.d.ts +0 -1
- package/dist/node/test/document-model/replay.test.d.ts +0 -1
- package/dist/node/test/document-model/skip-operations.test.d.ts +0 -1
- package/dist/node/test/document-model/validation.test.d.ts +0 -1
- package/dist/node/test/document-model/zip.test.d.ts +0 -1
- package/dist/node/test/helpers.d.ts +0 -39
- package/dist/node/vite.config.d.ts +0 -2
- package/dist/node/vitest.config.d.ts +0 -2
|
@@ -1,453 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { AddChangeLogItemInput, AddModuleInput, AddOperationErrorInput, AddOperationExampleInput, AddOperationInput, AddStateExampleInput, Author, CodeExample, DeleteChangeLogItemInput, DeleteModuleInput, DeleteOperationErrorInput, DeleteOperationExampleInput, DeleteOperationInput, DeleteStateExampleInput, DocumentModelState, DocumentSpecification, Module, MoveOperationInput, Operation, OperationError, 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 '.';
|
|
3
|
-
import { OperationScope } from '../../../document';
|
|
4
|
-
type Properties<T> = Required<{
|
|
5
|
-
[K in keyof T]: z.ZodType<T[K], any, T[K]>;
|
|
6
|
-
}>;
|
|
7
|
-
type definedNonNullAny = {};
|
|
8
|
-
export declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
9
|
-
export declare const definedNonNullAnySchema: z.ZodEffects<z.ZodAny, definedNonNullAny, any>;
|
|
10
|
-
export declare function AddChangeLogItemInputSchema(): z.ZodObject<Properties<AddChangeLogItemInput>>;
|
|
11
|
-
export declare function AddModuleInputSchema(): z.ZodObject<Properties<AddModuleInput>>;
|
|
12
|
-
export declare function AddOperationErrorInputSchema(): z.ZodObject<Properties<AddOperationErrorInput>>;
|
|
13
|
-
export declare function AddOperationExampleInputSchema(): z.ZodObject<Properties<AddOperationExampleInput>>;
|
|
14
|
-
export declare function AddOperationInputSchema(): z.ZodObject<Properties<AddOperationInput>>;
|
|
15
|
-
export declare function AddStateExampleInputSchema(): z.ZodObject<Properties<AddStateExampleInput>>;
|
|
16
|
-
export declare function AuthorSchema(): z.ZodObject<Properties<Author>>;
|
|
17
|
-
export declare function CodeExampleSchema(): z.ZodObject<Properties<CodeExample>>;
|
|
18
|
-
export declare function DeleteChangeLogItemInputSchema(): z.ZodObject<Properties<DeleteChangeLogItemInput>>;
|
|
19
|
-
export declare function DeleteModuleInputSchema(): z.ZodObject<Properties<DeleteModuleInput>>;
|
|
20
|
-
export declare function DeleteOperationErrorInputSchema(): z.ZodObject<Properties<DeleteOperationErrorInput>>;
|
|
21
|
-
export declare function DeleteOperationExampleInputSchema(): z.ZodObject<Properties<DeleteOperationExampleInput>>;
|
|
22
|
-
export declare function DeleteOperationInputSchema(): z.ZodObject<Properties<DeleteOperationInput>>;
|
|
23
|
-
export declare function DeleteStateExampleInputSchema(): z.ZodObject<Properties<DeleteStateExampleInput>>;
|
|
24
|
-
export declare function OperationScopeSchema(): z.ZodType<OperationScope>;
|
|
25
|
-
export declare function DocumentModelInputSchema(): z.ZodUnion<[z.ZodObject<Required<{
|
|
26
|
-
__typename?: z.ZodType<"AddChangeLogItemInput" | undefined, any, "AddChangeLogItemInput" | undefined> | undefined;
|
|
27
|
-
content: z.ZodType<string, any, string>;
|
|
28
|
-
id: z.ZodType<string, any, string>;
|
|
29
|
-
insertBefore: z.ZodType<import('./types').Maybe<string>, any, import('./types').Maybe<string>>;
|
|
30
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
31
|
-
content: import('./types').Scalars["String"]["output"];
|
|
32
|
-
id: import('./types').Scalars["ID"]["output"];
|
|
33
|
-
insertBefore: import('./types').Maybe<import('./types').Scalars["ID"]["output"]>;
|
|
34
|
-
__typename?: "AddChangeLogItemInput" | undefined;
|
|
35
|
-
}, {
|
|
36
|
-
content: import('./types').Scalars["String"]["output"];
|
|
37
|
-
id: import('./types').Scalars["ID"]["output"];
|
|
38
|
-
insertBefore: import('./types').Maybe<import('./types').Scalars["ID"]["output"]>;
|
|
39
|
-
__typename?: "AddChangeLogItemInput" | undefined;
|
|
40
|
-
}>, z.ZodObject<Required<{
|
|
41
|
-
description?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
42
|
-
id: z.ZodType<string, any, string>;
|
|
43
|
-
name: z.ZodType<string, any, string>;
|
|
44
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
45
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
46
|
-
name: import('./types').Scalars["String"]["input"];
|
|
47
|
-
description?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
48
|
-
}, {
|
|
49
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
50
|
-
name: import('./types').Scalars["String"]["input"];
|
|
51
|
-
description?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
52
|
-
}>, z.ZodObject<Required<{
|
|
53
|
-
errorCode?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
54
|
-
errorDescription?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
55
|
-
errorName?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
56
|
-
errorTemplate?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
57
|
-
id: z.ZodType<string, any, string>;
|
|
58
|
-
operationId: z.ZodType<string, any, string>;
|
|
59
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
60
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
61
|
-
operationId: import('./types').Scalars["ID"]["input"];
|
|
62
|
-
errorCode?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
63
|
-
errorDescription?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
64
|
-
errorName?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
65
|
-
errorTemplate?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
66
|
-
}, {
|
|
67
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
68
|
-
operationId: import('./types').Scalars["ID"]["input"];
|
|
69
|
-
errorCode?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
70
|
-
errorDescription?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
71
|
-
errorName?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
72
|
-
errorTemplate?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
73
|
-
}>, z.ZodObject<Required<{
|
|
74
|
-
example: z.ZodType<string, any, string>;
|
|
75
|
-
id: z.ZodType<string, any, string>;
|
|
76
|
-
operationId: z.ZodType<string, any, string>;
|
|
77
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
78
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
79
|
-
operationId: import('./types').Scalars["ID"]["input"];
|
|
80
|
-
example: import('./types').Scalars["String"]["input"];
|
|
81
|
-
}, {
|
|
82
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
83
|
-
operationId: import('./types').Scalars["ID"]["input"];
|
|
84
|
-
example: import('./types').Scalars["String"]["input"];
|
|
85
|
-
}>, z.ZodObject<Required<{
|
|
86
|
-
description?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
87
|
-
id: z.ZodType<string, any, string>;
|
|
88
|
-
moduleId: z.ZodType<string, any, string>;
|
|
89
|
-
name: z.ZodType<string, any, string>;
|
|
90
|
-
reducer?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
91
|
-
schema?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
92
|
-
template?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
93
|
-
scope?: z.ZodType<import('./types').InputMaybe<OperationScope>, any, import('./types').InputMaybe<OperationScope>> | undefined;
|
|
94
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
95
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
96
|
-
name: import('./types').Scalars["String"]["input"];
|
|
97
|
-
moduleId: import('./types').Scalars["ID"]["input"];
|
|
98
|
-
description?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
99
|
-
reducer?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
100
|
-
schema?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
101
|
-
template?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
102
|
-
scope?: import('./types').InputMaybe<OperationScope>;
|
|
103
|
-
}, {
|
|
104
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
105
|
-
name: import('./types').Scalars["String"]["input"];
|
|
106
|
-
moduleId: import('./types').Scalars["ID"]["input"];
|
|
107
|
-
description?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
108
|
-
reducer?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
109
|
-
schema?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
110
|
-
template?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
111
|
-
scope?: import('./types').InputMaybe<OperationScope>;
|
|
112
|
-
}>, z.ZodObject<Required<{
|
|
113
|
-
scope: z.ZodType<string, any, string>;
|
|
114
|
-
example: z.ZodType<string, any, string>;
|
|
115
|
-
id: z.ZodType<string, any, string>;
|
|
116
|
-
insertBefore?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
117
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
118
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
119
|
-
example: import('./types').Scalars["String"]["input"];
|
|
120
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
121
|
-
insertBefore?: import('./types').InputMaybe<import('./types').Scalars["ID"]["input"]>;
|
|
122
|
-
}, {
|
|
123
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
124
|
-
example: import('./types').Scalars["String"]["input"];
|
|
125
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
126
|
-
insertBefore?: import('./types').InputMaybe<import('./types').Scalars["ID"]["input"]>;
|
|
127
|
-
}>, z.ZodObject<Required<{
|
|
128
|
-
__typename?: z.ZodType<"DeleteChangeLogItemInput" | undefined, any, "DeleteChangeLogItemInput" | undefined> | undefined;
|
|
129
|
-
id: z.ZodType<string, any, string>;
|
|
130
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
131
|
-
id: import('./types').Scalars["ID"]["output"];
|
|
132
|
-
__typename?: "DeleteChangeLogItemInput" | undefined;
|
|
133
|
-
}, {
|
|
134
|
-
id: import('./types').Scalars["ID"]["output"];
|
|
135
|
-
__typename?: "DeleteChangeLogItemInput" | undefined;
|
|
136
|
-
}>, z.ZodObject<Required<{
|
|
137
|
-
id: z.ZodType<string, any, string>;
|
|
138
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
139
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
140
|
-
}, {
|
|
141
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
142
|
-
}>, z.ZodObject<Required<{
|
|
143
|
-
id: z.ZodType<string, any, string>;
|
|
144
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
145
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
146
|
-
}, {
|
|
147
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
148
|
-
}>, z.ZodObject<Required<{
|
|
149
|
-
id: z.ZodType<string, any, string>;
|
|
150
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
151
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
152
|
-
}, {
|
|
153
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
154
|
-
}>, z.ZodObject<Required<{
|
|
155
|
-
id: z.ZodType<string, any, string>;
|
|
156
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
157
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
158
|
-
}, {
|
|
159
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
160
|
-
}>, z.ZodObject<Required<{
|
|
161
|
-
scope: z.ZodType<string, any, string>;
|
|
162
|
-
id: z.ZodType<string, any, string>;
|
|
163
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
164
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
165
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
166
|
-
}, {
|
|
167
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
168
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
169
|
-
}>, z.ZodObject<Required<{
|
|
170
|
-
newModuleId: z.ZodType<string, any, string>;
|
|
171
|
-
operationId: z.ZodType<string, any, string>;
|
|
172
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
173
|
-
operationId: import('./types').Scalars["ID"]["input"];
|
|
174
|
-
newModuleId: import('./types').Scalars["ID"]["input"];
|
|
175
|
-
}, {
|
|
176
|
-
operationId: import('./types').Scalars["ID"]["input"];
|
|
177
|
-
newModuleId: import('./types').Scalars["ID"]["input"];
|
|
178
|
-
}>, z.ZodObject<Required<{
|
|
179
|
-
__typename?: z.ZodType<"ReorderChangeLogItemsInput" | undefined, any, "ReorderChangeLogItemsInput" | undefined> | undefined;
|
|
180
|
-
order: z.ZodType<string[], any, string[]>;
|
|
181
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
182
|
-
order: Array<import('./types').Scalars["ID"]["output"]>;
|
|
183
|
-
__typename?: "ReorderChangeLogItemsInput" | undefined;
|
|
184
|
-
}, {
|
|
185
|
-
order: Array<import('./types').Scalars["ID"]["output"]>;
|
|
186
|
-
__typename?: "ReorderChangeLogItemsInput" | undefined;
|
|
187
|
-
}>, z.ZodObject<Required<{
|
|
188
|
-
moduleId: z.ZodType<string, any, string>;
|
|
189
|
-
order: z.ZodType<string[], any, string[]>;
|
|
190
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
191
|
-
moduleId: import('./types').Scalars["ID"]["input"];
|
|
192
|
-
order: Array<import('./types').Scalars["ID"]["input"]>;
|
|
193
|
-
}, {
|
|
194
|
-
moduleId: import('./types').Scalars["ID"]["input"];
|
|
195
|
-
order: Array<import('./types').Scalars["ID"]["input"]>;
|
|
196
|
-
}>, z.ZodObject<Required<{
|
|
197
|
-
order: z.ZodType<string[], any, string[]>;
|
|
198
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
199
|
-
order: Array<import('./types').Scalars["ID"]["input"]>;
|
|
200
|
-
}, {
|
|
201
|
-
order: Array<import('./types').Scalars["ID"]["input"]>;
|
|
202
|
-
}>, z.ZodObject<Required<{
|
|
203
|
-
operationId: z.ZodType<string, any, string>;
|
|
204
|
-
order: z.ZodType<string[], any, string[]>;
|
|
205
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
206
|
-
operationId: import('./types').Scalars["ID"]["input"];
|
|
207
|
-
order: Array<import('./types').Scalars["ID"]["input"]>;
|
|
208
|
-
}, {
|
|
209
|
-
operationId: import('./types').Scalars["ID"]["input"];
|
|
210
|
-
order: Array<import('./types').Scalars["ID"]["input"]>;
|
|
211
|
-
}>, z.ZodObject<Required<{
|
|
212
|
-
operationId: z.ZodType<string, any, string>;
|
|
213
|
-
order: z.ZodType<string[], any, string[]>;
|
|
214
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
215
|
-
operationId: import('./types').Scalars["ID"]["input"];
|
|
216
|
-
order: Array<import('./types').Scalars["ID"]["input"]>;
|
|
217
|
-
}, {
|
|
218
|
-
operationId: import('./types').Scalars["ID"]["input"];
|
|
219
|
-
order: Array<import('./types').Scalars["ID"]["input"]>;
|
|
220
|
-
}>, z.ZodObject<Required<{
|
|
221
|
-
scope: z.ZodType<string, any, string>;
|
|
222
|
-
order: z.ZodType<string[], any, string[]>;
|
|
223
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
224
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
225
|
-
order: Array<import('./types').Scalars["ID"]["input"]>;
|
|
226
|
-
}, {
|
|
227
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
228
|
-
order: Array<import('./types').Scalars["ID"]["input"]>;
|
|
229
|
-
}>, z.ZodObject<Required<{
|
|
230
|
-
authorName: z.ZodType<string, any, string>;
|
|
231
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
232
|
-
authorName: import('./types').Scalars["String"]["input"];
|
|
233
|
-
}, {
|
|
234
|
-
authorName: import('./types').Scalars["String"]["input"];
|
|
235
|
-
}>, z.ZodObject<Required<{
|
|
236
|
-
authorWebsite: z.ZodType<string, any, string>;
|
|
237
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
238
|
-
authorWebsite: import('./types').Scalars["String"]["input"];
|
|
239
|
-
}, {
|
|
240
|
-
authorWebsite: import('./types').Scalars["String"]["input"];
|
|
241
|
-
}>, z.ZodObject<Required<{
|
|
242
|
-
scope: z.ZodType<string, any, string>;
|
|
243
|
-
initialValue: z.ZodType<string, any, string>;
|
|
244
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
245
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
246
|
-
initialValue: import('./types').Scalars["String"]["input"];
|
|
247
|
-
}, {
|
|
248
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
249
|
-
initialValue: import('./types').Scalars["String"]["input"];
|
|
250
|
-
}>, z.ZodObject<Required<{
|
|
251
|
-
description: z.ZodType<string, any, string>;
|
|
252
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
253
|
-
description: import('./types').Scalars["String"]["input"];
|
|
254
|
-
}, {
|
|
255
|
-
description: import('./types').Scalars["String"]["input"];
|
|
256
|
-
}>, z.ZodObject<Required<{
|
|
257
|
-
extension: z.ZodType<string, any, string>;
|
|
258
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
259
|
-
extension: import('./types').Scalars["String"]["input"];
|
|
260
|
-
}, {
|
|
261
|
-
extension: import('./types').Scalars["String"]["input"];
|
|
262
|
-
}>, z.ZodObject<Required<{
|
|
263
|
-
id: z.ZodType<string, any, string>;
|
|
264
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
265
|
-
id: import('./types').Scalars["String"]["input"];
|
|
266
|
-
}, {
|
|
267
|
-
id: import('./types').Scalars["String"]["input"];
|
|
268
|
-
}>, z.ZodObject<Required<{
|
|
269
|
-
name: z.ZodType<string, any, string>;
|
|
270
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
271
|
-
name: import('./types').Scalars["String"]["input"];
|
|
272
|
-
}, {
|
|
273
|
-
name: import('./types').Scalars["String"]["input"];
|
|
274
|
-
}>, z.ZodObject<Required<{
|
|
275
|
-
description?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
276
|
-
id: z.ZodType<string, any, string>;
|
|
277
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
278
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
279
|
-
description?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
280
|
-
}, {
|
|
281
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
282
|
-
description?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
283
|
-
}>, z.ZodObject<Required<{
|
|
284
|
-
id: z.ZodType<string, any, string>;
|
|
285
|
-
name?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
286
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
287
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
288
|
-
name?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
289
|
-
}, {
|
|
290
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
291
|
-
name?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
292
|
-
}>, z.ZodObject<Required<{
|
|
293
|
-
description?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
294
|
-
id: z.ZodType<string, any, string>;
|
|
295
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
296
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
297
|
-
description?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
298
|
-
}, {
|
|
299
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
300
|
-
description?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
301
|
-
}>, z.ZodObject<Required<{
|
|
302
|
-
errorCode?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
303
|
-
id: z.ZodType<string, any, string>;
|
|
304
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
305
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
306
|
-
errorCode?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
307
|
-
}, {
|
|
308
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
309
|
-
errorCode?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
310
|
-
}>, z.ZodObject<Required<{
|
|
311
|
-
errorDescription?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
312
|
-
id: z.ZodType<string, any, string>;
|
|
313
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
314
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
315
|
-
errorDescription?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
316
|
-
}, {
|
|
317
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
318
|
-
errorDescription?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
319
|
-
}>, z.ZodObject<Required<{
|
|
320
|
-
errorName?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
321
|
-
id: z.ZodType<string, any, string>;
|
|
322
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
323
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
324
|
-
errorName?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
325
|
-
}, {
|
|
326
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
327
|
-
errorName?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
328
|
-
}>, z.ZodObject<Required<{
|
|
329
|
-
errorTemplate?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
330
|
-
id: z.ZodType<string, any, string>;
|
|
331
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
332
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
333
|
-
errorTemplate?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
334
|
-
}, {
|
|
335
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
336
|
-
errorTemplate?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
337
|
-
}>, z.ZodObject<Required<{
|
|
338
|
-
id: z.ZodType<string, any, string>;
|
|
339
|
-
name?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
340
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
341
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
342
|
-
name?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
343
|
-
}, {
|
|
344
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
345
|
-
name?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
346
|
-
}>, z.ZodObject<Required<{
|
|
347
|
-
id: z.ZodType<string, any, string>;
|
|
348
|
-
reducer?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
349
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
350
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
351
|
-
reducer?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
352
|
-
}, {
|
|
353
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
354
|
-
reducer?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
355
|
-
}>, z.ZodObject<Required<{
|
|
356
|
-
id: z.ZodType<string, any, string>;
|
|
357
|
-
schema?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
358
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
359
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
360
|
-
schema?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
361
|
-
}, {
|
|
362
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
363
|
-
schema?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
364
|
-
}>, z.ZodObject<Required<{
|
|
365
|
-
id: z.ZodType<string, any, string>;
|
|
366
|
-
template?: z.ZodType<import('./types').InputMaybe<string>, any, import('./types').InputMaybe<string>> | undefined;
|
|
367
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
368
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
369
|
-
template?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
370
|
-
}, {
|
|
371
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
372
|
-
template?: import('./types').InputMaybe<import('./types').Scalars["String"]["input"]>;
|
|
373
|
-
}>, z.ZodObject<Required<{
|
|
374
|
-
scope: z.ZodType<string, any, string>;
|
|
375
|
-
schema: z.ZodType<string, any, string>;
|
|
376
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
377
|
-
schema: import('./types').Scalars["String"]["input"];
|
|
378
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
379
|
-
}, {
|
|
380
|
-
schema: import('./types').Scalars["String"]["input"];
|
|
381
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
382
|
-
}>, z.ZodObject<Required<{
|
|
383
|
-
__typename?: z.ZodType<"UpdateChangeLogItemInput" | undefined, any, "UpdateChangeLogItemInput" | undefined> | undefined;
|
|
384
|
-
id: z.ZodType<string, any, string>;
|
|
385
|
-
newContent: z.ZodType<string, any, string>;
|
|
386
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
387
|
-
id: import('./types').Scalars["ID"]["output"];
|
|
388
|
-
newContent: import('./types').Scalars["String"]["output"];
|
|
389
|
-
__typename?: "UpdateChangeLogItemInput" | undefined;
|
|
390
|
-
}, {
|
|
391
|
-
id: import('./types').Scalars["ID"]["output"];
|
|
392
|
-
newContent: import('./types').Scalars["String"]["output"];
|
|
393
|
-
__typename?: "UpdateChangeLogItemInput" | undefined;
|
|
394
|
-
}>, z.ZodObject<Required<{
|
|
395
|
-
example: z.ZodType<string, any, string>;
|
|
396
|
-
id: z.ZodType<string, any, string>;
|
|
397
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
398
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
399
|
-
example: import('./types').Scalars["String"]["input"];
|
|
400
|
-
}, {
|
|
401
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
402
|
-
example: import('./types').Scalars["String"]["input"];
|
|
403
|
-
}>, z.ZodObject<Required<{
|
|
404
|
-
scope: z.ZodType<string, any, string>;
|
|
405
|
-
id: z.ZodType<string, any, string>;
|
|
406
|
-
newExample: z.ZodType<string, any, string>;
|
|
407
|
-
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
408
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
409
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
410
|
-
newExample: import('./types').Scalars["String"]["input"];
|
|
411
|
-
}, {
|
|
412
|
-
id: import('./types').Scalars["ID"]["input"];
|
|
413
|
-
scope: import('./types').Scalars["String"]["input"];
|
|
414
|
-
newExample: import('./types').Scalars["String"]["input"];
|
|
415
|
-
}>]>;
|
|
416
|
-
export declare function DocumentModelStateSchema(): z.ZodObject<Properties<DocumentModelState>>;
|
|
417
|
-
export declare function DocumentSpecificationSchema(): z.ZodObject<Properties<DocumentSpecification>>;
|
|
418
|
-
export declare function ModuleSchema(): z.ZodObject<Properties<Module>>;
|
|
419
|
-
export declare function MoveOperationInputSchema(): z.ZodObject<Properties<MoveOperationInput>>;
|
|
420
|
-
export declare function OperationSchema(): z.ZodObject<Properties<Operation>>;
|
|
421
|
-
export declare function OperationErrorSchema(): z.ZodObject<Properties<OperationError>>;
|
|
422
|
-
export declare function ReorderChangeLogItemsInputSchema(): z.ZodObject<Properties<ReorderChangeLogItemsInput>>;
|
|
423
|
-
export declare function ReorderModuleOperationsInputSchema(): z.ZodObject<Properties<ReorderModuleOperationsInput>>;
|
|
424
|
-
export declare function ReorderModulesInputSchema(): z.ZodObject<Properties<ReorderModulesInput>>;
|
|
425
|
-
export declare function ReorderOperationErrorsInputSchema(): z.ZodObject<Properties<ReorderOperationErrorsInput>>;
|
|
426
|
-
export declare function ReorderOperationExamplesInputSchema(): z.ZodObject<Properties<ReorderOperationExamplesInput>>;
|
|
427
|
-
export declare function ReorderStateExamplesInputSchema(): z.ZodObject<Properties<ReorderStateExamplesInput>>;
|
|
428
|
-
export declare function SetAuthorNameInputSchema(): z.ZodObject<Properties<SetAuthorNameInput>>;
|
|
429
|
-
export declare function SetAuthorWebsiteInputSchema(): z.ZodObject<Properties<SetAuthorWebsiteInput>>;
|
|
430
|
-
export declare function SetInitialStateInputSchema(): z.ZodObject<Properties<SetInitialStateInput>>;
|
|
431
|
-
export declare function SetModelDescriptionInputSchema(): z.ZodObject<Properties<SetModelDescriptionInput>>;
|
|
432
|
-
export declare function SetModelExtensionInputSchema(): z.ZodObject<Properties<SetModelExtensionInput>>;
|
|
433
|
-
export declare function SetModelIdInputSchema(): z.ZodObject<Properties<SetModelIdInput>>;
|
|
434
|
-
export declare function SetModelNameInputSchema(): z.ZodObject<Properties<SetModelNameInput>>;
|
|
435
|
-
export declare function SetModuleDescriptionInputSchema(): z.ZodObject<Properties<SetModuleDescriptionInput>>;
|
|
436
|
-
export declare function SetModuleNameInputSchema(): z.ZodObject<Properties<SetModuleNameInput>>;
|
|
437
|
-
export declare function SetOperationDescriptionInputSchema(): z.ZodObject<Properties<SetOperationDescriptionInput>>;
|
|
438
|
-
export declare function SetOperationErrorCodeInputSchema(): z.ZodObject<Properties<SetOperationErrorCodeInput>>;
|
|
439
|
-
export declare function SetOperationErrorDescriptionInputSchema(): z.ZodObject<Properties<SetOperationErrorDescriptionInput>>;
|
|
440
|
-
export declare function SetOperationErrorNameInputSchema(): z.ZodObject<Properties<SetOperationErrorNameInput>>;
|
|
441
|
-
export declare function SetOperationErrorTemplateInputSchema(): z.ZodObject<Properties<SetOperationErrorTemplateInput>>;
|
|
442
|
-
export declare function SetOperationNameInputSchema(): z.ZodObject<Properties<SetOperationNameInput>>;
|
|
443
|
-
export declare function SetOperationScopeInputSchema(): z.ZodObject<Properties<SetOperationScopeInput>>;
|
|
444
|
-
export declare function SetOperationReducerInputSchema(): z.ZodObject<Properties<SetOperationReducerInput>>;
|
|
445
|
-
export declare function SetOperationSchemaInputSchema(): z.ZodObject<Properties<SetOperationSchemaInput>>;
|
|
446
|
-
export declare function SetOperationTemplateInputSchema(): z.ZodObject<Properties<SetOperationTemplateInput>>;
|
|
447
|
-
export declare function SetStateSchemaInputSchema(): z.ZodObject<Properties<SetStateSchemaInput>>;
|
|
448
|
-
export declare function StateSchema(): z.ZodObject<Properties<State>>;
|
|
449
|
-
export declare function ScopeStateSchema(): z.ZodObject<Properties<ScopeState>>;
|
|
450
|
-
export declare function UpdateChangeLogItemInputSchema(): z.ZodObject<Properties<UpdateChangeLogItemInput>>;
|
|
451
|
-
export declare function UpdateOperationExampleInputSchema(): z.ZodObject<Properties<UpdateOperationExampleInput>>;
|
|
452
|
-
export declare function UpdateStateExampleInputSchema(): z.ZodObject<Properties<UpdateStateExampleInput>>;
|
|
453
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Action } from '../../../document';
|
|
2
|
-
import { SetStateSchemaInput, SetInitialStateInput, AddStateExampleInput, UpdateStateExampleInput, DeleteStateExampleInput, ReorderStateExamplesInput } from '../types';
|
|
3
|
-
export type SetStateSchemaAction = Action<"SET_STATE_SCHEMA", SetStateSchemaInput>;
|
|
4
|
-
export type SetInitialStateAction = Action<"SET_INITIAL_STATE", SetInitialStateInput>;
|
|
5
|
-
export type AddStateExampleAction = Action<"ADD_STATE_EXAMPLE", AddStateExampleInput>;
|
|
6
|
-
export type UpdateStateExampleAction = Action<"UPDATE_STATE_EXAMPLE", UpdateStateExampleInput>;
|
|
7
|
-
export type DeleteStateExampleAction = Action<"DELETE_STATE_EXAMPLE", DeleteStateExampleInput>;
|
|
8
|
-
export type ReorderStateExamplesAction = Action<"REORDER_STATE_EXAMPLES", ReorderStateExamplesInput>;
|
|
9
|
-
export type DocumentModelStateAction = SetStateSchemaAction | SetInitialStateAction | AddStateExampleAction | UpdateStateExampleAction | DeleteStateExampleAction | ReorderStateExamplesAction;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SetStateSchemaInput, SetInitialStateInput, AddStateExampleInput, UpdateStateExampleInput, DeleteStateExampleInput, ReorderStateExamplesInput } from '../types';
|
|
2
|
-
import { SetStateSchemaAction, SetInitialStateAction, AddStateExampleAction, UpdateStateExampleAction, DeleteStateExampleAction, ReorderStateExamplesAction } from './actions';
|
|
3
|
-
export declare const setStateSchema: (input: SetStateSchemaInput) => SetStateSchemaAction;
|
|
4
|
-
export declare const setInitialState: (input: SetInitialStateInput) => SetInitialStateAction;
|
|
5
|
-
export declare const addStateExample: (input: AddStateExampleInput) => AddStateExampleAction;
|
|
6
|
-
export declare const updateStateExample: (input: UpdateStateExampleInput) => UpdateStateExampleAction;
|
|
7
|
-
export declare const deleteStateExample: (input: DeleteStateExampleInput) => DeleteStateExampleAction;
|
|
8
|
-
export declare const reorderStateExamples: (input: ReorderStateExamplesInput) => ReorderStateExamplesAction;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BaseDocument } from '../../../document/object';
|
|
2
|
-
import { SetStateSchemaInput, SetInitialStateInput, AddStateExampleInput, UpdateStateExampleInput, DeleteStateExampleInput, ReorderStateExamplesInput, DocumentModelState, DocumentModelLocalState } from '../types';
|
|
3
|
-
import { DocumentModelAction } from '../actions';
|
|
4
|
-
import { ReducerOptions } from '../../../document';
|
|
5
|
-
export default class DocumentModel_State extends BaseDocument<DocumentModelState, DocumentModelAction, DocumentModelLocalState> {
|
|
6
|
-
setStateSchema(input: SetStateSchemaInput, options?: ReducerOptions): this;
|
|
7
|
-
setInitialState(input: SetInitialStateInput, options?: ReducerOptions): this;
|
|
8
|
-
addStateExample(input: AddStateExampleInput, options?: ReducerOptions): this;
|
|
9
|
-
updateStateExample(input: UpdateStateExampleInput, options?: ReducerOptions): this;
|
|
10
|
-
deleteStateExample(input: DeleteStateExampleInput, options?: ReducerOptions): this;
|
|
11
|
-
reorderStateExamples(input: ReorderStateExamplesInput, options?: ReducerOptions): this;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SetStateSchemaAction, SetInitialStateAction, AddStateExampleAction, UpdateStateExampleAction, DeleteStateExampleAction, ReorderStateExamplesAction } from './actions';
|
|
2
|
-
import { DocumentModelState } from '../types';
|
|
3
|
-
export interface DocumentModelStateOperations {
|
|
4
|
-
setStateSchemaOperation: (state: DocumentModelState, action: SetStateSchemaAction) => void;
|
|
5
|
-
setInitialStateOperation: (state: DocumentModelState, action: SetInitialStateAction) => void;
|
|
6
|
-
addStateExampleOperation: (state: DocumentModelState, action: AddStateExampleAction) => void;
|
|
7
|
-
updateStateExampleOperation: (state: DocumentModelState, action: UpdateStateExampleAction) => void;
|
|
8
|
-
deleteStateExampleOperation: (state: DocumentModelState, action: DeleteStateExampleAction) => void;
|
|
9
|
-
reorderStateExamplesOperation: (state: DocumentModelState, action: ReorderStateExamplesAction) => void;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Document, ExtendedState } from '../../document/types';
|
|
2
|
-
import { DocumentModelState, DocumentModelLocalState } from './schema/types';
|
|
3
|
-
import { DocumentModelAction } from './actions';
|
|
4
|
-
export { z } from './schema';
|
|
5
|
-
export type * from './schema/types';
|
|
6
|
-
export type ExtendedDocumentModelState = ExtendedState<DocumentModelState>;
|
|
7
|
-
export type DocumentModelDocument = Document<DocumentModelState, DocumentModelAction, DocumentModelLocalState>;
|
|
8
|
-
export { DocumentModelState, DocumentModelAction, DocumentModelLocalState };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DocumentModelUtils } from '../../document';
|
|
2
|
-
import { DocumentModelAction, DocumentModelLocalState, DocumentModelState } from './types';
|
|
3
|
-
export declare const initialGlobalState: DocumentModelState;
|
|
4
|
-
export declare const initialLocalState: DocumentModelLocalState;
|
|
5
|
-
declare const utils: DocumentModelUtils<DocumentModelState, DocumentModelAction, DocumentModelLocalState>;
|
|
6
|
-
export default utils;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Action } from '../../../document';
|
|
2
|
-
import { AddChangeLogItemInput, UpdateChangeLogItemInput, DeleteChangeLogItemInput, ReorderChangeLogItemsInput } from '../types';
|
|
3
|
-
export type AddChangeLogItemAction = Action<"ADD_CHANGE_LOG_ITEM", AddChangeLogItemInput>;
|
|
4
|
-
export type UpdateChangeLogItemAction = Action<"UPDATE_CHANGE_LOG_ITEM", UpdateChangeLogItemInput>;
|
|
5
|
-
export type DeleteChangeLogItemAction = Action<"DELETE_CHANGE_LOG_ITEM", DeleteChangeLogItemInput>;
|
|
6
|
-
export type ReorderChangeLogItemsAction = Action<"REORDER_CHANGE_LOG_ITEMS", ReorderChangeLogItemsInput>;
|
|
7
|
-
export type ReleaseNewVersionAction = Action<"RELEASE_NEW_VERSION", never>;
|
|
8
|
-
export type DocumentModelVersioningAction = AddChangeLogItemAction | UpdateChangeLogItemAction | DeleteChangeLogItemAction | ReorderChangeLogItemsAction | ReleaseNewVersionAction;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AddChangeLogItemInput, UpdateChangeLogItemInput, DeleteChangeLogItemInput, ReorderChangeLogItemsInput } from '../types';
|
|
2
|
-
import { AddChangeLogItemAction, UpdateChangeLogItemAction, DeleteChangeLogItemAction, ReorderChangeLogItemsAction, ReleaseNewVersionAction } from './actions';
|
|
3
|
-
export declare const addChangeLogItem: (input: AddChangeLogItemInput) => AddChangeLogItemAction;
|
|
4
|
-
export declare const updateChangeLogItem: (input: UpdateChangeLogItemInput) => UpdateChangeLogItemAction;
|
|
5
|
-
export declare const deleteChangeLogItem: (input: DeleteChangeLogItemInput) => DeleteChangeLogItemAction;
|
|
6
|
-
export declare const reorderChangeLogItems: (input: ReorderChangeLogItemsInput) => ReorderChangeLogItemsAction;
|
|
7
|
-
export declare const releaseNewVersion: () => ReleaseNewVersionAction;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseDocument } from '../../../document/object';
|
|
2
|
-
import { AddChangeLogItemInput, UpdateChangeLogItemInput, DeleteChangeLogItemInput, ReorderChangeLogItemsInput, DocumentModelState, DocumentModelLocalState } from '../types';
|
|
3
|
-
import { DocumentModelAction } from '../actions';
|
|
4
|
-
import { ReducerOptions } from '../../../document';
|
|
5
|
-
export default class DocumentModel_Versioning extends BaseDocument<DocumentModelState, DocumentModelAction, DocumentModelLocalState> {
|
|
6
|
-
addChangeLogItem(input: AddChangeLogItemInput, options?: ReducerOptions): this;
|
|
7
|
-
updateChangeLogItem(input: UpdateChangeLogItemInput, options?: ReducerOptions): this;
|
|
8
|
-
deleteChangeLogItem(input: DeleteChangeLogItemInput, options?: ReducerOptions): this;
|
|
9
|
-
reorderChangeLogItems(input: ReorderChangeLogItemsInput, options?: ReducerOptions): this;
|
|
10
|
-
releaseNewVersion(options?: ReducerOptions): this;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AddChangeLogItemAction, UpdateChangeLogItemAction, DeleteChangeLogItemAction, ReorderChangeLogItemsAction, ReleaseNewVersionAction } from './actions';
|
|
2
|
-
import { DocumentModelState } from '../types';
|
|
3
|
-
export interface DocumentModelVersioningOperations {
|
|
4
|
-
addChangeLogItemOperation: (state: DocumentModelState, action: AddChangeLogItemAction) => void;
|
|
5
|
-
updateChangeLogItemOperation: (state: DocumentModelState, action: UpdateChangeLogItemAction) => void;
|
|
6
|
-
deleteChangeLogItemOperation: (state: DocumentModelState, action: DeleteChangeLogItemAction) => void;
|
|
7
|
-
reorderChangeLogItemsOperation: (state: DocumentModelState, action: ReorderChangeLogItemsAction) => void;
|
|
8
|
-
releaseNewVersionOperation: (state: DocumentModelState, action: ReleaseNewVersionAction) => void;
|
|
9
|
-
}
|