Skip to content

Commit a90ff64

Browse files
committed
Change method for generating the frontend client
1 parent 094808a commit a90ff64

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+790
-1679
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.env
22
.env.local
33
node_modules
4+
5+
gen-api

console/src/lib/routes/routes.ts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,37 @@
1+
const basePath = "/console";
2+
13
export const homeRoute = {
2-
path: () => "/project/overview"
4+
path: () => `${basePath}/project/overview`
35
};
46

57
export const overviewRoute = {
6-
path: () => `/project/overview`
8+
path: () => `${basePath}/project/overview`
79
};
810

911
export const authSettingsRoute = {
10-
path: () => "/project/auth"
12+
path: () => `${basePath}/project/auth`
1113
};
1214

1315
export const settingsRoute = {
14-
path: () => "/project/settings"
16+
path: () => `${basePath}/project/settings`
1517
};
1618

1719
export const loginRoute = {
18-
path: () => "/login"
20+
path: () => `${basePath}/login`
1921
};
2022

2123
export const registerRoute = {
22-
path: () => "/register"
24+
path: () => `${basePath}/register`
2325
};
2426

2527
export const forgotPasswordRoute = {
26-
path: () => "/forgot-password"
28+
path: () => `${basePath}/forgot-password`
2729
};
2830

2931
export const onboardingRoute = {
30-
path: () => "/onboarding"
32+
path: () => `${basePath}/onboarding`
3133
};
3234

3335
export const projectOnboardingRoute = {
34-
path: (projectId: string) => `/project/${projectId}/onboarding`
36+
path: (projectId: string) => `${basePath}/project/${projectId}/onboarding`
3537
};

console/src/lib/services/typescript-client/src/.openapi-generator-ignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

console/src/lib/services/typescript-client/src/.openapi-generator/FILES

Lines changed: 0 additions & 8 deletions
This file was deleted.

console/src/lib/services/typescript-client/src/.openapi-generator/VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

console/src/lib/services/typescript-client/src/apis/DefaultApi.ts

Lines changed: 0 additions & 51 deletions
This file was deleted.

console/src/lib/services/typescript-client/src/apis/UsersApi.ts

Lines changed: 0 additions & 68 deletions
This file was deleted.

console/src/lib/services/typescript-client/src/apis/index.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

console/src/lib/services/typescript-client/src/index.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

console/src/lib/services/typescript-client/src/models/RegisterUserDto.ts

Lines changed: 0 additions & 84 deletions
This file was deleted.

console/src/lib/services/typescript-client/src/models/SanitizedUserResponse.ts

Lines changed: 0 additions & 84 deletions
This file was deleted.

console/src/lib/services/typescript-client/src/models/index.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)