File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { defineStack } from '@objectstack/spec' ;
2+
13/**
24 * Task Object Definition
35 */
@@ -26,7 +28,7 @@ export const TaskObject = {
2628/**
2729 * App Configuration
2830 */
29- export default {
31+ export default defineStack ( {
3032 name : 'task_app' ,
3133 label : 'Task Management' ,
3234 description : 'MSW + React CRUD Example with ObjectStack' ,
@@ -54,4 +56,4 @@ export default {
5456 ]
5557 }
5658 ]
57- } ;
59+ } ) ;
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export default defineConfig({
1111 include : [
1212 'msw' ,
1313 'msw/browser' ,
14+ '@objectstack/spec' ,
1415 '@objectstack/spec/data' , // Force pre-bundling for CJS compatibility
1516 '@objectstack/spec/system' ,
1617 '@objectstack/spec/ui'
Original file line number Diff line number Diff line change @@ -53,5 +53,15 @@ export * as AI from './ai';
5353export * as API from './api' ;
5454export * as Automation from './automation' ;
5555
56+ export {
57+ defineStack ,
58+ ObjectStackDefinitionSchema ,
59+ ObjectStackSchema ,
60+ ObjectStackCapabilitiesSchema ,
61+ ObjectQLCapabilitiesSchema ,
62+ ObjectUICapabilitiesSchema ,
63+ ObjectOSCapabilitiesSchema
64+ } from './stack.zod' ;
65+
5666export * from './stack.zod' ;
5767
You can’t perform that action at this time.
0 commit comments