@bgx4k3p/huly-mcp-server 2.2.3 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +186 -56
- package/node_modules/@hcengineering/account-client/lib/__tests__/utils.test.js +249 -0
- package/node_modules/@hcengineering/account-client/lib/__tests__/utils.test.js.map +7 -0
- package/node_modules/@hcengineering/account-client/lib/client.js +88 -3
- package/node_modules/@hcengineering/account-client/lib/client.js.map +2 -2
- package/node_modules/@hcengineering/account-client/lib/types.js.map +2 -2
- package/node_modules/@hcengineering/account-client/lib/utils.js +50 -0
- package/node_modules/@hcengineering/account-client/lib/utils.js.map +2 -2
- package/node_modules/@hcengineering/account-client/package.json +22 -19
- package/node_modules/@hcengineering/account-client/src/__tests__/utils.test.ts +304 -0
- package/node_modules/@hcengineering/account-client/src/client.ts +127 -6
- package/node_modules/@hcengineering/account-client/src/types.ts +7 -0
- package/node_modules/@hcengineering/account-client/src/utils.ts +65 -1
- package/node_modules/@hcengineering/analytics/lib/index.js +1 -1
- package/node_modules/@hcengineering/analytics/lib/index.js.map +2 -2
- package/node_modules/@hcengineering/analytics/package.json +19 -16
- package/node_modules/@hcengineering/analytics/src/index.ts +2 -1
- package/node_modules/@hcengineering/api-client/lib/client.js +9 -4
- package/node_modules/@hcengineering/api-client/lib/client.js.map +2 -2
- package/node_modules/@hcengineering/api-client/lib/rest/adapter.js +64 -0
- package/node_modules/@hcengineering/api-client/lib/rest/adapter.js.map +7 -0
- package/node_modules/@hcengineering/api-client/lib/rest/index.js +2 -0
- package/node_modules/@hcengineering/api-client/lib/rest/index.js.map +2 -2
- package/node_modules/@hcengineering/api-client/lib/socket/node.js +5 -1
- package/node_modules/@hcengineering/api-client/lib/socket/node.js.map +2 -2
- package/node_modules/@hcengineering/api-client/package.json +28 -25
- package/node_modules/@hcengineering/api-client/src/client.ts +10 -1
- package/node_modules/@hcengineering/api-client/src/rest/adapter.ts +96 -0
- package/node_modules/@hcengineering/api-client/src/rest/index.ts +1 -0
- package/node_modules/@hcengineering/api-client/src/socket/node.ts +6 -1
- package/node_modules/@hcengineering/chunter/lib/index.js.map +2 -2
- package/node_modules/@hcengineering/chunter/package.json +13 -10
- package/node_modules/@hcengineering/client/package.json +21 -18
- package/node_modules/@hcengineering/client-resources/package.json +24 -21
- package/node_modules/@hcengineering/collaborator-client/package.json +21 -18
- package/node_modules/@hcengineering/contact/lib/__tests__/workspaceMemberStatusUtils.test.js +38 -0
- package/node_modules/@hcengineering/contact/lib/__tests__/workspaceMemberStatusUtils.test.js.map +7 -0
- package/node_modules/@hcengineering/contact/lib/index.js +13 -4
- package/node_modules/@hcengineering/contact/lib/index.js.map +2 -2
- package/node_modules/@hcengineering/contact/lib/types.js.map +1 -1
- package/node_modules/@hcengineering/contact/lib/utils.js +132 -108
- package/node_modules/@hcengineering/contact/lib/utils.js.map +3 -3
- package/node_modules/@hcengineering/contact/lib/workspaceMemberStatusUtils.js +79 -0
- package/node_modules/@hcengineering/contact/lib/workspaceMemberStatusUtils.js.map +7 -0
- package/node_modules/@hcengineering/contact/package.json +12 -9
- package/node_modules/@hcengineering/core/CHANGELOG.md +9 -1
- package/node_modules/@hcengineering/core/lang/cs.json +6 -1
- package/node_modules/@hcengineering/core/lang/de.json +6 -1
- package/node_modules/@hcengineering/core/lang/en.json +6 -1
- package/node_modules/@hcengineering/core/lang/es.json +6 -1
- package/node_modules/@hcengineering/core/lang/fr.json +6 -1
- package/node_modules/@hcengineering/core/lang/it.json +6 -1
- package/node_modules/@hcengineering/core/lang/ja.json +6 -1
- package/node_modules/@hcengineering/core/lang/pt-br.json +70 -0
- package/node_modules/@hcengineering/core/lang/pt.json +6 -1
- package/node_modules/@hcengineering/core/lang/ru.json +6 -1
- package/node_modules/@hcengineering/core/lang/tr.json +6 -1
- package/node_modules/@hcengineering/core/lang/zh.json +6 -1
- package/node_modules/@hcengineering/core/lib/__tests__/autoJoinRoles.test.js +13 -0
- package/node_modules/@hcengineering/core/lib/__tests__/autoJoinRoles.test.js.map +7 -0
- package/node_modules/@hcengineering/core/lib/__tests__/memdb.test.js +133 -0
- package/node_modules/@hcengineering/core/lib/__tests__/memdb.test.js.map +2 -2
- package/node_modules/@hcengineering/core/lib/__tests__/minmodel.js +25 -0
- package/node_modules/@hcengineering/core/lib/__tests__/minmodel.js.map +2 -2
- package/node_modules/@hcengineering/core/lib/__tests__/query.test.js +43 -0
- package/node_modules/@hcengineering/core/lib/__tests__/query.test.js.map +7 -0
- package/node_modules/@hcengineering/core/lib/autoJoinRoles.js +36 -0
- package/node_modules/@hcengineering/core/lib/autoJoinRoles.js.map +7 -0
- package/node_modules/@hcengineering/core/lib/classes.js +5 -0
- package/node_modules/@hcengineering/core/lib/classes.js.map +3 -3
- package/node_modules/@hcengineering/core/lib/clone.js +13 -2
- package/node_modules/@hcengineering/core/lib/clone.js.map +2 -2
- package/node_modules/@hcengineering/core/lib/component.js +14 -3
- package/node_modules/@hcengineering/core/lib/component.js.map +2 -2
- package/node_modules/@hcengineering/core/lib/index.js +2 -0
- package/node_modules/@hcengineering/core/lib/index.js.map +2 -2
- package/node_modules/@hcengineering/core/lib/memdb.js +6 -2
- package/node_modules/@hcengineering/core/lib/memdb.js.map +2 -2
- package/node_modules/@hcengineering/core/lib/operations.js +11 -0
- package/node_modules/@hcengineering/core/lib/operations.js.map +2 -2
- package/node_modules/@hcengineering/core/lib/predicate.js +3 -0
- package/node_modules/@hcengineering/core/lib/predicate.js.map +2 -2
- package/node_modules/@hcengineering/core/lib/storage.js.map +2 -2
- package/node_modules/@hcengineering/core/lib/tx.js +3 -1
- package/node_modules/@hcengineering/core/lib/tx.js.map +2 -2
- package/node_modules/@hcengineering/core/lib/utils.js +1 -1
- package/node_modules/@hcengineering/core/lib/utils.js.map +2 -2
- package/node_modules/@hcengineering/core/lib/versioning.js +17 -0
- package/node_modules/@hcengineering/core/lib/versioning.js.map +7 -0
- package/node_modules/@hcengineering/core/package.json +22 -19
- package/node_modules/@hcengineering/core/src/__tests__/autoJoinRoles.test.ts +27 -0
- package/node_modules/@hcengineering/core/src/__tests__/memdb.test.ts +150 -1
- package/node_modules/@hcengineering/core/src/__tests__/minmodel.ts +29 -1
- package/node_modules/@hcengineering/core/src/__tests__/query.test.ts +66 -0
- package/node_modules/@hcengineering/core/src/autoJoinRoles.ts +33 -0
- package/node_modules/@hcengineering/core/src/classes.ts +61 -1
- package/node_modules/@hcengineering/core/src/clone.ts +13 -2
- package/node_modules/@hcengineering/core/src/component.ts +25 -9
- package/node_modules/@hcengineering/core/src/index.ts +2 -0
- package/node_modules/@hcengineering/core/src/memdb.ts +7 -3
- package/node_modules/@hcengineering/core/src/operations.ts +11 -0
- package/node_modules/@hcengineering/core/src/predicate.ts +3 -0
- package/node_modules/@hcengineering/core/src/storage.ts +6 -3
- package/node_modules/@hcengineering/core/src/tx.ts +4 -1
- package/node_modules/@hcengineering/core/src/utils.ts +1 -1
- package/node_modules/@hcengineering/core/src/versioning.ts +13 -0
- package/node_modules/@hcengineering/measurements/lib/__tests__/performance.test.js +3 -3
- package/node_modules/@hcengineering/measurements/lib/__tests__/performance.test.js.map +2 -2
- package/node_modules/@hcengineering/measurements/package.json +17 -14
- package/node_modules/@hcengineering/measurements/src/__tests__/performance.test.ts +3 -3
- package/node_modules/@hcengineering/platform/lang/pt-br.json +31 -0
- package/node_modules/@hcengineering/platform/lib/__tests__/i18n.test.js +100 -0
- package/node_modules/@hcengineering/platform/lib/__tests__/i18n.test.js.map +2 -2
- package/node_modules/@hcengineering/platform/lib/__tests__/status.test.js +78 -0
- package/node_modules/@hcengineering/platform/lib/__tests__/status.test.js.map +7 -0
- package/node_modules/@hcengineering/platform/lib/i18n.js +78 -69
- package/node_modules/@hcengineering/platform/lib/i18n.js.map +3 -3
- package/node_modules/@hcengineering/platform/lib/status.js +25 -0
- package/node_modules/@hcengineering/platform/lib/status.js.map +2 -2
- package/node_modules/@hcengineering/platform/package.json +18 -15
- package/node_modules/@hcengineering/platform/src/__tests__/i18n.test.ts +114 -2
- package/node_modules/@hcengineering/platform/src/__tests__/status.test.ts +77 -0
- package/node_modules/@hcengineering/platform/src/i18n.ts +99 -71
- package/node_modules/@hcengineering/platform/src/status.ts +30 -0
- package/node_modules/@hcengineering/rank/package.json +19 -16
- package/node_modules/@hcengineering/rpc/package.json +21 -18
- package/node_modules/@hcengineering/tags/package.json +12 -9
- package/node_modules/@hcengineering/task/package.json +14 -11
- package/node_modules/@hcengineering/text/lib/markup/__tests__/utils.test.js +25 -0
- package/node_modules/@hcengineering/text/lib/markup/__tests__/utils.test.js.map +2 -2
- package/node_modules/@hcengineering/text/lib/tiptapExtensions.js +6 -0
- package/node_modules/@hcengineering/text/lib/tiptapExtensions.js.map +2 -2
- package/node_modules/@hcengineering/text/package.json +23 -18
- package/node_modules/@hcengineering/text/src/markup/__tests__/utils.test.ts +27 -0
- package/node_modules/@hcengineering/text/src/tiptapExtensions.ts +3 -0
- package/node_modules/@hcengineering/text-core/lib/markup/model.js +1 -0
- package/node_modules/@hcengineering/text-core/lib/markup/model.js.map +2 -2
- package/node_modules/@hcengineering/text-core/package.json +20 -17
- package/node_modules/@hcengineering/text-core/src/markup/model.ts +2 -1
- package/node_modules/@hcengineering/text-html/package.json +19 -16
- package/node_modules/@hcengineering/text-markdown/lib/serializer.js +14 -0
- package/node_modules/@hcengineering/text-markdown/lib/serializer.js.map +2 -2
- package/node_modules/@hcengineering/text-markdown/package.json +20 -17
- package/node_modules/@hcengineering/text-markdown/src/serializer.ts +14 -0
- package/node_modules/@hcengineering/tracker/lib/index.js +1 -0
- package/node_modules/@hcengineering/tracker/lib/index.js.map +2 -2
- package/node_modules/@hcengineering/tracker/package.json +16 -13
- package/node_modules/@tiptap/core/dist/commands/focus.d.ts.map +1 -1
- package/node_modules/@tiptap/core/dist/index.cjs +19 -2
- package/node_modules/@tiptap/core/dist/index.cjs.map +1 -1
- package/node_modules/@tiptap/core/dist/index.js +19 -3
- package/node_modules/@tiptap/core/dist/index.js.map +1 -1
- package/node_modules/@tiptap/core/dist/index.umd.js +19 -2
- package/node_modules/@tiptap/core/dist/index.umd.js.map +1 -1
- package/node_modules/@tiptap/core/dist/utilities/index.d.ts +1 -0
- package/node_modules/@tiptap/core/dist/utilities/index.d.ts.map +1 -1
- package/node_modules/@tiptap/core/dist/utilities/isSafari.d.ts +10 -0
- package/node_modules/@tiptap/core/dist/utilities/isSafari.d.ts.map +1 -0
- package/node_modules/@tiptap/core/package.json +2 -2
- package/node_modules/@tiptap/core/src/commands/focus.ts +7 -2
- package/node_modules/@tiptap/core/src/utilities/index.ts +1 -0
- package/node_modules/@tiptap/core/src/utilities/isSafari.ts +11 -0
- package/node_modules/@tiptap/extension-blockquote/package.json +2 -2
- package/node_modules/@tiptap/extension-bold/package.json +2 -2
- package/node_modules/@tiptap/extension-bullet-list/package.json +2 -2
- package/node_modules/@tiptap/extension-code/package.json +2 -2
- package/node_modules/@tiptap/extension-code-block/package.json +3 -3
- package/node_modules/@tiptap/extension-document/package.json +2 -2
- package/node_modules/@tiptap/extension-dropcursor/package.json +3 -3
- package/node_modules/@tiptap/extension-gapcursor/package.json +3 -3
- package/node_modules/@tiptap/extension-hard-break/package.json +2 -2
- package/node_modules/@tiptap/extension-heading/package.json +2 -2
- package/node_modules/@tiptap/extension-highlight/package.json +2 -2
- package/node_modules/@tiptap/extension-history/package.json +3 -3
- package/node_modules/@tiptap/extension-horizontal-rule/package.json +3 -3
- package/node_modules/@tiptap/extension-italic/package.json +2 -2
- package/node_modules/@tiptap/extension-link/package.json +3 -3
- package/node_modules/@tiptap/extension-list-item/package.json +2 -2
- package/node_modules/@tiptap/extension-mention/package.json +4 -4
- package/node_modules/@tiptap/extension-ordered-list/package.json +2 -2
- package/node_modules/@tiptap/extension-paragraph/package.json +2 -2
- package/node_modules/@tiptap/extension-strike/package.json +2 -2
- package/node_modules/@tiptap/extension-subscript/README.md +14 -0
- package/node_modules/@tiptap/extension-subscript/dist/index.cjs +61 -0
- package/node_modules/@tiptap/extension-subscript/dist/index.cjs.map +1 -0
- package/node_modules/@tiptap/extension-subscript/dist/index.d.ts +4 -0
- package/node_modules/@tiptap/extension-subscript/dist/index.d.ts.map +1 -0
- package/node_modules/@tiptap/extension-subscript/dist/index.js +56 -0
- package/node_modules/@tiptap/extension-subscript/dist/index.js.map +1 -0
- package/node_modules/@tiptap/extension-subscript/dist/index.umd.js +65 -0
- package/node_modules/@tiptap/extension-subscript/dist/index.umd.js.map +1 -0
- package/node_modules/@tiptap/extension-subscript/dist/subscript.d.ts +36 -0
- package/node_modules/@tiptap/extension-subscript/dist/subscript.d.ts.map +1 -0
- package/node_modules/@tiptap/extension-subscript/package.json +49 -0
- package/node_modules/@tiptap/extension-subscript/src/index.ts +5 -0
- package/node_modules/@tiptap/extension-subscript/src/subscript.ts +91 -0
- package/node_modules/@tiptap/extension-superscript/README.md +14 -0
- package/node_modules/@tiptap/extension-superscript/dist/index.cjs +61 -0
- package/node_modules/@tiptap/extension-superscript/dist/index.cjs.map +1 -0
- package/node_modules/@tiptap/extension-superscript/dist/index.d.ts +4 -0
- package/node_modules/@tiptap/extension-superscript/dist/index.d.ts.map +1 -0
- package/node_modules/@tiptap/extension-superscript/dist/index.js +56 -0
- package/node_modules/@tiptap/extension-superscript/dist/index.js.map +1 -0
- package/node_modules/@tiptap/extension-superscript/dist/index.umd.js +65 -0
- package/node_modules/@tiptap/extension-superscript/dist/index.umd.js.map +1 -0
- package/node_modules/@tiptap/extension-superscript/dist/superscript.d.ts +36 -0
- package/node_modules/@tiptap/extension-superscript/dist/superscript.d.ts.map +1 -0
- package/node_modules/@tiptap/extension-superscript/package.json +49 -0
- package/node_modules/@tiptap/extension-superscript/src/index.ts +5 -0
- package/node_modules/@tiptap/extension-superscript/src/superscript.ts +91 -0
- package/node_modules/@tiptap/extension-table/package.json +3 -3
- package/node_modules/@tiptap/extension-table-cell/package.json +2 -2
- package/node_modules/@tiptap/extension-table-header/package.json +2 -2
- package/node_modules/@tiptap/extension-table-row/package.json +2 -2
- package/node_modules/@tiptap/extension-task-item/package.json +3 -3
- package/node_modules/@tiptap/extension-task-list/package.json +2 -2
- package/node_modules/@tiptap/extension-text/package.json +2 -2
- package/node_modules/@tiptap/extension-typography/package.json +2 -2
- package/node_modules/@tiptap/extension-underline/package.json +2 -2
- package/node_modules/@tiptap/html/package.json +3 -3
- package/node_modules/@tiptap/pm/package.json +1 -1
- package/node_modules/@tiptap/starter-kit/node_modules/@tiptap/extension-text-style/package.json +2 -2
- package/node_modules/@tiptap/starter-kit/package.json +22 -22
- package/node_modules/@tiptap/suggestion/package.json +3 -3
- package/node_modules/linkify-it/build/index.cjs.js +99 -94
- package/node_modules/linkify-it/index.mjs +99 -94
- package/node_modules/linkify-it/package.json +11 -1
- package/node_modules/linkifyjs/README.md +4 -2
- package/node_modules/linkifyjs/dist/linkify.cjs +8 -11
- package/node_modules/linkifyjs/dist/linkify.d.cts +14 -14
- package/node_modules/linkifyjs/dist/linkify.d.mts +14 -14
- package/node_modules/linkifyjs/dist/linkify.js +8 -11
- package/node_modules/linkifyjs/dist/linkify.min.js +1 -1
- package/node_modules/linkifyjs/dist/linkify.mjs +8 -11
- package/node_modules/linkifyjs/package.json +1 -1
- package/node_modules/markdown-it/README.md +13 -17
- package/node_modules/markdown-it/dist/index.cjs.js +111 -31
- package/node_modules/markdown-it/dist/markdown-it.js +117 -31
- package/node_modules/markdown-it/dist/markdown-it.min.js +2 -2
- package/node_modules/markdown-it/lib/common/utils.mjs +30 -1
- package/node_modules/markdown-it/lib/index.mjs +1 -1
- package/node_modules/markdown-it/lib/rules_block/heading.mjs +2 -2
- package/node_modules/markdown-it/lib/rules_block/html_block.mjs +12 -1
- package/node_modules/markdown-it/lib/rules_block/lheading.mjs +4 -1
- package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +3 -1
- package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +37 -21
- package/node_modules/markdown-it/lib/rules_inline/entity.mjs +2 -2
- package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +37 -6
- package/node_modules/markdown-it/package.json +14 -3
- package/node_modules/msgpackr/README.md +1 -3
- package/node_modules/msgpackr/benchmark.md +26 -16
- package/node_modules/msgpackr/dist/index-no-eval.cjs +35 -16
- package/node_modules/msgpackr/dist/index-no-eval.cjs.map +1 -1
- package/node_modules/msgpackr/dist/index-no-eval.min.js +1 -1
- package/node_modules/msgpackr/dist/index-no-eval.min.js.map +1 -1
- package/node_modules/msgpackr/dist/index.js +35 -16
- package/node_modules/msgpackr/dist/index.js.map +1 -1
- package/node_modules/msgpackr/dist/index.min.js +1 -1
- package/node_modules/msgpackr/dist/index.min.js.map +1 -1
- package/node_modules/msgpackr/dist/node.cjs +50 -26
- package/node_modules/msgpackr/dist/node.cjs.map +1 -1
- package/node_modules/msgpackr/dist/test.js +44 -16
- package/node_modules/msgpackr/dist/test.js.map +1 -1
- package/node_modules/msgpackr/dist/unpack-no-eval.cjs +35 -16
- package/node_modules/msgpackr/dist/unpack-no-eval.cjs.map +1 -1
- package/node_modules/msgpackr/index.d.cts +2 -0
- package/node_modules/msgpackr/index.d.ts +2 -0
- package/node_modules/msgpackr/package.json +1 -1
- package/node_modules/msgpackr/stream.js +15 -10
- package/node_modules/msgpackr/unpack.js +35 -16
- package/node_modules/prosemirror-changeset/CHANGELOG.md +12 -0
- package/node_modules/prosemirror-changeset/README.md +31 -2
- package/node_modules/prosemirror-changeset/dist/index.cjs +17 -2
- package/node_modules/prosemirror-changeset/dist/index.d.cts +32 -2
- package/node_modules/prosemirror-changeset/dist/index.d.ts +32 -2
- package/node_modules/prosemirror-changeset/dist/index.js +18 -3
- package/node_modules/prosemirror-changeset/package.json +2 -2
- package/node_modules/prosemirror-changeset/src/README.md +4 -2
- package/node_modules/prosemirror-changeset/src/change.ts +18 -0
- package/node_modules/prosemirror-changeset/src/changeset.ts +10 -4
- package/node_modules/prosemirror-changeset/src/simplify.ts +1 -1
- package/node_modules/prosemirror-changeset/test/test-simplify.ts +3 -0
- package/node_modules/prosemirror-gapcursor/CHANGELOG.md +6 -0
- package/node_modules/prosemirror-gapcursor/dist/index.cjs +1 -1
- package/node_modules/prosemirror-gapcursor/dist/index.js +1 -1
- package/node_modules/prosemirror-gapcursor/package.json +3 -2
- package/node_modules/prosemirror-gapcursor/src/gapcursor.ts +1 -1
- package/node_modules/prosemirror-markdown/CHANGELOG.md +12 -0
- package/node_modules/prosemirror-markdown/dist/index.cjs +11 -1
- package/node_modules/prosemirror-markdown/dist/index.js +14 -2
- package/node_modules/prosemirror-markdown/package.json +1 -1
- package/node_modules/prosemirror-markdown/src/to_markdown.ts +12 -3
- package/node_modules/prosemirror-menu/CHANGELOG.md +18 -0
- package/node_modules/prosemirror-menu/CONTRIBUTING.md +22 -18
- package/node_modules/prosemirror-menu/README.md +69 -29
- package/node_modules/prosemirror-menu/dist/index.cjs +232 -48
- package/node_modules/prosemirror-menu/dist/index.d.cts +29 -14
- package/node_modules/prosemirror-menu/dist/index.d.ts +29 -14
- package/node_modules/prosemirror-menu/dist/index.js +229 -36
- package/node_modules/prosemirror-menu/package.json +2 -2
- package/node_modules/prosemirror-menu/src/README.md +30 -1
- package/node_modules/prosemirror-menu/src/icons.ts +3 -2
- package/node_modules/prosemirror-menu/src/menu.ts +193 -40
- package/node_modules/prosemirror-menu/src/menubar.ts +50 -5
- package/node_modules/prosemirror-menu/style/menu.css +28 -7
- package/node_modules/prosemirror-model/CHANGELOG.md +20 -0
- package/node_modules/prosemirror-model/CONTRIBUTING.md +19 -19
- package/node_modules/prosemirror-model/README.md +3 -3
- package/node_modules/prosemirror-model/dist/index.cjs +13 -10
- package/node_modules/prosemirror-model/dist/index.d.cts +25 -21
- package/node_modules/prosemirror-model/dist/index.d.ts +25 -21
- package/node_modules/prosemirror-model/dist/index.js +19 -23
- package/node_modules/prosemirror-model/package.json +2 -2
- package/node_modules/prosemirror-model/src/fragment.ts +1 -1
- package/node_modules/prosemirror-model/src/from_dom.ts +4 -1
- package/node_modules/prosemirror-model/src/node.ts +5 -4
- package/node_modules/prosemirror-model/src/replace.ts +6 -15
- package/node_modules/prosemirror-model/src/schema.ts +1 -1
- package/node_modules/prosemirror-model/src/to_dom.ts +24 -20
- package/node_modules/prosemirror-transform/CHANGELOG.md +16 -0
- package/node_modules/prosemirror-transform/dist/index.cjs +38 -4
- package/node_modules/prosemirror-transform/dist/index.d.cts +19 -0
- package/node_modules/prosemirror-transform/dist/index.d.ts +19 -0
- package/node_modules/prosemirror-transform/dist/index.js +52 -1
- package/node_modules/prosemirror-transform/package.json +1 -1
- package/node_modules/prosemirror-transform/src/replace.ts +16 -0
- package/node_modules/prosemirror-transform/src/replace_step.ts +10 -1
- package/node_modules/prosemirror-transform/src/transform.ts +21 -2
- package/node_modules/prosemirror-view/CHANGELOG.md +34 -2
- package/node_modules/prosemirror-view/CONTRIBUTING.md +19 -19
- package/node_modules/prosemirror-view/README.md +3 -3
- package/node_modules/prosemirror-view/dist/index.cjs +96 -40
- package/node_modules/prosemirror-view/dist/index.d.cts +2 -2
- package/node_modules/prosemirror-view/dist/index.d.ts +2 -2
- package/node_modules/prosemirror-view/dist/index.js +90 -39
- package/node_modules/prosemirror-view/package.json +2 -2
- package/node_modules/prosemirror-view/src/domchange.ts +1 -1
- package/node_modules/prosemirror-view/src/domobserver.ts +59 -16
- package/node_modules/prosemirror-view/src/index.ts +4 -4
- package/node_modules/prosemirror-view/src/input.ts +9 -6
- package/node_modules/prosemirror-view/src/viewdesc.ts +26 -22
- package/node_modules/prosemirror-view/style/prosemirror.css +1 -1
- package/package.json +5 -4
- package/src/client.mjs +2 -2
- package/src/config.mjs +1 -0
- package/src/helpers.mjs +2 -2
- package/src/index.mjs +31 -1
- package/src/initCodex.mjs +281 -0
- package/src/mcp.mjs +11 -1
- package/src/mcpShared.mjs +95 -5
- package/node_modules/@hcengineering/account-client/types/client.d.ts +0 -140
- package/node_modules/@hcengineering/account-client/types/client.d.ts.map +0 -1
- package/node_modules/@hcengineering/account-client/types/index.d.ts +0 -4
- package/node_modules/@hcengineering/account-client/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/account-client/types/types.d.ts +0 -177
- package/node_modules/@hcengineering/account-client/types/types.d.ts.map +0 -1
- package/node_modules/@hcengineering/account-client/types/utils.d.ts +0 -5
- package/node_modules/@hcengineering/account-client/types/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/analytics/types/index.d.ts +0 -25
- package/node_modules/@hcengineering/analytics/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/__tests__/config.test.d.ts +0 -2
- package/node_modules/@hcengineering/api-client/types/__tests__/config.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/__tests__/markup-client.test.d.ts +0 -2
- package/node_modules/@hcengineering/api-client/types/__tests__/markup-client.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/__tests__/markup-types.test.d.ts +0 -2
- package/node_modules/@hcengineering/api-client/types/__tests__/markup-types.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/__tests__/rest-utils.test.d.ts +0 -2
- package/node_modules/@hcengineering/api-client/types/__tests__/rest-utils.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/__tests__/utils.test.d.ts +0 -2
- package/node_modules/@hcengineering/api-client/types/__tests__/utils.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/client.d.ts +0 -6
- package/node_modules/@hcengineering/api-client/types/client.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/config.d.ts +0 -8
- package/node_modules/@hcengineering/api-client/types/config.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/index.d.ts +0 -9
- package/node_modules/@hcengineering/api-client/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/markup/client.d.ts +0 -5
- package/node_modules/@hcengineering/api-client/types/markup/client.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/markup/index.d.ts +0 -3
- package/node_modules/@hcengineering/api-client/types/markup/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/markup/types.d.ts +0 -41
- package/node_modules/@hcengineering/api-client/types/markup/types.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/rest/index.d.ts +0 -4
- package/node_modules/@hcengineering/api-client/types/rest/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/rest/rest.d.ts +0 -39
- package/node_modules/@hcengineering/api-client/types/rest/rest.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/rest/tx.d.ts +0 -3
- package/node_modules/@hcengineering/api-client/types/rest/tx.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/rest/types.d.ts +0 -16
- package/node_modules/@hcengineering/api-client/types/rest/types.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/rest/utils.d.ts +0 -3
- package/node_modules/@hcengineering/api-client/types/rest/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/socket/browser.d.ts +0 -4
- package/node_modules/@hcengineering/api-client/types/socket/browser.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/socket/index.d.ts +0 -3
- package/node_modules/@hcengineering/api-client/types/socket/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/socket/node.d.ts +0 -4
- package/node_modules/@hcengineering/api-client/types/socket/node.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/storage/client.d.ts +0 -21
- package/node_modules/@hcengineering/api-client/types/storage/client.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/storage/error.d.ts +0 -10
- package/node_modules/@hcengineering/api-client/types/storage/error.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/storage/index.d.ts +0 -4
- package/node_modules/@hcengineering/api-client/types/storage/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/storage/types.d.ts +0 -10
- package/node_modules/@hcengineering/api-client/types/storage/types.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/types.d.ts +0 -101
- package/node_modules/@hcengineering/api-client/types/types.d.ts.map +0 -1
- package/node_modules/@hcengineering/api-client/types/utils.d.ts +0 -12
- package/node_modules/@hcengineering/api-client/types/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/chunter/types/analytics.d.ts +0 -5
- package/node_modules/@hcengineering/chunter/types/analytics.d.ts.map +0 -1
- package/node_modules/@hcengineering/chunter/types/index.d.ts +0 -211
- package/node_modules/@hcengineering/chunter/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/chunter/types/utils.d.ts +0 -7
- package/node_modules/@hcengineering/chunter/types/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/client/types/__tests__/client.test.d.ts +0 -2
- package/node_modules/@hcengineering/client/types/__tests__/client.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/client/types/index.d.ts +0 -69
- package/node_modules/@hcengineering/client/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/client-resources/types/__tests__/connection.test.d.ts +0 -2
- package/node_modules/@hcengineering/client-resources/types/__tests__/connection.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/client-resources/types/__tests__/integration.test.d.ts +0 -45
- package/node_modules/@hcengineering/client-resources/types/__tests__/integration.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/client-resources/types/connection.d.ts +0 -7
- package/node_modules/@hcengineering/client-resources/types/connection.d.ts.map +0 -1
- package/node_modules/@hcengineering/client-resources/types/index.d.ts +0 -11
- package/node_modules/@hcengineering/client-resources/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/collaborator-client/types/__tests__/utils.test.d.ts +0 -2
- package/node_modules/@hcengineering/collaborator-client/types/__tests__/utils.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/collaborator-client/types/client.d.ts +0 -34
- package/node_modules/@hcengineering/collaborator-client/types/client.d.ts.map +0 -1
- package/node_modules/@hcengineering/collaborator-client/types/index.d.ts +0 -3
- package/node_modules/@hcengineering/collaborator-client/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/collaborator-client/types/utils.d.ts +0 -9
- package/node_modules/@hcengineering/collaborator-client/types/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/contact/types/__tests__/cache.test.d.ts +0 -2
- package/node_modules/@hcengineering/contact/types/__tests__/cache.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/contact/types/analytics.d.ts +0 -6
- package/node_modules/@hcengineering/contact/types/analytics.d.ts.map +0 -1
- package/node_modules/@hcengineering/contact/types/avatar.d.ts +0 -12
- package/node_modules/@hcengineering/contact/types/avatar.d.ts.map +0 -1
- package/node_modules/@hcengineering/contact/types/cache.d.ts +0 -49
- package/node_modules/@hcengineering/contact/types/cache.d.ts.map +0 -1
- package/node_modules/@hcengineering/contact/types/index.d.ts +0 -367
- package/node_modules/@hcengineering/contact/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/contact/types/types.d.ts +0 -25
- package/node_modules/@hcengineering/contact/types/types.d.ts.map +0 -1
- package/node_modules/@hcengineering/contact/types/utils.d.ts +0 -110
- package/node_modules/@hcengineering/contact/types/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/client.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/client.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/clone.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/clone.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/collaboration.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/collaboration.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/collaborators.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/collaborators.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/common.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/common.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/connection.d.ts +0 -4
- package/node_modules/@hcengineering/core/types/__tests__/connection.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/contexts.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/contexts.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/hierarchy.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/hierarchy.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/lang.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/lang.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/limiter-edge-cases.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/limiter-edge-cases.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/limits.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/limits.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/memdb.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/memdb.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/minmodel.d.ts +0 -50
- package/node_modules/@hcengineering/core/types/__tests__/minmodel.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/objvalue.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/objvalue.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/operator-bugs.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/operator-bugs.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/operator.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/operator.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/rate-limiter.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/rate-limiter.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/time.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/time.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/__tests__/utils.test.d.ts +0 -2
- package/node_modules/@hcengineering/core/types/__tests__/utils.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/backup.d.ts +0 -26
- package/node_modules/@hcengineering/core/types/backup.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/benchmark.d.ts +0 -19
- package/node_modules/@hcengineering/core/types/benchmark.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/classes.d.ts +0 -716
- package/node_modules/@hcengineering/core/types/classes.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/client.d.ts +0 -69
- package/node_modules/@hcengineering/core/types/client.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/clone.d.ts +0 -3
- package/node_modules/@hcengineering/core/types/clone.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/collaboration.d.ts +0 -16
- package/node_modules/@hcengineering/core/types/collaboration.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/collaborators.d.ts +0 -3
- package/node_modules/@hcengineering/core/types/collaborators.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/common.d.ts +0 -4
- package/node_modules/@hcengineering/core/types/common.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/component.d.ts +0 -229
- package/node_modules/@hcengineering/core/types/component.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/hierarchy.d.ts +0 -84
- package/node_modules/@hcengineering/core/types/hierarchy.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/index.d.ts +0 -25
- package/node_modules/@hcengineering/core/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/memdb.d.ts +0 -60
- package/node_modules/@hcengineering/core/types/memdb.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/objvalue.d.ts +0 -10
- package/node_modules/@hcengineering/core/types/objvalue.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/operations.d.ts +0 -87
- package/node_modules/@hcengineering/core/types/operations.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/operator.d.ts +0 -16
- package/node_modules/@hcengineering/core/types/operator.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/predicate.d.ts +0 -6
- package/node_modules/@hcengineering/core/types/predicate.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/proxy.d.ts +0 -21
- package/node_modules/@hcengineering/core/types/proxy.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/query.d.ts +0 -21
- package/node_modules/@hcengineering/core/types/query.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/server.d.ts +0 -82
- package/node_modules/@hcengineering/core/types/server.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/status.d.ts +0 -30
- package/node_modules/@hcengineering/core/types/status.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/storage.d.ts +0 -233
- package/node_modules/@hcengineering/core/types/storage.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/time.d.ts +0 -8
- package/node_modules/@hcengineering/core/types/time.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/tx.d.ts +0 -261
- package/node_modules/@hcengineering/core/types/tx.d.ts.map +0 -1
- package/node_modules/@hcengineering/core/types/utils.d.ts +0 -207
- package/node_modules/@hcengineering/core/types/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/measurements/types/__tests__/context.test.d.ts +0 -2
- package/node_modules/@hcengineering/measurements/types/__tests__/context.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/measurements/types/__tests__/index.test.d.ts +0 -2
- package/node_modules/@hcengineering/measurements/types/__tests__/index.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/measurements/types/__tests__/metrics.test.d.ts +0 -2
- package/node_modules/@hcengineering/measurements/types/__tests__/metrics.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/measurements/types/__tests__/performance.test.d.ts +0 -2
- package/node_modules/@hcengineering/measurements/types/__tests__/performance.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/measurements/types/context.d.ts +0 -64
- package/node_modules/@hcengineering/measurements/types/context.d.ts.map +0 -1
- package/node_modules/@hcengineering/measurements/types/index.d.ts +0 -12
- package/node_modules/@hcengineering/measurements/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/measurements/types/metrics.d.ts +0 -34
- package/node_modules/@hcengineering/measurements/types/metrics.d.ts.map +0 -1
- package/node_modules/@hcengineering/measurements/types/types.d.ts +0 -88
- package/node_modules/@hcengineering/measurements/types/types.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/__tests__/i18n.test.d.ts +0 -2
- package/node_modules/@hcengineering/platform/types/__tests__/i18n.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/__tests__/ident.test.d.ts +0 -2
- package/node_modules/@hcengineering/platform/types/__tests__/ident.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/__tests__/plugin.d.ts +0 -7
- package/node_modules/@hcengineering/platform/types/__tests__/plugin.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/__tests__/resource.test.d.ts +0 -2
- package/node_modules/@hcengineering/platform/types/__tests__/resource.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/event.d.ts +0 -39
- package/node_modules/@hcengineering/platform/types/event.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/i18n.d.ts +0 -28
- package/node_modules/@hcengineering/platform/types/i18n.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/ident.d.ts +0 -14
- package/node_modules/@hcengineering/platform/types/ident.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/index.d.ts +0 -19
- package/node_modules/@hcengineering/platform/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/metadata.d.ts +0 -38
- package/node_modules/@hcengineering/platform/types/metadata.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/platform.d.ts +0 -218
- package/node_modules/@hcengineering/platform/types/platform.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/resource.d.ts +0 -49
- package/node_modules/@hcengineering/platform/types/resource.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/status.d.ts +0 -60
- package/node_modules/@hcengineering/platform/types/status.d.ts.map +0 -1
- package/node_modules/@hcengineering/platform/types/testUtils.d.ts +0 -8
- package/node_modules/@hcengineering/platform/types/testUtils.d.ts.map +0 -1
- package/node_modules/@hcengineering/rank/types/__tests__/utils.test.d.ts +0 -2
- package/node_modules/@hcengineering/rank/types/__tests__/utils.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/rank/types/index.d.ts +0 -3
- package/node_modules/@hcengineering/rank/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/rank/types/types.d.ts +0 -2
- package/node_modules/@hcengineering/rank/types/types.d.ts.map +0 -1
- package/node_modules/@hcengineering/rank/types/utils.d.ts +0 -6
- package/node_modules/@hcengineering/rank/types/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/rpc/types/index.d.ts +0 -3
- package/node_modules/@hcengineering/rpc/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/rpc/types/rpc.d.ts +0 -96
- package/node_modules/@hcengineering/rpc/types/rpc.d.ts.map +0 -1
- package/node_modules/@hcengineering/rpc/types/sliding.d.ts +0 -11
- package/node_modules/@hcengineering/rpc/types/sliding.d.ts.map +0 -1
- package/node_modules/@hcengineering/rpc/types/test/rateLimit.spec.d.ts +0 -2
- package/node_modules/@hcengineering/rpc/types/test/rateLimit.spec.d.ts.map +0 -1
- package/node_modules/@hcengineering/tags/types/analytics.d.ts +0 -5
- package/node_modules/@hcengineering/tags/types/analytics.d.ts.map +0 -1
- package/node_modules/@hcengineering/tags/types/index.d.ts +0 -105
- package/node_modules/@hcengineering/tags/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/task/types/index.d.ts +0 -227
- package/node_modules/@hcengineering/task/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/task/types/utils.d.ts +0 -61
- package/node_modules/@hcengineering/task/types/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/extensions.d.ts +0 -53
- package/node_modules/@hcengineering/text/types/extensions.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/index.d.ts +0 -13
- package/node_modules/@hcengineering/text/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/kit.d.ts +0 -12
- package/node_modules/@hcengineering/text/types/kit.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/kits/common-kit.d.ts +0 -72
- package/node_modules/@hcengineering/text/types/kits/common-kit.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/kits/server-kit.d.ts +0 -106
- package/node_modules/@hcengineering/text/types/kits/server-kit.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/marks/code.d.ts +0 -8
- package/node_modules/@hcengineering/text/types/marks/code.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/marks/colors.d.ts +0 -21
- package/node_modules/@hcengineering/text/types/marks/colors.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/marks/inlineComment.d.ts +0 -5
- package/node_modules/@hcengineering/text/types/marks/inlineComment.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/marks/noteBase.d.ts +0 -23
- package/node_modules/@hcengineering/text/types/marks/noteBase.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/marks/qmsInlineCommentMark.d.ts +0 -6
- package/node_modules/@hcengineering/text/types/marks/qmsInlineCommentMark.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/markup/__tests__/dsl.test.d.ts +0 -2
- package/node_modules/@hcengineering/text/types/markup/__tests__/dsl.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/markup/__tests__/utils.test.d.ts +0 -5
- package/node_modules/@hcengineering/text/types/markup/__tests__/utils.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/markup/utils.d.ts +0 -19
- package/node_modules/@hcengineering/text/types/markup/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/codeblock.d.ts +0 -12
- package/node_modules/@hcengineering/text/types/nodes/codeblock.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/comment.d.ts +0 -6
- package/node_modules/@hcengineering/text/types/nodes/comment.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/embed.d.ts +0 -3
- package/node_modules/@hcengineering/text/types/nodes/embed.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/emoji.d.ts +0 -17
- package/node_modules/@hcengineering/text/types/nodes/emoji.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/file.d.ts +0 -13
- package/node_modules/@hcengineering/text/types/nodes/file.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/image.d.ts +0 -52
- package/node_modules/@hcengineering/text/types/nodes/image.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/index.d.ts +0 -11
- package/node_modules/@hcengineering/text/types/nodes/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/markdown.d.ts +0 -3
- package/node_modules/@hcengineering/text/types/nodes/markdown.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/mermaid.d.ts +0 -4
- package/node_modules/@hcengineering/text/types/nodes/mermaid.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/reference.d.ts +0 -18
- package/node_modules/@hcengineering/text/types/nodes/reference.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/todo.d.ts +0 -3
- package/node_modules/@hcengineering/text/types/nodes/todo.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/nodes/utils.d.ts +0 -6
- package/node_modules/@hcengineering/text/types/nodes/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/text/types/tiptapExtensions.d.ts +0 -28
- package/node_modules/@hcengineering/text/types/tiptapExtensions.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-core/types/index.d.ts +0 -6
- package/node_modules/@hcengineering/text-core/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-core/types/markup/__tests__/traverse.test.d.ts +0 -2
- package/node_modules/@hcengineering/text-core/types/markup/__tests__/traverse.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-core/types/markup/__tests__/utils.test.d.ts +0 -2
- package/node_modules/@hcengineering/text-core/types/markup/__tests__/utils.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-core/types/markup/dsl.d.ts +0 -25
- package/node_modules/@hcengineering/text-core/types/markup/dsl.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-core/types/markup/model.d.ts +0 -74
- package/node_modules/@hcengineering/text-core/types/markup/model.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-core/types/markup/reference.d.ts +0 -15
- package/node_modules/@hcengineering/text-core/types/markup/reference.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-core/types/markup/traverse.d.ts +0 -6
- package/node_modules/@hcengineering/text-core/types/markup/traverse.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-core/types/markup/utils.d.ts +0 -25
- package/node_modules/@hcengineering/text-core/types/markup/utils.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-html/types/__tests__/html.test.d.ts +0 -2
- package/node_modules/@hcengineering/text-html/types/__tests__/html.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-html/types/index.d.ts +0 -6
- package/node_modules/@hcengineering/text-html/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-html/types/parser.d.ts +0 -10
- package/node_modules/@hcengineering/text-html/types/parser.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-html/types/serializer.d.ts +0 -9
- package/node_modules/@hcengineering/text-html/types/serializer.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-markdown/types/__tests__/markdown.test.d.ts +0 -9
- package/node_modules/@hcengineering/text-markdown/types/__tests__/markdown.test.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-markdown/types/compare.d.ts +0 -10
- package/node_modules/@hcengineering/text-markdown/types/compare.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-markdown/types/index.d.ts +0 -14
- package/node_modules/@hcengineering/text-markdown/types/index.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-markdown/types/marks.d.ts +0 -8
- package/node_modules/@hcengineering/text-markdown/types/marks.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-markdown/types/node.d.ts +0 -4
- package/node_modules/@hcengineering/text-markdown/types/node.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-markdown/types/parser.d.ts +0 -50
- package/node_modules/@hcengineering/text-markdown/types/parser.d.ts.map +0 -1
- package/node_modules/@hcengineering/text-markdown/types/serializer.d.ts +0 -102
- package/node_modules/@hcengineering/text-markdown/types/serializer.d.ts.map +0 -1
- package/node_modules/@hcengineering/tracker/types/analytics.d.ts +0 -24
- package/node_modules/@hcengineering/tracker/types/analytics.d.ts.map +0 -1
- package/node_modules/@hcengineering/tracker/types/index.d.ts +0 -431
- package/node_modules/@hcengineering/tracker/types/index.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/utils.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAeA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAGnC,cAAc;AACd,wBAAgB,QAAQ,CAAE,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,CAY/C;AAED,cAAc;AACd,wBAAgB,QAAQ,CAAE,IAAI,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CA0B9E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAgBA,cAAc,OAAO,CAAA;AACrB,cAAc,WAAW,CAAA"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import type { Account } from '@hcengineering/core';
|
|
2
|
-
import { Status } from '@hcengineering/platform';
|
|
3
|
-
import { Packr } from 'msgpackr';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export type ReqId = string | number;
|
|
8
|
-
/**
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
export interface Request<P extends any[]> {
|
|
12
|
-
id?: ReqId;
|
|
13
|
-
method: string;
|
|
14
|
-
params: P;
|
|
15
|
-
meta?: Record<string, string | number | boolean>;
|
|
16
|
-
time?: number;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export interface HelloRequest extends Request<any[]> {
|
|
22
|
-
binary?: boolean;
|
|
23
|
-
compression?: boolean;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
|
-
export interface HelloResponse extends Response<any> {
|
|
29
|
-
binary: boolean;
|
|
30
|
-
reconnect?: boolean;
|
|
31
|
-
serverVersion: string;
|
|
32
|
-
lastTx?: string;
|
|
33
|
-
lastHash?: string;
|
|
34
|
-
account: Account;
|
|
35
|
-
useCompression?: boolean;
|
|
36
|
-
}
|
|
37
|
-
export declare function rpcJSONReplacer(key: string, value: any): any;
|
|
38
|
-
export declare function rpcJSONReceiver(key: string, value: any): any;
|
|
39
|
-
export interface RateLimitInfo {
|
|
40
|
-
remaining: number;
|
|
41
|
-
limit: number;
|
|
42
|
-
current: number;
|
|
43
|
-
reset: number;
|
|
44
|
-
retryAfter?: number;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Response object define a server response on transaction request.
|
|
48
|
-
* Also used to inform other clients about operations being performed by server.
|
|
49
|
-
*
|
|
50
|
-
* @public
|
|
51
|
-
*/
|
|
52
|
-
export interface Response<R> {
|
|
53
|
-
result?: R;
|
|
54
|
-
id?: ReqId;
|
|
55
|
-
error?: Status;
|
|
56
|
-
terminate?: boolean;
|
|
57
|
-
rateLimit?: RateLimitInfo;
|
|
58
|
-
chunk?: {
|
|
59
|
-
index: number;
|
|
60
|
-
final: boolean;
|
|
61
|
-
};
|
|
62
|
-
time?: number;
|
|
63
|
-
bfst?: number;
|
|
64
|
-
queue?: number;
|
|
65
|
-
}
|
|
66
|
-
export declare class RPCHandler {
|
|
67
|
-
packr: Packr;
|
|
68
|
-
protoSerialize(object: object, binary: boolean): any;
|
|
69
|
-
protoDeserialize(data: any, binary: boolean): any;
|
|
70
|
-
/**
|
|
71
|
-
* @public
|
|
72
|
-
* @param object -
|
|
73
|
-
* @returns
|
|
74
|
-
*/
|
|
75
|
-
serialize(object: Request<any> | Response<any>, binary: boolean): any;
|
|
76
|
-
/**
|
|
77
|
-
* @public
|
|
78
|
-
* @param response -
|
|
79
|
-
* @returns
|
|
80
|
-
*/
|
|
81
|
-
readResponse<D>(response: any, binary: boolean): Response<D>;
|
|
82
|
-
/**
|
|
83
|
-
* @public
|
|
84
|
-
* @param request -
|
|
85
|
-
* @returns
|
|
86
|
-
*/
|
|
87
|
-
readRequest<P extends any[]>(request: any, binary: boolean): Request<P>;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* @public
|
|
91
|
-
* @param status -
|
|
92
|
-
* @param id -
|
|
93
|
-
* @returns
|
|
94
|
-
*/
|
|
95
|
-
export declare function fromStatus(status: Status, id?: ReqId): Response<any>;
|
|
96
|
-
//# sourceMappingURL=rpc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":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,GAAG,CAAC,CAErE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { RateLimitInfo } from './rpc';
|
|
2
|
-
export declare class SlidingWindowRateLimitter {
|
|
3
|
-
readonly rateLimitMax: number;
|
|
4
|
-
readonly rateLimitWindow: number;
|
|
5
|
-
readonly now: () => number;
|
|
6
|
-
private readonly rateLimits;
|
|
7
|
-
constructor(rateLimitMax: number, rateLimitWindow: number, now?: () => number);
|
|
8
|
-
checkRateLimit(groupId: string): RateLimitInfo;
|
|
9
|
-
reset(): void;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=sliding.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sliding.d.ts","sourceRoot":"","sources":["../src/sliding.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,qBAAa,yBAAyB;IAWlC,QAAQ,CAAC,YAAY,EAAE,MAAM;IAC7B,QAAQ,CAAC,eAAe,EAAE,MAAM;IAChC,QAAQ,CAAC,GAAG,EAAE,MAAM,MAAM;IAZ5B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAOxB;gBAGQ,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,EACvB,GAAG,GAAE,MAAM,MAAiB;IAMhC,cAAc,CAAE,OAAO,EAAE,MAAM,GAAG,aAAa;IAiD/C,KAAK,IAAK,IAAI;CAGtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rateLimit.spec.d.ts","sourceRoot":"","sources":["../../src/test/rateLimit.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../src/analytics.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,UAAU,oBAAoB;IAC9B,UAAU,oBAAoB;CAC/B"}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import type { AttachedDoc, Class, Doc, Ref } from '@hcengineering/core';
|
|
2
|
-
import type { Asset, IntlString, Plugin } from '@hcengineering/platform';
|
|
3
|
-
import { AnyComponent } from '@hcengineering/ui';
|
|
4
|
-
import { FilterMode } from '@hcengineering/view';
|
|
5
|
-
export * from './analytics';
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export interface TagElement extends Doc {
|
|
10
|
-
title: string;
|
|
11
|
-
targetClass: Ref<Class<Doc>>;
|
|
12
|
-
description: string;
|
|
13
|
-
color: number;
|
|
14
|
-
category: Ref<TagCategory>;
|
|
15
|
-
refCount?: number;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export type InitialKnowledge = 0 | 1 | 2;
|
|
21
|
-
/**
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
export type MeaningfullKnowledge = 3 | 4 | 5;
|
|
25
|
-
/**
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
|
-
export type ExpertKnowledge = 6 | 7 | 8;
|
|
29
|
-
/**
|
|
30
|
-
* @public
|
|
31
|
-
*/
|
|
32
|
-
export interface TagReference extends AttachedDoc {
|
|
33
|
-
tag: Ref<TagElement>;
|
|
34
|
-
title: string;
|
|
35
|
-
color: number;
|
|
36
|
-
weight?: InitialKnowledge | MeaningfullKnowledge | ExpertKnowledge;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Defined set of skills per category.
|
|
40
|
-
*
|
|
41
|
-
* Will be used as skill category templates or category detection
|
|
42
|
-
* @public
|
|
43
|
-
*/
|
|
44
|
-
export interface TagCategory extends Doc {
|
|
45
|
-
icon: Asset;
|
|
46
|
-
label: string;
|
|
47
|
-
targetClass: Ref<Class<Doc>>;
|
|
48
|
-
tags: string[];
|
|
49
|
-
default: boolean;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @public
|
|
53
|
-
*/
|
|
54
|
-
export declare const tagsId: Plugin;
|
|
55
|
-
/**
|
|
56
|
-
* @public
|
|
57
|
-
*/
|
|
58
|
-
declare const tagsPlugin: {
|
|
59
|
-
class: {
|
|
60
|
-
TagElement: Ref<Class<TagElement>>;
|
|
61
|
-
TagReference: Ref<Class<TagReference>>;
|
|
62
|
-
TagCategory: Ref<Class<TagCategory>>;
|
|
63
|
-
};
|
|
64
|
-
icon: {
|
|
65
|
-
Tags: Asset;
|
|
66
|
-
Level1: Asset;
|
|
67
|
-
Level2: Asset;
|
|
68
|
-
Level3: Asset;
|
|
69
|
-
};
|
|
70
|
-
component: {
|
|
71
|
-
DraftTagsEditor: AnyComponent;
|
|
72
|
-
DocTagsEditor: AnyComponent;
|
|
73
|
-
TagsView: AnyComponent;
|
|
74
|
-
TagsEditor: AnyComponent;
|
|
75
|
-
TagsDropdownEditor: AnyComponent;
|
|
76
|
-
TagsCategoryBar: AnyComponent;
|
|
77
|
-
TagsAttributeEditor: AnyComponent;
|
|
78
|
-
TagsPresenter: AnyComponent;
|
|
79
|
-
LabelsPresenter: AnyComponent;
|
|
80
|
-
TagElementPresenter: AnyComponent;
|
|
81
|
-
TagsEditorPopup: AnyComponent;
|
|
82
|
-
ObjectsTagsEditorPopup: AnyComponent;
|
|
83
|
-
};
|
|
84
|
-
string: {
|
|
85
|
-
Tags: IntlString;
|
|
86
|
-
AddLabel: IntlString;
|
|
87
|
-
TagLabel: IntlString;
|
|
88
|
-
};
|
|
89
|
-
category: {
|
|
90
|
-
NoCategory: Ref<TagCategory>;
|
|
91
|
-
};
|
|
92
|
-
filter: {
|
|
93
|
-
FilterTagsIn: Ref<FilterMode>;
|
|
94
|
-
FilterTagsNin: Ref<FilterMode>;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* @public
|
|
99
|
-
*/
|
|
100
|
-
export default tagsPlugin;
|
|
101
|
-
/**
|
|
102
|
-
* @public
|
|
103
|
-
*/
|
|
104
|
-
export declare function findTagCategory(title: string, categories: TagCategory[]): Ref<TagCategory>;
|
|
105
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAExE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAEhD,cAAc,aAAa,CAAA;AAE3B;;GAEG;AACH,MAAM,WAAW,UAAW,SAAQ,GAAG;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAA;IAC5B,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,GAAG,CAAC,WAAW,CAAC,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAExC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAE5C;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAEvC;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,WAAW;IAC/C,GAAG,EAAE,GAAG,CAAC,UAAU,CAAC,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IAGb,MAAM,CAAC,EAAE,gBAAgB,GAAG,oBAAoB,GAAG,eAAe,CAAA;CACnE;AAED;;;;;GAKG;AACH,MAAM,WAAW,WAAY,SAAQ,GAAG;IACtC,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAA;IAE5B,IAAI,EAAE,MAAM,EAAE,CAAA;IAGd,OAAO,EAAE,OAAO,CAAA;CACjB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM,EAAa,MAAM,CAAA;AAEtC;;GAEG;AACH,QAAA,MAAM,UAAU;;oBAEM,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;sBACpB,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;qBACzB,GAAG,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;;;cAG9B,KAAK;gBACH,KAAK;gBACL,KAAK;gBACL,KAAK;;;yBAGI,YAAY;uBACd,YAAY;kBACjB,YAAY;oBACV,YAAY;4BACJ,YAAY;yBACf,YAAY;6BACR,YAAY;uBAClB,YAAY;yBACV,YAAY;6BACR,YAAY;yBAChB,YAAY;gCACL,YAAY;;;cAG9B,UAAU;kBACN,UAAU;kBACV,UAAU;;;oBAGR,GAAG,CAAC,WAAW,CAAC;;;sBAGd,GAAG,CAAC,UAAU,CAAC;uBACd,GAAG,CAAC,UAAU,CAAC;;CAEtC,CAAA;AAEF;;GAEG;AACH,eAAe,UAAU,CAAA;AAEzB;;GAEG;AACH,wBAAgB,eAAe,CAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,GAAG,CAAC,WAAW,CAAC,CAc3F"}
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
import type { Person } from '@hcengineering/contact';
|
|
2
|
-
import { AttachedDoc, Attribute, Class, Doc, Mixin, type Rank, Ref, Space, Status, StatusCategory, Timestamp, SpaceType, SpaceTypeDescriptor, TypedSpace } from '@hcengineering/core';
|
|
3
|
-
import { NotificationType } from '@hcengineering/notification';
|
|
4
|
-
import type { Asset, IntlString, Plugin, Resource } from '@hcengineering/platform';
|
|
5
|
-
import type { AnyComponent, ComponentExtensionId } from '@hcengineering/ui';
|
|
6
|
-
import { Action, IconProps, ViewletDescriptor } from '@hcengineering/view';
|
|
7
|
-
export * from './utils';
|
|
8
|
-
export type { Rank } from '@hcengineering/rank';
|
|
9
|
-
/** @public */
|
|
10
|
-
export interface DocWithRank extends Doc {
|
|
11
|
-
rank: Rank;
|
|
12
|
-
}
|
|
13
|
-
export interface Project extends TypedSpace {
|
|
14
|
-
type: Ref<ProjectType>;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export interface Task extends AttachedDoc {
|
|
20
|
-
kind: Ref<TaskType>;
|
|
21
|
-
status: Ref<Status>;
|
|
22
|
-
isDone?: boolean;
|
|
23
|
-
number: number;
|
|
24
|
-
assignee: Ref<Person> | null;
|
|
25
|
-
dueDate: Timestamp | null;
|
|
26
|
-
comments?: number;
|
|
27
|
-
attachments?: number;
|
|
28
|
-
labels?: number;
|
|
29
|
-
identifier: string;
|
|
30
|
-
rank: Rank;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* @public
|
|
34
|
-
*/
|
|
35
|
-
export interface KanbanCard extends Class<Doc> {
|
|
36
|
-
card: AnyComponent;
|
|
37
|
-
}
|
|
38
|
-
export interface ProjectStatus extends IconProps {
|
|
39
|
-
_id: Ref<Status>;
|
|
40
|
-
taskType: Ref<TaskType>;
|
|
41
|
-
description?: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
export type TaskTypeKind = 'task' | 'subtask' | 'both';
|
|
47
|
-
/**
|
|
48
|
-
* @public
|
|
49
|
-
*/
|
|
50
|
-
export interface TaskTypeDescriptor extends Doc {
|
|
51
|
-
name: IntlString;
|
|
52
|
-
description: IntlString;
|
|
53
|
-
icon: Asset;
|
|
54
|
-
baseClass: Ref<Class<Task>>;
|
|
55
|
-
allowCreate: boolean;
|
|
56
|
-
statusCategoriesFunc?: Resource<(project: ProjectType) => Ref<StatusCategory>[]>;
|
|
57
|
-
openTasks?: Resource<(value: TaskType) => Promise<void>>;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* @public
|
|
61
|
-
*/
|
|
62
|
-
export interface TaskStatusFactory {
|
|
63
|
-
category: Ref<StatusCategory>;
|
|
64
|
-
statuses: (string | [string, number, Ref<Status>?])[];
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
export interface TaskType extends Doc, IconProps {
|
|
70
|
-
parent: Ref<ProjectType>;
|
|
71
|
-
descriptor: Ref<TaskTypeDescriptor>;
|
|
72
|
-
name: string;
|
|
73
|
-
kind: TaskTypeKind;
|
|
74
|
-
allowedAsChildOf?: Ref<TaskType>[];
|
|
75
|
-
ofClass: Ref<Class<Task>>;
|
|
76
|
-
targetClass: Ref<Class<Task>>;
|
|
77
|
-
statuses: Ref<Status>[];
|
|
78
|
-
statusClass: Ref<Class<Status>>;
|
|
79
|
-
statusCategories: Ref<StatusCategory>[];
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* @public
|
|
83
|
-
*
|
|
84
|
-
* A a mixin for Class bind to taskType.
|
|
85
|
-
*/
|
|
86
|
-
export interface TaskTypeClass extends Class<TaskType> {
|
|
87
|
-
taskType: Ref<TaskType>;
|
|
88
|
-
projectType: Ref<ProjectType>;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* @public
|
|
92
|
-
*
|
|
93
|
-
* A a mixin for Class bind to taskType.
|
|
94
|
-
*/
|
|
95
|
-
export interface ProjectTypeClass extends Class<ProjectType> {
|
|
96
|
-
projectType: Ref<ProjectType>;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* @public
|
|
100
|
-
*
|
|
101
|
-
* Define a user customized project type.
|
|
102
|
-
*/
|
|
103
|
-
export interface ProjectType extends SpaceType {
|
|
104
|
-
descriptor: Ref<ProjectTypeDescriptor>;
|
|
105
|
-
tasks: Ref<TaskType>[];
|
|
106
|
-
description: string;
|
|
107
|
-
statuses: ProjectStatus[];
|
|
108
|
-
targetClass: Ref<Class<Project>>;
|
|
109
|
-
classic: boolean;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* @public
|
|
113
|
-
*/
|
|
114
|
-
export interface ProjectTypeDescriptor extends SpaceTypeDescriptor {
|
|
115
|
-
allowedClassic?: boolean;
|
|
116
|
-
allowedTaskTypeDescriptors?: Ref<TaskTypeDescriptor>[];
|
|
117
|
-
baseClass: Ref<Class<Project>>;
|
|
118
|
-
editor?: AnyComponent;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* @public
|
|
122
|
-
*/
|
|
123
|
-
export declare enum TaskOrdering {
|
|
124
|
-
State = "state",
|
|
125
|
-
LastUpdated = "modifiedOn",
|
|
126
|
-
DueDate = "dueDate",
|
|
127
|
-
Manual = "rank"
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* @public
|
|
131
|
-
*/
|
|
132
|
-
export declare const taskId: Plugin;
|
|
133
|
-
/**
|
|
134
|
-
* @public
|
|
135
|
-
*/
|
|
136
|
-
declare const task: {
|
|
137
|
-
app: {
|
|
138
|
-
Tasks: Ref<Doc>;
|
|
139
|
-
};
|
|
140
|
-
action: {
|
|
141
|
-
Move: Ref<Action>;
|
|
142
|
-
};
|
|
143
|
-
mixin: {
|
|
144
|
-
KanbanCard: Ref<Mixin<KanbanCard>>;
|
|
145
|
-
TaskTypeClass: Ref<Mixin<TaskTypeClass>>;
|
|
146
|
-
ProjectTypeClass: Ref<Mixin<ProjectTypeClass>>;
|
|
147
|
-
};
|
|
148
|
-
attribute: {
|
|
149
|
-
State: Ref<Attribute<Status>>;
|
|
150
|
-
};
|
|
151
|
-
string: {
|
|
152
|
-
StartDate: IntlString;
|
|
153
|
-
DueDate: IntlString;
|
|
154
|
-
TaskState: IntlString;
|
|
155
|
-
TaskStateTitle: IntlString;
|
|
156
|
-
TaskStateDone: IntlString;
|
|
157
|
-
TaskNumber: IntlString;
|
|
158
|
-
Todo: IntlString;
|
|
159
|
-
TaskDone: IntlString;
|
|
160
|
-
TaskDueTo: IntlString;
|
|
161
|
-
TaskParent: IntlString;
|
|
162
|
-
IssueName: IntlString;
|
|
163
|
-
TaskComments: IntlString;
|
|
164
|
-
TaskLabels: IntlString;
|
|
165
|
-
Rank: IntlString;
|
|
166
|
-
EditStates: IntlString;
|
|
167
|
-
MarkAsDone: IntlString;
|
|
168
|
-
MarkAsUndone: IntlString;
|
|
169
|
-
Kanban: IntlString;
|
|
170
|
-
ApplicationLabelTask: IntlString;
|
|
171
|
-
AssignedToMe: IntlString;
|
|
172
|
-
Dashboard: IntlString;
|
|
173
|
-
ProjectTypes: IntlString;
|
|
174
|
-
TaskType: IntlString;
|
|
175
|
-
ProjectType: IntlString;
|
|
176
|
-
Identifier: IntlString;
|
|
177
|
-
};
|
|
178
|
-
class: {
|
|
179
|
-
ProjectTypeDescriptor: Ref<Class<ProjectTypeDescriptor>>;
|
|
180
|
-
ProjectType: Ref<Class<ProjectType>>;
|
|
181
|
-
Project: Ref<Class<Project>>;
|
|
182
|
-
TaskTypeDescriptor: Ref<Class<TaskTypeDescriptor>>;
|
|
183
|
-
TaskType: Ref<Class<TaskType>>;
|
|
184
|
-
Task: Ref<Class<Task>>;
|
|
185
|
-
};
|
|
186
|
-
viewlet: {
|
|
187
|
-
Kanban: Ref<ViewletDescriptor>;
|
|
188
|
-
Dashboard: Ref<ViewletDescriptor>;
|
|
189
|
-
StatusTable: Ref<ViewletDescriptor>;
|
|
190
|
-
};
|
|
191
|
-
icon: {
|
|
192
|
-
Task: Asset;
|
|
193
|
-
Kanban: Asset;
|
|
194
|
-
TodoCheck: Asset;
|
|
195
|
-
TodoUnCheck: Asset;
|
|
196
|
-
ManageTemplates: Asset;
|
|
197
|
-
TaskState: Asset;
|
|
198
|
-
Dashboard: Asset;
|
|
199
|
-
};
|
|
200
|
-
global: {
|
|
201
|
-
Task: Ref<Task>;
|
|
202
|
-
};
|
|
203
|
-
space: {
|
|
204
|
-
Sequence: Ref<Space>;
|
|
205
|
-
Statuses: Ref<Space>;
|
|
206
|
-
};
|
|
207
|
-
statusCategory: {
|
|
208
|
-
UnStarted: Ref<StatusCategory>;
|
|
209
|
-
ToDo: Ref<StatusCategory>;
|
|
210
|
-
Active: Ref<StatusCategory>;
|
|
211
|
-
Won: Ref<StatusCategory>;
|
|
212
|
-
Lost: Ref<StatusCategory>;
|
|
213
|
-
};
|
|
214
|
-
component: {
|
|
215
|
-
ProjectTypeSelector: AnyComponent;
|
|
216
|
-
CreateStatePopup: AnyComponent;
|
|
217
|
-
};
|
|
218
|
-
ids: {
|
|
219
|
-
AssigneedNotification: Ref<NotificationType>;
|
|
220
|
-
ManageProjects: Ref<Doc>;
|
|
221
|
-
};
|
|
222
|
-
extensions: {
|
|
223
|
-
ProjectEditorExtension: ComponentExtensionId;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
export default task;
|
|
227
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EACL,WAAW,EACX,SAAS,EACT,KAAK,EACL,GAAG,EACH,KAAK,EACL,KAAK,IAAI,EACT,GAAG,EACH,KAAK,EACL,MAAM,EACN,cAAc,EACd,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,UAAU,EACX,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAA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,cAAc,CAAC;cAClB,GAAG,CAAC,cAAc,CAAC;;;6BAGJ,YAAY;0BACf,YAAY;;;+BAGP,GAAG,CAAC,gBAAgB,CAAC;wBAC5B,GAAG,CAAC,GAAG,CAAC;;;gCAGA,oBAAoB;;CAEpD,CAAA;AAEF,eAAe,IAAI,CAAA"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { Class, Data, Hierarchy, IdMap, Ref, Status, TxOperations, type AnyAttribute, type Rank } from '@hcengineering/core';
|
|
2
|
-
import { Project, ProjectStatus, ProjectType, Task, TaskType } from '.';
|
|
3
|
-
export { genRanks, makeRank } from '@hcengineering/rank';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated Prefer {@link makeRank}
|
|
6
|
-
*
|
|
7
|
-
* TODO: Drop after everything migrates to {@link makeRank}
|
|
8
|
-
*/
|
|
9
|
-
export declare const calcRank: (prev?: {
|
|
10
|
-
rank: Rank;
|
|
11
|
-
}, next?: {
|
|
12
|
-
rank: Rank;
|
|
13
|
-
}) => string;
|
|
14
|
-
/**
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
export declare function getProjectTypeStates(projectType: Ref<ProjectType> | undefined, types: IdMap<ProjectType>, statuses: IdMap<Status>): Status[];
|
|
18
|
-
/**
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export declare function getStates(space: Project | undefined, types: IdMap<ProjectType>, statuses: IdMap<Status>): Status[];
|
|
22
|
-
/**
|
|
23
|
-
* @public
|
|
24
|
-
*/
|
|
25
|
-
export declare function getTaskTypeStates(taskType: Ref<TaskType> | undefined, types: IdMap<TaskType>, statuses: IdMap<Status>): Status[];
|
|
26
|
-
/**
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
export declare function getStatusIndex(type: ProjectType, taskTypes: IdMap<TaskType>, status: Ref<Status>): number;
|
|
30
|
-
/**
|
|
31
|
-
* @public
|
|
32
|
-
*/
|
|
33
|
-
export declare function createState<T extends Status>(client: TxOperations, _class: Ref<Class<T>>, data: Data<T>): Promise<Ref<T>>;
|
|
34
|
-
/**
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
export declare function calculateStatuses(projectType: {
|
|
38
|
-
statuses: ProjectType['statuses'];
|
|
39
|
-
tasks: ProjectType['tasks'];
|
|
40
|
-
}, taskTypes: Map<Ref<TaskType>, Data<TaskType>>, override: Array<{
|
|
41
|
-
taskTypeId: Ref<TaskType>;
|
|
42
|
-
statuses: Array<Ref<Status>>;
|
|
43
|
-
}>): ProjectStatus[];
|
|
44
|
-
/**
|
|
45
|
-
* @public
|
|
46
|
-
*/
|
|
47
|
-
export declare function findStatusAttr(h: Hierarchy, _class: Ref<Class<Task>>): AnyAttribute;
|
|
48
|
-
export type TaskTypeWithFactory = Omit<Data<TaskType>, 'statuses' | 'parent' | 'targetClass'> & {
|
|
49
|
-
_id: TaskType['_id'];
|
|
50
|
-
factory: Data<Status>[];
|
|
51
|
-
} & Partial<Pick<TaskType, 'targetClass'>>;
|
|
52
|
-
type ProjectData = Omit<Data<ProjectType>, 'statuses' | 'targetClass'>;
|
|
53
|
-
/**
|
|
54
|
-
* @public
|
|
55
|
-
*/
|
|
56
|
-
export declare function createProjectType(client: TxOperations, data: ProjectData, tasks: TaskTypeWithFactory[], _id: Ref<ProjectType>): Promise<Ref<ProjectType>>;
|
|
57
|
-
/**
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
export declare function updateProjectType(client: TxOperations, projectType: Ref<ProjectType>, tasks: TaskTypeWithFactory[]): Promise<void>;
|
|
61
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAeA,OAAa,EACX,KAAK,EAEL,IAAI,EAGJ,SAAS,EACT,KAAK,EACL,GAAG,EACH,MAAM,EACN,YAAY,EACZ,KAAK,YAAY,EACjB,KAAK,IAAI,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,GAAG,CAAC,WAAW,CAAC,CAAC,CA0D3B;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,GAAG,CAAC,WAAW,CAAC,EAC7B,KAAK,EAAE,mBAAmB,EAAE,GAC3B,OAAO,CAAC,IAAI,CAAC,CA2Bf"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export declare const defaultExtensions: import("@tiptap/core").Extension<import("./kit").ExtensionSpecOptions<{
|
|
2
|
-
readonly lists: import("./kit").ExtensionSpec<import("@tiptap/core").Extension<import("./kit").ExtensionSpecOptions<{
|
|
3
|
-
readonly todoItem: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-task-item").TaskItemOptions, any>>;
|
|
4
|
-
readonly todoList: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-task-list").TaskListOptions, any>>;
|
|
5
|
-
readonly listItem: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-list-item").ListItemOptions, any>>;
|
|
6
|
-
readonly bulletList: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-bullet-list").BulletListOptions, any>>;
|
|
7
|
-
readonly orderedList: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-ordered-list").OrderedListOptions, any>>;
|
|
8
|
-
}>, any>>;
|
|
9
|
-
readonly codeSnippets: import("./kit").ExtensionSpec<import("@tiptap/core").Extension<import("./kit").ExtensionSpecOptions<{
|
|
10
|
-
readonly codeBlock: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-code-block").CodeBlockOptions, any>>;
|
|
11
|
-
readonly codeBlockMermaid: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-code-block").CodeBlockOptions, any>>;
|
|
12
|
-
readonly codeInline: import("./kit").ExtensionSpec<import("@tiptap/core").Mark<import("@tiptap/extension-code").CodeOptions, any>>;
|
|
13
|
-
}>, any>>;
|
|
14
|
-
readonly tables: import("./kit").ExtensionSpec<import("@tiptap/core").Extension<import("./kit").ExtensionSpecOptions<{
|
|
15
|
-
readonly table: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-table").TableOptions, any>>;
|
|
16
|
-
readonly tableRow: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-table-row").TableRowOptions, any>>;
|
|
17
|
-
readonly tableHeader: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-table-header").TableHeaderOptions, any>>;
|
|
18
|
-
readonly tableCell: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-table-cell").TableCellOptions, any>>;
|
|
19
|
-
}>, any>>;
|
|
20
|
-
readonly textColorStyling: import("./kit").ExtensionSpec<import("@tiptap/core").Extension<import("./kit").ExtensionSpecOptions<{
|
|
21
|
-
readonly textStyle: import("./kit").ExtensionSpec<import("@tiptap/core").Mark<import("@tiptap/extension-text-style").TextStyleOptions, any>>;
|
|
22
|
-
readonly testColor: import("./kit").ExtensionSpec<import("@tiptap/core").Extension<import(".").TextColorOptions, any>>;
|
|
23
|
-
readonly backgroundColor: import("./kit").ExtensionSpec<import("@tiptap/core").Extension<import(".").BackgroundColorOptions, any>>;
|
|
24
|
-
}>, any>>;
|
|
25
|
-
readonly hardBreak: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-hard-break").HardBreakOptions, any>>;
|
|
26
|
-
readonly reference: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("./nodes").ReferenceOptions, any>>;
|
|
27
|
-
readonly file: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("./nodes").FileOptions, any>>;
|
|
28
|
-
readonly image: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("./nodes").ImageOptions, any>>;
|
|
29
|
-
readonly embed: import("./kit").ExtensionSpec<import("@tiptap/core").Node<any, any>>;
|
|
30
|
-
readonly emoji: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("./nodes").EmojiNodeOptions, any>>;
|
|
31
|
-
readonly inlineNote: import("./kit").ExtensionSpec<import("@tiptap/core").Mark<any, any>>;
|
|
32
|
-
readonly qmsInlineCommentMark: import("./kit").ExtensionSpec<import("@tiptap/core").Mark<any, any>>;
|
|
33
|
-
readonly text: import("./kit").ExtensionSpec<import("@tiptap/core").Node<any, any>>;
|
|
34
|
-
readonly document: import("./kit").ExtensionSpec<import("@tiptap/core").Node<any, any>>;
|
|
35
|
-
readonly paragraph: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-paragraph").ParagraphOptions, any>>;
|
|
36
|
-
readonly bold: import("./kit").ExtensionSpec<import("@tiptap/core").Mark<import("@tiptap/extension-bold").BoldOptions, any>>;
|
|
37
|
-
readonly italic: import("./kit").ExtensionSpec<import("@tiptap/core").Mark<import("@tiptap/extension-italic").ItalicOptions, any>>;
|
|
38
|
-
readonly strike: import("./kit").ExtensionSpec<import("@tiptap/core").Mark<import("@tiptap/extension-strike").StrikeOptions, any>>;
|
|
39
|
-
readonly comment: import("./kit").ExtensionSpec<import("@tiptap/core").Node<any, any>>;
|
|
40
|
-
readonly markdown: import("./kit").ExtensionSpec<import("@tiptap/core").Node<any, any>>;
|
|
41
|
-
readonly inlineComment: import("./kit").ExtensionSpec<import("@tiptap/core").Mark<any, any>>;
|
|
42
|
-
readonly horizontalRule: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-horizontal-rule").HorizontalRuleOptions, any>>;
|
|
43
|
-
readonly heading: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-heading").HeadingOptions, any>>;
|
|
44
|
-
readonly underline: import("./kit").ExtensionSpec<import("@tiptap/core").Mark<import("@tiptap/extension-underline").UnderlineOptions, any>>;
|
|
45
|
-
readonly blockquote: import("./kit").ExtensionSpec<import("@tiptap/core").Node<import("@tiptap/extension-blockquote").BlockquoteOptions, any>>;
|
|
46
|
-
readonly link: import("./kit").ExtensionSpec<import("@tiptap/core").Mark<import("@tiptap/extension-link").LinkOptions, any>>;
|
|
47
|
-
readonly textAlign: import("./kit").ExtensionSpec<import("@tiptap/core").Extension<import("@tiptap/extension-text-align").TextAlignOptions, any>>;
|
|
48
|
-
readonly typography: import("./kit").ExtensionSpec<import("@tiptap/core").Extension<import("@tiptap/extension-typography").TypographyOptions, any>>;
|
|
49
|
-
readonly dropcursor: import("./kit").ExtensionSpec<import("@tiptap/core").Extension<import("@tiptap/extension-dropcursor").DropcursorOptions, any>>;
|
|
50
|
-
readonly gapcursor: import("./kit").ExtensionSpec<import("@tiptap/core").Extension<any, any>>;
|
|
51
|
-
readonly history: import("./kit").ExtensionSpec<import("@tiptap/core").Extension<import("@tiptap/extension-history").HistoryOptions, any>>;
|
|
52
|
-
}>, any>[];
|
|
53
|
-
//# sourceMappingURL=extensions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../src/extensions.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAc,CAAA"}
|