This commit is contained in:
2023-04-04 17:53:19 +02:00
parent 9a8c901130
commit f4f64702eb
37 changed files with 3344 additions and 4269 deletions

3
src/constants/index.ts Normal file
View File

@@ -0,0 +1,3 @@
export * from "./routes";
export * from "./query-keys";
export * from "./result-code";

View File

@@ -0,0 +1,5 @@
export const QUERY_KEYS = {
TODOLISTS: "todolists",
TASKS: "tasks",
ME: "me",
} as const;

View File

@@ -0,0 +1,5 @@
export enum ResultCode {
Success = 0,
InvalidRequest = 1,
InvalidRequestWithCaptcha = 10,
}

View File

@@ -0,0 +1,4 @@
export const ROUTES = {
HOME: "/",
LOGIN: "/login",
} as const;