npm package diff
Package: @forge/cli
Versions: 12.8.0-next.18-experimental-003d118 - 12.8.0-next.24
File: package/out/custom-scopes/validation/index.d.ts
Index: package/out/custom-scopes/validation/index.d.ts
===================================================================
--- package/out/custom-scopes/validation/index.d.ts
+++ package/out/custom-scopes/validation/index.d.ts
@@ -0,0 +1,12 @@
+import { ErrorObject } from 'ajv';
+import { CustomScopesData } from '../types';
+export { ErrorObject, CustomScopesData };
+export declare type Result = {
+ isValid: true;
+ data: CustomScopesData;
+} | {
+ isValid: false;
+ errors: ErrorObject[];
+};
+export declare function validate(value: Record<string, unknown>): Result;
+//# sourceMappingURL=index.d.ts.map
\ No newline at end of file