src/app/_models/mappings.ts
Category object interface
Properties |
name |
name:
|
Type : string
|
Business category |
products |
products:
|
Type : Array<string>
|
Products that map to that category. |
interface Action {
/** Action performed */
action: string;
/** Action approval status. */
approval: boolean;
/** Action ID */
id: number;
/** Admin's role in the system */
role: string;
/** Admin who initialized the action. */
user: string;
}
/** Area name object interface */
interface AreaName {
/** Locations that map to that area name. */
locations: Array<string>;
/** Name of area */
name: string;
}
/** Area type object interface */
interface AreaType {
/** Areas that map to that area type. */
area: Array<string>;
/** Type of area */
name: string;
}
/** Category object interface */
interface Category {
/** Business category */
name: string;
/** Products that map to that category. */
products: Array<string>;
}
/** @exports */
export { Action, AreaName, AreaType, Category };