@xyo-network/module-model-mongodb 3.18.2 → 3.18.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types/ConfigV2.d.ts
CHANGED
|
@@ -2,6 +2,13 @@ import type { BaseMongoSdkPublicConfig } from '@xylabs/mongo';
|
|
|
2
2
|
import type { ModuleConfig } from '@xyo-network/module-model';
|
|
3
3
|
import type { MongoDBModuleConfigSchema } from './Schema.ts';
|
|
4
4
|
export type MongoDBModuleConfigV2 = ModuleConfig<{
|
|
5
|
+
/**
|
|
6
|
+
* The maximum number of payloads to store in the archivist.
|
|
7
|
+
* If not specified, there is no limit. If specified, the archivist
|
|
8
|
+
* will automatically clear old payloads when the limit is reached
|
|
9
|
+
* in a LIFO fashion.
|
|
10
|
+
*/
|
|
11
|
+
max?: number;
|
|
5
12
|
payloadSdkConfig?: Partial<BaseMongoSdkPublicConfig>;
|
|
6
13
|
schema: MongoDBModuleConfigSchema;
|
|
7
14
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigV2.d.ts","sourceRoot":"","sources":["../../src/ConfigV2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAE5D,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC;IAC/C,gBAAgB,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAA;IACpD,MAAM,EAAE,yBAAyB,CAAA;CAClC,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"ConfigV2.d.ts","sourceRoot":"","sources":["../../src/ConfigV2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAE5D,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC;IAC/C;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAA;IACpD,MAAM,EAAE,yBAAyB,CAAA;CAClC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/module-model-mongodb",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.3",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"module": "dist/node/index.mjs",
|
|
38
38
|
"types": "dist/types/index.d.ts",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@xylabs/mongo": "^4.11.
|
|
41
|
-
"@xyo-network/module-model": "^3.18.
|
|
42
|
-
"@xyo-network/payload-mongodb": "^3.18.
|
|
43
|
-
"@xyo-network/shared": "^3.18.
|
|
40
|
+
"@xylabs/mongo": "^4.11.14",
|
|
41
|
+
"@xyo-network/module-model": "^3.18.3",
|
|
42
|
+
"@xyo-network/payload-mongodb": "^3.18.3",
|
|
43
|
+
"@xyo-network/shared": "^3.18.3"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@xylabs/ts-scripts-yarn3": "^6.5.
|
|
47
|
-
"@xylabs/tsconfig": "^6.5.
|
|
46
|
+
"@xylabs/ts-scripts-yarn3": "^6.5.8",
|
|
47
|
+
"@xylabs/tsconfig": "^6.5.8",
|
|
48
48
|
"typescript": "^5.8.3"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
package/src/ConfigV2.ts
CHANGED
|
@@ -4,6 +4,13 @@ import type { ModuleConfig } from '@xyo-network/module-model'
|
|
|
4
4
|
import type { MongoDBModuleConfigSchema } from './Schema.ts'
|
|
5
5
|
|
|
6
6
|
export type MongoDBModuleConfigV2 = ModuleConfig<{
|
|
7
|
+
/**
|
|
8
|
+
* The maximum number of payloads to store in the archivist.
|
|
9
|
+
* If not specified, there is no limit. If specified, the archivist
|
|
10
|
+
* will automatically clear old payloads when the limit is reached
|
|
11
|
+
* in a LIFO fashion.
|
|
12
|
+
*/
|
|
13
|
+
max?: number
|
|
7
14
|
payloadSdkConfig?: Partial<BaseMongoSdkPublicConfig>
|
|
8
15
|
schema: MongoDBModuleConfigSchema
|
|
9
16
|
}>
|