-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.ts
More file actions
42 lines (39 loc) · 1.08 KB
/
index.ts
File metadata and controls
42 lines (39 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* @objectstack/spec
*
* ObjectStack Protocol & Specification
*
* This package contains the core interfaces, schemas, and conventions for the ObjectStack ecosystem.
* It defines the "Constitution" of the system - the shared language that ObjectOS, ObjectStudio,
* ObjectCloud, and all third-party plugins use to communicate.
*
* This package contains:
* - TypeScript Interfaces (Shared types)
* - Zod Schemas (Validation rules with type inference)
* - Constants (Convention configurations)
*
* Guiding Principle: "Strict Types, No Logic"
* This package has NO database connections, NO UI components, and NO runtime business logic.
*/
// Export schemas
export {
ManifestSchema,
MenuItemSchema,
type ObjectStackManifest,
type MenuItem,
} from './schemas/manifest.zod';
// Export types
export {
type ObjectStackPlugin,
type PluginContext,
type PluginFactory,
type PluginLogger,
type ObjectQLClient,
type ObjectOSKernel,
} from './types/plugin';
// Export constants
export {
PKG_CONVENTIONS,
type PackageDirectory,
type PackageFile,
} from './constants/paths';