From ce288354c70b42780ce98f65fcfab46132b9008a Mon Sep 17 00:00:00 2001 From: Darcy Ye Date: Wed, 20 Nov 2024 15:53:48 +0800 Subject: [PATCH] chore: update type field name --- .../foundations/jsonb-types/saml-application-configs.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/schemas/src/foundations/jsonb-types/saml-application-configs.ts b/packages/schemas/src/foundations/jsonb-types/saml-application-configs.ts index 6df8b801d..6767718ab 100644 --- a/packages/schemas/src/foundations/jsonb-types/saml-application-configs.ts +++ b/packages/schemas/src/foundations/jsonb-types/saml-application-configs.ts @@ -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(), }),