@nocobase/plugin-notifications 0.5.0-alpha.32 → 0.5.0-alpha.36

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/lib/server.js CHANGED
@@ -92,7 +92,7 @@ const database_1 = require("@nocobase/database");
92
92
 
93
93
  const models = __importStar(require("./models"));
94
94
 
95
- database_1.registerModels(models);
95
+ (0, database_1.registerModels)(models);
96
96
  exports.default = {
97
97
  name: 'notifications',
98
98
 
package/lib/server.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["server.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,iDAA8D;AAE9D,iDAAmC;AAEnC,yBAAc,CAAC,MAAM,CAAC,CAAC;AAEvB,kBAAe;IACb,IAAI,EAAE,eAAe;IACf,IAAI;;YACR,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC;gBACjB,SAAS,EAAE,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,aAAa,CAAC;aAClD,CAAC,CAAC;QACL,CAAC;KAAA;CACe,CAAA","file":"server.js","sourcesContent":["import path from 'path';\nimport Database, { registerModels } from '@nocobase/database';\nimport { PluginOptions } from '@nocobase/server';\nimport * as models from './models';\n\nregisterModels(models);\n\nexport default {\n name: 'notifications',\n async load() {\n this.app.db.import({\n directory: path.resolve(__dirname, 'collections'),\n });\n }\n} as PluginOptions\n"]}
1
+ {"version":3,"sources":["server.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAwB;AACxB,iDAA8D;AAE9D,iDAAmC;AAEnC,IAAA,yBAAc,EAAC,MAAM,CAAC,CAAC;AAEvB,kBAAe;IACb,IAAI,EAAE,eAAe;IACf,IAAI;;YACR,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC;gBACjB,SAAS,EAAE,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,aAAa,CAAC;aAClD,CAAC,CAAC;QACL,CAAC;KAAA;CACe,CAAA","file":"server.js","sourcesContent":["import path from 'path';\nimport Database, { registerModels } from '@nocobase/database';\nimport { PluginOptions } from '@nocobase/server';\nimport * as models from './models';\n\nregisterModels(models);\n\nexport default {\n name: 'notifications',\n async load() {\n this.app.db.import({\n directory: path.resolve(__dirname, 'collections'),\n });\n }\n} as PluginOptions\n"]}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-notifications",
3
- "version": "0.5.0-alpha.32",
3
+ "version": "0.5.0-alpha.36",
4
4
  "main": "lib/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
- "@nocobase/server": "^0.5.0-alpha.32",
7
+ "@nocobase/server": "^0.5.0-alpha.36",
8
8
  "nodemailer": "^6.6.1"
9
9
  },
10
- "gitHead": "7be6327458cb376e7281cff42a43a282105b65f8"
10
+ "gitHead": "9998cd903bf87bf9a5d8a7616055f0cd1a007a72"
11
11
  }