A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
// SPDX-License-Identifier: AGPL-3.0-or-later
import {HexString16Type} from '@fluxer/schema/src/primitives/SchemaPrimitives';
import {z} from 'zod';
export const ThemeCreateRequest = z.object({
css: z.string().min(1).describe('CSS text to store and share'),
});
export type ThemeCreateRequest = z.infer<typeof ThemeCreateRequest>;
export const ThemeCreateResponse = z.object({
id: HexString16Type.describe('The unique identifier for the created theme'),
});
export type ThemeCreateResponse = z.infer<typeof ThemeCreateResponse>;