Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/shrihari-prakash/liquid int…
Browse files Browse the repository at this point in the history
…o release
  • Loading branch information
shrihari-prakash committed Dec 31, 2023
2 parents 6202914 + 9d9c4de commit 8b7d00d
Show file tree
Hide file tree
Showing 57 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion src/service/api/client/admin-api/create.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "client/admin-api/create" });
const log = Logger.getLogger().child({ from: "client/admin-api/create.post" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/client/admin-api/delete.delete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "admin-api/editable-fields" });
const log = Logger.getLogger().child({ from: "client/admin-api/delete.delete" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/client/admin-api/list.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/common-api/get-user-info" });
const log = Logger.getLogger().child({ from: "client/admin-api/list.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/client/admin-api/update.patch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "client/admin-api/update" });
const log = Logger.getLogger().child({ from: "client/admin-api/update.patch" });

import { Request, Response } from "express";
import { isValidObjectId } from "mongoose";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/client/client.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/client" });
const log = Logger.getLogger().child({ from: "client/client.get" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/system/countries-insecure.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "system/country-codes" });
const log = Logger.getLogger().child({ from: "system/contries-insecure.get" });

import { Request, Response } from "express";
import { errorMessages, statusCodes } from "../../../utils/http-status";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/system/settings-insecure.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "system/settings" });
const log = Logger.getLogger().child({ from: "system/settings-insecure.get" });

import { Request, Response } from "express";
import { errorMessages, statusCodes } from "../../../utils/http-status";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/system/settings.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "system/settings" });
const log = Logger.getLogger().child({ from: "system/settings.get" });

import { Request, Response } from "express";
import { ScopeManager } from "../../../singleton/scope-manager";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/system/shared/stats.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "system/stats.get" });
const log = Logger.getLogger().child({ from: "system/shared/stats.get" });

