Skip to content

Commit 9b622bb

Browse files
feat(service-messaging): a keyed notification param can be a list, read in the recipient's language (#37701)
<!-- claude-projects-attribution: {"github_login":"os-sales"} --> _Requested by **Sales** · [project thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuQVQdf3PvoJbKFFCUA4gwJB)_ Fixes #36853 ## What changes - **`@objectstack/service-messaging`, `notification-text.ts`.** `EmitInput.keyedText.params` accepts a list-shaped value, `{ list, separator }` (`NotificationListParam`). - Each `list` item is `{ key, params?, fallback }`: a catalog sentence with its own `{{hole}}` params, which are scalar only (`NotificationScalarParam`: text, `{ key, fallback }` or `{ object, fallback }`). - The renderer fills each item per recipient through the same scalar resolution a top-level hole uses. An item with no entry falls back to its `fallback`. - The items are joined by the `separator` entry, else its `fallback`. `lookupSeparator` keeps a whitespace or punctuation answer such as `、`, which `lookup` would treat as a blank sentence. - `problemOf` is split into `scalarParamProblem`, `keyedParamProblem` and `listParamProblem`. `emit()` refuses an empty list, a list over `NOTIFICATION_LIST_PARAM_MAX_ITEMS` (100), an undeclared member, a malformed separator or item, and a list nested in an item. A stored malformed row reads back as `undefined` and is delivered as its literal, as any malformed row is. - New exports: `NotificationListParam`, `NotificationListItem`, `NotificationScalarParam` and `NOTIFICATION_LIST_PARAM_MAX_ITEMS`. Every existing param shape renders byte for byte as before. - **`@objectstack/plugin-approvals`.** - `noApproverNotice` spells a slate of two or more slots as `approvalNoApproverHolding` with `who` the list param: one `approvalNoApproverSlot` per slot with its `type` / `value` params, joined by `approvalNoApproverSlotSeparator`. Each item falls back to the English clause the row stores. - `approval-notification-text.ts` mirrors the new shapes structurally (`ApprovalListParam`, `ApprovalScalarParam`), because the plugin keeps no runtime dependency on the messaging package. `interpolate` renders a list's literal from its items' fallbacks. - A one-slot slate keeps `approvalNoApproverHoldingSlot`. - Tests and a changeset (both packages `patch`). ## Why A `{ key }` param resolves through `t(key, locale)` with no params, so a hole held one text or one hole-free key. #36463 (PR #36846) spelled slates of 2 to 8 slots with one derived sentence per size. A slate of more than 8 slots still named its slots in English inside a zh-CN, ja-JP or other non-English submitter's sentence. ## Verification - `admin-rescue-named-slate.integration.test.ts` adds a 9-slot slate opened by the real service. It is rendered through the real `NotificationTextRenderer` in zh-CN, and the body is entirely Chinese, with `not.toMatch(/[A-Za-z]/)`. The `en` render equals the literal the row stores. This is the card's acceptance test. - `notification-text-list-param-36853.test.ts` drives the real renderer over the kernel's in-memory `i18n`, with 9 tests: - nine items in zh-CN, joined by `、`, and the same list in `en` - per-item and separator fallback - an object-label param and a plain-text param inside an item - every refusal `emit()` makes, and a stored row read back - `no-approver-note.test.ts`: - the two-slot notice shape is now the list - "every slate size reads the timeline's sentence in every pack" now runs from 2 to 12 slots, past the 8 #36463 spelled - the old "more than 8 keeps English" pin is replaced by "nine slots name no English approver type in any pack but `en`" - `vitest run`: `service-messaging` 82 files, 1107 passed; `plugin-approvals` 130 files, 1965 passed. - `pnpm typecheck` passes in both packages. `plugin-approvals` `check:test-typecheck` is OK, with no change to its ledger. - `eslint` is clean on every changed file. `check-test-source-alias` is OK, and `overlap-check` is clean against `origin/main`. ## Small decisions - The `approvalNoApproverHoldingSlots2` to `…Slots8` sentences are **not** retired. Notices already delivered carry those keys in their stored `keyedText`, and the inbox renders them again at every read (`renderForReader`). Retiring them would turn those rows back into English. New notices no longer emit them. - A list item's params are scalar only, never another list. One level covers the card. A nested list would need a second separator and a depth bound for no current producer. - An item or separator that misses falls back alone, the way every other keyed param falls back. The rest of the list stays in the reader's language. - The list is capped at 100 items, because it is rendered item by item at every delivery and every inbox read. An approval slate is a handful of slots. Clause-②: yes (widening) Metadata-protocol: none The widening is the published `keyedText.params` value shape of `@objectstack/service-messaging`: a new accepted shape, with every existing shape unchanged. No metadata author writes it. ## Owed - L1 (seat). Clause-② widening of a service package's exported emit contract, so the seat rules whether a contract review is owed. ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `pnpm lint` passes. - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (not touched) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. - [x] The *Before Submitting* list in CONTRIBUTING.md is done. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L6bhgU7eeqHgQrtv5CeJK6 --- _Generated by [Claude Code](https://claude.ai/code/session_01L6bhgU7eeqHgQrtv5CeJK6)_ <!-- signed: repo:objectstack#2 · os-sales · session_01L6bhgU7eeqHgQrtv5CeJK6 --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5d37374 commit 9b622bb

