UNPKG

@omnia/fx

Version:

Provide Omnia Fx typings and tooling for clientside Omnia development.

16 lines (15 loc) 678 B
import { LayoutCanvasStore } from "../stores"; import { ISettingsKeyProvider, SettingsService } from "../../../services"; export interface BlockSettingsProviderConstructor { layoutCanvasStore: LayoutCanvasStore; } export declare class BlockSettingsProvider implements ISettingsKeyProvider { private layoutCanvasStore; settingsService: SettingsService<any>; constructor(layoutCanvasStore: LayoutCanvasStore); protectKeyWithSecurityRole: (securityRoleId: string) => void; getValue: (key: string) => Promise<any>; canSetValue: (key: string) => Promise<boolean>; setValue: (key: string, value: any) => Promise<any>; private makeBackwardCompat; }