From fcb49df6834ac4b5ea43efef5e4ee1ac9cbb563e Mon Sep 17 00:00:00 2001 From: Francesco Sansalvadore Date: Thu, 22 May 2025 17:43:23 +0200 Subject: [PATCH] update types --- apps/cms/src/collections/Events/index.ts | 2 +- apps/cms/src/payload-types.ts | 4 ++-- apps/www/public/planetpg-steve_chavez-rss.xml | 4 ++-- apps/www/public/rss.xml | 11 +++++++++-- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/apps/cms/src/collections/Events/index.ts b/apps/cms/src/collections/Events/index.ts index b8c916ca3be..88f9930336b 100644 --- a/apps/cms/src/collections/Events/index.ts +++ b/apps/cms/src/collections/Events/index.ts @@ -180,7 +180,7 @@ export const Events: CollectionConfig = { { name: 'href', type: 'text', - required: true, + required: false, }, { name: 'target', diff --git a/apps/cms/src/payload-types.ts b/apps/cms/src/payload-types.ts index 010baee645b..424687f3d71 100644 --- a/apps/cms/src/payload-types.ts +++ b/apps/cms/src/payload-types.ts @@ -408,8 +408,8 @@ export interface Event { /** * Used on event previews to link to a custom event page */ - link: { - href: string; + link?: { + href?: string | null; target?: ('_self' | '_blank') | null; label?: string | null; }; diff --git a/apps/www/public/planetpg-steve_chavez-rss.xml b/apps/www/public/planetpg-steve_chavez-rss.xml index 0cf42092594..ed086a19ba2 100644 --- a/apps/www/public/planetpg-steve_chavez-rss.xml +++ b/apps/www/public/planetpg-steve_chavez-rss.xml @@ -5,9 +5,9 @@ https://supabase.com/blog Latest Postgres news from Steve Chavez at Supabase en - Fri, 16 Dec 2022 00:00:00 -0700 + Thu, 08 May 2025 00:00:00 -0700 - + https://supabase.com/blog/event-triggers-wo-superuser PostgreSQL Event Triggers without superuser access https://supabase.com/blog/event-triggers-wo-superuser diff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xml index c4fcb3efcd5..1bf39a454fd 100644 --- a/apps/www/public/rss.xml +++ b/apps/www/public/rss.xml @@ -5,11 +5,18 @@ https://supabase.com Latest news from Supabase en - Thu, 01 May 2025 00:00:00 -0700 + Thu, 22 May 2025 00:00:00 -0700 + + https://supabase.com/blog/from-cms + FROM CMS + https://supabase.com/blog/from-cms + asdf + Thu, 22 May 2025 00:00:00 -0700 + https://supabase.com/blog/simplify-backend-with-data-api - Simplify back-end complexity with Supabase Data APIs + Simplifying back-end complexity with Supabase Data APIs https://supabase.com/blog/simplify-backend-with-data-api Replace custom CRUD endpoints, reduce infrastructure complexity, and accelerate product delivery. Sat, 17 May 2025 00:00:00 -0700