UNPKG

bitfront-library

Version:

Angular CLI project with components and classes used by other Angular projects of the BIT foundation.

25 lines (24 loc) 1.13 kB
import { Action } from "@ngrx/store"; export declare type FactoryCreateAction = (type: string, payload?: any) => Action; export declare type FactoryCreateNewObject<T> = (data?: any) => T; export declare type FactoryCreateNewFilter<F> = () => F; export declare type FactoryCreateNewFilterFromFilter<F> = (F: any) => F; export declare type FactoryCopyObject<T> = (T: any) => T; export declare type FactoryCrateToolbar<T> = (T: any) => any; export declare enum GENERIC_TYPE { GO_FORM = "[Models] Go Form", GO_LIST = "[Models] Go List", LOAD_ITEMS = "[Models] Load Items", SAVE_ITEM = "[Models] Save item", INSERT_ITEM = "[Models] Insert item", UPDATE_ITEM = "[Models] Update item", DELETE_ITEM = "[Models] Delete Item", DELETE_ITEMS = "[Models] Delete Items", SHOW_ITEM_FOR_UPDATE = "[Models] Show item for update", SHOW_ITEM_FOR_INSERT = "[Models] Show item for insert", ITEMS_SELECTED = "[Models] items selected", CLOSE_ITEM = "[Models] Close item", NEW_PAGE_SIZE = "[Modles] New Page Size", PAGE_CHANGE = "[Modles] Page Change", RESET_FILTER = "[Modles] Reset Filter" }