schema.d.ts 1.04 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
/**
 * Extract i18n target options for Build Facade.
 */
export interface Schema {
    /**
     * Target to extract from.
     */
    browserTarget: string;
    /**
     * Output format for the generated file.
     */
    format?: Format;
    /**
     * Output format for the generated file.
     * @deprecated Use 'format' option instead.
     */
    i18nFormat?: Format;
    /**
     * Specifies the source language of the application.
     * @deprecated Use 'i18n' project level sub-option 'sourceLocale' instead.
     */
    i18nLocale?: string;
    /**
     * Name of the file to output.
     */
    outFile?: string;
    /**
     * Path where output will be placed.
     */
    outputPath?: string;
    /**
     * Log progress to the console.
     */
    progress?: boolean;
}
/**
 * Output format for the generated file.
 *
 * Output format for the generated file.
 * @deprecated Use 'format' option instead.
 */
export declare enum Format {
    Xlf = "xlf",
    Xlf2 = "xlf2",
    Xlif = "xlif",
    Xliff = "xliff",
    Xliff2 = "xliff2",
    Xmb = "xmb"
}