@xyo-network/module-abstract-mongodb 2.86.0 → 2.86.2
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 +22 -142
- package/dist/browser/Module.d.cts.map +1 -1
- package/dist/browser/Module.d.mts +22 -142
- package/dist/browser/Module.d.mts.map +1 -1
- package/dist/browser/Module.d.ts +22 -142
- package/dist/browser/Module.d.ts.map +1 -1
- package/dist/browser/index.cjs +5 -5
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +5 -5
- package/dist/browser/index.js.map +1 -1
- package/dist/node/Module.d.cts +22 -142
- package/dist/node/Module.d.cts.map +1 -1
- package/dist/node/Module.d.mts +22 -142
- package/dist/node/Module.d.mts.map +1 -1
- package/dist/node/Module.d.ts +22 -142
- package/dist/node/Module.d.ts.map +1 -1
- package/dist/node/index.cjs +5 -5
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +5 -5
- package/dist/node/index.js.map +1 -1
- package/package.json +13 -13
- package/src/Module.ts +1 -1
- package/src/config/getBaseMongoSdk.ts +4 -4
|
@@ -5,96 +5,36 @@ import { BaseMongoSdk, BaseMongoSdkConfig } from '@xyo-network/sdk-xyo-mongo-js'
|
|
|
5
5
|
export type AnyAbstractModule<TParams extends MongoDBModuleParams = MongoDBModuleParams> = abstract new (...args: any[]) => Module<TParams>;
|
|
6
6
|
export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object").BaseParamsFields & {
|
|
7
7
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
11
|
-
readonly name?: string | undefined;
|
|
12
|
-
readonly paging?: Record<string, {
|
|
13
|
-
size?: number | undefined;
|
|
14
|
-
}> | undefined;
|
|
15
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
16
|
-
schema: "network.xyo.module.mongodb.config";
|
|
17
|
-
readonly security?: {
|
|
18
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
19
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
21
|
-
} | undefined;
|
|
22
|
-
readonly sign?: boolean | undefined;
|
|
23
|
-
readonly storeQueries?: boolean | undefined;
|
|
24
|
-
readonly timestamp?: boolean | undefined;
|
|
25
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
26
|
-
readonly archivist?: string | undefined;
|
|
27
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
28
|
-
readonly name?: string | undefined;
|
|
29
|
-
readonly paging?: Record<string, {
|
|
30
|
-
size?: number | undefined;
|
|
31
|
-
}> | undefined;
|
|
32
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
33
|
-
schema: "network.xyo.module.mongodb.config";
|
|
34
|
-
readonly security?: {
|
|
35
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
36
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
37
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
readonly sign?: boolean | undefined;
|
|
40
|
-
readonly storeQueries?: boolean | undefined;
|
|
41
|
-
readonly timestamp?: boolean | undefined;
|
|
42
|
-
} & {
|
|
8
|
+
addToResolvers?: boolean | undefined;
|
|
9
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
43
10
|
boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
|
|
44
11
|
payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
|
|
45
12
|
schema: "network.xyo.module.mongodb.config";
|
|
13
|
+
}, "schema"> & {
|
|
14
|
+
schema: "network.xyo.module.mongodb.config";
|
|
46
15
|
}, "schema"> & {
|
|
47
16
|
schema: string;
|
|
48
17
|
};
|
|
49
18
|
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
19
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
50
20
|
} & {
|
|
51
21
|
boundWitnessSdkConfig?: (import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPrivateConfig & Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig>) | undefined;
|
|
52
22
|
jobQueue?: import("@xyo-network/node-core-model").JobQueue | undefined;
|
|
53
23
|
payloadSdkConfig?: (import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPrivateConfig & Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig>) | undefined;
|
|
54
24
|
} = import("@xylabs/object").BaseParamsFields & {
|
|
55
25
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
59
|
-
readonly name?: string | undefined;
|
|
60
|
-
readonly paging?: Record<string, {
|
|
61
|
-
size?: number | undefined;
|
|
62
|
-
}> | undefined;
|
|
63
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
64
|
-
schema: "network.xyo.module.mongodb.config";
|
|
65
|
-
readonly security?: {
|
|
66
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
67
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
readonly sign?: boolean | undefined;
|
|
71
|
-
readonly storeQueries?: boolean | undefined;
|
|
72
|
-
readonly timestamp?: boolean | undefined;
|
|
73
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
74
|
-
readonly archivist?: string | undefined;
|
|
75
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
76
|
-
readonly name?: string | undefined;
|
|
77
|
-
readonly paging?: Record<string, {
|
|
78
|
-
size?: number | undefined;
|
|
79
|
-
}> | undefined;
|
|
80
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
81
|
-
schema: "network.xyo.module.mongodb.config";
|
|
82
|
-
readonly security?: {
|
|
83
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
84
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
85
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
86
|
-
} | undefined;
|
|
87
|
-
readonly sign?: boolean | undefined;
|
|
88
|
-
readonly storeQueries?: boolean | undefined;
|
|
89
|
-
readonly timestamp?: boolean | undefined;
|
|
90
|
-
} & {
|
|
26
|
+
addToResolvers?: boolean | undefined;
|
|
27
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
91
28
|
boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
|
|
92
29
|
payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
|
|
93
30
|
schema: "network.xyo.module.mongodb.config";
|
|
31
|
+
}, "schema"> & {
|
|
32
|
+
schema: "network.xyo.module.mongodb.config";
|
|
94
33
|
}, "schema"> & {
|
|
95
34
|
schema: string;
|
|
96
35
|
};
|
|
97
36
|
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
37
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
98
38
|
} & {
|
|
99
39
|
boundWitnessSdkConfig?: (import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPrivateConfig & Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig>) | undefined;
|
|
100
40
|
jobQueue?: import("@xyo-network/node-core-model").JobQueue | undefined;
|
|
@@ -118,104 +58,44 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
118
58
|
params: TParams;
|
|
119
59
|
previousHash: () => import("@xylabs/promise").Promisable<string | undefined>;
|
|
120
60
|
queries: string[];
|
|
121
|
-
query: <T extends import("@xyo-network/payload-model").SchemaFields &
|
|
61
|
+
query: <T extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
122
62
|
query: Lowercase<string>;
|
|
123
63
|
resultSet?: string | undefined;
|
|
124
64
|
schema: "network.xyo.boundwitness";
|
|
125
65
|
}, "schema"> & {
|
|
126
66
|
schema: "network.xyo.boundwitness";
|
|
127
|
-
} = import("@xyo-network/payload-model").SchemaFields &
|
|
67
|
+
} = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
128
68
|
query: Lowercase<string>;
|
|
129
69
|
resultSet?: string | undefined;
|
|
130
70
|
schema: "network.xyo.boundwitness";
|
|
131
71
|
}, "schema"> & {
|
|
132
72
|
schema: "network.xyo.boundwitness";
|
|
133
|
-
}, TConf extends import("@xyo-network/payload-model").SchemaFields &
|
|
134
|
-
readonly archivist?: string | undefined;
|
|
135
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
136
|
-
readonly name?: string | undefined;
|
|
137
|
-
readonly paging?: Record<string, {
|
|
138
|
-
size?: number | undefined;
|
|
139
|
-
}> | undefined;
|
|
140
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
73
|
+
}, TConf extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
141
74
|
schema: "network.xyo.module.config";
|
|
142
|
-
|
|
143
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
144
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
145
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
146
|
-
} | undefined;
|
|
147
|
-
readonly sign?: boolean | undefined;
|
|
148
|
-
readonly storeQueries?: boolean | undefined;
|
|
149
|
-
readonly timestamp?: boolean | undefined;
|
|
150
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
|
|
151
|
-
readonly archivist?: string | undefined;
|
|
152
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
153
|
-
readonly name?: string | undefined;
|
|
154
|
-
readonly paging?: Record<string, {
|
|
155
|
-
size?: number | undefined;
|
|
156
|
-
}> | undefined;
|
|
157
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
75
|
+
} = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
158
76
|
schema: "network.xyo.module.config";
|
|
159
|
-
|
|
160
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
161
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
163
|
-
} | undefined;
|
|
164
|
-
readonly sign?: boolean | undefined;
|
|
165
|
-
readonly storeQueries?: boolean | undefined;
|
|
166
|
-
readonly timestamp?: boolean | undefined;
|
|
167
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T, payloads?: ({
|
|
77
|
+
}>(query: T, payloads?: ({
|
|
168
78
|
schema: string;
|
|
169
|
-
} &
|
|
170
|
-
queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields &
|
|
79
|
+
} & import("@xyo-network/payload-model").PayloadFields)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
|
|
80
|
+
queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
171
81
|
query: Lowercase<string>;
|
|
172
82
|
resultSet?: string | undefined;
|
|
173
83
|
schema: "network.xyo.boundwitness";
|
|
174
84
|
}, "schema"> & {
|
|
175
85
|
schema: "network.xyo.boundwitness";
|
|
176
|
-
} = import("@xyo-network/payload-model").SchemaFields &
|
|
86
|
+
} = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
177
87
|
query: Lowercase<string>;
|
|
178
88
|
resultSet?: string | undefined;
|
|
179
89
|
schema: "network.xyo.boundwitness";
|
|
180
90
|
}, "schema"> & {
|
|
181
91
|
schema: "network.xyo.boundwitness";
|
|
182
|
-
}, TConf_1 extends import("@xyo-network/payload-model").SchemaFields &
|
|
183
|
-
readonly archivist?: string | undefined;
|
|
184
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
185
|
-
readonly name?: string | undefined;
|
|
186
|
-
readonly paging?: Record<string, {
|
|
187
|
-
size?: number | undefined;
|
|
188
|
-
}> | undefined;
|
|
189
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
92
|
+
}, TConf_1 extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
190
93
|
schema: "network.xyo.module.config";
|
|
191
|
-
|
|
192
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
193
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
195
|
-
} | undefined;
|
|
196
|
-
readonly sign?: boolean | undefined;
|
|
197
|
-
readonly storeQueries?: boolean | undefined;
|
|
198
|
-
readonly timestamp?: boolean | undefined;
|
|
199
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
|
|
200
|
-
readonly archivist?: string | undefined;
|
|
201
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
202
|
-
readonly name?: string | undefined;
|
|
203
|
-
readonly paging?: Record<string, {
|
|
204
|
-
size?: number | undefined;
|
|
205
|
-
}> | undefined;
|
|
206
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
94
|
+
} = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
207
95
|
schema: "network.xyo.module.config";
|
|
208
|
-
|
|
209
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
210
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
212
|
-
} | undefined;
|
|
213
|
-
readonly sign?: boolean | undefined;
|
|
214
|
-
readonly storeQueries?: boolean | undefined;
|
|
215
|
-
readonly timestamp?: boolean | undefined;
|
|
216
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T_1, payloads?: ({
|
|
96
|
+
}>(query: T_1, payloads?: ({
|
|
217
97
|
schema: string;
|
|
218
|
-
} &
|
|
98
|
+
} & import("@xyo-network/payload-model").PayloadFields)[] | undefined, queryConfig?: TConf_1 | undefined) => import("@xylabs/promise").Promisable<boolean>;
|
|
219
99
|
start?: (() => import("@xylabs/promise").Promisable<boolean>) | undefined;
|
|
220
100
|
stop?: (() => import("@xylabs/promise").Promisable<boolean>) | undefined;
|
|
221
101
|
eventData: import("@xyo-network/module-model").ModuleEventData<object>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Module.d.ts","sourceRoot":"","sources":["../../src/Module.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAClD,OAAO,EAAiB,mBAAmB,EAAuB,yBAAyB,EAAE,MAAM,mCAAmC,CAAA;AACtI,OAAO,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAC9F,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAQhF,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,mBAAmB,GAAG,mBAAmB,IAAI,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,CAAA;AAE3I,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"Module.d.ts","sourceRoot":"","sources":["../../src/Module.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAClD,OAAO,EAAiB,mBAAmB,EAAuB,yBAAyB,EAAE,MAAM,mCAAmC,CAAA;AACtI,OAAO,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAC9F,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAQhF,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,mBAAmB,GAAG,mBAAmB,IAAI,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,CAAA;AAE3I,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wFAIjB,OAAO,8BAN6F,GAAG,EAAE;sBAWjG,aAAa,yBAAyB,CAAC,GAAG,SAAS;iBACxD,aAAa,oBAAoB,CAAC,GAAG,SAAS;;;;;;IA8B3D;;;OAGG;qBACoB,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAOvC,CAAA"}
|
|
@@ -5,96 +5,36 @@ import { BaseMongoSdk, BaseMongoSdkConfig } from '@xyo-network/sdk-xyo-mongo-js'
|
|
|
5
5
|
export type AnyAbstractModule<TParams extends MongoDBModuleParams = MongoDBModuleParams> = abstract new (...args: any[]) => Module<TParams>;
|
|
6
6
|
export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object").BaseParamsFields & {
|
|
7
7
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
11
|
-
readonly name?: string | undefined;
|
|
12
|
-
readonly paging?: Record<string, {
|
|
13
|
-
size?: number | undefined;
|
|
14
|
-
}> | undefined;
|
|
15
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
16
|
-
schema: "network.xyo.module.mongodb.config";
|
|
17
|
-
readonly security?: {
|
|
18
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
19
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
20
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
21
|
-
} | undefined;
|
|
22
|
-
readonly sign?: boolean | undefined;
|
|
23
|
-
readonly storeQueries?: boolean | undefined;
|
|
24
|
-
readonly timestamp?: boolean | undefined;
|
|
25
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
26
|
-
readonly archivist?: string | undefined;
|
|
27
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
28
|
-
readonly name?: string | undefined;
|
|
29
|
-
readonly paging?: Record<string, {
|
|
30
|
-
size?: number | undefined;
|
|
31
|
-
}> | undefined;
|
|
32
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
33
|
-
schema: "network.xyo.module.mongodb.config";
|
|
34
|
-
readonly security?: {
|
|
35
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
36
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
37
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
readonly sign?: boolean | undefined;
|
|
40
|
-
readonly storeQueries?: boolean | undefined;
|
|
41
|
-
readonly timestamp?: boolean | undefined;
|
|
42
|
-
} & {
|
|
8
|
+
addToResolvers?: boolean | undefined;
|
|
9
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
43
10
|
boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
|
|
44
11
|
payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
|
|
45
12
|
schema: "network.xyo.module.mongodb.config";
|
|
13
|
+
}, "schema"> & {
|
|
14
|
+
schema: "network.xyo.module.mongodb.config";
|
|
46
15
|
}, "schema"> & {
|
|
47
16
|
schema: string;
|
|
48
17
|
};
|
|
49
18
|
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
19
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
50
20
|
} & {
|
|
51
21
|
boundWitnessSdkConfig?: (import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPrivateConfig & Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig>) | undefined;
|
|
52
22
|
jobQueue?: import("@xyo-network/node-core-model").JobQueue | undefined;
|
|
53
23
|
payloadSdkConfig?: (import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPrivateConfig & Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig>) | undefined;
|
|
54
24
|
} = import("@xylabs/object").BaseParamsFields & {
|
|
55
25
|
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
59
|
-
readonly name?: string | undefined;
|
|
60
|
-
readonly paging?: Record<string, {
|
|
61
|
-
size?: number | undefined;
|
|
62
|
-
}> | undefined;
|
|
63
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
64
|
-
schema: "network.xyo.module.mongodb.config";
|
|
65
|
-
readonly security?: {
|
|
66
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
67
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
68
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
readonly sign?: boolean | undefined;
|
|
71
|
-
readonly storeQueries?: boolean | undefined;
|
|
72
|
-
readonly timestamp?: boolean | undefined;
|
|
73
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/payload-model").SchemaFields & object & {
|
|
74
|
-
readonly archivist?: string | undefined;
|
|
75
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
76
|
-
readonly name?: string | undefined;
|
|
77
|
-
readonly paging?: Record<string, {
|
|
78
|
-
size?: number | undefined;
|
|
79
|
-
}> | undefined;
|
|
80
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
81
|
-
schema: "network.xyo.module.mongodb.config";
|
|
82
|
-
readonly security?: {
|
|
83
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
84
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
85
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
86
|
-
} | undefined;
|
|
87
|
-
readonly sign?: boolean | undefined;
|
|
88
|
-
readonly storeQueries?: boolean | undefined;
|
|
89
|
-
readonly timestamp?: boolean | undefined;
|
|
90
|
-
} & {
|
|
26
|
+
addToResolvers?: boolean | undefined;
|
|
27
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
91
28
|
boundWitnessSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
|
|
92
29
|
payloadSdkConfig?: Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig> | undefined;
|
|
93
30
|
schema: "network.xyo.module.mongodb.config";
|
|
31
|
+
}, "schema"> & {
|
|
32
|
+
schema: "network.xyo.module.mongodb.config";
|
|
94
33
|
}, "schema"> & {
|
|
95
34
|
schema: string;
|
|
96
35
|
};
|
|
97
36
|
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
37
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
|
|
98
38
|
} & {
|
|
99
39
|
boundWitnessSdkConfig?: (import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPrivateConfig & Partial<import("@xyo-network/sdk-xyo-mongo-js").BaseMongoSdkPublicConfig>) | undefined;
|
|
100
40
|
jobQueue?: import("@xyo-network/node-core-model").JobQueue | undefined;
|
|
@@ -118,104 +58,44 @@ export declare const MongoDBModuleMixin: <TParams extends import("@xylabs/object
|
|
|
118
58
|
params: TParams;
|
|
119
59
|
previousHash: () => import("@xylabs/promise").Promisable<string | undefined>;
|
|
120
60
|
queries: string[];
|
|
121
|
-
query: <T extends import("@xyo-network/payload-model").SchemaFields &
|
|
61
|
+
query: <T extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
122
62
|
query: Lowercase<string>;
|
|
123
63
|
resultSet?: string | undefined;
|
|
124
64
|
schema: "network.xyo.boundwitness";
|
|
125
65
|
}, "schema"> & {
|
|
126
66
|
schema: "network.xyo.boundwitness";
|
|
127
|
-
} = import("@xyo-network/payload-model").SchemaFields &
|
|
67
|
+
} = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
128
68
|
query: Lowercase<string>;
|
|
129
69
|
resultSet?: string | undefined;
|
|
130
70
|
schema: "network.xyo.boundwitness";
|
|
131
71
|
}, "schema"> & {
|
|
132
72
|
schema: "network.xyo.boundwitness";
|
|
133
|
-
}, TConf extends import("@xyo-network/payload-model").SchemaFields &
|
|
134
|
-
readonly archivist?: string | undefined;
|
|
135
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
136
|
-
readonly name?: string | undefined;
|
|
137
|
-
readonly paging?: Record<string, {
|
|
138
|
-
size?: number | undefined;
|
|
139
|
-
}> | undefined;
|
|
140
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
73
|
+
}, TConf extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
141
74
|
schema: "network.xyo.module.config";
|
|
142
|
-
|
|
143
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
144
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
145
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
146
|
-
} | undefined;
|
|
147
|
-
readonly sign?: boolean | undefined;
|
|
148
|
-
readonly storeQueries?: boolean | undefined;
|
|
149
|
-
readonly timestamp?: boolean | undefined;
|
|
150
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
|
|
151
|
-
readonly archivist?: string | undefined;
|
|
152
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
153
|
-
readonly name?: string | undefined;
|
|
154
|
-
readonly paging?: Record<string, {
|
|
155
|
-
size?: number | undefined;
|
|
156
|
-
}> | undefined;
|
|
157
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
75
|
+
} = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
158
76
|
schema: "network.xyo.module.config";
|
|
159
|
-
|
|
160
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
161
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
162
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
163
|
-
} | undefined;
|
|
164
|
-
readonly sign?: boolean | undefined;
|
|
165
|
-
readonly storeQueries?: boolean | undefined;
|
|
166
|
-
readonly timestamp?: boolean | undefined;
|
|
167
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T, payloads?: ({
|
|
77
|
+
}>(query: T, payloads?: ({
|
|
168
78
|
schema: string;
|
|
169
|
-
} &
|
|
170
|
-
queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields &
|
|
79
|
+
} & import("@xyo-network/payload-model").PayloadFields)[] | undefined, queryConfig?: TConf | undefined) => import("@xylabs/promise").Promisable<import("@xyo-network/module-model").ModuleQueryResult>;
|
|
80
|
+
queryable: <T_1 extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
171
81
|
query: Lowercase<string>;
|
|
172
82
|
resultSet?: string | undefined;
|
|
173
83
|
schema: "network.xyo.boundwitness";
|
|
174
84
|
}, "schema"> & {
|
|
175
85
|
schema: "network.xyo.boundwitness";
|
|
176
|
-
} = import("@xyo-network/payload-model").SchemaFields &
|
|
86
|
+
} = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/boundwitness-model").BoundWitnessFields & {
|
|
177
87
|
query: Lowercase<string>;
|
|
178
88
|
resultSet?: string | undefined;
|
|
179
89
|
schema: "network.xyo.boundwitness";
|
|
180
90
|
}, "schema"> & {
|
|
181
91
|
schema: "network.xyo.boundwitness";
|
|
182
|
-
}, TConf_1 extends import("@xyo-network/payload-model").SchemaFields &
|
|
183
|
-
readonly archivist?: string | undefined;
|
|
184
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
185
|
-
readonly name?: string | undefined;
|
|
186
|
-
readonly paging?: Record<string, {
|
|
187
|
-
size?: number | undefined;
|
|
188
|
-
}> | undefined;
|
|
189
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
92
|
+
}, TConf_1 extends import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
190
93
|
schema: "network.xyo.module.config";
|
|
191
|
-
|
|
192
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
193
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
194
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
195
|
-
} | undefined;
|
|
196
|
-
readonly sign?: boolean | undefined;
|
|
197
|
-
readonly storeQueries?: boolean | undefined;
|
|
198
|
-
readonly timestamp?: boolean | undefined;
|
|
199
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig = import("@xyo-network/payload-model").SchemaFields & object & {
|
|
200
|
-
readonly archivist?: string | undefined;
|
|
201
|
-
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
202
|
-
readonly name?: string | undefined;
|
|
203
|
-
readonly paging?: Record<string, {
|
|
204
|
-
size?: number | undefined;
|
|
205
|
-
}> | undefined;
|
|
206
|
-
readonly retry?: import("@xylabs/retry").RetryConfig | undefined;
|
|
94
|
+
} = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
|
|
207
95
|
schema: "network.xyo.module.config";
|
|
208
|
-
|
|
209
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
210
|
-
readonly allowed?: Record<string, (Lowercase<string> | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
211
|
-
readonly disallowed?: Record<string, Lowercase<string>[]> | undefined;
|
|
212
|
-
} | undefined;
|
|
213
|
-
readonly sign?: boolean | undefined;
|
|
214
|
-
readonly storeQueries?: boolean | undefined;
|
|
215
|
-
readonly timestamp?: boolean | undefined;
|
|
216
|
-
} & import("@xyo-network/module-model").ArchivingModuleConfig>(query: T_1, payloads?: ({
|
|
96
|
+
}>(query: T_1, payloads?: ({
|
|
217
97
|
schema: string;
|
|
218
|
-
} &
|
|
98
|
+
} & import("@xyo-network/payload-model").PayloadFields)[] | undefined, queryConfig?: TConf_1 | undefined) => import("@xylabs/promise").Promisable<boolean>;
|
|
219
99
|
start?: (() => import("@xylabs/promise").Promisable<boolean>) | undefined;
|
|
220
100
|
stop?: (() => import("@xylabs/promise").Promisable<boolean>) | undefined;
|
|
221
101
|
eventData: import("@xyo-network/module-model").ModuleEventData<object>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Module.d.ts","sourceRoot":"","sources":["../../src/Module.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAClD,OAAO,EAAiB,mBAAmB,EAAuB,yBAAyB,EAAE,MAAM,mCAAmC,CAAA;AACtI,OAAO,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAC9F,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAQhF,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,mBAAmB,GAAG,mBAAmB,IAAI,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,CAAA;AAE3I,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"Module.d.ts","sourceRoot":"","sources":["../../src/Module.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAClD,OAAO,EAAiB,mBAAmB,EAAuB,yBAAyB,EAAE,MAAM,mCAAmC,CAAA;AACtI,OAAO,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAC9F,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAQhF,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,mBAAmB,GAAG,mBAAmB,IAAI,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,CAAA;AAE3I,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wFAIjB,OAAO,8BAN6F,GAAG,EAAE;sBAWjG,aAAa,yBAAyB,CAAC,GAAG,SAAS;iBACxD,aAAa,oBAAoB,CAAC,GAAG,SAAS;;;;;;IA8B3D;;;OAGG;qBACoB,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAOvC,CAAA"}
|