Add notification on Service Token expiration

This commit is contained in:
carlosmonastyrski
2025-04-14 18:31:06 -03:00
parent bdab16f64b
commit 80352acc8a
8 changed files with 116 additions and 8 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ export const ServiceTokensSchema = z.object({
createdAt: z.date(),
updatedAt: z.date(),
createdBy: z.string(),
projectId: z.string()
projectId: z.string(),
notificationSent: z.boolean().default(false).nullable().optional()
});
export type TServiceTokens = z.infer<typeof ServiceTokensSchema>;