Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

Commit e7646de

Browse files
fix: deps
1 parent 5fa2ae7 commit e7646de

File tree

2 files changed

+372
-395
lines changed

2 files changed

+372
-395
lines changed

src/validation/joi/joi.shared.schemas.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
_stringEnumKeys,
55
_stringEnumValues,
66
BaseDBEntity,
7+
IANATimezone,
78
IsoDateTime,
89
NumberEnum,
910
StringEnum,
@@ -177,7 +178,7 @@ export const ianaTimezoneSchema = stringSchema
177178
.valid(...Intl.supportedValuesOf('timeZone'), 'UTC')
178179
.messages({
179180
'any.only': `must be a valid IANA timezone string`,
180-
})
181+
}) as StringSchema<IANATimezone>
181182

182183
export const ipAddressSchema = stringSchema.ip()
183184

0 commit comments

Comments
 (0)