mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 14:49:07 +00:00
refactor: Update import statements to use ArrayUtil from Common/Utils/Array
This commit is contained in:
parent
ddf0b67546
commit
94eaab9ca4
@ -1,5 +1,5 @@
|
||||
import BaseModel from "Common/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel";
|
||||
import ArrayUtil from "Common/Utils/ArrayUtil";
|
||||
import ArrayUtil from "Common/Utils/Array";
|
||||
import Dictionary from "Common/Types/Dictionary";
|
||||
import { IsBillingEnabled } from "Common/Server/EnvironmentConfig";
|
||||
import Models from "Common/Models/DatabaseModels/Index";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import DataMigrationBase from "./DataMigrationBase";
|
||||
import ArrayUtil from "Common/Utils/ArrayUtil";
|
||||
import ArrayUtil from "Common/Utils/Array";
|
||||
import { BrightColors } from "Common/Types/BrandColors";
|
||||
import LIMIT_MAX from "Common/Types/Database/LimitMax";
|
||||
import TelemetryServiceService from "Common/Server/Services/TelemetryServiceService";
|
||||
|
@ -36,7 +36,7 @@ import Response from "../Utils/Response";
|
||||
import BaseAPI from "./BaseAPI";
|
||||
import CommonAPI from "./CommonAPI";
|
||||
import BaseModel from "Common/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel";
|
||||
import ArrayUtil from "Common/Utils/ArrayUtil";
|
||||
import ArrayUtil from "Common/Utils/Array";
|
||||
import DatabaseCommonInteractionProps from "Common/Types/BaseDatabase/DatabaseCommonInteractionProps";
|
||||
import SortOrder from "Common/Types/BaseDatabase/SortOrder";
|
||||
import { LIMIT_PER_PROJECT } from "Common/Types/Database/LimitMax";
|
||||
|
@ -11,7 +11,7 @@ import CommonAPI from "./CommonAPI";
|
||||
import DatabaseCommonInteractionProps from "Common/Types/BaseDatabase/DatabaseCommonInteractionProps";
|
||||
import TelemetryType from "Common/Types/Telemetry/TelemetryType";
|
||||
import TelemetryAttributeService from "../Services/TelemetryAttributeService";
|
||||
import ArrayUtil from "Common/Utils/ArrayUtil";
|
||||
import ArrayUtil from "Common/Utils/Array";
|
||||
|
||||
const router: ExpressRouter = Express.getRouter();
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import CreateBy from "../Types/Database/CreateBy";
|
||||
import { OnCreate } from "../Types/Database/Hooks";
|
||||
import DatabaseService from "./DatabaseService";
|
||||
import ArrayUtil from "../../Utils/ArrayUtil";
|
||||
import ArrayUtil from "../../Utils/Array";
|
||||
import { BrightColors } from "../../Types/BrandColors";
|
||||
import Model from "Common/Models/DatabaseModels/ServiceCatalog";
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import CreateBy from "../Types/Database/CreateBy";
|
||||
import { OnCreate } from "../Types/Database/Hooks";
|
||||
import DatabaseService from "./DatabaseService";
|
||||
import ArrayUtil from "../../Utils/ArrayUtil";
|
||||
import ArrayUtil from "../../Utils/Array";
|
||||
import { BrightColors } from "../../Types/BrandColors";
|
||||
import BadDataException from "../../Types/Exception/BadDataException";
|
||||
import ObjectID from "../../Types/ObjectID";
|
||||
|
@ -6,7 +6,7 @@ import AccessControlModel from "Common/Models/DatabaseModels/DatabaseBaseModel/A
|
||||
import BaseModel, {
|
||||
DatabaseBaseModelType,
|
||||
} from "Common/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel";
|
||||
import ArrayUtil from "Common/Utils/ArrayUtil";
|
||||
import ArrayUtil from "Common/Utils/Array";
|
||||
import { ColumnAccessControl } from "Common/Types/BaseDatabase/AccessControl";
|
||||
import DatabaseCommonInteractionProps from "Common/Types/BaseDatabase/DatabaseCommonInteractionProps";
|
||||
import DatabaseCommonInteractionPropsUtil, {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArrayUtil from "../../Utils/ArrayUtil";
|
||||
import ArrayUtil from "../../Utils/Array";
|
||||
|
||||
describe("ArrayUtil.isEqual", () => {
|
||||
const equalArrays: Array<[Array<any>, Array<any>]> = [
|
||||
|
@ -14,7 +14,7 @@ import ObjectID from "Common/Types/ObjectID";
|
||||
import CopilotAction from "Common/Models/DatabaseModels/CopilotAction";
|
||||
import ServiceRepositoryUtil from "../../Utils/ServiceRepository";
|
||||
import Dictionary from "Common/Types/Dictionary";
|
||||
import ArrayUtil from "Common/Utils/ArrayUtil";
|
||||
import ArrayUtil from "Common/Utils/Array";
|
||||
import CopilotActionStatus from "Common/Types/Copilot/CopilotActionStatus";
|
||||
|
||||
export default class ImproveComments extends CopilotActionBase {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArrayUtil from "Common/Utils/ArrayUtil";
|
||||
import ArrayUtil from "Common/Utils/Array";
|
||||
import TelemetryIngest, {
|
||||
TelemetryRequest,
|
||||
} from "../Middleware/TelemetryIngest";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArrayUtil from "Common/Utils/ArrayUtil";
|
||||
import ArrayUtil from "Common/Utils/Array";
|
||||
import OneUptimeDate from "Common/Types/Date";
|
||||
import { JSONArray, JSONObject, JSONValue } from "Common/Types/JSON";
|
||||
import JSONFunctions from "Common/Types/JSONFunctions";
|
||||
|
Loading…
Reference in New Issue
Block a user