Skip to content

Commit 138f0c7

Browse files
committed
fix: remove redundant CustomAuthDataSchema definition
1 parent d9b654e commit 138f0c7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/schemas/src/lib/auth/auth-schemas.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,13 @@ import {
1111
} from '../schemas';
1212
import { ScopeSchemaRaw } from './ScopeSchema';
1313

14-
export const CustomAuthDataSchema = z.object({
15-
authMethodId: HexPrefixedSchema,
16-
// This will be a very big number, unlike our native auth
17-
authMethodType: z.bigint(),
18-
});
19-
2014
export type CustomAuthData = z.infer<typeof CustomAuthDataSchema>;
2115

2216
export const CustomAuthDataSchema = z.object({
2317
authMethodId: HexPrefixedSchema,
2418
authMethodType: z.bigint(),
2519
});
2620

27-
export type CustomAuthData = z.infer<typeof CustomAuthDataSchema>;
28-
2921
export const StrictAuthDataSchema = z.object({
3022
authMethodId: HexPrefixedSchema,
3123
authMethodType: z.union([

0 commit comments

Comments
 (0)