From 01b22ab3f74e25dfaf23c5d08d4dfb870112825e Mon Sep 17 00:00:00 2001 From: Terry Sutton Date: Tue, 7 May 2024 21:47:05 -0230 Subject: [PATCH] Mock copples data --- .../notifications/notifications-v2-query.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/apps/studio/data/notifications/notifications-v2-query.ts b/apps/studio/data/notifications/notifications-v2-query.ts index 27a834a5be6..a47ba961c7f 100644 --- a/apps/studio/data/notifications/notifications-v2-query.ts +++ b/apps/studio/data/notifications/notifications-v2-query.ts @@ -57,15 +57,34 @@ export async function getNotifications(options: NotificationVariables, signal?: const data = [ { + id: '8cc59e3b-f3ee-466b-a1e6-963074dc26f6', + inserted_at: '2024-04-25T11:56:45.051518+00:00', status: 'seen', priority: 'Warning', + name: 'success.rls-misconfig-enterprise-team.20240425', data: { title: 'Security Recommendation', actions: [{ url: '/project/[ref]/database/security-advisor', label: 'Security Advisor' }], + message: + 'The way you have configured your database is open to the public, please check the notifications in the Security Advisor page.', + project_ref: 'pnlhfnllpxpapxrdkihw', + }, + meta: null, + }, + { + id: '8ce59e3b-f3ee-466b-a1e6-963074dc26f6', + inserted_at: '2024-04-25T11:56:45.051518+00:00', + status: 'seen', + priority: 'Warning', + name: 'success.rls-misconfig-enterprise-team.20240425', + data: { + title: 'Security Recommendation 2', + actions: [{ url: '/project/[ref]/database/security-advisor', label: 'Security Advisor' }], message: 'The way you have configured your database is open to the public, please check the notifications in the Security Advisor page.', project_ref: 'yxrbshyrkjhbbglmsqyj', }, + meta: null, }, // {