@xyo-network/diviner-schema-list-model 4.0.3 → 4.1.0
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.d.ts +30 -0
- package/package.json +8 -8
- /package/{dist/types → build/neutral}/Config.d.ts +0 -0
- /package/{dist/types → build/neutral}/Config.d.ts.map +0 -0
- /package/{dist/types → build/neutral}/Params.d.ts +0 -0
- /package/{dist/types → build/neutral}/Params.d.ts.map +0 -0
- /package/{dist/types → build/neutral}/Payload.d.ts +0 -0
- /package/{dist/types → build/neutral}/Payload.d.ts.map +0 -0
- /package/{dist/types → build/neutral}/Query.d.ts +0 -0
- /package/{dist/types → build/neutral}/Query.d.ts.map +0 -0
- /package/{dist/types → build/neutral}/Schema.d.ts +0 -0
- /package/{dist/types → build/neutral}/Schema.d.ts.map +0 -0
- /package/{dist/types → build/neutral}/index.d.ts +0 -0
- /package/{dist/types → build/neutral}/index.d.ts.map +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DivinerConfig, DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
+
import { Payload, Query } from '@xyo-network/payload-model';
|
|
3
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
|
+
|
|
5
|
+
declare const SchemaListDivinerSchema: "network.xyo.diviner.schema.list";
|
|
6
|
+
type SchemaListDivinerSchema = typeof SchemaListDivinerSchema;
|
|
7
|
+
|
|
8
|
+
type SchemaListDivinerConfigSchema = `${SchemaListDivinerSchema}.config`;
|
|
9
|
+
declare const SchemaListDivinerConfigSchema: SchemaListDivinerConfigSchema;
|
|
10
|
+
type SchemaListDivinerConfig<T extends Payload = Payload> = DivinerConfig<T & {
|
|
11
|
+
schema: SchemaListDivinerConfigSchema;
|
|
12
|
+
}>;
|
|
13
|
+
|
|
14
|
+
type SchemaListDivinerParams = DivinerParams<AnyConfigSchema<SchemaListDivinerConfig>>;
|
|
15
|
+
|
|
16
|
+
type SchemaListPayload = Payload<{
|
|
17
|
+
schema: SchemaListDivinerSchema;
|
|
18
|
+
schemas: string[];
|
|
19
|
+
}>;
|
|
20
|
+
declare const isSchemaListPayload: (x?: Payload | null) => x is SchemaListPayload;
|
|
21
|
+
|
|
22
|
+
type SchemaListQuerySchema = `${SchemaListDivinerSchema}.query`;
|
|
23
|
+
declare const SchemaListQuerySchema: SchemaListQuerySchema;
|
|
24
|
+
type SchemaListQueryPayload = Query<{
|
|
25
|
+
schema: SchemaListQuerySchema;
|
|
26
|
+
}>;
|
|
27
|
+
declare const isSchemaListQueryPayload: (x?: Payload | null) => x is SchemaListQueryPayload;
|
|
28
|
+
|
|
29
|
+
export { SchemaListDivinerConfigSchema, SchemaListDivinerSchema, SchemaListQuerySchema, isSchemaListPayload, isSchemaListQueryPayload };
|
|
30
|
+
export type { SchemaListDivinerConfig, SchemaListDivinerParams, SchemaListPayload, SchemaListQueryPayload };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-schema-list-model",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -21,21 +21,21 @@
|
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"types": "./dist/
|
|
24
|
+
"types": "./dist/neutral/index.d.ts",
|
|
25
25
|
"default": "./dist/neutral/index.mjs"
|
|
26
26
|
},
|
|
27
27
|
"./package.json": "./package.json"
|
|
28
28
|
},
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
|
-
"types": "dist/
|
|
30
|
+
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xyo-network/diviner-model": "^4.0
|
|
33
|
-
"@xyo-network/module-model": "^4.0
|
|
34
|
-
"@xyo-network/payload-model": "^4.0
|
|
32
|
+
"@xyo-network/diviner-model": "^4.1.0",
|
|
33
|
+
"@xyo-network/module-model": "^4.1.0",
|
|
34
|
+
"@xyo-network/payload-model": "^4.1.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
38
|
-
"@xylabs/tsconfig": "^
|
|
37
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.20",
|
|
38
|
+
"@xylabs/tsconfig": "^7.0.0-rc.20",
|
|
39
39
|
"typescript": "^5.8.3"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|