@xyo-network/diviner-schema-list-model 5.3.22 → 5.3.25
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/package.json +14 -18
- package/src/Config.ts +0 -13
- package/src/Params.ts +0 -6
- package/src/Payload.ts +0 -10
- package/src/Query.ts +0 -11
- package/src/Schema.ts +0 -4
- package/src/index.ts +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-schema-list-model",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.25",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -30,35 +30,31 @@
|
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|
|
33
|
-
"src",
|
|
34
33
|
"!**/*.bench.*",
|
|
35
34
|
"!**/*.spec.*",
|
|
36
35
|
"!**/*.test.*",
|
|
37
36
|
"README.md"
|
|
38
37
|
],
|
|
39
38
|
"dependencies": {
|
|
40
|
-
"@xyo-network/diviner-model": "~5.3.
|
|
41
|
-
"@xyo-network/module-model": "~5.3.
|
|
42
|
-
"@xyo-network/payload-model": "~5.3.
|
|
39
|
+
"@xyo-network/diviner-model": "~5.3.25",
|
|
40
|
+
"@xyo-network/module-model": "~5.3.25",
|
|
41
|
+
"@xyo-network/payload-model": "~5.3.25"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
44
|
"@opentelemetry/api": "^1.9.1",
|
|
46
45
|
"@types/node": "^25.5.0",
|
|
47
|
-
"@xylabs/sdk-js": "^5.0.
|
|
48
|
-
"@xylabs/ts-scripts-common": "~7.6.
|
|
49
|
-
"@xylabs/ts-scripts-
|
|
50
|
-
"@xylabs/tsconfig": "~7.6.
|
|
51
|
-
"@xyo-network/diviner-model": "~5.3.22",
|
|
52
|
-
"@xyo-network/module-model": "~5.3.22",
|
|
53
|
-
"@xyo-network/payload-model": "~5.3.22",
|
|
46
|
+
"@xylabs/sdk-js": "^5.0.93",
|
|
47
|
+
"@xylabs/ts-scripts-common": "~7.6.16",
|
|
48
|
+
"@xylabs/ts-scripts-pnpm": "~7.6.16",
|
|
49
|
+
"@xylabs/tsconfig": "~7.6.16",
|
|
54
50
|
"acorn": "^8.16.0",
|
|
55
51
|
"axios": "^1.14.0",
|
|
56
|
-
"
|
|
57
|
-
"esbuild": "^0.27.4",
|
|
58
|
-
"eslint": "^10.1.0",
|
|
59
|
-
"rollup": "^4.60.1",
|
|
52
|
+
"esbuild": "^0.28.0",
|
|
60
53
|
"typescript": "~5.9.3",
|
|
61
|
-
"zod": "^4.3.6"
|
|
54
|
+
"zod": "^4.3.6",
|
|
55
|
+
"@xyo-network/module-model": "~5.3.25",
|
|
56
|
+
"@xyo-network/diviner-model": "~5.3.25",
|
|
57
|
+
"@xyo-network/payload-model": "~5.3.25"
|
|
62
58
|
},
|
|
63
59
|
"peerDependencies": {
|
|
64
60
|
"@xylabs/sdk-js": "^5",
|
|
@@ -67,4 +63,4 @@
|
|
|
67
63
|
"publishConfig": {
|
|
68
64
|
"access": "public"
|
|
69
65
|
}
|
|
70
|
-
}
|
|
66
|
+
}
|
package/src/Config.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { DivinerConfig } from '@xyo-network/diviner-model'
|
|
2
|
-
import { asSchema, type Payload } from '@xyo-network/payload-model'
|
|
3
|
-
|
|
4
|
-
import { SchemaListDivinerSchema } from './Schema.ts'
|
|
5
|
-
|
|
6
|
-
export const SchemaListDivinerConfigSchema = asSchema(`${SchemaListDivinerSchema}.config`, true)
|
|
7
|
-
export type SchemaListDivinerConfigSchema = typeof SchemaListDivinerConfigSchema
|
|
8
|
-
|
|
9
|
-
export type SchemaListDivinerConfig<T extends Payload = Payload> = DivinerConfig<
|
|
10
|
-
T & {
|
|
11
|
-
schema: SchemaListDivinerConfigSchema
|
|
12
|
-
}
|
|
13
|
-
>
|
package/src/Params.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { DivinerParams } from '@xyo-network/diviner-model'
|
|
2
|
-
import type { AnyConfigSchema } from '@xyo-network/module-model'
|
|
3
|
-
|
|
4
|
-
import type { SchemaListDivinerConfig } from './Config.ts'
|
|
5
|
-
|
|
6
|
-
export type SchemaListDivinerParams = DivinerParams<AnyConfigSchema<SchemaListDivinerConfig>>
|
package/src/Payload.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Payload } from '@xyo-network/payload-model'
|
|
2
|
-
|
|
3
|
-
import { SchemaListDivinerSchema } from './Schema.ts'
|
|
4
|
-
|
|
5
|
-
export type SchemaListPayload = Payload<{
|
|
6
|
-
schema: SchemaListDivinerSchema
|
|
7
|
-
schemas: string[]
|
|
8
|
-
}>
|
|
9
|
-
|
|
10
|
-
export const isSchemaListPayload = (x?: Payload | null): x is SchemaListPayload => x?.schema === SchemaListDivinerSchema
|
package/src/Query.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
asSchema, type Payload, type Query,
|
|
3
|
-
} from '@xyo-network/payload-model'
|
|
4
|
-
|
|
5
|
-
import { SchemaListDivinerSchema } from './Schema.ts'
|
|
6
|
-
|
|
7
|
-
export const SchemaListQuerySchema = asSchema(`${SchemaListDivinerSchema}.query`, true)
|
|
8
|
-
export type SchemaListQuerySchema = typeof SchemaListQuerySchema
|
|
9
|
-
|
|
10
|
-
export type SchemaListQueryPayload = Query<{ schema: SchemaListQuerySchema }>
|
|
11
|
-
export const isSchemaListQueryPayload = (x?: Payload | null): x is SchemaListQueryPayload => x?.schema === SchemaListQuerySchema
|
package/src/Schema.ts
DELETED