8 files changed

Lines changed: 481 additions & 65 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
'@objectstack/service-messaging': patch
3+
'@objectstack/plugin-approvals': patch
4+
---
5+
6+
feat(service-messaging): a keyed notification param can be a list, each item rendered in the recipient's language; the approval "no one can approve" notice names a slate of any size in the reader's language
7+
8+
Clause-②: yes (widening)
9+
Metadata-protocol: none
10+
11+
- `EmitInput.keyedText.params` accepts a new value shape, `{ list, separator }`. Each `list` item is `{ key, params?, fallback }`: a catalog sentence with its own `{{hole}}` params, rendered per recipient. An item param can be text, `{ key, fallback }` or `{ object, fallback }`, but not another list. A sentence with no entry falls back to the item's `fallback`. The rendered items are joined by the `separator` entry (`{ key, fallback }`), so a list of any length reads in one language. A list holds 1 to `NOTIFICATION_LIST_PARAM_MAX_ITEMS` (100) items, and `emit()` refuses a malformed one before it writes anything. The new exports are the types `NotificationListParam`, `NotificationListItem` and `NotificationScalarParam`, and the constant `NOTIFICATION_LIST_PARAM_MAX_ITEMS`. Every existing param shape renders as before.
12+
- The widening reaches the read side too. `NotificationTextParam` is now `NotificationScalarParam | NotificationListParam`, so the exported channel contract `Notification.keyedText` can carry a list param. A channel that reads `keyedText.params` must handle the list shape.
13+
- An older reader does not understand a list row. After a rollback to a version before this one, it reads the row's keys as malformed and delivers or shows the whole notice as its stored English literal, title and body alike. Nothing fails. Within one install this cannot otherwise happen, because the two packages always release together.
14+
- The approval submitter's notice for a request no one else can approve now names a slate of two or more slots through this list param, one `approvalNoApproverSlot` clause per slot, joined by `approvalNoApproverSlotSeparator`. Before, a slate of more than 8 slots named its slots in English inside a zh-CN, ja-JP or other non-English sentence. Now every slot reads in the recipient's language. The literal English body is unchanged. A slate of more slots than a list param holds (more than 100) is sent with the slots as one English clause list instead, as before, so `emit()` does not refuse the notice and the submitter is still told.
15+
- The `approvalNoApproverHoldingSlots2` to `…Slots8` sentences stay in the packs, because notices already delivered carry those keys and are rendered again whenever the inbox is read.

