@nocobase/plugin-notification-manager 2.2.0-alpha.1 → 2.2.0-alpha.11

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.
Files changed (37) hide show
  1. package/dist/client/{507.6b177256a5fdfe2f.js → 507.fdef14cca9c18c29.js} +1 -1
  2. package/dist/client/{89.4f9da72110fbe97a.js → 89.4305cb8d81323fe6.js} +1 -1
  3. package/dist/client/index.js +1 -1
  4. package/dist/client/manager/channel/types.d.ts +11 -0
  5. package/dist/client-v2/49.3feca41b2843a6b2.js +10 -0
  6. package/dist/client-v2/components/MessageConfigForm.d.ts +1 -1
  7. package/dist/client-v2/components/User/UserAddition.d.ts +6 -2
  8. package/dist/client-v2/components/User/UserSelect.d.ts +9 -3
  9. package/dist/client-v2/index.js +1 -1
  10. package/dist/client-v2/notification-manager.d.ts +7 -2
  11. package/dist/collections/channel.js +1 -1
  12. package/dist/externalVersion.js +10 -10
  13. package/dist/locale/de-DE.json +1 -1
  14. package/dist/locale/en-US.json +1 -1
  15. package/dist/locale/es-ES.json +1 -1
  16. package/dist/locale/fr-FR.json +1 -1
  17. package/dist/locale/hu-HU.json +1 -1
  18. package/dist/locale/id-ID.json +1 -1
  19. package/dist/locale/it-IT.json +1 -1
  20. package/dist/locale/ja-JP.json +1 -1
  21. package/dist/locale/ko-KR.json +1 -1
  22. package/dist/locale/nl-NL.json +1 -1
  23. package/dist/locale/pt-BR.json +1 -1
  24. package/dist/locale/ru-RU.json +1 -1
  25. package/dist/locale/tr-TR.json +1 -1
  26. package/dist/locale/uk-UA.json +1 -1
  27. package/dist/locale/vi-VN.json +1 -1
  28. package/dist/locale/zh-CN.json +1 -1
  29. package/dist/locale/zh-TW.json +1 -1
  30. package/dist/node_modules/uuid/package.json +1 -1
  31. package/dist/server/plugin.js +10 -5
  32. package/dist/server/utils/parseUserSelectionConfig.d.ts +1 -1
  33. package/dist/server/utils/parseUserSelectionConfig.js +2 -2
  34. package/dist/swagger/index.d.ts +542 -0
  35. package/dist/swagger/index.js +492 -0
  36. package/package.json +2 -2
  37. package/dist/client-v2/49.83c515a7f909c364.js +0 -10
