File

src/app/_models/mappings.ts

Description

Action object interface

Index

Properties

Properties

action
action: string
Type : string

Action performed

approval
approval: boolean
Type : boolean

Action approval status.

id
id: number
Type : number

Action ID

role
role: string
Type : string

Admin's role in the system

user
user: string
Type : string

Admin who initialized the action.

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 ""