@xyo-network/diviner-schema-stats-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 -12
- 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-stats-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/
|
|
41
|
-
"@xyo-network/
|
|
42
|
-
"@xyo-network/payload-model": "~5.3.
|
|
39
|
+
"@xyo-network/module-model": "~5.3.25",
|
|
40
|
+
"@xyo-network/diviner-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/diviner-model": "~5.3.25",
|
|
56
|
+
"@xyo-network/module-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 { SchemaStatsDivinerSchema } from './Schema.ts'
|
|
5
|
-
|
|
6
|
-
export const SchemaStatsDivinerConfigSchema = asSchema(`${SchemaStatsDivinerSchema}.config`, true)
|
|
7
|
-
export type SchemaStatsDivinerConfigSchema = typeof SchemaStatsDivinerConfigSchema
|
|
8
|
-
|
|
9
|
-
export type SchemaStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<
|
|
10
|
-
T & {
|
|
11
|
-
schema: SchemaStatsDivinerConfigSchema
|
|
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 { SchemaStatsDivinerConfig } from './Config.ts'
|
|
5
|
-
|
|
6
|
-
export type SchemaStatsDivinerParams = DivinerParams<AnyConfigSchema<SchemaStatsDivinerConfig>>
|
package/src/Payload.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Payload } from '@xyo-network/payload-model'
|
|
2
|
-
|
|
3
|
-
import { SchemaStatsDivinerSchema } from './Schema.ts'
|
|
4
|
-
|
|
5
|
-
export type SchemaStatsPayload = Payload<{
|
|
6
|
-
count: Record<string, number>
|
|
7
|
-
// the name of the schema that the count is for. If name is undefined, then it is the count for all schemas
|
|
8
|
-
name?: string
|
|
9
|
-
schema: SchemaStatsDivinerSchema
|
|
10
|
-
}>
|
|
11
|
-
|
|
12
|
-
export const isSchemaStatsPayload = (x?: Payload | null): x is SchemaStatsPayload => x?.schema === SchemaStatsDivinerSchema
|
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 { SchemaStatsDivinerSchema } from './Schema.ts'
|
|
6
|
-
|
|
7
|
-
export const SchemaStatsQuerySchema = asSchema(`${SchemaStatsDivinerSchema}.query`, true)
|
|
8
|
-
export type SchemaStatsQuerySchema = typeof SchemaStatsQuerySchema
|
|
9
|
-
|
|
10
|
-
export type SchemaStatsQueryPayload = Query<{ schema: SchemaStatsQuerySchema }>
|
|
11
|
-
export const isSchemaStatsQueryPayload = (x?: Payload | null): x is SchemaStatsQueryPayload => x?.schema === SchemaStatsQuerySchema
|
package/src/Schema.ts
DELETED