@xyo-network/diviner-schema-stats-model 3.0.2 → 3.0.4
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/dist/neutral/index.mjs.map +1 -1
- package/package.json +8 -8
- package/src/Config.ts +2 -2
- package/src/Params.ts +3 -3
- package/src/Payload.ts +1 -1
- package/src/Query.ts +1 -1
- package/xy.config.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema.ts'\n\nexport type SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\nexport const SchemaStatsDivinerConfigSchema: SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\n\nexport type SchemaStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: SchemaStatsDivinerConfigSchema\n }\n>\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema.ts'\n\nexport type SchemaStatsPayload = Payload<{\n count: Record<string, number>\n // the name of the schema that the count is for. If name is undefined, then it is the count for all schemas\n name?: string\n schema: SchemaStatsDivinerSchema\n}>\n\nexport const isSchemaStatsPayload = (x?: Payload | null): x is SchemaStatsPayload => x?.schema === SchemaStatsDivinerSchema\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema.ts'\n\nexport type SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\nexport const SchemaStatsQuerySchema: SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\n\nexport type SchemaStatsQueryPayload = Query<{ schema: SchemaStatsQuerySchema }>\nexport const isSchemaStatsQueryPayload = (x?: Payload | null): x is SchemaStatsQueryPayload => x?.schema === SchemaStatsQuerySchema\n"],"mappings":";;;;AACO,IAAMA,2BAAqD;;;ACK3D,IAAMC,iCAAiE,GAAGC,wBAAAA;;;ACK1E,IAAMC,uBAAuB,wBAACC,MAAgDA,GAAGC,WAAWC,0BAA/D;;;ACN7B,IAAMC,yBAAiD,GAAGC,wBAAAA;AAG1D,IAAMC,4BAA4B,wBAACC,MAAqDA,GAAGC,WAAWJ,wBAApE;","names":["SchemaStatsDivinerSchema","SchemaStatsDivinerConfigSchema","SchemaStatsDivinerSchema","isSchemaStatsPayload","x","schema","SchemaStatsDivinerSchema","SchemaStatsQuerySchema","SchemaStatsDivinerSchema","isSchemaStatsQueryPayload","x","schema"]}
|
|
1
|
+
{"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n","import type { DivinerConfig } from '@xyo-network/diviner-model'\nimport type { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema.ts'\n\nexport type SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\nexport const SchemaStatsDivinerConfigSchema: SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\n\nexport type SchemaStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: SchemaStatsDivinerConfigSchema\n }\n>\n","import type { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema.ts'\n\nexport type SchemaStatsPayload = Payload<{\n count: Record<string, number>\n // the name of the schema that the count is for. If name is undefined, then it is the count for all schemas\n name?: string\n schema: SchemaStatsDivinerSchema\n}>\n\nexport const isSchemaStatsPayload = (x?: Payload | null): x is SchemaStatsPayload => x?.schema === SchemaStatsDivinerSchema\n","import type { Payload, Query } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema.ts'\n\nexport type SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\nexport const SchemaStatsQuerySchema: SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\n\nexport type SchemaStatsQueryPayload = Query<{ schema: SchemaStatsQuerySchema }>\nexport const isSchemaStatsQueryPayload = (x?: Payload | null): x is SchemaStatsQueryPayload => x?.schema === SchemaStatsQuerySchema\n"],"mappings":";;;;AACO,IAAMA,2BAAqD;;;ACK3D,IAAMC,iCAAiE,GAAGC,wBAAAA;;;ACK1E,IAAMC,uBAAuB,wBAACC,MAAgDA,GAAGC,WAAWC,0BAA/D;;;ACN7B,IAAMC,yBAAiD,GAAGC,wBAAAA;AAG1D,IAAMC,4BAA4B,wBAACC,MAAqDA,GAAGC,WAAWJ,wBAApE;","names":["SchemaStatsDivinerSchema","SchemaStatsDivinerConfigSchema","SchemaStatsDivinerSchema","isSchemaStatsPayload","x","schema","SchemaStatsDivinerSchema","SchemaStatsQuerySchema","SchemaStatsDivinerSchema","isSchemaStatsQueryPayload","x","schema"]}
|
package/package.json
CHANGED
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
},
|
|
8
8
|
"bugs": {
|
|
9
9
|
"email": "support@xyo.network",
|
|
10
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
10
|
+
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/diviner-model": "^3.0.
|
|
14
|
-
"@xyo-network/module-model": "^3.0.
|
|
15
|
-
"@xyo-network/payload-model": "^3.0.
|
|
13
|
+
"@xyo-network/diviner-model": "^3.0.4",
|
|
14
|
+
"@xyo-network/module-model": "^3.0.4",
|
|
15
|
+
"@xyo-network/payload-model": "^3.0.4"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.
|
|
19
|
-
"@xylabs/tsconfig": "^4.0.0-rc.
|
|
18
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
|
|
19
|
+
"@xylabs/tsconfig": "^4.0.0-rc.20",
|
|
20
20
|
"typescript": "^5.5.4"
|
|
21
21
|
},
|
|
22
22
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
39
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
39
|
+
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
|
-
"version": "3.0.
|
|
42
|
+
"version": "3.0.4",
|
|
43
43
|
"type": "module"
|
|
44
44
|
}
|
package/src/Config.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DivinerConfig } from '@xyo-network/diviner-model'
|
|
2
|
-
import { Payload } from '@xyo-network/payload-model'
|
|
1
|
+
import type { DivinerConfig } from '@xyo-network/diviner-model'
|
|
2
|
+
import type { Payload } from '@xyo-network/payload-model'
|
|
3
3
|
|
|
4
4
|
import { SchemaStatsDivinerSchema } from './Schema.ts'
|
|
5
5
|
|
package/src/Params.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DivinerParams } from '@xyo-network/diviner-model'
|
|
2
|
-
import { AnyConfigSchema } from '@xyo-network/module-model'
|
|
1
|
+
import type { DivinerParams } from '@xyo-network/diviner-model'
|
|
2
|
+
import type { AnyConfigSchema } from '@xyo-network/module-model'
|
|
3
3
|
|
|
4
|
-
import { SchemaStatsDivinerConfig } from './Config.ts'
|
|
4
|
+
import type { SchemaStatsDivinerConfig } from './Config.ts'
|
|
5
5
|
|
|
6
6
|
export type SchemaStatsDivinerParams = DivinerParams<AnyConfigSchema<SchemaStatsDivinerConfig>>
|
package/src/Payload.ts
CHANGED
package/src/Query.ts
CHANGED
package/xy.config.ts
CHANGED