Skip to content

Commit 39cc4a3

Browse files
authored
fix: Allow recurrent set pos to be -1 (#707)
1 parent 06b172e commit 39cc4a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/entities/Event/schemas.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export const eventSchema = {
281281
description:
282282
"Rrule BYSETPOS configuration, see: https://datatracker.ietf.org/doc/html/rfc5545",
283283
type: ["number", "null"],
284-
minimum: 0,
284+
minimum: -1,
285285
},
286286
recurrent_monthday: {
287287
description:
@@ -416,7 +416,7 @@ export const newEventSchema = {
416416
},
417417
recurrent_setpos: {
418418
type: ["number", "null"],
419-
minimum: 0,
419+
minimum: -1,
420420
},
421421
recurrent_monthday: {
422422
type: ["number", "null"],

0 commit comments

Comments
 (0)