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 = {
entityID: string;
acsURL: {
entityId: string;
acsUrl: {
binding: BindingType;
url: string;
};
};
export const samlSpMetadataGuard = z.object({
entityID: z.string(),
acsURL: z.object({
entityId: z.string(),
acsUrl: z.object({
binding: z.nativeEnum(BindingType),
url: z.string(),
}),