[feat-216] aligned with change with v4 schema maps

* linted/auto-formatted sorter.service.ts files
* changed generics.type to comparator.type
This commit is contained in:
silentrald
2024-10-16 09:03:44 +08:00
parent 22af4610eb
commit 6d1418dd7c
6 changed files with 40 additions and 55 deletions
+8
View File
@@ -0,0 +1,8 @@
export enum Comparison {
EQUAL = 0,
GREATER = 1,
LESSER = -1,
};
export type Comparator<T> = (object1: T, object2: T) => number;
-3
View File
@@ -1,3 +0,0 @@
export type Comparator<T> = (object1: T, object2: T) => number;
+1 -1
View File
@@ -1,7 +1,7 @@
import { ObjectValues } from "shared/helpers/type.helpers";
import { SongDetailDiffCharactertistic, SongDiffName } from "./song-details-cache/song-details-cache.model";
import { BsmLocalMap } from "./bsm-local-map.interface";
import { Comparator } from "../generics.type";
import { Comparator } from "../comparator.type";
export interface BsvMapDetail {
automapper: boolean;