mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-09 23:48:36 +01:00
restructure
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"@getbrevo/brevo": "^2.2.0",
|
||||
"dayjs": "^1.11.13",
|
||||
"mongoose": "^8.3.2"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.12.13",
|
||||
"ts-node": "^10.9.2",
|
||||
@@ -15,11 +11,11 @@
|
||||
"scripts": {
|
||||
"dev": "node scripts/start_dev.js",
|
||||
"compile": "tsc",
|
||||
"build": "node ../scripts/build.js",
|
||||
"build_all": "npm run compile && npm run build"
|
||||
"build_project": "node ../scripts/build.js",
|
||||
"build": "npm run compile && npm run build"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Emily",
|
||||
"license": "MIT",
|
||||
"description": "."
|
||||
"description": ""
|
||||
}
|
||||
@@ -6,7 +6,7 @@ import { EventModel } from "@schema/metrics/EventSchema";
|
||||
import { VisitModel } from '@schema/metrics/VisitSchema'
|
||||
|
||||
import * as url from 'url';
|
||||
import { ProjectModel } from "@schema/ProjectSchema";
|
||||
import { ProjectModel } from "@schema/project/ProjectSchema";
|
||||
import { getAggregation } from "./Aggregations";
|
||||
|
||||
type TAvgInput = { _id: string, count: number }
|
||||
|
||||
@@ -4,7 +4,7 @@ import { requireEnv } from '@utils/requireEnv'
|
||||
|
||||
import EmailService from "@services/EmailService";
|
||||
|
||||
import { ProjectModel } from "@schema/ProjectSchema";
|
||||
import { ProjectModel } from "@schema/project/ProjectSchema";
|
||||
import { UserModel } from "@schema/UserSchema";
|
||||
|
||||
EmailService.init(requireEnv('BREVO_API_KEY'));
|
||||
|
||||
Reference in New Issue
Block a user