@xyo-network/module-model-mongodb 5.2.27 → 5.3.1
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/node/Schema.d.ts +3 -1
- package/dist/node/Schema.d.ts.map +1 -1
- package/dist/node/index.mjs +2 -1
- package/dist/node/index.mjs.map +1 -1
- package/package.json +5 -4
- package/src/Schema.ts +3 -1
package/dist/node/Schema.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export declare const MongoDBModuleConfigSchema
|
|
1
|
+
export declare const MongoDBModuleConfigSchema: "network.xyo.module.mongodb.config" & {
|
|
2
|
+
readonly __schema: true;
|
|
3
|
+
};
|
|
2
4
|
export type MongoDBModuleConfigSchema = typeof MongoDBModuleConfigSchema;
|
|
3
5
|
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB;;CAAsD,CAAA;AAC5F,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAA"}
|
package/dist/node/index.mjs
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
var MongoDBStorageClassLabels = { "network.xyo.storage.class": "mongodb" };
|
|
3
3
|
|
|
4
4
|
// src/Schema.ts
|
|
5
|
-
|
|
5
|
+
import { asSchema } from "@xyo-network/payload-model";
|
|
6
|
+
var MongoDBModuleConfigSchema = asSchema("network.xyo.module.mongodb.config", true);
|
|
6
7
|
export {
|
|
7
8
|
MongoDBModuleConfigSchema,
|
|
8
9
|
MongoDBStorageClassLabels
|
package/dist/node/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Labels.ts","../../src/Schema.ts"],"sourcesContent":["import type { Labels } from '@xyo-network/module-model'\n\nexport interface MongoDBStorageClassLabels extends Labels {\n 'network.xyo.storage.class': 'mongodb'\n}\n\nexport const MongoDBStorageClassLabels: MongoDBStorageClassLabels = { 'network.xyo.storage.class': 'mongodb' }\n","
|
|
1
|
+
{"version":3,"sources":["../../src/Labels.ts","../../src/Schema.ts"],"sourcesContent":["import type { Labels } from '@xyo-network/module-model'\n\nexport interface MongoDBStorageClassLabels extends Labels {\n 'network.xyo.storage.class': 'mongodb'\n}\n\nexport const MongoDBStorageClassLabels: MongoDBStorageClassLabels = { 'network.xyo.storage.class': 'mongodb' }\n","import { asSchema } from '@xyo-network/payload-model'\n\nexport const MongoDBModuleConfigSchema = asSchema('network.xyo.module.mongodb.config', true)\nexport type MongoDBModuleConfigSchema = typeof MongoDBModuleConfigSchema\n"],"mappings":";AAMO,IAAM,4BAAuD,EAAE,6BAA6B,UAAU;;;ACN7G,SAAS,gBAAgB;AAElB,IAAM,4BAA4B,SAAS,qCAAqC,IAAI;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/module-model-mongodb",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -40,9 +40,10 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@xylabs/mongo": "~5.0.64",
|
|
43
|
-
"@xyo-network/module-model": "~5.
|
|
44
|
-
"@xyo-network/payload-
|
|
45
|
-
"@xyo-network/
|
|
43
|
+
"@xyo-network/module-model": "~5.3.1",
|
|
44
|
+
"@xyo-network/payload-model": "~5.3.1",
|
|
45
|
+
"@xyo-network/payload-mongodb": "~5.3.1",
|
|
46
|
+
"@xyo-network/shared": "~5.3.1"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
49
|
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
package/src/Schema.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { asSchema } from '@xyo-network/payload-model'
|
|
2
|
+
|
|
3
|
+
export const MongoDBModuleConfigSchema = asSchema('network.xyo.module.mongodb.config', true)
|
|
2
4
|
export type MongoDBModuleConfigSchema = typeof MongoDBModuleConfigSchema
|