MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / buildBaseConditions

Function buildBaseConditions

apps/web/src/routers/admin-code-reviews-router.ts:211–224  ·  view source on GitHub ↗
(input: FilterInput)

Source from the content-addressed store, hash-verified

209 cloud_agent_code_review_attempts.terminal_reason,
210 cloud_agent_code_review_attempts.error_message
211);
212
213const FilterSchemaShape = {
214 startDate: z.string().datetime(), // ISO datetime string
215 endDate: z.string().datetime(), // ISO datetime string
216 userId: z.string().min(1).optional(), // Filter by specific user
217 organizationId: z.string().uuid().optional(), // Filter by specific organization
218 ownershipType: z.enum(['all', 'personal', 'organization']).optional().default('all'),
219 retryAccountingMode: z
220 .enum(['final_outcome', 'all_attempts'])
221 .optional()
222 .default('final_outcome'),
223};
224
225type DateIntervalInput = {
226 startDate: string;
227 endDate: string;

Callers 1

Calls 3

accountingCreatedAtFunction · 0.85
buildOwnershipFilterFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected