@nocobase/plugin-verification 0.18.0-alpha.9 → 0.19.0-alpha.2

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.
@@ -3,13 +3,13 @@ module.exports = {
3
3
  "@formily/core": "2.3.0",
4
4
  "@formily/react": "2.3.0",
5
5
  "react": "18.2.0",
6
- "@nocobase/client": "0.18.0-alpha.9",
7
- "antd": "5.12.2",
8
- "@nocobase/actions": "0.18.0-alpha.9",
9
- "@nocobase/database": "0.18.0-alpha.9",
10
- "@nocobase/resourcer": "0.18.0-alpha.9",
11
- "@nocobase/server": "0.18.0-alpha.9",
12
- "@nocobase/utils": "0.18.0-alpha.9",
6
+ "@nocobase/client": "0.19.0-alpha.2",
7
+ "antd": "5.12.8",
8
+ "@nocobase/actions": "0.19.0-alpha.2",
9
+ "@nocobase/database": "0.19.0-alpha.2",
10
+ "@nocobase/resourcer": "0.19.0-alpha.2",
11
+ "@nocobase/server": "0.19.0-alpha.2",
12
+ "@nocobase/utils": "0.19.0-alpha.2",
13
13
  "react-i18next": "11.18.6",
14
14
  "@formily/shared": "2.3.0",
15
15
  "dayjs": "1.11.10"
@@ -1 +1 @@
1
- {"name":"@alicloud/dysmsapi20170525","version":"2.0.17","description":"","main":"dist/client.js","scripts":{"test":"mocha --reporter spec --timeout 3000 test/*.test.js","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Alibaba Cloud SDK","license":"Apache-2.0","devDependencies":{"@types/node":"^12.12.26","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.7.1","@alicloud/tea-util":"^1.4.4","@alicloud/openapi-client":"^0.4.1","@alicloud/endpoint-util":"^0.0.1","@alicloud/openapi-util":"^0.2.9"},"files":["dist","src"],"_lastModified":"2024-01-03T02:11:08.470Z"}
1
+ {"name":"@alicloud/dysmsapi20170525","version":"2.0.17","description":"","main":"dist/client.js","scripts":{"test":"mocha --reporter spec --timeout 3000 test/*.test.js","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Alibaba Cloud SDK","license":"Apache-2.0","devDependencies":{"@types/node":"^12.12.26","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.7.1","@alicloud/tea-util":"^1.4.4","@alicloud/openapi-client":"^0.4.1","@alicloud/endpoint-util":"^0.0.1","@alicloud/openapi-util":"^0.2.9"},"files":["dist","src"],"_lastModified":"2024-01-09T01:25:32.827Z"}
@@ -1 +1 @@
1
- {"name":"@alicloud/openapi-client","version":"0.4.1","description":"","main":"dist/client.js","scripts":{"test":"mocha --reporter spec --timeout 3000 test/*.test.js","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"","license":"ISC","devDependencies":{"@types/node":"^12.12.26","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.7.1","@alicloud/tea-util":"^1.4.0","@alicloud/credentials":"^2","@alicloud/openapi-util":"^0.2.7","@alicloud/gateway-spi":"^0.0.8"},"files":["dist","src"],"_lastModified":"2024-01-03T02:11:08.951Z"}
1
+ {"name":"@alicloud/openapi-client","version":"0.4.1","description":"","main":"dist/client.js","scripts":{"test":"mocha --reporter spec --timeout 3000 test/*.test.js","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"","license":"ISC","devDependencies":{"@types/node":"^12.12.26","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.7.1","@alicloud/tea-util":"^1.4.0","@alicloud/credentials":"^2","@alicloud/openapi-util":"^0.2.7","@alicloud/gateway-spi":"^0.0.8"},"files":["dist","src"],"_lastModified":"2024-01-09T01:25:33.291Z"}
@@ -1 +1 @@
1
- {"name":"@alicloud/tea-util","version":"1.4.4","description":"","main":"dist/client.js","scripts":{"test":"mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Jackson Tian","license":"Apache-2.0","devDependencies":{"@types/mocha":"^7.0.1","@types/node":"^12.12.26","mocha":"^7.0.1","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.5.1","kitx":"^2.0.0"},"files":["dist","src"],"_lastModified":"2024-01-03T02:11:09.165Z"}
1
+ {"name":"@alicloud/tea-util","version":"1.4.4","description":"","main":"dist/client.js","scripts":{"test":"mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Jackson Tian","license":"Apache-2.0","devDependencies":{"@types/mocha":"^7.0.1","@types/node":"^12.12.26","mocha":"^7.0.1","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.5.1","kitx":"^2.0.0"},"files":["dist","src"],"_lastModified":"2024-01-09T01:25:33.506Z"}
@@ -1 +1 @@
1
- {"name":"tencentcloud-sdk-nodejs","version":"4.0.759","description":"腾讯云 API NODEJS SDK","main":"tencentcloud/index.js","scripts":{"test":"mocha -t 10000","build":"tsc","prettier":"prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'"},"engines":{"node":">=10"},"keywords":["tencentcloudapi","tencentcloud","qcloud","sdk","js","nodejs"],"author":"tencentcloudapi","license":"Apache-2.0","dependencies":{"form-data":"^3.0.0","get-stream":"^6.0.0","https-proxy-agent":"^5.0.0","is-stream":"^2.0.0","json-bigint":"^1.0.0","node-fetch":"^2.2.0","tslib":"1.13.0"},"directories":{"example":"examples","lib":"lib"},"repository":{"type":"git","url":"https://github.com/tencentcloud/tencentcloud-sdk-nodejs"},"devDependencies":{"@types/form-data":"^2.5.0","@types/json-bigint":"^1.0.1","@types/node":"^14.0.26","@types/node-fetch":"^2.5.7","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","babel-eslint":"^10.0.2","chai":"^4.2.0","eslint":"^6.8.0","eslint-plugin-react":"^7.17.0","mocha":"^8.1.1","prettier":"^2.3.0","ts-node":"^8.10.2","typescript":"^3.9.7"},"_lastModified":"2024-01-03T02:11:15.930Z"}
1
+ {"name":"tencentcloud-sdk-nodejs","version":"4.0.759","description":"腾讯云 API NODEJS SDK","main":"tencentcloud/index.js","scripts":{"test":"mocha -t 10000","build":"tsc","prettier":"prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'"},"engines":{"node":">=10"},"keywords":["tencentcloudapi","tencentcloud","qcloud","sdk","js","nodejs"],"author":"tencentcloudapi","license":"Apache-2.0","dependencies":{"form-data":"^3.0.0","get-stream":"^6.0.0","https-proxy-agent":"^5.0.0","is-stream":"^2.0.0","json-bigint":"^1.0.0","node-fetch":"^2.2.0","tslib":"1.13.0"},"directories":{"example":"examples","lib":"lib"},"repository":{"type":"git","url":"https://github.com/tencentcloud/tencentcloud-sdk-nodejs"},"devDependencies":{"@types/form-data":"^2.5.0","@types/json-bigint":"^1.0.1","@types/node":"^14.0.26","@types/node-fetch":"^2.5.7","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","babel-eslint":"^10.0.2","chai":"^4.2.0","eslint":"^6.8.0","eslint-plugin-react":"^7.17.0","mocha":"^8.1.1","prettier":"^2.3.0","ts-node":"^8.10.2","typescript":"^3.9.7"},"_lastModified":"2024-01-09T01:25:39.939Z"}
@@ -1,31 +1,2 @@
1
- declare const _default: {
2
- namespace: string;
3
- duplicator: string;
4
- name: string;
5
- fields: ({
6
- type: string;
7
- name: string;
8
- primaryKey: boolean;
9
- defaultValue?: undefined;
10
- target?: undefined;
11
- } | {
12
- type: string;
13
- name: string;
14
- primaryKey?: undefined;
15
- defaultValue?: undefined;
16
- target?: undefined;
17
- } | {
18
- type: string;
19
- name: string;
20
- defaultValue: number;
21
- primaryKey?: undefined;
22
- target?: undefined;
23
- } | {
24
- type: string;
25
- name: string;
26
- target: string;
27
- primaryKey?: undefined;
28
- defaultValue?: undefined;
29
- })[];
30
- };
1
+ declare const _default: import("@nocobase/database").CollectionOptions;
31
2
  export default _default;
@@ -20,10 +20,13 @@ __export(verifications_exports, {
20
20
  default: () => verifications_default
21
21
  });
22
22
  module.exports = __toCommonJS(verifications_exports);
23
- var verifications_default = {
24
- namespace: "verification.verificationData",
25
- duplicator: "optional",
23
+ var import_database = require("@nocobase/database");
24
+ var verifications_default = (0, import_database.defineCollection)({
25
+ dumpRules: {
26
+ group: "log"
27
+ },
26
28
  name: "verifications",
29
+ shared: true,
27
30
  fields: [
28
31
  {
29
32
  type: "uuid",
@@ -57,4 +60,4 @@ var verifications_default = {
57
60
  target: "verifications_providers"
58
61
  }
59
62
  ]
60
- };
63
+ });
@@ -1,15 +1,2 @@
1
- declare const _default: {
2
- namespace: string;
3
- duplicator: string;
4
- name: string;
5
- fields: ({
6
- type: string;
7
- name: string;
8
- primaryKey: boolean;
9
- } | {
10
- type: string;
11
- name: string;
12
- primaryKey?: undefined;
13
- })[];
14
- };
1
+ declare const _default: import("@nocobase/database").CollectionOptions;
15
2
  export default _default;
@@ -20,10 +20,13 @@ __export(verifications_providers_exports, {
20
20
  default: () => verifications_providers_default
21
21
  });
22
22
  module.exports = __toCommonJS(verifications_providers_exports);
23
- var verifications_providers_default = {
24
- namespace: "verification.verificationProviders",
25
- duplicator: "optional",
23
+ var import_database = require("@nocobase/database");
24
+ var verifications_providers_default = (0, import_database.defineCollection)({
25
+ dumpRules: {
26
+ group: "third-party"
27
+ },
26
28
  name: "verifications_providers",
29
+ shared: true,
27
30
  fields: [
28
31
  {
29
32
  type: "string",
@@ -47,4 +50,4 @@ var verifications_providers_default = {
47
50
  name: "default"
48
51
  }
49
52
  ]
50
- };
53
+ });
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "验证码",
5
5
  "description": "verification setting.",
6
6
  "description.zh-CN": "验证码配置。",
7
- "version": "0.18.0-alpha.9",
7
+ "version": "0.19.0-alpha.2",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "devDependencies": {
@@ -29,5 +29,5 @@
29
29
  "@nocobase/test": "0.x",
30
30
  "@nocobase/utils": "0.x"
31
31
  },
32
- "gitHead": "34ca0df4eede2e83fc86297b0fe19eba970e2b1b"
32
+ "gitHead": "cff5b77ecf12ccdb450d50d505b3aa44a68478c8"
33
33
  }