File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,15 @@ const baseSchema = z.object({
124124const requestSchema = baseSchema . extend ( {
125125 repeats : z . optional ( z . enum ( repeatOptions ) ) ,
126126 repeatEnds : z . string ( ) . optional ( ) ,
127- repeatExcludes : z . array ( z . string ( ) . date ( ) ) . optional ( ) . openapi ( {
128- description :
129- "Dates to exclude from recurrence rules (in the America/Chicago timezone)." ,
130- } ) ,
127+ repeatExcludes : z
128+ . array ( z . string ( ) . date ( ) )
129+ . min ( 1 )
130+ . max ( 100 )
131+ . optional ( )
132+ . openapi ( {
133+ description :
134+ "Dates to exclude from recurrence rules (in the America/Chicago timezone)." ,
135+ } ) ,
131136} ) ;
132137
133138const postRequestSchema = requestSchema
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export default defineConfig({
1111 coverage : {
1212 provider : "istanbul" ,
1313 include : [ "src/api/**/*.ts" , "src/common/**/*.ts" ] ,
14- exclude : [ "src/api/lambda.ts" ] ,
14+ exclude : [ "src/api/lambda.ts" , "src/api/sqs/handlers/templates/*.ts" ] ,
1515 thresholds : {
1616 statements : 54 ,
1717 functions : 65 ,
You can’t perform that action at this time.
0 commit comments