@tachybase/plugin-action-share 1.3.21 → 1.3.22
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.
- package/dist/externalVersion.js +4 -6
- package/dist/server/actions/users.d.ts +1 -1
- package/dist/server/middlewares/ban-guest-action.d.ts +1 -1
- package/dist/server/migrations/20240722114514-add-guest-specialRole.d.ts +1 -1
- package/dist/server/migrations/20240722114514-add-guest-specialRole.js +1 -1
- package/dist/server/plugin.d.ts +1 -1
- package/dist/server/plugin.js +2 -3
- package/package.json +9 -15
package/dist/externalVersion.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@tachybase/client": "1.3.
|
|
2
|
+
"@tachybase/client": "1.3.22",
|
|
3
3
|
"react-router": "6.28.1",
|
|
4
|
-
"@
|
|
5
|
-
"@tachybase/auth": "1.3.21",
|
|
6
|
-
"@tachybase/server": "1.3.21",
|
|
4
|
+
"@tego/server": "1.3.39",
|
|
7
5
|
"react": "18.3.1",
|
|
8
|
-
"@tachybase/schema": "1.3.
|
|
9
|
-
"@ant-design/icons": "5.
|
|
6
|
+
"@tachybase/schema": "1.3.39",
|
|
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",
|
|
@@ -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("@
|
|
23
|
+
var import_server = require("@tego/server");
|
|
24
24
|
class AddGuestSpecialRoleMigration extends import_server.Migration {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments);
|
package/dist/server/plugin.d.ts
CHANGED
package/dist/server/plugin.js
CHANGED
|
@@ -31,8 +31,7 @@ __export(plugin_exports, {
|
|
|
31
31
|
default: () => plugin_default
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(plugin_exports);
|
|
34
|
-
var
|
|
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
|
-
|
|
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.
|
|
4
|
+
"version": "1.3.22",
|
|
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": "
|
|
12
|
+
"@ant-design/icons": "^5.6.1",
|
|
13
13
|
"@emotion/css": "^11.13.5",
|
|
14
|
+
"@tachybase/schema": "^1.3.39",
|
|
15
|
+
"@tachybase/test": "^1.3.39",
|
|
16
|
+
"@tego/client": "^1.3.39",
|
|
17
|
+
"@tego/server": "^1.3.39",
|
|
14
18
|
"antd": "5.22.5",
|
|
15
19
|
"antd-style": "3.7.1",
|
|
16
20
|
"qrcode": "^1.5.4",
|
|
17
|
-
"react-i18next": "
|
|
21
|
+
"react-i18next": "15.2.0",
|
|
18
22
|
"react-router": "6.28.1",
|
|
19
23
|
"react-router-dom": "6.28.1",
|
|
20
|
-
"@tachybase/
|
|
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.22"
|
|
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
|
}
|