@appsemble/lang-sdk 0.34.8 → 0.34.9-test.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/package.json
CHANGED
|
@@ -13,7 +13,7 @@ export const NotificationHookDataDefinition = {
|
|
|
13
13
|
description: 'The body of the notification.',
|
|
14
14
|
},
|
|
15
15
|
link: {
|
|
16
|
-
|
|
16
|
+
$ref: '#/components/schemas/RemapperDefinition',
|
|
17
17
|
description: `The URL of the page the user gets redirected to after being clicked.
|
|
18
18
|
|
|
19
19
|
If the URL is relative, it will be relative to the app.
|
|
@@ -17,6 +17,10 @@ export const NotifyActionDefinition = extendJSONSchema(BaseActionDefinition, {
|
|
|
17
17
|
$ref: '#/components/schemas/RemapperDefinition',
|
|
18
18
|
description: 'The description of the notification.',
|
|
19
19
|
},
|
|
20
|
+
link: {
|
|
21
|
+
$ref: '#/components/schemas/RemapperDefinition',
|
|
22
|
+
description: 'The link of the notification.',
|
|
23
|
+
},
|
|
20
24
|
to: {
|
|
21
25
|
$ref: '#/components/schemas/RemapperDefinition',
|
|
22
26
|
description: `To whom the notification should be sent.
|
|
@@ -190,6 +190,10 @@ export interface NotifyActionDefinition extends BaseActionDefinition<'notify'> {
|
|
|
190
190
|
* Nothing is sent if the value is **not** a valid user id.
|
|
191
191
|
*/
|
|
192
192
|
to: Remapper;
|
|
193
|
+
/**
|
|
194
|
+
* The link of the notification.
|
|
195
|
+
*/
|
|
196
|
+
link: Remapper;
|
|
193
197
|
}
|
|
194
198
|
export interface LogActionDefinition extends BaseActionDefinition<'log'> {
|
|
195
199
|
/**
|