@@ -10,15 +10,15 @@
10
10
  module.exports = {
11
11
  "react": "18.2.0",
12
12
  "antd": "5.24.2",
13
- "@nocobase/client": "2.2.0-alpha.1",
14
- "@nocobase/utils": "2.2.0-alpha.1",
15
- "@nocobase/flow-engine": "2.2.0-alpha.1",
13
+ "@nocobase/client": "2.2.0-alpha.11",
14
+ "@nocobase/utils": "2.2.0-alpha.11",
15
+ "@nocobase/flow-engine": "2.2.0-alpha.11",
16
16
  "react-i18next": "11.18.6",
17
- "@nocobase/client-v2": "2.2.0-alpha.1",
18
- "@nocobase/database": "2.2.0-alpha.1",
19
- "@nocobase/server": "2.2.0-alpha.1",
20
- "@nocobase/cache": "2.2.0-alpha.1",
21
- "@nocobase/logger": "2.2.0-alpha.1",
17
+ "@nocobase/client-v2": "2.2.0-alpha.11",
18
+ "@nocobase/database": "2.2.0-alpha.11",
19
+ "@nocobase/server": "2.2.0-alpha.11",
20
+ "@nocobase/cache": "2.2.0-alpha.11",
21
+ "@nocobase/logger": "2.2.0-alpha.11",
22
22
  "@formily/react": "2.3.7",
23
23
  "@formily/core": "2.3.7",
24
24
  "ahooks": "3.7.8",
@@ -26,6 +26,6 @@ module.exports = {
26
26
  "lodash": "4.18.1",
27
27
  "dayjs": "1.11.13",
28
28
  "@formily/shared": "2.3.7",
29
- "@formily/antd-v5": "1.2.3",
30
- "@nocobase/plugin-workflow": "2.2.0-alpha.1"
29
+ "@nocobase/plugin-workflow": "2.2.0-alpha.11",
30
+ "@formily/antd-v5": "1.2.3"
31
31
  };
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Benachrichtigungstyp",
32
32
  "Notification type {{type}} is not registered.": "Benachrichtigungstyp {{type}} ist nicht registriert.",
33
33
  "Query users": "Benutzer abfragen",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Zufällig generiert und kann nicht geändert werden. Unterstützt Buchstaben, Zahlen und Unterstriche, muss mit einem Buchstaben beginnen.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Zufällig generiert und kann nicht geändert werden. Unterstützt Buchstaben, Zahlen und Unterstriche, muss mit einem Buchstaben beginnen.",
35
35
  "Reason": "Grund",
36
36
  "Receiver": "Empfänger",
37
37
  "Receiver type": "Empfängertyp",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Notification type",
32
32
  "Notification type {{type}} is not registered.": "Notification type {{type}} is not registered.",
33
33
  "Query users": "Query users",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.",
35
35
  "Reason": "Reason",
36
36
  "Receiver": "Receiver",
37
37
  "Receiver type": "Receiver type",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Notification type",
32
32
  "Notification type {{type}} is not registered.": "El tipo de notificación {{type}} no está registrado.",
33
33
  "Query users": "Query users",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.",
35
35
  "Reason": "Reason",
36
36
  "Receiver": "Receiver",
37
37
  "Receiver type": "Receiver type",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Notification type",
32
32
  "Notification type {{type}} is not registered.": "Le type de notification {{type}} n'est pas enregistré.",
33
33
  "Query users": "Query users",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.",
35
35
  "Reason": "Reason",
36
36
  "Receiver": "Receiver",
37
37
  "Receiver type": "Receiver type",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Értesítés típusa",
32
32
  "Notification type {{type}} is not registered.": "A(z) {{type}} értesítési típus nincs regisztrálva.",
33
33
  "Query users": "Felhasználók lekérdezése",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Véletlenszerűen generált és nem módosítható. Betűk, számok és aláhúzások támogatottak, betűvel kell kezdődnie.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Véletlenszerűen generált és nem módosítható. Betűk, számok és aláhúzások támogatottak, betűvel kell kezdődnie.",
35
35
  "Reason": "Ok",
36
36
  "Receiver": "Címzett",
37
37
  "Receiver type": "Címzett típusa",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Tipe notifikasi",
32
32
  "Notification type {{type}} is not registered.": "Tipe notifikasi {{type}} belum terdaftar.",
33
33
  "Query users": "Kueri pengguna",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Dihasilkan secara acak dan tidak dapat diubah. Mendukung huruf, angka, dan garis bawah, harus diawali dengan huruf.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Dihasilkan secara acak dan tidak dapat diubah. Mendukung huruf, angka, dan garis bawah, harus diawali dengan huruf.",
35
35
  "Reason": "Alasan",
36
36
  "Receiver": "Penerima",
37
37
  "Receiver type": "Tipe penerima",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Tipo di notifica",
32
32
  "Notification type {{type}} is not registered.": "Il tipo di notifica {{type}} non è registrato.",
33
33
  "Query users": "Cerca utenti",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Generato casualmente e non modificabile. Supporta lettere, numeri e underscore, deve iniziare con una lettera.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Generato casualmente e non modificabile. Supporta lettere, numeri e underscore, deve iniziare con una lettera.",
35
35
  "Reason": "Motivo",
36
36
  "Receiver": "Destinatario",
37
37
  "Receiver type": "Tipo di destinatario",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "通知タイプ",
32
32
  "Notification type {{type}} is not registered.": "通知タイプ {{type}} は登録されていません。",
33
33
  "Query users": "ユーザーを検索",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "ランダム生成され変更不可。英字、数字、アンダースコアをサポートし、英字で始まる必要があります。",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "ランダム生成され変更不可。英字、数字、アンダースコアをサポートし、英字で始まる必要があります。",
35
35
  "Reason": "理由",
36
36
  "Receiver": "受信者",
37
37
  "Receiver type": "受信者タイプ",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "알림 유형",
32
32
  "Notification type {{type}} is not registered.": "알림 유형 {{type}}이(가) 등록되지 않았습니다.",
33
33
  "Query users": "사용자 조회",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "무작위로 생성되며 수정할 수 없습니다. 영문자, 숫자, 밑줄을 지원하며, 반드시 영문자로 시작해야 합니다.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "무작위로 생성되며 수정할 수 없습니다. 영문자, 숫자, 밑줄을 지원하며, 반드시 영문자로 시작해야 합니다.",
35
35
  "Reason": "사유",
36
36
  "Receiver": "수신자",
37
37
  "Receiver type": "수신자 유형",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Notificatietype",
32
32
  "Notification type {{type}} is not registered.": "Notificatietype {{type}} is niet geregistreerd.",
33
33
  "Query users": "Gebruikers zoeken",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Willekeurig gegenereerd en kan niet worden gewijzigd. Ondersteunende letters, cijfers en underscores, moeten beginnen met een letter.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Willekeurig gegenereerd en kan niet worden gewijzigd. Ondersteunende letters, cijfers en underscores, moeten beginnen met een letter.",
35
35
  "Reason": "Reden",
36
36
  "Receiver": "Ontvanger",
37
37
  "Receiver type": "Ontvanger type",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Notification type",
32
32
  "Notification type {{type}} is not registered.": "O tipo de notificação {{type}} não está registrado.",
33
33
  "Query users": "Query users",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.",
35
35
  "Reason": "Reason",
36
36
  "Receiver": "Receiver",
37
37
  "Receiver type": "Receiver type",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Тип уведомления",
32
32
  "Notification type {{type}} is not registered.": "Тип уведомления {{type}} не зарегистрирован.",
33
33
  "Query users": "Запрос пользователей",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Генерируется случайным образом и не может быть изменено. Поддерживаются буквы, цифры и подчеркивания, должно начинаться с буквы.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Генерируется случайным образом и не может быть изменено. Поддерживаются буквы, цифры и подчеркивания, должно начинаться с буквы.",
35
35
  "Reason": "Причина",
36
36
  "Receiver": "Получатель",
37
37
  "Receiver type": "Тип получателя",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Notification type",
32
32
  "Notification type {{type}} is not registered.": "Bildirim türü {{type}} kayıtlı değil.",
33
33
  "Query users": "Query users",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.",
35
35
  "Reason": "Reason",
36
36
  "Receiver": "Receiver",
37
37
  "Receiver type": "Receiver type",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Notification type",
32
32
  "Notification type {{type}} is not registered.": "Тип сповіщення {{type}} не зареєстровано.",
33
33
  "Query users": "Query users",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.",
35
35
  "Reason": "Reason",
36
36
  "Receiver": "Receiver",
37
37
  "Receiver type": "Receiver type",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Notification type",
32
32
  "Notification type {{type}} is not registered.": "Loại thông báo {{type}} chưa được đăng ký.",
33
33
  "Query users": "Query users",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.",
35
35
  "Reason": "Reason",
36
36
  "Receiver": "Receiver",
37
37
  "Receiver type": "Receiver type",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "通知类型",
32
32
  "Notification type {{type}} is not registered.": "通知类型 {{type}} 尚未注册。",
33
33
  "Query users": "查询用户",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "随机生成,不可修改。支持英文、数字和下划线,必须以英文字母开头。",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "随机生成,不可修改。支持英文、数字和下划线,必须以英文字母开头。",
35
35
  "Reason": "原因",
36
36
  "Receiver": "接收人",
37
37
  "Receiver type": "接收人类型",
@@ -31,7 +31,7 @@
31
31
  "Notification type": "Notification type",
32
32
  "Notification type {{type}} is not registered.": "通知類型 {{type}} 尚未註冊。",
33
33
  "Query users": "Query users",
34
- "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with an letter.",
34
+ "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.": "Randomly generated and can not be modified. Support letters, numbers and underscores, must start with a letter.",
35
35
  "Reason": "Reason",
36
36
  "Receiver": "Receiver",
37
37
  "Receiver type": "Receiver type",
@@ -1 +1 @@
1
- {"name":"uuid","version":"10.0.0","description":"RFC9562 UUIDs","funding":["https://github.com/sponsors/broofa","https://github.com/sponsors/ctavan"],"commitlint":{"extends":["@commitlint/config-conventional"]},"keywords":["uuid","guid","rfc4122","rfc9562"],"license":"MIT","bin":{"uuid":"dist/bin/uuid"},"sideEffects":false,"main":"./dist/index.js","exports":{".":{"node":{"module":"./dist/esm-node/index.js","require":"./dist/index.js","import":"./wrapper.mjs"},"browser":{"import":"./dist/esm-browser/index.js","require":"./dist/commonjs-browser/index.js"},"default":"./dist/esm-browser/index.js"},"./package.json":"./package.json"},"module":"./dist/esm-node/index.js","browser":{"./dist/esm-node/index.js":"./dist/esm-browser/index.js","./dist/md5.js":"./dist/md5-browser.js","./dist/native.js":"./dist/native-browser.js","./dist/rng.js":"./dist/rng-browser.js","./dist/sha1.js":"./dist/sha1-browser.js"},"files":["CHANGELOG.md","CONTRIBUTING.md","LICENSE.md","README.md","dist","wrapper.mjs"],"devDependencies":{"@babel/cli":"7.24.6","@babel/core":"7.24.6","@babel/eslint-parser":"7.24.6","@babel/plugin-syntax-import-attributes":"7.24.6","@babel/preset-env":"7.24.6","@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","@wdio/browserstack-service":"7.16.10","@wdio/cli":"7.16.10","@wdio/jasmine-framework":"7.16.6","@wdio/local-runner":"7.16.10","@wdio/spec-reporter":"7.16.9","@wdio/static-server-service":"7.16.6","bundlewatch":"0.3.3","eslint":"9.4.0","eslint-plugin-prettier":"5.1.3","globals":"15.3.0","husky":"9.0.11","jest":"29.7.0","lint-staged":"15.2.5","neostandard":"0.5.1","npm-run-all":"4.1.5","optional-dev-dependency":"2.0.1","prettier":"3.3.0","random-seed":"0.3.0","runmd":"1.3.9","standard-version":"9.5.0"},"optionalDevDependencies":{"@wdio/browserstack-service":"7.16.10","@wdio/cli":"7.16.10","@wdio/jasmine-framework":"7.16.6","@wdio/local-runner":"7.16.10","@wdio/spec-reporter":"7.16.9","@wdio/static-server-service":"7.16.6"},"scripts":{"examples:browser:webpack:build":"cd examples/browser-webpack && npm install && npm run build","examples:browser:rollup:build":"cd examples/browser-rollup && npm install && npm run build","examples:node:commonjs:test":"cd examples/node-commonjs && npm install && npm test","examples:node:esmodules:test":"cd examples/node-esmodules && npm install && npm test","examples:node:jest:test":"cd examples/node-jest && npm install && npm test","prepare":"husky install","lint":"npm run eslint:check && npm run prettier:check","eslint:check":"eslint src/ test/ examples/ *.js","eslint:fix":"eslint --fix src/ test/ examples/ *.js","pretest":"npm run build","test":"BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/","test:matching":"BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/ -t","pretest:browser":"optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**","test:browser":"wdio run ./wdio.conf.js","pretest:node":"npm run build","test:node":"npm-run-all --parallel examples:node:**","test:pack":"./scripts/testpack.sh","pretest:benchmark":"npm run build","test:benchmark":"cd examples/benchmark && HUSKY=0 npm install && npm test","prettier:check":"prettier --check .","prettier:fix":"prettier --write .","bundlewatch":"npm run pretest:browser && bundlewatch --config bundlewatch.config.json","md":"runmd --watch --output=README.md README_js.md","docs":"npm run build && npx runmd --output=README.md README_js.md","docs:diff":"npm run docs && git diff --quiet README.md","build":"./scripts/build.sh","prepack":"npm run build","release":"standard-version --no-verify"},"repository":{"type":"git","url":"git+https://github.com/uuidjs/uuid.git"},"lint-staged":{"*":["prettier --no-error-on-unmatched-pattern --write"],"*.{js,jsx}":["eslint --no-error-on-unmatched-pattern --fix"]},"standard-version":{"scripts":{"postchangelog":"prettier --write CHANGELOG.md"}},"packageManager":"npm@10.8.1+sha256.b8807aebb9656758e2872fa6e7c564b506aa2faa9297439a478d471d2fe32483","_lastModified":"2026-06-10T18:13:22.681Z"}
1
+ {"name":"uuid","version":"10.0.0","description":"RFC9562 UUIDs","funding":["https://github.com/sponsors/broofa","https://github.com/sponsors/ctavan"],"commitlint":{"extends":["@commitlint/config-conventional"]},"keywords":["uuid","guid","rfc4122","rfc9562"],"license":"MIT","bin":{"uuid":"dist/bin/uuid"},"sideEffects":false,"main":"./dist/index.js","exports":{".":{"node":{"module":"./dist/esm-node/index.js","require":"./dist/index.js","import":"./wrapper.mjs"},"browser":{"import":"./dist/esm-browser/index.js","require":"./dist/commonjs-browser/index.js"},"default":"./dist/esm-browser/index.js"},"./package.json":"./package.json"},"module":"./dist/esm-node/index.js","browser":{"./dist/esm-node/index.js":"./dist/esm-browser/index.js","./dist/md5.js":"./dist/md5-browser.js","./dist/native.js":"./dist/native-browser.js","./dist/rng.js":"./dist/rng-browser.js","./dist/sha1.js":"./dist/sha1-browser.js"},"files":["CHANGELOG.md","CONTRIBUTING.md","LICENSE.md","README.md","dist","wrapper.mjs"],"devDependencies":{"@babel/cli":"7.24.6","@babel/core":"7.24.6","@babel/eslint-parser":"7.24.6","@babel/plugin-syntax-import-attributes":"7.24.6","@babel/preset-env":"7.24.6","@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","@wdio/browserstack-service":"7.16.10","@wdio/cli":"7.16.10","@wdio/jasmine-framework":"7.16.6","@wdio/local-runner":"7.16.10","@wdio/spec-reporter":"7.16.9","@wdio/static-server-service":"7.16.6","bundlewatch":"0.3.3","eslint":"9.4.0","eslint-plugin-prettier":"5.1.3","globals":"15.3.0","husky":"9.0.11","jest":"29.7.0","lint-staged":"15.2.5","neostandard":"0.5.1","npm-run-all":"4.1.5","optional-dev-dependency":"2.0.1","prettier":"3.3.0","random-seed":"0.3.0","runmd":"1.3.9","standard-version":"9.5.0"},"optionalDevDependencies":{"@wdio/browserstack-service":"7.16.10","@wdio/cli":"7.16.10","@wdio/jasmine-framework":"7.16.6","@wdio/local-runner":"7.16.10","@wdio/spec-reporter":"7.16.9","@wdio/static-server-service":"7.16.6"},"scripts":{"examples:browser:webpack:build":"cd examples/browser-webpack && npm install && npm run build","examples:browser:rollup:build":"cd examples/browser-rollup && npm install && npm run build","examples:node:commonjs:test":"cd examples/node-commonjs && npm install && npm test","examples:node:esmodules:test":"cd examples/node-esmodules && npm install && npm test","examples:node:jest:test":"cd examples/node-jest && npm install && npm test","prepare":"husky install","lint":"npm run eslint:check && npm run prettier:check","eslint:check":"eslint src/ test/ examples/ *.js","eslint:fix":"eslint --fix src/ test/ examples/ *.js","pretest":"npm run build","test":"BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/","test:matching":"BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/ -t","pretest:browser":"optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**","test:browser":"wdio run ./wdio.conf.js","pretest:node":"npm run build","test:node":"npm-run-all --parallel examples:node:**","test:pack":"./scripts/testpack.sh","pretest:benchmark":"npm run build","test:benchmark":"cd examples/benchmark && HUSKY=0 npm install && npm test","prettier:check":"prettier --check .","prettier:fix":"prettier --write .","bundlewatch":"npm run pretest:browser && bundlewatch --config bundlewatch.config.json","md":"runmd --watch --output=README.md README_js.md","docs":"npm run build && npx runmd --output=README.md README_js.md","docs:diff":"npm run docs && git diff --quiet README.md","build":"./scripts/build.sh","prepack":"npm run build","release":"standard-version --no-verify"},"repository":{"type":"git","url":"git+https://github.com/uuidjs/uuid.git"},"lint-staged":{"*":["prettier --no-error-on-unmatched-pattern --write"],"*.{js,jsx}":["eslint --no-error-on-unmatched-pattern --fix"]},"standard-version":{"scripts":{"postchangelog":"prettier --write CHANGELOG.md"}},"packageManager":"npm@10.8.1+sha256.b8807aebb9656758e2872fa6e7c564b506aa2faa9297439a478d471d2fe32483","_lastModified":"2026-07-28T07:41:53.523Z"}
@@ -110,11 +110,16 @@ class PluginNotificationManagerServer extends import_server.Plugin {
110
110
  this.manager = new import_manager.default({ plugin: this });
111
111
  }
112
112
  async beforeLoad() {
113
- this.app.resourceManager.registerActionHandler("messages:send", async (ctx, next) => {
114
- var _a, _b;
115
- const sendOptions = (_b = (_a = ctx.action) == null ? void 0 : _a.params) == null ? void 0 : _b.values;
116
- await this.manager.send(sendOptions);
117
- await next();
113
+ this.app.resourceManager.define({
114
+ name: import_constant.COLLECTION_NAME.messages,
115
+ actions: {
116
+ send: async (ctx, next) => {
117
+ var _a, _b;
118
+ const sendOptions = (_b = (_a = ctx.action) == null ? void 0 : _a.params) == null ? void 0 : _b.values;
119
+ ctx.body = await this.send(sendOptions);
120
+ await next();
121
+ }
122
+ }
118
123
  });
119
124
  this.app.acl.registerSnippet({
120
125
  name: "pm.notification.channels",
@@ -7,4 +7,4 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
  import { Repository } from '@nocobase/database';
10
- export declare function parseUserSelectionConfig(userSelectionConfig: Array<Record<any, any> | string>, UserRepo: Repository): Promise<string[]>;
10
+ export declare function parseUserSelectionConfig(userSelectionConfig: Array<Record<any, any> | number | string>, UserRepo: Repository): Promise<string[]>;
@@ -38,9 +38,9 @@ async function parseUserSelectionConfig(userSelectionConfig, UserRepo) {
38
38
  ...item,
39
39
  fields: ["id"]
40
40
  });
41
- result.forEach((item2) => users.add(item2.id));
41
+ result.forEach((item2) => users.add(String(item2.id)));
42
42
  } else {
43
- users.add(item);
43
+ users.add(String(item));
44
44
  }
45
45
  }
46
46
  return [...users];