@btst/stack 1.11.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -30
- package/dist/api/index.cjs +2 -2
- package/dist/api/index.d.cts +5 -5
- package/dist/api/index.d.mts +5 -5
- package/dist/api/index.d.ts +5 -5
- package/dist/api/index.mjs +2 -2
- package/dist/client/components/index.cjs +2 -2
- package/dist/client/components/index.mjs +2 -2
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.mjs +3 -3
- package/dist/context/index.cjs +3 -3
- package/dist/context/index.d.cts +11 -11
- package/dist/context/index.d.mts +11 -11
- package/dist/context/index.d.ts +11 -11
- package/dist/context/index.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@dnd-kit/core/dist/core.esm.cjs +1 -1
- package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@dnd-kit/core/dist/core.esm.mjs +1 -1
- package/dist/node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0__react@19.2.0/node_modules/@dnd-kit/sortable/dist/sortable.esm.cjs +77 -0
- package/dist/node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.0_react@19.2.0__react@19.2.0__react@19.2.0/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs +79 -3
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_850cfbef1935a6e49a6ad6c93c7ca70d/node_modules/@radix-ui/react-avatar/dist/index.cjs +140 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_850cfbef1935a6e49a6ad6c93c7ca70d/node_modules/@radix-ui/react-avatar/dist/index.mjs +119 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.cjs +80 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.mjs +64 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +18 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs +16 -0
- package/dist/packages/{better-stack → stack}/src/context/provider.cjs +11 -13
- package/dist/packages/{better-stack → stack}/src/context/provider.mjs +10 -12
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/chat-interface.cjs +2 -2
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/chat-interface.mjs +2 -2
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/cms-common.cjs +1 -1
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/cms-common.mjs +1 -1
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/form-builder-common.cjs +1 -1
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/form-builder-common.mjs +1 -1
- package/dist/packages/stack/src/plugins/kanban/api/plugin.cjs +846 -0
- package/dist/packages/stack/src/plugins/kanban/api/plugin.mjs +844 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/forms/board-form.cjs +85 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/forms/board-form.mjs +83 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/forms/column-form.cjs +72 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/forms/column-form.mjs +70 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/forms/task-form.cjs +200 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/forms/task-form.mjs +198 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/loading/board-skeleton.cjs +47 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/loading/board-skeleton.mjs +45 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/loading/boards-list-skeleton.cjs +30 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/loading/boards-list-skeleton.mjs +28 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/404-page.cjs +27 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/404-page.mjs +25 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/board-page.cjs +31 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/board-page.internal.cjs +458 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/board-page.internal.mjs +456 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/board-page.mjs +29 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/boards-list-page.cjs +30 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/boards-list-page.internal.cjs +72 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/boards-list-page.internal.mjs +70 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/boards-list-page.mjs +28 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/new-board-page.cjs +30 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/new-board-page.internal.cjs +51 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/new-board-page.internal.mjs +49 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/pages/new-board-page.mjs +28 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/column-content.cjs +76 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/column-content.mjs +74 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/default-error.cjs +27 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/default-error.mjs +25 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/empty-state.cjs +32 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/empty-state.mjs +30 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/kanban-board.cjs +78 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/kanban-board.mjs +76 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/page-wrapper.cjs +15 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/page-wrapper.mjs +13 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/task-card.cjs +68 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/task-card.mjs +66 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/user-avatar.cjs +32 -0
- package/dist/packages/stack/src/plugins/kanban/client/components/shared/user-avatar.mjs +30 -0
- package/dist/packages/stack/src/plugins/kanban/client/hooks/kanban-hooks.cjs +391 -0
- package/dist/packages/stack/src/plugins/kanban/client/hooks/kanban-hooks.mjs +381 -0
- package/dist/packages/stack/src/plugins/kanban/client/plugin.cjs +290 -0
- package/dist/packages/stack/src/plugins/kanban/client/plugin.mjs +288 -0
- package/dist/packages/stack/src/plugins/kanban/db.cjs +125 -0
- package/dist/packages/stack/src/plugins/kanban/db.mjs +123 -0
- package/dist/packages/stack/src/plugins/kanban/schemas.cjs +117 -0
- package/dist/packages/stack/src/plugins/kanban/schemas.mjs +102 -0
- package/dist/packages/stack/src/plugins/kanban/utils.cjs +49 -0
- package/dist/packages/stack/src/plugins/kanban/utils.mjs +45 -0
- package/dist/packages/{better-stack → stack}/src/plugins/open-api/api/generator.cjs +2 -2
- package/dist/packages/{better-stack → stack}/src/plugins/open-api/api/generator.mjs +2 -2
- package/dist/packages/ui/src/components/avatar.cjs +58 -0
- package/dist/packages/ui/src/components/avatar.mjs +54 -0
- package/dist/packages/ui/src/components/command.cjs +3 -3
- package/dist/packages/ui/src/components/command.mjs +3 -3
- package/dist/packages/ui/src/components/form-builder/index.mjs +2 -2
- package/dist/packages/ui/src/components/kanban.cjs +835 -0
- package/dist/packages/ui/src/components/kanban.mjs +805 -0
- package/dist/packages/ui/src/components/page-wrapper.cjs +2 -2
- package/dist/packages/ui/src/components/page-wrapper.mjs +2 -2
- package/dist/packages/ui/src/components/popover.cjs +8 -3
- package/dist/packages/ui/src/components/popover.mjs +9 -4
- package/dist/packages/ui/src/components/search-select.cjs +75 -0
- package/dist/packages/ui/src/components/search-select.mjs +73 -0
- package/dist/packages/ui/src/components/{better-stack-attribution.cjs → stack-attribution.cjs} +5 -5
- package/dist/packages/ui/src/components/{better-stack-attribution.mjs → stack-attribution.mjs} +5 -5
- package/dist/packages/ui/src/lib/compose-refs.cjs +56 -0
- package/dist/packages/ui/src/lib/compose-refs.mjs +39 -0
- package/dist/plugins/ai-chat/api/index.cjs +1 -1
- package/dist/plugins/ai-chat/api/index.mjs +1 -1
- package/dist/plugins/ai-chat/client/components/index.cjs +12 -12
- package/dist/plugins/ai-chat/client/components/index.mjs +12 -12
- package/dist/plugins/ai-chat/client/hooks/index.cjs +1 -1
- package/dist/plugins/ai-chat/client/hooks/index.mjs +1 -1
- package/dist/plugins/ai-chat/client/index.cjs +8 -8
- package/dist/plugins/ai-chat/client/index.mjs +8 -8
- package/dist/plugins/api/index.d.cts +3 -3
- package/dist/plugins/api/index.d.mts +3 -3
- package/dist/plugins/api/index.d.ts +3 -3
- package/dist/plugins/blog/api/index.cjs +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/api/index.mjs +1 -1
- package/dist/plugins/blog/client/components/index.cjs +4 -4
- package/dist/plugins/blog/client/components/index.mjs +4 -4
- package/dist/plugins/blog/client/hooks/index.cjs +1 -1
- package/dist/plugins/blog/client/hooks/index.d.cts +2 -2
- package/dist/plugins/blog/client/hooks/index.d.mts +2 -2
- package/dist/plugins/blog/client/hooks/index.d.ts +2 -2
- package/dist/plugins/blog/client/hooks/index.mjs +1 -1
- package/dist/plugins/blog/client/index.cjs +1 -1
- package/dist/plugins/blog/client/index.d.cts +1 -1
- package/dist/plugins/blog/client/index.d.mts +1 -1
- package/dist/plugins/blog/client/index.d.ts +1 -1
- package/dist/plugins/blog/client/index.mjs +1 -1
- package/dist/plugins/blog/query-keys.d.cts +2 -2
- package/dist/plugins/blog/query-keys.d.mts +2 -2
- package/dist/plugins/blog/query-keys.d.ts +2 -2
- package/dist/plugins/client/index.cjs +1 -1
- package/dist/plugins/client/index.d.cts +3 -3
- package/dist/plugins/client/index.d.mts +3 -3
- package/dist/plugins/client/index.d.ts +3 -3
- package/dist/plugins/client/index.mjs +1 -1
- package/dist/plugins/cms/api/index.cjs +1 -1
- package/dist/plugins/cms/api/index.d.cts +1 -1
- package/dist/plugins/cms/api/index.d.mts +1 -1
- package/dist/plugins/cms/api/index.d.ts +1 -1
- package/dist/plugins/cms/api/index.mjs +1 -1
- package/dist/plugins/cms/client/components/index.cjs +3 -3
- package/dist/plugins/cms/client/components/index.mjs +3 -3
- package/dist/plugins/cms/client/hooks/index.cjs +1 -1
- package/dist/plugins/cms/client/hooks/index.mjs +1 -1
- package/dist/plugins/cms/client/index.cjs +2 -2
- package/dist/plugins/cms/client/index.mjs +2 -2
- package/dist/plugins/form-builder/api/index.cjs +1 -1
- package/dist/plugins/form-builder/api/index.mjs +1 -1
- package/dist/plugins/form-builder/client/components/index.cjs +10 -10
- package/dist/plugins/form-builder/client/components/index.mjs +10 -10
- package/dist/plugins/form-builder/client/hooks/index.cjs +1 -1
- package/dist/plugins/form-builder/client/hooks/index.mjs +1 -1
- package/dist/plugins/form-builder/client/index.cjs +1 -1
- package/dist/plugins/form-builder/client/index.mjs +1 -1
- package/dist/plugins/kanban/api/index.cjs +7 -0
- package/dist/plugins/kanban/api/index.d.cts +403 -0
- package/dist/plugins/kanban/api/index.d.mts +403 -0
- package/dist/plugins/kanban/api/index.d.ts +403 -0
- package/dist/plugins/kanban/api/index.mjs +1 -0
- package/dist/plugins/kanban/client/components/index.cjs +35 -0
- package/dist/plugins/kanban/client/components/index.d.cts +102 -0
- package/dist/plugins/kanban/client/components/index.d.mts +102 -0
- package/dist/plugins/kanban/client/components/index.d.ts +102 -0
- package/dist/plugins/kanban/client/components/index.mjs +15 -0
- package/dist/plugins/kanban/client/hooks/index.cjs +15 -0
- package/dist/plugins/kanban/client/hooks/index.d.cts +143 -0
- package/dist/plugins/kanban/client/hooks/index.d.mts +143 -0
- package/dist/plugins/kanban/client/hooks/index.d.ts +143 -0
- package/dist/plugins/kanban/client/hooks/index.mjs +1 -0
- package/dist/plugins/kanban/client/index.cjs +7 -0
- package/dist/plugins/kanban/client/index.d.cts +196 -0
- package/dist/plugins/kanban/client/index.d.mts +196 -0
- package/dist/plugins/kanban/client/index.d.ts +196 -0
- package/dist/plugins/kanban/client/index.mjs +1 -0
- package/dist/plugins/kanban/client.css +68 -0
- package/dist/plugins/kanban/query-keys.cjs +105 -0
- package/dist/plugins/kanban/query-keys.d.cts +59 -0
- package/dist/plugins/kanban/query-keys.d.mts +59 -0
- package/dist/plugins/kanban/query-keys.d.ts +59 -0
- package/dist/plugins/kanban/query-keys.mjs +103 -0
- package/dist/plugins/kanban/style.css +7 -0
- package/dist/plugins/open-api/api/index.cjs +2 -2
- package/dist/plugins/open-api/api/index.d.cts +6 -6
- package/dist/plugins/open-api/api/index.d.mts +6 -6
- package/dist/plugins/open-api/api/index.d.ts +6 -6
- package/dist/plugins/open-api/api/index.mjs +2 -2
- package/dist/plugins/route-docs/client/index.cjs +1 -1
- package/dist/plugins/route-docs/client/index.d.cts +1 -1
- package/dist/plugins/route-docs/client/index.d.mts +1 -1
- package/dist/plugins/route-docs/client/index.d.ts +1 -1
- package/dist/plugins/route-docs/client/index.mjs +1 -1
- package/dist/plugins/ui-builder/client/components/index.cjs +3 -3
- package/dist/plugins/ui-builder/client/components/index.mjs +3 -3
- package/dist/plugins/ui-builder/client/hooks/index.cjs +1 -1
- package/dist/plugins/ui-builder/client/hooks/index.mjs +1 -1
- package/dist/plugins/ui-builder/client/index.cjs +7 -7
- package/dist/plugins/ui-builder/client/index.mjs +7 -7
- package/dist/plugins/ui-builder/index.cjs +1 -1
- package/dist/plugins/ui-builder/index.mjs +1 -1
- package/dist/plugins/ui-builder/style.css +6 -0
- package/dist/shared/{stack.u9iYV6vt.d.mts → stack.BoA0xkJv.d.cts} +5 -5
- package/dist/shared/{stack.u9iYV6vt.d.cts → stack.BoA0xkJv.d.mts} +5 -5
- package/dist/shared/{stack.u9iYV6vt.d.ts → stack.BoA0xkJv.d.ts} +5 -5
- package/dist/shared/stack.DKDMI-QO.d.cts +70 -0
- package/dist/shared/stack.DKDMI-QO.d.mts +70 -0
- package/dist/shared/stack.DKDMI-QO.d.ts +70 -0
- package/dist/shared/stack.FeaWkglm.d.cts +190 -0
- package/dist/shared/stack.FeaWkglm.d.mts +190 -0
- package/dist/shared/stack.FeaWkglm.d.ts +190 -0
- package/package.json +56 -2
- package/src/__tests__/plugins.test.tsx +7 -7
- package/src/api/index.ts +5 -5
- package/src/context/provider.tsx +21 -27
- package/src/plugins/ai-chat/client/components/chat-interface.tsx +2 -2
- package/src/plugins/api/index.ts +1 -1
- package/src/plugins/client/index.ts +1 -1
- package/src/plugins/cms/client/localization/cms-common.ts +1 -1
- package/src/plugins/form-builder/client/localization/form-builder-common.ts +1 -1
- package/src/plugins/kanban/api/index.ts +6 -0
- package/src/plugins/kanban/api/plugin.ts +1245 -0
- package/src/plugins/kanban/client/components/forms/board-form.tsx +108 -0
- package/src/plugins/kanban/client/components/forms/column-form.tsx +97 -0
- package/src/plugins/kanban/client/components/forms/task-form.tsx +274 -0
- package/src/plugins/kanban/client/components/index.tsx +21 -0
- package/src/plugins/kanban/client/components/loading/board-skeleton.tsx +49 -0
- package/src/plugins/kanban/client/components/loading/boards-list-skeleton.tsx +34 -0
- package/src/plugins/kanban/client/components/loading/index.tsx +2 -0
- package/src/plugins/kanban/client/components/pages/404-page.tsx +28 -0
- package/src/plugins/kanban/client/components/pages/board-page.internal.tsx +575 -0
- package/src/plugins/kanban/client/components/pages/board-page.tsx +31 -0
- package/src/plugins/kanban/client/components/pages/boards-list-page.internal.tsx +101 -0
- package/src/plugins/kanban/client/components/pages/boards-list-page.tsx +26 -0
- package/src/plugins/kanban/client/components/pages/new-board-page.internal.tsx +65 -0
- package/src/plugins/kanban/client/components/pages/new-board-page.tsx +26 -0
- package/src/plugins/kanban/client/components/shared/column-content.tsx +108 -0
- package/src/plugins/kanban/client/components/shared/default-error.tsx +32 -0
- package/src/plugins/kanban/client/components/shared/empty-state.tsx +37 -0
- package/src/plugins/kanban/client/components/shared/kanban-board.tsx +87 -0
- package/src/plugins/kanban/client/components/shared/page-wrapper.tsx +20 -0
- package/src/plugins/kanban/client/components/shared/task-card.tsx +79 -0
- package/src/plugins/kanban/client/components/shared/user-avatar.tsx +63 -0
- package/src/plugins/kanban/client/hooks/index.tsx +11 -0
- package/src/plugins/kanban/client/hooks/kanban-hooks.tsx +560 -0
- package/src/plugins/kanban/client/index.ts +8 -0
- package/src/plugins/kanban/client/localization/index.ts +28 -0
- package/src/plugins/kanban/client/localization/kanban-common.ts +69 -0
- package/src/plugins/kanban/client/localization/kanban-forms.ts +70 -0
- package/src/plugins/kanban/client/localization/kanban-list.ts +36 -0
- package/src/plugins/kanban/client/overrides.ts +145 -0
- package/src/plugins/kanban/client/plugin.tsx +463 -0
- package/src/plugins/kanban/client.css +68 -0
- package/src/plugins/kanban/db.ts +125 -0
- package/src/plugins/kanban/query-keys.ts +154 -0
- package/src/plugins/kanban/schemas.ts +143 -0
- package/src/plugins/kanban/style.css +7 -0
- package/src/plugins/kanban/types.ts +106 -0
- package/src/plugins/kanban/utils.ts +107 -0
- package/src/plugins/open-api/api/generator.ts +5 -6
- package/src/plugins/open-api/api/plugin.ts +5 -5
- package/src/plugins/open-api/logo.ts +1 -1
- package/src/plugins/ui-builder/style.css +6 -0
- package/src/types.ts +4 -4
- package/dist/packages/{better-stack → stack}/src/client/components/compose.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/client/components/compose.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/client/components/error-boundary.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/client/components/error-boundary.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/client/meta-utils.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/client/meta-utils.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/client/path-utils.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/client/path-utils.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/client/sitemap-utils.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/client/sitemap-utils.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/api/plugin.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/api/plugin.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/chat-input.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/chat-input.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/chat-layout.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/chat-layout.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/chat-message.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/chat-message.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/chat-sidebar.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/chat-sidebar.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/loading/chat-page-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/loading/chat-page-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/loading/index.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/loading/index.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/pages/404-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/pages/404-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/pages/chat-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/pages/chat-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/pages/chat-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/pages/chat-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/shared/default-error.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/shared/default-error.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/shared/error-placeholder.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/shared/error-placeholder.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/tool-call-display.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/components/tool-call-display.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/hooks/chat-hooks.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/hooks/chat-hooks.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/localization/index.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/localization/index.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/overrides.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/overrides.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/plugin.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/client/plugin.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/db.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/db.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/schemas.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ai-chat/schemas.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/api/plugin.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/api/plugin.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/forms/image-field.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/forms/image-field.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/forms/markdown-editor.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/forms/markdown-editor.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/forms/post-forms.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/forms/post-forms.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/forms/tags-multiselect.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/forms/tags-multiselect.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/form-page-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/form-page-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/index.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/index.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/list-page-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/list-page-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/page-header-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/page-header-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/post-card-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/post-card-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/post-page-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/loading/post-page-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/404-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/404-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/edit-post-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/edit-post-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/edit-post-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/edit-post-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/home-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/home-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/home-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/home-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/new-post-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/new-post-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/new-post-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/new-post-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/post-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/post-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/post-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/post-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/tag-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/tag-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/tag-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/pages/tag-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/default-error.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/default-error.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/defaults.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/defaults.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/empty-list.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/empty-list.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/error-placeholder.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/error-placeholder.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/highlight-text.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/highlight-text.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/markdown-content.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/markdown-content.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/on-this-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/on-this-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/page-header.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/page-header.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/page-wrapper.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/page-wrapper.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/post-card.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/post-card.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/post-navigation.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/post-navigation.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/posts-list.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/posts-list.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/recent-posts-carousel.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/recent-posts-carousel.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/search-input.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/search-input.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/search-modal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/search-modal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/tags-list.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/components/shared/tags-list.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/hooks/blog-hooks.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/hooks/blog-hooks.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/hooks/use-debounce.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/hooks/use-debounce.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/blog-card.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/blog-card.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/blog-common.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/blog-common.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/blog-forms.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/blog-forms.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/blog-list.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/blog-list.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/blog-post.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/blog-post.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/index.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/localization/index.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/plugin.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/client/plugin.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/db.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/db.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/schemas.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/schemas.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/utils.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/blog/utils.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/api/plugin.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/api/plugin.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/forms/content-form.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/forms/content-form.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/forms/file-upload.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/forms/file-upload.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/forms/relation-field.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/forms/relation-field.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/inverse-relations-panel.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/inverse-relations-panel.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/loading/dashboard-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/loading/dashboard-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/loading/editor-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/loading/editor-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/loading/list-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/loading/list-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/404-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/404-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/content-editor-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/content-editor-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/content-editor-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/content-editor-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/content-list-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/content-list-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/content-list-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/content-list-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/dashboard-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/dashboard-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/dashboard-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/pages/dashboard-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/shared/default-error.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/shared/default-error.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/shared/empty-state.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/shared/empty-state.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/shared/page-wrapper.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/components/shared/page-wrapper.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/hooks/cms-hooks.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/hooks/cms-hooks.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/cms-dashboard.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/cms-dashboard.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/cms-editor.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/cms-editor.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/cms-list.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/cms-list.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/cms-toasts.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/cms-toasts.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/index.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/localization/index.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/plugin.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/client/plugin.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/db.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/db.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/schemas.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/schemas.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/utils.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/cms/utils.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/api/plugin.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/api/plugin.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/forms/form-renderer.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/forms/form-renderer.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/loading/form-builder-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/loading/form-builder-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/loading/form-list-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/loading/form-list-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/loading/submissions-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/loading/submissions-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/404-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/404-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/form-builder-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/form-builder-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/form-builder-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/form-builder-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/form-list-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/form-list-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/form-list-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/form-list-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/submissions-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/submissions-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/submissions-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/pages/submissions-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/shared/default-error.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/shared/default-error.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/shared/empty-state.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/shared/empty-state.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/shared/page-wrapper.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/shared/page-wrapper.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/shared/pagination.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/components/shared/pagination.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/hooks/form-builder-hooks.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/hooks/form-builder-hooks.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/form-builder-editor.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/form-builder-editor.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/form-builder-list.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/form-builder-list.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/form-builder-submissions.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/form-builder-submissions.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/form-builder-toasts.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/form-builder-toasts.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/index.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/localization/index.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/plugin.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/client/plugin.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/db.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/db.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/schemas.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/schemas.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/utils.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/form-builder/utils.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/open-api/api/plugin.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/open-api/api/plugin.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/open-api/db.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/open-api/db.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/open-api/logo.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/open-api/logo.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/route-docs/client/components/loading/docs-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/route-docs/client/components/loading/docs-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/route-docs/client/components/pages/docs-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/route-docs/client/components/pages/docs-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/route-docs/client/plugin.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/route-docs/client/plugin.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/route-docs/generator.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/route-docs/generator.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/loading/page-builder-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/loading/page-builder-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/loading/page-list-skeleton.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/loading/page-list-skeleton.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/page-renderer.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/page-renderer.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/pages/page-builder-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/pages/page-builder-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/pages/page-builder-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/pages/page-builder-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/pages/page-list-page.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/pages/page-list-page.internal.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/pages/page-list-page.internal.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/pages/page-list-page.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/shared/default-error.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/shared/default-error.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/shared/empty-state.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/shared/empty-state.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/shared/page-wrapper.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/shared/page-wrapper.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/shared/pagination.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/components/shared/pagination.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/hooks/ui-builder-hooks.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/hooks/ui-builder-hooks.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/localization/index.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/localization/index.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/plugin.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/plugin.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/registry.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/client/registry.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/schemas.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/ui-builder/schemas.mjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/utils.cjs +0 -0
- package/dist/packages/{better-stack → stack}/src/plugins/utils.mjs +0 -0
- package/dist/shared/{stack.DLhzx1-D.d.cts → stack.CcI4sYJP.d.cts} +1 -1
- package/dist/shared/{stack.DLhzx1-D.d.ts → stack.CcI4sYJP.d.mts} +1 -1
- package/dist/shared/{stack.DLhzx1-D.d.mts → stack.CcI4sYJP.d.ts} +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @btst/stack —
|
|
1
|
+
# @btst/stack — BTST
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
@@ -14,9 +14,9 @@ Framework-agnostic. Database-flexible. No lock-in.
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
-
## What is
|
|
17
|
+
## What is BTST?
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
BTST lets you **install production-ready app features as npm packages**.
|
|
20
20
|
|
|
21
21
|
Instead of spending weeks building the same things again and again
|
|
22
22
|
(routes, APIs, database schemas, SSR, SEO, forms…):
|
|
@@ -27,20 +27,25 @@ npm install @btst/stack
|
|
|
27
27
|
|
|
28
28
|
Enable the features you need and keep building your product.
|
|
29
29
|
|
|
30
|
-
###
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
30
|
+
### Available plugins
|
|
31
|
+
|
|
32
|
+
| Plugin | Description |
|
|
33
|
+
|--------|-------------|
|
|
34
|
+
| **Blog** | Content management, editor, drafts, publishing, SEO, RSS feeds |
|
|
35
|
+
| **AI Chat** | AI-powered chat with conversation history, streaming, and customizable models |
|
|
36
|
+
| **CMS** | Headless CMS with custom content types, Zod schemas, and auto-generated forms |
|
|
37
|
+
| **Form Builder** | Dynamic form builder with drag-and-drop editor, submissions, and validation |
|
|
38
|
+
| **UI Builder** | Visual drag-and-drop page builder with component registry and public rendering |
|
|
39
|
+
| **Kanban** | Project management with boards, columns, tasks, drag-and-drop, and priority levels |
|
|
40
|
+
| **OpenAPI** | Auto-generated API documentation with interactive Scalar UI |
|
|
41
|
+
| **Route Docs** | Auto-generated client route documentation with interactive navigation |
|
|
42
|
+
| **Better Auth UI** | Beautiful shadcn/ui authentication components for better-auth |
|
|
43
|
+
|
|
44
|
+
Each plugin ships **frontend + backend together**:
|
|
42
45
|
routes, APIs, database models, React components, SSR, and SEO — already wired.
|
|
43
46
|
|
|
47
|
+
**Want a specific plugin?** [Open an issue](https://github.com/better-stack-ai/better-stack/issues/new) and let us know!
|
|
48
|
+
|
|
44
49
|
---
|
|
45
50
|
|
|
46
51
|
## Why use it?
|
|
@@ -57,31 +62,40 @@ You keep your codebase, database, and deployment.
|
|
|
57
62
|
|
|
58
63
|
## Minimal usage
|
|
59
64
|
|
|
60
|
-
lib/
|
|
61
|
-
|
|
62
|
-
import { betterStack } from "@btst/stack"
|
|
65
|
+
```ts title="lib/stack.ts"
|
|
66
|
+
import { stack } from "@btst/stack"
|
|
63
67
|
import { blogBackendPlugin } from "@btst/stack/plugins/blog/api"
|
|
68
|
+
import { createMemoryAdapter } from "@btst/adapter-memory"
|
|
64
69
|
|
|
65
|
-
export const { handler } =
|
|
70
|
+
export const { handler, dbSchema } = stack({
|
|
71
|
+
basePath: "/api/data",
|
|
66
72
|
plugins: {
|
|
67
|
-
blog: blogBackendPlugin(
|
|
68
|
-
}
|
|
73
|
+
blog: blogBackendPlugin()
|
|
74
|
+
},
|
|
75
|
+
adapter: (db) => createMemoryAdapter(db)({})
|
|
69
76
|
})
|
|
70
77
|
```
|
|
71
78
|
|
|
72
|
-
lib/
|
|
73
|
-
```tsx
|
|
79
|
+
```tsx title="lib/stack-client.tsx"
|
|
74
80
|
import { createStackClient } from "@btst/stack/client"
|
|
75
81
|
import { blogClientPlugin } from "@btst/stack/plugins/blog/client"
|
|
76
82
|
import { QueryClient } from "@tanstack/react-query"
|
|
77
83
|
|
|
78
|
-
const
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
84
|
+
export const getStackClient = (queryClient: QueryClient) =>
|
|
85
|
+
createStackClient({
|
|
86
|
+
plugins: {
|
|
87
|
+
blog: blogClientPlugin({
|
|
88
|
+
apiBaseURL: "http://localhost:3000",
|
|
89
|
+
apiBasePath: "/api/data",
|
|
90
|
+
siteBaseURL: "http://localhost:3000",
|
|
91
|
+
siteBasePath: "/pages",
|
|
92
|
+
queryClient,
|
|
93
|
+
})
|
|
94
|
+
}
|
|
95
|
+
})
|
|
83
96
|
```
|
|
84
|
-
|
|
97
|
+
|
|
98
|
+
Now you have a working blog with API, pages, SSR, and SEO. See the [full installation guide](https://www.better-stack.ai/docs/installation) for database adapters, auth hooks, and framework-specific setup.
|
|
85
99
|
|
|
86
100
|
## Database schemas & migrations
|
|
87
101
|
|
|
@@ -94,7 +108,7 @@ npm install -D @btst/cli
|
|
|
94
108
|
Generate drizzle schema:
|
|
95
109
|
|
|
96
110
|
```bash
|
|
97
|
-
npx @btst/cli generate --orm drizzle --config lib/
|
|
111
|
+
npx @btst/cli generate --orm drizzle --config lib/stack.ts --output db/schema.ts
|
|
98
112
|
```
|
|
99
113
|
|
|
100
114
|
Supports Prisma, Drizzle, MongoDB and Kysely SQL dialects.
|
package/dist/api/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ const betterCall = require('better-call');
|
|
|
4
4
|
const db = require('@btst/db');
|
|
5
5
|
const node = require('better-call/node');
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function stack(config) {
|
|
8
8
|
const { plugins, adapter, dbSchema, basePath } = config;
|
|
9
9
|
const allRoutes = {};
|
|
10
10
|
let betterDbSchema = dbSchema ?? db.defineDb({});
|
|
@@ -35,4 +35,4 @@ function betterStack(config) {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
exports.toNodeHandler = node.toNodeHandler;
|
|
38
|
-
exports.
|
|
38
|
+
exports.stack = stack;
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib } from '../shared/stack.
|
|
2
|
-
export { B as BackendPlugin,
|
|
1
|
+
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib } from '../shared/stack.BoA0xkJv.cjs';
|
|
2
|
+
export { B as BackendPlugin, S as StackContext } from '../shared/stack.BoA0xkJv.cjs';
|
|
3
3
|
export { toNodeHandler } from 'better-call/node';
|
|
4
4
|
import '@btst/yar';
|
|
5
5
|
import '@btst/db';
|
|
@@ -10,7 +10,7 @@ import 'better-call';
|
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
|
-
* const api =
|
|
13
|
+
* const api = stack({
|
|
14
14
|
* plugins: {
|
|
15
15
|
* messages: messagesPlugin.backend
|
|
16
16
|
* },
|
|
@@ -25,6 +25,6 @@ import 'better-call';
|
|
|
25
25
|
* @template TPlugins - The exact plugins map (inferred from config)
|
|
26
26
|
* @template TRoutes - All routes with prefixed keys like "pluginName_routeName" (computed automatically)
|
|
27
27
|
*/
|
|
28
|
-
declare function
|
|
28
|
+
declare function stack<TPlugins extends Record<string, any>, TRoutes extends PrefixedPluginRoutes<TPlugins> = PrefixedPluginRoutes<TPlugins>>(config: BackendLibConfig<TPlugins>): BackendLib<TRoutes>;
|
|
29
29
|
|
|
30
|
-
export { BackendLib, BackendLibConfig,
|
|
30
|
+
export { BackendLib, BackendLibConfig, stack };
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib } from '../shared/stack.
|
|
2
|
-
export { B as BackendPlugin,
|
|
1
|
+
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib } from '../shared/stack.BoA0xkJv.mjs';
|
|
2
|
+
export { B as BackendPlugin, S as StackContext } from '../shared/stack.BoA0xkJv.mjs';
|
|
3
3
|
export { toNodeHandler } from 'better-call/node';
|
|
4
4
|
import '@btst/yar';
|
|
5
5
|
import '@btst/db';
|
|
@@ -10,7 +10,7 @@ import 'better-call';
|
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
|
-
* const api =
|
|
13
|
+
* const api = stack({
|
|
14
14
|
* plugins: {
|
|
15
15
|
* messages: messagesPlugin.backend
|
|
16
16
|
* },
|
|
@@ -25,6 +25,6 @@ import 'better-call';
|
|
|
25
25
|
* @template TPlugins - The exact plugins map (inferred from config)
|
|
26
26
|
* @template TRoutes - All routes with prefixed keys like "pluginName_routeName" (computed automatically)
|
|
27
27
|
*/
|
|
28
|
-
declare function
|
|
28
|
+
declare function stack<TPlugins extends Record<string, any>, TRoutes extends PrefixedPluginRoutes<TPlugins> = PrefixedPluginRoutes<TPlugins>>(config: BackendLibConfig<TPlugins>): BackendLib<TRoutes>;
|
|
29
29
|
|
|
30
|
-
export { BackendLib, BackendLibConfig,
|
|
30
|
+
export { BackendLib, BackendLibConfig, stack };
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib } from '../shared/stack.
|
|
2
|
-
export { B as BackendPlugin,
|
|
1
|
+
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib } from '../shared/stack.BoA0xkJv.js';
|
|
2
|
+
export { B as BackendPlugin, S as StackContext } from '../shared/stack.BoA0xkJv.js';
|
|
3
3
|
export { toNodeHandler } from 'better-call/node';
|
|
4
4
|
import '@btst/yar';
|
|
5
5
|
import '@btst/db';
|
|
@@ -10,7 +10,7 @@ import 'better-call';
|
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
|
-
* const api =
|
|
13
|
+
* const api = stack({
|
|
14
14
|
* plugins: {
|
|
15
15
|
* messages: messagesPlugin.backend
|
|
16
16
|
* },
|
|
@@ -25,6 +25,6 @@ import 'better-call';
|
|
|
25
25
|
* @template TPlugins - The exact plugins map (inferred from config)
|
|
26
26
|
* @template TRoutes - All routes with prefixed keys like "pluginName_routeName" (computed automatically)
|
|
27
27
|
*/
|
|
28
|
-
declare function
|
|
28
|
+
declare function stack<TPlugins extends Record<string, any>, TRoutes extends PrefixedPluginRoutes<TPlugins> = PrefixedPluginRoutes<TPlugins>>(config: BackendLibConfig<TPlugins>): BackendLib<TRoutes>;
|
|
29
29
|
|
|
30
|
-
export { BackendLib, BackendLibConfig,
|
|
30
|
+
export { BackendLib, BackendLibConfig, stack };
|
package/dist/api/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { createRouter } from 'better-call';
|
|
|
2
2
|
import { defineDb } from '@btst/db';
|
|
3
3
|
export { toNodeHandler } from 'better-call/node';
|
|
4
4
|
|
|
5
|
-
function
|
|
5
|
+
function stack(config) {
|
|
6
6
|
const { plugins, adapter, dbSchema, basePath } = config;
|
|
7
7
|
const allRoutes = {};
|
|
8
8
|
let betterDbSchema = dbSchema ?? defineDb({});
|
|
@@ -32,4 +32,4 @@ function betterStack(config) {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { stack };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const compose = require('../../packages/
|
|
4
|
-
const errorBoundary = require('../../packages/
|
|
3
|
+
const compose = require('../../packages/stack/src/client/components/compose.cjs');
|
|
4
|
+
const errorBoundary = require('../../packages/stack/src/client/components/error-boundary.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ComposedRoute, RouteRenderer } from '../../packages/
|
|
2
|
-
export { ErrorBoundary } from '../../packages/
|
|
1
|
+
export { ComposedRoute, RouteRenderer } from '../../packages/stack/src/client/components/compose.mjs';
|
|
2
|
+
export { ErrorBoundary } from '../../packages/stack/src/client/components/error-boundary.mjs';
|
package/dist/client/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const yar = require('@btst/yar');
|
|
4
|
-
const sitemapUtils = require('../packages/
|
|
5
|
-
const metaUtils = require('../packages/
|
|
6
|
-
const pathUtils = require('../packages/
|
|
4
|
+
const sitemapUtils = require('../packages/stack/src/client/sitemap-utils.cjs');
|
|
5
|
+
const metaUtils = require('../packages/stack/src/client/meta-utils.cjs');
|
|
6
|
+
const pathUtils = require('../packages/stack/src/client/path-utils.cjs');
|
|
7
7
|
|
|
8
8
|
function createStackClient(config) {
|
|
9
9
|
const { plugins, basePath } = config;
|
package/dist/client/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as Sitemap, C as ClientPlugin, d as PluginRoutes, e as ClientLibConfig, f as ClientLib } from '../shared/stack.
|
|
2
|
-
export { b as ClientStackContext } from '../shared/stack.
|
|
1
|
+
import { c as Sitemap, C as ClientPlugin, d as PluginRoutes, e as ClientLibConfig, f as ClientLib } from '../shared/stack.BoA0xkJv.cjs';
|
|
2
|
+
export { b as ClientStackContext } from '../shared/stack.BoA0xkJv.cjs';
|
|
3
3
|
import '@btst/yar';
|
|
4
4
|
import '@btst/db';
|
|
5
5
|
import 'better-call';
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as Sitemap, C as ClientPlugin, d as PluginRoutes, e as ClientLibConfig, f as ClientLib } from '../shared/stack.
|
|
2
|
-
export { b as ClientStackContext } from '../shared/stack.
|
|
1
|
+
import { c as Sitemap, C as ClientPlugin, d as PluginRoutes, e as ClientLibConfig, f as ClientLib } from '../shared/stack.BoA0xkJv.mjs';
|
|
2
|
+
export { b as ClientStackContext } from '../shared/stack.BoA0xkJv.mjs';
|
|
3
3
|
import '@btst/yar';
|
|
4
4
|
import '@btst/db';
|
|
5
5
|
import 'better-call';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as Sitemap, C as ClientPlugin, d as PluginRoutes, e as ClientLibConfig, f as ClientLib } from '../shared/stack.
|
|
2
|
-
export { b as ClientStackContext } from '../shared/stack.
|
|
1
|
+
import { c as Sitemap, C as ClientPlugin, d as PluginRoutes, e as ClientLibConfig, f as ClientLib } from '../shared/stack.BoA0xkJv.js';
|
|
2
|
+
export { b as ClientStackContext } from '../shared/stack.BoA0xkJv.js';
|
|
3
3
|
import '@btst/yar';
|
|
4
4
|
import '@btst/db';
|
|
5
5
|
import 'better-call';
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRouter } from '@btst/yar';
|
|
2
|
-
export { sitemapEntryToXmlString } from '../packages/
|
|
3
|
-
export { metaElementsToObject } from '../packages/
|
|
4
|
-
export { normalizePath } from '../packages/
|
|
2
|
+
export { sitemapEntryToXmlString } from '../packages/stack/src/client/sitemap-utils.mjs';
|
|
3
|
+
export { metaElementsToObject } from '../packages/stack/src/client/meta-utils.mjs';
|
|
4
|
+
export { normalizePath } from '../packages/stack/src/client/path-utils.mjs';
|
|
5
5
|
|
|
6
6
|
function createStackClient(config) {
|
|
7
7
|
const { plugins, basePath } = config;
|
package/dist/context/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const provider = require('../packages/
|
|
3
|
+
const provider = require('../packages/stack/src/context/provider.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.
|
|
7
|
+
exports.StackProvider = provider.StackProvider;
|
|
8
8
|
exports.useBasePath = provider.useBasePath;
|
|
9
|
-
exports.useBetterStack = provider.useBetterStack;
|
|
10
9
|
exports.usePluginOverrides = provider.usePluginOverrides;
|
|
10
|
+
exports.useStack = provider.useStack;
|
package/dist/context/index.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { ReactNode } from 'react';
|
|
|
5
5
|
* Context value that provides plugin-specific overrides
|
|
6
6
|
* Generic over the shape of all plugin overrides
|
|
7
7
|
*/
|
|
8
|
-
interface
|
|
8
|
+
interface StackContextValue<TPluginOverrides extends Record<string, any>> {
|
|
9
9
|
/**
|
|
10
10
|
* The overrides for the plugin.
|
|
11
11
|
*/
|
|
@@ -16,7 +16,7 @@ interface BetterStackContextValue<TPluginOverrides extends Record<string, any>>
|
|
|
16
16
|
basePath: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Provider component for
|
|
19
|
+
* Provider component for BTST context
|
|
20
20
|
* Provides type-safe access to plugin-specific overrides
|
|
21
21
|
*
|
|
22
22
|
* Only requires override values, not plugin objects - keeps bundle size minimal!
|
|
@@ -29,7 +29,7 @@ interface BetterStackContextValue<TPluginOverrides extends Record<string, any>>
|
|
|
29
29
|
* messages: MessagesPluginOverrides;
|
|
30
30
|
* };
|
|
31
31
|
*
|
|
32
|
-
* <
|
|
32
|
+
* <StackProvider<MyPluginOverrides>
|
|
33
33
|
* overrides={{
|
|
34
34
|
* todos: {
|
|
35
35
|
* Link: (props) => <NextLink {...props} />,
|
|
@@ -41,27 +41,27 @@ interface BetterStackContextValue<TPluginOverrides extends Record<string, any>>
|
|
|
41
41
|
* }}
|
|
42
42
|
* >
|
|
43
43
|
* {children}
|
|
44
|
-
* </
|
|
44
|
+
* </StackProvider>
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
declare function
|
|
47
|
+
declare function StackProvider<TPluginOverrides extends Record<string, any> = Record<string, any>>({ children, overrides, basePath, }: {
|
|
48
48
|
children?: ReactNode;
|
|
49
49
|
overrides: TPluginOverrides;
|
|
50
50
|
basePath: string;
|
|
51
51
|
}): react_jsx_runtime.JSX.Element;
|
|
52
52
|
/**
|
|
53
|
-
* Hook to access the entire
|
|
53
|
+
* Hook to access the entire BTST context
|
|
54
54
|
* Useful if you need access to multiple plugins or the full context
|
|
55
55
|
*
|
|
56
56
|
* @returns The full context value including overrides and basePath
|
|
57
|
-
* @throws Error if used outside of
|
|
57
|
+
* @throws Error if used outside of StackProvider
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* ```tsx
|
|
61
|
-
* const { overrides, basePath } =
|
|
61
|
+
* const { overrides, basePath } = useStack<MyPluginOverrides>();
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
declare function
|
|
64
|
+
declare function useStack<TPluginOverrides extends Record<string, any> = Record<string, any>>(): StackContextValue<TPluginOverrides>;
|
|
65
65
|
type OverridesResult<TOverrides, TDefaults> = undefined extends TDefaults ? TOverrides : TOverrides & Required<Pick<TDefaults & {}, keyof TDefaults>>;
|
|
66
66
|
/**
|
|
67
67
|
* Hook to access overrides for a specific plugin
|
|
@@ -93,7 +93,7 @@ declare function usePluginOverrides<TOverrides = any, TDefaults extends Partial<
|
|
|
93
93
|
* Hook to access the base path where the client router is mounted
|
|
94
94
|
*
|
|
95
95
|
* @returns The base path string (e.g., "/pages")
|
|
96
|
-
* @throws Error if used outside of
|
|
96
|
+
* @throws Error if used outside of StackProvider
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* ```tsx
|
|
@@ -103,4 +103,4 @@ declare function usePluginOverrides<TOverrides = any, TDefaults extends Partial<
|
|
|
103
103
|
*/
|
|
104
104
|
declare function useBasePath(): string;
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { StackProvider, useBasePath, usePluginOverrides, useStack };
|
package/dist/context/index.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import { ReactNode } from 'react';
|
|
|
5
5
|
* Context value that provides plugin-specific overrides
|
|
6
6
|
* Generic over the shape of all plugin overrides
|
|
7
7
|
*/
|
|
8
|
-
interface
|
|
8
|
+
interface StackContextValue<TPluginOverrides extends Record<string, any>> {
|
|
9
9
|
/**
|
|
10
10
|
* The overrides for the plugin.
|
|
11
11
|
*/
|
|
@@ -16,7 +16,7 @@ interface BetterStackContextValue<TPluginOverrides extends Record<string, any>>
|
|
|
16
16
|
basePath: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Provider component for
|
|
19
|
+
* Provider component for BTST context
|
|
20
20
|
* Provides type-safe access to plugin-specific overrides
|
|
21
21
|
*
|
|
22
22
|
* Only requires override values, not plugin objects - keeps bundle size minimal!
|
|
@@ -29,7 +29,7 @@ interface BetterStackContextValue<TPluginOverrides extends Record<string, any>>
|
|
|
29
29
|
* messages: MessagesPluginOverrides;
|
|
30
30
|
* };
|
|
31
31
|
*
|
|
32
|
-
* <
|
|
32
|
+
* <StackProvider<MyPluginOverrides>
|
|
33
33
|
* overrides={{
|
|
34
34
|
* todos: {
|
|
35
35
|
* Link: (props) => <NextLink {...props} />,
|
|
@@ -41,27 +41,27 @@ interface BetterStackContextValue<TPluginOverrides extends Record<string, any>>
|
|
|
41
41
|
* }}
|
|
42
42
|
* >
|
|
43
43
|
* {children}
|
|
44
|
-
* </
|
|
44
|
+
* </StackProvider>
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
declare function
|
|
47
|
+
declare function StackProvider<TPluginOverrides extends Record<string, any> = Record<string, any>>({ children, overrides, basePath, }: {
|
|
48
48
|
children?: ReactNode;
|
|
49
49
|
overrides: TPluginOverrides;
|
|
50
50
|
basePath: string;
|
|
51
51
|
}): react_jsx_runtime.JSX.Element;
|
|
52
52
|
/**
|
|
53
|
-
* Hook to access the entire
|
|
53
|
+
* Hook to access the entire BTST context
|
|
54
54
|
* Useful if you need access to multiple plugins or the full context
|
|
55
55
|
*
|
|
56
56
|
* @returns The full context value including overrides and basePath
|
|
57
|
-
* @throws Error if used outside of
|
|
57
|
+
* @throws Error if used outside of StackProvider
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* ```tsx
|
|
61
|
-
* const { overrides, basePath } =
|
|
61
|
+
* const { overrides, basePath } = useStack<MyPluginOverrides>();
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
declare function
|
|
64
|
+
declare function useStack<TPluginOverrides extends Record<string, any> = Record<string, any>>(): StackContextValue<TPluginOverrides>;
|
|
65
65
|
type OverridesResult<TOverrides, TDefaults> = undefined extends TDefaults ? TOverrides : TOverrides & Required<Pick<TDefaults & {}, keyof TDefaults>>;
|
|
66
66
|
/**
|
|
67
67
|
* Hook to access overrides for a specific plugin
|
|
@@ -93,7 +93,7 @@ declare function usePluginOverrides<TOverrides = any, TDefaults extends Partial<
|
|
|
93
93
|
* Hook to access the base path where the client router is mounted
|
|
94
94
|
*
|
|
95
95
|
* @returns The base path string (e.g., "/pages")
|
|
96
|
-
* @throws Error if used outside of
|
|
96
|
+
* @throws Error if used outside of StackProvider
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* ```tsx
|
|
@@ -103,4 +103,4 @@ declare function usePluginOverrides<TOverrides = any, TDefaults extends Partial<
|
|
|
103
103
|
*/
|
|
104
104
|
declare function useBasePath(): string;
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { StackProvider, useBasePath, usePluginOverrides, useStack };
|
package/dist/context/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ReactNode } from 'react';
|
|
|
5
5
|
* Context value that provides plugin-specific overrides
|
|
6
6
|
* Generic over the shape of all plugin overrides
|
|
7
7
|
*/
|
|
8
|
-
interface
|
|
8
|
+
interface StackContextValue<TPluginOverrides extends Record<string, any>> {
|
|
9
9
|
/**
|
|
10
10
|
* The overrides for the plugin.
|
|
11
11
|
*/
|
|
@@ -16,7 +16,7 @@ interface BetterStackContextValue<TPluginOverrides extends Record<string, any>>
|
|
|
16
16
|
basePath: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Provider component for
|
|
19
|
+
* Provider component for BTST context
|
|
20
20
|
* Provides type-safe access to plugin-specific overrides
|
|
21
21
|
*
|
|
22
22
|
* Only requires override values, not plugin objects - keeps bundle size minimal!
|
|
@@ -29,7 +29,7 @@ interface BetterStackContextValue<TPluginOverrides extends Record<string, any>>
|
|
|
29
29
|
* messages: MessagesPluginOverrides;
|
|
30
30
|
* };
|
|
31
31
|
*
|
|
32
|
-
* <
|
|
32
|
+
* <StackProvider<MyPluginOverrides>
|
|
33
33
|
* overrides={{
|
|
34
34
|
* todos: {
|
|
35
35
|
* Link: (props) => <NextLink {...props} />,
|
|
@@ -41,27 +41,27 @@ interface BetterStackContextValue<TPluginOverrides extends Record<string, any>>
|
|
|
41
41
|
* }}
|
|
42
42
|
* >
|
|
43
43
|
* {children}
|
|
44
|
-
* </
|
|
44
|
+
* </StackProvider>
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
declare function
|
|
47
|
+
declare function StackProvider<TPluginOverrides extends Record<string, any> = Record<string, any>>({ children, overrides, basePath, }: {
|
|
48
48
|
children?: ReactNode;
|
|
49
49
|
overrides: TPluginOverrides;
|
|
50
50
|
basePath: string;
|
|
51
51
|
}): react_jsx_runtime.JSX.Element;
|
|
52
52
|
/**
|
|
53
|
-
* Hook to access the entire
|
|
53
|
+
* Hook to access the entire BTST context
|
|
54
54
|
* Useful if you need access to multiple plugins or the full context
|
|
55
55
|
*
|
|
56
56
|
* @returns The full context value including overrides and basePath
|
|
57
|
-
* @throws Error if used outside of
|
|
57
|
+
* @throws Error if used outside of StackProvider
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* ```tsx
|
|
61
|
-
* const { overrides, basePath } =
|
|
61
|
+
* const { overrides, basePath } = useStack<MyPluginOverrides>();
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
declare function
|
|
64
|
+
declare function useStack<TPluginOverrides extends Record<string, any> = Record<string, any>>(): StackContextValue<TPluginOverrides>;
|
|
65
65
|
type OverridesResult<TOverrides, TDefaults> = undefined extends TDefaults ? TOverrides : TOverrides & Required<Pick<TDefaults & {}, keyof TDefaults>>;
|
|
66
66
|
/**
|
|
67
67
|
* Hook to access overrides for a specific plugin
|
|
@@ -93,7 +93,7 @@ declare function usePluginOverrides<TOverrides = any, TDefaults extends Partial<
|
|
|
93
93
|
* Hook to access the base path where the client router is mounted
|
|
94
94
|
*
|
|
95
95
|
* @returns The base path string (e.g., "/pages")
|
|
96
|
-
* @throws Error if used outside of
|
|
96
|
+
* @throws Error if used outside of StackProvider
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* ```tsx
|
|
@@ -103,4 +103,4 @@ declare function usePluginOverrides<TOverrides = any, TDefaults extends Partial<
|
|
|
103
103
|
*/
|
|
104
104
|
declare function useBasePath(): string;
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { StackProvider, useBasePath, usePluginOverrides, useStack };
|
package/dist/context/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { StackProvider, useBasePath, usePluginOverrides, useStack } from '../packages/stack/src/context/provider.mjs';
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { stack } from './api/index.cjs';
|
|
2
2
|
export { toNodeHandler } from 'better-call/node';
|
|
3
|
-
export { i as BackendLib, h as BackendLibConfig, B as BackendPlugin,
|
|
3
|
+
export { i as BackendLib, h as BackendLibConfig, B as BackendPlugin, S as StackContext } from './shared/stack.BoA0xkJv.cjs';
|
|
4
4
|
import '@btst/yar';
|
|
5
5
|
import '@btst/db';
|
|
6
6
|
import 'better-call';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { stack } from './api/index.mjs';
|
|
2
2
|
export { toNodeHandler } from 'better-call/node';
|
|
3
|
-
export { i as BackendLib, h as BackendLibConfig, B as BackendPlugin,
|
|
3
|
+
export { i as BackendLib, h as BackendLibConfig, B as BackendPlugin, S as StackContext } from './shared/stack.BoA0xkJv.mjs';
|
|
4
4
|
import '@btst/yar';
|
|
5
5
|
import '@btst/db';
|
|
6
6
|
import 'better-call';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { stack } from './api/index.js';
|
|
2
2
|
export { toNodeHandler } from 'better-call/node';
|
|
3
|
-
export { i as BackendLib, h as BackendLibConfig, B as BackendPlugin,
|
|
3
|
+
export { i as BackendLib, h as BackendLibConfig, B as BackendPlugin, S as StackContext } from './shared/stack.BoA0xkJv.js';
|
|
4
4
|
import '@btst/yar';
|
|
5
5
|
import '@btst/db';
|
|
6
6
|
import 'better-call';
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { stack } from './api/index.mjs';
|
|
2
2
|
export { toNodeHandler } from 'better-call/node';
|