feat: widgets and ai chat
This commit is contained in:
@@ -8,3 +8,4 @@ export * from './sso';
|
||||
export * from './login-link';
|
||||
export * from './token-auth';
|
||||
export * from './automation-key';
|
||||
export * from './search';
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
import * as z from 'zod';
|
||||
|
||||
export const ZSearchOrganization = z.object({
|
||||
q: z.string().trim().min(1).max(200),
|
||||
limit: z.coerce.number().int().min(1).max(20).default(5)
|
||||
});
|
||||
|
||||
export type TSearchOrganization = z.infer<typeof ZSearchOrganization>;
|
||||
Reference in New Issue
Block a user