@xyo-network/diviner-payload-model 2.73.3 → 2.74.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/Config.d.mts +8 -0
- package/dist/Config.d.mts.map +1 -0
- package/dist/Config.d.ts +8 -0
- package/dist/Config.d.ts.map +1 -0
- package/dist/Params.d.mts +5 -0
- package/dist/Params.d.mts.map +1 -0
- package/dist/Params.d.ts +5 -0
- package/dist/Params.d.ts.map +1 -0
- package/dist/Predicate.d.mts +16 -0
- package/dist/Predicate.d.mts.map +1 -0
- package/dist/Predicate.d.ts +16 -0
- package/dist/Predicate.d.ts.map +1 -0
- package/dist/Query.d.mts +20 -0
- package/dist/Query.d.mts.map +1 -0
- package/dist/Query.d.ts +20 -0
- package/dist/Query.d.ts.map +1 -0
- package/dist/Schema.d.mts +3 -0
- package/dist/Schema.d.mts.map +1 -0
- package/dist/Schema.d.ts +3 -0
- package/dist/Schema.d.ts.map +1 -0
- package/dist/SortDirection.d.mts +2 -0
- package/dist/SortDirection.d.mts.map +1 -0
- package/dist/SortDirection.d.ts +2 -0
- package/dist/SortDirection.d.ts.map +1 -0
- package/dist/index.d.mts +7 -54
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +7 -54
- package/dist/index.d.ts.map +1 -0
- package/package.json +7 -13
- package/dist/docs.json +0 -1374
- package/tsup.config.ts +0 -16
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
+
import { PayloadDivinerSchema } from './Schema';
|
|
3
|
+
export type PayloadDivinerConfigSchema = `${PayloadDivinerSchema}.config`;
|
|
4
|
+
export declare const PayloadDivinerConfigSchema: PayloadDivinerConfigSchema;
|
|
5
|
+
export type PayloadDivinerConfig = DivinerConfig<{
|
|
6
|
+
schema: PayloadDivinerConfigSchema;
|
|
7
|
+
}>;
|
|
8
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAE/C,MAAM,MAAM,0BAA0B,GAAG,GAAG,oBAAoB,SAAS,CAAA;AACzE,eAAO,MAAM,0BAA0B,EAAE,0BAA6D,CAAA;AAEtG,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC;IAC/C,MAAM,EAAE,0BAA0B,CAAA;CACnC,CAAC,CAAA"}
|
package/dist/Config.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DivinerConfig } from '@xyo-network/diviner-model';
|
|
2
|
+
import { PayloadDivinerSchema } from './Schema';
|
|
3
|
+
export type PayloadDivinerConfigSchema = `${PayloadDivinerSchema}.config`;
|
|
4
|
+
export declare const PayloadDivinerConfigSchema: PayloadDivinerConfigSchema;
|
|
5
|
+
export type PayloadDivinerConfig = DivinerConfig<{
|
|
6
|
+
schema: PayloadDivinerConfigSchema;
|
|
7
|
+
}>;
|
|
8
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAE/C,MAAM,MAAM,0BAA0B,GAAG,GAAG,oBAAoB,SAAS,CAAA;AACzE,eAAO,MAAM,0BAA0B,EAAE,0BAA6D,CAAA;AAEtG,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC;IAC/C,MAAM,EAAE,0BAA0B,CAAA;CACnC,CAAC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
+
import { PayloadDivinerConfig } from './Config';
|
|
4
|
+
export type PayloadDivinerParams = DivinerParams<AnyConfigSchema<PayloadDivinerConfig>>;
|
|
5
|
+
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAE/C,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC,CAAA"}
|
package/dist/Params.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
2
|
+
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
+
import { PayloadDivinerConfig } from './Config';
|
|
4
|
+
export type PayloadDivinerParams = DivinerParams<AnyConfigSchema<PayloadDivinerConfig>>;
|
|
5
|
+
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAE/C,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AnyObject } from '@xyo-network/core';
|
|
2
|
+
import { SortDirection } from './SortDirection';
|
|
3
|
+
export type PayloadDivinerPredicate<T extends AnyObject = AnyObject> = Partial<{
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use BW Diviner to find signed Payloads matching desired
|
|
6
|
+
* criteria, then get Payloads by hash directly from Archivist
|
|
7
|
+
*/
|
|
8
|
+
address: string | string[];
|
|
9
|
+
hash: string;
|
|
10
|
+
limit: number;
|
|
11
|
+
offset: number;
|
|
12
|
+
order: SortDirection;
|
|
13
|
+
schemas: string[];
|
|
14
|
+
timestamp?: number;
|
|
15
|
+
}> & Partial<T>;
|
|
16
|
+
//# sourceMappingURL=Predicate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Predicate.d.ts","sourceRoot":"","sources":["../src/Predicate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAI/C,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,IAAI,OAAO,CAAC;IAC7E;;;OAGG;IACH,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,aAAa,CAAA;IACpB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC,GACA,OAAO,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AnyObject } from '@xyo-network/core';
|
|
2
|
+
import { SortDirection } from './SortDirection';
|
|
3
|
+
export type PayloadDivinerPredicate<T extends AnyObject = AnyObject> = Partial<{
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use BW Diviner to find signed Payloads matching desired
|
|
6
|
+
* criteria, then get Payloads by hash directly from Archivist
|
|
7
|
+
*/
|
|
8
|
+
address: string | string[];
|
|
9
|
+
hash: string;
|
|
10
|
+
limit: number;
|
|
11
|
+
offset: number;
|
|
12
|
+
order: SortDirection;
|
|
13
|
+
schemas: string[];
|
|
14
|
+
timestamp?: number;
|
|
15
|
+
}> & Partial<T>;
|
|
16
|
+
//# sourceMappingURL=Predicate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Predicate.d.ts","sourceRoot":"","sources":["../src/Predicate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAI/C,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,IAAI,OAAO,CAAC;IAC7E;;;OAGG;IACH,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,aAAa,CAAA;IACpB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC,GACA,OAAO,CAAC,CAAC,CAAC,CAAA"}
|
package/dist/Query.d.mts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Payload, Query } from '@xyo-network/payload-model';
|
|
2
|
+
import { PayloadDivinerPredicate } from './Predicate';
|
|
3
|
+
import { PayloadDivinerSchema } from './Schema';
|
|
4
|
+
export type PayloadDivinerQuerySchema = `${PayloadDivinerSchema}.query`;
|
|
5
|
+
export declare const PayloadDivinerQuerySchema: PayloadDivinerQuerySchema;
|
|
6
|
+
export type PayloadDivinerQueryPayload = Query<{
|
|
7
|
+
schema: PayloadDivinerQuerySchema;
|
|
8
|
+
} & PayloadDivinerPredicate>;
|
|
9
|
+
export declare const isPayloadDivinerQueryPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
10
|
+
schema: PayloadDivinerQuerySchema;
|
|
11
|
+
} & Partial<{
|
|
12
|
+
address: string | string[];
|
|
13
|
+
hash: string;
|
|
14
|
+
limit: number;
|
|
15
|
+
offset: number;
|
|
16
|
+
order: import("./SortDirection").SortDirection;
|
|
17
|
+
schemas: string[];
|
|
18
|
+
timestamp?: number | undefined;
|
|
19
|
+
}> & Partial<import("@xyo-network/object").AnyObject> & import("@xyo-network/payload-model").QueryFields;
|
|
20
|
+
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAE/C,MAAM,MAAM,yBAAyB,GAAG,GAAG,oBAAoB,QAAQ,CAAA;AACvE,eAAO,MAAM,yBAAyB,EAAE,yBAA2D,CAAA;AAEnG,MAAM,MAAM,0BAA0B,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,yBAAyB,CAAA;CAAE,GAAG,uBAAuB,CAAC,CAAA;AAC/G,eAAO,MAAM,4BAA4B,OAAQ,OAAO,GAAG,IAAI;YADN,yBAAyB;;;;;;;;;wGAC0D,CAAA"}
|
package/dist/Query.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Payload, Query } from '@xyo-network/payload-model';
|
|
2
|
+
import { PayloadDivinerPredicate } from './Predicate';
|
|
3
|
+
import { PayloadDivinerSchema } from './Schema';
|
|
4
|
+
export type PayloadDivinerQuerySchema = `${PayloadDivinerSchema}.query`;
|
|
5
|
+
export declare const PayloadDivinerQuerySchema: PayloadDivinerQuerySchema;
|
|
6
|
+
export type PayloadDivinerQueryPayload = Query<{
|
|
7
|
+
schema: PayloadDivinerQuerySchema;
|
|
8
|
+
} & PayloadDivinerPredicate>;
|
|
9
|
+
export declare const isPayloadDivinerQueryPayload: (x?: Payload | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
10
|
+
schema: PayloadDivinerQuerySchema;
|
|
11
|
+
} & Partial<{
|
|
12
|
+
address: string | string[];
|
|
13
|
+
hash: string;
|
|
14
|
+
limit: number;
|
|
15
|
+
offset: number;
|
|
16
|
+
order: import("./SortDirection").SortDirection;
|
|
17
|
+
schemas: string[];
|
|
18
|
+
timestamp?: number | undefined;
|
|
19
|
+
}> & Partial<import("@xyo-network/object").AnyObject> & import("@xyo-network/payload-model").QueryFields;
|
|
20
|
+
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAE/C,MAAM,MAAM,yBAAyB,GAAG,GAAG,oBAAoB,QAAQ,CAAA;AACvE,eAAO,MAAM,yBAAyB,EAAE,yBAA2D,CAAA;AAEnG,MAAM,MAAM,0BAA0B,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,yBAAyB,CAAA;CAAE,GAAG,uBAAuB,CAAC,CAAA;AAC/G,eAAO,MAAM,4BAA4B,OAAQ,OAAO,GAAG,IAAI;YADN,yBAAyB;;;;;;;;;wGAC0D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,6BAA6B,CAAA;AAChE,eAAO,MAAM,oBAAoB,EAAE,oBAAoD,CAAA"}
|
package/dist/Schema.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,6BAA6B,CAAA;AAChE,eAAO,MAAM,oBAAoB,EAAE,oBAAoD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortDirection.d.ts","sourceRoot":"","sources":["../src/SortDirection.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortDirection.d.ts","sourceRoot":"","sources":["../src/SortDirection.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,CAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,54 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
type PayloadDivinerSchema = 'network.xyo.diviner.payload';
|
|
9
|
-
declare const PayloadDivinerSchema: PayloadDivinerSchema;
|
|
10
|
-
|
|
11
|
-
type PayloadDivinerConfigSchema = `${PayloadDivinerSchema}.config`;
|
|
12
|
-
declare const PayloadDivinerConfigSchema: PayloadDivinerConfigSchema;
|
|
13
|
-
type PayloadDivinerConfig = DivinerConfig<{
|
|
14
|
-
schema: PayloadDivinerConfigSchema;
|
|
15
|
-
}>;
|
|
16
|
-
|
|
17
|
-
type PayloadDivinerParams = DivinerParams<AnyConfigSchema<PayloadDivinerConfig>>;
|
|
18
|
-
|
|
19
|
-
type SortDirection = 'asc' | 'desc';
|
|
20
|
-
|
|
21
|
-
type PayloadDivinerPredicate<T extends AnyObject = AnyObject> = Partial<{
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated Use BW Diviner to find signed Payloads matching desired
|
|
24
|
-
* criteria, then get Payloads by hash directly from Archivist
|
|
25
|
-
*/
|
|
26
|
-
address: string | string[];
|
|
27
|
-
hash: string;
|
|
28
|
-
limit: number;
|
|
29
|
-
offset: number;
|
|
30
|
-
order: SortDirection;
|
|
31
|
-
schemas: string[];
|
|
32
|
-
timestamp?: number;
|
|
33
|
-
}> & Partial<T>;
|
|
34
|
-
|
|
35
|
-
type PayloadDivinerQuerySchema = `${PayloadDivinerSchema}.query`;
|
|
36
|
-
declare const PayloadDivinerQuerySchema: PayloadDivinerQuerySchema;
|
|
37
|
-
type PayloadDivinerQueryPayload = Query<{
|
|
38
|
-
schema: PayloadDivinerQuerySchema;
|
|
39
|
-
} & PayloadDivinerPredicate>;
|
|
40
|
-
declare const isPayloadDivinerQueryPayload: (x?: Payload | null) => x is _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
41
|
-
schema: PayloadDivinerQuerySchema;
|
|
42
|
-
} & Partial<{
|
|
43
|
-
address: string | string[];
|
|
44
|
-
hash: string;
|
|
45
|
-
limit: number;
|
|
46
|
-
offset: number;
|
|
47
|
-
order: SortDirection;
|
|
48
|
-
schemas: string[];
|
|
49
|
-
timestamp?: number | undefined;
|
|
50
|
-
}> & Partial<_xyo_network_core.AnyObject> & _xyo_network_payload_model.QueryFields & {
|
|
51
|
-
schema: "network.xyo.diviner.payload.query";
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export { PayloadDivinerConfig, PayloadDivinerConfigSchema, PayloadDivinerParams, PayloadDivinerPredicate, PayloadDivinerQueryPayload, PayloadDivinerQuerySchema, PayloadDivinerSchema, SortDirection, isPayloadDivinerQueryPayload };
|
|
1
|
+
export * from './Config';
|
|
2
|
+
export * from './Params';
|
|
3
|
+
export * from './Predicate';
|
|
4
|
+
export * from './Query';
|
|
5
|
+
export * from './Schema';
|
|
6
|
+
export * from './SortDirection';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,54 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
type PayloadDivinerSchema = 'network.xyo.diviner.payload';
|
|
9
|
-
declare const PayloadDivinerSchema: PayloadDivinerSchema;
|
|
10
|
-
|
|
11
|
-
type PayloadDivinerConfigSchema = `${PayloadDivinerSchema}.config`;
|
|
12
|
-
declare const PayloadDivinerConfigSchema: PayloadDivinerConfigSchema;
|
|
13
|
-
type PayloadDivinerConfig = DivinerConfig<{
|
|
14
|
-
schema: PayloadDivinerConfigSchema;
|
|
15
|
-
}>;
|
|
16
|
-
|
|
17
|
-
type PayloadDivinerParams = DivinerParams<AnyConfigSchema<PayloadDivinerConfig>>;
|
|
18
|
-
|
|
19
|
-
type SortDirection = 'asc' | 'desc';
|
|
20
|
-
|
|
21
|
-
type PayloadDivinerPredicate<T extends AnyObject = AnyObject> = Partial<{
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated Use BW Diviner to find signed Payloads matching desired
|
|
24
|
-
* criteria, then get Payloads by hash directly from Archivist
|
|
25
|
-
*/
|
|
26
|
-
address: string | string[];
|
|
27
|
-
hash: string;
|
|
28
|
-
limit: number;
|
|
29
|
-
offset: number;
|
|
30
|
-
order: SortDirection;
|
|
31
|
-
schemas: string[];
|
|
32
|
-
timestamp?: number;
|
|
33
|
-
}> & Partial<T>;
|
|
34
|
-
|
|
35
|
-
type PayloadDivinerQuerySchema = `${PayloadDivinerSchema}.query`;
|
|
36
|
-
declare const PayloadDivinerQuerySchema: PayloadDivinerQuerySchema;
|
|
37
|
-
type PayloadDivinerQueryPayload = Query<{
|
|
38
|
-
schema: PayloadDivinerQuerySchema;
|
|
39
|
-
} & PayloadDivinerPredicate>;
|
|
40
|
-
declare const isPayloadDivinerQueryPayload: (x?: Payload | null) => x is _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
41
|
-
schema: PayloadDivinerQuerySchema;
|
|
42
|
-
} & Partial<{
|
|
43
|
-
address: string | string[];
|
|
44
|
-
hash: string;
|
|
45
|
-
limit: number;
|
|
46
|
-
offset: number;
|
|
47
|
-
order: SortDirection;
|
|
48
|
-
schemas: string[];
|
|
49
|
-
timestamp?: number | undefined;
|
|
50
|
-
}> & Partial<_xyo_network_core.AnyObject> & _xyo_network_payload_model.QueryFields & {
|
|
51
|
-
schema: "network.xyo.diviner.payload.query";
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export { PayloadDivinerConfig, PayloadDivinerConfigSchema, PayloadDivinerParams, PayloadDivinerPredicate, PayloadDivinerQueryPayload, PayloadDivinerQuerySchema, PayloadDivinerSchema, SortDirection, isPayloadDivinerQueryPayload };
|
|
1
|
+
export * from './Config';
|
|
2
|
+
export * from './Params';
|
|
3
|
+
export * from './Predicate';
|
|
4
|
+
export * from './Query';
|
|
5
|
+
export * from './Schema';
|
|
6
|
+
export * from './SortDirection';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,22 +10,16 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/core": "~2.
|
|
14
|
-
"@xyo-network/diviner-model": "~2.
|
|
15
|
-
"@xyo-network/module-model": "~2.
|
|
16
|
-
"@xyo-network/payload-model": "~2.
|
|
13
|
+
"@xyo-network/core": "~2.74.0",
|
|
14
|
+
"@xyo-network/diviner-model": "~2.74.0",
|
|
15
|
+
"@xyo-network/module-model": "~2.74.0",
|
|
16
|
+
"@xyo-network/payload-model": "~2.74.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
20
|
-
"@xylabs/tsconfig": "^
|
|
21
|
-
"publint": "^0.2.2",
|
|
22
|
-
"tsup": "^7.2.0",
|
|
19
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.27",
|
|
20
|
+
"@xylabs/tsconfig": "^3.0.27",
|
|
23
21
|
"typescript": "^5.2.2"
|
|
24
22
|
},
|
|
25
|
-
"scripts": {
|
|
26
|
-
"package-compile": "tsup && publint",
|
|
27
|
-
"package-recompile": "tsup && publint"
|
|
28
|
-
},
|
|
29
23
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
30
24
|
"docs": "dist/docs.json",
|
|
31
25
|
"types": "dist/index.d.ts",
|
|
@@ -66,5 +60,5 @@
|
|
|
66
60
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
67
61
|
},
|
|
68
62
|
"sideEffects": false,
|
|
69
|
-
"version": "2.
|
|
63
|
+
"version": "2.74.0"
|
|
70
64
|
}
|