import { Request, Response } from "express";
import * as os from "os";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/2fa.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/2fa" });
const log = Logger.getLogger().child({ from: "user/2fa.post" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/_userId.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/:userId" });
const log = Logger.getLogger().child({ from: "user/:userId.get" });

import { Request, Response } from "express";
import { isValidObjectId } from "mongoose";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/admin-api/editable-fields.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "admin-api/editable-fields" });
const log = Logger.getLogger().child({ from: "user/admin-api/editable-fields.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/admin-api/update.patch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/patch" });
const log = Logger.getLogger().child({ from: "user/admin-api/update.patch" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/admin-api/verify.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/admin-api/verify" });
const log = Logger.getLogger().child({ from: "user/admin-api/verify.post" });

import { Request, Response } from "express";
import { isValidObjectId } from "mongoose";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/block.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/block" });
const log = Logger.getLogger().child({ from: "user/block.post" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/client-api/block-status.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "client-api/block-status" });
const log = Logger.getLogger().child({ from: "user/client-api/block-status.get" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/client-api/follow-status.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "client-api/follow-status" });
const log = Logger.getLogger().child({ from: "user/client-api/follow-status.get" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/client-api/user-followers.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "client-api/user-followers" });
const log = Logger.getLogger().child({ from: "user/client-api/user-followers.get" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/client-api/user-following.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "client-api/user-following" });
const log = Logger.getLogger().child({ from: "user/client-api/user-following.get" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/code.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/code" });
const log = Logger.getLogger().child({ from: "user/code.get" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/create.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/create" });
const log = Logger.getLogger().child({ from: "user/create.post" });

import { Request, Response } from "express";
import bcrypt from "bcrypt";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/do-2fa.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/do-2fa" });
const log = Logger.getLogger().child({ from: "user/do-2fa.post" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/follow-entry.delete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/delete-follow-request" });
const log = Logger.getLogger().child({ from: "user/follow-entry.delete" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/follow-request.patch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/accept-follow-request" });
const log = Logger.getLogger().child({ from: "user/follow-request.patch" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/follow-requests.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/follow-requests" });
const log = Logger.getLogger().child({ from: "user/follow-requests.get" });

import { Request, Response } from "express";
import { mongo } from "mongoose";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/follow-status.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/follow-status" });
const log = Logger.getLogger().child({ from: "user/follow-status.get" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/follow.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/follow" });
const log = Logger.getLogger().child({ from: "user/follow.post" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/followers.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/followers" });
const log = Logger.getLogger().child({ from: "user/followers.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/following.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/following" });
const log = Logger.getLogger().child({ from: "user/following.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/invite-codes.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/invite-codes" });
const log = Logger.getLogger().child({ from: "user/invite-codes.get" });

import { Request, Response } from "express";
import moment from "moment";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/login-history.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/login-history" });
const log = Logger.getLogger().child({ from: "user/login-history.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/login.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/login" });
const log = Logger.getLogger().child({ from: "user/login.post" });

import bcrypt from "bcrypt";
import { Request, Response } from "express";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/logout.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/logout" });
const log = Logger.getLogger().child({ from: "user/logout.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/me.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/me" });
const log = Logger.getLogger().child({ from: "user/me.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/me.patch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/me" });
const log = Logger.getLogger().child({ from: "user/me.patch" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/private.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/switch-private" });
const log = Logger.getLogger().child({ from: "user/private.post" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/profile-picture.delete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/unfollow" });
const log = Logger.getLogger().child({ from: "user/profile-picture.delete" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/profile-picture.patch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/unfollow" });
const log = Logger.getLogger().child({ from: "user/profile-picture.patch" });

import { Request, Response } from "express";
import { S3Client } from "@aws-sdk/client-s3";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/reset-password.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/reset-password" });
const log = Logger.getLogger().child({ from: "user/reset-password.post" });

import { Request, Response } from "express";
import bcrypt from "bcrypt";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/scopes.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/scopes" });
const log = Logger.getLogger().child({ from: "user/scopes.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/search.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/search" });
const log = Logger.getLogger().child({ from: "user/search.post" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/session-state.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/session-state" });
const log = Logger.getLogger().child({ from: "user/session-state.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/access.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/admin-api/access" });
const log = Logger.getLogger().child({ from: "user/shared/access.post" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/ban.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/common-api/ban" });
const log = Logger.getLogger().child({ from: "user/shared/ban.post" });

import { Request, Response } from "express";
import { isValidObjectId } from "mongoose";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/create.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "admin-api/user/create" });
const log = Logger.getLogger().child({ from: "user/shared/create.post" });

import { Request, Response } from "express";
import bcrypt from "bcrypt";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/credits.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/common-api/credits" });
const log = Logger.getLogger().child({ from: "user/shared/credits.post" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/invite-codes.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/admin-api/invite-codes.get" });
const log = Logger.getLogger().child({ from: "user/shared/invite-codes.get" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/invite-codes.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/admin-api/invite-codes.post" });
const log = Logger.getLogger().child({ from: "user/shared/invite-codes.post" });

import { Request, Response } from "express";
import { isValidObjectId } from "mongoose";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/list.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/common-api/get-user-info" });
const log = Logger.getLogger().child({ from: "user/shared/list.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/restrict.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/common-api/restrict" });
const log = Logger.getLogger().child({ from: "user/shared/restrict.post" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/roles.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "admin-api/roles.get" });
const log = Logger.getLogger().child({ from: "user/shared/roles.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/subscription-tiers.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "admin-api/editable-fields" });
const log = Logger.getLogger().child({ from: "user/shared/subscription-tiers.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/subscription.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/common-api/subscription" });
const log = Logger.getLogger().child({ from: "user/shared/subscription.post" });

import { Request, Response } from "express";
import moment from "moment";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/user-info.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/common-api/user-info.get" });
const log = Logger.getLogger().child({ from: "user/shared/user-info.get" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/unblock.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/unblock" });
const log = Logger.getLogger().child({ from: "user/unblock.post" });

import { Request, Response } from "express";
import { body } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/unfollow.post.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/unfollow" });
const log = Logger.getLogger().child({ from: "user/unfollow.post" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/verify-email.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/verify-email" });
const log = Logger.getLogger().child({ from: "user/verify-email.get" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down

0 comments on commit 8b7d00d

Please sign in to comment.