@nocobase/plugin-china-region
Advanced tools
Comparing version 0.18.0-alpha.9 to 0.19.0-alpha.1
module.exports = { | ||
"@formily/core": "2.3.0", | ||
"@formily/react": "2.3.0", | ||
"@nocobase/client": "0.18.0-alpha.9", | ||
"@nocobase/server": "0.18.0-alpha.9", | ||
"@nocobase/client": "0.19.0-alpha.1", | ||
"@nocobase/server": "0.19.0-alpha.1", | ||
"china-division": "2.7.0", | ||
"@nocobase/database": "0.18.0-alpha.9" | ||
"@nocobase/database": "0.19.0-alpha.1" | ||
}; |
@@ -25,6 +25,4 @@ var __defProp = Object.defineProperty; | ||
var chinaRegions_default = (0, import_database.defineCollection)({ | ||
namespace: "china-region.china-region", | ||
duplicator: "skip", | ||
dumpRules: "skipped", | ||
name: "chinaRegions", | ||
title: "\u4E2D\u56FD\u884C\u653F\u533A\u5212", | ||
autoGenId: false, | ||
@@ -31,0 +29,0 @@ fields: [ |
@@ -39,5 +39,3 @@ var __defProp = Object.defineProperty; | ||
async load() { | ||
await this.db.import({ | ||
directory: (0, import_path.resolve)(__dirname, "collections") | ||
}); | ||
await this.importCollections((0, import_path.resolve)(__dirname, "collections")); | ||
this.app.acl.allow("chinaRegions", "list", "loggedIn"); | ||
@@ -44,0 +42,0 @@ this.app.resourcer.use(async (ctx, next) => { |
{ | ||
"name": "@nocobase/plugin-china-region", | ||
"version": "0.18.0-alpha.9", | ||
"version": "0.19.0-alpha.1", | ||
"displayName": "China region", | ||
@@ -23,3 +23,3 @@ "displayName.zh-CN": "中国行政区", | ||
}, | ||
"gitHead": "34ca0df4eede2e83fc86297b0fe19eba970e2b1b" | ||
"gitHead": "64601944412fc4d2e2bd05f4b982118dd28247dc" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
296261
312