‎packages/plugins/plugin-approvals/src/admin-rescue-named-slate.integration.test.ts‎

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ import {
4747
} from '@objectstack/core';
4848
import { ApprovalService } from './approval-service.js';
4949
import { ApprovalsServicePlugin } from './approvals-plugin.js';
50-
import { NotificationTextRenderer } from '@objectstack/service-messaging';
50+
import {
51+
NotificationTextRenderer,
52+
assertNotificationTextKeys,
53+
NOTIFICATION_LIST_PARAM_MAX_ITEMS,
54+
} from '@objectstack/service-messaging';
55+
import { APPROVAL_LIST_PARAM_MAX_ITEMS } from './approval-notification-text.js';
5156
import { ApprovalsTranslations } from './translations/index.js';
5257
import { relaxTenantColumns } from './pre-18-tenant-column.testkit.js';
5358

@@ -657,7 +662,8 @@ describe('an empty admin_rescue slate opens on the organization\'s administrator
657662
{ type: 'position', value: 'sales_manager' }, { type: 'position', value: 'treasury' },
658663
]);
659664
const [notice] = told.filter((e) => e.source?.id === row.id);
660-
expect(notice.keyedText.bodyKey).toBe('messages.approvalNoApproverHoldingSlots2');
665+
// [#36853] The slate rides `{{who}}` as a list param, one keyed clause per slot.
666+
expect(notice.keyedText.bodyKey).toBe('messages.approvalNoApproverHolding');
661667
expect(notice.payload.body).toBe(holding("position 'Sales Manager', position 'treasury'"));
662668
const renderer = new NotificationTextRenderer({ getData: () => undefined, getI18n: () => i18n as any });
663669
const zh = renderer.render(notice.keyedText, notice.payload, 'zh-CN').body;
@@ -669,6 +675,57 @@ describe('an empty admin_rescue slate opens on the organization\'s administrator
669675
.toBe(holding("position 'Sales Manager', position 'treasury'"));
670676
});
671677

