2022-04-12 14:21:19 +02:00
|
|
|
import { z } from "zod";
|
2021-12-16 15:57:37 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* WARNING! The original file is in /messages/JsonMessages.
|
|
|
|
* All other files are automatically copied from this file on container startup / build
|
|
|
|
*/
|
|
|
|
|
2022-04-12 14:21:19 +02:00
|
|
|
export const isAdminApiData = z.object({
|
|
|
|
userUuid: z.string(),
|
|
|
|
email: z.nullable(z.string()),
|
|
|
|
roomUrl: z.string(),
|
|
|
|
mapUrlStart: z.string(),
|
|
|
|
messages: z.optional(z.array(z.unknown())),
|
|
|
|
});
|
|
|
|
|
|
|
|
export type AdminApiData = z.infer<typeof isAdminApiData>;
|