@kosdev-code/kos-model-schemas 0.1.0-dev.5202
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.
- package/index.cjs +2 -0
- package/index.cjs.map +1 -0
- package/index.d.cts +10 -0
- package/index.d.ts +10 -0
- package/index.d.ts.map +1 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/package.json +31 -0
- package/schemas/index.d.ts +14 -0
- package/schemas/index.d.ts.map +1 -0
- package/types/index.d.ts +12 -0
- package/types/index.d.ts.map +1 -0
- package/validators/index.d.ts +13 -0
- package/validators/index.d.ts.map +1 -0
package/index.cjs
ADDED
package/index.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/index.d.cts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @kosdev-code/kos-model-schemas
|
|
3
|
+
*
|
|
4
|
+
* Zod schemas and TypeScript types for declarative KOS model definitions.
|
|
5
|
+
* This package provides validation and type inference for JSON-based model specifications.
|
|
6
|
+
*/
|
|
7
|
+
export * from './schemas/index.js';
|
|
8
|
+
export * from './validators/index.js';
|
|
9
|
+
export * from './types/index.js';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @kosdev-code/kos-model-schemas
|
|
3
|
+
*
|
|
4
|
+
* Zod schemas and TypeScript types for declarative KOS model definitions.
|
|
5
|
+
* This package provides validation and type inference for JSON-based model specifications.
|
|
6
|
+
*/
|
|
7
|
+
export * from './schemas/index.js';
|
|
8
|
+
export * from './validators/index.js';
|
|
9
|
+
export * from './types/index.js';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/sdk/kos-model-schemas/src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,cAAc,oBAAoB,CAAC;AAGnC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,kBAAkB,CAAC"}
|
package/index.js
ADDED
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@kosdev-code/kos-model-schemas",
|
|
3
|
+
"version": "0.1.0-dev.5202",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./index.cjs",
|
|
6
|
+
"module": "./index.js",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"registry": "https://registry.npmjs.org/"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": {
|
|
13
|
+
"types": "./index.d.ts",
|
|
14
|
+
"default": "./index.js"
|
|
15
|
+
},
|
|
16
|
+
"require": {
|
|
17
|
+
"types": "./index.d.cts",
|
|
18
|
+
"default": "./index.cjs"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"./package.json": "./package.json"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"zod": "^3.22.0"
|
|
25
|
+
},
|
|
26
|
+
"kos": {
|
|
27
|
+
"build": {
|
|
28
|
+
"gitHash": "a7ad6416c7e571d08e1fbd0222abd62a68a1e303"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod schema definitions for KOS model decorators and configurations.
|
|
3
|
+
*
|
|
4
|
+
* This module will contain schemas for all 24 KOS decorator types:
|
|
5
|
+
* - @kosModel
|
|
6
|
+
* - @kosConfigProperty
|
|
7
|
+
* - @kosServiceRequest
|
|
8
|
+
* - @kosTopicHandler
|
|
9
|
+
* - And 20 more...
|
|
10
|
+
*
|
|
11
|
+
* Schemas will be added in Task 2.3
|
|
12
|
+
*/
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/sdk/kos-model-schemas/src/schemas/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,CAAC"}
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TypeScript type definitions inferred from Zod schemas.
|
|
3
|
+
*
|
|
4
|
+
* This module will provide:
|
|
5
|
+
* - Inferred TypeScript types from Zod schemas
|
|
6
|
+
* - Type utilities for model definitions
|
|
7
|
+
* - Helper types for decorator configurations
|
|
8
|
+
*
|
|
9
|
+
* Types will be added in Task 2.4
|
|
10
|
+
*/
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/sdk/kos-model-schemas/src/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Validation utilities and runtime validators for KOS model schemas.
|
|
3
|
+
*
|
|
4
|
+
* This module will provide:
|
|
5
|
+
* - Schema validation functions
|
|
6
|
+
* - Type guards for runtime type checking
|
|
7
|
+
* - Error formatting and reporting
|
|
8
|
+
* - Validation result types
|
|
9
|
+
*
|
|
10
|
+
* Validators will be added in Task 2.4
|
|
11
|
+
*/
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/sdk/kos-model-schemas/src/validators/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,CAAC"}
|