@gftdcojp/gftd-orm
Version:
Enterprise-grade real-time data platform with ksqlDB, inspired by Supabase architecture
62 lines • 1.31 kB
TypeScript
/**
* Configuration Management - 環境変数とセキュリティ設定
*/
/**
* 環境変数の型定義
*/
interface CoreConfig {
url: string;
serviceRoleKey?: string;
anonKey?: string;
}
interface DatabaseConfig {
ksql: {
url: string;
apiKey?: string;
apiSecret?: string;
};
schemaRegistry: {
url: string;
authUser?: string;
authPassword?: string;
apiKey?: string;
};
}
interface RealtimeConfig {
url: string;
apiKey?: string;
}
/**
* コア設定 (遅延評価)
*/
export declare function getCoreConfig(): CoreConfig;
/**
* データベース設定 (遅延評価)
*/
export declare function getDatabaseConfig(): DatabaseConfig;
/**
* リアルタイム設定 (遅延評価)
*/
export declare function getRealtimeConfig(): RealtimeConfig;
/**
* 設定の検証
*/
export declare function validateConfig(): void;
/**
* 設定の初期化
*/
export declare function initializeConfig(): void;
/**
* 開発環境かどうかを判定
*/
export declare const isDevelopment: boolean;
/**
* 本番環境かどうかを判定
*/
export declare const isProduction: boolean;
/**
* テスト環境かどうかを判定
*/
export declare const isTest: boolean;
export {};
//# sourceMappingURL=config.d.ts.map