Skip to content

Commit 880dfe2

Browse files
committed
refactor(imports): update import paths for schemas in runtime operations and data drivers
1 parent e53bdf4 commit 880dfe2

File tree

5 files changed

+30
-64
lines changed

5 files changed

+30
-64
lines changed

packages/spec/src/ai/runtime-ops.zod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { z } from 'zod';
2-
import { PluginHealthStatusSchema } from '../system/plugin-lifecycle-advanced.zod';
2+
import { PluginHealthStatusSchema } from '../kernel/plugin-lifecycle-advanced.zod';
33

44
/**
55
* # Runtime AI Operations (AIOps) Protocol

packages/spec/src/data/driver/mongo.zod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { z } from 'zod';
2-
import { DriverDefinitionSchema } from '../../system/datasource.zod';
2+
import { DriverDefinitionSchema } from '../datasource.zod';
33

44
/**
55
* MongoDB Standard Driver Protocol

packages/spec/src/hub/plugin-registry.zod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { z } from 'zod';
2-
import { PluginCapabilityManifestSchema } from '../system/plugin-capability.zod';
2+
import { PluginCapabilityManifestSchema } from '../kernel/plugin-capability.zod';
33

44
/**
55
* # Plugin Registry Protocol

packages/spec/src/stack.zod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { z } from 'zod';
22

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

77
// Data Protocol

packages/spec/src/system/index.ts

Lines changed: 25 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,40 @@
11
/**
22
* System Protocol Exports
33
*
4-
* Runtime Configuration & Security
5-
* - Manifest (Config), Datasource
6-
* - Webhook (Integration), Audit (Compliance)
7-
* - Plugin Architecture
4+
* Runtime Services & Infrastructure Configuration
5+
* - Infrastructure: Cache, Queue, Storage, Search, HTTP
6+
* - Observability: Audit, Logging, Metrics, Tracing, Change Management
7+
* - Security: Compliance, Encryption, Masking, Auth Config
8+
* - Services: Job, Worker, Notification, Translation
89
*/
910

10-
export * from './audit.zod';
11-
export * from './translation.zod';
12-
export * from './events.zod';
13-
export * from './job.zod';
14-
export * from './worker.zod';
15-
export * from './feature.zod';
16-
export * from './collaboration.zod';
17-
export * from './types';
11+
// Infrastructure Services
12+
export * from './cache.zod';
13+
export * from './message-queue.zod';
14+
export * from './object-storage.zod';
15+
export * from './search-engine.zod';
16+
export * from './http-server.zod';
1817

19-
// Observability Protocol
18+
// Observability & Operations
19+
export * from './audit.zod';
2020
export * from './logging.zod';
2121
export * from './metrics.zod';
2222
export * from './tracing.zod';
23+
export * from './change-management.zod';
24+
export * from './migration.zod';
2325

24-
// Re-export Core System Definitions
25-
export * from './manifest.zod';
26-
export * from './plugin.zod';
27-
export * from './plugin-capability.zod';
28-
export * from './plugin-loading.zod';
29-
export * from './plugin-validator.zod';
30-
export * from './plugin-lifecycle-events.zod';
31-
export * from './plugin-lifecycle-advanced.zod';
32-
export * from './plugin-versioning.zod';
33-
export * from './plugin-security-advanced.zod';
34-
export * from './startup-orchestrator.zod';
35-
export * from './service-registry.zod';
36-
export * from './context.zod';
37-
export * from './datasource.zod';
38-
39-
// Data Engine Protocol
40-
// export * from './data-engine.zod';
41-
42-
// Object Storage Protocol (includes scoped storage functionality)
43-
export * from './object-storage.zod';
44-
45-
// Cache Protocol
46-
export * from './cache.zod';
47-
48-
// Message Queue Protocol
49-
export * from './message-queue.zod';
50-
51-
// Metadata Loader Protocol
52-
export * from './metadata-loader.zod';
53-
54-
// Search Engine Protocol
55-
export * from './search-engine.zod';
56-
57-
// Security & Compliance Protocols
58-
export * from './encryption.zod';
26+
// Security & Compliance
27+
export * from './auth-config.zod';
5928
export * from './compliance.zod';
29+
export * from './encryption.zod';
6030
export * from './masking.zod';
6131

62-
// Notification Protocol
32+
// Runtime Services
33+
export * from './job.zod';
34+
export * from './worker.zod';
6335
export * from './notification.zod';
36+
export * from './translation.zod';
37+
export * from './collaboration.zod';
6438

65-
// Change Management Protocol
66-
export * from './change-management.zod';
67-
export * from './migration.zod';
68-
69-
// HTTP Server Protocol
70-
export * from './http-server.zod';
71-
72-
// Note: Auth, Identity, Policy, Role, Organization moved to @objectstack/spec/auth
73-
// Note: Territory moved to @objectstack/spec/permission
74-
// Note: Connector Protocol moved to @objectstack/spec/integration
39+
// Types
40+
export * from './types';

0 commit comments

Comments
 (0)