refactor: move analytics into services directory

This commit is contained in:
Justin Lin committed 2025-05-05 19:55:40 +08:00
1 parent e43cbe26ce
commit 740cbcecb4
31 files changed
+6 -5

No files matched your search

+1
View File
@@ -9,6 +9,7 @@
"app",
"server",
"packages/*",
"services/*",
"tests"
],
"scripts": {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Before

Width:  |  Height:  |  Size: 630 KiB

After

Width:  |  Height:  |  Size: 630 KiB

File renamed without changes.
@@ -1,7 +1,7 @@
import express from 'express'
import { engine } from 'express-handlebars'
import basicAuth from 'express-basic-auth'
import { connectDB } from '../../models'
import { connectDB } from '../../../packages/models'
import config from './config'
import router from './router'
File renamed without changes.
@@ -1,4 +1,4 @@
import { Command } from '../../../models'
import { Command } from '../../../../packages/models'
import Pagination from './pagination'
// eslint-disable-next-line import/prefer-default-export
@@ -1,4 +1,4 @@
import { UserProfile } from '../../../models'
import { UserProfile } from '../../../../packages/models'
export interface QuestProgress {
_id: string
@@ -1,4 +1,4 @@
import { Command, Session } from '../../../models'
import { Command, Session } from '../../../../packages/models'
import Pagination from './pagination'
import {
CommandObject,
@@ -1,5 +1,5 @@
import { HydratedDocument, Types } from 'mongoose'
import { Session, User, IUser, ISession } from '../../../models'
import { Session, User, IUser, ISession } from '../../../../packages/models'
import Pagination from './pagination'
import { UserSessionDetail } from '../interface'
File renamed without changes.
File renamed without changes.