@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
39 lines (38 loc) • 2.57 kB
TypeScript
import { Store } from "@omnia/fx/stores";
import { OmniaContext } from "@omnia/fx";
import { MediaflowAuthenticationInfo, MediaflowSettings } from "@omnia/fx-models";
import { SettingsService } from "@omnia/fx/services";
import { MediaflowService } from "../service/MediaflowService";
import { MediaflowAccessToken } from "../models";
export declare class MediaflowProviderStore extends Store {
settingService: SettingsService<MediaflowSettings>;
omniaContext: OmniaContext;
mediaflowService: MediaflowService;
private settings;
private authenticationInfo;
private mediaflowSettingKey;
private accessToken;
private accessTokenExpireTime;
constructor();
getters: {
getSettings: () => MediaflowSettings;
getAuthenticationInfo: () => MediaflowAuthenticationInfo;
bearerToken: () => string;
};
actions: {
loadSettings: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: any) => void, (failureReason: any) => void, () => Promise<any>>;
loadAuthenticationInfo: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
ensureBearerToken: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
init: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
reportUsage: import("@omnia/fx/stores").StoreAction<unknown, (mediaId: number, removed: boolean) => void, (result: void, mediaId: number, removed: boolean) => void, (failureReason: any, mediaId: number, removed: boolean) => void, (mediaId: number, removed: boolean) => Promise<void>>;
};
mutations: {
setSetting: import("@omnia/fx/stores").StoreMutation<(item: MediaflowSettings) => void, (item: MediaflowSettings) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
setAuthenticationInfo: import("@omnia/fx/stores").StoreMutation<(item: MediaflowAuthenticationInfo) => void, (item: MediaflowAuthenticationInfo) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
setAccessToken: import("@omnia/fx/stores").StoreMutation<(accessToken: MediaflowAccessToken) => void, (accessToken: MediaflowAccessToken) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
};
private getCurrentTitle;
private getContact;
protected onActivated(): void;
protected onDisposing(): void;
}