mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 01:28:33 +00:00
feat: enhance LDAP connection schema to support gateways in update operations
This commit is contained in:
@@ -85,7 +85,11 @@ export const UpdateLdapConnectionSchema = z
|
|||||||
AppConnections.UPDATE(AppConnection.LDAP).credentials
|
AppConnections.UPDATE(AppConnection.LDAP).credentials
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.and(GenericUpdateAppConnectionFieldsSchema(AppConnection.LDAP));
|
.and(
|
||||||
|
GenericUpdateAppConnectionFieldsSchema(AppConnection.LDAP, {
|
||||||
|
supportsGateways: true
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
export const LdapConnectionListItemSchema = z.object({
|
export const LdapConnectionListItemSchema = z.object({
|
||||||
name: z.literal("LDAP"),
|
name: z.literal("LDAP"),
|
||||||
|
|||||||
Reference in New Issue
Block a user