678+
// [#36853] A slate larger than the 2–8 slot sentences #36463 spelled: the
679+
// real renderer reads every slot in zh-CN, no English approver type and no
680+
// English separator, and the literal body is the English the row stores.
681+
it('the submitter\'s notice: a slate of nine slots reads entirely in zh-CN through the real renderer', async () => {
682+
const slate = [
683+
{ type: 'position', value: 'sales_manager' },
684+
...Array.from({ length: 4 }, (_, i) => ({ type: 'team', value: `团队${i + 1}` })),
685+
...Array.from({ length: 4 }, (_, i) => ({ type: 'department', value: `部门${i + 1}` })),
686+
];
687+
const row = await openLabelled('none_notice_nine', slate);
688+
const [notice] = told.filter((e) => e.source?.id === row.id);
689+
expect(notice.keyedText.bodyKey).toBe('messages.approvalNoApproverHolding');
690+
expect(notice.payload.body).toBe(holding([
691+
"position 'Sales Manager'",
692+
...Array.from({ length: 4 }, (_, i) => `team '团队${i + 1}'`),
693+
...Array.from({ length: 4 }, (_, i) => `department '部门${i + 1}'`),
694+
].join(', ')));
695+
const renderer = new NotificationTextRenderer({ getData: () => undefined, getI18n: () => i18n as any });
696+
const zh = renderer.render(notice.keyedText, notice.payload, 'zh-CN').body;
697+
expect(zh).toBe(holdingZh([
698+
'岗位「销售经理」',
699+
...Array.from({ length: 4 }, (_, i) => `团队「团队${i + 1}」`),
700+
...Array.from({ length: 4 }, (_, i) => `部门「部门${i + 1}」`),
701+
].join('、')));
702+
expect(zh).not.toMatch(/[A-Za-z]/);
703+
expect(renderer.render(notice.keyedText, notice.payload, 'en').body).toBe(notice.payload.body);
704+
});
705+
706+
// [#36853] The emit refuses a list param of more than
707+
// NOTIFICATION_LIST_PARAM_MAX_ITEMS items and `notify` only logs it, so a
708+
// slate past that is sent as one English `who`: the submitter is told.
709+
it('the submitter\'s notice: a slate past the list cap is still sent, as the English clauses; at the cap it stays a list', async () => {
710+
expect(APPROVAL_LIST_PARAM_MAX_ITEMS).toBe(NOTIFICATION_LIST_PARAM_MAX_ITEMS);
711+
const slateOf = (n: number) => Array.from({ length: n }, (_, i) => ({ type: 'team', value: `t${i}` }));
712+
713+
const over = await openLabelled('none_notice_over_cap', slateOf(NOTIFICATION_LIST_PARAM_MAX_ITEMS + 1));
714+
const [overNotice] = told.filter((e) => e.source?.id === over.id);
715+
expect(overNotice.keyedText.bodyKey).toBe('messages.approvalNoApproverHolding');
716+
expect(() => assertNotificationTextKeys(overNotice.keyedText)).not.toThrow();
717+
const english = slateOf(NOTIFICATION_LIST_PARAM_MAX_ITEMS + 1).map((s) => `team '${s.value}'`).join(', ');
718+
expect(overNotice.keyedText.params.who).toBe(english);
719+
expect(overNotice.payload.body).toBe(holding(english));
720+
721+
const at = await openLabelled('none_notice_at_cap', slateOf(NOTIFICATION_LIST_PARAM_MAX_ITEMS));
722+
const [atNotice] = told.filter((e) => e.source?.id === at.id);
723+
expect(() => assertNotificationTextKeys(atNotice.keyedText)).not.toThrow();
724+
expect(atNotice.keyedText.params.who.list).toHaveLength(NOTIFICATION_LIST_PARAM_MAX_ITEMS);
725+
const renderer = new NotificationTextRenderer({ getData: () => undefined, getI18n: () => i18n as any });
726+
expect(renderer.render(atNotice.keyedText, atNotice.payload, 'zh-CN').body).not.toMatch(/team/);
727+
});
728+
672729
it('CONTROL: a note written before the slot was stored renders exactly as before', async () => {
673730
const row = await open('none_legacy', UNSTAFFED, {}, LEADERLESS_ORG);
674731
// The stored shape of a note written before #36035: `who`, pre-composed.

‎packages/plugins/plugin-approvals/src/approval-notification-text.ts‎

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,36 @@ import { enMessages, type ApprovalMessageId } from './translations/messages.js';
4848
* back to, or [#35384] an object's label by the object's name with the text it
4949
* falls back to (the messaging service's `NotificationObjectLabelParam`).
5050
*/
51-
export type ApprovalTextParam =
51+
export type ApprovalTextParam = ApprovalScalarParam | ApprovalListParam;
52+
53+
/** [#36853] A value that fills one hole by itself (the messaging service's `NotificationScalarParam`). */
54+
export type ApprovalScalarParam =
5255
| string
5356
| { readonly key: string; readonly fallback: string }
5457
| ApprovalObjectLabelParam;
5558

59+
/**
60+
* [#36853] The structural mirror of the messaging service's
61+
* `NotificationListParam`: a list of catalog sentences, each with its own
62+
* params, rendered per recipient and joined by the `separator` entry.
63+
*/
64+
export interface ApprovalListParam {
65+
readonly list: readonly {
66+
readonly key: string;
67+
readonly params?: Readonly<Record<string, ApprovalScalarParam>>;
68+
readonly fallback: string;
69+
}[];
70+
readonly separator: { readonly key: string; readonly fallback: string };
71+
}
72+
73+
/**
74+
* [#36853] The mirror of the messaging service's
75+
* `NOTIFICATION_LIST_PARAM_MAX_ITEMS`: the most items an emit takes in one
76+
* list param. A longer list is refused there (and `notify` only logs it), so a
77+
* producer with more items must not send them as a list.
78+
*/
79+
export const APPROVAL_LIST_PARAM_MAX_ITEMS = 100;
80+
5681
/** [#35384] The structural mirror of the messaging service's `NotificationObjectLabelParam`. */
5782
export interface ApprovalObjectLabelParam {
5883
/** The object's API name, never its label. */
@@ -123,7 +148,10 @@ export function interpolate(template: string, params: Readonly<Record<string, Ap
123148
return template.replace(HOLE, (hole, name: string) => {
124149
const param = params[name];
125150
if (param === undefined) return hole;
126-
return typeof param === 'string' ? param : param.fallback;
151+
if (typeof param === 'string') return param;
152+
// [#36853] A list's literal is its items' fallbacks, joined by the separator's.
153+
if ('list' in param) return param.list.map((item) => item.fallback).join(param.separator.fallback);
154+
return param.fallback;
127155
});
128156
}
129157

‎packages/plugins/plugin-approvals/src/no-approver-note.test.ts‎

Lines changed: 54 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
import { describe, it, expect } from 'vitest';
1414
import { noApproverNoteText, noApproverNotice, noApproverWho, submitterRefusalUserMessage } from './no-approver-note.js';
15-
import { interpolate, type ApprovalTextParam } from './approval-notification-text.js';
15+
import { interpolate, type ApprovalScalarParam, type ApprovalTextParam } from './approval-notification-text.js';
1616
import type { ApprovalSentenceRender } from './admin-rescue-note.js';
1717
import { approvalMessages, enMessages, NO_APPROVER_NOTICE_MAX_SLOTS } from './translations/messages.js';
1818

@@ -31,21 +31,38 @@ const renderIn = (locale: Locale, drop: string[] = []): ApprovalSentenceRender =
3131
* A notice's body as the messaging service renders it for a recipient in
3232
* `locale` (`NotificationTextRenderer`): a keyed param is its key in that
3333
* locale, a `messages.*` key from the catalog and a `positions.*` key from
34-
* `pack`, else its fallback; then the body's template is filled.
34+
* `pack`, else its fallback; [#36853] a list param is each item's sentence
35+
* filled with its own params the same way, joined by the separator entry;
36+
* then the body's template is filled. The real renderer's half is
37+
* `admin-rescue-named-slate.integration.test.ts`.
3538
*/
3639
const deliveredIn = (
3740
locale: Locale,
3841
notice: { id: keyof typeof enMessages; params: Record<string, ApprovalTextParam> },
3942
pack: Record<string, string> = {},
4043
): string => {
4144
const catalog = approvalMessages[locale] as Record<string, string>;
45+
const keyed = (key: string): string | undefined =>
46+
key.startsWith('messages.') ? catalog[key.slice('messages.'.length)] : pack[key];
47+
const scalar = (param: ApprovalScalarParam): string => {
48+
if (typeof param === 'string') return param;
49+
// [#35384] An object-label param is resolved off the object's metadata, which no notice here names.
50+
if ('object' in param) return param.fallback;
51+
return keyed(param.key) ?? param.fallback;
52+
};
4253
const params: Record<string, string> = {};
4354
for (const [name, param] of Object.entries(notice.params)) {
44-
if (typeof param === 'string') { params[name] = param; continue; }
45-
// [#35384] An object-label param is resolved off the object's metadata, which no notice here names.
46-
if ('object' in param) { params[name] = param.fallback; continue; }
47-
const looked = param.key.startsWith('messages.') ? catalog[param.key.slice('messages.'.length)] : pack[param.key];
48-
params[name] = looked ?? param.fallback;
55+
if (typeof param === 'object' && 'list' in param) {
56+
params[name] = param.list.map((item) => {
57+
const sentence = keyed(item.key);
58+
if (sentence === undefined) return item.fallback;
59+
const own: Record<string, string> = {};
60+
for (const [hole, value] of Object.entries(item.params ?? {})) own[hole] = scalar(value);
61+
return interpolate(sentence, own);
62+
}).join(keyed(param.separator.key) ?? param.separator.fallback);
63+
continue;
64+
}
65+
params[name] = scalar(param);
4966
}
5067
return interpolate(catalog[notice.id], params);
5168
};
@@ -135,18 +152,32 @@ describe('[#36308] the submitter\'s notice', () => {
135152
});
136153
});
137154

138-
describe('[#36463] the submitter\'s notice names several slots in the reader\'s language', () => {
155+
describe('[#36463 · #36853] the submitter\'s notice names several slots in the reader\'s language', () => {
139156
const declared = (name: string) => (name === 'legal' ? 'Legal Counsel' : undefined);
140157

141-
it('a slate of two slots spells each inline, keyed, in the slate\'s order', () => {
158+
it('a slate of two slots rides `{{who}}` as a list: one keyed clause per slot, in the slate\'s order', () => {
142159
const notice = noApproverNotice({ slots: ['position:legal', 'team:ops'] }, declared);
143160
expect(notice).toEqual({
144-
id: 'approvalNoApproverHoldingSlots2',
161+
id: 'approvalNoApproverHolding',
145162
params: {
146-
type1: { key: 'messages.approvalApproverTypePosition', fallback: 'position' },
147-
value1: { key: 'positions.legal.label', fallback: 'Legal Counsel' },
148-
type2: { key: 'messages.approvalApproverTypeTeam', fallback: 'team' },
149-
value2: 'ops',
163+
who: {
164+
list: [
165+
{
166+
key: 'messages.approvalNoApproverSlot',
167+
params: {
168+
type: { key: 'messages.approvalApproverTypePosition', fallback: 'position' },
169+
value: { key: 'positions.legal.label', fallback: 'Legal Counsel' },
170+
},
171+
fallback: "position 'Legal Counsel'",
172+
},
173+
{
174+
key: 'messages.approvalNoApproverSlot',
175+
params: { type: { key: 'messages.approvalApproverTypeTeam', fallback: 'team' }, value: 'ops' },
176+
fallback: "team 'ops'",
177+
},
178+
],
179+
separator: { key: 'messages.approvalNoApproverSlotSeparator', fallback: ', ' },
180+
},
150181
},
151182
});
152183
// The acceptance: a zh-CN submitter reads it entirely in Chinese, the
@@ -162,9 +193,9 @@ describe('[#36463] the submitter\'s notice names several slots in the reader\'s
162193
+ "must add a member who holds position 'Legal Counsel', team 'ops'; that member can then decide it.");
163194
});
164195

165-
it('for every slate size it spells, in every pack, the notice reads the timeline\'s sentence for the same slate', () => {
196+
it('for every slate size, past the sentences #36463 spelled, in every pack, the notice reads the timeline\'s sentence for the same slate', () => {
166197
const kinds = ['position:legal', 'team:ops', 'department:west', 'org_membership_level:admin', 'role:admin'];
167-
for (let n = 2; n <= NO_APPROVER_NOTICE_MAX_SLOTS; n++) {
198+
for (let n = 2; n <= NO_APPROVER_NOTICE_MAX_SLOTS + 4; n++) {
168199
const slate = Array.from({ length: n }, (_, i) => `${kinds[i % kinds.length]}_${i}`);
169200
for (const locale of Object.keys(approvalMessages) as Locale[]) {
170201
expect(deliveredIn(locale, noApproverNotice({ slots: slate })), `${locale} ${n}`)
@@ -173,11 +204,15 @@ describe('[#36463] the submitter\'s notice names several slots in the reader\'s
173204
}
174205
});
175206

176-
it('a slate of more slots than it spells keeps one English `who` inside the reader\'s sentence', () => {
177-
const slate = Array.from({ length: NO_APPROVER_NOTICE_MAX_SLOTS + 1 }, (_, i) => `team:t${i}`);
207+
it('a slate of nine slots names no English approver type in any pack but `en`, whose literal is the English the row stores', () => {
208+
const slate = Array.from({ length: NO_APPROVER_NOTICE_MAX_SLOTS + 1 }, (_, i) => `${i % 2 ? 'team' : 'department'}:t${i}`);
178209
const notice = noApproverNotice({ slots: slate });
179210
expect(notice.id).toBe('approvalNoApproverHolding');
180-
expect(notice.params).toEqual({ who: noApproverWho(slate) });
211+
expect(interpolate(enMessages.approvalNoApproverHolding, notice.params)).toBe(noApproverNoteText({ slots: slate }));
212+
for (const locale of Object.keys(approvalMessages) as Locale[]) {
213+
if (locale === 'en') continue;
214+
expect(deliveredIn(locale, notice), locale).not.toMatch(/team|department/);
215+
}
181216
});
182217
});
183218

0 commit comments

Comments
 (0)