Skip to content

Commit

Permalink
docs : GRADE_ARRAY 이동 (graph -> weather)
Browse files Browse the repository at this point in the history
  • Loading branch information
BadaHertz52 committed Nov 29, 2023
1 parent 0a5b031 commit 1a9b99c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/constants/graph.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { PmType } from "../modules";
import { TableHeadDataValueType, TableHeadTitleType } from "../types";
import { getTableHeadDataValue } from "../utils";
import { PM_STATE } from "./weather";

export const GRADE_ARRAY: PmType[] = Object.keys(PM_STATE) as PmType[];

export const GRAPH_TABLE_HEAD_MAP: Map<
TableHeadTitleType,
Expand Down
4 changes: 3 additions & 1 deletion src/constants/weather.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WindDirectionType } from "../modules/weather";
import { PmType, WindDirectionType } from "../modules/weather";
//sky
export const SKY_CODE = {
sunny: "맑음", // sky code :1
Expand Down Expand Up @@ -58,3 +58,5 @@ export const PM_STATE = {
veryBad: { name: "매우 나쁨", color: "#ef5350" },
undefined: { name: "정보없음", color: "#6d6d6d" },
};

export const GRADE_ARRAY = Object.keys(PM_STATE) as PmType[];

0 comments on commit 1a9b99c

Please sign in to comment.