npm package diff
Package: @forge/manifest
Versions: 7.5.2-next.0-experimental-10722bc - 7.7.0-next.13
File: package/out/text/errors.d.ts
Index: package/out/text/errors.d.ts
===================================================================
--- package/out/text/errors.d.ts
+++ package/out/text/errors.d.ts
@@ -1,4 +1,5 @@
+import { type ForgeSupportedLocaleCode } from '../schema/manifest';
import { AllModuleTypes } from '../types';
export declare const errors: {
invalidManifest: (reason: string) => string;
missingManifest: () => string;
@@ -9,8 +10,12 @@
deprecatedValue: (section: string, field: string, additionalInfo?: string) => string;
additionalProperties: (additionalProperty: string) => string;
notAllowed: (props: string[] | undefined) => string;
missingEnvironmentVariable: (variable: string) => string;
+ errorReadingResourceFile: (variable: string, errorMessage: string) => string;
+ resourceNotFound: (variable: string) => string;
+ resourcePathNotDefined: (variable: string) => string;
+ resourceFileNotSupported: (variable: string) => string;
};
permissions: {
invalidPermission: (element: string, value: string) => string;
missingPermissionFromScope: (scope: string, event: string) => string;
@@ -19,11 +24,9 @@
deprecatedPermission: (element: string, value: string[]) => string;
};
connectModules: {
invalidConnectModule: (module: string) => string;
- missingConnectModule: () => string;
- duplicateKeyFound: (key: string) => string;
- duplicatateLifecycleFound: (module: string) => string;
+ duplicateLifecycleFound: (module: string) => string;
};
modules: {
invalidModule: (module: string) => string;
missingModule: () => string;
@@ -109,8 +112,10 @@
missingModuleRemoteStorageInScopeEUD: (key: string) => string;
};
rovo: {
incorrectAgentActionReference: (module: string, moduleKey: string) => string;
+ unreferencedAction: (action: string) => string;
+ undefinedActionName: (action: string) => string;
};
};
resources: {
missingResource: (folder: string, key: string) => string;
@@ -158,8 +163,18 @@
missing: (glob: string) => string;
};
};
};
+ translations: {
+ missingTranslationsJsonFile: (languageLocaleCode: ForgeSupportedLocaleCode) => string;
+ duplicateFallbackConfig: (languageLocaleCode: ForgeSupportedLocaleCode) => string;
+ invalidLanguageFile: (languageLocaleCode: ForgeSupportedLocaleCode, path: string) => string;
+ duplicateResourceKey: (languageLocaleCode: ForgeSupportedLocaleCode) => string;
+ i18nKeyNotFound: (keyName: string) => string;
+ missingTranslationsPropertyError: string;
+ internalI18nPropertyKeyFound: (propertyKey: string, moduleKey: string) => string;
+ i18nValueValidationError: (keyName: string, languageLocaleCode: ForgeSupportedLocaleCode, errorMsg: string) => string;
+ };
};
export declare enum References {
MissingManifest = "manifest-file-required",
InvalidManifest = "valid-yaml-required",
@@ -167,9 +182,8 @@
Permissions = "valid-permissions-required",
MissingScopes = "permission-scope-required",
Modules = "valid-module-required",
ConnectModules = "valid-connect-module-required",
- DuplicateModuleKeys = "duplicate-module-keys",
Resources = "valid-resource-required",
Providers = "valid-provider-required",
Deprecated = "deprecated-property",
App = "valid-app-config-required",