mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-05 05:47:10 -04:00
19 lines
964 B
TypeScript
19 lines
964 B
TypeScript
![]() |
declare module 'composeverter' {
|
||
|
interface Configuration {
|
||
|
expandVolumes?: boolean;
|
||
|
expandPorts?: boolean;
|
||
|
indent?: number;
|
||
|
}
|
||
|
interface DockerComposeValidatioError {
|
||
|
line?: number;
|
||
|
message: string;
|
||
|
helpLink?: string;
|
||
|
}
|
||
|
export function validateDockerComposeToCommonSpec(content: string): DockerComposeValidatioError[];
|
||
|
export function migrateFromV2xToV3x(content: string, configuration?: Configuration = null): string;
|
||
|
export function migrateFromV3xToV2x(content: string, configuration?: Configuration = null): string;
|
||
|
export function migrateFromV1ToV2x(content: string, configuration?: Configuration = null): string;
|
||
|
export function migrateToCommonSpec(content: string, configuration?: Configuration = null): string;
|
||
|
export function migrateFromV2xToV3x(content: string, configuration?: Configuration = null): string;
|
||
|
export function getDockerComposeSchemaWithoutFormats(): object;
|
||
|
}
|