@omnia/fx-spfx
Version:
Provide Omnia Fx Sharepoint Stuffs.
9 lines (8 loc) • 510 B
TypeScript
import { ISettingsKeyProvider } from "../../../fx/services";
export declare class OmniaSpfxSettingsProvider implements ISettingsKeyProvider {
protectKeyWithSecurityRole: (securityRoleId: string) => void;
getValue: (key: string) => Promise<any>;
canSetValue: (key: string) => Promise<boolean>;
setValue: (key: string, value: any) => Promise<any>;
ensureMigration: (scope: string, controlId: string, newKey: string, transformData?: (migratedValue: any) => any) => Promise<boolean>;
}