fix: api keys not showing (#1839)

This commit is contained in:
David Nguyen
2025-06-13 17:20:03 +10:00
committed by GitHub
parent 031a7b9e36
commit b8e08e88ac
5 changed files with 4 additions and 40 deletions

View File

@ -1,11 +1,5 @@
import { z } from 'zod';
export const ZGetApiTokenByIdQuerySchema = z.object({
id: z.number().min(1),
});
export type TGetApiTokenByIdQuerySchema = z.infer<typeof ZGetApiTokenByIdQuerySchema>;
export const ZCreateTokenMutationSchema = z.object({
teamId: z.number(),
tokenName: z.string().min(3, { message: 'The token name should be 3 characters or longer' }),