@xyo-network/archivist-model-mongodb 5.2.27 → 5.3.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.
@@ -1,3 +1,5 @@
1
- export declare const MongoDBArchivistConfigSchema = "network.xyo.archivist.mongodb.config";
1
+ export declare const MongoDBArchivistConfigSchema: "network.xyo.archivist.mongodb.config" & {
2
+ readonly __schema: true;
3
+ };
2
4
  export type MongoDBArchivistConfigSchema = typeof MongoDBArchivistConfigSchema;
3
5
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,yCAAyC,CAAA;AAClF,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAA"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B;;CAAyD,CAAA;AAClG,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAA"}
@@ -1,5 +1,6 @@
1
1
  // src/Schema.ts
2
- var MongoDBArchivistConfigSchema = "network.xyo.archivist.mongodb.config";
2
+ import { asSchema } from "@xyo-network/payload-model";
3
+ var MongoDBArchivistConfigSchema = asSchema("network.xyo.archivist.mongodb.config", true);
3
4
  export {
4
5
  MongoDBArchivistConfigSchema
5
6
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export const MongoDBArchivistConfigSchema = 'network.xyo.archivist.mongodb.config'\nexport type MongoDBArchivistConfigSchema = typeof MongoDBArchivistConfigSchema\n"],"mappings":";AAAO,IAAM,+BAA+B;","names":[]}
1
+ {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["import { asSchema } from '@xyo-network/payload-model'\n\nexport const MongoDBArchivistConfigSchema = asSchema('network.xyo.archivist.mongodb.config', true)\nexport type MongoDBArchivistConfigSchema = typeof MongoDBArchivistConfigSchema\n"],"mappings":";AAAA,SAAS,gBAAgB;AAElB,IAAM,+BAA+B,SAAS,wCAAwC,IAAI;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/archivist-model-mongodb",
3
- "version": "5.2.27",
3
+ "version": "5.3.0",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -40,8 +40,9 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "@xylabs/mongo": "~5.0.64",
43
- "@xyo-network/archivist-model": "~5.2.27",
44
- "@xyo-network/module-model": "~5.2.27"
43
+ "@xyo-network/archivist-model": "~5.3.0",
44
+ "@xyo-network/module-model": "~5.3.0",
45
+ "@xyo-network/payload-model": "~5.3.0"
45
46
  },
46
47
  "devDependencies": {
47
48
  "@xylabs/ts-scripts-yarn3": "~7.3.2",
package/src/Schema.ts CHANGED
@@ -1,2 +1,4 @@
1
- export const MongoDBArchivistConfigSchema = 'network.xyo.archivist.mongodb.config'
1
+ import { asSchema } from '@xyo-network/payload-model'
2
+
3
+ export const MongoDBArchivistConfigSchema = asSchema('network.xyo.archivist.mongodb.config', true)
2
4
  export type MongoDBArchivistConfigSchema = typeof MongoDBArchivistConfigSchema