@appsemble/lang-sdk
Version:
Language SDK for Appsemble
24 lines (23 loc) • 826 B
JavaScript
export const NotificationHookDataDefinition = {
type: 'object',
description: 'The data used to display the content of the notification.',
additionalProperties: true,
minProperties: 1,
properties: {
title: {
$ref: '#/components/schemas/RemapperDefinition',
description: 'The title of the notification.',
},
content: {
$ref: '#/components/schemas/RemapperDefinition',
description: 'The body of the notification.',
},
link: {
$ref: '#/components/schemas/RemapperDefinition',
description: `The URL of the page the user gets redirected to after being clicked.
If the URL is relative, it will be relative to the app.
`,
},
},
};
//# sourceMappingURL=NotificationHookDataDefinition.js.map