@iveri/contracts 0.150.0 → 0.151.0
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/README.md
CHANGED
|
@@ -322,6 +322,7 @@ Conduit's outbox.
|
|
|
322
322
|
`UniboxAgents` under `@iveri/contracts/unibox`, so the inbox picks agents by name.
|
|
323
323
|
- Version `0.139.0` adds a trainer's notes on a member: `GymTrainerNote`, `GymTrainerNotes`, `SaveGymTrainerNoteRequest`,
|
|
324
324
|
`GymMyTrainerNote` and the `GymRefusal` member `not-their-trainer` under `@iveri/contracts/gym`.
|
|
325
|
+
- Version `0.151.0` adds `link` on `InAppNotification`, a path inside the app an inbox row opens.
|
|
325
326
|
- Version `0.150.0` adds polls on Ezo posts under `@iveri/contracts/social`: `SocialPoll`, `CreateSocialPollRequest`, `VoteSocialPollRequest`,
|
|
326
327
|
`poll` on `SocialPost` and on creating one, `SocialCaseEvidencePoll` on a case's evidence, and the poll refusals.
|
|
327
328
|
- Version `0.149.0` lets a gym member choose their numbered place in a class: `placeChoice` / `placeColumns` on
|
|
@@ -134,6 +134,14 @@ export interface InAppNotification {
|
|
|
134
134
|
type: string;
|
|
135
135
|
subject: Nullable<string>;
|
|
136
136
|
body: string;
|
|
137
|
+
/**
|
|
138
|
+
* Where opening it takes the reader, as a path inside the app that shows the inbox (`/orders?order=…`), never a URL.
|
|
139
|
+
*
|
|
140
|
+
* Null for a notification type that points nowhere. Only a built-in template names the variable it comes from, and
|
|
141
|
+
* the value is refused at submit unless it starts with a single `/`, so an inbox row can never send its reader to
|
|
142
|
+
* another site.
|
|
143
|
+
*/
|
|
144
|
+
link: Nullable<string>;
|
|
137
145
|
readAt: Nullable<IsoDateTime>;
|
|
138
146
|
createdAt: IsoDateTime;
|
|
139
147
|
}
|