mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 10:11:35 +10:00
feat: create a banner with custom text by admin
This commit is contained in:
8
packages/trpc/server/banner-router/schema.ts
Normal file
8
packages/trpc/server/banner-router/schema.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import z from 'zod';
|
||||
|
||||
export const ZCreateBannerByAdminSchema = z.object({
|
||||
text: z.string().optional(),
|
||||
show: z.boolean().optional(),
|
||||
});
|
||||
|
||||
export type TCreateBannerByAdminSchema = z.infer<typeof ZCreateBannerByAdminSchema>;
|
||||
Reference in New Issue
Block a user