@xyo-network/diviner-boundwitness-memory 4.0.2 → 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 +57 -0
- package/package.json +20 -20
- /package/{dist/types → build/neutral}/MemoryBoundWitnessDiviner.d.ts +0 -0
- /package/{dist/types → build/neutral}/MemoryBoundWitnessDiviner.d.ts.map +0 -0
- /package/{dist/types → build/neutral}/applyBoundWitnessDivinerQueryPayload.d.ts +0 -0
- /package/{dist/types → build/neutral}/applyBoundWitnessDivinerQueryPayload.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,57 @@
|
|
|
1
|
+
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
2
|
+
import { BoundWitnessDivinerQueryPayload, BoundWitnessDivinerParams } from '@xyo-network/diviner-boundwitness-model';
|
|
3
|
+
import { WithStorageMeta, Payload } from '@xyo-network/payload-model';
|
|
4
|
+
import { BoundWitnessDiviner } from '@xyo-network/diviner-boundwitness-abstract';
|
|
5
|
+
|
|
6
|
+
declare const applyBoundWitnessDivinerQueryPayload: (filter?: BoundWitnessDivinerQueryPayload, payloads?: WithStorageMeta<Payload>[]) => BoundWitness[];
|
|
7
|
+
|
|
8
|
+
interface EqualityComparisonOperators {
|
|
9
|
+
/**
|
|
10
|
+
* 'Not Equal To' comparison operator.
|
|
11
|
+
* Compares the field with the specified string value,
|
|
12
|
+
* selecting records where the field value does not match the provided string.
|
|
13
|
+
* Example: field != 'value'
|
|
14
|
+
*/
|
|
15
|
+
'!=': string;
|
|
16
|
+
/**
|
|
17
|
+
* 'Less Than' comparison operator.
|
|
18
|
+
* Compares the field with the specified string value,
|
|
19
|
+
* selecting records where the field value is lexicographically less than the provided string.
|
|
20
|
+
* Example: field < 'value'
|
|
21
|
+
*/
|
|
22
|
+
'<': string;
|
|
23
|
+
/**
|
|
24
|
+
* 'Less Than or Equal To' comparison operator.
|
|
25
|
+
* Compares the field with the specified string value,
|
|
26
|
+
* selecting records where the field value is lexicographically less than or equal to the provided string.
|
|
27
|
+
* Example: field <= 'value'
|
|
28
|
+
*/
|
|
29
|
+
'<=': string;
|
|
30
|
+
/**
|
|
31
|
+
* 'Equal To' comparison operator.
|
|
32
|
+
* Compares the field with the specified string value,
|
|
33
|
+
* selecting records where the field value matches the provided string exactly.
|
|
34
|
+
* Example: field = 'value'
|
|
35
|
+
*/
|
|
36
|
+
'=': string;
|
|
37
|
+
/**
|
|
38
|
+
* 'Greater Than' comparison operator.
|
|
39
|
+
* Compares the field with the specified string value,
|
|
40
|
+
* selecting records where the field value is lexicographically greater than the provided string.
|
|
41
|
+
* Example: field > 'value'
|
|
42
|
+
*/
|
|
43
|
+
'>': string;
|
|
44
|
+
/**
|
|
45
|
+
* 'Greater Than or Equal To' comparison operator.
|
|
46
|
+
* Compares the field with the specified string value,
|
|
47
|
+
* selecting records where the field value is lexicographically greater than or equal to the provided string.
|
|
48
|
+
* Example: field >= 'value'
|
|
49
|
+
*/
|
|
50
|
+
'>=': string;
|
|
51
|
+
}
|
|
52
|
+
declare class MemoryBoundWitnessDiviner<TParams extends BoundWitnessDivinerParams = BoundWitnessDivinerParams, TIn extends BoundWitnessDivinerQueryPayload = BoundWitnessDivinerQueryPayload, TOut extends BoundWitness = BoundWitness> extends BoundWitnessDiviner<TParams, TIn, TOut> {
|
|
53
|
+
protected divineHandler(payloads?: TIn[]): Promise<TOut[]>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { MemoryBoundWitnessDiviner, applyBoundWitnessDivinerQueryPayload };
|
|
57
|
+
export type { EqualityComparisonOperators };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-boundwitness-memory",
|
|
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,33 +21,33 @@
|
|
|
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
|
-
"@xylabs/array": "^4.
|
|
33
|
-
"@xylabs/assert": "^4.
|
|
34
|
-
"@xylabs/exists": "^4.
|
|
35
|
-
"@xylabs/hex": "^4.
|
|
36
|
-
"@xyo-network/boundwitness-model": "^4.0
|
|
37
|
-
"@xyo-network/diviner-boundwitness-abstract": "^4.0
|
|
38
|
-
"@xyo-network/diviner-boundwitness-model": "^4.0
|
|
39
|
-
"@xyo-network/payload-builder": "^4.0
|
|
40
|
-
"@xyo-network/payload-model": "^4.0
|
|
32
|
+
"@xylabs/array": "^4.13.15",
|
|
33
|
+
"@xylabs/assert": "^4.13.15",
|
|
34
|
+
"@xylabs/exists": "^4.13.15",
|
|
35
|
+
"@xylabs/hex": "^4.13.15",
|
|
36
|
+
"@xyo-network/boundwitness-model": "^4.1.0",
|
|
37
|
+
"@xyo-network/diviner-boundwitness-abstract": "^4.1.0",
|
|
38
|
+
"@xyo-network/diviner-boundwitness-model": "^4.1.0",
|
|
39
|
+
"@xyo-network/payload-builder": "^4.1.0",
|
|
40
|
+
"@xyo-network/payload-model": "^4.1.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@xylabs/delay": "^4.
|
|
44
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
45
|
-
"@xylabs/tsconfig": "^
|
|
46
|
-
"@xylabs/vitest-extended": "^4.
|
|
47
|
-
"@xyo-network/account": "^4.0
|
|
48
|
-
"@xyo-network/archivist-memory": "^4.0
|
|
49
|
-
"@xyo-network/boundwitness-builder": "^4.0
|
|
50
|
-
"@xyo-network/node-memory": "^4.0
|
|
43
|
+
"@xylabs/delay": "^4.13.15",
|
|
44
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.20",
|
|
45
|
+
"@xylabs/tsconfig": "^7.0.0-rc.20",
|
|
46
|
+
"@xylabs/vitest-extended": "^4.13.15",
|
|
47
|
+
"@xyo-network/account": "^4.1.0",
|
|
48
|
+
"@xyo-network/archivist-memory": "^4.1.0",
|
|
49
|
+
"@xyo-network/boundwitness-builder": "^4.1.0",
|
|
50
|
+
"@xyo-network/node-memory": "^4.1.0",
|
|
51
51
|
"typescript": "^5.8.3",
|
|
52
52
|
"vitest": "^3.2.4"
|
|
53
53
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|