File

src/app/_models/mappings.ts

Description

Category object interface

Index

Properties

Properties

name
name: string
Type : string

Business category

products
products: Array<string>
Type : Array<string>

Products that map to that category.

interface Action {
  /** Action ID */
  id: number;
  /** Admin who initialized the action. */
  user: string;
  /** Admin's role in the system */
  role: string;
  /** Action performed */
  action: string;
  /** Action approval status. */
  approval: boolean;
}

/** Area name object interface */
interface AreaName {
  /** Name of area */
  name: string;
  /** Locations that map to that area name. */
  locations: Array<string>;
}

/** Area type object interface */
interface AreaType {
  /** Type of area */
  name: string;
  /** Areas that map to that area type. */
  area: Array<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 };

result-matching ""

    No results matching ""