@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
28 lines (27 loc) • 915 B
TypeScript
import { Store } from "@omnia/fx/stores";
import { Guid, ThemeDefinitionV2 } from "@omnia/fx-models";
export declare class ThemeDefinitionStoreV2 extends Store {
private themeDefinitions;
constructor();
onActivated(): void;
onDisposing(): void;
/**
* Implementation of getters
*/
getters: {
all: () => Array<ThemeDefinitionV2>;
byId: (id: Guid) => ThemeDefinitionV2;
};
/**
* Implementation of mutations
*/
mutations: {
addThemeDefinition: import("@omnia/fx/stores").StoreMutation<(theme: ThemeDefinitionV2) => void, (theme: ThemeDefinitionV2) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
};
/**
* Implementation of actions
*/
actions: {
load: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
};
}