This commit is contained in:
Owen
2026-05-28 20:14:39 -07:00
parent 322475fb5c
commit a32acf7c69
5 changed files with 5 additions and 422 deletions

View File

@@ -123,7 +123,7 @@ type LocalRule = {
// ─── PolicyNameSection ──────────────────────────────────────────────────
type PolicyNameSectionProps = {
form: UseFormReturn<PolicyFormValues, any, any>;
form: UseFormReturn<PolicyFormValues>;
isEditing?: boolean;
};
@@ -178,7 +178,7 @@ export function PolicyNameSection({ form }: PolicyNameSectionProps) {
// ─── PolicyUsersRolesSection ──────────────────────────────────────────────────
type PolicyUsersRolesSectionProps = {
form: UseFormReturn<PolicyFormValues, any, any>;
form: UseFormReturn<PolicyFormValues>;
allRoles: { id: string; text: string }[];
allUsers: { id: string; text: string }[];
allIdps: { id: number; text: string }[];
@@ -384,7 +384,7 @@ const setHeaderAuthSchema = z.object({
});
type PolicyAuthMethodsSectionProps = {
form: UseFormReturn<PolicyFormValues, any, any>;
form: UseFormReturn<PolicyFormValues>;
};
export function PolicyAuthMethodsSection({
@@ -808,7 +808,7 @@ export function PolicyAuthMethodsSection({
// ─── PolicyOtpEmailSection ────────────────────────────────────────────────────
type PolicyOtpEmailSectionProps = {
form: UseFormReturn<PolicyFormValues, any, any>;
form: UseFormReturn<PolicyFormValues>;
emailEnabled: boolean;
};
@@ -950,7 +950,7 @@ export function PolicyOtpEmailSection({
// ─── PolicyRulesSection ───────────────────────────────────────────────────────
type PolicyRulesSectionProps = {
form: UseFormReturn<PolicyFormValues, any, any>;
form: UseFormReturn<PolicyFormValues>;
isMaxmindAvailable: boolean;
isMaxmindAsnAvailable: boolean;
};