@btst/stack 2.4.0 → 2.5.1
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/node_modules/.pnpm/{@tiptap_core@3.15.3_@tiptap_pm@3.15.3 → @tiptap_core@3.20.0_@tiptap_pm@3.15.3}/node_modules/@tiptap/core/dist/index.cjs +68 -8
- package/dist/node_modules/.pnpm/{@tiptap_core@3.15.3_@tiptap_pm@3.15.3 → @tiptap_core@3.20.0_@tiptap_pm@3.15.3}/node_modules/@tiptap/core/dist/index.mjs +68 -8
- package/dist/node_modules/.pnpm/{@tiptap_extension-blockquote@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-blockquote@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-blockquote/dist/index.cjs +2 -2
- package/dist/node_modules/.pnpm/{@tiptap_extension-blockquote@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-blockquote@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-blockquote/dist/index.mjs +2 -2
- package/dist/node_modules/.pnpm/{@tiptap_extension-bold@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-bold@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-bold/dist/index.cjs +2 -2
- package/dist/node_modules/.pnpm/{@tiptap_extension-bold@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-bold@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-bold/dist/index.mjs +2 -2
- package/dist/node_modules/.pnpm/{@tiptap_extension-bubble-menu@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-bubble-menu@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-bubble-menu/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-bubble-menu@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-bubble-menu@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-bubble-menu/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-code-block-lowlight@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@ti_2245ac34d84b5693aa60775b0f7781e3 → @tiptap_extension-code-block-lowlight@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@ti_360e739196c451ebf408f4af5a9f3f24}/node_modules/@tiptap/extension-code-block-lowlight/dist/index.cjs +2 -2
- package/dist/node_modules/.pnpm/{@tiptap_extension-code-block-lowlight@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@ti_2245ac34d84b5693aa60775b0f7781e3 → @tiptap_extension-code-block-lowlight@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@ti_360e739196c451ebf408f4af5a9f3f24}/node_modules/@tiptap/extension-code-block-lowlight/dist/index.mjs +2 -2
- package/dist/node_modules/.pnpm/@tiptap_extension-code-block@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-code-block/dist/index.cjs +319 -0
- package/dist/node_modules/.pnpm/@tiptap_extension-code-block@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-code-block/dist/index.mjs +315 -0
- package/dist/node_modules/.pnpm/{@tiptap_extension-code-block@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-code-block@3.20.0_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-code-block/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-code-block@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-code-block@3.20.0_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-code-block/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-code@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-code@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-code/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-code@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-code@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-code/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-document@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-document@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-document/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-document@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-document@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-document/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-floating-menu@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-floating-menu@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-floating-menu/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-floating-menu@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-floating-menu@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-floating-menu/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-hard-break@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-hard-break@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-hard-break/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-hard-break@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-hard-break@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-hard-break/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-heading@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-heading@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-heading/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-heading@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-heading@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-heading/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-horizontal-rule@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-horizontal-rule@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-horizontal-rule/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-horizontal-rule@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-horizontal-rule@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-horizontal-rule/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-image@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-image@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-image/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-image@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-image@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-image/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-italic@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-italic@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-italic/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-italic@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-italic@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-italic/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-link@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-link@3.20.0_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-link/dist/index.cjs +28 -22
- package/dist/node_modules/.pnpm/{@tiptap_extension-link@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-link@3.20.0_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-link/dist/index.mjs +28 -22
- package/dist/node_modules/.pnpm/{@tiptap_extension-list@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-list@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-list/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-list@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-list@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-list/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-paragraph@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-paragraph@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-paragraph/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-paragraph@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-paragraph@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-paragraph/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-strike@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-strike@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-strike/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-strike@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-strike@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-strike/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-table@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-table@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-table/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-table@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extension-table@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extension-table/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-text-style@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-text-style@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-text-style/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-text-style@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-text-style@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-text-style/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-text@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-text@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-text/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-text@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-text@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-text/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-typography@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-typography@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-typography/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-typography@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-typography@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-typography/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-underline@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-underline@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-underline/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extension-underline@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3_ → @tiptap_extension-underline@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_}/node_modules/@tiptap/extension-underline/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extensions@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extensions@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extensions/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_extensions@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_extensions@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/extensions/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_markdown@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_markdown@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/markdown/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_markdown@3.15.3_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3 → @tiptap_markdown@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3}/node_modules/@tiptap/markdown/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tip_d7a2a9a319317617a8908309649a6dda → @tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_b42b5b2d59902d8a01cd4cc3e2d5dc64}/node_modules/@tiptap/react/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tip_d7a2a9a319317617a8908309649a6dda → @tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_b42b5b2d59902d8a01cd4cc3e2d5dc64}/node_modules/@tiptap/react/dist/index.mjs +2 -2
- package/dist/node_modules/.pnpm/{@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tip_d7a2a9a319317617a8908309649a6dda → @tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_b42b5b2d59902d8a01cd4cc3e2d5dc64}/node_modules/@tiptap/react/dist/menus/index.cjs +2 -2
- package/dist/node_modules/.pnpm/{@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.15.3_@tiptap_pm@3.15.3__@tip_d7a2a9a319317617a8908309649a6dda → @tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_b42b5b2d59902d8a01cd4cc3e2d5dc64}/node_modules/@tiptap/react/dist/menus/index.mjs +2 -2
- package/dist/node_modules/.pnpm/@tiptap_starter-kit@3.15.3/node_modules/@tiptap/starter-kit/dist/index.cjs +17 -17
- package/dist/node_modules/.pnpm/@tiptap_starter-kit@3.15.3/node_modules/@tiptap/starter-kit/dist/index.mjs +17 -17
- package/dist/packages/stack/src/plugins/ai-chat/api/plugin.cjs +33 -47
- package/dist/packages/stack/src/plugins/ai-chat/api/plugin.mjs +33 -47
- package/dist/packages/stack/src/plugins/ai-chat/client/plugin.cjs +14 -21
- package/dist/packages/stack/src/plugins/ai-chat/client/plugin.mjs +15 -22
- package/dist/packages/stack/src/plugins/blog/api/plugin.cjs +28 -45
- package/dist/packages/stack/src/plugins/blog/api/plugin.mjs +22 -39
- package/dist/packages/stack/src/plugins/blog/client/plugin.cjs +23 -27
- package/dist/packages/stack/src/plugins/blog/client/plugin.mjs +24 -28
- package/dist/packages/stack/src/plugins/cms/api/plugin.cjs +14 -17
- package/dist/packages/stack/src/plugins/cms/api/plugin.mjs +14 -17
- package/dist/packages/stack/src/plugins/cms/client/plugin.cjs +11 -15
- package/dist/packages/stack/src/plugins/cms/client/plugin.mjs +12 -16
- package/dist/packages/stack/src/plugins/form-builder/api/plugin.cjs +58 -62
- package/dist/packages/stack/src/plugins/form-builder/api/plugin.mjs +58 -62
- package/dist/packages/stack/src/plugins/form-builder/client/plugin.cjs +12 -12
- package/dist/packages/stack/src/plugins/form-builder/client/plugin.mjs +13 -13
- package/dist/packages/stack/src/plugins/kanban/api/plugin.cjs +86 -117
- package/dist/packages/stack/src/plugins/kanban/api/plugin.mjs +83 -114
- package/dist/packages/stack/src/plugins/kanban/client/plugin.cjs +22 -29
- package/dist/packages/stack/src/plugins/kanban/client/plugin.mjs +23 -30
- package/dist/packages/stack/src/plugins/open-api/api/generator.cjs +2 -1
- package/dist/packages/stack/src/plugins/open-api/api/generator.mjs +2 -1
- package/dist/packages/stack/src/plugins/ui-builder/client/plugin.cjs +8 -8
- package/dist/packages/stack/src/plugins/ui-builder/client/plugin.mjs +9 -9
- package/dist/packages/stack/src/plugins/utils.cjs +42 -0
- package/dist/packages/stack/src/plugins/utils.mjs +41 -1
- package/dist/packages/ui/src/components/minimal-tiptap/components/bubble-menu/link-bubble-menu.cjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/components/bubble-menu/link-bubble-menu.mjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/code-block-lowlight/code-block-lowlight.cjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/code-block-lowlight/code-block-lowlight.mjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/color/color.cjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/color/color.mjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/file-handler/index.cjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/file-handler/index.mjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/horizontal-rule/horizontal-rule.cjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/horizontal-rule/horizontal-rule.mjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/image/components/image-view-block.cjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/image/components/image-view-block.mjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/image/image.cjs +2 -2
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/image/image.mjs +2 -2
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/markdown-paste/markdown-paste.cjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/markdown-paste/markdown-paste.mjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/reset-marks-on-enter/reset-marks-on-enter.cjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/reset-marks-on-enter/reset-marks-on-enter.mjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/unset-all-marks/unset-all-marks.cjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/extensions/unset-all-marks/unset-all-marks.mjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/hooks/use-minimal-tiptap.cjs +7 -7
- package/dist/packages/ui/src/components/minimal-tiptap/hooks/use-minimal-tiptap.mjs +7 -7
- package/dist/packages/ui/src/components/minimal-tiptap/hooks/use-tiptap-editor.cjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/hooks/use-tiptap-editor.mjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/minimal-tiptap.cjs +1 -1
- package/dist/packages/ui/src/components/minimal-tiptap/minimal-tiptap.mjs +1 -1
- package/dist/plugins/ai-chat/api/index.d.cts +1 -1
- package/dist/plugins/ai-chat/api/index.d.mts +1 -1
- package/dist/plugins/ai-chat/api/index.d.ts +1 -1
- package/dist/plugins/ai-chat/client/hooks/index.d.cts +1 -1
- package/dist/plugins/ai-chat/client/hooks/index.d.mts +1 -1
- package/dist/plugins/ai-chat/client/hooks/index.d.ts +1 -1
- package/dist/plugins/ai-chat/client/index.d.cts +8 -8
- package/dist/plugins/ai-chat/client/index.d.mts +8 -8
- package/dist/plugins/ai-chat/client/index.d.ts +8 -8
- package/dist/plugins/ai-chat/query-keys.d.cts +1 -1
- package/dist/plugins/ai-chat/query-keys.d.mts +1 -1
- package/dist/plugins/ai-chat/query-keys.d.ts +1 -1
- package/dist/plugins/blog/api/index.d.cts +1 -1
- package/dist/plugins/blog/api/index.d.mts +1 -1
- package/dist/plugins/blog/api/index.d.ts +1 -1
- package/dist/plugins/blog/client/index.d.cts +12 -12
- package/dist/plugins/blog/client/index.d.mts +12 -12
- package/dist/plugins/blog/client/index.d.ts +12 -12
- package/dist/plugins/blog/query-keys.d.cts +1 -1
- package/dist/plugins/blog/query-keys.d.mts +1 -1
- package/dist/plugins/blog/query-keys.d.ts +1 -1
- package/dist/plugins/client/index.cjs +1 -0
- package/dist/plugins/client/index.d.cts +8 -1
- package/dist/plugins/client/index.d.mts +8 -1
- package/dist/plugins/client/index.d.ts +8 -1
- package/dist/plugins/client/index.mjs +1 -1
- package/dist/plugins/cms/api/index.d.cts +2 -2
- package/dist/plugins/cms/api/index.d.mts +2 -2
- package/dist/plugins/cms/api/index.d.ts +2 -2
- package/dist/plugins/cms/client/hooks/index.d.cts +1 -1
- package/dist/plugins/cms/client/hooks/index.d.mts +1 -1
- package/dist/plugins/cms/client/hooks/index.d.ts +1 -1
- package/dist/plugins/cms/client/index.d.cts +6 -6
- package/dist/plugins/cms/client/index.d.mts +6 -6
- package/dist/plugins/cms/client/index.d.ts +6 -6
- package/dist/plugins/cms/query-keys.d.cts +2 -2
- package/dist/plugins/cms/query-keys.d.mts +2 -2
- package/dist/plugins/cms/query-keys.d.ts +2 -2
- package/dist/plugins/form-builder/api/index.d.cts +2 -2
- package/dist/plugins/form-builder/api/index.d.mts +2 -2
- package/dist/plugins/form-builder/api/index.d.ts +2 -2
- package/dist/plugins/form-builder/client/components/index.d.cts +1 -1
- package/dist/plugins/form-builder/client/components/index.d.mts +1 -1
- package/dist/plugins/form-builder/client/components/index.d.ts +1 -1
- package/dist/plugins/form-builder/client/hooks/index.d.cts +1 -1
- package/dist/plugins/form-builder/client/hooks/index.d.mts +1 -1
- package/dist/plugins/form-builder/client/hooks/index.d.ts +1 -1
- package/dist/plugins/form-builder/client/index.d.cts +6 -6
- package/dist/plugins/form-builder/client/index.d.mts +6 -6
- package/dist/plugins/form-builder/client/index.d.ts +6 -6
- package/dist/plugins/form-builder/query-keys.d.cts +2 -2
- package/dist/plugins/form-builder/query-keys.d.mts +2 -2
- package/dist/plugins/form-builder/query-keys.d.ts +2 -2
- package/dist/plugins/kanban/api/index.d.cts +1 -1
- package/dist/plugins/kanban/api/index.d.mts +1 -1
- package/dist/plugins/kanban/api/index.d.ts +1 -1
- package/dist/plugins/kanban/client/index.d.cts +12 -12
- package/dist/plugins/kanban/client/index.d.mts +12 -12
- package/dist/plugins/kanban/client/index.d.ts +12 -12
- package/dist/plugins/kanban/query-keys.d.cts +1 -1
- package/dist/plugins/kanban/query-keys.d.mts +1 -1
- package/dist/plugins/kanban/query-keys.d.ts +1 -1
- package/dist/plugins/ui-builder/client/hooks/index.d.cts +1 -1
- package/dist/plugins/ui-builder/client/hooks/index.d.mts +1 -1
- package/dist/plugins/ui-builder/client/hooks/index.d.ts +1 -1
- package/dist/plugins/ui-builder/client/index.d.cts +3 -3
- package/dist/plugins/ui-builder/client/index.d.mts +3 -3
- package/dist/plugins/ui-builder/client/index.d.ts +3 -3
- package/dist/plugins/ui-builder/index.d.cts +2 -2
- package/dist/plugins/ui-builder/index.d.mts +2 -2
- package/dist/plugins/ui-builder/index.d.ts +2 -2
- package/dist/shared/{stack.C-WUPMT6.d.cts → stack.B2xZTSiO.d.cts} +4 -4
- package/dist/shared/{stack.CczspVn2.d.mts → stack.B58oHdqm.d.mts} +1 -1
- package/dist/shared/{stack.BepFXT3w.d.mts → stack.B8D4r97Z.d.mts} +22 -22
- package/dist/shared/{stack.CVDTkMoO.d.mts → stack.B8QD11QU.d.cts} +7 -7
- package/dist/shared/{stack.CVDTkMoO.d.cts → stack.B8QD11QU.d.mts} +7 -7
- package/dist/shared/{stack.CVDTkMoO.d.ts → stack.B8QD11QU.d.ts} +7 -7
- package/dist/shared/{stack.kcdnD4gA.d.cts → stack.BgTmujxW.d.mts} +1 -1
- package/dist/shared/{stack.DdI5W6MB.d.mts → stack.BozPgbrZ.d.cts} +19 -19
- package/dist/shared/{stack.DdI5W6MB.d.ts → stack.BozPgbrZ.d.mts} +19 -19
- package/dist/shared/{stack.DdI5W6MB.d.cts → stack.BozPgbrZ.d.ts} +19 -19
- package/dist/shared/{stack.BUkC2EsZ.d.cts → stack.C9Mg2Q46.d.cts} +1 -1
- package/dist/shared/{stack.Kq2-QzOC.d.ts → stack.CLQuVdwK.d.ts} +1 -1
- package/dist/shared/{stack.B7ONvlD_.d.mts → stack.CSx98K5H.d.cts} +1 -1
- package/dist/shared/{stack.BEn34wW6.d.ts → stack.CTDVxbrA.d.ts} +12 -12
- package/dist/shared/{stack.C-Ptrz8s.d.ts → stack.Cj_zKww4.d.ts} +4 -4
- package/dist/shared/{stack.DWoCZff7.d.cts → stack.D-b5zbPm.d.cts} +12 -12
- package/dist/shared/{stack.CL8ts1Mu.d.ts → stack.DXnclTG7.d.ts} +8 -8
- package/dist/shared/{stack.heOA9gzA.d.cts → stack.DaZM10cp.d.cts} +8 -8
- package/dist/shared/{stack.CgWzG5jH.d.ts → stack.DgKOwl20.d.ts} +22 -22
- package/dist/shared/{stack.DTDxgFj8.d.mts → stack.FVWf2JhZ.d.mts} +12 -12
- package/dist/shared/{stack.Dk5r4W1F.d.mts → stack.cfCkioTe.d.mts} +8 -8
- package/dist/shared/{stack.6fUOjLs9.d.mts → stack.dH7u-TJH.d.mts} +4 -4
- package/dist/shared/{stack.DASmUVjX.d.ts → stack.sO33ZDhK.d.ts} +1 -1
- package/dist/shared/{stack.D3GB6wKv.d.cts → stack.uWSqCWAb.d.cts} +22 -22
- package/package.json +1 -1
- package/src/plugins/ai-chat/api/plugin.ts +48 -63
- package/src/plugins/ai-chat/client/plugin.tsx +23 -31
- package/src/plugins/blog/api/plugin.ts +31 -47
- package/src/plugins/blog/client/plugin.tsx +36 -39
- package/src/plugins/client/index.ts +5 -1
- package/src/plugins/cms/api/plugin.ts +14 -17
- package/src/plugins/cms/client/plugin.tsx +18 -21
- package/src/plugins/cms/types.ts +7 -7
- package/src/plugins/form-builder/api/plugin.ts +64 -64
- package/src/plugins/form-builder/client/plugin.tsx +19 -18
- package/src/plugins/form-builder/types.ts +19 -24
- package/src/plugins/kanban/api/plugin.ts +111 -136
- package/src/plugins/kanban/client/plugin.tsx +35 -41
- package/src/plugins/open-api/api/generator.ts +3 -1
- package/src/plugins/ui-builder/client/plugin.tsx +11 -10
- package/src/plugins/ui-builder/types.ts +4 -4
- package/src/plugins/utils.ts +92 -1
- /package/dist/node_modules/.pnpm/{@tiptap_core@3.15.3_@tiptap_pm@3.15.3 → @tiptap_core@3.20.0_@tiptap_pm@3.15.3}/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@tiptap_core@3.15.3_@tiptap_pm@3.15.3 → @tiptap_core@3.20.0_@tiptap_pm@3.15.3}/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.mjs +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { StarterKit } from '../../../../../../node_modules/.pnpm/@tiptap_starter-kit@3.15.3/node_modules/@tiptap/starter-kit/dist/index.mjs';
|
|
3
|
-
import { useEditor } from '../../../../../../node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.
|
|
4
|
-
import { Typography } from '../../../../../../node_modules/.pnpm/@tiptap_extension-typography@3.15.3_@tiptap_core@3.
|
|
5
|
-
import { TextStyle } from '../../../../../../node_modules/.pnpm/@tiptap_extension-text-style@3.15.3_@tiptap_core@3.
|
|
6
|
-
import { Selection, Placeholder } from '../../../../../../node_modules/.pnpm/@tiptap_extensions@3.15.3_@tiptap_core@3.
|
|
7
|
-
import { Markdown } from '../../../../../../node_modules/.pnpm/@tiptap_markdown@3.15.3_@tiptap_core@3.
|
|
8
|
-
import { TaskList, TaskItem } from '../../../../../../node_modules/.pnpm/@tiptap_extension-list@3.15.3_@tiptap_core@3.
|
|
9
|
-
import { TableKit } from '../../../../../../node_modules/.pnpm/@tiptap_extension-table@3.15.3_@tiptap_core@3.
|
|
3
|
+
import { useEditor } from '../../../../../../node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_b42b5b2d59902d8a01cd4cc3e2d5dc64/node_modules/@tiptap/react/dist/index.mjs';
|
|
4
|
+
import { Typography } from '../../../../../../node_modules/.pnpm/@tiptap_extension-typography@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-typography/dist/index.mjs';
|
|
5
|
+
import { TextStyle } from '../../../../../../node_modules/.pnpm/@tiptap_extension-text-style@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3_/node_modules/@tiptap/extension-text-style/dist/index.mjs';
|
|
6
|
+
import { Selection, Placeholder } from '../../../../../../node_modules/.pnpm/@tiptap_extensions@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extensions/dist/index.mjs';
|
|
7
|
+
import { Markdown } from '../../../../../../node_modules/.pnpm/@tiptap_markdown@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/markdown/dist/index.mjs';
|
|
8
|
+
import { TaskList, TaskItem } from '../../../../../../node_modules/.pnpm/@tiptap_extension-list@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-list/dist/index.mjs';
|
|
9
|
+
import { TableKit } from '../../../../../../node_modules/.pnpm/@tiptap_extension-table@3.15.3_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tiptap_pm@3.15.3/node_modules/@tiptap/extension-table/dist/index.mjs';
|
|
10
10
|
import { CodeBlockLowlight } from '../extensions/code-block-lowlight/code-block-lowlight.mjs';
|
|
11
11
|
import { Color } from '../extensions/color/color.mjs';
|
|
12
12
|
import { HorizontalRule } from '../extensions/horizontal-rule/horizontal-rule.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
const index = require('../../../../../../node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.
|
|
4
|
+
const index = require('../../../../../../node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_b42b5b2d59902d8a01cd4cc3e2d5dc64/node_modules/@tiptap/react/dist/index.cjs');
|
|
5
5
|
const React = require('react');
|
|
6
6
|
|
|
7
7
|
function useTiptapEditor(providedEditor) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useCurrentEditor, useEditorState } from '../../../../../../node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.
|
|
2
|
+
import { useCurrentEditor, useEditorState } from '../../../../../../node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_b42b5b2d59902d8a01cd4cc3e2d5dc64/node_modules/@tiptap/react/dist/index.mjs';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
|
|
5
5
|
function useTiptapEditor(providedEditor) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
const index = require('../../../../../node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.
|
|
6
|
+
const index = require('../../../../../node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_b42b5b2d59902d8a01cd4cc3e2d5dc64/node_modules/@tiptap/react/dist/index.cjs');
|
|
7
7
|
const separator = require('../separator.cjs');
|
|
8
8
|
const utils = require('../../lib/utils.cjs');
|
|
9
9
|
const one = require('./components/section/one.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import { EditorContext, EditorContent } from '../../../../../node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.
|
|
2
|
+
import { EditorContext, EditorContent } from '../../../../../node_modules/.pnpm/@tiptap_react@3.15.3_@floating-ui_dom@1.7.4_@tiptap_core@3.20.0_@tiptap_pm@3.15.3__@tip_b42b5b2d59902d8a01cd4cc3e2d5dc64/node_modules/@tiptap/react/dist/index.mjs';
|
|
3
3
|
import { Separator } from '../separator.mjs';
|
|
4
4
|
import { cn } from '../../lib/utils.mjs';
|
|
5
5
|
import { SectionOne } from './components/section/one.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { e as AiChatApiRouter, b as AiChatBackendConfig, A as AiChatBackendHooks, a as AiChatMode, C as ChatApiContext, d as aiChatBackendPlugin, c as createAiChatQueryKeys } from '../../../shared/stack.
|
|
1
|
+
export { e as AiChatApiRouter, b as AiChatBackendConfig, A as AiChatBackendHooks, a as AiChatMode, C as ChatApiContext, d as aiChatBackendPlugin, c as createAiChatQueryKeys } from '../../../shared/stack.D-b5zbPm.cjs';
|
|
2
2
|
import { Adapter } from '@btst/db';
|
|
3
3
|
import { C as Conversation, M as Message } from '../../../shared/stack.Be1QIHEn.cjs';
|
|
4
4
|
import '@tanstack/react-query';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { e as AiChatApiRouter, b as AiChatBackendConfig, A as AiChatBackendHooks, a as AiChatMode, C as ChatApiContext, d as aiChatBackendPlugin, c as createAiChatQueryKeys } from '../../../shared/stack.
|
|
1
|
+
export { e as AiChatApiRouter, b as AiChatBackendConfig, A as AiChatBackendHooks, a as AiChatMode, C as ChatApiContext, d as aiChatBackendPlugin, c as createAiChatQueryKeys } from '../../../shared/stack.FVWf2JhZ.mjs';
|
|
2
2
|
import { Adapter } from '@btst/db';
|
|
3
3
|
import { C as Conversation, M as Message } from '../../../shared/stack.Be1QIHEn.mjs';
|
|
4
4
|
import '@tanstack/react-query';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { e as AiChatApiRouter, b as AiChatBackendConfig, A as AiChatBackendHooks, a as AiChatMode, C as ChatApiContext, d as aiChatBackendPlugin, c as createAiChatQueryKeys } from '../../../shared/stack.
|
|
1
|
+
export { e as AiChatApiRouter, b as AiChatBackendConfig, A as AiChatBackendHooks, a as AiChatMode, C as ChatApiContext, d as aiChatBackendPlugin, c as createAiChatQueryKeys } from '../../../shared/stack.CTDVxbrA.js';
|
|
2
2
|
import { Adapter } from '@btst/db';
|
|
3
3
|
import { C as Conversation, M as Message } from '../../../shared/stack.Be1QIHEn.js';
|
|
4
4
|
import '@tanstack/react-query';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { f as ConversationWithMessages } from '../../../../shared/stack.
|
|
2
|
+
import { f as ConversationWithMessages } from '../../../../shared/stack.D-b5zbPm.cjs';
|
|
3
3
|
import { S as SerializedConversation } from '../../../../shared/stack.Be1QIHEn.cjs';
|
|
4
4
|
export { a as SerializedMessage } from '../../../../shared/stack.Be1QIHEn.cjs';
|
|
5
5
|
import '@btst/stack/plugins/client';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { f as ConversationWithMessages } from '../../../../shared/stack.
|
|
2
|
+
import { f as ConversationWithMessages } from '../../../../shared/stack.FVWf2JhZ.mjs';
|
|
3
3
|
import { S as SerializedConversation } from '../../../../shared/stack.Be1QIHEn.mjs';
|
|
4
4
|
export { a as SerializedMessage } from '../../../../shared/stack.Be1QIHEn.mjs';
|
|
5
5
|
import '@btst/stack/plugins/client';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { f as ConversationWithMessages } from '../../../../shared/stack.
|
|
2
|
+
import { f as ConversationWithMessages } from '../../../../shared/stack.CTDVxbrA.js';
|
|
3
3
|
import { S as SerializedConversation } from '../../../../shared/stack.Be1QIHEn.js';
|
|
4
4
|
export { a as SerializedMessage } from '../../../../shared/stack.Be1QIHEn.js';
|
|
5
5
|
import '@btst/stack/plugins/client';
|
|
@@ -83,31 +83,31 @@ interface AiChatClientConfig {
|
|
|
83
83
|
*/
|
|
84
84
|
interface AiChatClientHooks {
|
|
85
85
|
/**
|
|
86
|
-
* Called before loading conversations list.
|
|
86
|
+
* Called before loading conversations list. Throw an error to cancel loading.
|
|
87
87
|
* @param context - Loader context with path, params, etc.
|
|
88
88
|
*/
|
|
89
|
-
beforeLoadConversations?: (context: LoaderContext) => Promise<
|
|
89
|
+
beforeLoadConversations?: (context: LoaderContext) => Promise<void> | void;
|
|
90
90
|
/**
|
|
91
|
-
* Called after conversations are loaded.
|
|
91
|
+
* Called after conversations are loaded. Throw an error to cancel further processing.
|
|
92
92
|
* @param conversations - Array of loaded conversations or null
|
|
93
93
|
* @param context - Loader context
|
|
94
94
|
*/
|
|
95
|
-
afterLoadConversations?: (conversations: SerializedConversation[] | null, context: LoaderContext) => Promise<
|
|
95
|
+
afterLoadConversations?: (conversations: SerializedConversation[] | null, context: LoaderContext) => Promise<void> | void;
|
|
96
96
|
/**
|
|
97
|
-
* Called before loading a single conversation.
|
|
97
|
+
* Called before loading a single conversation. Throw an error to cancel loading.
|
|
98
98
|
* @param id - Conversation ID being loaded
|
|
99
99
|
* @param context - Loader context
|
|
100
100
|
*/
|
|
101
|
-
beforeLoadConversation?: (id: string, context: LoaderContext) => Promise<
|
|
101
|
+
beforeLoadConversation?: (id: string, context: LoaderContext) => Promise<void> | void;
|
|
102
102
|
/**
|
|
103
|
-
* Called after a conversation is loaded.
|
|
103
|
+
* Called after a conversation is loaded. Throw an error to cancel further processing.
|
|
104
104
|
* @param conversation - Loaded conversation or null if not found
|
|
105
105
|
* @param id - Conversation ID that was requested
|
|
106
106
|
* @param context - Loader context
|
|
107
107
|
*/
|
|
108
108
|
afterLoadConversation?: (conversation: (SerializedConversation & {
|
|
109
109
|
messages: SerializedMessage[];
|
|
110
|
-
}) | null, id: string, context: LoaderContext) => Promise<
|
|
110
|
+
}) | null, id: string, context: LoaderContext) => Promise<void> | void;
|
|
111
111
|
/**
|
|
112
112
|
* Called when a loading error occurs
|
|
113
113
|
* @param error - The error that occurred
|
|
@@ -83,31 +83,31 @@ interface AiChatClientConfig {
|
|
|
83
83
|
*/
|
|
84
84
|
interface AiChatClientHooks {
|
|
85
85
|
/**
|
|
86
|
-
* Called before loading conversations list.
|
|
86
|
+
* Called before loading conversations list. Throw an error to cancel loading.
|
|
87
87
|
* @param context - Loader context with path, params, etc.
|
|
88
88
|
*/
|
|
89
|
-
beforeLoadConversations?: (context: LoaderContext) => Promise<
|
|
89
|
+
beforeLoadConversations?: (context: LoaderContext) => Promise<void> | void;
|
|
90
90
|
/**
|
|
91
|
-
* Called after conversations are loaded.
|
|
91
|
+
* Called after conversations are loaded. Throw an error to cancel further processing.
|
|
92
92
|
* @param conversations - Array of loaded conversations or null
|
|
93
93
|
* @param context - Loader context
|
|
94
94
|
*/
|
|
95
|
-
afterLoadConversations?: (conversations: SerializedConversation[] | null, context: LoaderContext) => Promise<
|
|
95
|
+
afterLoadConversations?: (conversations: SerializedConversation[] | null, context: LoaderContext) => Promise<void> | void;
|
|
96
96
|
/**
|
|
97
|
-
* Called before loading a single conversation.
|
|
97
|
+
* Called before loading a single conversation. Throw an error to cancel loading.
|
|
98
98
|
* @param id - Conversation ID being loaded
|
|
99
99
|
* @param context - Loader context
|
|
100
100
|
*/
|
|
101
|
-
beforeLoadConversation?: (id: string, context: LoaderContext) => Promise<
|
|
101
|
+
beforeLoadConversation?: (id: string, context: LoaderContext) => Promise<void> | void;
|
|
102
102
|
/**
|
|
103
|
-
* Called after a conversation is loaded.
|
|
103
|
+
* Called after a conversation is loaded. Throw an error to cancel further processing.
|
|
104
104
|
* @param conversation - Loaded conversation or null if not found
|
|
105
105
|
* @param id - Conversation ID that was requested
|
|
106
106
|
* @param context - Loader context
|
|
107
107
|
*/
|
|
108
108
|
afterLoadConversation?: (conversation: (SerializedConversation & {
|
|
109
109
|
messages: SerializedMessage[];
|
|
110
|
-
}) | null, id: string, context: LoaderContext) => Promise<
|
|
110
|
+
}) | null, id: string, context: LoaderContext) => Promise<void> | void;
|
|
111
111
|
/**
|
|
112
112
|
* Called when a loading error occurs
|
|
113
113
|
* @param error - The error that occurred
|
|
@@ -83,31 +83,31 @@ interface AiChatClientConfig {
|
|
|
83
83
|
*/
|
|
84
84
|
interface AiChatClientHooks {
|
|
85
85
|
/**
|
|
86
|
-
* Called before loading conversations list.
|
|
86
|
+
* Called before loading conversations list. Throw an error to cancel loading.
|
|
87
87
|
* @param context - Loader context with path, params, etc.
|
|
88
88
|
*/
|
|
89
|
-
beforeLoadConversations?: (context: LoaderContext) => Promise<
|
|
89
|
+
beforeLoadConversations?: (context: LoaderContext) => Promise<void> | void;
|
|
90
90
|
/**
|
|
91
|
-
* Called after conversations are loaded.
|
|
91
|
+
* Called after conversations are loaded. Throw an error to cancel further processing.
|
|
92
92
|
* @param conversations - Array of loaded conversations or null
|
|
93
93
|
* @param context - Loader context
|
|
94
94
|
*/
|
|
95
|
-
afterLoadConversations?: (conversations: SerializedConversation[] | null, context: LoaderContext) => Promise<
|
|
95
|
+
afterLoadConversations?: (conversations: SerializedConversation[] | null, context: LoaderContext) => Promise<void> | void;
|
|
96
96
|
/**
|
|
97
|
-
* Called before loading a single conversation.
|
|
97
|
+
* Called before loading a single conversation. Throw an error to cancel loading.
|
|
98
98
|
* @param id - Conversation ID being loaded
|
|
99
99
|
* @param context - Loader context
|
|
100
100
|
*/
|
|
101
|
-
beforeLoadConversation?: (id: string, context: LoaderContext) => Promise<
|
|
101
|
+
beforeLoadConversation?: (id: string, context: LoaderContext) => Promise<void> | void;
|
|
102
102
|
/**
|
|
103
|
-
* Called after a conversation is loaded.
|
|
103
|
+
* Called after a conversation is loaded. Throw an error to cancel further processing.
|
|
104
104
|
* @param conversation - Loaded conversation or null if not found
|
|
105
105
|
* @param id - Conversation ID that was requested
|
|
106
106
|
* @param context - Loader context
|
|
107
107
|
*/
|
|
108
108
|
afterLoadConversation?: (conversation: (SerializedConversation & {
|
|
109
109
|
messages: SerializedMessage[];
|
|
110
|
-
}) | null, id: string, context: LoaderContext) => Promise<
|
|
110
|
+
}) | null, id: string, context: LoaderContext) => Promise<void> | void;
|
|
111
111
|
/**
|
|
112
112
|
* Called when a loading error occurs
|
|
113
113
|
* @param error - The error that occurred
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@tanstack/react-query';
|
|
2
2
|
import '@btst/stack/plugins/client';
|
|
3
3
|
import '../../shared/stack.Be1QIHEn.cjs';
|
|
4
|
-
export { f as ConversationWithMessages, c as createAiChatQueryKeys } from '../../shared/stack.
|
|
4
|
+
export { f as ConversationWithMessages, c as createAiChatQueryKeys } from '../../shared/stack.D-b5zbPm.cjs';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'zod/v4/core';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@tanstack/react-query';
|
|
2
2
|
import '@btst/stack/plugins/client';
|
|
3
3
|
import '../../shared/stack.Be1QIHEn.mjs';
|
|
4
|
-
export { f as ConversationWithMessages, c as createAiChatQueryKeys } from '../../shared/stack.
|
|
4
|
+
export { f as ConversationWithMessages, c as createAiChatQueryKeys } from '../../shared/stack.FVWf2JhZ.mjs';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'zod/v4/core';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@tanstack/react-query';
|
|
2
2
|
import '@btst/stack/plugins/client';
|
|
3
3
|
import '../../shared/stack.Be1QIHEn.js';
|
|
4
|
-
export { f as ConversationWithMessages, c as createAiChatQueryKeys } from '../../shared/stack.
|
|
4
|
+
export { f as ConversationWithMessages, c as createAiChatQueryKeys } from '../../shared/stack.CTDVxbrA.js';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'zod/v4/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.
|
|
1
|
+
export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.DaZM10cp.cjs';
|
|
2
2
|
import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BQmuNl5p.cjs';
|
|
3
3
|
import '@tanstack/react-query';
|
|
4
4
|
import '@btst/stack/plugins/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.
|
|
1
|
+
export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.cfCkioTe.mjs';
|
|
2
2
|
import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BQmuNl5p.mjs';
|
|
3
3
|
import '@tanstack/react-query';
|
|
4
4
|
import '@btst/stack/plugins/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.
|
|
1
|
+
export { B as BLOG_QUERY_KEYS, h as BlogApiContext, k as BlogApiRouter, i as BlogBackendHooks, e as BlogRouteKey, N as NextPreviousPostsQuerySchema, P as PostListParams, f as PostListQuerySchema, c as PostListResult, j as blogBackendPlugin, d as createBlogQueryKeys, g as getAllPosts, b as getAllTags, a as getPostBySlug } from '../../../shared/stack.DXnclTG7.js';
|
|
2
2
|
import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BQmuNl5p.js';
|
|
3
3
|
import '@tanstack/react-query';
|
|
4
4
|
import '@btst/stack/plugins/client';
|
|
@@ -78,45 +78,45 @@ interface BlogClientConfig {
|
|
|
78
78
|
*/
|
|
79
79
|
interface BlogClientHooks {
|
|
80
80
|
/**
|
|
81
|
-
* Called before loading posts list.
|
|
81
|
+
* Called before loading posts list. Throw an error to cancel loading.
|
|
82
82
|
* @param filter - Filter parameters including published status
|
|
83
83
|
* @param context - Loader context with path, params, etc.
|
|
84
84
|
*/
|
|
85
85
|
beforeLoadPosts?: (filter: {
|
|
86
86
|
published: boolean;
|
|
87
|
-
}, context: LoaderContext) => Promise<
|
|
87
|
+
}, context: LoaderContext) => Promise<void> | void;
|
|
88
88
|
/**
|
|
89
|
-
* Called after posts are loaded.
|
|
89
|
+
* Called after posts are loaded. Throw an error to cancel further processing.
|
|
90
90
|
* @param posts - Array of loaded posts or null
|
|
91
91
|
* @param filter - Filter parameters used
|
|
92
92
|
* @param context - Loader context
|
|
93
93
|
*/
|
|
94
94
|
afterLoadPosts?: (posts: Post[] | null, filter: {
|
|
95
95
|
published: boolean;
|
|
96
|
-
}, context: LoaderContext) => Promise<
|
|
96
|
+
}, context: LoaderContext) => Promise<void> | void;
|
|
97
97
|
/**
|
|
98
|
-
* Called before loading a single post.
|
|
98
|
+
* Called before loading a single post. Throw an error to cancel loading.
|
|
99
99
|
* @param slug - Post slug being loaded
|
|
100
100
|
* @param context - Loader context
|
|
101
101
|
*/
|
|
102
|
-
beforeLoadPost?: (slug: string, context: LoaderContext) => Promise<
|
|
102
|
+
beforeLoadPost?: (slug: string, context: LoaderContext) => Promise<void> | void;
|
|
103
103
|
/**
|
|
104
|
-
* Called after a post is loaded.
|
|
104
|
+
* Called after a post is loaded. Throw an error to cancel further processing.
|
|
105
105
|
* @param post - Loaded post or null if not found
|
|
106
106
|
* @param slug - Post slug that was requested
|
|
107
107
|
* @param context - Loader context
|
|
108
108
|
*/
|
|
109
|
-
afterLoadPost?: (post: Post | null, slug: string, context: LoaderContext) => Promise<
|
|
109
|
+
afterLoadPost?: (post: Post | null, slug: string, context: LoaderContext) => Promise<void> | void;
|
|
110
110
|
/**
|
|
111
|
-
* Called before loading the new post page.
|
|
111
|
+
* Called before loading the new post page. Throw an error to cancel.
|
|
112
112
|
* @param context - Loader context
|
|
113
113
|
*/
|
|
114
|
-
beforeLoadNewPost?: (context: LoaderContext) => Promise<
|
|
114
|
+
beforeLoadNewPost?: (context: LoaderContext) => Promise<void> | void;
|
|
115
115
|
/**
|
|
116
|
-
* Called after the new post page is loaded.
|
|
116
|
+
* Called after the new post page is loaded. Throw an error to cancel.
|
|
117
117
|
* @param context - Loader context
|
|
118
118
|
*/
|
|
119
|
-
afterLoadNewPost?: (context: LoaderContext) => Promise<
|
|
119
|
+
afterLoadNewPost?: (context: LoaderContext) => Promise<void> | void;
|
|
120
120
|
/**
|
|
121
121
|
* Called when a loading error occurs
|
|
122
122
|
* @param error - The error that occurred
|
|
@@ -78,45 +78,45 @@ interface BlogClientConfig {
|
|
|
78
78
|
*/
|
|
79
79
|
interface BlogClientHooks {
|
|
80
80
|
/**
|
|
81
|
-
* Called before loading posts list.
|
|
81
|
+
* Called before loading posts list. Throw an error to cancel loading.
|
|
82
82
|
* @param filter - Filter parameters including published status
|
|
83
83
|
* @param context - Loader context with path, params, etc.
|
|
84
84
|
*/
|
|
85
85
|
beforeLoadPosts?: (filter: {
|
|
86
86
|
published: boolean;
|
|
87
|
-
}, context: LoaderContext) => Promise<
|
|
87
|
+
}, context: LoaderContext) => Promise<void> | void;
|
|
88
88
|
/**
|
|
89
|
-
* Called after posts are loaded.
|
|
89
|
+
* Called after posts are loaded. Throw an error to cancel further processing.
|
|
90
90
|
* @param posts - Array of loaded posts or null
|
|
91
91
|
* @param filter - Filter parameters used
|
|
92
92
|
* @param context - Loader context
|
|
93
93
|
*/
|
|
94
94
|
afterLoadPosts?: (posts: Post[] | null, filter: {
|
|
95
95
|
published: boolean;
|
|
96
|
-
}, context: LoaderContext) => Promise<
|
|
96
|
+
}, context: LoaderContext) => Promise<void> | void;
|
|
97
97
|
/**
|
|
98
|
-
* Called before loading a single post.
|
|
98
|
+
* Called before loading a single post. Throw an error to cancel loading.
|
|
99
99
|
* @param slug - Post slug being loaded
|
|
100
100
|
* @param context - Loader context
|
|
101
101
|
*/
|
|
102
|
-
beforeLoadPost?: (slug: string, context: LoaderContext) => Promise<
|
|
102
|
+
beforeLoadPost?: (slug: string, context: LoaderContext) => Promise<void> | void;
|
|
103
103
|
/**
|
|
104
|
-
* Called after a post is loaded.
|
|
104
|
+
* Called after a post is loaded. Throw an error to cancel further processing.
|
|
105
105
|
* @param post - Loaded post or null if not found
|
|
106
106
|
* @param slug - Post slug that was requested
|
|
107
107
|
* @param context - Loader context
|
|
108
108
|
*/
|
|
109
|
-
afterLoadPost?: (post: Post | null, slug: string, context: LoaderContext) => Promise<
|
|
109
|
+
afterLoadPost?: (post: Post | null, slug: string, context: LoaderContext) => Promise<void> | void;
|
|
110
110
|
/**
|
|
111
|
-
* Called before loading the new post page.
|
|
111
|
+
* Called before loading the new post page. Throw an error to cancel.
|
|
112
112
|
* @param context - Loader context
|
|
113
113
|
*/
|
|
114
|
-
beforeLoadNewPost?: (context: LoaderContext) => Promise<
|
|
114
|
+
beforeLoadNewPost?: (context: LoaderContext) => Promise<void> | void;
|
|
115
115
|
/**
|
|
116
|
-
* Called after the new post page is loaded.
|
|
116
|
+
* Called after the new post page is loaded. Throw an error to cancel.
|
|
117
117
|
* @param context - Loader context
|
|
118
118
|
*/
|
|
119
|
-
afterLoadNewPost?: (context: LoaderContext) => Promise<
|
|
119
|
+
afterLoadNewPost?: (context: LoaderContext) => Promise<void> | void;
|
|
120
120
|
/**
|
|
121
121
|
* Called when a loading error occurs
|
|
122
122
|
* @param error - The error that occurred
|
|
@@ -78,45 +78,45 @@ interface BlogClientConfig {
|
|
|
78
78
|
*/
|
|
79
79
|
interface BlogClientHooks {
|
|
80
80
|
/**
|
|
81
|
-
* Called before loading posts list.
|
|
81
|
+
* Called before loading posts list. Throw an error to cancel loading.
|
|
82
82
|
* @param filter - Filter parameters including published status
|
|
83
83
|
* @param context - Loader context with path, params, etc.
|
|
84
84
|
*/
|
|
85
85
|
beforeLoadPosts?: (filter: {
|
|
86
86
|
published: boolean;
|
|
87
|
-
}, context: LoaderContext) => Promise<
|
|
87
|
+
}, context: LoaderContext) => Promise<void> | void;
|
|
88
88
|
/**
|
|
89
|
-
* Called after posts are loaded.
|
|
89
|
+
* Called after posts are loaded. Throw an error to cancel further processing.
|
|
90
90
|
* @param posts - Array of loaded posts or null
|
|
91
91
|
* @param filter - Filter parameters used
|
|
92
92
|
* @param context - Loader context
|
|
93
93
|
*/
|
|
94
94
|
afterLoadPosts?: (posts: Post[] | null, filter: {
|
|
95
95
|
published: boolean;
|
|
96
|
-
}, context: LoaderContext) => Promise<
|
|
96
|
+
}, context: LoaderContext) => Promise<void> | void;
|
|
97
97
|
/**
|
|
98
|
-
* Called before loading a single post.
|
|
98
|
+
* Called before loading a single post. Throw an error to cancel loading.
|
|
99
99
|
* @param slug - Post slug being loaded
|
|
100
100
|
* @param context - Loader context
|
|
101
101
|
*/
|
|
102
|
-
beforeLoadPost?: (slug: string, context: LoaderContext) => Promise<
|
|
102
|
+
beforeLoadPost?: (slug: string, context: LoaderContext) => Promise<void> | void;
|
|
103
103
|
/**
|
|
104
|
-
* Called after a post is loaded.
|
|
104
|
+
* Called after a post is loaded. Throw an error to cancel further processing.
|
|
105
105
|
* @param post - Loaded post or null if not found
|
|
106
106
|
* @param slug - Post slug that was requested
|
|
107
107
|
* @param context - Loader context
|
|
108
108
|
*/
|
|
109
|
-
afterLoadPost?: (post: Post | null, slug: string, context: LoaderContext) => Promise<
|
|
109
|
+
afterLoadPost?: (post: Post | null, slug: string, context: LoaderContext) => Promise<void> | void;
|
|
110
110
|
/**
|
|
111
|
-
* Called before loading the new post page.
|
|
111
|
+
* Called before loading the new post page. Throw an error to cancel.
|
|
112
112
|
* @param context - Loader context
|
|
113
113
|
*/
|
|
114
|
-
beforeLoadNewPost?: (context: LoaderContext) => Promise<
|
|
114
|
+
beforeLoadNewPost?: (context: LoaderContext) => Promise<void> | void;
|
|
115
115
|
/**
|
|
116
|
-
* Called after the new post page is loaded.
|
|
116
|
+
* Called after the new post page is loaded. Throw an error to cancel.
|
|
117
117
|
* @param context - Loader context
|
|
118
118
|
*/
|
|
119
|
-
afterLoadNewPost?: (context: LoaderContext) => Promise<
|
|
119
|
+
afterLoadNewPost?: (context: LoaderContext) => Promise<void> | void;
|
|
120
120
|
/**
|
|
121
121
|
* Called when a loading error occurs
|
|
122
122
|
* @param error - The error that occurred
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@tanstack/react-query';
|
|
2
|
-
export { d as createBlogQueryKeys } from '../../shared/stack.
|
|
2
|
+
export { d as createBlogQueryKeys } from '../../shared/stack.DaZM10cp.cjs';
|
|
3
3
|
import '@btst/stack/plugins/client';
|
|
4
4
|
import '../../shared/stack.BQmuNl5p.cjs';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@tanstack/react-query';
|
|
2
|
-
export { d as createBlogQueryKeys } from '../../shared/stack.
|
|
2
|
+
export { d as createBlogQueryKeys } from '../../shared/stack.cfCkioTe.mjs';
|
|
3
3
|
import '@btst/stack/plugins/client';
|
|
4
4
|
import '../../shared/stack.BQmuNl5p.mjs';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@tanstack/react-query';
|
|
2
|
-
export { d as createBlogQueryKeys } from '../../shared/stack.
|
|
2
|
+
export { d as createBlogQueryKeys } from '../../shared/stack.DXnclTG7.js';
|
|
3
3
|
import '@btst/stack/plugins/client';
|
|
4
4
|
import '../../shared/stack.BQmuNl5p.js';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
@@ -10,6 +10,7 @@ function defineClientPlugin(plugin) {
|
|
|
10
10
|
|
|
11
11
|
exports.createApiClient = utils.createApiClient;
|
|
12
12
|
exports.isConnectionError = utils.isConnectionError;
|
|
13
|
+
exports.runClientHookWithShim = utils.runClientHookWithShim;
|
|
13
14
|
exports.createRoute = yar.createRoute;
|
|
14
15
|
exports.createRouter = yar.createRouter;
|
|
15
16
|
exports.createClient = client.createClient;
|
|
@@ -7,6 +7,13 @@ export { createClient } from 'better-call/client';
|
|
|
7
7
|
import { Router, Endpoint } from 'better-call';
|
|
8
8
|
import '@btst/db';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Client-side equivalent of runHookWithShim — throws a plain Error instead of an HTTP error.
|
|
12
|
+
* Hooks may deny by returning false (old) or throwing (new); both normalize to an Error.
|
|
13
|
+
*
|
|
14
|
+
* See `runHookWithShim` for the full migration note on boolean-vs-void semantics.
|
|
15
|
+
*/
|
|
16
|
+
declare function runClientHookWithShim<T>(hookFn: () => Promise<T> | T, defaultMessage: string): Promise<Exclude<Awaited<T>, false>>;
|
|
10
17
|
/**
|
|
11
18
|
* Returns true when a fetch error is a connection-refused / no-server error.
|
|
12
19
|
* Used in SSR loaders to emit an actionable build-time warning when
|
|
@@ -60,4 +67,4 @@ declare function createApiClient<TRouter extends Router | Record<string, Endpoin
|
|
|
60
67
|
*/
|
|
61
68
|
declare function defineClientPlugin<TOverrides = Record<string, never>, TRoutes extends Record<string, Route> = Record<string, Route>>(plugin: ClientPlugin<TOverrides, TRoutes>): ClientPlugin<TOverrides, TRoutes>;
|
|
62
69
|
|
|
63
|
-
export { ClientPlugin, createApiClient, defineClientPlugin, isConnectionError };
|
|
70
|
+
export { ClientPlugin, createApiClient, defineClientPlugin, isConnectionError, runClientHookWithShim };
|
|
@@ -7,6 +7,13 @@ export { createClient } from 'better-call/client';
|
|
|
7
7
|
import { Router, Endpoint } from 'better-call';
|
|
8
8
|
import '@btst/db';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Client-side equivalent of runHookWithShim — throws a plain Error instead of an HTTP error.
|
|
12
|
+
* Hooks may deny by returning false (old) or throwing (new); both normalize to an Error.
|
|
13
|
+
*
|
|
14
|
+
* See `runHookWithShim` for the full migration note on boolean-vs-void semantics.
|
|
15
|
+
*/
|
|
16
|
+
declare function runClientHookWithShim<T>(hookFn: () => Promise<T> | T, defaultMessage: string): Promise<Exclude<Awaited<T>, false>>;
|
|
10
17
|
/**
|
|
11
18
|
* Returns true when a fetch error is a connection-refused / no-server error.
|
|
12
19
|
* Used in SSR loaders to emit an actionable build-time warning when
|
|
@@ -60,4 +67,4 @@ declare function createApiClient<TRouter extends Router | Record<string, Endpoin
|
|
|
60
67
|
*/
|
|
61
68
|
declare function defineClientPlugin<TOverrides = Record<string, never>, TRoutes extends Record<string, Route> = Record<string, Route>>(plugin: ClientPlugin<TOverrides, TRoutes>): ClientPlugin<TOverrides, TRoutes>;
|
|
62
69
|
|
|
63
|
-
export { ClientPlugin, createApiClient, defineClientPlugin, isConnectionError };
|
|
70
|
+
export { ClientPlugin, createApiClient, defineClientPlugin, isConnectionError, runClientHookWithShim };
|
|
@@ -7,6 +7,13 @@ export { createClient } from 'better-call/client';
|
|
|
7
7
|
import { Router, Endpoint } from 'better-call';
|
|
8
8
|
import '@btst/db';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Client-side equivalent of runHookWithShim — throws a plain Error instead of an HTTP error.
|
|
12
|
+
* Hooks may deny by returning false (old) or throwing (new); both normalize to an Error.
|
|
13
|
+
*
|
|
14
|
+
* See `runHookWithShim` for the full migration note on boolean-vs-void semantics.
|
|
15
|
+
*/
|
|
16
|
+
declare function runClientHookWithShim<T>(hookFn: () => Promise<T> | T, defaultMessage: string): Promise<Exclude<Awaited<T>, false>>;
|
|
10
17
|
/**
|
|
11
18
|
* Returns true when a fetch error is a connection-refused / no-server error.
|
|
12
19
|
* Used in SSR loaders to emit an actionable build-time warning when
|
|
@@ -60,4 +67,4 @@ declare function createApiClient<TRouter extends Router | Record<string, Endpoin
|
|
|
60
67
|
*/
|
|
61
68
|
declare function defineClientPlugin<TOverrides = Record<string, never>, TRoutes extends Record<string, Route> = Record<string, Route>>(plugin: ClientPlugin<TOverrides, TRoutes>): ClientPlugin<TOverrides, TRoutes>;
|
|
62
69
|
|
|
63
|
-
export { ClientPlugin, createApiClient, defineClientPlugin, isConnectionError };
|
|
70
|
+
export { ClientPlugin, createApiClient, defineClientPlugin, isConnectionError, runClientHookWithShim };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createApiClient, isConnectionError } from '../../packages/stack/src/plugins/utils.mjs';
|
|
1
|
+
export { createApiClient, isConnectionError, runClientHookWithShim } from '../../packages/stack/src/plugins/utils.mjs';
|
|
2
2
|
export { createRoute, createRouter } from '@btst/yar';
|
|
3
3
|
export { createClient } from 'better-call/client';
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as CMSApiRouter, b as CMSRouteKey, l as CMS_QUERY_KEYS, k as CreateCMSContentItemInput, c as cmsBackendPlugin, j as createCMSContentItem, d as getAllContentItems, g as getAllContentTypes, f as getContentItemById, e as getContentItemBySlug, h as serializeContentItem, i as serializeContentItemWithType, s as serializeContentType } from '../../../shared/stack.
|
|
1
|
+
export { C as CMSApiRouter, b as CMSRouteKey, l as CMS_QUERY_KEYS, k as CreateCMSContentItemInput, c as cmsBackendPlugin, j as createCMSContentItem, d as getAllContentItems, g as getAllContentTypes, f as getContentItemById, e as getContentItemBySlug, h as serializeContentItem, i as serializeContentItemWithType, s as serializeContentType } from '../../../shared/stack.C9Mg2Q46.cjs';
|
|
2
2
|
import '@btst/stack/plugins/api';
|
|
3
|
-
import '../../../shared/stack.
|
|
3
|
+
import '../../../shared/stack.B8QD11QU.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '@btst/db';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as CMSApiRouter, b as CMSRouteKey, l as CMS_QUERY_KEYS, k as CreateCMSContentItemInput, c as cmsBackendPlugin, j as createCMSContentItem, d as getAllContentItems, g as getAllContentTypes, f as getContentItemById, e as getContentItemBySlug, h as serializeContentItem, i as serializeContentItemWithType, s as serializeContentType } from '../../../shared/stack.
|
|
1
|
+
export { C as CMSApiRouter, b as CMSRouteKey, l as CMS_QUERY_KEYS, k as CreateCMSContentItemInput, c as cmsBackendPlugin, j as createCMSContentItem, d as getAllContentItems, g as getAllContentTypes, f as getContentItemById, e as getContentItemBySlug, h as serializeContentItem, i as serializeContentItemWithType, s as serializeContentType } from '../../../shared/stack.B58oHdqm.mjs';
|
|
2
2
|
import '@btst/stack/plugins/api';
|
|
3
|
-
import '../../../shared/stack.
|
|
3
|
+
import '../../../shared/stack.B8QD11QU.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '@btst/db';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as CMSApiRouter, b as CMSRouteKey, l as CMS_QUERY_KEYS, k as CreateCMSContentItemInput, c as cmsBackendPlugin, j as createCMSContentItem, d as getAllContentItems, g as getAllContentTypes, f as getContentItemById, e as getContentItemBySlug, h as serializeContentItem, i as serializeContentItemWithType, s as serializeContentType } from '../../../shared/stack.
|
|
1
|
+
export { C as CMSApiRouter, b as CMSRouteKey, l as CMS_QUERY_KEYS, k as CreateCMSContentItemInput, c as cmsBackendPlugin, j as createCMSContentItem, d as getAllContentItems, g as getAllContentTypes, f as getContentItemById, e as getContentItemBySlug, h as serializeContentItem, i as serializeContentItemWithType, s as serializeContentType } from '../../../shared/stack.sO33ZDhK.js';
|
|
2
2
|
import '@btst/stack/plugins/api';
|
|
3
|
-
import '../../../shared/stack.
|
|
3
|
+
import '../../../shared/stack.B8QD11QU.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '@btst/db';
|