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
@@ -1,10 +0,0 @@
export interface AuthApiService {
postCredentials(): Promise<string>;
}
export const AuthApiService: Record<keyof AuthApiService, string> & {
baseUrl: string;
} = {
baseUrl: "auth",
postCredentials: "credentials",
};
@@ -1 +0,0 @@
export * from "./auth-api-service";
@@ -1 +0,0 @@
export * from "./auth";
+1 -1
View File
@@ -1,2 +1,2 @@
export * from "./api-services";
export * from "./models";
export * from "./utils";
+3
View File
@@ -0,0 +1,3 @@
export function isDefined<T>(obj: T): obj is NonNullable<T> {
return obj !== undefined && obj !== null;
}
+1
View File
@@ -0,0 +1 @@
export * from "./common";