* Feature grouping * Add assign/unassign logic for teams feature flags * Fix types
11 lines
324 B
TypeScript
11 lines
324 B
TypeScript
import { z } from "zod";
|
|
|
|
export const ZAdminGetTeamsForFeatureSchema = z.object({
|
|
featureId: z.string(),
|
|
limit: z.number().min(1).max(100).default(10),
|
|
cursor: z.number().nullish(),
|
|
searchTerm: z.string().optional(),
|
|
});
|
|
|
|
export type TAdminGetTeamsForFeatureSchema = z.infer<typeof ZAdminGetTeamsForFeatureSchema>;
|