npm package diff
Package: @forge/manifest
Versions: 7.7.0-next.12 - 7.5.2-next.0-experimental-204139e
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,5 +1,4 @@
-import { type ForgeSupportedLocaleCode } from '../schema/manifest';
import { AllModuleTypes } from '../types';
export declare const errors: {
invalidManifest: (reason: string) => string;
missingManifest: () => string;
@@ -10,12 +9,8 @@
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;
@@ -24,9 +19,11 @@
deprecatedPermission: (element: string, value: string[]) => string;
};
connectModules: {
invalidConnectModule: (module: string) => string;
- duplicateLifecycleFound: (module: string) => string;
+ missingConnectModule: () => string;
+ duplicateKeyFound: (key: string) => string;
+ duplicatateLifecycleFound: (module: string) => string;
};
modules: {
invalidModule: (module: string) => string;
missingModule: () => string;
@@ -112,10 +109,8 @@
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;
@@ -163,18 +158,8 @@
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",
@@ -182,8 +167,9 @@
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",