0.12.19 : better notifications
All checks were successful
Build release Docker image / Build Docker Images (push) Successful in 7m2s

This commit is contained in:
2026-01-19 00:07:21 +01:00
parent 0bb06e0e2d
commit e18a3fa092
6 changed files with 144 additions and 50 deletions

View File

@@ -1333,6 +1333,7 @@ export interface ApiNotificationNotification
extends Struct.CollectionTypeSchema {
collectionName: 'notifications';
info: {
description: '';
displayName: 'Notification';
pluralName: 'notifications';
singularName: 'notification';
@@ -1344,6 +1345,7 @@ export interface ApiNotificationNotification
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
floodId: Schema.Attribute.Integer;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
@@ -1354,13 +1356,14 @@ export interface ApiNotificationNotification
payload: Schema.Attribute.JSON;
publishedAt: Schema.Attribute.DateTime;
read: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
source: Schema.Attribute.String;
source: Schema.Attribute.Enumeration<['system', 'user', 'group', 'choral']>;
target_user: Schema.Attribute.Relation<
'oneToOne',
'plugin::users-permissions.user'
>;
title: Schema.Attribute.String;
type: Schema.Attribute.Enumeration<['info', 'success', 'warning', 'error']>;
type: Schema.Attribute.Enumeration<
['accountCreation', 'friendRequest', 'messageSent', 'postCreated']
>;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;