@xyo-network/archivist-model-mongodb 5.3.22 → 5.3.24

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.
@@ -1,6 +1,6 @@
1
1
  import type { BaseMongoSdkPublicConfig } from '@xylabs/mongo';
2
2
  import type { ArchivistConfig } from '@xyo-network/archivist-model';
3
- import type { MongoDBArchivistConfigSchema } from './Schema.js';
3
+ import type { MongoDBArchivistConfigSchema } from './Schema.ts';
4
4
  export type MongoDBArchivistConfig = ArchivistConfig<{
5
5
  boundWitnessSdkConfig?: Partial<BaseMongoSdkPublicConfig>;
6
6
  payloadSdkConfig?: Partial<BaseMongoSdkPublicConfig>;
@@ -1,7 +1,7 @@
1
1
  import type { BaseMongoSdkPrivateConfig, BaseMongoSdkPublicConfig } from '@xylabs/mongo';
2
2
  import type { ArchivistParams } from '@xyo-network/archivist-model';
3
3
  import type { AnyConfigSchema } from '@xyo-network/module-model';
4
- import type { MongoDBArchivistConfig } from './Config.js';
4
+ import type { MongoDBArchivistConfig } from './Config.ts';
5
5
  export interface MongoDBArchivistParams extends ArchivistParams<AnyConfigSchema<MongoDBArchivistConfig>> {
6
6
  boundWitnessSdkConfig: BaseMongoSdkPrivateConfig & Partial<BaseMongoSdkPublicConfig>;
7
7
  payloadSdkConfig: BaseMongoSdkPrivateConfig & Partial<BaseMongoSdkPublicConfig>;
@@ -1,5 +1,5 @@
1
- export * from './Config.js';
2
- export * from './Labels.js';
3
- export * from './Params.js';
4
- export * from './Schema.js';
1
+ export * from './Config.ts';
2
+ export * from './Labels.ts';
3
+ export * from './Params.ts';
4
+ export * from './Schema.ts';
5
5
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/archivist-model-mongodb",
3
- "version": "5.3.22",
3
+ "version": "5.3.24",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -33,37 +33,33 @@
33
33
  "types": "dist/node/index.d.ts",
34
34
  "files": [
35
35
  "dist",
36
- "src",
37
36
  "!**/*.bench.*",
38
37
  "!**/*.spec.*",
39
38
  "!**/*.test.*",
40
39
  "README.md"
41
40
  ],
42
41
  "dependencies": {
43
- "@xyo-network/archivist-model": "~5.3.22",
44
- "@xyo-network/module-model": "~5.3.22",
45
- "@xyo-network/payload-model": "~5.3.22"
42
+ "@xyo-network/archivist-model": "~5.3.24",
43
+ "@xyo-network/module-model": "~5.3.24",
44
+ "@xyo-network/payload-model": "~5.3.24"
46
45
  },
47
46
  "devDependencies": {
48
47
  "@opentelemetry/api": "^1.9.1",
49
48
  "@types/node": "^25.5.0",
50
- "@xylabs/mongo": "^5.0.91",
51
- "@xylabs/sdk-js": "^5.0.91",
52
- "@xylabs/ts-scripts-common": "~7.6.8",
53
- "@xylabs/ts-scripts-yarn3": "~7.6.8",
54
- "@xylabs/tsconfig": "~7.6.8",
55
- "@xyo-network/archivist-model": "~5.3.22",
56
- "@xyo-network/module-model": "~5.3.22",
57
- "@xyo-network/payload-model": "~5.3.22",
49
+ "@xylabs/mongo": "^5.0.93",
50
+ "@xylabs/sdk-js": "^5.0.93",
51
+ "@xylabs/ts-scripts-common": "~7.6.16",
52
+ "@xylabs/ts-scripts-pnpm": "~7.6.16",
53
+ "@xylabs/tsconfig": "~7.6.16",
58
54
  "acorn": "^8.16.0",
59
55
  "axios": "^1.14.0",
60
- "cosmiconfig": "^9.0.1",
61
- "esbuild": "^0.27.4",
62
- "eslint": "^10.1.0",
56
+ "esbuild": "^0.28.0",
63
57
  "mongodb": "^7.1.1",
64
- "rollup": "^4.60.1",
65
58
  "typescript": "~5.9.3",
66
- "zod": "^4.3.6"
59
+ "zod": "^4.3.6",
60
+ "@xyo-network/module-model": "~5.3.24",
61
+ "@xyo-network/archivist-model": "~5.3.24",
62
+ "@xyo-network/payload-model": "~5.3.24"
67
63
  },
68
64
  "peerDependencies": {
69
65
  "@xylabs/mongo": "^5",
@@ -77,4 +73,4 @@
77
73
  "publishConfig": {
78
74
  "access": "public"
79
75
  }
80
- }
76
+ }
package/src/Config.ts DELETED
@@ -1,10 +0,0 @@
1
- import type { BaseMongoSdkPublicConfig } from '@xylabs/mongo'
2
- import type { ArchivistConfig } from '@xyo-network/archivist-model'
3
-
4
- import type { MongoDBArchivistConfigSchema } from './Schema.js'
5
-
6
- export type MongoDBArchivistConfig = ArchivistConfig<{
7
- boundWitnessSdkConfig?: Partial<BaseMongoSdkPublicConfig>
8
- payloadSdkConfig?: Partial<BaseMongoSdkPublicConfig>
9
- schema: MongoDBArchivistConfigSchema
10
- }>
package/src/ConfigV2.ts DELETED
@@ -1,9 +0,0 @@
1
- import type { BaseMongoSdkPublicConfig } from '@xylabs/mongo'
2
- import type { ArchivistConfig } from '@xyo-network/archivist-model'
3
-
4
- import type { MongoDBArchivistConfigSchema } from './Schema.ts'
5
-
6
- export type MongoDBArchivistConfigV2 = ArchivistConfig<{
7
- payloadSdkConfig?: Partial<BaseMongoSdkPublicConfig>
8
- schema: MongoDBArchivistConfigSchema
9
- }>
package/src/Labels.ts DELETED
@@ -1,5 +0,0 @@
1
- import type { Labels } from '@xyo-network/module-model'
2
-
3
- export interface ArchivistLabels extends Labels {
4
- 'network.xyo.archivist.persistence.scope': 'memory' | 'thread' | 'process' | 'disk' | 'network'
5
- }
package/src/Params.ts DELETED
@@ -1,11 +0,0 @@
1
- import type { BaseMongoSdkPrivateConfig, BaseMongoSdkPublicConfig } from '@xylabs/mongo'
2
- import type { ArchivistParams } from '@xyo-network/archivist-model'
3
- import type { AnyConfigSchema } from '@xyo-network/module-model'
4
-
5
- import type { MongoDBArchivistConfig } from './Config.js'
6
-
7
- export interface MongoDBArchivistParams extends ArchivistParams<
8
- AnyConfigSchema<MongoDBArchivistConfig>> {
9
- boundWitnessSdkConfig: BaseMongoSdkPrivateConfig & Partial<BaseMongoSdkPublicConfig>
10
- payloadSdkConfig: BaseMongoSdkPrivateConfig & Partial<BaseMongoSdkPublicConfig>
11
- }
package/src/Schema.ts DELETED
@@ -1,4 +0,0 @@
1
- import { asSchema } from '@xyo-network/payload-model'
2
-
3
- export const MongoDBArchivistConfigSchema = asSchema('network.xyo.archivist.mongodb.config', true)
4
- export type MongoDBArchivistConfigSchema = typeof MongoDBArchivistConfigSchema
package/src/index.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from './Config.js'
2
- export * from './Labels.js'
3
- export * from './Params.js'
4
- export * from './Schema.js'