Initial commit

This commit is contained in:
2025-08-04 16:33:07 +03:30
commit f798e8e35c
9595 changed files with 1208683 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { HttpResponse, http } from 'msw'
import { db } from '@db/pages/help-center/db'
// Handler for pages/help-center
export const handlerPagesHelpCenter = [
http.get(('/api/pages/help-center'), () => {
return HttpResponse.json({ allArticles: db.allArticles, popularArticles: db.popularArticles, keepLearning: db.keepLearning }, { status: 200 })
}),
http.get(('/api/pages/help-center/article'), () => {
return HttpResponse.json(db.articleData, { status: 200 })
}),
]