@xyo-network/witness-model 2.87.0-rc.7 → 2.87.1
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/CustomInstance.d.cts +2 -2
- package/dist/browser/CustomInstance.d.cts.map +1 -1
- package/dist/browser/CustomInstance.d.mts +2 -2
- package/dist/browser/CustomInstance.d.mts.map +1 -1
- package/dist/browser/CustomInstance.d.ts +2 -2
- package/dist/browser/CustomInstance.d.ts.map +1 -1
- package/dist/browser/Instance.d.cts +4 -2
- package/dist/browser/Instance.d.cts.map +1 -1
- package/dist/browser/Instance.d.mts +4 -2
- package/dist/browser/Instance.d.mts.map +1 -1
- package/dist/browser/Instance.d.ts +4 -2
- package/dist/browser/Instance.d.ts.map +1 -1
- package/dist/browser/Module.d.cts +2 -1
- package/dist/browser/Module.d.cts.map +1 -1
- package/dist/browser/Module.d.mts +2 -1
- package/dist/browser/Module.d.mts.map +1 -1
- package/dist/browser/Module.d.ts +2 -1
- package/dist/browser/Module.d.ts.map +1 -1
- package/dist/browser/{Witness.d.cts → QueryFunctions.d.cts} +2 -2
- package/dist/browser/QueryFunctions.d.cts.map +1 -0
- package/dist/browser/{Witness.d.ts → QueryFunctions.d.mts} +2 -2
- package/dist/browser/QueryFunctions.d.mts.map +1 -0
- package/dist/browser/{Witness.d.mts → QueryFunctions.d.ts} +2 -2
- package/dist/browser/QueryFunctions.d.ts.map +1 -0
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +1 -1
- package/dist/browser/index.d.cts.map +1 -1
- package/dist/browser/index.d.mts +1 -1
- package/dist/browser/index.d.mts.map +1 -1
- package/dist/browser/index.d.ts +1 -1
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/typeChecks.d.cts +360 -8
- package/dist/browser/typeChecks.d.cts.map +1 -1
- package/dist/browser/typeChecks.d.mts +360 -8
- package/dist/browser/typeChecks.d.mts.map +1 -1
- package/dist/browser/typeChecks.d.ts +360 -8
- package/dist/browser/typeChecks.d.ts.map +1 -1
- package/dist/node/CustomInstance.d.cts +2 -2
- package/dist/node/CustomInstance.d.cts.map +1 -1
- package/dist/node/CustomInstance.d.mts +2 -2
- package/dist/node/CustomInstance.d.mts.map +1 -1
- package/dist/node/CustomInstance.d.ts +2 -2
- package/dist/node/CustomInstance.d.ts.map +1 -1
- package/dist/node/Instance.d.cts +4 -2
- package/dist/node/Instance.d.cts.map +1 -1
- package/dist/node/Instance.d.mts +4 -2
- package/dist/node/Instance.d.mts.map +1 -1
- package/dist/node/Instance.d.ts +4 -2
- package/dist/node/Instance.d.ts.map +1 -1
- package/dist/node/Module.d.cts +2 -1
- package/dist/node/Module.d.cts.map +1 -1
- package/dist/node/Module.d.mts +2 -1
- package/dist/node/Module.d.mts.map +1 -1
- package/dist/node/Module.d.ts +2 -1
- package/dist/node/Module.d.ts.map +1 -1
- package/dist/node/{Witness.d.cts → QueryFunctions.d.cts} +2 -2
- package/dist/node/QueryFunctions.d.cts.map +1 -0
- package/dist/node/QueryFunctions.d.mts +6 -0
- package/dist/node/QueryFunctions.d.mts.map +1 -0
- package/dist/node/QueryFunctions.d.ts +6 -0
- package/dist/node/QueryFunctions.d.ts.map +1 -0
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +1 -1
- package/dist/node/index.d.cts.map +1 -1
- package/dist/node/index.d.mts +1 -1
- package/dist/node/index.d.mts.map +1 -1
- package/dist/node/index.d.ts +1 -1
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/typeChecks.d.cts +360 -8
- package/dist/node/typeChecks.d.cts.map +1 -1
- package/dist/node/typeChecks.d.mts +360 -8
- package/dist/node/typeChecks.d.mts.map +1 -1
- package/dist/node/typeChecks.d.ts +360 -8
- package/dist/node/typeChecks.d.ts.map +1 -1
- package/package.json +8 -9
- package/src/CustomInstance.ts +2 -2
- package/src/Instance.ts +6 -6
- package/src/Module.ts +2 -4
- package/src/{Witness.ts → QueryFunctions.ts} +1 -1
- package/src/index.ts +1 -1
- package/dist/browser/Witness.d.cts.map +0 -1
- package/dist/browser/Witness.d.mts.map +0 -1
- package/dist/browser/Witness.d.ts.map +0 -1
- package/dist/node/Witness.d.cts.map +0 -1
- package/dist/node/Witness.d.mts +0 -6
- package/dist/node/Witness.d.mts.map +0 -1
- package/dist/node/Witness.d.ts +0 -6
- package/dist/node/Witness.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA"}
|
package/dist/node/index.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA"}
|
package/dist/node/index.d.ts
CHANGED
package/dist/node/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,cAAc,CAAA"}
|
|
@@ -1,15 +1,367 @@
|
|
|
1
1
|
import { WitnessInstance } from './Instance';
|
|
2
2
|
import { WitnessModule } from './Module';
|
|
3
|
-
export declare const isWitnessInstance: import("@xyo-network/object").TypeCheck<WitnessInstance
|
|
4
|
-
|
|
3
|
+
export declare const isWitnessInstance: import("@xyo-network/object").TypeCheck<WitnessInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
4
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
5
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
6
|
+
readonly archivist?: string | undefined;
|
|
7
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
8
|
+
readonly name?: string | undefined;
|
|
9
|
+
readonly paging?: Record<string, {
|
|
10
|
+
size?: number | undefined;
|
|
11
|
+
}> | undefined;
|
|
12
|
+
schema: "network.xyo.witness.config";
|
|
13
|
+
readonly security?: {
|
|
14
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
15
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
16
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
readonly sign?: boolean | undefined;
|
|
19
|
+
readonly storeQueries?: boolean | undefined;
|
|
20
|
+
readonly timestamp?: boolean | undefined;
|
|
21
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
22
|
+
readonly archivist?: string | undefined;
|
|
23
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
24
|
+
readonly name?: string | undefined;
|
|
25
|
+
readonly paging?: Record<string, {
|
|
26
|
+
size?: number | undefined;
|
|
27
|
+
}> | undefined;
|
|
28
|
+
schema: "network.xyo.witness.config";
|
|
29
|
+
readonly security?: {
|
|
30
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
31
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
32
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
33
|
+
} | undefined;
|
|
34
|
+
readonly sign?: boolean | undefined;
|
|
35
|
+
readonly storeQueries?: boolean | undefined;
|
|
36
|
+
readonly timestamp?: boolean | undefined;
|
|
37
|
+
} & {
|
|
38
|
+
schema: "network.xyo.witness.config";
|
|
39
|
+
}, "schema"> & {
|
|
40
|
+
schema: string;
|
|
41
|
+
};
|
|
42
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
43
|
+
}, {
|
|
44
|
+
schema: string;
|
|
45
|
+
} & object, {
|
|
46
|
+
schema: string;
|
|
47
|
+
} & object>>;
|
|
48
|
+
export declare const isWitnessModule: import("@xyo-network/module-model").ModuleTypeCheck<WitnessModule<import("@xyo-network/object").BaseParamsFields & {
|
|
49
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
50
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
51
|
+
readonly archivist?: string | undefined;
|
|
52
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
53
|
+
readonly name?: string | undefined;
|
|
54
|
+
readonly paging?: Record<string, {
|
|
55
|
+
size?: number | undefined;
|
|
56
|
+
}> | undefined;
|
|
57
|
+
schema: "network.xyo.witness.config";
|
|
58
|
+
readonly security?: {
|
|
59
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
60
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
61
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
readonly sign?: boolean | undefined;
|
|
64
|
+
readonly storeQueries?: boolean | undefined;
|
|
65
|
+
readonly timestamp?: boolean | undefined;
|
|
66
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
67
|
+
readonly archivist?: string | undefined;
|
|
68
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
69
|
+
readonly name?: string | undefined;
|
|
70
|
+
readonly paging?: Record<string, {
|
|
71
|
+
size?: number | undefined;
|
|
72
|
+
}> | undefined;
|
|
73
|
+
schema: "network.xyo.witness.config";
|
|
74
|
+
readonly security?: {
|
|
75
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
76
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
77
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
readonly sign?: boolean | undefined;
|
|
80
|
+
readonly storeQueries?: boolean | undefined;
|
|
81
|
+
readonly timestamp?: boolean | undefined;
|
|
82
|
+
} & {
|
|
83
|
+
schema: "network.xyo.witness.config";
|
|
84
|
+
}, "schema"> & {
|
|
85
|
+
schema: string;
|
|
86
|
+
};
|
|
87
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
88
|
+
}, {
|
|
89
|
+
schema: string;
|
|
90
|
+
} & object, {
|
|
91
|
+
schema: string;
|
|
92
|
+
} & object>>;
|
|
5
93
|
export declare const asWitnessModule: {
|
|
6
|
-
<TType extends WitnessModule
|
|
7
|
-
|
|
94
|
+
<TType extends WitnessModule<import("@xyo-network/object").BaseParamsFields & {
|
|
95
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
96
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
97
|
+
readonly archivist?: string | undefined;
|
|
98
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
99
|
+
readonly name?: string | undefined;
|
|
100
|
+
readonly paging?: Record<string, {
|
|
101
|
+
size?: number | undefined;
|
|
102
|
+
}> | undefined;
|
|
103
|
+
schema: "network.xyo.witness.config";
|
|
104
|
+
readonly security?: {
|
|
105
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
106
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
107
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
readonly sign?: boolean | undefined;
|
|
110
|
+
readonly storeQueries?: boolean | undefined;
|
|
111
|
+
readonly timestamp?: boolean | undefined;
|
|
112
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
113
|
+
readonly archivist?: string | undefined;
|
|
114
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
115
|
+
readonly name?: string | undefined;
|
|
116
|
+
readonly paging?: Record<string, {
|
|
117
|
+
size?: number | undefined;
|
|
118
|
+
}> | undefined;
|
|
119
|
+
schema: "network.xyo.witness.config";
|
|
120
|
+
readonly security?: {
|
|
121
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
122
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
123
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
readonly sign?: boolean | undefined;
|
|
126
|
+
readonly storeQueries?: boolean | undefined;
|
|
127
|
+
readonly timestamp?: boolean | undefined;
|
|
128
|
+
} & {
|
|
129
|
+
schema: "network.xyo.witness.config";
|
|
130
|
+
}, "schema"> & {
|
|
131
|
+
schema: string;
|
|
132
|
+
};
|
|
133
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
134
|
+
}, {
|
|
135
|
+
schema: string;
|
|
136
|
+
} & object, {
|
|
137
|
+
schema: string;
|
|
138
|
+
} & object>>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
139
|
+
<TType_1 extends WitnessModule<import("@xyo-network/object").BaseParamsFields & {
|
|
140
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
141
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
142
|
+
readonly archivist?: string | undefined;
|
|
143
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
144
|
+
readonly name?: string | undefined;
|
|
145
|
+
readonly paging?: Record<string, {
|
|
146
|
+
size?: number | undefined;
|
|
147
|
+
}> | undefined;
|
|
148
|
+
schema: "network.xyo.witness.config";
|
|
149
|
+
readonly security?: {
|
|
150
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
151
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
152
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
153
|
+
} | undefined;
|
|
154
|
+
readonly sign?: boolean | undefined;
|
|
155
|
+
readonly storeQueries?: boolean | undefined;
|
|
156
|
+
readonly timestamp?: boolean | undefined;
|
|
157
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
158
|
+
readonly archivist?: string | 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
|
+
schema: "network.xyo.witness.config";
|
|
165
|
+
readonly security?: {
|
|
166
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
167
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
168
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
169
|
+
} | undefined;
|
|
170
|
+
readonly sign?: boolean | undefined;
|
|
171
|
+
readonly storeQueries?: boolean | undefined;
|
|
172
|
+
readonly timestamp?: boolean | undefined;
|
|
173
|
+
} & {
|
|
174
|
+
schema: "network.xyo.witness.config";
|
|
175
|
+
}, "schema"> & {
|
|
176
|
+
schema: string;
|
|
177
|
+
};
|
|
178
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
179
|
+
}, {
|
|
180
|
+
schema: string;
|
|
181
|
+
} & object, {
|
|
182
|
+
schema: string;
|
|
183
|
+
} & object>>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
8
184
|
};
|
|
9
185
|
export declare const asWitnessInstance: {
|
|
10
|
-
<TType extends WitnessInstance
|
|
11
|
-
|
|
186
|
+
<TType extends WitnessInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
187
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
188
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
189
|
+
readonly archivist?: string | undefined;
|
|
190
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
191
|
+
readonly name?: string | undefined;
|
|
192
|
+
readonly paging?: Record<string, {
|
|
193
|
+
size?: number | undefined;
|
|
194
|
+
}> | undefined;
|
|
195
|
+
schema: "network.xyo.witness.config";
|
|
196
|
+
readonly security?: {
|
|
197
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
198
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
199
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
readonly sign?: boolean | undefined;
|
|
202
|
+
readonly storeQueries?: boolean | undefined;
|
|
203
|
+
readonly timestamp?: boolean | undefined;
|
|
204
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
205
|
+
readonly archivist?: string | undefined;
|
|
206
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
207
|
+
readonly name?: string | undefined;
|
|
208
|
+
readonly paging?: Record<string, {
|
|
209
|
+
size?: number | undefined;
|
|
210
|
+
}> | undefined;
|
|
211
|
+
schema: "network.xyo.witness.config";
|
|
212
|
+
readonly security?: {
|
|
213
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
214
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
215
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
216
|
+
} | undefined;
|
|
217
|
+
readonly sign?: boolean | undefined;
|
|
218
|
+
readonly storeQueries?: boolean | undefined;
|
|
219
|
+
readonly timestamp?: boolean | undefined;
|
|
220
|
+
} & {
|
|
221
|
+
schema: "network.xyo.witness.config";
|
|
222
|
+
}, "schema"> & {
|
|
223
|
+
schema: string;
|
|
224
|
+
};
|
|
225
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
226
|
+
}, {
|
|
227
|
+
schema: string;
|
|
228
|
+
} & object, {
|
|
229
|
+
schema: string;
|
|
230
|
+
} & object>>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
231
|
+
<TType_1 extends WitnessInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
232
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
233
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
234
|
+
readonly archivist?: string | undefined;
|
|
235
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
236
|
+
readonly name?: string | undefined;
|
|
237
|
+
readonly paging?: Record<string, {
|
|
238
|
+
size?: number | undefined;
|
|
239
|
+
}> | undefined;
|
|
240
|
+
schema: "network.xyo.witness.config";
|
|
241
|
+
readonly security?: {
|
|
242
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
243
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
244
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
245
|
+
} | undefined;
|
|
246
|
+
readonly sign?: boolean | undefined;
|
|
247
|
+
readonly storeQueries?: boolean | undefined;
|
|
248
|
+
readonly timestamp?: boolean | undefined;
|
|
249
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
250
|
+
readonly archivist?: string | undefined;
|
|
251
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
252
|
+
readonly name?: string | undefined;
|
|
253
|
+
readonly paging?: Record<string, {
|
|
254
|
+
size?: number | undefined;
|
|
255
|
+
}> | undefined;
|
|
256
|
+
schema: "network.xyo.witness.config";
|
|
257
|
+
readonly security?: {
|
|
258
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
259
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
260
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
261
|
+
} | undefined;
|
|
262
|
+
readonly sign?: boolean | undefined;
|
|
263
|
+
readonly storeQueries?: boolean | undefined;
|
|
264
|
+
readonly timestamp?: boolean | undefined;
|
|
265
|
+
} & {
|
|
266
|
+
schema: "network.xyo.witness.config";
|
|
267
|
+
}, "schema"> & {
|
|
268
|
+
schema: string;
|
|
269
|
+
};
|
|
270
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
271
|
+
}, {
|
|
272
|
+
schema: string;
|
|
273
|
+
} & object, {
|
|
274
|
+
schema: string;
|
|
275
|
+
} & object>>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
12
276
|
};
|
|
13
|
-
export declare const withWitnessModule: <R>(module: any, closure: (module: WitnessModule)
|
|
14
|
-
|
|
277
|
+
export declare const withWitnessModule: <R>(module: any, closure: (module: WitnessModule<import("@xyo-network/object").BaseParamsFields & {
|
|
278
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
279
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
280
|
+
readonly archivist?: string | undefined;
|
|
281
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
282
|
+
readonly name?: string | undefined;
|
|
283
|
+
readonly paging?: Record<string, {
|
|
284
|
+
size?: number | undefined;
|
|
285
|
+
}> | undefined;
|
|
286
|
+
schema: "network.xyo.witness.config";
|
|
287
|
+
readonly security?: {
|
|
288
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
289
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
290
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
291
|
+
} | undefined;
|
|
292
|
+
readonly sign?: boolean | undefined;
|
|
293
|
+
readonly storeQueries?: boolean | undefined;
|
|
294
|
+
readonly timestamp?: boolean | undefined;
|
|
295
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
296
|
+
readonly archivist?: string | undefined;
|
|
297
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
298
|
+
readonly name?: string | undefined;
|
|
299
|
+
readonly paging?: Record<string, {
|
|
300
|
+
size?: number | undefined;
|
|
301
|
+
}> | undefined;
|
|
302
|
+
schema: "network.xyo.witness.config";
|
|
303
|
+
readonly security?: {
|
|
304
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
305
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
306
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
307
|
+
} | undefined;
|
|
308
|
+
readonly sign?: boolean | undefined;
|
|
309
|
+
readonly storeQueries?: boolean | undefined;
|
|
310
|
+
readonly timestamp?: boolean | undefined;
|
|
311
|
+
} & {
|
|
312
|
+
schema: "network.xyo.witness.config";
|
|
313
|
+
}, "schema"> & {
|
|
314
|
+
schema: string;
|
|
315
|
+
};
|
|
316
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
317
|
+
}, {
|
|
318
|
+
schema: string;
|
|
319
|
+
} & object, {
|
|
320
|
+
schema: string;
|
|
321
|
+
} & object>) => R) => R | undefined;
|
|
322
|
+
export declare const withWitnessInstance: <R>(module: any, closure: (module: WitnessInstance<import("@xyo-network/object").BaseParamsFields & {
|
|
323
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
324
|
+
config: import("@xyo-network/payload-model").SchemaFields & object & Omit<{
|
|
325
|
+
readonly archivist?: string | undefined;
|
|
326
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
327
|
+
readonly name?: string | undefined;
|
|
328
|
+
readonly paging?: Record<string, {
|
|
329
|
+
size?: number | undefined;
|
|
330
|
+
}> | undefined;
|
|
331
|
+
schema: "network.xyo.witness.config";
|
|
332
|
+
readonly security?: {
|
|
333
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
334
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
335
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
336
|
+
} | undefined;
|
|
337
|
+
readonly sign?: boolean | undefined;
|
|
338
|
+
readonly storeQueries?: boolean | undefined;
|
|
339
|
+
readonly timestamp?: boolean | undefined;
|
|
340
|
+
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
341
|
+
readonly archivist?: string | undefined;
|
|
342
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
343
|
+
readonly name?: string | undefined;
|
|
344
|
+
readonly paging?: Record<string, {
|
|
345
|
+
size?: number | undefined;
|
|
346
|
+
}> | undefined;
|
|
347
|
+
schema: "network.xyo.witness.config";
|
|
348
|
+
readonly security?: {
|
|
349
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
350
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
351
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
352
|
+
} | undefined;
|
|
353
|
+
readonly sign?: boolean | undefined;
|
|
354
|
+
readonly storeQueries?: boolean | undefined;
|
|
355
|
+
readonly timestamp?: boolean | undefined;
|
|
356
|
+
} & {
|
|
357
|
+
schema: "network.xyo.witness.config";
|
|
358
|
+
}, "schema"> & {
|
|
359
|
+
schema: string;
|
|
360
|
+
};
|
|
361
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
362
|
+
}, {
|
|
363
|
+
schema: string;
|
|
364
|
+
} & object, {
|
|
365
|
+
schema: string;
|
|
366
|
+
} & object>) => R) => R | undefined;
|
|
15
367
|
//# sourceMappingURL=typeChecks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA+F,CAAA;AAC7H,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA2E,CAAA;AAEvG,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0C,CAAA;AACtE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA;AAC1E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAAsC,CAAA;AACpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAAwC,CAAA"}
|