Skip to content

Commit 0be9bbf

Browse files
committed
feat: Reintroduce ObjectStack schema with comprehensive project definition and validation logic
1 parent 1ee213f commit 0be9bbf

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

packages/spec/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,5 @@ export * as AI from './ai';
5353
export * as API from './api';
5454
export * as Automation from './automation';
5555

56+
export * from './stack.zod';
57+
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
import { z } from 'zod';
22

3-
import { ManifestSchema } from './manifest.zod';
4-
import { DatasourceSchema } from './datasource.zod';
5-
import { TranslationBundleSchema } from './translation.zod';
3+
import { ManifestSchema } from './system/manifest.zod';
4+
import { DatasourceSchema } from './system/datasource.zod';
5+
import { TranslationBundleSchema } from './system/translation.zod';
66

77
// Data Protocol
8-
import { ObjectSchema } from '../data/object.zod';
8+
import { ObjectSchema } from './data/object.zod';
99

1010
// UI Protocol
11-
import { AppSchema } from '../ui/app.zod';
12-
import { ViewSchema } from '../ui/view.zod';
13-
import { PageSchema } from '../ui/page.zod';
14-
import { DashboardSchema } from '../ui/dashboard.zod';
15-
import { ReportSchema } from '../ui/report.zod';
16-
import { ActionSchema } from '../ui/action.zod';
17-
import { ThemeSchema } from '../ui/theme.zod';
11+
import { AppSchema } from './ui/app.zod';
12+
import { ViewSchema } from './ui/view.zod';
13+
import { PageSchema } from './ui/page.zod';
14+
import { DashboardSchema } from './ui/dashboard.zod';
15+
import { ReportSchema } from './ui/report.zod';
16+
import { ActionSchema } from './ui/action.zod';
17+
import { ThemeSchema } from './ui/theme.zod';
1818

1919
// Automation Protocol
20-
import { ApprovalProcessSchema } from '../automation/approval.zod';
21-
import { WorkflowSchema } from '../automation/workflow.zod';
22-
import { FlowSchema } from '../automation/flow.zod';
20+
import { ApprovalProcessSchema } from './automation/approval.zod';
21+
import { WorkflowSchema } from './automation/workflow.zod';
22+
import { FlowSchema } from './automation/flow.zod';
2323

2424
// Security Protocol
25-
import { RoleSchema } from '../auth/role.zod';
26-
import { PermissionSetSchema } from '../permission/permission.zod';
25+
import { RoleSchema } from './auth/role.zod';
26+
import { PermissionSetSchema } from './permission/permission.zod';
2727

2828
// AI Protocol
29-
import { AgentSchema } from '../ai/agent.zod';
29+
import { AgentSchema } from './ai/agent.zod';
3030

3131
/**
3232
* ObjectStack Ecosystem Definition

packages/spec/src/system/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export * from './translation.zod';
1212
export * from './events.zod';
1313
export * from './job.zod';
1414
export * from './feature.zod';
15-
export * from './stack.zod';
1615
export * from './types';
1716

1817
// Re-export Core System Definitions

0 commit comments

Comments
 (0)