@xyo-network/react-standard-node 4.4.3 → 4.4.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/browser/index.d.ts +1066 -5
- package/package.json +9 -9
- package/dist/browser/components/ActiveStandardNode.d.ts +0 -7
- package/dist/browser/components/ActiveStandardNode.d.ts.map +0 -1
- package/dist/browser/components/index.d.ts +0 -2
- package/dist/browser/components/index.d.ts.map +0 -1
- package/dist/browser/contexts/StandardRemoteNodes/Context.d.ts +0 -3
- package/dist/browser/contexts/StandardRemoteNodes/Context.d.ts.map +0 -1
- package/dist/browser/contexts/StandardRemoteNodes/Providers.d.ts +0 -11
- package/dist/browser/contexts/StandardRemoteNodes/Providers.d.ts.map +0 -1
- package/dist/browser/contexts/StandardRemoteNodes/State.d.ts +0 -8
- package/dist/browser/contexts/StandardRemoteNodes/State.d.ts.map +0 -1
- package/dist/browser/contexts/StandardRemoteNodes/index.d.ts +0 -5
- package/dist/browser/contexts/StandardRemoteNodes/index.d.ts.map +0 -1
- package/dist/browser/contexts/StandardRemoteNodes/use.d.ts +0 -2
- package/dist/browser/contexts/StandardRemoteNodes/use.d.ts.map +0 -1
- package/dist/browser/contexts/index.d.ts +0 -2
- package/dist/browser/contexts/index.d.ts.map +0 -1
- package/dist/browser/hooks/index.d.ts +0 -2
- package/dist/browser/hooks/index.d.ts.map +0 -1
- package/dist/browser/hooks/useActiveNodeAddress.d.ts +0 -2
- package/dist/browser/hooks/useActiveNodeAddress.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/lib/Builders/MemoryNodeBuilder.d.ts +0 -311
- package/dist/browser/lib/Builders/MemoryNodeBuilder.d.ts.map +0 -1
- package/dist/browser/lib/Builders/SentinelBuilder.d.ts +0 -500
- package/dist/browser/lib/Builders/SentinelBuilder.d.ts.map +0 -1
- package/dist/browser/lib/Builders/StorageArchivistBuilder.d.ts +0 -212
- package/dist/browser/lib/Builders/StorageArchivistBuilder.d.ts.map +0 -1
- package/dist/browser/lib/Builders/index.d.ts +0 -4
- package/dist/browser/lib/Builders/index.d.ts.map +0 -1
- package/dist/browser/lib/ModuleAccountPaths.d.ts +0 -4
- package/dist/browser/lib/ModuleAccountPaths.d.ts.map +0 -1
- package/dist/browser/lib/ModuleNames.d.ts +0 -3
- package/dist/browser/lib/ModuleNames.d.ts.map +0 -1
- package/dist/browser/lib/buildNodes.d.ts +0 -4
- package/dist/browser/lib/buildNodes.d.ts.map +0 -1
- package/dist/browser/lib/index.d.ts +0 -5
- package/dist/browser/lib/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-standard-node",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.4",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
"@xyo-network/node-memory": "^3.9.2",
|
|
59
59
|
"@xyo-network/node-model": "^3.9.2",
|
|
60
60
|
"@xyo-network/payloadset-plugin": "^3.9.2",
|
|
61
|
-
"@xyo-network/react-network": "^4.4.
|
|
62
|
-
"@xyo-network/react-node": "^4.4.
|
|
63
|
-
"@xyo-network/react-shared": "^4.4.
|
|
64
|
-
"@xyo-network/react-wallet": "^4.4.
|
|
61
|
+
"@xyo-network/react-network": "^4.4.4",
|
|
62
|
+
"@xyo-network/react-node": "^4.4.4",
|
|
63
|
+
"@xyo-network/react-shared": "^4.4.4",
|
|
64
|
+
"@xyo-network/react-wallet": "^4.4.4",
|
|
65
65
|
"@xyo-network/sentinel-memory": "^3.9.2",
|
|
66
66
|
"@xyo-network/sentinel-model": "^3.9.2",
|
|
67
67
|
"@xyo-network/wallet-model": "^3.9.2",
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"@mui/icons-material": "^6.4.4",
|
|
72
72
|
"@mui/material": "^6.4.4",
|
|
73
73
|
"@mui/styles": "^6.4.4",
|
|
74
|
-
"@storybook/react": "^8.5.
|
|
75
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
76
|
-
"@xylabs/tsconfig-react": "^
|
|
74
|
+
"@storybook/react": "^8.5.5",
|
|
75
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.24",
|
|
76
|
+
"@xylabs/tsconfig-react": "^5.0.24",
|
|
77
77
|
"react": "^18.3.1",
|
|
78
78
|
"react-dom": "^18.3.1",
|
|
79
79
|
"react-router-dom": "^7.1.5",
|
|
80
|
-
"storybook": "^8.5.
|
|
80
|
+
"storybook": "^8.5.5",
|
|
81
81
|
"typescript": "^5.7.3"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { PropsWithChildren } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface ActiveStandardNodeProps extends PropsWithChildren {
|
|
4
|
-
nodeNameOrAddress?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const ActiveStandardNode: React.FC<ActiveStandardNodeProps>;
|
|
7
|
-
//# sourceMappingURL=ActiveStandardNode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveStandardNode.d.ts","sourceRoot":"","sources":["../../../src/components/ActiveStandardNode.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAAmB,MAAM,OAAO,CAAA;AAKvC,MAAM,WAAW,uBAAwB,SAAQ,iBAAiB;IAChE,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAmChE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/StandardRemoteNodes/Context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEpD,eAAO,MAAM,oBAAoB,kGAAwC,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { WithChildren } from '@xylabs/react-shared';
|
|
2
|
-
import type { WalletInstance } from '@xyo-network/wallet-model';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import type { StandardNodesState } from './State.ts';
|
|
5
|
-
export interface StandardNodesProviderProps extends WithChildren {
|
|
6
|
-
defaultRemoteNodes?: StandardNodesState['nodes'];
|
|
7
|
-
wallet?: WalletInstance | null;
|
|
8
|
-
}
|
|
9
|
-
export declare const StandardNodesProvider: React.FC<StandardNodesProviderProps>;
|
|
10
|
-
export declare const StandardNodesProviderWithWallet: React.FC<Omit<StandardNodesProviderProps, 'wallet'>>;
|
|
11
|
-
//# sourceMappingURL=Providers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Providers.d.ts","sourceRoot":"","sources":["../../../../src/contexts/StandardRemoteNodes/Providers.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAkB,MAAM,OAAO,CAAA;AAItC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEpD,MAAM,WAAW,0BAA2B,SAAQ,YAAY;IAC9D,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAA;IAChD,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;CAC/B;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAqCtE,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,0BAA0B,EAAE,QAAQ,CAAC,CAGhG,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Address } from '@xylabs/hex';
|
|
2
|
-
import type { MemoryNode } from '@xyo-network/node-memory';
|
|
3
|
-
import type { ContextExState } from '@xyo-network/react-shared';
|
|
4
|
-
export interface StandardNodesState extends ContextExState {
|
|
5
|
-
findAddressByName?: (name?: string) => Address | undefined;
|
|
6
|
-
nodes?: MemoryNode[];
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=State.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/StandardRemoteNodes/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,OAAO,GAAG,SAAS,CAAA;IAC1D,KAAK,CAAC,EAAE,UAAU,EAAE,CAAA;CACrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/StandardRemoteNodes/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/StandardRemoteNodes/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,wIAAsF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useActiveNodeAddress.d.ts","sourceRoot":"","sources":["../../../src/hooks/useActiveNodeAddress.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,iBAAkB,MAAM,kCAWxD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA"}
|
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
import type { AccountInstance } from '@xyo-network/account-model';
|
|
2
|
-
import type { AttachableModuleInstance } from '@xyo-network/module-model';
|
|
3
|
-
import { MemoryNode } from '@xyo-network/node-memory';
|
|
4
|
-
import type { PayloadSetPluginResolver } from '@xyo-network/payloadset-plugin';
|
|
5
|
-
import type { SentinelConfig } from '@xyo-network/sentinel-model';
|
|
6
|
-
import type { AttachableWitnessInstance } from '@xyo-network/witness-model';
|
|
7
|
-
export interface MemoryNodeBuilderConfig {
|
|
8
|
-
name?: string;
|
|
9
|
-
node?: MemoryNode;
|
|
10
|
-
}
|
|
11
|
-
export declare class MemoryNodeBuilder {
|
|
12
|
-
private _node;
|
|
13
|
-
get node(): MemoryNode<import("@xylabs/object").BaseParamsFields & {
|
|
14
|
-
account?: AccountInstance | "random";
|
|
15
|
-
addToResolvers?: boolean;
|
|
16
|
-
additionalSigners?: AccountInstance[];
|
|
17
|
-
allowNameResolution?: boolean;
|
|
18
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
19
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
20
|
-
readonly archiving?: {
|
|
21
|
-
readonly archivists?: string[] | undefined;
|
|
22
|
-
readonly queries?: string[] | undefined;
|
|
23
|
-
} | undefined;
|
|
24
|
-
readonly allowedQueries?: string[] | undefined;
|
|
25
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
26
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
27
|
-
readonly labels?: {
|
|
28
|
-
[x: string]: string | undefined;
|
|
29
|
-
} | undefined;
|
|
30
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
31
|
-
readonly paging?: {
|
|
32
|
-
[x: string]: {
|
|
33
|
-
size?: number | undefined;
|
|
34
|
-
};
|
|
35
|
-
} | undefined;
|
|
36
|
-
readonly retry?: {
|
|
37
|
-
backoff?: number | undefined;
|
|
38
|
-
interval?: number | undefined;
|
|
39
|
-
retries?: number | undefined;
|
|
40
|
-
} | undefined;
|
|
41
|
-
readonly security?: {
|
|
42
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
43
|
-
readonly allowed?: {
|
|
44
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
45
|
-
} | undefined;
|
|
46
|
-
readonly disallowed?: {
|
|
47
|
-
[x: string]: Lowercase<string>[];
|
|
48
|
-
} | undefined;
|
|
49
|
-
} | undefined;
|
|
50
|
-
readonly sign?: boolean | undefined;
|
|
51
|
-
readonly storeQueries?: boolean | undefined;
|
|
52
|
-
readonly timestamp?: boolean | undefined;
|
|
53
|
-
}>;
|
|
54
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
55
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
56
|
-
}, import("@xyo-network/node-model").NodeModuleEventData>;
|
|
57
|
-
static create({ name, node }: MemoryNodeBuilderConfig, account?: AccountInstance): Promise<MemoryNodeBuilder>;
|
|
58
|
-
/** @deprecated - call specific method that corresponds to a type of archivist (i.e. addArchivistStorage) */
|
|
59
|
-
addArchivist(account: AccountInstance, moduleName?: string, namespace?: string): Promise<void>;
|
|
60
|
-
addArchivistMemory(moduleName?: string, account?: AccountInstance): Promise<void>;
|
|
61
|
-
addArchivistStorage(account: AccountInstance, moduleName?: string, namespace?: string): Promise<void>;
|
|
62
|
-
addBridge(apiDomain: string, moduleName?: string, account?: AccountInstance): Promise<void>;
|
|
63
|
-
addSentinel(config: SentinelConfig, account: AccountInstance): Promise<import("@xyo-network/sentinel-memory").MemorySentinel<import("@xylabs/object").BaseParamsFields & {
|
|
64
|
-
account?: AccountInstance | "random";
|
|
65
|
-
addToResolvers?: boolean;
|
|
66
|
-
additionalSigners?: AccountInstance[];
|
|
67
|
-
allowNameResolution?: boolean;
|
|
68
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
69
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
70
|
-
readonly archiving?: {
|
|
71
|
-
readonly archivists?: string[] | undefined;
|
|
72
|
-
readonly queries?: string[] | undefined;
|
|
73
|
-
} | undefined;
|
|
74
|
-
readonly allowedQueries?: string[] | undefined;
|
|
75
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
76
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
77
|
-
readonly labels?: {
|
|
78
|
-
[x: string]: string | undefined;
|
|
79
|
-
} | undefined;
|
|
80
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
81
|
-
readonly paging?: {
|
|
82
|
-
[x: string]: {
|
|
83
|
-
size?: number | undefined;
|
|
84
|
-
};
|
|
85
|
-
} | undefined;
|
|
86
|
-
readonly retry?: {
|
|
87
|
-
backoff?: number | undefined;
|
|
88
|
-
interval?: number | undefined;
|
|
89
|
-
retries?: number | undefined;
|
|
90
|
-
} | undefined;
|
|
91
|
-
readonly security?: {
|
|
92
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
93
|
-
readonly allowed?: {
|
|
94
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
95
|
-
} | undefined;
|
|
96
|
-
readonly disallowed?: {
|
|
97
|
-
[x: string]: Lowercase<string>[];
|
|
98
|
-
} | undefined;
|
|
99
|
-
} | undefined;
|
|
100
|
-
readonly sign?: boolean | undefined;
|
|
101
|
-
readonly storeQueries?: boolean | undefined;
|
|
102
|
-
readonly timestamp?: boolean | undefined;
|
|
103
|
-
automations?: ({
|
|
104
|
-
schema: "network.xyo.automation.interval";
|
|
105
|
-
type: "interval";
|
|
106
|
-
end?: number | undefined;
|
|
107
|
-
frequency?: number | undefined;
|
|
108
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
109
|
-
remaining?: number | undefined;
|
|
110
|
-
start: number;
|
|
111
|
-
} | {
|
|
112
|
-
schema: "network.xyo.automation.event";
|
|
113
|
-
type: "interval";
|
|
114
|
-
end?: number | undefined;
|
|
115
|
-
frequency?: number | undefined;
|
|
116
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
117
|
-
remaining?: number | undefined;
|
|
118
|
-
start: number;
|
|
119
|
-
} | {
|
|
120
|
-
schema: "network.xyo.automation";
|
|
121
|
-
type: "interval";
|
|
122
|
-
end?: number | undefined;
|
|
123
|
-
frequency?: number | undefined;
|
|
124
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
125
|
-
remaining?: number | undefined;
|
|
126
|
-
start: number;
|
|
127
|
-
} | {
|
|
128
|
-
schema: "network.xyo.automation.interval";
|
|
129
|
-
type: "event";
|
|
130
|
-
} | {
|
|
131
|
-
schema: "network.xyo.automation.event";
|
|
132
|
-
type: "event";
|
|
133
|
-
} | {
|
|
134
|
-
schema: "network.xyo.automation";
|
|
135
|
-
type: "event";
|
|
136
|
-
})[] | undefined;
|
|
137
|
-
synchronous?: boolean | undefined;
|
|
138
|
-
tasks: ({
|
|
139
|
-
endPoint?: "observe" | undefined;
|
|
140
|
-
input?: string | boolean | string[] | undefined;
|
|
141
|
-
mod: import("@xyo-network/module-model").ModuleIdentifier;
|
|
142
|
-
required?: boolean | undefined;
|
|
143
|
-
} | {
|
|
144
|
-
endPoint?: "divine" | undefined;
|
|
145
|
-
input?: string | boolean | string[] | undefined;
|
|
146
|
-
mod: import("@xyo-network/module-model").ModuleIdentifier;
|
|
147
|
-
required?: boolean | undefined;
|
|
148
|
-
} | {
|
|
149
|
-
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
150
|
-
input?: string | boolean | string[] | undefined;
|
|
151
|
-
mod: import("@xyo-network/module-model").ModuleIdentifier;
|
|
152
|
-
required?: boolean | undefined;
|
|
153
|
-
} | {
|
|
154
|
-
endPoint?: string | undefined;
|
|
155
|
-
input?: string | boolean | string[] | undefined;
|
|
156
|
-
mod: import("@xyo-network/module-model").ModuleIdentifier;
|
|
157
|
-
required?: boolean | undefined;
|
|
158
|
-
})[];
|
|
159
|
-
throwErrors?: boolean | undefined;
|
|
160
|
-
}>;
|
|
161
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
162
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
163
|
-
}, import("@xyo-network/sentinel-model").SentinelModuleEventData<import("@xyo-network/sentinel-model").SentinelInstance<import("@xylabs/object").BaseParamsFields & {
|
|
164
|
-
account?: AccountInstance | "random";
|
|
165
|
-
addToResolvers?: boolean;
|
|
166
|
-
additionalSigners?: AccountInstance[];
|
|
167
|
-
allowNameResolution?: boolean;
|
|
168
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
169
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
170
|
-
readonly archiving?: {
|
|
171
|
-
readonly archivists?: string[] | undefined;
|
|
172
|
-
readonly queries?: string[] | undefined;
|
|
173
|
-
} | undefined;
|
|
174
|
-
readonly allowedQueries?: string[] | undefined;
|
|
175
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
176
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
177
|
-
readonly labels?: {
|
|
178
|
-
[x: string]: string | undefined;
|
|
179
|
-
} | undefined;
|
|
180
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
181
|
-
readonly paging?: {
|
|
182
|
-
[x: string]: {
|
|
183
|
-
size?: number | undefined;
|
|
184
|
-
};
|
|
185
|
-
} | undefined;
|
|
186
|
-
readonly retry?: {
|
|
187
|
-
backoff?: number | undefined;
|
|
188
|
-
interval?: number | undefined;
|
|
189
|
-
retries?: number | undefined;
|
|
190
|
-
} | undefined;
|
|
191
|
-
readonly security?: {
|
|
192
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
193
|
-
readonly allowed?: {
|
|
194
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
195
|
-
} | undefined;
|
|
196
|
-
readonly disallowed?: {
|
|
197
|
-
[x: string]: Lowercase<string>[];
|
|
198
|
-
} | undefined;
|
|
199
|
-
} | undefined;
|
|
200
|
-
readonly sign?: boolean | undefined;
|
|
201
|
-
readonly storeQueries?: boolean | undefined;
|
|
202
|
-
readonly timestamp?: boolean | undefined;
|
|
203
|
-
automations?: ({
|
|
204
|
-
schema: "network.xyo.automation.interval";
|
|
205
|
-
type: "interval";
|
|
206
|
-
end?: number | undefined;
|
|
207
|
-
frequency?: number | undefined;
|
|
208
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
209
|
-
remaining?: number | undefined;
|
|
210
|
-
start: number;
|
|
211
|
-
} | {
|
|
212
|
-
schema: "network.xyo.automation.event";
|
|
213
|
-
type: "interval";
|
|
214
|
-
end?: number | undefined;
|
|
215
|
-
frequency?: number | undefined;
|
|
216
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
217
|
-
remaining?: number | undefined;
|
|
218
|
-
start: number;
|
|
219
|
-
} | {
|
|
220
|
-
schema: "network.xyo.automation";
|
|
221
|
-
type: "interval";
|
|
222
|
-
end?: number | undefined;
|
|
223
|
-
frequency?: number | undefined;
|
|
224
|
-
frequencyUnits?: "second" | "minute" | "hour" | "day" | "millis" | undefined;
|
|
225
|
-
remaining?: number | undefined;
|
|
226
|
-
start: number;
|
|
227
|
-
} | {
|
|
228
|
-
schema: "network.xyo.automation.interval";
|
|
229
|
-
type: "event";
|
|
230
|
-
} | {
|
|
231
|
-
schema: "network.xyo.automation.event";
|
|
232
|
-
type: "event";
|
|
233
|
-
} | {
|
|
234
|
-
schema: "network.xyo.automation";
|
|
235
|
-
type: "event";
|
|
236
|
-
})[] | undefined;
|
|
237
|
-
synchronous?: boolean | undefined;
|
|
238
|
-
tasks: ({
|
|
239
|
-
endPoint?: "observe" | undefined;
|
|
240
|
-
input?: string | boolean | string[] | undefined;
|
|
241
|
-
mod: import("@xyo-network/module-model").ModuleIdentifier;
|
|
242
|
-
required?: boolean | undefined;
|
|
243
|
-
} | {
|
|
244
|
-
endPoint?: "divine" | undefined;
|
|
245
|
-
input?: string | boolean | string[] | undefined;
|
|
246
|
-
mod: import("@xyo-network/module-model").ModuleIdentifier;
|
|
247
|
-
required?: boolean | undefined;
|
|
248
|
-
} | {
|
|
249
|
-
endPoint?: "all" | "clear" | "commit" | "delete" | "get" | "insert" | undefined;
|
|
250
|
-
input?: string | boolean | string[] | undefined;
|
|
251
|
-
mod: import("@xyo-network/module-model").ModuleIdentifier;
|
|
252
|
-
required?: boolean | undefined;
|
|
253
|
-
} | {
|
|
254
|
-
endPoint?: string | undefined;
|
|
255
|
-
input?: string | boolean | string[] | undefined;
|
|
256
|
-
mod: import("@xyo-network/module-model").ModuleIdentifier;
|
|
257
|
-
required?: boolean | undefined;
|
|
258
|
-
})[];
|
|
259
|
-
throwErrors?: boolean | undefined;
|
|
260
|
-
}>;
|
|
261
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
262
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
263
|
-
}, import("@xyo-network/sentinel-model").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
|
|
264
|
-
account?: AccountInstance | "random";
|
|
265
|
-
addToResolvers?: boolean;
|
|
266
|
-
additionalSigners?: AccountInstance[];
|
|
267
|
-
allowNameResolution?: boolean;
|
|
268
|
-
config: import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
269
|
-
schema: import("@xyo-network/payload-model").Schema;
|
|
270
|
-
readonly archiving?: {
|
|
271
|
-
readonly archivists?: string[] | undefined;
|
|
272
|
-
readonly queries?: string[] | undefined;
|
|
273
|
-
} | undefined;
|
|
274
|
-
readonly allowedQueries?: string[] | undefined;
|
|
275
|
-
readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
|
|
276
|
-
readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
|
|
277
|
-
readonly labels?: {
|
|
278
|
-
[x: string]: string | undefined;
|
|
279
|
-
} | undefined;
|
|
280
|
-
readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
|
|
281
|
-
readonly paging?: {
|
|
282
|
-
[x: string]: {
|
|
283
|
-
size?: number | undefined;
|
|
284
|
-
};
|
|
285
|
-
} | undefined;
|
|
286
|
-
readonly retry?: {
|
|
287
|
-
backoff?: number | undefined;
|
|
288
|
-
interval?: number | undefined;
|
|
289
|
-
retries?: number | undefined;
|
|
290
|
-
} | undefined;
|
|
291
|
-
readonly security?: {
|
|
292
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
293
|
-
readonly allowed?: {
|
|
294
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
295
|
-
} | undefined;
|
|
296
|
-
readonly disallowed?: {
|
|
297
|
-
[x: string]: Lowercase<string>[];
|
|
298
|
-
} | undefined;
|
|
299
|
-
} | undefined;
|
|
300
|
-
readonly sign?: boolean | undefined;
|
|
301
|
-
readonly storeQueries?: boolean | undefined;
|
|
302
|
-
readonly timestamp?: boolean | undefined;
|
|
303
|
-
}>;
|
|
304
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
305
|
-
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
306
|
-
}, import("@xyo-network/module-model").ModuleEventData<object>>>>>>>;
|
|
307
|
-
addWitnesses(pluginSetResolver: PayloadSetPluginResolver, witnesses?: (() => Promise<AttachableWitnessInstance>)[]): Promise<void>;
|
|
308
|
-
attach(mod: AttachableModuleInstance, external?: boolean, safeAttach?: boolean): Promise<void>;
|
|
309
|
-
private witnessCleanup;
|
|
310
|
-
}
|
|
311
|
-
//# sourceMappingURL=MemoryNodeBuilder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MemoryNodeBuilder.d.ts","sourceRoot":"","sources":["../../../../src/lib/Builders/MemoryNodeBuilder.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAIjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAErD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAA;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,KAAK,EAAE,yBAAyB,EAAiB,MAAM,4BAA4B,CAAA;AAK1F,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB;AAED,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,KAAK,CAAwB;IAErC,IAAI,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DAEP;WAEY,MAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAWnH,4GAA4G;IACtG,YAAY,CAAC,OAAO,EAAE,eAAe,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM;IAI9E,kBAAkB,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe;IAOjE,mBAAmB,CAAC,OAAO,EAAE,eAAe,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM;IAOrF,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,SAAqB,EAAE,OAAO,CAAC,EAAE,eAAe;IAcvF,WAAW,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAM5D,YAAY,CAAC,iBAAiB,EAAE,wBAAwB,EAAE,SAAS,GAAE,CAAC,MAAM,OAAO,CAAC,yBAAyB,CAAC,CAAC,EAAO;IAkBtH,MAAM,CAAC,GAAG,EAAE,wBAAwB,EAAE,QAAQ,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,OAAO;YAgBtE,cAAc;CAQ7B"}
|