吉安感知网项目-前端
edit | blame | history | raw

@ztzf/constants

Shared constants for ztzf project.

Installation

This is a private package managed by pnpm workspace.

Usage

Import constants in your applications:

import {
  TASK_STATUS_CODES,
  TASK_STATUS_LABELS,
  EVENT_STATUS_CODES,
  EVENT_STATUS_LABELS
} from '@ztzf/constants';

Available Constants

Task Status (任务状态)

  • TASK_STATUS_CODES: Status codes mapping (状态码)
  • TASK_STATUS_LABELS: Status text labels (状态文本)
  • TASK_STATUS_CLASSES: Status CSS classes (状态样式类)
  • TASK_STATUS_OPTIONS: Select options configuration (下拉选项配置)

Event Status (事件状态)

  • EVENT_STATUS_CODES: Status codes mapping (状态码)
  • EVENT_STATUS_LABELS: Status text labels (状态文本)
  • EVENT_STATUS_CLASSES: Status CSS classes (状态样式类)
  • EVENT_STATUS_COLORS: Status colors (状态颜色)
  • EVENT_STATUS_OPTIONS: Select options configuration (下拉选项配置)
  • EVENT_ANALYSIS_CONFIG: Analysis chart configuration (分析图表配置)
  • EVENT_INSPECTION_CONFIG: Inspection task configuration (巡检任务配置)
  • EVENT_STATISTICS_CONFIG: Statistics configuration (统计配置)