@btst/stack 2.6.2 → 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.
Files changed (147) hide show
  1. package/dist/api/index.d.cts +2 -2
  2. package/dist/api/index.d.mts +2 -2
  3. package/dist/api/index.d.ts +2 -2
  4. package/dist/client/index.d.cts +2 -2
  5. package/dist/client/index.d.mts +2 -2
  6. package/dist/client/index.d.ts +2 -2
  7. package/dist/components/auto-form/index.d.cts +2 -2
  8. package/dist/components/auto-form/index.d.mts +2 -2
  9. package/dist/components/auto-form/index.d.ts +2 -2
  10. package/dist/components/form-builder/index.d.cts +1 -1
  11. package/dist/components/form-builder/index.d.mts +1 -1
  12. package/dist/components/form-builder/index.d.ts +1 -1
  13. package/dist/components/stepped-auto-form/index.d.cts +1 -1
  14. package/dist/components/stepped-auto-form/index.d.mts +1 -1
  15. package/dist/components/stepped-auto-form/index.d.ts +1 -1
  16. package/dist/index.d.cts +1 -1
  17. package/dist/index.d.mts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/packages/stack/src/plugins/kanban/api/plugin.cjs +5 -4
  20. package/dist/packages/stack/src/plugins/kanban/api/plugin.mjs +5 -4
  21. package/dist/plugins/ai-chat/api/index.d.cts +4 -6
  22. package/dist/plugins/ai-chat/api/index.d.mts +4 -6
  23. package/dist/plugins/ai-chat/api/index.d.ts +4 -6
  24. package/dist/plugins/ai-chat/client/hooks/index.d.cts +1 -3
  25. package/dist/plugins/ai-chat/client/hooks/index.d.mts +1 -3
  26. package/dist/plugins/ai-chat/client/hooks/index.d.ts +1 -3
  27. package/dist/plugins/ai-chat/query-keys.d.cts +1 -3
  28. package/dist/plugins/ai-chat/query-keys.d.mts +1 -3
  29. package/dist/plugins/ai-chat/query-keys.d.ts +1 -3
  30. package/dist/plugins/api/index.d.cts +3 -3
  31. package/dist/plugins/api/index.d.mts +3 -3
  32. package/dist/plugins/api/index.d.ts +3 -3
  33. package/dist/plugins/blog/api/index.d.cts +3 -3
  34. package/dist/plugins/blog/api/index.d.mts +3 -3
  35. package/dist/plugins/blog/api/index.d.ts +3 -3
  36. package/dist/plugins/blog/client/hooks/index.d.cts +2 -2
  37. package/dist/plugins/blog/client/hooks/index.d.mts +2 -2
  38. package/dist/plugins/blog/client/hooks/index.d.ts +2 -2
  39. package/dist/plugins/blog/client/index.d.cts +2 -2
  40. package/dist/plugins/blog/client/index.d.mts +2 -2
  41. package/dist/plugins/blog/client/index.d.ts +2 -2
  42. package/dist/plugins/blog/query-keys.d.cts +3 -3
  43. package/dist/plugins/blog/query-keys.d.mts +3 -3
  44. package/dist/plugins/blog/query-keys.d.ts +3 -3
  45. package/dist/plugins/client/index.d.cts +2 -2
  46. package/dist/plugins/client/index.d.mts +2 -2
  47. package/dist/plugins/client/index.d.ts +2 -2
  48. package/dist/plugins/cms/api/index.d.cts +1 -1
  49. package/dist/plugins/cms/api/index.d.mts +1 -1
  50. package/dist/plugins/cms/api/index.d.ts +1 -1
  51. package/dist/plugins/cms/client/index.d.cts +1 -1
  52. package/dist/plugins/cms/client/index.d.mts +1 -1
  53. package/dist/plugins/cms/client/index.d.ts +1 -1
  54. package/dist/plugins/cms/query-keys.d.cts +1 -1
  55. package/dist/plugins/cms/query-keys.d.mts +1 -1
  56. package/dist/plugins/cms/query-keys.d.ts +1 -1
  57. package/dist/plugins/form-builder/api/index.d.cts +2 -2
  58. package/dist/plugins/form-builder/api/index.d.mts +2 -2
  59. package/dist/plugins/form-builder/api/index.d.ts +2 -2
  60. package/dist/plugins/form-builder/client/components/index.d.cts +1 -1
  61. package/dist/plugins/form-builder/client/components/index.d.mts +1 -1
  62. package/dist/plugins/form-builder/client/components/index.d.ts +1 -1
  63. package/dist/plugins/form-builder/client/index.d.cts +1 -1
  64. package/dist/plugins/form-builder/client/index.d.mts +1 -1
  65. package/dist/plugins/form-builder/client/index.d.ts +1 -1
  66. package/dist/plugins/form-builder/query-keys.d.cts +1 -1
  67. package/dist/plugins/form-builder/query-keys.d.mts +1 -1
  68. package/dist/plugins/form-builder/query-keys.d.ts +1 -1
  69. package/dist/plugins/kanban/api/index.d.cts +2 -2
  70. package/dist/plugins/kanban/api/index.d.mts +2 -2
  71. package/dist/plugins/kanban/api/index.d.ts +2 -2
  72. package/dist/plugins/kanban/query-keys.d.cts +2 -2
  73. package/dist/plugins/kanban/query-keys.d.mts +2 -2
  74. package/dist/plugins/kanban/query-keys.d.ts +2 -2
  75. package/dist/plugins/open-api/api/index.d.cts +3 -3
  76. package/dist/plugins/open-api/api/index.d.mts +3 -3
  77. package/dist/plugins/open-api/api/index.d.ts +3 -3
  78. package/dist/plugins/route-docs/client/index.d.cts +1 -1
  79. package/dist/plugins/route-docs/client/index.d.mts +1 -1
  80. package/dist/plugins/route-docs/client/index.d.ts +1 -1
  81. package/dist/plugins/ui-builder/client/components/index.d.cts +2 -2
  82. package/dist/plugins/ui-builder/client/components/index.d.mts +2 -2
  83. package/dist/plugins/ui-builder/client/components/index.d.ts +2 -2
  84. package/dist/plugins/ui-builder/client/hooks/index.d.cts +3 -3
  85. package/dist/plugins/ui-builder/client/hooks/index.d.mts +3 -3
  86. package/dist/plugins/ui-builder/client/hooks/index.d.ts +3 -3
  87. package/dist/plugins/ui-builder/client/index.d.cts +3 -3
  88. package/dist/plugins/ui-builder/client/index.d.mts +3 -3
  89. package/dist/plugins/ui-builder/client/index.d.ts +3 -3
  90. package/dist/plugins/ui-builder/index.d.cts +3 -3
  91. package/dist/plugins/ui-builder/index.d.mts +3 -3
  92. package/dist/plugins/ui-builder/index.d.ts +3 -3
  93. package/dist/shared/{stack.B1srlBud.d.mts → stack.BFoBvGML.d.mts} +1 -1
  94. package/dist/shared/{stack.DmpPDPxA.d.cts → stack.BOCvd9HK.d.cts} +1 -1
  95. package/dist/shared/{stack.DXnclTG7.d.ts → stack.BSqJrCTM.d.cts} +120 -59
  96. package/dist/shared/{stack.B58oHdqm.d.mts → stack.BX7MHi0J.d.mts} +90 -45
  97. package/dist/shared/{stack.cfCkioTe.d.mts → stack.BXxrFL9R.d.ts} +120 -59
  98. package/dist/shared/{stack.CSx98K5H.d.cts → stack.BYN8wCV6.d.cts} +87 -58
  99. package/dist/shared/{stack.FVWf2JhZ.d.mts → stack.BgQrdSlo.d.mts} +60 -45
  100. package/dist/shared/{stack.BK9Z2dcL.d.ts → stack.BmMB0LNC.d.ts} +1 -1
  101. package/dist/shared/{stack.CFECM0ew.d.cts → stack.C1nXGBr6.d.cts} +1 -1
  102. package/dist/shared/{stack.C9Mg2Q46.d.cts → stack.C9zoS1TN.d.cts} +90 -45
  103. package/dist/shared/{stack.B8vT-Yt4.d.mts → stack.CNLHlv7r.d.mts} +3 -3
  104. package/dist/shared/{stack.fdi94T4S.d.mts → stack.CPsYC2-Z.d.cts} +7 -7
  105. package/dist/shared/{stack.fdi94T4S.d.ts → stack.CPsYC2-Z.d.mts} +7 -7
  106. package/dist/shared/{stack.fdi94T4S.d.cts → stack.CPsYC2-Z.d.ts} +7 -7
  107. package/dist/shared/{stack.BwA7trxA.d.cts → stack.CQAZwXhV.d.cts} +3 -3
  108. package/dist/shared/{stack.7n9Y_u7N.d.cts → stack.CQnwAN7x.d.cts} +6 -6
  109. package/dist/shared/{stack.7n9Y_u7N.d.mts → stack.CQnwAN7x.d.mts} +6 -6
  110. package/dist/shared/{stack.7n9Y_u7N.d.ts → stack.CQnwAN7x.d.ts} +6 -6
  111. package/dist/shared/{stack.D-b5zbPm.d.cts → stack.Cbsrl06u.d.cts} +60 -45
  112. package/dist/shared/{stack.BAT540yW.d.ts → stack.D3BsrpAz.d.ts} +3 -3
  113. package/dist/shared/{stack.j75TpKh2.d.ts → stack.D4Cea8II.d.ts} +169 -109
  114. package/dist/shared/{stack.BgTmujxW.d.mts → stack.D88yU4FT.d.mts} +87 -58
  115. package/dist/shared/{stack.DVtk5CNw.d.mts → stack.DLPa6Gzm.d.mts} +1 -1
  116. package/dist/shared/{stack.ASwEoINr.d.ts → stack.DxJ-tHLt.d.ts} +1 -1
  117. package/dist/shared/{stack.DaZM10cp.d.cts → stack.DzOhpIYM.d.mts} +120 -59
  118. package/dist/shared/{stack.CTDVxbrA.d.ts → stack.Fl2Kl_bt.d.ts} +60 -45
  119. package/dist/shared/{stack.CxaFNQCV.d.mts → stack.HE_IvqV5.d.mts} +169 -109
  120. package/dist/shared/{stack.n1_i1p2B.d.cts → stack.Rtcvl8sS.d.cts} +169 -109
  121. package/dist/shared/{stack.CLQuVdwK.d.ts → stack.RuQ9JCLo.d.ts} +87 -58
  122. package/dist/shared/{stack.sO33ZDhK.d.ts → stack.fQjVhw5a.d.ts} +90 -45
  123. package/package.json +4 -4
  124. package/src/__tests__/plugins.test.tsx +5 -1
  125. package/src/__tests__/stack-api.test.ts +1 -1
  126. package/src/plugins/ai-chat/__tests__/getters.test.ts +1 -1
  127. package/src/plugins/ai-chat/api/getters.ts +1 -1
  128. package/src/plugins/ai-chat/api/plugin.ts +1 -1
  129. package/src/plugins/api/index.ts +5 -1
  130. package/src/plugins/blog/__tests__/getters.test.ts +1 -1
  131. package/src/plugins/blog/api/getters.ts +1 -1
  132. package/src/plugins/blog/api/plugin.ts +1 -1
  133. package/src/plugins/cms/__tests__/getters.test.ts +1 -1
  134. package/src/plugins/cms/api/getters.ts +1 -1
  135. package/src/plugins/cms/api/mutations.ts +1 -1
  136. package/src/plugins/cms/api/plugin.ts +1 -1
  137. package/src/plugins/form-builder/__tests__/getters.test.ts +1 -1
  138. package/src/plugins/form-builder/api/getters.ts +1 -1
  139. package/src/plugins/form-builder/api/plugin.ts +1 -1
  140. package/src/plugins/kanban/__tests__/getters.test.ts +1 -1
  141. package/src/plugins/kanban/api/getters.ts +1 -1
  142. package/src/plugins/kanban/api/mutations.ts +1 -1
  143. package/src/plugins/kanban/api/plugin.ts +6 -5
  144. package/src/types.ts +5 -1
  145. package/dist/shared/{stack.BQmuNl5p.d.mts → stack.BWp0hcm9.d.cts} +3 -3
  146. package/dist/shared/{stack.BQmuNl5p.d.ts → stack.BWp0hcm9.d.mts} +3 -3
  147. package/dist/shared/{stack.BQmuNl5p.d.cts → stack.BWp0hcm9.d.ts} +3 -3
