0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

chore: update type field name

This commit is contained in:
Darcy Ye 2024-11-20 15:53:48 +08:00
parent 4fc4b0b6c5
commit ce288354c7
No known key found for this signature in database
GPG key ID: B46F4C07EDEFC610

View file

@ -13,16 +13,16 @@ export enum BindingType {
} }
export type SamlSpMetadata = { export type SamlSpMetadata = {
entityID: string; entityId: string;
acsURL: { acsUrl: {
binding: BindingType; binding: BindingType;
url: string; url: string;
}; };
}; };
export const samlSpMetadataGuard = z.object({ export const samlSpMetadataGuard = z.object({
entityID: z.string(), entityId: z.string(),
acsURL: z.object({ acsUrl: z.object({
binding: z.nativeEnum(BindingType), binding: z.nativeEnum(BindingType),
url: z.string(), url: z.string(),
}), }),