Class Category

A Category is a collection of similar Locations.

Hierarchy

  • default
    • Category

Implements

  • Omit<EnterpriseCategory, "children" | "locations">

Properties

color?: string
externalId: string = ''
extra?: Record<string, unknown>
icon?: string

The category's icon

uri

iconFromDefaultList?: null | string
id: string

identity of the map object

links: Hyperlink[] = []

Gets the links associated with this data type.

The links associated with this data type

name: string = ''
sortOrder: number = -1

Accessors

Methods

  • Serializes the category data to JSON.

    Returns {
        id: string;
        name: string;
    }

    An object representing the category.

    • id: string
    • name: string
  • Checks if the provided instance is of type Category.

    Parameters

    • instance: object

      The instance to check.

    Returns instance is Category

    True if the instance is a Category, false otherwise.