@moshevents/copy 0.9.5 → 0.9.6

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/lib/copy.d.ts CHANGED
@@ -182,6 +182,9 @@ export declare const copy: {
182
182
  };
183
183
  readonly attendeesPage: {
184
184
  readonly title: "Attendees";
185
+ readonly titleWithCount: (p: {
186
+ count: string | number;
187
+ }) => string;
185
188
  readonly wentSummary: (p: {
186
189
  count: string | number;
187
190
  }) => string;
package/lib/copy.js CHANGED
@@ -166,6 +166,7 @@ export const copy = {
166
166
  },
167
167
  attendeesPage: {
168
168
  title: "Attendees",
169
+ titleWithCount: (p) => `Attendees (${p.count})`,
169
170
  wentSummary: (p) => `${p.count} went`,
170
171
  goingSummary: (p) => `${p.count} going`,
171
172
  statusCheckedIn: "Checked in",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moshevents/copy",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "description": "Mosh — single source of truth for user-facing copy. Typed `copy` for web/admin; iOS consumes the SwiftPM target.",
5
5
  "type": "module",
6
6
  "files": [