- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스) - Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포 - 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
51 lines
1.2 KiB
TypeScript
51 lines
1.2 KiB
TypeScript
// TypeScript Version: 3.0
|
|
/// <reference types="node" />
|
|
|
|
export interface DotenvPopulateInput {
|
|
[name: string]: string;
|
|
}
|
|
|
|
export interface DotenvParseInput {
|
|
[name: string]: string;
|
|
}
|
|
|
|
export interface DotenvParseOutput {
|
|
[name: string]: string;
|
|
}
|
|
|
|
export interface DotenvExpandOptions {
|
|
error?: Error;
|
|
|
|
/**
|
|
* Default: `process.env`
|
|
*
|
|
* Specify an object to write your secrets to. Defaults to process.env environment variables.
|
|
*
|
|
* example: `const processEnv = {}; require('dotenv').config({ processEnv: processEnv })`
|
|
*/
|
|
processEnv?: DotenvPopulateInput;
|
|
|
|
/**
|
|
* Default: `object`
|
|
*
|
|
* Object coming from dotenv's parsed result.
|
|
*/
|
|
parsed?: DotenvParseInput;
|
|
}
|
|
|
|
export interface DotenvExpandOutput {
|
|
error?: Error;
|
|
parsed?: DotenvParseOutput;
|
|
}
|
|
|
|
/**
|
|
* Adds variable expansion on top of dotenv.
|
|
*
|
|
* See https://docs.dotenv.org
|
|
*
|
|
* @param options - additional options. example: `{ processEnv: {}, error: null, parsed: { { KEY: 'value' } }`
|
|
* @returns an object with a `parsed` key if successful or `error` key if an error occurred. example: { parsed: { KEY: 'value' } }
|
|
*
|
|
*/
|
|
export function expand(options?: DotenvExpandOptions): DotenvExpandOutput
|