Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
chore(back-end): move constants as one of the shared back-end
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Sep 16, 2022
1 parent b996912 commit 512d83b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion routes/api/chat_message/create.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Socket from "!/ws/socket"
import Log from "$!/singletons/log"
import Manager from "%/managers/chat_message"
import JSONController from "!/controllers/json"
import { chatMessageKind } from "!/constants/regex"
import { chatMessageKind } from "$!/constants/regex"
import CreatedResponseInfo from "!/response_infos/created"
import ChatMessageActivityManager from "%/managers/chat_message_activity"
import makeConsultationChatNamespace from "$/namespace_makers/consultation_chat"
Expand Down
2 changes: 1 addition & 1 deletion routes/api/chat_message/update(id).patch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { ChatMessageActivityDocument } from "$/types/documents/chat_message

import Socket from "!/ws/socket"
import Manager from "%/managers/chat_message"
import { chatMessageKind } from "!/constants/regex"
import { chatMessageKind } from "$!/constants/regex"
import Merger from "!/middlewares/miscellaneous/merger"
import NoContentResponseInfo from "!/response_infos/no_content"
import DoubleBoundJSONController from "!/controllers/double_bound_json"
Expand Down
2 changes: 1 addition & 1 deletion routes/api/user/import.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {
RawBulkDataForEmployee
} from "%/types/independent"

import { personName } from "!/constants/regex"
import { personName } from "$!/constants/regex"

import extractEmailUsername from "$!/helpers/extract_email_username"
import Log from "$!/singletons/log"
Expand Down
2 changes: 1 addition & 1 deletion routes/api/user/update(id).patch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {
BaseManagerClass
} from "!/types/dependent"

import { personName } from "!/constants/regex"
import { personName } from "$!/constants/regex"

import Policy from "!/bases/policy"
import UserManager from "%/managers/user"
Expand Down

0 comments on commit 512d83b

Please sign in to comment.