mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
opencode chat backend
This commit is contained in:
@@ -666,3 +666,9 @@ export const CancelSubscriptionResponseSchema = z.object({
|
||||
});
|
||||
|
||||
export type CancelSubscriptionResponse = z.infer<typeof CancelSubscriptionResponseSchema>;
|
||||
|
||||
export const ChatRequestSchema = z.object({
|
||||
orgId: z.coerce.number().int().positive("orgId must be a positive integer"),
|
||||
projectId: z.coerce.number().int().positive("projectId must be a positive integer"),
|
||||
message: z.string().min(1, "Message is required"),
|
||||
});
|
||||
|
||||
@@ -135,6 +135,7 @@ export {
|
||||
UserResponseSchema,
|
||||
UserUpdateRequestSchema,
|
||||
VerifyEmailRequestSchema,
|
||||
ChatRequestSchema,
|
||||
} from "./api-schemas";
|
||||
export {
|
||||
ISSUE_COMMENT_MAX_LENGTH,
|
||||
|
||||
Reference in New Issue
Block a user