Skip to content

Commit b63adac

Browse files
committed
Remove dead code
1 parent a518d89 commit b63adac

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

cli/src/schemas.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ export const OperationTypeSchema = v.picklist([
111111
/**
112112
* Validates OTP (6-digit code)
113113
*/
114-
const OtpSchema = v.optional(
115-
v.pipe(v.string(), v.regex(/^\d{6}$/, 'OTP must be a 6-digit code')),
116-
)
114+
const OtpSchema = v.optional(v.pipe(v.string(), v.regex(/^\d{6}$/, 'OTP must be a 6-digit code')))
117115

118116
/**
119117
* Validates a hex token (like session tokens and operation IDs)
@@ -124,15 +122,6 @@ const HexTokenSchema = v.pipe(
124122
v.regex(/^[a-f0-9]+$/i, 'Invalid token format'),
125123
)
126124

127-
/**
128-
* Validates operation ID (16-char hex)
129-
*/
130-
const OperationIdSchema = v.pipe(
131-
v.string(),
132-
v.nonEmpty('Operation ID is required'),
133-
v.regex(/^[a-f0-9]{16}$/i, 'Invalid operation ID format'),
134-
)
135-
136125
// ============================================================================
137126
// Request Body Schemas
138127
// ============================================================================

0 commit comments

Comments
 (0)