@@ -1,5 +1,5 @@
1
- import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib, j as PluginApis } from '../shared/stack.7n9Y_u7N.cjs';
2
- export { B as BackendPlugin, S as StackContext } from '../shared/stack.7n9Y_u7N.cjs';
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';
@@ -1,5 +1,5 @@
1
- import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib, j as PluginApis } from '../shared/stack.7n9Y_u7N.mjs';
2
- export { B as BackendPlugin, S as StackContext } from '../shared/stack.7n9Y_u7N.mjs';
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';
@@ -1,5 +1,5 @@
1
- import { g as PrefixedPluginRoutes, h as BackendLibConfig, i as BackendLib, j as PluginApis } from '../shared/stack.7n9Y_u7N.js';
2
- export { B as BackendPlugin, S as StackContext } from '../shared/stack.7n9Y_u7N.js';
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';
@@ -1,5 +1,5 @@
1
- import { c as Sitemap, C as ClientPlugin, d as PluginRoutes, e as ClientLibConfig, f as ClientLib } from '../shared/stack.7n9Y_u7N.cjs';
2
- export { b as ClientStackContext } from '../shared/stack.7n9Y_u7N.cjs';
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';
@@ -1,5 +1,5 @@
1
- import { c as Sitemap, C as ClientPlugin, d as PluginRoutes, e as ClientLibConfig, f as ClientLib } from '../shared/stack.7n9Y_u7N.mjs';
2
- export { b as ClientStackContext } from '../shared/stack.7n9Y_u7N.mjs';
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';
@@ -1,5 +1,5 @@
1
- import { c as Sitemap, C as ClientPlugin, d as PluginRoutes, e as ClientLibConfig, f as ClientLib } from '../shared/stack.7n9Y_u7N.js';
2
- export { b as ClientStackContext } from '../shared/stack.7n9Y_u7N.js';
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.fdi94T4S.cjs';
6
- export { A as AutoFormInputComponentProps, b as DependencyType, F as FieldConfigItem } from '../../shared/stack.fdi94T4S.cjs';
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.fdi94T4S.mjs';
6
- export { A as AutoFormInputComponentProps, b as DependencyType, F as FieldConfigItem } from '../../shared/stack.fdi94T4S.mjs';
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.fdi94T4S.js';
6
- export { A as AutoFormInputComponentProps, b as DependencyType, F as FieldConfigItem } from '../../shared/stack.fdi94T4S.js';
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.fdi94T4S.cjs';
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.fdi94T4S.mjs';
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.fdi94T4S.js';
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.fdi94T4S.cjs';
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.fdi94T4S.mjs';
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.fdi94T4S.js';
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.7n9Y_u7N.cjs';
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.7n9Y_u7N.mjs';
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.7n9Y_u7N.js';
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';
@@ -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
- newBoard = await tx.create({
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: newBoard.id },
153
- { title: "In Progress", order: 1, boardId: newBoard.id },
154
- { title: "Done", order: 2, boardId: newBoard.id }
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
- newBoard = await tx.create({
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: newBoard.id },
151
- { title: "In Progress", order: 1, boardId: newBoard.id },
152
- { title: "Done", order: 2, boardId: newBoard.id }
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.D-b5zbPm.cjs';
2
- import { Adapter } from '@btst/db';
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: Adapter, userId?: string): Promise<Conversation[]>;
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: Adapter, id: string): Promise<(Conversation & {
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.FVWf2JhZ.mjs';
2
- import { Adapter } from '@btst/db';
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: Adapter, userId?: string): Promise<Conversation[]>;
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: Adapter, id: string): Promise<(Conversation & {
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.CTDVxbrA.js';
2
- import { Adapter } from '@btst/db';
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: Adapter, userId?: string): Promise<Conversation[]>;
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: Adapter, id: string): Promise<(Conversation & {
26
+ declare function getConversationById(adapter: DBAdapter, id: string): Promise<(Conversation & {
29
27
  messages: Message[];
30
28
  }) | null>;
31
29
 
@@ -1,12 +1,10 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { f as ConversationWithMessages } from '../../../../shared/stack.D-b5zbPm.cjs';
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.FVWf2JhZ.mjs';
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.CTDVxbrA.js';
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
  /**
@@ -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.D-b5zbPm.cjs';
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.FVWf2JhZ.mjs';
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.CTDVxbrA.js';
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.7n9Y_u7N.cjs';
2
- export { C as ClientPlugin } from '../../shared/stack.7n9Y_u7N.cjs';
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.7n9Y_u7N.mjs';
2
- export { C as ClientPlugin } from '../../shared/stack.7n9Y_u7N.mjs';
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.7n9Y_u7N.js';
2
- export { C as ClientPlugin } from '../../shared/stack.7n9Y_u7N.js';
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.DaZM10cp.cjs';
2
- import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BQmuNl5p.cjs';
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
  /**
@@ -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.cfCkioTe.mjs';
2
- import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BQmuNl5p.mjs';
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.DzOhpIYM.mjs';
2
+ import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BWp0hcm9.mjs';
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
  /**
@@ -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.DXnclTG7.js';
2
- import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BQmuNl5p.js';
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.BXxrFL9R.js';
2
+ import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.BWp0hcm9.js';
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
  /**
@@ -1,6 +1,6 @@
1
- export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.BwA7trxA.cjs';
1
+ export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.CQAZwXhV.cjs';
2
2
  import '@tanstack/react-query';
3
- import '../../../../shared/stack.BQmuNl5p.cjs';
3
+ import '../../../../shared/stack.BWp0hcm9.cjs';
4
4
  import 'zod';
5
5
 
6
6
  declare function useDebounce<T>(value: T, delay?: number): T;
@@ -1,6 +1,6 @@
1
- export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.B8vT-Yt4.mjs';
1
+ export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.CNLHlv7r.mjs';
2
2
  import '@tanstack/react-query';
3
- import '../../../../shared/stack.BQmuNl5p.mjs';
3
+ import '../../../../shared/stack.BWp0hcm9.mjs';
4
4
  import 'zod';
5
5
 
6
6
  declare function useDebounce<T>(value: T, delay?: number): T;
@@ -1,6 +1,6 @@
1
- export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.BAT540yW.js';
1
+ export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.D3BsrpAz.js';
2
2
  import '@tanstack/react-query';
3
- import '../../../../shared/stack.BQmuNl5p.js';
3
+ import '../../../../shared/stack.BWp0hcm9.js';
4
4
  import 'zod';
5
5
 
6
6
  declare function useDebounce<T>(value: T, delay?: number): T;
@@ -2,8 +2,8 @@ import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
2
2
  import * as _btst_yar from '@btst/yar';
3
3
  import { ComponentType } from 'react';
4
4
  import { QueryClient } from '@tanstack/react-query';
5
- import { P as Post, S as SerializedPost } from '../../../shared/stack.BQmuNl5p.cjs';
6
- export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.BwA7trxA.cjs';
5
+ import { P as Post, S as SerializedPost } from '../../../shared/stack.BWp0hcm9.cjs';
6
+ export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.CQAZwXhV.cjs';
7
7
  import 'zod';
8
8
 
9
9
  /**
@@ -2,8 +2,8 @@ import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
2
2
  import * as _btst_yar from '@btst/yar';
3
3
  import { ComponentType } from 'react';
4
4
  import { QueryClient } from '@tanstack/react-query';
5
- import { P as Post, S as SerializedPost } from '../../../shared/stack.BQmuNl5p.mjs';
6
- export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.B8vT-Yt4.mjs';
5
+ import { P as Post, S as SerializedPost } from '../../../shared/stack.BWp0hcm9.mjs';
6
+ export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.CNLHlv7r.mjs';
7
7
  import 'zod';
8
8
 
9
9
  /**
@@ -2,8 +2,8 @@ import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
2
2
  import * as _btst_yar from '@btst/yar';
3
3
  import { ComponentType } from 'react';
4
4
  import { QueryClient } from '@tanstack/react-query';
5
- import { P as Post, S as SerializedPost } from '../../../shared/stack.BQmuNl5p.js';
6
- export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.BAT540yW.js';
5
+ import { P as Post, S as SerializedPost } from '../../../shared/stack.BWp0hcm9.js';
6
+ export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.D3BsrpAz.js';
7
7
  import 'zod';
8
8
 
9
9
  /**
@@ -1,8 +1,8 @@
1
1
  import '@tanstack/react-query';
2
- export { d as createBlogQueryKeys } from '../../shared/stack.DaZM10cp.cjs';
2
+ export { d as createBlogQueryKeys } from '../../shared/stack.BSqJrCTM.cjs';
3
3
  import '@btst/stack/plugins/client';
4
- import '../../shared/stack.BQmuNl5p.cjs';
4
+ import '../../shared/stack.BWp0hcm9.cjs';
5
5
  import '@btst/stack/plugins/api';
6
- import 'better-call';
7
6
  import '@btst/db';
7
+ import 'better-call';
8
8
  import 'zod';
@@ -1,8 +1,8 @@
1
1
  import '@tanstack/react-query';
2
- export { d as createBlogQueryKeys } from '../../shared/stack.cfCkioTe.mjs';
2
+ export { d as createBlogQueryKeys } from '../../shared/stack.DzOhpIYM.mjs';
3
3
  import '@btst/stack/plugins/client';
4
- import '../../shared/stack.BQmuNl5p.mjs';
4
+ import '../../shared/stack.BWp0hcm9.mjs';
5
5
  import '@btst/stack/plugins/api';
6
- import 'better-call';
7
6
  import '@btst/db';
7
+ import 'better-call';
8
8
  import 'zod';