@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
24 lines (23 loc) • 1.11 kB
TypeScript
import { MediaPickerProvider } from "..";
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
import { CentralImageLocation } from "../../BusinessProfile";
import { MediaPickerEnums } from "../../Enums";
import { IIcon } from "../../Icon";
import { MediaPickerVideo } from "../MediaPickerMedia";
import { MediaPickerPersistedImage } from "../Shared";
export interface MediaPickerCentralImageLocationComponentProps {
imageLocationSettings: CentralImageLocation;
}
export declare class MediaPickerCentralImageLocationProvider implements MediaPickerProvider, MediaPickerCentralImageLocationComponentProps {
id: GuidValue;
category: string;
name: string;
icon: IIcon;
sortOrder?: number;
selectableMediaTypes: MediaPickerEnums.OmniaMediaTypes[];
providerComponentId: GuidValue;
imageLocationSettings: CentralImageLocation;
supportGalleryFeature?: boolean;
constructor(imageLocationSettings: CentralImageLocation, providerName: string);
hasEditorForMedia: (media: MediaPickerVideo | MediaPickerPersistedImage) => boolean;
}