@xyo-network/react-standard-node 2.60.12 → 2.62.3
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/components/ActiveStandardNode.d.mts.map +1 -0
- package/dist/components/ActiveStandardNode.d.ts +7 -0
- package/dist/components/ActiveStandardNode.d.ts.map +1 -0
- package/dist/components/index.d.mts.map +1 -0
- package/dist/{esm/components/index.js → components/index.d.ts} +1 -1
- package/dist/components/index.d.ts.map +1 -0
- package/dist/contexts/StandardRemoteNodes/Context.d.mts.map +1 -0
- package/dist/contexts/StandardRemoteNodes/Context.d.ts +4 -0
- package/dist/contexts/StandardRemoteNodes/Context.d.ts.map +1 -0
- package/dist/contexts/StandardRemoteNodes/Providers.d.mts.map +1 -0
- package/dist/contexts/StandardRemoteNodes/Providers.d.ts +11 -0
- package/dist/contexts/StandardRemoteNodes/Providers.d.ts.map +1 -0
- package/dist/contexts/StandardRemoteNodes/State.d.mts.map +1 -0
- package/dist/contexts/StandardRemoteNodes/State.d.ts +7 -0
- package/dist/contexts/StandardRemoteNodes/State.d.ts.map +1 -0
- package/dist/contexts/StandardRemoteNodes/index.d.mts.map +1 -0
- package/dist/{esm/contexts/StandardRemoteNodes/index.js → contexts/StandardRemoteNodes/index.d.ts} +1 -1
- package/dist/contexts/StandardRemoteNodes/index.d.ts.map +1 -0
- package/dist/contexts/StandardRemoteNodes/use.d.mts.map +1 -0
- package/dist/contexts/StandardRemoteNodes/use.d.ts +2 -0
- package/dist/contexts/StandardRemoteNodes/use.d.ts.map +1 -0
- package/dist/contexts/index.d.mts.map +1 -0
- package/dist/{esm/contexts/index.js → contexts/index.d.ts} +1 -1
- package/dist/contexts/index.d.ts.map +1 -0
- package/dist/docs.json +580 -503
- package/dist/hooks/index.d.mts.map +1 -0
- package/dist/{esm/hooks/index.js → hooks/index.d.ts} +1 -1
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useActiveNodeAddress.d.mts.map +1 -0
- package/dist/hooks/useActiveNodeAddress.d.ts +2 -0
- package/dist/hooks/useActiveNodeAddress.d.ts.map +1 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/{esm/index.js → index.d.ts} +1 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +400 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +359 -0
- package/dist/index.mjs.map +1 -0
- package/dist/lib/Builders/MemoryNodeBuilder.d.mts +166 -0
- package/dist/lib/Builders/MemoryNodeBuilder.d.mts.map +1 -0
- package/dist/{types/lib → lib}/Builders/MemoryNodeBuilder.d.ts +22 -105
- package/dist/lib/Builders/MemoryNodeBuilder.d.ts.map +1 -0
- package/dist/lib/Builders/SentinelBuilder.d.mts +205 -0
- package/dist/lib/Builders/SentinelBuilder.d.mts.map +1 -0
- package/dist/lib/Builders/SentinelBuilder.d.ts +205 -0
- package/dist/lib/Builders/SentinelBuilder.d.ts.map +1 -0
- package/dist/lib/Builders/StorageArchivistBuilder.d.mts +221 -0
- package/dist/lib/Builders/StorageArchivistBuilder.d.mts.map +1 -0
- package/dist/{types/lib → lib}/Builders/StorageArchivistBuilder.d.ts +32 -36
- package/dist/lib/Builders/StorageArchivistBuilder.d.ts.map +1 -0
- package/dist/lib/Builders/index.d.mts.map +1 -0
- package/dist/{esm/lib/Builders/index.js → lib/Builders/index.d.ts} +1 -1
- package/dist/lib/Builders/index.d.ts.map +1 -0
- package/dist/lib/ModuleAccountPaths.d.mts.map +1 -0
- package/dist/lib/ModuleAccountPaths.d.ts +4 -0
- package/dist/lib/ModuleAccountPaths.d.ts.map +1 -0
- package/dist/lib/ModuleNames.d.mts.map +1 -0
- package/dist/lib/ModuleNames.d.ts +3 -0
- package/dist/lib/ModuleNames.d.ts.map +1 -0
- package/dist/lib/buildNodes.d.mts.map +1 -0
- package/dist/lib/buildNodes.d.ts +4 -0
- package/dist/lib/buildNodes.d.ts.map +1 -0
- package/dist/lib/index.d.mts.map +1 -0
- package/dist/{esm/lib/index.js → lib/index.d.ts} +1 -1
- package/dist/lib/index.d.ts.map +1 -0
- package/package.json +41 -33
- package/src/lib/Builders/SentinelBuilder.ts +2 -2
- package/dist/cjs/components/ActiveStandardNode.js +0 -45
- package/dist/cjs/components/ActiveStandardNode.js.map +0 -1
- package/dist/cjs/components/index.js +0 -5
- package/dist/cjs/components/index.js.map +0 -1
- package/dist/cjs/contexts/StandardRemoteNodes/Context.js +0 -6
- package/dist/cjs/contexts/StandardRemoteNodes/Context.js.map +0 -1
- package/dist/cjs/contexts/StandardRemoteNodes/Providers.js +0 -46
- package/dist/cjs/contexts/StandardRemoteNodes/Providers.js.map +0 -1
- package/dist/cjs/contexts/StandardRemoteNodes/State.js +0 -3
- package/dist/cjs/contexts/StandardRemoteNodes/State.js.map +0 -1
- package/dist/cjs/contexts/StandardRemoteNodes/index.js +0 -8
- package/dist/cjs/contexts/StandardRemoteNodes/index.js.map +0 -1
- package/dist/cjs/contexts/StandardRemoteNodes/use.js +0 -8
- package/dist/cjs/contexts/StandardRemoteNodes/use.js.map +0 -1
- package/dist/cjs/contexts/index.js +0 -5
- package/dist/cjs/contexts/index.js.map +0 -1
- package/dist/cjs/hooks/index.js +0 -5
- package/dist/cjs/hooks/index.js.map +0 -1
- package/dist/cjs/hooks/useActiveNodeAddress.js +0 -18
- package/dist/cjs/hooks/useActiveNodeAddress.js.map +0 -1
- package/dist/cjs/index.js +0 -8
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/lib/Builders/MemoryNodeBuilder.js +0 -113
- package/dist/cjs/lib/Builders/MemoryNodeBuilder.js.map +0 -1
- package/dist/cjs/lib/Builders/SentinelBuilder.js +0 -37
- package/dist/cjs/lib/Builders/SentinelBuilder.js.map +0 -1
- package/dist/cjs/lib/Builders/StorageArchivistBuilder.js +0 -63
- package/dist/cjs/lib/Builders/StorageArchivistBuilder.js.map +0 -1
- package/dist/cjs/lib/Builders/index.js +0 -7
- package/dist/cjs/lib/Builders/index.js.map +0 -1
- package/dist/cjs/lib/ModuleAccountPaths.js +0 -25
- package/dist/cjs/lib/ModuleAccountPaths.js.map +0 -1
- package/dist/cjs/lib/ModuleNames.js +0 -6
- package/dist/cjs/lib/ModuleNames.js.map +0 -1
- package/dist/cjs/lib/buildNodes.js +0 -45
- package/dist/cjs/lib/buildNodes.js.map +0 -1
- package/dist/cjs/lib/index.js +0 -8
- package/dist/cjs/lib/index.js.map +0 -1
- package/dist/esm/components/ActiveStandardNode.js +0 -39
- package/dist/esm/components/ActiveStandardNode.js.map +0 -1
- package/dist/esm/components/index.js.map +0 -1
- package/dist/esm/contexts/StandardRemoteNodes/Context.js +0 -3
- package/dist/esm/contexts/StandardRemoteNodes/Context.js.map +0 -1
- package/dist/esm/contexts/StandardRemoteNodes/Providers.js +0 -39
- package/dist/esm/contexts/StandardRemoteNodes/Providers.js.map +0 -1
- package/dist/esm/contexts/StandardRemoteNodes/State.js +0 -2
- package/dist/esm/contexts/StandardRemoteNodes/State.js.map +0 -1
- package/dist/esm/contexts/StandardRemoteNodes/index.js.map +0 -1
- package/dist/esm/contexts/StandardRemoteNodes/use.js +0 -4
- package/dist/esm/contexts/StandardRemoteNodes/use.js.map +0 -1
- package/dist/esm/contexts/index.js.map +0 -1
- package/dist/esm/hooks/index.js.map +0 -1
- package/dist/esm/hooks/useActiveNodeAddress.js +0 -14
- package/dist/esm/hooks/useActiveNodeAddress.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/lib/Builders/MemoryNodeBuilder.js +0 -89
- package/dist/esm/lib/Builders/MemoryNodeBuilder.js.map +0 -1
- package/dist/esm/lib/Builders/SentinelBuilder.js +0 -31
- package/dist/esm/lib/Builders/SentinelBuilder.js.map +0 -1
- package/dist/esm/lib/Builders/StorageArchivistBuilder.js +0 -55
- package/dist/esm/lib/Builders/StorageArchivistBuilder.js.map +0 -1
- package/dist/esm/lib/Builders/index.js.map +0 -1
- package/dist/esm/lib/ModuleAccountPaths.js +0 -22
- package/dist/esm/lib/ModuleAccountPaths.js.map +0 -1
- package/dist/esm/lib/ModuleNames.js +0 -3
- package/dist/esm/lib/ModuleNames.js.map +0 -1
- package/dist/esm/lib/buildNodes.js +0 -38
- package/dist/esm/lib/buildNodes.js.map +0 -1
- package/dist/esm/lib/index.js.map +0 -1
- package/dist/types/components/ActiveStandardNode.d.ts.map +0 -1
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/contexts/StandardRemoteNodes/Context.d.ts.map +0 -1
- package/dist/types/contexts/StandardRemoteNodes/Providers.d.ts.map +0 -1
- package/dist/types/contexts/StandardRemoteNodes/State.d.ts.map +0 -1
- package/dist/types/contexts/StandardRemoteNodes/index.d.ts.map +0 -1
- package/dist/types/contexts/StandardRemoteNodes/use.d.ts.map +0 -1
- package/dist/types/contexts/index.d.ts.map +0 -1
- package/dist/types/hooks/index.d.ts.map +0 -1
- package/dist/types/hooks/useActiveNodeAddress.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/lib/Builders/MemoryNodeBuilder.d.ts.map +0 -1
- package/dist/types/lib/Builders/SentinelBuilder.d.ts +0 -369
- package/dist/types/lib/Builders/SentinelBuilder.d.ts.map +0 -1
- package/dist/types/lib/Builders/StorageArchivistBuilder.d.ts.map +0 -1
- package/dist/types/lib/Builders/index.d.ts.map +0 -1
- package/dist/types/lib/ModuleAccountPaths.d.ts.map +0 -1
- package/dist/types/lib/ModuleNames.d.ts.map +0 -1
- package/dist/types/lib/buildNodes.d.ts.map +0 -1
- package/dist/types/lib/index.d.ts.map +0 -1
- /package/dist/{types/components/ActiveStandardNode.d.ts → components/ActiveStandardNode.d.mts} +0 -0
- /package/dist/{types/components/index.d.ts → components/index.d.mts} +0 -0
- /package/dist/{types/contexts/StandardRemoteNodes/Context.d.ts → contexts/StandardRemoteNodes/Context.d.mts} +0 -0
- /package/dist/{types/contexts/StandardRemoteNodes/Providers.d.ts → contexts/StandardRemoteNodes/Providers.d.mts} +0 -0
- /package/dist/{types/contexts/StandardRemoteNodes/State.d.ts → contexts/StandardRemoteNodes/State.d.mts} +0 -0
- /package/dist/{types/contexts/StandardRemoteNodes/index.d.ts → contexts/StandardRemoteNodes/index.d.mts} +0 -0
- /package/dist/{types/contexts/StandardRemoteNodes/use.d.ts → contexts/StandardRemoteNodes/use.d.mts} +0 -0
- /package/dist/{types/contexts/index.d.ts → contexts/index.d.mts} +0 -0
- /package/dist/{types/hooks/index.d.ts → hooks/index.d.mts} +0 -0
- /package/dist/{types/hooks/useActiveNodeAddress.d.ts → hooks/useActiveNodeAddress.d.mts} +0 -0
- /package/dist/{types/index.d.ts → index.d.mts} +0 -0
- /package/dist/{types/lib/Builders/index.d.ts → lib/Builders/index.d.mts} +0 -0
- /package/dist/{types/lib/ModuleAccountPaths.d.ts → lib/ModuleAccountPaths.d.mts} +0 -0
- /package/dist/{types/lib/ModuleNames.d.ts → lib/ModuleNames.d.mts} +0 -0
- /package/dist/{types/lib/buildNodes.d.ts → lib/buildNodes.d.mts} +0 -0
- /package/dist/{types/lib/index.d.ts → lib/index.d.mts} +0 -0
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { AccountInstance } from '@xyo-network/account-model';
|
|
2
|
+
import { MemorySentinel, SentinelConfig } from '@xyo-network/sentinel';
|
|
3
|
+
export declare class SentinelBuilder {
|
|
4
|
+
private config;
|
|
5
|
+
private account;
|
|
6
|
+
private _sentinel;
|
|
7
|
+
protected constructor(config: SentinelConfig, account: AccountInstance);
|
|
8
|
+
get sentinel(): MemorySentinel<import("@xyo-network/core").BaseParamsFields & {
|
|
9
|
+
account?: AccountInstance | "random" | undefined;
|
|
10
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
11
|
+
accountDerivationPath?: string | undefined;
|
|
12
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
13
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
14
|
+
readonly name?: string | undefined;
|
|
15
|
+
readonly paging?: Record<string, {
|
|
16
|
+
size?: number | undefined;
|
|
17
|
+
}> | undefined;
|
|
18
|
+
readonly security?: {
|
|
19
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
20
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
21
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
22
|
+
} | undefined;
|
|
23
|
+
readonly sign?: boolean | undefined;
|
|
24
|
+
readonly storeQueries?: boolean | undefined;
|
|
25
|
+
readonly timestamp?: boolean | undefined;
|
|
26
|
+
} & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
27
|
+
accountDerivationPath?: string | undefined;
|
|
28
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
29
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
30
|
+
readonly name?: string | undefined;
|
|
31
|
+
readonly paging?: Record<string, {
|
|
32
|
+
size?: number | undefined;
|
|
33
|
+
}> | undefined;
|
|
34
|
+
readonly security?: {
|
|
35
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
36
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
37
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
38
|
+
} | undefined;
|
|
39
|
+
readonly sign?: boolean | undefined;
|
|
40
|
+
readonly storeQueries?: boolean | undefined;
|
|
41
|
+
readonly timestamp?: boolean | undefined;
|
|
42
|
+
} & {
|
|
43
|
+
archivists?: string[] | undefined;
|
|
44
|
+
schema: string;
|
|
45
|
+
} & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
46
|
+
schema: "network.xyo.module.config";
|
|
47
|
+
}, "schema"> & {
|
|
48
|
+
schema: "network.xyo.module.config";
|
|
49
|
+
} & {
|
|
50
|
+
witnesses?: string[] | undefined;
|
|
51
|
+
}, "schema"> & {
|
|
52
|
+
schema: "network.xyo.sentinel.config";
|
|
53
|
+
};
|
|
54
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
55
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
56
|
+
}, import("@xyo-network/sentinel").SentinelModuleEventData<import("@xyo-network/sentinel").SentinelInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
57
|
+
account?: AccountInstance | "random" | undefined;
|
|
58
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
59
|
+
accountDerivationPath?: string | undefined;
|
|
60
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
61
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
62
|
+
readonly name?: string | undefined;
|
|
63
|
+
readonly paging?: Record<string, {
|
|
64
|
+
size?: number | undefined;
|
|
65
|
+
}> | undefined;
|
|
66
|
+
readonly security?: {
|
|
67
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
68
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
69
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
readonly sign?: boolean | undefined;
|
|
72
|
+
readonly storeQueries?: boolean | undefined;
|
|
73
|
+
readonly timestamp?: boolean | undefined;
|
|
74
|
+
} & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
75
|
+
accountDerivationPath?: string | undefined;
|
|
76
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
77
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
78
|
+
readonly name?: string | undefined;
|
|
79
|
+
readonly paging?: Record<string, {
|
|
80
|
+
size?: number | undefined;
|
|
81
|
+
}> | undefined;
|
|
82
|
+
readonly security?: {
|
|
83
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
84
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
85
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
86
|
+
} | undefined;
|
|
87
|
+
readonly sign?: boolean | undefined;
|
|
88
|
+
readonly storeQueries?: boolean | undefined;
|
|
89
|
+
readonly timestamp?: boolean | undefined;
|
|
90
|
+
} & {
|
|
91
|
+
archivists?: string[] | undefined;
|
|
92
|
+
schema: string;
|
|
93
|
+
} & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
94
|
+
schema: "network.xyo.module.config";
|
|
95
|
+
}, "schema"> & {
|
|
96
|
+
schema: "network.xyo.module.config";
|
|
97
|
+
} & {
|
|
98
|
+
witnesses?: string[] | undefined;
|
|
99
|
+
}, "schema"> & {
|
|
100
|
+
schema: "network.xyo.sentinel.config";
|
|
101
|
+
};
|
|
102
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
103
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
104
|
+
}>>>;
|
|
105
|
+
static create(config: SentinelConfig, account: AccountInstance): Promise<SentinelBuilder>;
|
|
106
|
+
buildSentinel(): Promise<MemorySentinel<import("@xyo-network/core").BaseParamsFields & {
|
|
107
|
+
account?: AccountInstance | "random" | undefined;
|
|
108
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
109
|
+
accountDerivationPath?: string | undefined;
|
|
110
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
111
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
112
|
+
readonly name?: string | undefined;
|
|
113
|
+
readonly paging?: Record<string, {
|
|
114
|
+
size?: number | undefined;
|
|
115
|
+
}> | undefined;
|
|
116
|
+
readonly security?: {
|
|
117
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
118
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
119
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
readonly sign?: boolean | undefined;
|
|
122
|
+
readonly storeQueries?: boolean | undefined;
|
|
123
|
+
readonly timestamp?: boolean | undefined;
|
|
124
|
+
} & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
125
|
+
accountDerivationPath?: string | undefined;
|
|
126
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
127
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
128
|
+
readonly name?: string | undefined;
|
|
129
|
+
readonly paging?: Record<string, {
|
|
130
|
+
size?: number | undefined;
|
|
131
|
+
}> | undefined;
|
|
132
|
+
readonly security?: {
|
|
133
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
134
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
135
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
136
|
+
} | undefined;
|
|
137
|
+
readonly sign?: boolean | undefined;
|
|
138
|
+
readonly storeQueries?: boolean | undefined;
|
|
139
|
+
readonly timestamp?: boolean | undefined;
|
|
140
|
+
} & {
|
|
141
|
+
archivists?: string[] | undefined;
|
|
142
|
+
schema: string;
|
|
143
|
+
} & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
144
|
+
schema: "network.xyo.module.config";
|
|
145
|
+
}, "schema"> & {
|
|
146
|
+
schema: "network.xyo.module.config";
|
|
147
|
+
} & {
|
|
148
|
+
witnesses?: string[] | undefined;
|
|
149
|
+
}, "schema"> & {
|
|
150
|
+
schema: "network.xyo.sentinel.config";
|
|
151
|
+
};
|
|
152
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
153
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
154
|
+
}, import("@xyo-network/sentinel").SentinelModuleEventData<import("@xyo-network/sentinel").SentinelInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
155
|
+
account?: AccountInstance | "random" | undefined;
|
|
156
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
157
|
+
accountDerivationPath?: string | undefined;
|
|
158
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
159
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
160
|
+
readonly name?: string | undefined;
|
|
161
|
+
readonly paging?: Record<string, {
|
|
162
|
+
size?: number | undefined;
|
|
163
|
+
}> | undefined;
|
|
164
|
+
readonly security?: {
|
|
165
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
166
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
167
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
168
|
+
} | undefined;
|
|
169
|
+
readonly sign?: boolean | undefined;
|
|
170
|
+
readonly storeQueries?: boolean | undefined;
|
|
171
|
+
readonly timestamp?: boolean | undefined;
|
|
172
|
+
} & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
173
|
+
accountDerivationPath?: string | undefined;
|
|
174
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
175
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
176
|
+
readonly name?: string | undefined;
|
|
177
|
+
readonly paging?: Record<string, {
|
|
178
|
+
size?: number | undefined;
|
|
179
|
+
}> | undefined;
|
|
180
|
+
readonly security?: {
|
|
181
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
182
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
183
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
184
|
+
} | undefined;
|
|
185
|
+
readonly sign?: boolean | undefined;
|
|
186
|
+
readonly storeQueries?: boolean | undefined;
|
|
187
|
+
readonly timestamp?: boolean | undefined;
|
|
188
|
+
} & {
|
|
189
|
+
archivists?: string[] | undefined;
|
|
190
|
+
schema: string;
|
|
191
|
+
} & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
192
|
+
schema: "network.xyo.module.config";
|
|
193
|
+
}, "schema"> & {
|
|
194
|
+
schema: "network.xyo.module.config";
|
|
195
|
+
} & {
|
|
196
|
+
witnesses?: string[] | undefined;
|
|
197
|
+
}, "schema"> & {
|
|
198
|
+
schema: "network.xyo.sentinel.config";
|
|
199
|
+
};
|
|
200
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
201
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
202
|
+
}>>>>;
|
|
203
|
+
private buildParams;
|
|
204
|
+
}
|
|
205
|
+
//# sourceMappingURL=SentinelBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SentinelBuilder.d.ts","sourceRoot":"","sources":["../../../src/lib/Builders/SentinelBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,cAAc,EAAwB,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAE5F,qBAAa,eAAe;IAIxB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IAJjB,OAAO,CAAC,SAAS,CAA4B;IAE7C,SAAS,aACC,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,eAAe;IAKlC,IAAI,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAEX;WAEY,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;IAMzF,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKnB,OAAO,CAAC,WAAW;CAMpB"}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { AccountInstance } from '@xyo-network/account-model';
|
|
2
|
+
import { StorageArchivist, StorageArchivistConfig } from '@xyo-network/archivist';
|
|
3
|
+
import { MemoryNode } from '@xyo-network/node-memory';
|
|
4
|
+
export interface ArchivistBuilderConfig {
|
|
5
|
+
name?: string;
|
|
6
|
+
namespace?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class StorageArchivistBuilder {
|
|
9
|
+
private config;
|
|
10
|
+
private account;
|
|
11
|
+
private node?;
|
|
12
|
+
private _archivist;
|
|
13
|
+
private remoteArchivist;
|
|
14
|
+
protected constructor(config: ArchivistBuilderConfig, account: AccountInstance, node?: MemoryNode<import("@xyo-network/core").BaseParamsFields & {
|
|
15
|
+
account?: AccountInstance | "random" | undefined;
|
|
16
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
17
|
+
accountDerivationPath?: string | undefined;
|
|
18
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
19
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
20
|
+
readonly name?: string | undefined;
|
|
21
|
+
readonly paging?: Record<string, {
|
|
22
|
+
size?: number | undefined;
|
|
23
|
+
}> | undefined;
|
|
24
|
+
readonly security?: {
|
|
25
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
26
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
27
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
readonly sign?: boolean | undefined;
|
|
30
|
+
readonly storeQueries?: boolean | undefined;
|
|
31
|
+
readonly timestamp?: boolean | undefined;
|
|
32
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
33
|
+
accountDerivationPath?: string | undefined;
|
|
34
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
35
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
36
|
+
readonly name?: string | undefined;
|
|
37
|
+
readonly paging?: Record<string, {
|
|
38
|
+
size?: number | undefined;
|
|
39
|
+
}> | undefined;
|
|
40
|
+
readonly security?: {
|
|
41
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
42
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
43
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
readonly sign?: boolean | undefined;
|
|
46
|
+
readonly storeQueries?: boolean | undefined;
|
|
47
|
+
readonly timestamp?: boolean | undefined;
|
|
48
|
+
} & {
|
|
49
|
+
archivist?: string | undefined;
|
|
50
|
+
} & {
|
|
51
|
+
schema: "network.xyo.node.config";
|
|
52
|
+
}, "schema"> & {
|
|
53
|
+
schema: string;
|
|
54
|
+
}, "schema"> & {
|
|
55
|
+
schema: string;
|
|
56
|
+
};
|
|
57
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
58
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
59
|
+
}, import("@xyo-network/node-model").NodeModuleEventData> | undefined);
|
|
60
|
+
get archivist(): StorageArchivist<import("@xyo-network/core").BaseParamsFields & {
|
|
61
|
+
account?: AccountInstance | "random" | undefined;
|
|
62
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
63
|
+
accountDerivationPath?: string | undefined;
|
|
64
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
65
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
66
|
+
readonly name?: string | undefined;
|
|
67
|
+
readonly paging?: Record<string, {
|
|
68
|
+
size?: number | undefined;
|
|
69
|
+
}> | undefined;
|
|
70
|
+
readonly security?: {
|
|
71
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
72
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
73
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
readonly sign?: boolean | undefined;
|
|
76
|
+
readonly storeQueries?: boolean | undefined;
|
|
77
|
+
readonly timestamp?: boolean | undefined;
|
|
78
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
79
|
+
accountDerivationPath?: string | undefined;
|
|
80
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
81
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
82
|
+
readonly name?: string | undefined;
|
|
83
|
+
readonly paging?: Record<string, {
|
|
84
|
+
size?: number | undefined;
|
|
85
|
+
}> | undefined;
|
|
86
|
+
readonly security?: {
|
|
87
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
88
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
89
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
readonly sign?: boolean | undefined;
|
|
92
|
+
readonly storeQueries?: boolean | undefined;
|
|
93
|
+
readonly timestamp?: boolean | undefined;
|
|
94
|
+
} & {
|
|
95
|
+
maxEntries?: number | undefined;
|
|
96
|
+
maxEntrySize?: number | undefined;
|
|
97
|
+
namespace?: string | undefined;
|
|
98
|
+
persistAccount?: boolean | undefined;
|
|
99
|
+
schema: "network.xyo.archivist.storage.config";
|
|
100
|
+
type?: "local" | "session" | "page" | undefined;
|
|
101
|
+
} & {
|
|
102
|
+
parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
|
|
103
|
+
requireAllParents?: boolean | undefined;
|
|
104
|
+
storeParentReads?: boolean | undefined;
|
|
105
|
+
}, "schema"> & {
|
|
106
|
+
schema: "network.xyo.archivist.storage.config";
|
|
107
|
+
}, "schema"> & {
|
|
108
|
+
schema: string;
|
|
109
|
+
}, "schema"> & {
|
|
110
|
+
schema: string;
|
|
111
|
+
};
|
|
112
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
113
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
114
|
+
}, import("@xyo-network/archivist").ArchivistModuleEventData>;
|
|
115
|
+
static create(config: ArchivistBuilderConfig, account: AccountInstance, node: MemoryNode): Promise<StorageArchivistBuilder>;
|
|
116
|
+
buildArchivist(): Promise<StorageArchivist<import("@xyo-network/core").BaseParamsFields & {
|
|
117
|
+
account?: AccountInstance | "random" | undefined;
|
|
118
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
119
|
+
accountDerivationPath?: string | undefined;
|
|
120
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
121
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
122
|
+
readonly name?: string | undefined;
|
|
123
|
+
readonly paging?: Record<string, {
|
|
124
|
+
size?: number | undefined;
|
|
125
|
+
}> | undefined;
|
|
126
|
+
readonly security?: {
|
|
127
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
128
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
129
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
130
|
+
} | undefined;
|
|
131
|
+
readonly sign?: boolean | undefined;
|
|
132
|
+
readonly storeQueries?: boolean | undefined;
|
|
133
|
+
readonly timestamp?: boolean | undefined;
|
|
134
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
135
|
+
accountDerivationPath?: string | undefined;
|
|
136
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
137
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
138
|
+
readonly name?: string | undefined;
|
|
139
|
+
readonly paging?: Record<string, {
|
|
140
|
+
size?: number | undefined;
|
|
141
|
+
}> | undefined;
|
|
142
|
+
readonly security?: {
|
|
143
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
144
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
145
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
146
|
+
} | undefined;
|
|
147
|
+
readonly sign?: boolean | undefined;
|
|
148
|
+
readonly storeQueries?: boolean | undefined;
|
|
149
|
+
readonly timestamp?: boolean | undefined;
|
|
150
|
+
} & {
|
|
151
|
+
maxEntries?: number | undefined;
|
|
152
|
+
maxEntrySize?: number | undefined;
|
|
153
|
+
namespace?: string | undefined;
|
|
154
|
+
persistAccount?: boolean | undefined;
|
|
155
|
+
schema: "network.xyo.archivist.storage.config";
|
|
156
|
+
type?: "local" | "session" | "page" | undefined;
|
|
157
|
+
} & {
|
|
158
|
+
parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
|
|
159
|
+
requireAllParents?: boolean | undefined;
|
|
160
|
+
storeParentReads?: boolean | undefined;
|
|
161
|
+
}, "schema"> & {
|
|
162
|
+
schema: "network.xyo.archivist.storage.config";
|
|
163
|
+
}, "schema"> & {
|
|
164
|
+
schema: string;
|
|
165
|
+
}, "schema"> & {
|
|
166
|
+
schema: string;
|
|
167
|
+
};
|
|
168
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
169
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
170
|
+
}, import("@xyo-network/archivist").ArchivistModuleEventData>>;
|
|
171
|
+
buildConfig(): StorageArchivistConfig;
|
|
172
|
+
findParentArchivist(): Promise<import("@xyo-network/archivist").ArchivistInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
173
|
+
account?: AccountInstance | "random" | undefined;
|
|
174
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
175
|
+
accountDerivationPath?: string | undefined;
|
|
176
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
177
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
178
|
+
readonly name?: string | undefined;
|
|
179
|
+
readonly paging?: Record<string, {
|
|
180
|
+
size?: number | undefined;
|
|
181
|
+
}> | undefined;
|
|
182
|
+
readonly security?: {
|
|
183
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
184
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
185
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
186
|
+
} | undefined;
|
|
187
|
+
readonly sign?: boolean | undefined;
|
|
188
|
+
readonly storeQueries?: boolean | undefined;
|
|
189
|
+
readonly timestamp?: boolean | undefined;
|
|
190
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
191
|
+
accountDerivationPath?: string | undefined;
|
|
192
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
193
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
194
|
+
readonly name?: string | undefined;
|
|
195
|
+
readonly paging?: Record<string, {
|
|
196
|
+
size?: number | undefined;
|
|
197
|
+
}> | undefined;
|
|
198
|
+
readonly security?: {
|
|
199
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
200
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
201
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
202
|
+
} | undefined;
|
|
203
|
+
readonly sign?: boolean | undefined;
|
|
204
|
+
readonly storeQueries?: boolean | undefined;
|
|
205
|
+
readonly timestamp?: boolean | undefined;
|
|
206
|
+
} & {
|
|
207
|
+
parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
|
|
208
|
+
requireAllParents?: boolean | undefined;
|
|
209
|
+
storeParentReads?: boolean | undefined;
|
|
210
|
+
} & {
|
|
211
|
+
schema: "network.xyo.archivist.config";
|
|
212
|
+
}, "schema"> & {
|
|
213
|
+
schema: string;
|
|
214
|
+
}, "schema"> & {
|
|
215
|
+
schema: string;
|
|
216
|
+
};
|
|
217
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
218
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
219
|
+
}, import("@xyo-network/archivist").ArchivistModuleEventData> | undefined>;
|
|
220
|
+
}
|
|
221
|
+
//# sourceMappingURL=StorageArchivistBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorageArchivistBuilder.d.ts","sourceRoot":"","sources":["../../../src/lib/Builders/StorageArchivistBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAwC,gBAAgB,EAAE,sBAAsB,EAAgC,MAAM,wBAAwB,CAAA;AACrJ,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAIrD,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AACD,qBAAa,uBAAuB;IAKhC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,IAAI,CAAC;IANf,OAAO,CAAC,UAAU,CAA8B;IAChD,OAAO,CAAC,eAAe,CAA6B;IAEpD,SAAS,aACC,MAAM,EAAE,sBAAsB,EAC9B,OAAO,EAAE,eAAe,EACxB,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yEAAY;IAG3B,IAAI,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAEZ;WAEY,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAO3H,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKpB,WAAW,IAAI,sBAAsB;IAc/B,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY1B"}
|
|
@@ -13,14 +13,14 @@ export declare class StorageArchivistBuilder {
|
|
|
13
13
|
private remoteArchivist;
|
|
14
14
|
protected constructor(config: ArchivistBuilderConfig, account: AccountInstance, node?: MemoryNode<import("@xyo-network/core").BaseParamsFields & {
|
|
15
15
|
account?: AccountInstance | "random" | undefined;
|
|
16
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
16
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
17
17
|
accountDerivationPath?: string | undefined;
|
|
18
18
|
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
19
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
19
20
|
readonly name?: string | undefined;
|
|
20
21
|
readonly paging?: Record<string, {
|
|
21
22
|
size?: number | undefined;
|
|
22
23
|
}> | undefined;
|
|
23
|
-
readonly schema: string;
|
|
24
24
|
readonly security?: {
|
|
25
25
|
readonly allowAnonymous?: boolean | undefined;
|
|
26
26
|
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
@@ -29,14 +29,14 @@ export declare class StorageArchivistBuilder {
|
|
|
29
29
|
readonly sign?: boolean | undefined;
|
|
30
30
|
readonly storeQueries?: boolean | undefined;
|
|
31
31
|
readonly timestamp?: boolean | undefined;
|
|
32
|
-
} & Omit<
|
|
32
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
33
33
|
accountDerivationPath?: string | undefined;
|
|
34
34
|
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
35
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
35
36
|
readonly name?: string | undefined;
|
|
36
37
|
readonly paging?: Record<string, {
|
|
37
38
|
size?: number | undefined;
|
|
38
39
|
}> | undefined;
|
|
39
|
-
readonly schema: "network.xyo.node.config";
|
|
40
40
|
readonly security?: {
|
|
41
41
|
readonly allowAnonymous?: boolean | undefined;
|
|
42
42
|
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
@@ -45,10 +45,9 @@ export declare class StorageArchivistBuilder {
|
|
|
45
45
|
readonly sign?: boolean | undefined;
|
|
46
46
|
readonly storeQueries?: boolean | undefined;
|
|
47
47
|
readonly timestamp?: boolean | undefined;
|
|
48
|
-
} &
|
|
48
|
+
} & {
|
|
49
49
|
archivist?: string | undefined;
|
|
50
|
-
|
|
51
|
-
} & Omit<undefined, "schema">, "schema"> & {
|
|
50
|
+
} & {
|
|
52
51
|
schema: "network.xyo.node.config";
|
|
53
52
|
}, "schema"> & {
|
|
54
53
|
schema: string;
|
|
@@ -60,14 +59,14 @@ export declare class StorageArchivistBuilder {
|
|
|
60
59
|
}, import("@xyo-network/node-model").NodeModuleEventData> | undefined);
|
|
61
60
|
get archivist(): StorageArchivist<import("@xyo-network/core").BaseParamsFields & {
|
|
62
61
|
account?: AccountInstance | "random" | undefined;
|
|
63
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
62
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
64
63
|
accountDerivationPath?: string | undefined;
|
|
65
64
|
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
65
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
66
66
|
readonly name?: string | undefined;
|
|
67
67
|
readonly paging?: Record<string, {
|
|
68
68
|
size?: number | undefined;
|
|
69
69
|
}> | undefined;
|
|
70
|
-
readonly schema: string;
|
|
71
70
|
readonly security?: {
|
|
72
71
|
readonly allowAnonymous?: boolean | undefined;
|
|
73
72
|
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
@@ -76,14 +75,14 @@ export declare class StorageArchivistBuilder {
|
|
|
76
75
|
readonly sign?: boolean | undefined;
|
|
77
76
|
readonly storeQueries?: boolean | undefined;
|
|
78
77
|
readonly timestamp?: boolean | undefined;
|
|
79
|
-
} & Omit<
|
|
78
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
80
79
|
accountDerivationPath?: string | undefined;
|
|
81
80
|
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
81
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
82
82
|
readonly name?: string | undefined;
|
|
83
83
|
readonly paging?: Record<string, {
|
|
84
84
|
size?: number | undefined;
|
|
85
85
|
}> | undefined;
|
|
86
|
-
readonly schema: "network.xyo.archivist.storage.config";
|
|
87
86
|
readonly security?: {
|
|
88
87
|
readonly allowAnonymous?: boolean | undefined;
|
|
89
88
|
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
@@ -92,19 +91,18 @@ export declare class StorageArchivistBuilder {
|
|
|
92
91
|
readonly sign?: boolean | undefined;
|
|
93
92
|
readonly storeQueries?: boolean | undefined;
|
|
94
93
|
readonly timestamp?: boolean | undefined;
|
|
95
|
-
} &
|
|
96
|
-
parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
|
|
97
|
-
requireAllParents?: boolean | undefined;
|
|
98
|
-
schema: "network.xyo.archivist.storage.config";
|
|
99
|
-
storeParentReads?: boolean | undefined;
|
|
100
|
-
} & Omit<{
|
|
94
|
+
} & {
|
|
101
95
|
maxEntries?: number | undefined;
|
|
102
96
|
maxEntrySize?: number | undefined;
|
|
103
97
|
namespace?: string | undefined;
|
|
104
98
|
persistAccount?: boolean | undefined;
|
|
105
99
|
schema: "network.xyo.archivist.storage.config";
|
|
106
100
|
type?: "local" | "session" | "page" | undefined;
|
|
107
|
-
}
|
|
101
|
+
} & {
|
|
102
|
+
parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
|
|
103
|
+
requireAllParents?: boolean | undefined;
|
|
104
|
+
storeParentReads?: boolean | undefined;
|
|
105
|
+
}, "schema"> & {
|
|
108
106
|
schema: "network.xyo.archivist.storage.config";
|
|
109
107
|
}, "schema"> & {
|
|
110
108
|
schema: string;
|
|
@@ -117,14 +115,14 @@ export declare class StorageArchivistBuilder {
|
|
|
117
115
|
static create(config: ArchivistBuilderConfig, account: AccountInstance, node: MemoryNode): Promise<StorageArchivistBuilder>;
|
|
118
116
|
buildArchivist(): Promise<StorageArchivist<import("@xyo-network/core").BaseParamsFields & {
|
|
119
117
|
account?: AccountInstance | "random" | undefined;
|
|
120
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
118
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
121
119
|
accountDerivationPath?: string | undefined;
|
|
122
120
|
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
121
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
123
122
|
readonly name?: string | undefined;
|
|
124
123
|
readonly paging?: Record<string, {
|
|
125
124
|
size?: number | undefined;
|
|
126
125
|
}> | undefined;
|
|
127
|
-
readonly schema: string;
|
|
128
126
|
readonly security?: {
|
|
129
127
|
readonly allowAnonymous?: boolean | undefined;
|
|
130
128
|
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
@@ -133,14 +131,14 @@ export declare class StorageArchivistBuilder {
|
|
|
133
131
|
readonly sign?: boolean | undefined;
|
|
134
132
|
readonly storeQueries?: boolean | undefined;
|
|
135
133
|
readonly timestamp?: boolean | undefined;
|
|
136
|
-
} & Omit<
|
|
134
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
137
135
|
accountDerivationPath?: string | undefined;
|
|
138
136
|
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
137
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
139
138
|
readonly name?: string | undefined;
|
|
140
139
|
readonly paging?: Record<string, {
|
|
141
140
|
size?: number | undefined;
|
|
142
141
|
}> | undefined;
|
|
143
|
-
readonly schema: "network.xyo.archivist.storage.config";
|
|
144
142
|
readonly security?: {
|
|
145
143
|
readonly allowAnonymous?: boolean | undefined;
|
|
146
144
|
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
@@ -149,19 +147,18 @@ export declare class StorageArchivistBuilder {
|
|
|
149
147
|
readonly sign?: boolean | undefined;
|
|
150
148
|
readonly storeQueries?: boolean | undefined;
|
|
151
149
|
readonly timestamp?: boolean | undefined;
|
|
152
|
-
} &
|
|
153
|
-
parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
|
|
154
|
-
requireAllParents?: boolean | undefined;
|
|
155
|
-
schema: "network.xyo.archivist.storage.config";
|
|
156
|
-
storeParentReads?: boolean | undefined;
|
|
157
|
-
} & Omit<{
|
|
150
|
+
} & {
|
|
158
151
|
maxEntries?: number | undefined;
|
|
159
152
|
maxEntrySize?: number | undefined;
|
|
160
153
|
namespace?: string | undefined;
|
|
161
154
|
persistAccount?: boolean | undefined;
|
|
162
155
|
schema: "network.xyo.archivist.storage.config";
|
|
163
156
|
type?: "local" | "session" | "page" | undefined;
|
|
164
|
-
}
|
|
157
|
+
} & {
|
|
158
|
+
parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
|
|
159
|
+
requireAllParents?: boolean | undefined;
|
|
160
|
+
storeParentReads?: boolean | undefined;
|
|
161
|
+
}, "schema"> & {
|
|
165
162
|
schema: "network.xyo.archivist.storage.config";
|
|
166
163
|
}, "schema"> & {
|
|
167
164
|
schema: string;
|
|
@@ -174,14 +171,14 @@ export declare class StorageArchivistBuilder {
|
|
|
174
171
|
buildConfig(): StorageArchivistConfig;
|
|
175
172
|
findParentArchivist(): Promise<import("@xyo-network/archivist").ArchivistInstance<import("@xyo-network/core").BaseParamsFields & {
|
|
176
173
|
account?: AccountInstance | "random" | undefined;
|
|
177
|
-
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
174
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
178
175
|
accountDerivationPath?: string | undefined;
|
|
179
176
|
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
177
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
180
178
|
readonly name?: string | undefined;
|
|
181
179
|
readonly paging?: Record<string, {
|
|
182
180
|
size?: number | undefined;
|
|
183
181
|
}> | undefined;
|
|
184
|
-
readonly schema: string;
|
|
185
182
|
readonly security?: {
|
|
186
183
|
readonly allowAnonymous?: boolean | undefined;
|
|
187
184
|
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
@@ -190,14 +187,14 @@ export declare class StorageArchivistBuilder {
|
|
|
190
187
|
readonly sign?: boolean | undefined;
|
|
191
188
|
readonly storeQueries?: boolean | undefined;
|
|
192
189
|
readonly timestamp?: boolean | undefined;
|
|
193
|
-
} & Omit<
|
|
190
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
194
191
|
accountDerivationPath?: string | undefined;
|
|
195
192
|
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
193
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
196
194
|
readonly name?: string | undefined;
|
|
197
195
|
readonly paging?: Record<string, {
|
|
198
196
|
size?: number | undefined;
|
|
199
197
|
}> | undefined;
|
|
200
|
-
readonly schema: "network.xyo.archivist.config";
|
|
201
198
|
readonly security?: {
|
|
202
199
|
readonly allowAnonymous?: boolean | undefined;
|
|
203
200
|
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
@@ -206,12 +203,11 @@ export declare class StorageArchivistBuilder {
|
|
|
206
203
|
readonly sign?: boolean | undefined;
|
|
207
204
|
readonly storeQueries?: boolean | undefined;
|
|
208
205
|
readonly timestamp?: boolean | undefined;
|
|
209
|
-
} &
|
|
206
|
+
} & {
|
|
210
207
|
parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
|
|
211
208
|
requireAllParents?: boolean | undefined;
|
|
212
|
-
schema: "network.xyo.archivist.config";
|
|
213
209
|
storeParentReads?: boolean | undefined;
|
|
214
|
-
} &
|
|
210
|
+
} & {
|
|
215
211
|
schema: "network.xyo.archivist.config";
|
|
216
212
|
}, "schema"> & {
|
|
217
213
|
schema: string;
|