@tachybase/plugin-manual-notification 1.3.20 → 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.
@@ -1,9 +1,6 @@
1
1
  module.exports = {
2
- "@tachybase/client": "1.3.20",
2
+ "@tachybase/client": "1.3.22",
3
3
  "antd": "5.22.5",
4
- "@tachybase/schema": "1.3.20",
5
- "@tachybase/server": "1.3.20",
6
- "@tachybase/actions": "1.3.20",
7
- "@tachybase/database": "1.3.20",
8
- "@tachybase/utils": "1.3.20"
4
+ "@tachybase/schema": "1.3.39",
5
+ "@tego/server": "1.3.39"
9
6
  };
@@ -1,6 +1,4 @@
1
- import { Context, Next } from '@tachybase/actions';
2
- import { Repository } from '@tachybase/database';
3
- import { WSServer } from '@tachybase/server';
1
+ import { Context, Next, Repository, WSServer } from '@tego/server';
4
2
  type NotificationLog = {
5
3
  title: string;
6
4
  content: string;
@@ -65,10 +65,9 @@ __export(notificationsController_exports, {
65
65
  notificationsController: () => notificationsController
66
66
  });
67
67
  module.exports = __toCommonJS(notificationsController_exports);
68
- var import_server = require("@tachybase/server");
69
- var import_utils = require("@tachybase/utils");
68
+ var import_server = require("@tego/server");
70
69
  var _getRecent_dec, _send_dec, _notificationsController_decorators, _init;
71
- _notificationsController_decorators = [(0, import_utils.Controller)("notificationConfigs")], _send_dec = [(0, import_utils.Action)("send", { acl: "private" })], _getRecent_dec = [(0, import_utils.Action)("getRecent", { acl: "public" })];
70
+ _notificationsController_decorators = [(0, import_server.Controller)("notificationConfigs")], _send_dec = [(0, import_server.Action)("send", { acl: "private" })], _getRecent_dec = [(0, import_server.Action)("getRecent", { acl: "public" })];
72
71
  class notificationsController {
73
72
  constructor() {
74
73
  __runInitializers(_init, 5, this);
@@ -1,3 +1,3 @@
1
- import { CollectionOptions } from '@tachybase/database';
1
+ import { CollectionOptions } from '@tego/server';
2
2
  declare const _default: CollectionOptions;
3
3
  export default _default;
@@ -1,3 +1,3 @@
1
- import { CollectionOptions } from '@tachybase/database';
1
+ import { CollectionOptions } from '@tego/server';
2
2
  declare const _default: CollectionOptions;
3
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import { Plugin } from '@tachybase/server';
1
+ import { Plugin } from '@tego/server';
2
2
  export declare class PluginManualNotificationServer extends Plugin {
3
3
  load(): Promise<void>;
4
4
  }
@@ -66,7 +66,7 @@ __export(plugin_exports, {
66
66
  default: () => plugin_default
67
67
  });
68
68
  module.exports = __toCommonJS(plugin_exports);
69
- var import_server = require("@tachybase/server");
69
+ var import_server = require("@tego/server");
70
70
  var import_notificationsController = require("./actions/notificationsController");
71
71
  var _PluginManualNotificationServer_decorators, _init, _a;
72
72
  _PluginManualNotificationServer_decorators = [(0, import_server.InjectedPlugin)({
package/package.json CHANGED
@@ -1,23 +1,19 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-manual-notification",
3
3
  "displayName": "Manual Notification",
4
- "version": "1.3.20",
4
+ "version": "1.3.22",
5
5
  "description": "Used to send notifications to all online users, including system updates and important events",
6
6
  "keywords": [
7
7
  "System management"
8
8
  ],
9
9
  "main": "dist/server/index.js",
10
10
  "devDependencies": {
11
- "antd": "5.22.5"
12
- },
13
- "peerDependencies": {
14
- "@tachybase/actions": "1.3.20",
15
- "@tachybase/database": "1.3.20",
16
- "@tachybase/client": "1.3.20",
17
- "@tachybase/schema": "1.3.20",
18
- "@tachybase/server": "1.3.20",
19
- "@tachybase/test": "1.3.20",
20
- "@tachybase/utils": "1.3.20"
11
+ "@tachybase/schema": "^1.3.39",
12
+ "@tachybase/test": "^1.3.39",
13
+ "@tego/client": "^1.3.39",
14
+ "@tego/server": "^1.3.39",
15
+ "antd": "5.22.5",
16
+ "@tachybase/client": "1.3.22"
21
17
  },
22
18
  "description.zh-CN": "用于给所有在线人员发送通知,包括系统更新,重要事件",
23
19
  "displayName.zh-CN": "广播通知"