Frodo Library - v5.0.0-47
    Preparing search index...

    Type Alias IdmFeatureRepairPlan

    The result of planIdmFeatureRepair: what a repair would do. Nothing has been written.

    The plan holds the raw backup of the tenant configuration (see IdmFeatureRepairBackup); handle it like the configuration itself. A plan is plain data and repairIdmFeature does not trust it: what it writes is taken from the shipped original definitions and from the tenant as it is read at that moment, and a plan that does not match them is refused.

    type IdmFeatureRepairPlan = {
        backup: IdmFeatureRepairBackup;
        blockers: IdmFeatureRepairBlocker[];
        customizations: IdmFeatureCustomization[];
        diagnosis: IdmFeatureDiagnosis;
        featureId: string;
        normalised: IdmFeatureDefinitionChange[];
        options: { authService: string; restoreCustomizations: boolean };
        repairable: boolean;
        steps: IdmFeatureRepairStep[];
    }
    Index
    customizations: IdmFeatureCustomization[]

    The customizations the plan replaces by the original, each with what happens to it: replaced (it stays replaced) or put-back (the plan puts it back at the end, because restoreCustomizations is set). Empty if the plan aligns nothing or finds no customization. What a person may want to restore is in tenantValue.

    The diagnosis the plan is made from.

    featureId: string

    The differences from the original that the plan aligns and that are only white space: normalised, never put back. Empty if the plan aligns nothing.

    options: { authService: string; restoreCustomizations: boolean }

    The options the plan was made with (defaults filled in).

    repairable: boolean

    False if something blocks the repair (see blockers); the plan then has no steps and no backup data. True with no steps means there is nothing to repair.

    In the order they run.