UNPKG

959 BTypeScriptView Raw
1/**
2 * Extract i18n target options for Build Facade.
3 */
4export interface Schema {
5 /**
6 * A browser builder target to extract i18n messages in the format of
7 * `project:target[:configuration]`. You can also pass in more than one configuration name
8 * as a comma-separated list. Example: `project:target:production,staging`.
9 */
10 browserTarget: string;
11 /**
12 * Output format for the generated file.
13 */
14 format?: Format;
15 /**
16 * Name of the file to output.
17 */
18 outFile?: string;
19 /**
20 * Path where output will be placed.
21 */
22 outputPath?: string;
23 /**
24 * Log progress to the console.
25 */
26 progress?: boolean;
27}
28/**
29 * Output format for the generated file.
30 */
31export declare enum Format {
32 Arb = "arb",
33 Json = "json",
34 LegacyMigrate = "legacy-migrate",
35 Xlf = "xlf",
36 Xlf2 = "xlf2",
37 Xlif = "xlif",
38 Xliff = "xliff",
39 Xliff2 = "xliff2",
40 Xmb = "xmb"
41}