@vocoder/cli 0.1.20 → 0.1.22

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.
package/dist/lib.d.mts CHANGED
@@ -1,5 +1,10 @@
1
1
  export { ExtractedString, StringExtractor } from '@vocoder/extractor';
2
2
 
3
+ interface LocaleInfo {
4
+ nativeName: string;
5
+ dir?: "rtl";
6
+ }
7
+ type LocalesMap = Record<string, LocaleInfo>;
3
8
  type EffectiveSyncMode = "required" | "best-effort";
4
9
  interface SyncPolicyConfig {
5
10
  blockingBranches: string[];
@@ -39,10 +44,7 @@ interface TranslationStatusResponse {
39
44
  progress: number;
40
45
  }>;
41
46
  translations?: Record<string, Record<string, string>>;
42
- localeMetadata?: Record<string, {
43
- nativeName: string;
44
- dir?: "rtl";
45
- }>;
47
+ localeMetadata?: LocalesMap;
46
48
  errorMessage?: string;
47
49
  }
48
50
  interface TranslationSnapshotResponse {
@@ -53,10 +55,7 @@ interface TranslationSnapshotResponse {
53
55
  snapshotBatchId?: string;
54
56
  completedAt?: string | null;
55
57
  translations?: Record<string, Record<string, string>>;
56
- localeMetadata?: Record<string, {
57
- nativeName: string;
58
- dir?: "rtl";
59
- }>;
58
+ localeMetadata?: LocalesMap;
60
59
  }
61
60
  interface LimitErrorResponse {
62
61
  errorCode: "LIMIT_EXCEEDED" | "INSUFFICIENT_CREDITS";
@@ -125,4 +124,4 @@ declare function getSetupSnippets(params: {
125
124
  targetBranches: string[];
126
125
  }): SetupSnippets;
127
126
 
128
- export { type APIProjectConfig, type DetectedEcosystem, type DetectedFramework, type LimitErrorResponse, type LocalDetectionResult, type PackageManager, type SetupSnippets, type SyncPolicyConfig, type SyncPolicyErrorResponse, type TranslationBatchResponse, type TranslationSnapshotResponse, type TranslationStatusResponse, buildInstallCommand, detectLocalEcosystem, getPackagesToInstall, getSetupSnippets };
127
+ export { type APIProjectConfig, type DetectedEcosystem, type DetectedFramework, type LimitErrorResponse, type LocalDetectionResult, type LocaleInfo, type LocalesMap, type PackageManager, type SetupSnippets, type SyncPolicyConfig, type SyncPolicyErrorResponse, type TranslationBatchResponse, type TranslationSnapshotResponse, type TranslationStatusResponse, buildInstallCommand, detectLocalEcosystem, getPackagesToInstall, getSetupSnippets };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vocoder/cli",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "description": "CLI tool for Vocoder translation workflow",
5
5
  "files": [
6
6
  "dist"