From 61b2da45ec374270917ae5912db7279026c73884 Mon Sep 17 00:00:00 2001 From: "@yuri_assuncx" Date: Mon, 18 Nov 2024 10:49:58 -0300 Subject: [PATCH 1/2] feat: add date-time widget type --- admin/widgets.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin/widgets.ts b/admin/widgets.ts index 6ed9942ee..1a65d49fc 100644 --- a/admin/widgets.ts +++ b/admin/widgets.ts @@ -24,6 +24,11 @@ export type SiteRoute = string; */ export type MapWidget = string; +/** + * @format date-time + */ +export type DateTime = string; + /** * @format textarea */ From 6aec913cb11652d2123450a889e29ac8a7f6d8ae Mon Sep 17 00:00:00 2001 From: "@yuri_assuncx" Date: Thu, 21 Nov 2024 08:55:16 -0300 Subject: [PATCH 2/2] fix: adds changes to widget typing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matheus Gaudencio do RĂªgo --- admin/widgets.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/admin/widgets.ts b/admin/widgets.ts index 1a65d49fc..dfaaa4fbd 100644 --- a/admin/widgets.ts +++ b/admin/widgets.ts @@ -24,10 +24,15 @@ export type SiteRoute = string; */ export type MapWidget = string; +/** + * @format date + */ +export type DateWidget = string; + /** * @format date-time */ -export type DateTime = string; +export type DateTimeWidget = string; /** * @format textarea