npm package diff

Package: @forge/manifest

Versions: 11.0.0-next.0 - 11.0.0-next.1

File: package/out/validators/product-trigger-scopes-validator.d.ts

Index: package/out/validators/product-trigger-scopes-validator.d.ts
===================================================================
--- package/out/validators/product-trigger-scopes-validator.d.ts
+++ package/out/validators/product-trigger-scopes-validator.d.ts
@@ -1,15 +1,19 @@
 import { ManifestObject, ManifestValidationResult } from '../types';
 import { ValidatorInterface } from './validator-interface';
-import { ManifestSchema } from '../schema/manifest';
+import { ManifestSchema, Scopes } from '../schema/manifest';
 import { RequiredScopes } from '../scopes';
 export interface MappingEntry {
     productEvent: string;
     oAuthScopes: RequiredScopes;
 }
 export interface MappingConfig {
     mapping: MappingEntry[];
 }
+export declare function validateEventScopes(event: string, scopes: Scopes | undefined, config: MappingConfig): Promise<{
+    requiredScopes: RequiredScopes;
+    missingScopes: string[];
+}>;
 export declare class ProductTriggerScopesValidator<T> implements ValidatorInterface<ManifestObject<ManifestSchema> | undefined, ManifestSchema> {
     private readonly config;
     constructor(config: MappingConfig);
     validate(manifest: ManifestObject<ManifestSchema> | undefined): Promise<ManifestValidationResult<ManifestSchema>>;