fix build errors

This commit is contained in:
Jesse Winton
2025-04-01 12:42:54 -04:00
parent 687a05e34d
commit 3d36dffaef
3 changed files with 28 additions and 14 deletions

View File

@@ -33,6 +33,9 @@ export const Service = {
Users: 'users'
} as const;
export type ServiceType = typeof Service;
export type ServiceValue = (typeof Service)[keyof typeof Service];
export const Platform = {
ClientWeb: 'client-web',
ClientFlutter: 'client-flutter',
@@ -57,6 +60,9 @@ export const Platform = {
ServerRest: 'server-rest'
} as const;
type PlatformType = typeof Platform;
export type Platform = (typeof Platform)[keyof typeof Platform];
export const Framework = {
NextJs: 'Next.js',
SvelteKit: 'SvelteKit',
@@ -126,7 +132,7 @@ export const platformMap: Record<Language | string, string> = {
go: 'Go'
};
export const serviceMap: Record<Service, string> = {
export const serviceMap: Record<ServiceValue, string> = {
[Service.Account]: 'Account',
[Service.Avatars]: 'Avatars',
[Service.Databases]: 'Databases',