@forge/cli-shared

9.7.0-next.14-experimental-fd0ebbc9.7.0-next.16
out/graphql/get-mutation-error.d.ts
~out/graphql/get-mutation-error.d.tsModified
+2−11
Index: package/out/graphql/get-mutation-error.d.ts
===================================================================
--- package/out/graphql/get-mutation-error.d.ts
+++ package/out/graphql/get-mutation-error.d.ts
@@ -1,15 +1,6 @@
-export type MutationErrorExtension = {
-    errorType?: string | null;
-    statusCode?: number | null;
-};
-export type MutationError = {
-    __typename?: 'MutationError';
-    extensions?: MutationErrorExtension | null;
-    message?: string | null;
-};
-export declare function requireMutationPayload<T>(value: T | null | undefined, requestId?: string): NonNullable<T>;
-export declare function getError(errors: MutationError[] | null | undefined): {
+import { Maybe, MutationError } from './graphql-types';
+export declare function getError(errors: Maybe<MutationError[]> | undefined): {
     code: string | undefined;
     message: string | undefined;
     statusCode: number | undefined;
 };