@uipath/solutionpackager-tool-core 0.0.26

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.
Files changed (112) hide show
  1. package/README.md +308 -0
  2. package/dist/filesystem/file-system.d.ts +1 -0
  3. package/dist/filesystem/file-system.js +0 -0
  4. package/dist/filesystem/index.d.ts +5 -0
  5. package/dist/filesystem/index.js +3 -0
  6. package/dist/filesystem/path.d.ts +53 -0
  7. package/dist/filesystem/path.js +47 -0
  8. package/dist/filesystem/temporary-storage-service.d.ts +31 -0
  9. package/dist/filesystem/temporary-storage-service.js +46 -0
  10. package/dist/filesystem/zip-service.d.ts +25 -0
  11. package/dist/filesystem/zip-service.js +41 -0
  12. package/dist/i18n/i18n-manager.d.ts +128 -0
  13. package/dist/i18n/i18n-manager.js +104 -0
  14. package/dist/i18n/index.d.ts +15 -0
  15. package/dist/i18n/index.js +34 -0
  16. package/dist/i18n/locales/de.d.ts +37 -0
  17. package/dist/i18n/locales/de.js +38 -0
  18. package/dist/i18n/locales/en.d.ts +43 -0
  19. package/dist/i18n/locales/en.js +38 -0
  20. package/dist/i18n/locales/es-MX.d.ts +37 -0
  21. package/dist/i18n/locales/es-MX.js +38 -0
  22. package/dist/i18n/locales/es.d.ts +37 -0
  23. package/dist/i18n/locales/es.js +38 -0
  24. package/dist/i18n/locales/fr.d.ts +37 -0
  25. package/dist/i18n/locales/fr.js +38 -0
  26. package/dist/i18n/locales/ja.d.ts +37 -0
  27. package/dist/i18n/locales/ja.js +38 -0
  28. package/dist/i18n/locales/ko.d.ts +37 -0
  29. package/dist/i18n/locales/ko.js +38 -0
  30. package/dist/i18n/locales/pt-BR.d.ts +37 -0
  31. package/dist/i18n/locales/pt-BR.js +38 -0
  32. package/dist/i18n/locales/pt.d.ts +37 -0
  33. package/dist/i18n/locales/pt.js +38 -0
  34. package/dist/i18n/locales/ro.d.ts +37 -0
  35. package/dist/i18n/locales/ro.js +38 -0
  36. package/dist/i18n/locales/ru.d.ts +37 -0
  37. package/dist/i18n/locales/ru.js +38 -0
  38. package/dist/i18n/locales/tr.d.ts +37 -0
  39. package/dist/i18n/locales/tr.js +38 -0
  40. package/dist/i18n/locales/zh-CN.d.ts +37 -0
  41. package/dist/i18n/locales/zh-CN.js +38 -0
  42. package/dist/i18n/locales/zh-TW.d.ts +37 -0
  43. package/dist/i18n/locales/zh-TW.js +38 -0
  44. package/dist/i18n/locales/zu.d.ts +37 -0
  45. package/dist/i18n/locales/zu.js +38 -0
  46. package/dist/i18n/translation-service.d.ts +61 -0
  47. package/dist/i18n/translation-service.js +29 -0
  48. package/dist/i18n/types.d.ts +61 -0
  49. package/dist/i18n/types.js +20 -0
  50. package/dist/index.d.ts +5 -0
  51. package/dist/index.js +5 -0
  52. package/dist/models/build-configuration.d.ts +7 -0
  53. package/dist/models/build-configuration.js +6 -0
  54. package/dist/models/connection-info.d.ts +26 -0
  55. package/dist/models/connection-info.js +9 -0
  56. package/dist/models/index.d.ts +18 -0
  57. package/dist/models/index.js +8 -0
  58. package/dist/models/log-message.d.ts +28 -0
  59. package/dist/models/log-message.js +48 -0
  60. package/dist/models/nuget-constants.d.ts +34 -0
  61. package/dist/models/nuget-constants.js +10 -0
  62. package/dist/models/nuget-feed-model.d.ts +25 -0
  63. package/dist/models/nuget-feed-model.js +0 -0
  64. package/dist/models/nuget-package-info.d.ts +63 -0
  65. package/dist/models/nuget-package-info.js +0 -0
  66. package/dist/models/package-info.d.ts +29 -0
  67. package/dist/models/package-info.js +0 -0
  68. package/dist/models/project-options.d.ts +126 -0
  69. package/dist/models/project-options.js +7 -0
  70. package/dist/models/project-type.d.ts +21 -0
  71. package/dist/models/project-type.js +16 -0
  72. package/dist/models/solution-options.d.ts +72 -0
  73. package/dist/models/solution-options.js +0 -0
  74. package/dist/models/target-frameworks.d.ts +7 -0
  75. package/dist/models/target-frameworks.js +6 -0
  76. package/dist/models/tool-error-code.d.ts +18 -0
  77. package/dist/models/tool-error-code.js +7 -0
  78. package/dist/models/tool-result.d.ts +31 -0
  79. package/dist/models/tool-result.js +21 -0
  80. package/dist/models/uipath-project.d.ts +26 -0
  81. package/dist/models/uipath-project.js +0 -0
  82. package/dist/models/uipath-solution.d.ts +14 -0
  83. package/dist/models/uipath-solution.js +0 -0
  84. package/dist/package-descriptor/entry-points-file-model.d.ts +26 -0
  85. package/dist/package-descriptor/entry-points-file-model.js +0 -0
  86. package/dist/package-descriptor/index.d.ts +5 -0
  87. package/dist/package-descriptor/index.js +1 -0
  88. package/dist/package-descriptor/operate-file-model.d.ts +38 -0
  89. package/dist/package-descriptor/operate-file-model.js +0 -0
  90. package/dist/package-descriptor/package-descriptor-file-model.d.ts +12 -0
  91. package/dist/package-descriptor/package-descriptor-file-model.js +0 -0
  92. package/dist/package-descriptor/project-bindings-file-model.d.ts +82 -0
  93. package/dist/package-descriptor/project-bindings-file-model.js +7 -0
  94. package/dist/services/index.d.ts +10 -0
  95. package/dist/services/index.js +4 -0
  96. package/dist/services/nuget-packager.d.ts +39 -0
  97. package/dist/services/nuget-packager.js +105 -0
  98. package/dist/services/project-operation-context.d.ts +37 -0
  99. package/dist/services/project-operation-context.js +0 -0
  100. package/dist/services/project-tool-factory.d.ts +21 -0
  101. package/dist/services/project-tool-factory.js +0 -0
  102. package/dist/services/project-tool.d.ts +32 -0
  103. package/dist/services/project-tool.js +27 -0
  104. package/dist/services/solution-tool-factory.d.ts +14 -0
  105. package/dist/services/solution-tool-factory.js +0 -0
  106. package/dist/services/solution-tool.d.ts +32 -0
  107. package/dist/services/solution-tool.js +27 -0
  108. package/dist/services/tool-logger.d.ts +44 -0
  109. package/dist/services/tool-logger.js +0 -0
  110. package/dist/services/tools-factory-repository.d.ts +84 -0
  111. package/dist/services/tools-factory-repository.js +34 -0
  112. package/package.json +45 -0
