@linguanahq/compiler 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,27 @@
1
+ import { type Plugin } from "vite";
2
+ export { type TransformOptions, type TransformResult, transformSource, } from "./transform";
3
+ export type StrictPolicy = boolean | {
4
+ ambiguous?: boolean;
5
+ unsafe?: boolean;
6
+ duplicate?: boolean;
7
+ };
8
+ export type LinguanaPluginOptions = {
9
+ projectId: string;
10
+ environment: string;
11
+ sourceLocale: string;
12
+ apiUrl?: string;
13
+ token?: string;
14
+ include?: string | string[];
15
+ exclude?: string | string[];
16
+ output?: string;
17
+ upload?: boolean;
18
+ strict?: StrictPolicy;
19
+ translation?: {
20
+ targetLocales: string[];
21
+ maxChargeMicros: number;
22
+ waitTimeoutMs?: number;
23
+ publish: "development";
24
+ };
25
+ };
26
+ export declare function linguana(options: LinguanaPluginOptions): Plugin;
27
+ export default linguana;