npm package diff
Package: @forge/manifest
Versions: 7.6.1-next.0 - 7.6.1-next.1
File: package/out/schema/manifest-schema.json
Index: package/out/schema/manifest-schema.json
===================================================================
--- package/out/schema/manifest-schema.json
+++ package/out/schema/manifest-schema.json
@@ -20039,8 +20039,114 @@
}
}
}
},
+ "ForgeSupportedLocaleCode": {
+ "title": "ForgeSupportedLocaleCode",
+ "description": "Supported language locale codes",
+ "enum": [
+ "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"
+ ]
+ },
+ "TranslationsSchema": {
+ "type": "object",
+ "title": "TranslationsSchema",
+ "required": [
+ "resources",
+ "fallback"
+ ],
+ "additionalProperties": false,
+ "properties": {
+ "resources": {
+ "type": "array",
+ "minItems": 1,
+ "uniqueItems": true,
+ "title": "TranslationsResources",
+ "items": {
+ "type": "object",
+ "additionalProperties": false,
+ "required": [
+ "key",
+ "path"
+ ],
+ "properties": {
+ "key": {
+ "description": "Language locale code",
+ "type": "string",
+ "$ref": "#/definitions/ForgeSupportedLocaleCode"
+ },
+ "path": {
+ "description": "Path to locale file",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "fallback": {
+ "type": "object",
+ "title": "TranslationsFallback",
+ "tsType": "{\n [key in ForgeSupportedLocaleCode]?: ForgeSupportedLocaleCode[];\n} & {\n default: ForgeSupportedLocaleCode;\n};",
+ "required": [
+ "default"
+ ],
+ "additionalProperties": false,
+ "propertyNames": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ForgeSupportedLocaleCode"
+ },
+ {
+ "enum": [
+ "default"
+ ]
+ }
+ ]
+ },
+ "patternProperties": {
+ "default": {
+ "description": "Default fallback language",
+ "type": "string",
+ "$ref": "#/definitions/ForgeSupportedLocaleCode"
+ },
+ "^[a-z]{2}-[A-Z]{2}$": {
+ "title": "FallbackLanguages",
+ "description": "Fallback languages",
+ "type": "array",
+ "minItems": 1,
+ "uniqueItems": true,
+ "items": {
+ "type": "string",
+ "$ref": "#/definitions/ForgeSupportedLocaleCode"
+ }
+ }
+ }
+ }
+ }
+ },
"ProvidersSchema": {
"type": "object",
"additionalProperties": false,
"required": [
@@ -22451,8 +22557,12 @@
},
"environment": {
"$ref": "#/definitions/EnvironmentSchema",
"title": "environment"
+ },
+ "translations": {
+ "$ref": "#/definitions/TranslationsSchema",
+ "title": "translations"
}
},
"required": [
"app"