improve .env parsing

This commit is contained in:
Paul Coral
2025-08-01 23:18:04 +02:00
parent c3881d7ff7
commit 6050d9d3a3
29 changed files with 455 additions and 98 deletions

View File

@@ -1,10 +0,0 @@
export interface AuthApiService {
postCredentials(): Promise<string>;
}
export const AuthApiService: Record<keyof AuthApiService, string> & {
baseUrl: string;
} = {
baseUrl: "auth",
postCredentials: "credentials",
};

View File

@@ -1 +0,0 @@
export * from "./auth-api-service";

View File

@@ -1 +0,0 @@
export * from "./auth";

View File

@@ -1,2 +1,2 @@
export * from "./api-services";
export * from "./models";
export * from "./utils";

View File

@@ -0,0 +1,3 @@
export function isDefined<T>(obj: T): obj is NonNullable<T> {
return obj !== undefined && obj !== null;
}

View File

@@ -0,0 +1 @@
export * from "./common";