npm package diff
Package: @forge/manifest
Versions: 7.6.1-next.0 - 7.6.1-next.1
File: package/out/schema/manifest.d.ts
Index: package/out/schema/manifest.d.ts
===================================================================
--- package/out/schema/manifest.d.ts
+++ package/out/schema/manifest.d.ts
@@ -443,8 +443,58 @@
/**
* Manifest environment variables
*/
export type Variables = string[];
+export type TranslationsResources = [
+ {
+ key: ForgeSupportedLocaleCode;
+ /**
+ * Path to locale file
+ */
+ path: string;
+ },
+ ...{
+ key: ForgeSupportedLocaleCode;
+ /**
+ * Path to locale file
+ */
+ path: string;
+ }[]
+];
+/**
+ * Language locale code
+ */
+export type ForgeSupportedLocaleCode =
+ | 'zh-CN'
+ | 'zh-TW'
+ | 'cs-CZ'
+ | 'da-DK'
+ | 'nl-NL'
+ | 'en-US'
+ | 'en-GB'
+ | 'et-EE'
+ | 'fi-FI'
+ | 'fr-FR'
+ | 'de-DE'
+ | 'hu-HU'
+ | 'is-IS'
+ | 'it-IT'
+ | 'ja-JP'
+ | 'no-NO'
+ | 'pl-PL'
+ | 'pt-BR'
+ | 'pt-PT'
+ | 'ro-RO'
+ | 'ru-RU'
+ | 'sk-SK'
+ | 'tr-TR'
+ | 'es-ES'
+ | 'sv-SE';
+export type TranslationsFallback = {
+ [key in ForgeSupportedLocaleCode]?: ForgeSupportedLocaleCode[];
+} & {
+ default: ForgeSupportedLocaleCode;
+};
export interface ManifestSchema {
app: App;
connectModules?: ConnectModules;
@@ -453,8 +503,9 @@
resources?: Resources;
remotes?: Remotes;
providers?: Providers;
environment?: Environment;
+ translations?: Translations;
}
export interface App {
description?: Description;
id: Id;
@@ -57956,4 +58007,8 @@
}
export interface Environment {
variables?: Variables;
}
+export interface Translations {
+ resources: TranslationsResources;
+ fallback: TranslationsFallback;
+}