@xyo-network/module-abstract-mongodb 2.84.3 → 2.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/Module.d.cts +21 -21
- package/dist/browser/Module.d.mts +21 -21
- package/dist/browser/Module.d.ts +21 -21
- package/dist/node/Module.d.cts +21 -21
- package/dist/node/Module.d.mts +21 -21
- package/dist/node/Module.d.ts +21 -21
- package/package.json +11 -11
|
@@ -16,8 +16,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
16
16
|
schema: "network.xyo.module.mongodb.config";
|
|
17
17
|
readonly security?: {
|
|
18
18
|
readonly allowAnonymous?: boolean | undefined;
|
|
19
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
21
21
|
} | undefined;
|
|
22
22
|
readonly sign?: boolean | undefined;
|
|
23
23
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -33,8 +33,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
33
33
|
schema: "network.xyo.module.mongodb.config";
|
|
34
34
|
readonly security?: {
|
|
35
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;
|
|
36
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
37
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
38
38
|
} | undefined;
|
|
39
39
|
readonly sign?: boolean | undefined;
|
|
40
40
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -64,8 +64,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
64
64
|
schema: "network.xyo.module.mongodb.config";
|
|
65
65
|
readonly security?: {
|
|
66
66
|
readonly allowAnonymous?: boolean | undefined;
|
|
67
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
67
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
69
69
|
} | undefined;
|
|
70
70
|
readonly sign?: boolean | undefined;
|
|
71
71
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -81,8 +81,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
81
81
|
schema: "network.xyo.module.mongodb.config";
|
|
82
82
|
readonly security?: {
|
|
83
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;
|
|
84
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
85
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
readonly sign?: boolean | undefined;
|
|
88
88
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -112,20 +112,20 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
112
112
|
* allowing for multiple calls without causing errors while ensuring the desired state.
|
|
113
113
|
*/
|
|
114
114
|
ensureIndexes(): Promise<void>;
|
|
115
|
-
address: string
|
|
115
|
+
address: Lowercase<string>;
|
|
116
116
|
config: TParams["config"];
|
|
117
117
|
id: string;
|
|
118
118
|
params: TParams;
|
|
119
119
|
previousHash: () => import("@xylabs/promise").Promisable<string | undefined>;
|
|
120
120
|
queries: string[];
|
|
121
121
|
query: <T extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
122
|
-
query: string
|
|
122
|
+
query: Lowercase<string>;
|
|
123
123
|
resultSet?: string | undefined;
|
|
124
124
|
schema: "network.xyo.boundwitness";
|
|
125
125
|
}, "schema"> & {
|
|
126
126
|
schema: "network.xyo.boundwitness";
|
|
127
127
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
128
|
-
query: string
|
|
128
|
+
query: Lowercase<string>;
|
|
129
129
|
resultSet?: string | undefined;
|
|
130
130
|
schema: "network.xyo.boundwitness";
|
|
131
131
|
}, "schema"> & {
|
|
@@ -141,8 +141,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
141
141
|
schema: "network.xyo.module.config";
|
|
142
142
|
readonly security?: {
|
|
143
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;
|
|
144
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
145
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
146
146
|
} | undefined;
|
|
147
147
|
readonly sign?: boolean | undefined;
|
|
148
148
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -158,8 +158,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
158
158
|
schema: "network.xyo.module.config";
|
|
159
159
|
readonly security?: {
|
|
160
160
|
readonly allowAnonymous?: boolean | undefined;
|
|
161
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
161
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
163
163
|
} | undefined;
|
|
164
164
|
readonly sign?: boolean | undefined;
|
|
165
165
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -168,13 +168,13 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
168
168
|
schema: string;
|
|
169
169
|
} & object)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
|
|
170
170
|
queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
171
|
-
query: string
|
|
171
|
+
query: Lowercase<string>;
|
|
172
172
|
resultSet?: string | undefined;
|
|
173
173
|
schema: "network.xyo.boundwitness";
|
|
174
174
|
}, "schema"> & {
|
|
175
175
|
schema: "network.xyo.boundwitness";
|
|
176
176
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
177
|
-
query: string
|
|
177
|
+
query: Lowercase<string>;
|
|
178
178
|
resultSet?: string | undefined;
|
|
179
179
|
schema: "network.xyo.boundwitness";
|
|
180
180
|
}, "schema"> & {
|
|
@@ -190,8 +190,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
190
190
|
schema: "network.xyo.module.config";
|
|
191
191
|
readonly security?: {
|
|
192
192
|
readonly allowAnonymous?: boolean | undefined;
|
|
193
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
193
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
195
195
|
} | undefined;
|
|
196
196
|
readonly sign?: boolean | undefined;
|
|
197
197
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -207,8 +207,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
207
207
|
schema: "network.xyo.module.config";
|
|
208
208
|
readonly security?: {
|
|
209
209
|
readonly allowAnonymous?: boolean | undefined;
|
|
210
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
210
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
212
212
|
} | undefined;
|
|
213
213
|
readonly sign?: boolean | undefined;
|
|
214
214
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -16,8 +16,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
16
16
|
schema: "network.xyo.module.mongodb.config";
|
|
17
17
|
readonly security?: {
|
|
18
18
|
readonly allowAnonymous?: boolean | undefined;
|
|
19
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
21
21
|
} | undefined;
|
|
22
22
|
readonly sign?: boolean | undefined;
|
|
23
23
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -33,8 +33,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
33
33
|
schema: "network.xyo.module.mongodb.config";
|
|
34
34
|
readonly security?: {
|
|
35
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;
|
|
36
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
37
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
38
38
|
} | undefined;
|
|
39
39
|
readonly sign?: boolean | undefined;
|
|
40
40
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -64,8 +64,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
64
64
|
schema: "network.xyo.module.mongodb.config";
|
|
65
65
|
readonly security?: {
|
|
66
66
|
readonly allowAnonymous?: boolean | undefined;
|
|
67
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
67
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
69
69
|
} | undefined;
|
|
70
70
|
readonly sign?: boolean | undefined;
|
|
71
71
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -81,8 +81,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
81
81
|
schema: "network.xyo.module.mongodb.config";
|
|
82
82
|
readonly security?: {
|
|
83
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;
|
|
84
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
85
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
readonly sign?: boolean | undefined;
|
|
88
88
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -112,20 +112,20 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
112
112
|
* allowing for multiple calls without causing errors while ensuring the desired state.
|
|
113
113
|
*/
|
|
114
114
|
ensureIndexes(): Promise<void>;
|
|
115
|
-
address: string
|
|
115
|
+
address: Lowercase<string>;
|
|
116
116
|
config: TParams["config"];
|
|
117
117
|
id: string;
|
|
118
118
|
params: TParams;
|
|
119
119
|
previousHash: () => import("@xylabs/promise").Promisable<string | undefined>;
|
|
120
120
|
queries: string[];
|
|
121
121
|
query: <T extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
122
|
-
query: string
|
|
122
|
+
query: Lowercase<string>;
|
|
123
123
|
resultSet?: string | undefined;
|
|
124
124
|
schema: "network.xyo.boundwitness";
|
|
125
125
|
}, "schema"> & {
|
|
126
126
|
schema: "network.xyo.boundwitness";
|
|
127
127
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
128
|
-
query: string
|
|
128
|
+
query: Lowercase<string>;
|
|
129
129
|
resultSet?: string | undefined;
|
|
130
130
|
schema: "network.xyo.boundwitness";
|
|
131
131
|
}, "schema"> & {
|
|
@@ -141,8 +141,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
141
141
|
schema: "network.xyo.module.config";
|
|
142
142
|
readonly security?: {
|
|
143
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;
|
|
144
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
145
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
146
146
|
} | undefined;
|
|
147
147
|
readonly sign?: boolean | undefined;
|
|
148
148
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -158,8 +158,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
158
158
|
schema: "network.xyo.module.config";
|
|
159
159
|
readonly security?: {
|
|
160
160
|
readonly allowAnonymous?: boolean | undefined;
|
|
161
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
161
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
163
163
|
} | undefined;
|
|
164
164
|
readonly sign?: boolean | undefined;
|
|
165
165
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -168,13 +168,13 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
168
168
|
schema: string;
|
|
169
169
|
} & object)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
|
|
170
170
|
queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
171
|
-
query: string
|
|
171
|
+
query: Lowercase<string>;
|
|
172
172
|
resultSet?: string | undefined;
|
|
173
173
|
schema: "network.xyo.boundwitness";
|
|
174
174
|
}, "schema"> & {
|
|
175
175
|
schema: "network.xyo.boundwitness";
|
|
176
176
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
177
|
-
query: string
|
|
177
|
+
query: Lowercase<string>;
|
|
178
178
|
resultSet?: string | undefined;
|
|
179
179
|
schema: "network.xyo.boundwitness";
|
|
180
180
|
}, "schema"> & {
|
|
@@ -190,8 +190,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
190
190
|
schema: "network.xyo.module.config";
|
|
191
191
|
readonly security?: {
|
|
192
192
|
readonly allowAnonymous?: boolean | undefined;
|
|
193
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
193
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
195
195
|
} | undefined;
|
|
196
196
|
readonly sign?: boolean | undefined;
|
|
197
197
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -207,8 +207,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
207
207
|
schema: "network.xyo.module.config";
|
|
208
208
|
readonly security?: {
|
|
209
209
|
readonly allowAnonymous?: boolean | undefined;
|
|
210
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
210
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
212
212
|
} | undefined;
|
|
213
213
|
readonly sign?: boolean | undefined;
|
|
214
214
|
readonly storeQueries?: boolean | undefined;
|
package/dist/browser/Module.d.ts
CHANGED
|
@@ -16,8 +16,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
16
16
|
schema: "network.xyo.module.mongodb.config";
|
|
17
17
|
readonly security?: {
|
|
18
18
|
readonly allowAnonymous?: boolean | undefined;
|
|
19
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
21
21
|
} | undefined;
|
|
22
22
|
readonly sign?: boolean | undefined;
|
|
23
23
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -33,8 +33,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
33
33
|
schema: "network.xyo.module.mongodb.config";
|
|
34
34
|
readonly security?: {
|
|
35
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;
|
|
36
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
37
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
38
38
|
} | undefined;
|
|
39
39
|
readonly sign?: boolean | undefined;
|
|
40
40
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -64,8 +64,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
64
64
|
schema: "network.xyo.module.mongodb.config";
|
|
65
65
|
readonly security?: {
|
|
66
66
|
readonly allowAnonymous?: boolean | undefined;
|
|
67
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
67
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
69
69
|
} | undefined;
|
|
70
70
|
readonly sign?: boolean | undefined;
|
|
71
71
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -81,8 +81,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
81
81
|
schema: "network.xyo.module.mongodb.config";
|
|
82
82
|
readonly security?: {
|
|
83
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;
|
|
84
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
85
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
readonly sign?: boolean | undefined;
|
|
88
88
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -112,20 +112,20 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
112
112
|
* allowing for multiple calls without causing errors while ensuring the desired state.
|
|
113
113
|
*/
|
|
114
114
|
ensureIndexes(): Promise<void>;
|
|
115
|
-
address: string
|
|
115
|
+
address: Lowercase<string>;
|
|
116
116
|
config: TParams["config"];
|
|
117
117
|
id: string;
|
|
118
118
|
params: TParams;
|
|
119
119
|
previousHash: () => import("@xylabs/promise").Promisable<string | undefined>;
|
|
120
120
|
queries: string[];
|
|
121
121
|
query: <T extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
122
|
-
query: string
|
|
122
|
+
query: Lowercase<string>;
|
|
123
123
|
resultSet?: string | undefined;
|
|
124
124
|
schema: "network.xyo.boundwitness";
|
|
125
125
|
}, "schema"> & {
|
|
126
126
|
schema: "network.xyo.boundwitness";
|
|
127
127
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
128
|
-
query: string
|
|
128
|
+
query: Lowercase<string>;
|
|
129
129
|
resultSet?: string | undefined;
|
|
130
130
|
schema: "network.xyo.boundwitness";
|
|
131
131
|
}, "schema"> & {
|
|
@@ -141,8 +141,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
141
141
|
schema: "network.xyo.module.config";
|
|
142
142
|
readonly security?: {
|
|
143
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;
|
|
144
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
145
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
146
146
|
} | undefined;
|
|
147
147
|
readonly sign?: boolean | undefined;
|
|
148
148
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -158,8 +158,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
158
158
|
schema: "network.xyo.module.config";
|
|
159
159
|
readonly security?: {
|
|
160
160
|
readonly allowAnonymous?: boolean | undefined;
|
|
161
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
161
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
163
163
|
} | undefined;
|
|
164
164
|
readonly sign?: boolean | undefined;
|
|
165
165
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -168,13 +168,13 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
168
168
|
schema: string;
|
|
169
169
|
} & object)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
|
|
170
170
|
queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
171
|
-
query: string
|
|
171
|
+
query: Lowercase<string>;
|
|
172
172
|
resultSet?: string | undefined;
|
|
173
173
|
schema: "network.xyo.boundwitness";
|
|
174
174
|
}, "schema"> & {
|
|
175
175
|
schema: "network.xyo.boundwitness";
|
|
176
176
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
177
|
-
query: string
|
|
177
|
+
query: Lowercase<string>;
|
|
178
178
|
resultSet?: string | undefined;
|
|
179
179
|
schema: "network.xyo.boundwitness";
|
|
180
180
|
}, "schema"> & {
|
|
@@ -190,8 +190,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
190
190
|
schema: "network.xyo.module.config";
|
|
191
191
|
readonly security?: {
|
|
192
192
|
readonly allowAnonymous?: boolean | undefined;
|
|
193
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
193
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
195
195
|
} | undefined;
|
|
196
196
|
readonly sign?: boolean | undefined;
|
|
197
197
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -207,8 +207,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
207
207
|
schema: "network.xyo.module.config";
|
|
208
208
|
readonly security?: {
|
|
209
209
|
readonly allowAnonymous?: boolean | undefined;
|
|
210
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
210
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
212
212
|
} | undefined;
|
|
213
213
|
readonly sign?: boolean | undefined;
|
|
214
214
|
readonly storeQueries?: boolean | undefined;
|
package/dist/node/Module.d.cts
CHANGED
|
@@ -16,8 +16,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
16
16
|
schema: "network.xyo.module.mongodb.config";
|
|
17
17
|
readonly security?: {
|
|
18
18
|
readonly allowAnonymous?: boolean | undefined;
|
|
19
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
21
21
|
} | undefined;
|
|
22
22
|
readonly sign?: boolean | undefined;
|
|
23
23
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -33,8 +33,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
33
33
|
schema: "network.xyo.module.mongodb.config";
|
|
34
34
|
readonly security?: {
|
|
35
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;
|
|
36
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
37
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
38
38
|
} | undefined;
|
|
39
39
|
readonly sign?: boolean | undefined;
|
|
40
40
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -64,8 +64,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
64
64
|
schema: "network.xyo.module.mongodb.config";
|
|
65
65
|
readonly security?: {
|
|
66
66
|
readonly allowAnonymous?: boolean | undefined;
|
|
67
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
67
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
69
69
|
} | undefined;
|
|
70
70
|
readonly sign?: boolean | undefined;
|
|
71
71
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -81,8 +81,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
81
81
|
schema: "network.xyo.module.mongodb.config";
|
|
82
82
|
readonly security?: {
|
|
83
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;
|
|
84
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
85
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
readonly sign?: boolean | undefined;
|
|
88
88
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -112,20 +112,20 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
112
112
|
* allowing for multiple calls without causing errors while ensuring the desired state.
|
|
113
113
|
*/
|
|
114
114
|
ensureIndexes(): Promise<void>;
|
|
115
|
-
address: string
|
|
115
|
+
address: Lowercase<string>;
|
|
116
116
|
config: TParams["config"];
|
|
117
117
|
id: string;
|
|
118
118
|
params: TParams;
|
|
119
119
|
previousHash: () => import("@xylabs/promise").Promisable<string | undefined>;
|
|
120
120
|
queries: string[];
|
|
121
121
|
query: <T extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
122
|
-
query: string
|
|
122
|
+
query: Lowercase<string>;
|
|
123
123
|
resultSet?: string | undefined;
|
|
124
124
|
schema: "network.xyo.boundwitness";
|
|
125
125
|
}, "schema"> & {
|
|
126
126
|
schema: "network.xyo.boundwitness";
|
|
127
127
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
128
|
-
query: string
|
|
128
|
+
query: Lowercase<string>;
|
|
129
129
|
resultSet?: string | undefined;
|
|
130
130
|
schema: "network.xyo.boundwitness";
|
|
131
131
|
}, "schema"> & {
|
|
@@ -141,8 +141,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
141
141
|
schema: "network.xyo.module.config";
|
|
142
142
|
readonly security?: {
|
|
143
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;
|
|
144
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
145
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
146
146
|
} | undefined;
|
|
147
147
|
readonly sign?: boolean | undefined;
|
|
148
148
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -158,8 +158,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
158
158
|
schema: "network.xyo.module.config";
|
|
159
159
|
readonly security?: {
|
|
160
160
|
readonly allowAnonymous?: boolean | undefined;
|
|
161
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
161
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
163
163
|
} | undefined;
|
|
164
164
|
readonly sign?: boolean | undefined;
|
|
165
165
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -168,13 +168,13 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
168
168
|
schema: string;
|
|
169
169
|
} & object)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
|
|
170
170
|
queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
171
|
-
query: string
|
|
171
|
+
query: Lowercase<string>;
|
|
172
172
|
resultSet?: string | undefined;
|
|
173
173
|
schema: "network.xyo.boundwitness";
|
|
174
174
|
}, "schema"> & {
|
|
175
175
|
schema: "network.xyo.boundwitness";
|
|
176
176
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
177
|
-
query: string
|
|
177
|
+
query: Lowercase<string>;
|
|
178
178
|
resultSet?: string | undefined;
|
|
179
179
|
schema: "network.xyo.boundwitness";
|
|
180
180
|
}, "schema"> & {
|
|
@@ -190,8 +190,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
190
190
|
schema: "network.xyo.module.config";
|
|
191
191
|
readonly security?: {
|
|
192
192
|
readonly allowAnonymous?: boolean | undefined;
|
|
193
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
193
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
195
195
|
} | undefined;
|
|
196
196
|
readonly sign?: boolean | undefined;
|
|
197
197
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -207,8 +207,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
207
207
|
schema: "network.xyo.module.config";
|
|
208
208
|
readonly security?: {
|
|
209
209
|
readonly allowAnonymous?: boolean | undefined;
|
|
210
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
210
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
212
212
|
} | undefined;
|
|
213
213
|
readonly sign?: boolean | undefined;
|
|
214
214
|
readonly storeQueries?: boolean | undefined;
|
package/dist/node/Module.d.mts
CHANGED
|
@@ -16,8 +16,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
16
16
|
schema: "network.xyo.module.mongodb.config";
|
|
17
17
|
readonly security?: {
|
|
18
18
|
readonly allowAnonymous?: boolean | undefined;
|
|
19
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
21
21
|
} | undefined;
|
|
22
22
|
readonly sign?: boolean | undefined;
|
|
23
23
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -33,8 +33,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
33
33
|
schema: "network.xyo.module.mongodb.config";
|
|
34
34
|
readonly security?: {
|
|
35
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;
|
|
36
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
37
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
38
38
|
} | undefined;
|
|
39
39
|
readonly sign?: boolean | undefined;
|
|
40
40
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -64,8 +64,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
64
64
|
schema: "network.xyo.module.mongodb.config";
|
|
65
65
|
readonly security?: {
|
|
66
66
|
readonly allowAnonymous?: boolean | undefined;
|
|
67
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
67
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
69
69
|
} | undefined;
|
|
70
70
|
readonly sign?: boolean | undefined;
|
|
71
71
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -81,8 +81,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
81
81
|
schema: "network.xyo.module.mongodb.config";
|
|
82
82
|
readonly security?: {
|
|
83
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;
|
|
84
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
85
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
readonly sign?: boolean | undefined;
|
|
88
88
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -112,20 +112,20 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
112
112
|
* allowing for multiple calls without causing errors while ensuring the desired state.
|
|
113
113
|
*/
|
|
114
114
|
ensureIndexes(): Promise<void>;
|
|
115
|
-
address: string
|
|
115
|
+
address: Lowercase<string>;
|
|
116
116
|
config: TParams["config"];
|
|
117
117
|
id: string;
|
|
118
118
|
params: TParams;
|
|
119
119
|
previousHash: () => import("@xylabs/promise").Promisable<string | undefined>;
|
|
120
120
|
queries: string[];
|
|
121
121
|
query: <T extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
122
|
-
query: string
|
|
122
|
+
query: Lowercase<string>;
|
|
123
123
|
resultSet?: string | undefined;
|
|
124
124
|
schema: "network.xyo.boundwitness";
|
|
125
125
|
}, "schema"> & {
|
|
126
126
|
schema: "network.xyo.boundwitness";
|
|
127
127
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
128
|
-
query: string
|
|
128
|
+
query: Lowercase<string>;
|
|
129
129
|
resultSet?: string | undefined;
|
|
130
130
|
schema: "network.xyo.boundwitness";
|
|
131
131
|
}, "schema"> & {
|
|
@@ -141,8 +141,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
141
141
|
schema: "network.xyo.module.config";
|
|
142
142
|
readonly security?: {
|
|
143
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;
|
|
144
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
145
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
146
146
|
} | undefined;
|
|
147
147
|
readonly sign?: boolean | undefined;
|
|
148
148
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -158,8 +158,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
158
158
|
schema: "network.xyo.module.config";
|
|
159
159
|
readonly security?: {
|
|
160
160
|
readonly allowAnonymous?: boolean | undefined;
|
|
161
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
161
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
163
163
|
} | undefined;
|
|
164
164
|
readonly sign?: boolean | undefined;
|
|
165
165
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -168,13 +168,13 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
168
168
|
schema: string;
|
|
169
169
|
} & object)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
|
|
170
170
|
queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
171
|
-
query: string
|
|
171
|
+
query: Lowercase<string>;
|
|
172
172
|
resultSet?: string | undefined;
|
|
173
173
|
schema: "network.xyo.boundwitness";
|
|
174
174
|
}, "schema"> & {
|
|
175
175
|
schema: "network.xyo.boundwitness";
|
|
176
176
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
177
|
-
query: string
|
|
177
|
+
query: Lowercase<string>;
|
|
178
178
|
resultSet?: string | undefined;
|
|
179
179
|
schema: "network.xyo.boundwitness";
|
|
180
180
|
}, "schema"> & {
|
|
@@ -190,8 +190,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
190
190
|
schema: "network.xyo.module.config";
|
|
191
191
|
readonly security?: {
|
|
192
192
|
readonly allowAnonymous?: boolean | undefined;
|
|
193
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
193
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
195
195
|
} | undefined;
|
|
196
196
|
readonly sign?: boolean | undefined;
|
|
197
197
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -207,8 +207,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
207
207
|
schema: "network.xyo.module.config";
|
|
208
208
|
readonly security?: {
|
|
209
209
|
readonly allowAnonymous?: boolean | undefined;
|
|
210
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
210
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
212
212
|
} | undefined;
|
|
213
213
|
readonly sign?: boolean | undefined;
|
|
214
214
|
readonly storeQueries?: boolean | undefined;
|
package/dist/node/Module.d.ts
CHANGED
|
@@ -16,8 +16,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
16
16
|
schema: "network.xyo.module.mongodb.config";
|
|
17
17
|
readonly security?: {
|
|
18
18
|
readonly allowAnonymous?: boolean | undefined;
|
|
19
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
21
21
|
} | undefined;
|
|
22
22
|
readonly sign?: boolean | undefined;
|
|
23
23
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -33,8 +33,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
33
33
|
schema: "network.xyo.module.mongodb.config";
|
|
34
34
|
readonly security?: {
|
|
35
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;
|
|
36
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
37
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
38
38
|
} | undefined;
|
|
39
39
|
readonly sign?: boolean | undefined;
|
|
40
40
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -64,8 +64,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
64
64
|
schema: "network.xyo.module.mongodb.config";
|
|
65
65
|
readonly security?: {
|
|
66
66
|
readonly allowAnonymous?: boolean | undefined;
|
|
67
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
67
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
69
69
|
} | undefined;
|
|
70
70
|
readonly sign?: boolean | undefined;
|
|
71
71
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -81,8 +81,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
81
81
|
schema: "network.xyo.module.mongodb.config";
|
|
82
82
|
readonly security?: {
|
|
83
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;
|
|
84
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
85
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
readonly sign?: boolean | undefined;
|
|
88
88
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -112,20 +112,20 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
112
112
|
* allowing for multiple calls without causing errors while ensuring the desired state.
|
|
113
113
|
*/
|
|
114
114
|
ensureIndexes(): Promise<void>;
|
|
115
|
-
address: string
|
|
115
|
+
address: Lowercase<string>;
|
|
116
116
|
config: TParams["config"];
|
|
117
117
|
id: string;
|
|
118
118
|
params: TParams;
|
|
119
119
|
previousHash: () => import("@xylabs/promise").Promisable<string | undefined>;
|
|
120
120
|
queries: string[];
|
|
121
121
|
query: <T extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
122
|
-
query: string
|
|
122
|
+
query: Lowercase<string>;
|
|
123
123
|
resultSet?: string | undefined;
|
|
124
124
|
schema: "network.xyo.boundwitness";
|
|
125
125
|
}, "schema"> & {
|
|
126
126
|
schema: "network.xyo.boundwitness";
|
|
127
127
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
128
|
-
query: string
|
|
128
|
+
query: Lowercase<string>;
|
|
129
129
|
resultSet?: string | undefined;
|
|
130
130
|
schema: "network.xyo.boundwitness";
|
|
131
131
|
}, "schema"> & {
|
|
@@ -141,8 +141,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
141
141
|
schema: "network.xyo.module.config";
|
|
142
142
|
readonly security?: {
|
|
143
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;
|
|
144
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
145
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
146
146
|
} | undefined;
|
|
147
147
|
readonly sign?: boolean | undefined;
|
|
148
148
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -158,8 +158,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
158
158
|
schema: "network.xyo.module.config";
|
|
159
159
|
readonly security?: {
|
|
160
160
|
readonly allowAnonymous?: boolean | undefined;
|
|
161
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
161
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
163
163
|
} | undefined;
|
|
164
164
|
readonly sign?: boolean | undefined;
|
|
165
165
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -168,13 +168,13 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
168
168
|
schema: string;
|
|
169
169
|
} & object)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
|
|
170
170
|
queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
171
|
-
query: string
|
|
171
|
+
query: Lowercase<string>;
|
|
172
172
|
resultSet?: string | undefined;
|
|
173
173
|
schema: "network.xyo.boundwitness";
|
|
174
174
|
}, "schema"> & {
|
|
175
175
|
schema: "network.xyo.boundwitness";
|
|
176
176
|
} = import("@xyo-network/payload-model").SchemaFields & object & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
177
|
-
query: string
|
|
177
|
+
query: Lowercase<string>;
|
|
178
178
|
resultSet?: string | undefined;
|
|
179
179
|
schema: "network.xyo.boundwitness";
|
|
180
180
|
}, "schema"> & {
|
|
@@ -190,8 +190,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
190
190
|
schema: "network.xyo.module.config";
|
|
191
191
|
readonly security?: {
|
|
192
192
|
readonly allowAnonymous?: boolean | undefined;
|
|
193
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
193
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
195
195
|
} | undefined;
|
|
196
196
|
readonly sign?: boolean | undefined;
|
|
197
197
|
readonly storeQueries?: boolean | undefined;
|
|
@@ -207,8 +207,8 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
207
207
|
schema: "network.xyo.module.config";
|
|
208
208
|
readonly security?: {
|
|
209
209
|
readonly allowAnonymous?: boolean | undefined;
|
|
210
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
210
|
+
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
+
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
212
212
|
} | undefined;
|
|
213
213
|
readonly sign?: boolean | undefined;
|
|
214
214
|
readonly storeQueries?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/assert": "^
|
|
14
|
-
"@xylabs/exists": "^
|
|
15
|
-
"@xylabs/lodash": "^
|
|
16
|
-
"@xylabs/static-implements": "^
|
|
17
|
-
"@xyo-network/module-model": "^2.
|
|
18
|
-
"@xyo-network/module-model-mongodb": "~2.
|
|
19
|
-
"@xyo-network/payload-mongodb": "~2.
|
|
20
|
-
"@xyo-network/sdk-xyo-mongo-js": "~2.
|
|
13
|
+
"@xylabs/assert": "^3.0.1",
|
|
14
|
+
"@xylabs/exists": "^3.0.1",
|
|
15
|
+
"@xylabs/lodash": "^3.0.1",
|
|
16
|
+
"@xylabs/static-implements": "^3.0.1",
|
|
17
|
+
"@xyo-network/module-model": "^2.91.0",
|
|
18
|
+
"@xyo-network/module-model-mongodb": "~2.85.0",
|
|
19
|
+
"@xyo-network/payload-mongodb": "~2.85.0",
|
|
20
|
+
"@xyo-network/sdk-xyo-mongo-js": "~2.85.0",
|
|
21
21
|
"mongodb": "^6.3.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@xylabs/ts-scripts-yarn3": "^3.
|
|
25
|
-
"@xylabs/tsconfig": "^3.
|
|
24
|
+
"@xylabs/ts-scripts-yarn3": "^3.4.1",
|
|
25
|
+
"@xylabs/tsconfig": "^3.4.1",
|
|
26
26
|
"fake-indexeddb": "^4.0.2",
|
|
27
27
|
"typescript": "^5.3.3"
|
|
28
28
|
},
|
|
@@ -65,6 +65,6 @@
|
|
|
65
65
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
66
66
|
},
|
|
67
67
|
"sideEffects": false,
|
|
68
|
-
"version": "2.
|
|
68
|
+
"version": "2.85.0",
|
|
69
69
|
"type": "module"
|
|
70
70
|
}
|