@tachybase/plugin-action-share 1.3.21 → 1.3.23

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,12 +1,10 @@
1
1
  module.exports = {
2
- "@tachybase/client": "1.3.21",
2
+ "@tachybase/client": "1.3.23",
3
3
  "react-router": "6.28.1",
4
- "@tachybase/actions": "1.3.21",
5
- "@tachybase/auth": "1.3.21",
6
- "@tachybase/server": "1.3.21",
4
+ "@tego/server": "1.3.43",
7
5
  "react": "18.3.1",
8
- "@tachybase/schema": "1.3.21",
9
- "@ant-design/icons": "5.3.7",
6
+ "@tachybase/schema": "1.3.43",
7
+ "@ant-design/icons": "5.6.1",
10
8
  "antd": "5.22.5",
11
9
  "@emotion/css": "11.13.5",
12
10
  "react-router-dom": "6.28.1",
@@ -1,3 +1,3 @@
1
- import { Context, Next } from '@tachybase/actions';
1
+ import { Context, Next } from '@tego/server';
2
2
  export declare function update(ctx: Context, next: Next): Promise<void>;
3
3
  export declare function updateProfile(ctx: Context, next: Next): Promise<void>;
@@ -1,3 +1,3 @@
1
- import { Context } from '@tachybase/actions';
1
+ import { Context } from '@tego/server';
2
2
  declare function banGuestActionMiddleware(): (ctx: Context, next: any) => Promise<void>;
3
3
  export { banGuestActionMiddleware };
@@ -1,4 +1,4 @@
1
- import { Migration } from '@tachybase/server';
1
+ import { Migration } from '@tego/server';
2
2
  export default class AddGuestSpecialRoleMigration extends Migration {
3
3
  on: string;
4
4
  appVersion: string;
@@ -20,7 +20,7 @@ __export(add_guest_specialRole_exports, {
20
20
  default: () => AddGuestSpecialRoleMigration
21
21
  });
22
22
  module.exports = __toCommonJS(add_guest_specialRole_exports);
23
- var import_server = require("@tachybase/server");
23
+ var import_server = require("@tego/server");
24
24
  class AddGuestSpecialRoleMigration extends import_server.Migration {
25
25
  constructor() {
26
26
  super(...arguments);
@@ -1,4 +1,4 @@
1
- import { Plugin } from '@tachybase/server';
1
+ import { Plugin } from '@tego/server';
2
2
  export declare class PluginShareServer extends Plugin {
3
3
  beforeLoad(): Promise<void>;
4
4
  load(): Promise<void>;
@@ -31,8 +31,7 @@ __export(plugin_exports, {
31
31
  default: () => plugin_default
32
32
  });
33
33
  module.exports = __toCommonJS(plugin_exports);
34
- var import_auth = require("@tachybase/auth");
35
- var import_server = require("@tachybase/server");
34
+ var import_server = require("@tego/server");
36
35
  var actions = __toESM(require("./actions/users"));
37
36
  var import_ban_guest_action = require("./middlewares/ban-guest-action");
38
37
  class PluginShareServer extends import_server.Plugin {
@@ -60,7 +59,7 @@ class PluginShareServer extends import_server.Plugin {
60
59
  });
61
60
  }
62
61
  async load() {
63
- import_auth.BaseAuth.prototype.check = async function() {
62
+ import_server.BaseAuth.prototype.check = async function() {
64
63
  let token = this.ctx.getBearerToken();
65
64
  if (!token) {
66
65
  const user = await this.userRepository.findOne({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-action-share",
3
3
  "displayName": "Action: Share Externally",
4
- "version": "1.3.21",
4
+ "version": "1.3.23",
5
5
  "description": "Share pages with external users.",
6
6
  "keywords": [
7
7
  "Users & permissions"
@@ -9,27 +9,21 @@
9
9
  "license": "Apache-2.0",
10
10
  "main": "dist/server/index.js",
11
11
  "devDependencies": {
12
- "@ant-design/icons": "~5.3.7",
12
+ "@ant-design/icons": "^5.6.1",
13
13
  "@emotion/css": "^11.13.5",
14
+ "@tachybase/schema": "^1.3.43",
15
+ "@tachybase/test": "^1.3.43",
16
+ "@tego/client": "^1.3.43",
17
+ "@tego/server": "^1.3.43",
14
18
  "antd": "5.22.5",
15
19
  "antd-style": "3.7.1",
16
20
  "qrcode": "^1.5.4",
17
- "react-i18next": "^15.2.0",
21
+ "react-i18next": "15.2.0",
18
22
  "react-router": "6.28.1",
19
23
  "react-router-dom": "6.28.1",
20
- "@tachybase/schema": "1.3.21"
21
- },
22
- "peerDependencies": {
23
- "@tachybase/actions": "1.3.21",
24
- "@tachybase/auth": "1.3.21",
25
- "@tachybase/client": "1.3.21",
26
- "@tachybase/database": "1.3.21",
27
- "@tachybase/server": "1.3.21",
28
- "@tachybase/test": "1.3.21"
24
+ "@tachybase/client": "1.3.23"
29
25
  },
30
26
  "description.zh-CN": "与外部用户分享页面。",
31
27
  "displayName.zh-CN": "动作:对外分享",
32
- "scripts": {
33
- "build": "tachybase-build --no-dts @tachybase/plugin-action-share"
34
- }
28
+ "scripts": {}
35
29
  }