@btst/stack 2.6.1 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- 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/components/auto-form/index.d.cts +2 -2
- package/dist/components/auto-form/index.d.mts +2 -2
- package/dist/components/auto-form/index.d.ts +2 -2
- package/dist/components/form-builder/index.d.cts +1 -1
- package/dist/components/form-builder/index.d.mts +1 -1
- package/dist/components/form-builder/index.d.ts +1 -1
- package/dist/components/stepped-auto-form/index.d.cts +1 -1
- package/dist/components/stepped-auto-form/index.d.mts +1 -1
- package/dist/components/stepped-auto-form/index.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-layout.cjs +20 -2
- package/dist/packages/stack/src/plugins/ai-chat/client/components/chat-layout.mjs +20 -2
- package/dist/packages/stack/src/plugins/kanban/api/plugin.cjs +5 -4
- package/dist/packages/stack/src/plugins/kanban/api/plugin.mjs +5 -4
- package/dist/plugins/ai-chat/api/index.d.cts +4 -6
- package/dist/plugins/ai-chat/api/index.d.mts +4 -6
- package/dist/plugins/ai-chat/api/index.d.ts +4 -6
- package/dist/plugins/ai-chat/client/components/index.d.cts +1 -1
- package/dist/plugins/ai-chat/client/components/index.d.mts +1 -1
- package/dist/plugins/ai-chat/client/components/index.d.ts +1 -1
- package/dist/plugins/ai-chat/client/hooks/index.d.cts +1 -3
- package/dist/plugins/ai-chat/client/hooks/index.d.mts +1 -3
- package/dist/plugins/ai-chat/client/hooks/index.d.ts +1 -3
- package/dist/plugins/ai-chat/client/index.d.cts +2 -2
- package/dist/plugins/ai-chat/client/index.d.mts +2 -2
- package/dist/plugins/ai-chat/client/index.d.ts +2 -2
- package/dist/plugins/ai-chat/query-keys.d.cts +1 -3
- package/dist/plugins/ai-chat/query-keys.d.mts +1 -3
- package/dist/plugins/ai-chat/query-keys.d.ts +1 -3
- 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.d.cts +3 -3
- package/dist/plugins/blog/api/index.d.mts +3 -3
- package/dist/plugins/blog/api/index.d.ts +3 -3
- 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/index.d.cts +2 -2
- package/dist/plugins/blog/client/index.d.mts +2 -2
- package/dist/plugins/blog/client/index.d.ts +2 -2
- package/dist/plugins/blog/query-keys.d.cts +3 -3
- package/dist/plugins/blog/query-keys.d.mts +3 -3
- package/dist/plugins/blog/query-keys.d.ts +3 -3
- package/dist/plugins/client/index.d.cts +2 -2
- package/dist/plugins/client/index.d.mts +2 -2
- package/dist/plugins/client/index.d.ts +2 -2
- 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/client/index.d.cts +1 -1
- package/dist/plugins/cms/client/index.d.mts +1 -1
- package/dist/plugins/cms/client/index.d.ts +1 -1
- package/dist/plugins/cms/query-keys.d.cts +1 -1
- package/dist/plugins/cms/query-keys.d.mts +1 -1
- package/dist/plugins/cms/query-keys.d.ts +1 -1
- 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/index.d.cts +1 -1
- package/dist/plugins/form-builder/client/index.d.mts +1 -1
- package/dist/plugins/form-builder/client/index.d.ts +1 -1
- package/dist/plugins/form-builder/query-keys.d.cts +1 -1
- package/dist/plugins/form-builder/query-keys.d.mts +1 -1
- package/dist/plugins/form-builder/query-keys.d.ts +1 -1
- package/dist/plugins/kanban/api/index.d.cts +2 -2
- package/dist/plugins/kanban/api/index.d.mts +2 -2
- package/dist/plugins/kanban/api/index.d.ts +2 -2
- package/dist/plugins/kanban/query-keys.d.cts +2 -2
- package/dist/plugins/kanban/query-keys.d.mts +2 -2
- package/dist/plugins/kanban/query-keys.d.ts +2 -2
- package/dist/plugins/open-api/api/index.d.cts +3 -3
- package/dist/plugins/open-api/api/index.d.mts +3 -3
- package/dist/plugins/open-api/api/index.d.ts +3 -3
- 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/ui-builder/client/components/index.d.cts +2 -2
- package/dist/plugins/ui-builder/client/components/index.d.mts +2 -2
- package/dist/plugins/ui-builder/client/components/index.d.ts +2 -2
- package/dist/plugins/ui-builder/client/hooks/index.d.cts +3 -3
- package/dist/plugins/ui-builder/client/hooks/index.d.mts +3 -3
- package/dist/plugins/ui-builder/client/hooks/index.d.ts +3 -3
- 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 +3 -3
- package/dist/plugins/ui-builder/index.d.mts +3 -3
- package/dist/plugins/ui-builder/index.d.ts +3 -3
- package/dist/shared/{stack.B1srlBud.d.mts → stack.BFoBvGML.d.mts} +1 -1
- package/dist/shared/{stack.DmpPDPxA.d.cts → stack.BOCvd9HK.d.cts} +1 -1
- package/dist/shared/{stack.DXnclTG7.d.ts → stack.BSqJrCTM.d.cts} +120 -59
- package/dist/shared/{stack.B58oHdqm.d.mts → stack.BX7MHi0J.d.mts} +90 -45
- package/dist/shared/{stack.cfCkioTe.d.mts → stack.BXxrFL9R.d.ts} +120 -59
- package/dist/shared/{stack.CSx98K5H.d.cts → stack.BYN8wCV6.d.cts} +87 -58
- package/dist/shared/{stack.FVWf2JhZ.d.mts → stack.BgQrdSlo.d.mts} +60 -45
- package/dist/shared/{stack.BK9Z2dcL.d.ts → stack.BmMB0LNC.d.ts} +1 -1
- package/dist/shared/{stack.CFECM0ew.d.cts → stack.C1nXGBr6.d.cts} +1 -1
- package/dist/shared/{stack.C9Mg2Q46.d.cts → stack.C9zoS1TN.d.cts} +90 -45
- package/dist/shared/{stack.B8vT-Yt4.d.mts → stack.CNLHlv7r.d.mts} +3 -3
- package/dist/shared/{stack.fdi94T4S.d.mts → stack.CPsYC2-Z.d.cts} +7 -7
- package/dist/shared/{stack.fdi94T4S.d.ts → stack.CPsYC2-Z.d.mts} +7 -7
- package/dist/shared/{stack.fdi94T4S.d.cts → stack.CPsYC2-Z.d.ts} +7 -7
- package/dist/shared/{stack.BwA7trxA.d.cts → stack.CQAZwXhV.d.cts} +3 -3
- package/dist/shared/{stack.7n9Y_u7N.d.cts → stack.CQnwAN7x.d.cts} +6 -6
- package/dist/shared/{stack.7n9Y_u7N.d.mts → stack.CQnwAN7x.d.mts} +6 -6
- package/dist/shared/{stack.7n9Y_u7N.d.ts → stack.CQnwAN7x.d.ts} +6 -6
- package/dist/shared/{stack.D-b5zbPm.d.cts → stack.Cbsrl06u.d.cts} +60 -45
- package/dist/shared/{stack.BAT540yW.d.ts → stack.D3BsrpAz.d.ts} +3 -3
- package/dist/shared/{stack.DgKOwl20.d.ts → stack.D4Cea8II.d.ts} +170 -110
- package/dist/shared/{stack.BgTmujxW.d.mts → stack.D88yU4FT.d.mts} +87 -58
- package/dist/shared/{stack.DVtk5CNw.d.mts → stack.DLPa6Gzm.d.mts} +1 -1
- package/dist/shared/{stack.ASwEoINr.d.ts → stack.DxJ-tHLt.d.ts} +1 -1
- package/dist/shared/{stack.DaZM10cp.d.cts → stack.DzOhpIYM.d.mts} +120 -59
- package/dist/shared/{stack.CTDVxbrA.d.ts → stack.Fl2Kl_bt.d.ts} +60 -45
- package/dist/shared/{stack.B8D4r97Z.d.mts → stack.HE_IvqV5.d.mts} +170 -110
- package/dist/shared/{stack.uWSqCWAb.d.cts → stack.Rtcvl8sS.d.cts} +170 -110
- package/dist/shared/{stack.CLQuVdwK.d.ts → stack.RuQ9JCLo.d.ts} +87 -58
- package/dist/shared/{stack.sO33ZDhK.d.ts → stack.fQjVhw5a.d.ts} +90 -45
- package/dist/shared/{stack.BV9hnvu4.d.cts → stack.sba323Ml.d.cts} +2 -0
- package/dist/shared/{stack.BV9hnvu4.d.mts → stack.sba323Ml.d.mts} +2 -0
- package/dist/shared/{stack.BV9hnvu4.d.ts → stack.sba323Ml.d.ts} +2 -0
- package/package.json +4 -4
- package/src/__tests__/plugins.test.tsx +5 -1
- package/src/__tests__/stack-api.test.ts +1 -1
- package/src/plugins/ai-chat/__tests__/getters.test.ts +1 -1
- package/src/plugins/ai-chat/api/getters.ts +1 -1
- package/src/plugins/ai-chat/api/plugin.ts +1 -1
- package/src/plugins/ai-chat/client/components/chat-layout.tsx +22 -1
- package/src/plugins/api/index.ts +5 -1
- package/src/plugins/blog/__tests__/getters.test.ts +1 -1
- package/src/plugins/blog/api/getters.ts +1 -1
- package/src/plugins/blog/api/plugin.ts +1 -1
- package/src/plugins/cms/__tests__/getters.test.ts +1 -1
- package/src/plugins/cms/api/getters.ts +1 -1
- package/src/plugins/cms/api/mutations.ts +1 -1
- package/src/plugins/cms/api/plugin.ts +1 -1
- package/src/plugins/form-builder/__tests__/getters.test.ts +1 -1
- package/src/plugins/form-builder/api/getters.ts +1 -1
- package/src/plugins/form-builder/api/plugin.ts +1 -1
- package/src/plugins/kanban/__tests__/getters.test.ts +1 -1
- package/src/plugins/kanban/api/getters.ts +1 -1
- package/src/plugins/kanban/api/mutations.ts +1 -1
- package/src/plugins/kanban/api/plugin.ts +6 -5
- package/src/types.ts +5 -1
- package/dist/shared/{stack.BQmuNl5p.d.mts → stack.BWp0hcm9.d.cts} +3 -3
- package/dist/shared/{stack.BQmuNl5p.d.ts → stack.BWp0hcm9.d.mts} +3 -3
- package/dist/shared/{stack.BQmuNl5p.d.cts → stack.BWp0hcm9.d.ts} +3 -3
package/dist/api/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib, j as PluginApis } from '../shared/stack.
|
|
2
|
-
export { B as BackendPlugin, S as StackContext } from '../shared/stack.
|
|
1
|
+
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib, j as PluginApis } from '../shared/stack.CQnwAN7x.cjs';
|
|
2
|
+
export { B as BackendPlugin, S as StackContext } from '../shared/stack.CQnwAN7x.cjs';
|
|
3
3
|
export { toNodeHandler } from 'better-call/node';
|
|
4
4
|
import '@btst/yar';
|
|
5
5
|
import '@btst/db';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib, j as PluginApis } from '../shared/stack.
|
|
2
|
-
export { B as BackendPlugin, S as StackContext } from '../shared/stack.
|
|
1
|
+
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib, j as PluginApis } from '../shared/stack.CQnwAN7x.mjs';
|
|
2
|
+
export { B as BackendPlugin, S as StackContext } from '../shared/stack.CQnwAN7x.mjs';
|
|
3
3
|
export { toNodeHandler } from 'better-call/node';
|
|
4
4
|
import '@btst/yar';
|
|
5
5
|
import '@btst/db';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib, j as PluginApis } from '../shared/stack.
|
|
2
|
-
export { B as BackendPlugin, S as StackContext } from '../shared/stack.
|
|
1
|
+
import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib, j as PluginApis } from '../shared/stack.CQnwAN7x.js';
|
|
2
|
+
export { B as BackendPlugin, S as StackContext } from '../shared/stack.CQnwAN7x.js';
|
|
3
3
|
export { toNodeHandler } from 'better-call/node';
|
|
4
4
|
import '@btst/yar';
|
|
5
5
|
import '@btst/db';
|
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.CQnwAN7x.cjs';
|
|
2
|
+
export { b as ClientStackContext } from '../shared/stack.CQnwAN7x.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.CQnwAN7x.mjs';
|
|
2
|
+
export { b as ClientStackContext } from '../shared/stack.CQnwAN7x.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.CQnwAN7x.js';
|
|
2
|
+
export { b as ClientStackContext } from '../shared/stack.CQnwAN7x.js';
|
|
3
3
|
import '@btst/yar';
|
|
4
4
|
import '@btst/db';
|
|
5
5
|
import 'better-call';
|
|
@@ -2,8 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { UseFormReturn, FormState } from 'react-hook-form';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { a as FieldConfig, D as Dependency } from '../../shared/stack.
|
|
6
|
-
export { A as AutoFormInputComponentProps, b as DependencyType, F as FieldConfigItem } from '../../shared/stack.
|
|
5
|
+
import { a as FieldConfig, D as Dependency } from '../../shared/stack.CPsYC2-Z.cjs';
|
|
6
|
+
export { A as AutoFormInputComponentProps, b as DependencyType, F as FieldConfigItem } from '../../shared/stack.CPsYC2-Z.cjs';
|
|
7
7
|
import { Z as ZodObjectOrWrapped } from '../../shared/stack.CZMWR72v.cjs';
|
|
8
8
|
|
|
9
9
|
declare function AutoFormSubmit({ children, className, disabled, }: {
|
|
@@ -2,8 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { UseFormReturn, FormState } from 'react-hook-form';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { a as FieldConfig, D as Dependency } from '../../shared/stack.
|
|
6
|
-
export { A as AutoFormInputComponentProps, b as DependencyType, F as FieldConfigItem } from '../../shared/stack.
|
|
5
|
+
import { a as FieldConfig, D as Dependency } from '../../shared/stack.CPsYC2-Z.mjs';
|
|
6
|
+
export { A as AutoFormInputComponentProps, b as DependencyType, F as FieldConfigItem } from '../../shared/stack.CPsYC2-Z.mjs';
|
|
7
7
|
import { Z as ZodObjectOrWrapped } from '../../shared/stack.CZMWR72v.mjs';
|
|
8
8
|
|
|
9
9
|
declare function AutoFormSubmit({ children, className, disabled, }: {
|
|
@@ -2,8 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { UseFormReturn, FormState } from 'react-hook-form';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { a as FieldConfig, D as Dependency } from '../../shared/stack.
|
|
6
|
-
export { A as AutoFormInputComponentProps, b as DependencyType, F as FieldConfigItem } from '../../shared/stack.
|
|
5
|
+
import { a as FieldConfig, D as Dependency } from '../../shared/stack.CPsYC2-Z.js';
|
|
6
|
+
export { A as AutoFormInputComponentProps, b as DependencyType, F as FieldConfigItem } from '../../shared/stack.CPsYC2-Z.js';
|
|
7
7
|
import { Z as ZodObjectOrWrapped } from '../../shared/stack.CZMWR72v.js';
|
|
8
8
|
|
|
9
9
|
declare function AutoFormSubmit({ children, className, disabled, }: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { I as InputPropsByBackingType, c as FieldType, S as SerializableInputProps, J as JSONSchemaPropertyBase, A as AutoFormInputComponentProps } from '../../shared/stack.
|
|
3
|
+
import { I as InputPropsByBackingType, c as FieldType, S as SerializableInputProps, J as JSONSchemaPropertyBase, A as AutoFormInputComponentProps } from '../../shared/stack.CPsYC2-Z.cjs';
|
|
4
4
|
import 'react-hook-form';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { I as InputPropsByBackingType, c as FieldType, S as SerializableInputProps, J as JSONSchemaPropertyBase, A as AutoFormInputComponentProps } from '../../shared/stack.
|
|
3
|
+
import { I as InputPropsByBackingType, c as FieldType, S as SerializableInputProps, J as JSONSchemaPropertyBase, A as AutoFormInputComponentProps } from '../../shared/stack.CPsYC2-Z.mjs';
|
|
4
4
|
import 'react-hook-form';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { I as InputPropsByBackingType, c as FieldType, S as SerializableInputProps, J as JSONSchemaPropertyBase, A as AutoFormInputComponentProps } from '../../shared/stack.
|
|
3
|
+
import { I as InputPropsByBackingType, c as FieldType, S as SerializableInputProps, J as JSONSchemaPropertyBase, A as AutoFormInputComponentProps } from '../../shared/stack.CPsYC2-Z.js';
|
|
4
4
|
import 'react-hook-form';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { UseFormReturn } from 'react-hook-form';
|
|
5
|
-
import { a as FieldConfig } from '../../shared/stack.
|
|
5
|
+
import { a as FieldConfig } from '../../shared/stack.CPsYC2-Z.cjs';
|
|
6
6
|
import { Z as ZodObjectOrWrapped } from '../../shared/stack.CZMWR72v.cjs';
|
|
7
7
|
|
|
8
8
|
interface StepperComponentProps {
|
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { UseFormReturn } from 'react-hook-form';
|
|
5
|
-
import { a as FieldConfig } from '../../shared/stack.
|
|
5
|
+
import { a as FieldConfig } from '../../shared/stack.CPsYC2-Z.mjs';
|
|
6
6
|
import { Z as ZodObjectOrWrapped } from '../../shared/stack.CZMWR72v.mjs';
|
|
7
7
|
|
|
8
8
|
interface StepperComponentProps {
|
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { UseFormReturn } from 'react-hook-form';
|
|
5
|
-
import { a as FieldConfig } from '../../shared/stack.
|
|
5
|
+
import { a as FieldConfig } from '../../shared/stack.CPsYC2-Z.js';
|
|
6
6
|
import { Z as ZodObjectOrWrapped } from '../../shared/stack.CZMWR72v.js';
|
|
7
7
|
|
|
8
8
|
interface StepperComponentProps {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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, j as PluginApis, S as StackContext } from './shared/stack.
|
|
3
|
+
export { i as BackendLib, h as BackendLibConfig, B as BackendPlugin, j as PluginApis, S as StackContext } from './shared/stack.CQnwAN7x.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
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, j as PluginApis, S as StackContext } from './shared/stack.
|
|
3
|
+
export { i as BackendLib, h as BackendLibConfig, B as BackendPlugin, j as PluginApis, S as StackContext } from './shared/stack.CQnwAN7x.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
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, j as PluginApis, S as StackContext } from './shared/stack.
|
|
3
|
+
export { i as BackendLib, h as BackendLibConfig, B as BackendPlugin, j as PluginApis, S as StackContext } from './shared/stack.CQnwAN7x.js';
|
|
4
4
|
import '@btst/yar';
|
|
5
5
|
import '@btst/db';
|
|
6
6
|
import 'better-call';
|
|
@@ -21,7 +21,8 @@ function ChatLayout(props) {
|
|
|
21
21
|
className,
|
|
22
22
|
showSidebar = true,
|
|
23
23
|
initialMessages,
|
|
24
|
-
onMessagesChange
|
|
24
|
+
onMessagesChange,
|
|
25
|
+
onClear
|
|
25
26
|
} = props;
|
|
26
27
|
const widgetHeight = props.layout === "widget" ? props.widgetHeight ?? "600px" : "600px";
|
|
27
28
|
const widgetWidth = props.layout === "widget" ? props.widgetWidth ?? "380px" : "380px";
|
|
@@ -69,7 +70,10 @@ function ChatLayout(props) {
|
|
|
69
70
|
variant: "ghost",
|
|
70
71
|
size: "icon",
|
|
71
72
|
className: "h-5 w-5",
|
|
72
|
-
onClick: () =>
|
|
73
|
+
onClick: () => {
|
|
74
|
+
onClear?.();
|
|
75
|
+
setWidgetResetKey((prev) => prev + 1);
|
|
76
|
+
},
|
|
73
77
|
"aria-label": "Clear chat",
|
|
74
78
|
title: "Clear chat",
|
|
75
79
|
children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Trash2, { className: "h-3.5 w-3.5" })
|
|
@@ -190,6 +194,20 @@ function ChatLayout(props) {
|
|
|
190
194
|
pageAIContext.routeName
|
|
191
195
|
]
|
|
192
196
|
}
|
|
197
|
+
),
|
|
198
|
+
onClear && /* @__PURE__ */ jsxRuntime.jsx(
|
|
199
|
+
button.Button,
|
|
200
|
+
{
|
|
201
|
+
variant: "ghost",
|
|
202
|
+
size: "icon",
|
|
203
|
+
onClick: () => {
|
|
204
|
+
onClear();
|
|
205
|
+
setChatResetKey((prev) => prev + 1);
|
|
206
|
+
},
|
|
207
|
+
"aria-label": "Clear chat",
|
|
208
|
+
title: "Clear chat",
|
|
209
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Trash2, { className: "h-4 w-4" })
|
|
210
|
+
}
|
|
193
211
|
)
|
|
194
212
|
] }),
|
|
195
213
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -19,7 +19,8 @@ function ChatLayout(props) {
|
|
|
19
19
|
className,
|
|
20
20
|
showSidebar = true,
|
|
21
21
|
initialMessages,
|
|
22
|
-
onMessagesChange
|
|
22
|
+
onMessagesChange,
|
|
23
|
+
onClear
|
|
23
24
|
} = props;
|
|
24
25
|
const widgetHeight = props.layout === "widget" ? props.widgetHeight ?? "600px" : "600px";
|
|
25
26
|
const widgetWidth = props.layout === "widget" ? props.widgetWidth ?? "380px" : "380px";
|
|
@@ -67,7 +68,10 @@ function ChatLayout(props) {
|
|
|
67
68
|
variant: "ghost",
|
|
68
69
|
size: "icon",
|
|
69
70
|
className: "h-5 w-5",
|
|
70
|
-
onClick: () =>
|
|
71
|
+
onClick: () => {
|
|
72
|
+
onClear?.();
|
|
73
|
+
setWidgetResetKey((prev) => prev + 1);
|
|
74
|
+
},
|
|
71
75
|
"aria-label": "Clear chat",
|
|
72
76
|
title: "Clear chat",
|
|
73
77
|
children: /* @__PURE__ */ jsx(Trash2, { className: "h-3.5 w-3.5" })
|
|
@@ -188,6 +192,20 @@ function ChatLayout(props) {
|
|
|
188
192
|
pageAIContext.routeName
|
|
189
193
|
]
|
|
190
194
|
}
|
|
195
|
+
),
|
|
196
|
+
onClear && /* @__PURE__ */ jsx(
|
|
197
|
+
Button,
|
|
198
|
+
{
|
|
199
|
+
variant: "ghost",
|
|
200
|
+
size: "icon",
|
|
201
|
+
onClick: () => {
|
|
202
|
+
onClear();
|
|
203
|
+
setChatResetKey((prev) => prev + 1);
|
|
204
|
+
},
|
|
205
|
+
"aria-label": "Clear chat",
|
|
206
|
+
title: "Clear chat",
|
|
207
|
+
children: /* @__PURE__ */ jsx(Trash2, { className: "h-4 w-4" })
|
|
208
|
+
}
|
|
191
209
|
)
|
|
192
210
|
] }),
|
|
193
211
|
/* @__PURE__ */ jsx(
|
|
@@ -139,7 +139,7 @@ const kanbanBackendPlugin = (hooks) => api.defineBackendPlugin({
|
|
|
139
139
|
let newBoard;
|
|
140
140
|
const createdColumns = [];
|
|
141
141
|
await adapter.transaction(async (tx) => {
|
|
142
|
-
|
|
142
|
+
const createdBoard = await tx.create({
|
|
143
143
|
model: "kanbanBoard",
|
|
144
144
|
data: {
|
|
145
145
|
...boardData,
|
|
@@ -148,10 +148,11 @@ const kanbanBackendPlugin = (hooks) => api.defineBackendPlugin({
|
|
|
148
148
|
updatedAt: /* @__PURE__ */ new Date()
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
|
+
newBoard = createdBoard;
|
|
151
152
|
const defaultColumns = [
|
|
152
|
-
{ title: "To Do", order: 0, boardId:
|
|
153
|
-
{ title: "In Progress", order: 1, boardId:
|
|
154
|
-
{ title: "Done", order: 2, boardId:
|
|
153
|
+
{ title: "To Do", order: 0, boardId: createdBoard.id },
|
|
154
|
+
{ title: "In Progress", order: 1, boardId: createdBoard.id },
|
|
155
|
+
{ title: "Done", order: 2, boardId: createdBoard.id }
|
|
155
156
|
];
|
|
156
157
|
for (const colData of defaultColumns) {
|
|
157
158
|
const col = await tx.create({
|
|
@@ -137,7 +137,7 @@ const kanbanBackendPlugin = (hooks) => defineBackendPlugin({
|
|
|
137
137
|
let newBoard;
|
|
138
138
|
const createdColumns = [];
|
|
139
139
|
await adapter.transaction(async (tx) => {
|
|
140
|
-
|
|
140
|
+
const createdBoard = await tx.create({
|
|
141
141
|
model: "kanbanBoard",
|
|
142
142
|
data: {
|
|
143
143
|
...boardData,
|
|
@@ -146,10 +146,11 @@ const kanbanBackendPlugin = (hooks) => defineBackendPlugin({
|
|
|
146
146
|
updatedAt: /* @__PURE__ */ new Date()
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
|
+
newBoard = createdBoard;
|
|
149
150
|
const defaultColumns = [
|
|
150
|
-
{ title: "To Do", order: 0, boardId:
|
|
151
|
-
{ title: "In Progress", order: 1, boardId:
|
|
152
|
-
{ title: "Done", order: 2, boardId:
|
|
151
|
+
{ title: "To Do", order: 0, boardId: createdBoard.id },
|
|
152
|
+
{ title: "In Progress", order: 1, boardId: createdBoard.id },
|
|
153
|
+
{ title: "Done", order: 2, boardId: createdBoard.id }
|
|
153
154
|
];
|
|
154
155
|
for (const colData of defaultColumns) {
|
|
155
156
|
const col = await tx.create({
|
|
@@ -1,12 +1,10 @@
|
|
|
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.
|
|
2
|
-
import {
|
|
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.Cbsrl06u.cjs';
|
|
2
|
+
import { DBAdapter } from '@btst/db';
|
|
3
3
|
import { C as Conversation, M as Message } from '../../../shared/stack.Be1QIHEn.cjs';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '@btst/stack/plugins/client';
|
|
6
6
|
import '@btst/stack/plugins/api';
|
|
7
7
|
import 'better-call';
|
|
8
|
-
import 'zod/v4/core';
|
|
9
|
-
import 'zod';
|
|
10
8
|
import 'ai';
|
|
11
9
|
|
|
12
10
|
/**
|
|
@@ -16,7 +14,7 @@ import 'ai';
|
|
|
16
14
|
* @param adapter - The database adapter
|
|
17
15
|
* @param userId - Optional user ID to filter conversations by owner
|
|
18
16
|
*/
|
|
19
|
-
declare function getAllConversations(adapter:
|
|
17
|
+
declare function getAllConversations(adapter: DBAdapter, userId?: string): Promise<Conversation[]>;
|
|
20
18
|
/**
|
|
21
19
|
* Retrieve a single conversation by its ID, including all messages.
|
|
22
20
|
* Returns null if the conversation is not found.
|
|
@@ -25,7 +23,7 @@ declare function getAllConversations(adapter: Adapter, userId?: string): Promise
|
|
|
25
23
|
* @param adapter - The database adapter
|
|
26
24
|
* @param id - The conversation ID
|
|
27
25
|
*/
|
|
28
|
-
declare function getConversationById(adapter:
|
|
26
|
+
declare function getConversationById(adapter: DBAdapter, id: string): Promise<(Conversation & {
|
|
29
27
|
messages: Message[];
|
|
30
28
|
}) | null>;
|
|
31
29
|
|
|
@@ -1,12 +1,10 @@
|
|
|
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.
|
|
2
|
-
import {
|
|
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.BgQrdSlo.mjs';
|
|
2
|
+
import { DBAdapter } from '@btst/db';
|
|
3
3
|
import { C as Conversation, M as Message } from '../../../shared/stack.Be1QIHEn.mjs';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '@btst/stack/plugins/client';
|
|
6
6
|
import '@btst/stack/plugins/api';
|
|
7
7
|
import 'better-call';
|
|
8
|
-
import 'zod/v4/core';
|
|
9
|
-
import 'zod';
|
|
10
8
|
import 'ai';
|
|
11
9
|
|
|
12
10
|
/**
|
|
@@ -16,7 +14,7 @@ import 'ai';
|
|
|
16
14
|
* @param adapter - The database adapter
|
|
17
15
|
* @param userId - Optional user ID to filter conversations by owner
|
|
18
16
|
*/
|
|
19
|
-
declare function getAllConversations(adapter:
|
|
17
|
+
declare function getAllConversations(adapter: DBAdapter, userId?: string): Promise<Conversation[]>;
|
|
20
18
|
/**
|
|
21
19
|
* Retrieve a single conversation by its ID, including all messages.
|
|
22
20
|
* Returns null if the conversation is not found.
|
|
@@ -25,7 +23,7 @@ declare function getAllConversations(adapter: Adapter, userId?: string): Promise
|
|
|
25
23
|
* @param adapter - The database adapter
|
|
26
24
|
* @param id - The conversation ID
|
|
27
25
|
*/
|
|
28
|
-
declare function getConversationById(adapter:
|
|
26
|
+
declare function getConversationById(adapter: DBAdapter, id: string): Promise<(Conversation & {
|
|
29
27
|
messages: Message[];
|
|
30
28
|
}) | null>;
|
|
31
29
|
|
|
@@ -1,12 +1,10 @@
|
|
|
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.
|
|
2
|
-
import {
|
|
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.Fl2Kl_bt.js';
|
|
2
|
+
import { DBAdapter } from '@btst/db';
|
|
3
3
|
import { C as Conversation, M as Message } from '../../../shared/stack.Be1QIHEn.js';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '@btst/stack/plugins/client';
|
|
6
6
|
import '@btst/stack/plugins/api';
|
|
7
7
|
import 'better-call';
|
|
8
|
-
import 'zod/v4/core';
|
|
9
|
-
import 'zod';
|
|
10
8
|
import 'ai';
|
|
11
9
|
|
|
12
10
|
/**
|
|
@@ -16,7 +14,7 @@ import 'ai';
|
|
|
16
14
|
* @param adapter - The database adapter
|
|
17
15
|
* @param userId - Optional user ID to filter conversations by owner
|
|
18
16
|
*/
|
|
19
|
-
declare function getAllConversations(adapter:
|
|
17
|
+
declare function getAllConversations(adapter: DBAdapter, userId?: string): Promise<Conversation[]>;
|
|
20
18
|
/**
|
|
21
19
|
* Retrieve a single conversation by its ID, including all messages.
|
|
22
20
|
* Returns null if the conversation is not found.
|
|
@@ -25,7 +23,7 @@ declare function getAllConversations(adapter: Adapter, userId?: string): Promise
|
|
|
25
23
|
* @param adapter - The database adapter
|
|
26
24
|
* @param id - The conversation ID
|
|
27
25
|
*/
|
|
28
|
-
declare function getConversationById(adapter:
|
|
26
|
+
declare function getConversationById(adapter: DBAdapter, id: string): Promise<(Conversation & {
|
|
29
27
|
messages: Message[];
|
|
30
28
|
}) | null>;
|
|
31
29
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.
|
|
1
|
+
export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.sba323Ml.cjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
4
|
import 'ai';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.
|
|
1
|
+
export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.sba323Ml.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
4
|
import 'ai';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.
|
|
1
|
+
export { i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, j as ToolCallDisplay } from '../../../../shared/stack.sba323Ml.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
4
|
import 'ai';
|
|
@@ -1,12 +1,10 @@
|
|
|
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.Cbsrl06u.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';
|
|
6
6
|
import '@btst/stack/plugins/api';
|
|
7
7
|
import 'better-call';
|
|
8
|
-
import 'zod/v4/core';
|
|
9
|
-
import 'zod';
|
|
10
8
|
import 'ai';
|
|
11
9
|
|
|
12
10
|
/**
|
|
@@ -1,12 +1,10 @@
|
|
|
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.BgQrdSlo.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';
|
|
6
6
|
import '@btst/stack/plugins/api';
|
|
7
7
|
import 'better-call';
|
|
8
|
-
import 'zod/v4/core';
|
|
9
|
-
import 'zod';
|
|
10
8
|
import 'ai';
|
|
11
9
|
|
|
12
10
|
/**
|
|
@@ -1,12 +1,10 @@
|
|
|
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.Fl2Kl_bt.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';
|
|
6
6
|
import '@btst/stack/plugins/api';
|
|
7
7
|
import 'better-call';
|
|
8
|
-
import 'zod/v4/core';
|
|
9
|
-
import 'zod';
|
|
10
8
|
import 'ai';
|
|
11
9
|
|
|
12
10
|
/**
|
|
@@ -3,8 +3,8 @@ import * as _btst_yar from '@btst/yar';
|
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import { QueryClient } from '@tanstack/react-query';
|
|
5
5
|
import { S as SerializedConversation, a as SerializedMessage } from '../../../shared/stack.Be1QIHEn.cjs';
|
|
6
|
-
import { A as AiChatMode } from '../../../shared/stack.
|
|
7
|
-
export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.
|
|
6
|
+
import { A as AiChatMode } from '../../../shared/stack.sba323Ml.cjs';
|
|
7
|
+
export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.sba323Ml.cjs';
|
|
8
8
|
export { UIMessage } from 'ai';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@ import * as _btst_yar from '@btst/yar';
|
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import { QueryClient } from '@tanstack/react-query';
|
|
5
5
|
import { S as SerializedConversation, a as SerializedMessage } from '../../../shared/stack.Be1QIHEn.mjs';
|
|
6
|
-
import { A as AiChatMode } from '../../../shared/stack.
|
|
7
|
-
export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.
|
|
6
|
+
import { A as AiChatMode } from '../../../shared/stack.sba323Ml.mjs';
|
|
7
|
+
export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.sba323Ml.mjs';
|
|
8
8
|
export { UIMessage } from 'ai';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@ import * as _btst_yar from '@btst/yar';
|
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import { QueryClient } from '@tanstack/react-query';
|
|
5
5
|
import { S as SerializedConversation, a as SerializedMessage } from '../../../shared/stack.Be1QIHEn.js';
|
|
6
|
-
import { A as AiChatMode } from '../../../shared/stack.
|
|
7
|
-
export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.
|
|
6
|
+
import { A as AiChatMode } from '../../../shared/stack.sba323Ml.js';
|
|
7
|
+
export { a as AiChatPluginOverrides, b as AllowedFileType, i as ChatInput, C as ChatInterface, e as ChatLayout, f as ChatLayoutProps, h as ChatMessage, g as ChatSidebar, D as DEFAULT_ALLOWED_FILE_TYPES, j as ToolCallDisplay, T as ToolCallProps, d as ToolCallRenderer, c as ToolCallState } from '../../../shared/stack.sba323Ml.js';
|
|
8
8
|
export { UIMessage } from 'ai';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
|
|
@@ -1,9 +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.Cbsrl06u.cjs';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
6
6
|
import 'better-call';
|
|
7
|
-
import 'zod/v4/core';
|
|
8
|
-
import 'zod';
|
|
9
7
|
import 'ai';
|
|
@@ -1,9 +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.BgQrdSlo.mjs';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
6
6
|
import 'better-call';
|
|
7
|
-
import 'zod/v4/core';
|
|
8
|
-
import 'zod';
|
|
9
7
|
import 'ai';
|
|
@@ -1,9 +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.Fl2Kl_bt.js';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
6
6
|
import 'better-call';
|
|
7
|
-
import 'zod/v4/core';
|
|
8
|
-
import 'zod';
|
|
9
7
|
import 'ai';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as BackendPlugin } from '../../shared/stack.
|
|
2
|
-
export { C as ClientPlugin } from '../../shared/stack.
|
|
1
|
+
import { B as BackendPlugin } from '../../shared/stack.CQnwAN7x.cjs';
|
|
2
|
+
export { C as ClientPlugin } from '../../shared/stack.CQnwAN7x.cjs';
|
|
3
3
|
import { Endpoint } from 'better-call';
|
|
4
4
|
export { Endpoint, Router, createEndpoint, createRouter } from 'better-call';
|
|
5
|
-
export { Adapter, DatabaseDefinition, DbPlugin, createDbPlugin } from '@btst/db';
|
|
5
|
+
export { DBAdapter as Adapter, DatabaseDefinition, DbPlugin, createDbPlugin } from '@btst/db';
|
|
6
6
|
import '@btst/yar';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as BackendPlugin } from '../../shared/stack.
|
|
2
|
-
export { C as ClientPlugin } from '../../shared/stack.
|
|
1
|
+
import { B as BackendPlugin } from '../../shared/stack.CQnwAN7x.mjs';
|
|
2
|
+
export { C as ClientPlugin } from '../../shared/stack.CQnwAN7x.mjs';
|
|
3
3
|
import { Endpoint } from 'better-call';
|
|
4
4
|
export { Endpoint, Router, createEndpoint, createRouter } from 'better-call';
|
|
5
|
-
export { Adapter, DatabaseDefinition, DbPlugin, createDbPlugin } from '@btst/db';
|
|
5
|
+
export { DBAdapter as Adapter, DatabaseDefinition, DbPlugin, createDbPlugin } from '@btst/db';
|
|
6
6
|
import '@btst/yar';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as BackendPlugin } from '../../shared/stack.
|
|
2
|
-
export { C as ClientPlugin } from '../../shared/stack.
|
|
1
|
+
import { B as BackendPlugin } from '../../shared/stack.CQnwAN7x.js';
|
|
2
|
+
export { C as ClientPlugin } from '../../shared/stack.CQnwAN7x.js';
|
|
3
3
|
import { Endpoint } from 'better-call';
|
|
4
4
|
export { Endpoint, Router, createEndpoint, createRouter } from 'better-call';
|
|
5
|
-
export { Adapter, DatabaseDefinition, DbPlugin, createDbPlugin } from '@btst/db';
|
|
5
|
+
export { DBAdapter as Adapter, DatabaseDefinition, DbPlugin, createDbPlugin } from '@btst/db';
|
|
6
6
|
import '@btst/yar';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
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.
|
|
2
|
-
import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } 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.BSqJrCTM.cjs';
|
|
2
|
+
import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BWp0hcm9.cjs';
|
|
3
3
|
import '@tanstack/react-query';
|
|
4
4
|
import '@btst/stack/plugins/client';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
6
|
-
import 'better-call';
|
|
7
6
|
import '@btst/db';
|
|
7
|
+
import 'better-call';
|
|
8
8
|
import 'zod';
|
|
9
9
|
|
|
10
10
|
/**
|