@@ -0,0 +1,128 @@
1
+ /**
2
+ * Core localization manager with translation registry, locale switching,
3
+ * and interpolation support. Zero dependencies, type-safe design.
4
+ */
5
+ /**
6
+ * Translation catalog type - nested object with string leaves.
7
+ */
8
+ export type TranslationCatalog = Record<string, unknown>;
9
+ /**
10
+ * Interpolation parameter type.
11
+ */
12
+ export type InterpolationParams = Record<string, string | number>;
13
+ /**
14
+ * Core i18n manager class. Handles translation storage, locale switching,
15
+ * key resolution, and string interpolation.
16
+ */
17
+ export declare class I18nManager {
18
+ /**
19
+ * In-memory translation registry. All locales stored here.
20
+ */
21
+ private static translations;
22
+ /**
23
+ * Currently active locale code (e.g., 'en', 'fr', 'de').
24
+ */
25
+ private static currentLocale;
26
+ /**
27
+ * Default fallback locale when translations are missing.
28
+ */
29
+ private static fallbackLocale;
30
+ /**
31
+ * Register translations for a specific locale.
32
+ * Merges with existing translations if locale already registered.
33
+ *
34
+ * @param locale - Locale code (e.g., 'en', 'fr', 'de')
35
+ * @param catalog - Translation catalog object
36
+ */
37
+ static registerTranslations(locale: string, catalog: TranslationCatalog): void;
38
+ /**
39
+ * Set the active locale. Normalizes locale codes (e.g., 'en-US' → 'en').
40
+ *
41
+ * @param locale - Locale code or culture code
42
+ * @returns Normalized locale code that was set
43
+ */
44
+ static setLocale(locale: string): string;
45
+ /**
46
+ * Get the currently active locale.
47
+ *
48
+ * @returns Current locale code
49
+ */
50
+ static getLocale(): string;
51
+ /**
52
+ * Set the fallback locale used when translations are missing.
53
+ *
54
+ * @param locale - Fallback locale code
55
+ */
56
+ static setFallbackLocale(locale: string): void;
57
+ /**
58
+ * Translate a key to a localized string.
59
+ *
60
+ * @param key - Translation key in dot notation (e.g., 'tool-core.errors.fileNotFound')
61
+ * @param params - Interpolation parameters for {placeholder} replacement
62
+ * @param locale - Optional locale override (uses current locale if not specified)
63
+ * @returns Translated and interpolated string
64
+ */
65
+ static t(key: string, params?: InterpolationParams, locale?: string): string;
66
+ /**
67
+ * Check if a translation key exists in the current or fallback locale.
68
+ *
69
+ * @param key - Translation key to check
70
+ * @param locale - Optional locale override
71
+ * @returns True if key exists
72
+ */
73
+ static has(key: string, locale?: string): boolean;
74
+ /**
75
+ * Get all registered locale codes.
76
+ *
77
+ * @returns Array of locale codes
78
+ */
79
+ static getAvailableLocales(): string[];
80
+ /**
81
+ * Clear all registered translations (useful for testing).
82
+ */
83
+ static clearTranslations(): void;
84
+ /**
85
+ * Get a translation value from the registry by key and locale.
86
+ *
87
+ * @param key - Dot-notation key
88
+ * @param locale - Locale code
89
+ * @returns Translation value or undefined if not found
90
+ */
91
+ private static getTranslationValue;
92
+ /**
93
+ * Interpolate parameters into a translation string.
94
+ * Replaces {param} placeholders with values from params object.
95
+ *
96
+ * @param template - String with {placeholder} syntax
97
+ * @param params - Parameter values
98
+ * @returns Interpolated string
99
+ */
100
+ private static interpolate;
101
+ /**
102
+ * Normalize a locale code to a standard format.
103
+ * Converts 'en-US' → 'en', 'fr_FR' → 'fr', etc.
104
+ * Special cases: 'es-MX', 'pt-BR', 'zh-CN', 'zh-TW' are preserved.
105
+ *
106
+ * @param locale - Input locale or culture code
107
+ * @returns Normalized locale code
108
+ */
109
+ private static normalizeLocale;
110
+ /**
111
+ * Deep merge two objects. Used for merging translation catalogs.
112
+ *
113
+ * @param target - Target object
114
+ * @param source - Source object to merge
115
+ * @returns Merged object
116
+ */
117
+ private static deepMerge;
118
+ }
119
+ /**
120
+ * Convenience function for translating keys.
121
+ * Alias for I18nManager.t()
122
+ *
123
+ * @param key - Translation key
124
+ * @param params - Interpolation parameters
125
+ * @param locale - Optional locale override
126
+ * @returns Translated string
127
+ */
128
+ export declare function translate(key: string, params?: InterpolationParams, locale?: string): string;
@@ -0,0 +1,104 @@
1
+ import { isPluralForm, selectPluralForm } from "./types.js";
2
+ class I18nManager {
3
+ static translations = {};
4
+ static currentLocale = "en";
5
+ static fallbackLocale = "en";
6
+ static registerTranslations(locale, catalog) {
7
+ if (!I18nManager.translations[locale]) I18nManager.translations[locale] = {};
8
+ I18nManager.translations[locale] = I18nManager.deepMerge(I18nManager.translations[locale], catalog);
9
+ }
10
+ static setLocale(locale) {
11
+ const normalized = I18nManager.normalizeLocale(locale);
12
+ if (I18nManager.translations[normalized]) {
13
+ I18nManager.currentLocale = normalized;
14
+ return normalized;
15
+ }
16
+ const baseLocale = normalized.split("-")[0];
17
+ if (baseLocale !== normalized && I18nManager.translations[baseLocale]) {
18
+ I18nManager.currentLocale = baseLocale;
19
+ return baseLocale;
20
+ }
21
+ console.warn(`Locale '${locale}' not found in registered translations. Using current locale '${I18nManager.currentLocale}'.`);
22
+ return I18nManager.currentLocale;
23
+ }
24
+ static getLocale() {
25
+ return I18nManager.currentLocale;
26
+ }
27
+ static setFallbackLocale(locale) {
28
+ I18nManager.fallbackLocale = I18nManager.normalizeLocale(locale);
29
+ }
30
+ static t(key, params, locale) {
31
+ const targetLocale = locale ? I18nManager.normalizeLocale(locale) : I18nManager.currentLocale;
32
+ let value = I18nManager.getTranslationValue(key, targetLocale);
33
+ if (void 0 === value && targetLocale !== I18nManager.fallbackLocale) value = I18nManager.getTranslationValue(key, I18nManager.fallbackLocale);
34
+ if (void 0 === value) {
35
+ console.warn(`Translation not found for key '${key}' in locale '${targetLocale}'`);
36
+ return key;
37
+ }
38
+ if (isPluralForm(value) && params && "count" in params) {
39
+ const count = "number" == typeof params.count ? params.count : Number(params.count);
40
+ value = selectPluralForm(value, count);
41
+ } else if (isPluralForm(value)) value = value.other;
42
+ if ("string" != typeof value) {
43
+ console.error(`Invalid translation value for key '${key}': expected string, got ${typeof value}`);
44
+ return key;
45
+ }
46
+ return params ? I18nManager.interpolate(value, params) : value;
47
+ }
48
+ static has(key, locale) {
49
+ const targetLocale = locale ? I18nManager.normalizeLocale(locale) : I18nManager.currentLocale;
50
+ const value = I18nManager.getTranslationValue(key, targetLocale);
51
+ if (void 0 !== value) return true;
52
+ if (targetLocale !== I18nManager.fallbackLocale) return void 0 !== I18nManager.getTranslationValue(key, I18nManager.fallbackLocale);
53
+ return false;
54
+ }
55
+ static getAvailableLocales() {
56
+ return Object.keys(I18nManager.translations);
57
+ }
58
+ static clearTranslations() {
59
+ I18nManager.translations = {};
60
+ I18nManager.currentLocale = "en";
61
+ }
62
+ static getTranslationValue(key, locale) {
63
+ const catalog = I18nManager.translations[locale];
64
+ if (!catalog) return;
65
+ const keys = key.split(".");
66
+ let value = catalog;
67
+ for (const k of keys)if (!value || "object" != typeof value || !(k in value)) return;
68
+ else value = value[k];
69
+ return value;
70
+ }
71
+ static interpolate(template, params) {
72
+ return template.replace(/\{(\w+)\}/g, (_, key)=>{
73
+ const value = params[key];
74
+ return void 0 !== value ? String(value) : `{${key}}`;
75
+ });
76
+ }
77
+ static normalizeLocale(locale) {
78
+ const normalized = locale.toLowerCase().replace(/_/g, "-");
79
+ const specialLocales = [
80
+ "es-mx",
81
+ "pt-br",
82
+ "zh-cn",
83
+ "zh-tw"
84
+ ];
85
+ if (specialLocales.includes(normalized)) return normalized;
86
+ return normalized.split("-")[0];
87
+ }
88
+ static deepMerge(target, source) {
89
+ const result = {
90
+ ...target
91
+ };
92
+ for (const key of Object.keys(source)){
93
+ const sourceValue = source[key];
94
+ const targetValue = result[key];
95
+ if (sourceValue && "object" == typeof sourceValue && !Array.isArray(sourceValue) && targetValue && "object" == typeof targetValue && !Array.isArray(targetValue)) result[key] = I18nManager.deepMerge(targetValue, sourceValue);
96
+ else result[key] = sourceValue;
97
+ }
98
+ return result;
99
+ }
100
+ }
101
+ function translate(key, params, locale) {
102
+ return I18nManager.t(key, params, locale);
103
+ }
104
+ export { I18nManager, translate };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * i18n module entry point.
3
+ * Registers all locales and exports translation utilities.
4
+ */
5
+ import { I18nManager } from "./i18n-manager.js";
6
+ import { type TranslationKeys } from "./locales/en.js";
7
+ import { TranslationService, translate } from "./translation-service.js";
8
+ import type { Path, TranslationParams } from "./types.js";
9
+ /**
10
+ * Translation key type - derived from English base translations.
11
+ */
12
+ export type TranslationKey = Path<TranslationKeys>;
13
+ export type { Path as TranslationPath } from "./types.js";
14
+ export type { TranslationKeys, TranslationParams };
15
+ export { I18nManager, TranslationService, translate };
@@ -0,0 +1,34 @@
1
+ import { I18nManager } from "./i18n-manager.js";
2
+ import { de } from "./locales/de.js";
3
+ import { en } from "./locales/en.js";
4
+ import { es } from "./locales/es.js";
5
+ import { es_MX } from "./locales/es-MX.js";
6
+ import { fr } from "./locales/fr.js";
7
+ import { ja } from "./locales/ja.js";
8
+ import { ko } from "./locales/ko.js";
9
+ import { pt } from "./locales/pt.js";
10
+ import { pt_BR } from "./locales/pt-BR.js";
11
+ import { ro } from "./locales/ro.js";
12
+ import { ru } from "./locales/ru.js";
13
+ import { tr } from "./locales/tr.js";
14
+ import { zh_CN } from "./locales/zh-CN.js";
15
+ import { zh_TW } from "./locales/zh-TW.js";
16
+ import { zu } from "./locales/zu.js";
17
+ I18nManager.registerTranslations("en", en);
18
+ I18nManager.registerTranslations("de", de);
19
+ I18nManager.registerTranslations("es", es);
20
+ I18nManager.registerTranslations("es-mx", es_MX);
21
+ I18nManager.registerTranslations("fr", fr);
22
+ I18nManager.registerTranslations("ja", ja);
23
+ I18nManager.registerTranslations("ko", ko);
24
+ I18nManager.registerTranslations("pt", pt);
25
+ I18nManager.registerTranslations("pt-br", pt_BR);
26
+ I18nManager.registerTranslations("ro", ro);
27
+ I18nManager.registerTranslations("ru", ru);
28
+ I18nManager.registerTranslations("tr", tr);
29
+ I18nManager.registerTranslations("zh-cn", zh_CN);
30
+ I18nManager.registerTranslations("zh-tw", zh_TW);
31
+ I18nManager.registerTranslations("zu", zu);
32
+ I18nManager.setLocale("en");
33
+ export { TranslationService, translate } from "./translation-service.js";
34
+ export { I18nManager };
@@ -0,0 +1,37 @@
1
+ export declare const de: {
2
+ toolCore: {
3
+ errors: {
4
+ internal: string;
5
+ fileNotFound: string;
6
+ fileReadFailed: string;
7
+ fileWriteFailed: string;
8
+ directoryNotFound: string;
9
+ invalidPath: string;
10
+ operationCanceled: string;
11
+ invalidParameter: string;
12
+ };
13
+ progress: {
14
+ copying: string;
15
+ building: string;
16
+ packaging: string;
17
+ validating: string;
18
+ analyzing: string;
19
+ restoring: string;
20
+ };
21
+ validation: {
22
+ requiredField: string;
23
+ invalidValue: string;
24
+ pathNotFound: string;
25
+ fileRequired: string;
26
+ directoryRequired: string;
27
+ };
28
+ info: {
29
+ operationComplete: string;
30
+ filesProcessed: {
31
+ zero: string;
32
+ one: string;
33
+ other: string;
34
+ };
35
+ };
36
+ };
37
+ };
@@ -0,0 +1,38 @@
1
+ const de = {
2
+ toolCore: {
3
+ errors: {
4
+ internal: "Internal error: {message}",
5
+ fileNotFound: "File not found: {path}",
6
+ fileReadFailed: "Failed to read file: {path}",
7
+ fileWriteFailed: "Failed to write file: {path}",
8
+ directoryNotFound: "Directory not found: {path}",
9
+ invalidPath: "{path} is not a valid path",
10
+ operationCanceled: "Operation was canceled",
11
+ invalidParameter: "Invalid parameter: {parameter}"
12
+ },
13
+ progress: {
14
+ copying: "Copying files...",
15
+ building: "Building project...",
16
+ packaging: "Creating package...",
17
+ validating: "Validating...",
18
+ analyzing: "Analyzing...",
19
+ restoring: "Restoring dependencies..."
20
+ },
21
+ validation: {
22
+ requiredField: "{field} is required",
23
+ invalidValue: "Invalid value for {field}",
24
+ pathNotFound: "Path not found: {path}",
25
+ fileRequired: "File is required: {path}",
26
+ directoryRequired: "Directory is required: {path}"
27
+ },
28
+ info: {
29
+ operationComplete: "Operation completed successfully",
30
+ filesProcessed: {
31
+ zero: "No files processed",
32
+ one: "{count} file processed",
33
+ other: "{count} files processed"
34
+ }
35
+ }
36
+ }
37
+ };
38
+ export { de };
@@ -0,0 +1,43 @@
1
+ /**
2
+ * English base translations for tool-core package.
3
+ * This file serves as the type source for all translations.
4
+ * All translation keys must be defined here first.
5
+ */
6
+ export declare const en: {
7
+ readonly toolCore: {
8
+ readonly errors: {
9
+ readonly internal: "Internal error: {message}";
10
+ readonly fileNotFound: "File not found: {path}";
11
+ readonly fileReadFailed: "Failed to read file: {path}";
12
+ readonly fileWriteFailed: "Failed to write file: {path}";
13
+ readonly directoryNotFound: "Directory not found: {path}";
14
+ readonly invalidPath: "{path} is not a valid path";
15
+ readonly operationCanceled: "Operation was canceled";
16
+ readonly invalidParameter: "Invalid parameter: {parameter}";
17
+ };
18
+ readonly progress: {
19
+ readonly copying: "Copying files...";
20
+ readonly building: "Building project...";
21
+ readonly packaging: "Creating package...";
22
+ readonly validating: "Validating...";
23
+ readonly analyzing: "Analyzing...";
24
+ readonly restoring: "Restoring dependencies...";
25
+ };
26
+ readonly validation: {
27
+ readonly requiredField: "{field} is required";
28
+ readonly invalidValue: "Invalid value for {field}";
29
+ readonly pathNotFound: "Path not found: {path}";
30
+ readonly fileRequired: "File is required: {path}";
31
+ readonly directoryRequired: "Directory is required: {path}";
32
+ };
33
+ readonly info: {
34
+ readonly operationComplete: "Operation completed successfully";
35
+ readonly filesProcessed: {
36
+ readonly zero: "No files processed";
37
+ readonly one: "{count} file processed";
38
+ readonly other: "{count} files processed";
39
+ };
40
+ };
41
+ };
42
+ };
43
+ export type TranslationKeys = typeof en;
@@ -0,0 +1,38 @@
1
+ const en = {
2
+ toolCore: {
3
+ errors: {
4
+ internal: "Internal error: {message}",
5
+ fileNotFound: "File not found: {path}",
6
+ fileReadFailed: "Failed to read file: {path}",
7
+ fileWriteFailed: "Failed to write file: {path}",
8
+ directoryNotFound: "Directory not found: {path}",
9
+ invalidPath: "{path} is not a valid path",
10
+ operationCanceled: "Operation was canceled",
11
+ invalidParameter: "Invalid parameter: {parameter}"
12
+ },
13
+ progress: {
14
+ copying: "Copying files...",
15
+ building: "Building project...",
16
+ packaging: "Creating package...",
17
+ validating: "Validating...",
18
+ analyzing: "Analyzing...",
19
+ restoring: "Restoring dependencies..."
20
+ },
21
+ validation: {
22
+ requiredField: "{field} is required",
23
+ invalidValue: "Invalid value for {field}",
24
+ pathNotFound: "Path not found: {path}",
25
+ fileRequired: "File is required: {path}",
26
+ directoryRequired: "Directory is required: {path}"
27
+ },
28
+ info: {
29
+ operationComplete: "Operation completed successfully",
30
+ filesProcessed: {
31
+ zero: "No files processed",
32
+ one: "{count} file processed",
33
+ other: "{count} files processed"
34
+ }
35
+ }
36
+ }
37
+ };
38
+ export { en };
@@ -0,0 +1,37 @@
1
+ export declare const es_MX: {
2
+ toolCore: {
3
+ errors: {
4
+ internal: string;
5
+ fileNotFound: string;
6
+ fileReadFailed: string;
7
+ fileWriteFailed: string;
8
+ directoryNotFound: string;
9
+ invalidPath: string;
10
+ operationCanceled: string;
11
+ invalidParameter: string;
12
+ };
13
+ progress: {
14
+ copying: string;
15
+ building: string;
16
+ packaging: string;
17
+ validating: string;
18
+ analyzing: string;
19
+ restoring: string;
20
+ };
21
+ validation: {
22
+ requiredField: string;
23
+ invalidValue: string;
24
+ pathNotFound: string;
25
+ fileRequired: string;
26
+ directoryRequired: string;
27
+ };
28
+ info: {
29
+ operationComplete: string;
30
+ filesProcessed: {
31
+ zero: string;
32
+ one: string;
33
+ other: string;
34
+ };
35
+ };
36
+ };
37
+ };
@@ -0,0 +1,38 @@
1
+ const es_MX = {
2
+ toolCore: {
3
+ errors: {
4
+ internal: "Internal error: {message}",
5
+ fileNotFound: "File not found: {path}",
6
+ fileReadFailed: "Failed to read file: {path}",
7
+ fileWriteFailed: "Failed to write file: {path}",
8
+ directoryNotFound: "Directory not found: {path}",
9
+ invalidPath: "{path} is not a valid path",
10
+ operationCanceled: "Operation was canceled",
11
+ invalidParameter: "Invalid parameter: {parameter}"
12
+ },
13
+ progress: {
14
+ copying: "Copying files...",
15
+ building: "Building project...",
16
+ packaging: "Creating package...",
17
+ validating: "Validating...",
18
+ analyzing: "Analyzing...",
19
+ restoring: "Restoring dependencies..."
20
+ },
21
+ validation: {
22
+ requiredField: "{field} is required",
23
+ invalidValue: "Invalid value for {field}",
24
+ pathNotFound: "Path not found: {path}",
25
+ fileRequired: "File is required: {path}",
26
+ directoryRequired: "Directory is required: {path}"
27
+ },
28
+ info: {
29
+ operationComplete: "Operation completed successfully",
30
+ filesProcessed: {
31
+ zero: "No files processed",
32
+ one: "{count} file processed",
33
+ other: "{count} files processed"
34
+ }
35
+ }
36
+ }
37
+ };
38
+ export { es_MX };
@@ -0,0 +1,37 @@
1
+ export declare const es: {
2
+ toolCore: {
3
+ errors: {
4
+ internal: string;
5
+ fileNotFound: string;
6
+ fileReadFailed: string;
7
+ fileWriteFailed: string;
8
+ directoryNotFound: string;
9
+ invalidPath: string;
10
+ operationCanceled: string;
11
+ invalidParameter: string;
12
+ };
13
+ progress: {
14
+ copying: string;
15
+ building: string;
16
+ packaging: string;
17
+ validating: string;
18
+ analyzing: string;
19
+ restoring: string;
20
+ };
21
+ validation: {
22
+ requiredField: string;
23
+ invalidValue: string;
24
+ pathNotFound: string;
25
+ fileRequired: string;
26
+ directoryRequired: string;
27
+ };
28
+ info: {
29
+ operationComplete: string;
30
+ filesProcessed: {
31
+ zero: string;
32
+ one: string;
33
+ other: string;
34
+ };
35
+ };
36
+ };
37
+ };
@@ -0,0 +1,38 @@
1
+ const es = {
2
+ toolCore: {
3
+ errors: {
4
+ internal: "Internal error: {message}",
5
+ fileNotFound: "File not found: {path}",
6
+ fileReadFailed: "Failed to read file: {path}",
7
+ fileWriteFailed: "Failed to write file: {path}",
8
+ directoryNotFound: "Directory not found: {path}",
9
+ invalidPath: "{path} is not a valid path",
10
+ operationCanceled: "Operation was canceled",
11
+ invalidParameter: "Invalid parameter: {parameter}"
12
+ },
13
+ progress: {
14
+ copying: "Copying files...",
15
+ building: "Building project...",
16
+ packaging: "Creating package...",
17
+ validating: "Validating...",
18
+ analyzing: "Analyzing...",
19
+ restoring: "Restoring dependencies..."
20
+ },
21
+ validation: {
22
+ requiredField: "{field} is required",
23
+ invalidValue: "Invalid value for {field}",
24
+ pathNotFound: "Path not found: {path}",
25
+ fileRequired: "File is required: {path}",
26
+ directoryRequired: "Directory is required: {path}"
27
+ },
28
+ info: {
29
+ operationComplete: "Operation completed successfully",
30
+ filesProcessed: {
31
+ zero: "No files processed",
32
+ one: "{count} file processed",
33
+ other: "{count} files processed"
34
+ }
35
+ }
36
+ }
37
+ };
38
+ export { es };
@@ -0,0 +1,37 @@
1
+ export declare const fr: {
2
+ toolCore: {
3
+ errors: {
4
+ internal: string;
5
+ fileNotFound: string;
6
+ fileReadFailed: string;
7
+ fileWriteFailed: string;
8
+ directoryNotFound: string;
9
+ invalidPath: string;
10
+ operationCanceled: string;
11
+ invalidParameter: string;
12
+ };
13
+ progress: {
14
+ copying: string;
15
+ building: string;
16
+ packaging: string;
17
+ validating: string;
18
+ analyzing: string;
19
+ restoring: string;
20
+ };
21
+ validation: {
22
+ requiredField: string;
23
+ invalidValue: string;
24
+ pathNotFound: string;
25
+ fileRequired: string;
26
+ directoryRequired: string;
27
+ };
28
+ info: {
29
+ operationComplete: string;
30
+ filesProcessed: {
31
+ zero: string;
32
+ one: string;
33
+ other: string;
34
+ };
35
+ };
36
+ };
37
+ };
@@ -0,0 +1,38 @@
1
+ const fr = {
2
+ toolCore: {
3
+ errors: {
4
+ internal: "Internal error: {message}",
5
+ fileNotFound: "File not found: {path}",
6
+ fileReadFailed: "Failed to read file: {path}",
7
+ fileWriteFailed: "Failed to write file: {path}",
8
+ directoryNotFound: "Directory not found: {path}",
9
+ invalidPath: "{path} is not a valid path",
10
+ operationCanceled: "Operation was canceled",
11
+ invalidParameter: "Invalid parameter: {parameter}"
12
+ },
13
+ progress: {
14
+ copying: "Copying files...",
15
+ building: "Building project...",
16
+ packaging: "Creating package...",
17
+ validating: "Validating...",
18
+ analyzing: "Analyzing...",
19
+ restoring: "Restoring dependencies..."
20
+ },
21
+ validation: {
22
+ requiredField: "{field} is required",
23
+ invalidValue: "Invalid value for {field}",
24
+ pathNotFound: "Path not found: {path}",
25
+ fileRequired: "File is required: {path}",
26
+ directoryRequired: "Directory is required: {path}"
27
+ },
28
+ info: {
29
+ operationComplete: "Operation completed successfully",
30
+ filesProcessed: {
31
+ zero: "No files processed",
32
+ one: "{count} file processed",
33
+ other: "{count} files processed"
34
+ }
35
+ }
36
+ }
37
+ };
38
+ export { fr };