feat: Add Traefik Integration with dedicated widget and Add optional Icons for Gotify/Notifcation Widget (ONLY GOTIFY) (#6206)
Co-authored-by: Thomas <thomas@ajnart.fr>
This commit is contained in:
1 parent
bcd36b1b27
commit
9864fed775
33 files changed
+998
-46
No files matched your search
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
|
||||
// See: https://gotify.net/api-docs#/message/getMessages
|
||||
export const gotifyMessageSchema = z.object({
|
||||
id: z.number(),
|
||||
appid: z.number(),
|
||||
date: z.string(),
|
||||
title: z.string(),
|
||||
message: z.string(),
|
||||
@@ -12,3 +13,11 @@ export const gotifyMessageSchema = z.object({
|
||||
export const gotifyMessagesResponseSchema = z.object({
|
||||
messages: z.array(gotifyMessageSchema),
|
||||
});
|
||||
|
||||
export const gotifyApplicationSchema = z.object({
|
||||
id: z.number(),
|
||||
name: z.string(),
|
||||
image: z.string().nullable().optional(),
|
||||
});
|
||||
|
||||
export const gotifyApplicationsResponseSchema = z.array(gotifyApplicationSchema);
|
||||
Reference in new issue
Block a user