@nocobase/plugin-api-keys 0.17.0-alpha.2 → 0.17.0-alpha.3

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,7 +1,7 @@
1
1
  module.exports = {
2
- "@nocobase/client": "0.17.0-alpha.2",
3
- "@nocobase/database": "0.17.0-alpha.2",
4
- "@nocobase/server": "0.17.0-alpha.2",
2
+ "@nocobase/client": "0.17.0-alpha.3",
3
+ "@nocobase/database": "0.17.0-alpha.3",
4
+ "@nocobase/server": "0.17.0-alpha.3",
5
5
  "@formily/react": "2.2.27",
6
6
  "ahooks": "3.7.8",
7
7
  "antd": "5.8.6",
@@ -9,5 +9,5 @@ module.exports = {
9
9
  "react": "18.2.0",
10
10
  "@formily/shared": "2.2.27",
11
11
  "react-i18next": "11.18.6",
12
- "@nocobase/actions": "0.17.0-alpha.2"
12
+ "@nocobase/actions": "0.17.0-alpha.3"
13
13
  };
@@ -0,0 +1,21 @@
1
+ {
2
+ "API keys": "API keys",
3
+ "API key created successfully": "API key created successfully",
4
+ "Make sure to copy your personal access key now as you will not be able to see this again.": "Make sure to copy your personal access key now as you will not be able to see this again.",
5
+ "Key name": "Key name",
6
+ "Expiration": "Expiration",
7
+ "Delete API key": "Delete API key",
8
+ "Role": "Role",
9
+ "Keys manager": "Keys manager",
10
+ "Created at": "Created at",
11
+ "Add API key": "Add API key",
12
+ "Never": "Never",
13
+ "Custom": "Custom",
14
+ "Never expires": "Never expires",
15
+ "1 Day": "1 Day",
16
+ "7 Days": "7 Days",
17
+ "30 Days": "30 Days",
18
+ "90 Days": "90 Days",
19
+ "Role not found": "Role not found",
20
+ "Allow only your own roles to be selected": "Allow only your own roles to be selected"
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "API keys": "API 密钥",
3
+ "API key created successfully": "API 密钥创建成功",
4
+ "Make sure to copy your personal access key now as you will not be able to see this again.": "请确保现在复制你的个人访问密钥,因为你将无法再次看到这个密钥。",
5
+ "Key name": "密钥名称",
6
+ "Expiration": "过期时间",
7
+ "Delete API key": "删除 API 密钥",
8
+ "Role": "角色",
9
+ "Keys manager": "密钥管理",
10
+ "Created at": "创建时间",
11
+ "Add API key": "添加 API 密钥",
12
+ "Never": "永不",
13
+ "Custom": "自定义",
14
+ "Never expires": "永不过期",
15
+ "1 Day": "1 天",
16
+ "7 Days": "7 天",
17
+ "30 Days": "30 天",
18
+ "90 Days": "90 天",
19
+ "Role not found": "角色不存在",
20
+ "Allow only your own roles to be selected": "只允许选择你自己拥有的角色"
21
+ }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "API 密钥",
5
5
  "description": "Allows users to use API key to access NocoBase HTTP API",
6
6
  "description.zh-CN": "允许用户使用 API 密钥访问 NocoBase HTTP API",
7
- "version": "0.17.0-alpha.2",
7
+ "version": "0.17.0-alpha.3",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "devDependencies": {
@@ -27,5 +27,5 @@
27
27
  "@nocobase/test": "0.x",
28
28
  "@nocobase/utils": "0.x"
29
29
  },
30
- "gitHead": "c4d4383a1fde1058011e2f1fd1d9272812e6daeb"
30
+ "gitHead": "8fb3aace819722ceb845ea63ec3009f324a897a9"
31
31
  }
@@ -1,2 +0,0 @@
1
- declare const locale: {};
2
- export default locale;
@@ -1,24 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var en_US_exports = {};
19
- __export(en_US_exports, {
20
- default: () => en_US_default
21
- });
22
- module.exports = __toCommonJS(en_US_exports);
23
- const locale = {};
24
- var en_US_default = locale;
@@ -1,2 +0,0 @@
1
- declare const locale: {};
2
- export default locale;
@@ -1,24 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var fr_FR_exports = {};
19
- __export(fr_FR_exports, {
20
- default: () => fr_FR_default
21
- });
22
- module.exports = __toCommonJS(fr_FR_exports);
23
- const locale = {};
24
- var fr_FR_default = locale;
@@ -1,22 +0,0 @@
1
- declare const locale: {
2
- 'API keys': string;
3
- 'API key created successfully': string;
4
- 'Make sure to copy your personal access key now as you will not be able to see this again.': string;
5
- 'Key name': string;
6
- Expiration: string;
7
- 'Delete API key': string;
8
- Role: string;
9
- 'Keys manager': string;
10
- 'Created at': string;
11
- 'Add API key': string;
12
- Never: string;
13
- Custom: string;
14
- 'Never expires': string;
15
- '1 Day': string;
16
- '7 Days': string;
17
- '30 Days': string;
18
- '90 Days': string;
19
- 'Role not found': string;
20
- 'Allow only your own roles to be selected': string;
21
- };
22
- export default locale;
@@ -1,44 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var zh_CN_exports = {};
19
- __export(zh_CN_exports, {
20
- default: () => zh_CN_default
21
- });
22
- module.exports = __toCommonJS(zh_CN_exports);
23
- const locale = {
24
- "API keys": "API \u5BC6\u94A5",
25
- "API key created successfully": "API \u5BC6\u94A5\u521B\u5EFA\u6210\u529F",
26
- "Make sure to copy your personal access key now as you will not be able to see this again.": "\u8BF7\u786E\u4FDD\u73B0\u5728\u590D\u5236\u4F60\u7684\u4E2A\u4EBA\u8BBF\u95EE\u5BC6\u94A5\uFF0C\u56E0\u4E3A\u4F60\u5C06\u65E0\u6CD5\u518D\u6B21\u770B\u5230\u8FD9\u4E2A\u5BC6\u94A5\u3002",
27
- "Key name": "\u5BC6\u94A5\u540D\u79F0",
28
- Expiration: "\u8FC7\u671F\u65F6\u95F4",
29
- "Delete API key": "\u5220\u9664 API \u5BC6\u94A5",
30
- Role: "\u89D2\u8272",
31
- "Keys manager": "\u5BC6\u94A5\u7BA1\u7406",
32
- "Created at": "\u521B\u5EFA\u65F6\u95F4",
33
- "Add API key": "\u6DFB\u52A0 API \u5BC6\u94A5",
34
- Never: "\u6C38\u4E0D",
35
- Custom: "\u81EA\u5B9A\u4E49",
36
- "Never expires": "\u6C38\u4E0D\u8FC7\u671F",
37
- "1 Day": "1 \u5929",
38
- "7 Days": "7 \u5929",
39
- "30 Days": "30 \u5929",
40
- "90 Days": "90 \u5929",
41
- "Role not found": "\u89D2\u8272\u4E0D\u5B58\u5728",
42
- "Allow only your own roles to be selected": "\u53EA\u5141\u8BB8\u9009\u62E9\u4F60\u81EA\u5DF1\u62E5\u6709\u7684\u89D2\u8272"
43
- };
44
- var zh_CN_default = locale;