@nocobase/plugin-mobile 1.3.10-beta → 1.3.12-beta

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.
@@ -9,6 +9,5 @@
9
9
  import React, { FC } from 'react';
10
10
  export interface MobileProvidersProps {
11
11
  children?: React.ReactNode;
12
- skipLogin?: boolean;
13
12
  }
14
13
  export declare const MobileProviders: FC<MobileProvidersProps>;
@@ -8,22 +8,22 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "1.3.10-beta",
11
+ "@nocobase/client": "1.3.12-beta",
12
12
  "react": "18.2.0",
13
13
  "react-router-dom": "6.21.0",
14
14
  "react-i18next": "11.18.6",
15
- "@nocobase/server": "1.3.10-beta",
16
- "@nocobase/test": "1.3.10-beta",
15
+ "@nocobase/server": "1.3.12-beta",
16
+ "@nocobase/test": "1.3.12-beta",
17
+ "@nocobase/utils": "1.3.12-beta",
17
18
  "@formily/react": "2.3.0",
18
19
  "antd": "5.12.8",
19
- "@nocobase/utils": "1.3.10-beta",
20
- "@nocobase/plugin-mobile": "1.3.10-beta",
20
+ "@nocobase/plugin-mobile": "1.3.12-beta",
21
21
  "@ant-design/icons": "5.2.6",
22
22
  "lodash": "4.17.21",
23
- "@nocobase/database": "1.3.10-beta",
23
+ "@nocobase/database": "1.3.12-beta",
24
24
  "react-dom": "18.2.0",
25
25
  "antd-style": "3.4.5",
26
- "@nocobase/sdk": "1.3.10-beta",
26
+ "@nocobase/sdk": "1.3.12-beta",
27
27
  "@formily/antd-v5": "1.1.9",
28
28
  "@formily/shared": "2.3.0",
29
29
  "@emotion/css": "11.11.2"
@@ -33,10 +33,15 @@ module.exports = __toCommonJS(plugin_exports);
33
33
  var import_server = require("@nocobase/server");
34
34
  class PluginMobileServer extends import_server.Plugin {
35
35
  async load() {
36
+ this.app.acl.registerSnippet({
37
+ name: `ui.${this.name}`,
38
+ actions: ["mobileRoutes:create", "mobileRoutes:update", "mobileRoutes:destroy"]
39
+ });
36
40
  this.app.acl.registerSnippet({
37
41
  name: `pm.${this.name}`,
38
- actions: ["mobileRoutes:*"]
42
+ actions: ["mobileRoutes:list"]
39
43
  });
44
+ this.app.acl.allow("mobileRoutes", "list", "loggedIn");
40
45
  }
41
46
  }
42
47
  var plugin_default = PluginMobileServer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-mobile",
3
- "version": "1.3.10-beta",
3
+ "version": "1.3.12-beta",
4
4
  "main": "dist/server/index.js",
5
5
  "homepage": "https://docs.nocobase.com/handbook/mobile",
6
6
  "homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/mobile",
@@ -25,5 +25,5 @@
25
25
  "re-resizable": "6.6.0",
26
26
  "react-device-detect": "2.2.3"
27
27
  },
28
- "gitHead": "1ad27c284035654d19096959c0d2200fc9ffe9b1"
28
+ "gitHead": "5439d109f5da35bc3f2c8bcf82a0d6eb22a92b87"
29
29
  }