@nocobase/plugin-system-settings 0.21.0-alpha.1 → 0.21.0-alpha.10

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,5 +1,5 @@
1
1
  import { Plugin } from '@nocobase/client';
2
- declare class SystemSettingPlugin extends Plugin {
2
+ declare class PluginSystemSettingClient extends Plugin {
3
3
  load(): Promise<void>;
4
4
  }
5
- export default SystemSettingPlugin;
5
+ export default PluginSystemSettingClient;
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
- "@nocobase/client": "0.21.0-alpha.1",
3
- "@nocobase/server": "0.21.0-alpha.1",
4
- "@nocobase/database": "0.21.0-alpha.1"
2
+ "@nocobase/client": "0.21.0-alpha.10",
3
+ "@nocobase/server": "0.21.0-alpha.10",
4
+ "@nocobase/database": "0.21.0-alpha.10"
5
5
  };
@@ -1,8 +1,8 @@
1
1
  import { InstallOptions, Plugin } from '@nocobase/server';
2
- export declare class SystemSettingsPlugin extends Plugin {
2
+ export declare class PluginSystemSettingsServer extends Plugin {
3
3
  getInitAppLang(options: any): any;
4
4
  install(options?: InstallOptions): Promise<void>;
5
5
  beforeLoad(): void;
6
6
  load(): Promise<void>;
7
7
  }
8
- export default SystemSettingsPlugin;
8
+ export default PluginSystemSettingsServer;
@@ -17,13 +17,13 @@ var __copyProps = (to, from, except, desc) => {
17
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
18
  var server_exports = {};
19
19
  __export(server_exports, {
20
- SystemSettingsPlugin: () => SystemSettingsPlugin,
20
+ PluginSystemSettingsServer: () => PluginSystemSettingsServer,
21
21
  default: () => server_default
22
22
  });
23
23
  module.exports = __toCommonJS(server_exports);
24
24
  var import_server = require("@nocobase/server");
25
25
  var import_path = require("path");
26
- class SystemSettingsPlugin extends import_server.Plugin {
26
+ class PluginSystemSettingsServer extends import_server.Plugin {
27
27
  getInitAppLang(options) {
28
28
  var _a, _b, _c;
29
29
  return ((_c = (_b = (_a = options == null ? void 0 : options.cliArgs) == null ? void 0 : _a[0]) == null ? void 0 : _b.opts) == null ? void 0 : _c.lang) || process.env.INIT_APP_LANG || "en-US";
@@ -64,8 +64,8 @@ class SystemSettingsPlugin extends import_server.Plugin {
64
64
  this.app.acl.allow("systemSettings", "get", "public");
65
65
  }
66
66
  }
67
- var server_default = SystemSettingsPlugin;
67
+ var server_default = PluginSystemSettingsServer;
68
68
  // Annotate the CommonJS export names for ESM import in node:
69
69
  0 && (module.exports = {
70
- SystemSettingsPlugin
70
+ PluginSystemSettingsServer
71
71
  });
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "系统设置",
5
5
  "description": "Used to adjust the system title, logo, language, etc.",
6
6
  "description.zh-CN": "用于调整系统的标题、LOGO、语言等。",
7
- "version": "0.21.0-alpha.1",
7
+ "version": "0.21.0-alpha.10",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "homepage": "https://docs.nocobase.com/handbook/system-settings",
@@ -15,7 +15,7 @@
15
15
  "@nocobase/server": "0.x",
16
16
  "@nocobase/test": "0.x"
17
17
  },
18
- "gitHead": "afd2f3d1341b85ea9daa7b2667dd4ace1fafb7ff",
18
+ "gitHead": "98adf5ec996a4f359c6ca1c4a6ac837c43b6e268",
19
19
  "keywords": [
20
20
  "System management"
21
21
  ]