@pdftron/collab-client
Advanced tools
Comparing version 2.0.1-alpha.0 to 2.0.1-alpha.1
@@ -6,3 +6,3 @@ { | ||
"typedocMain": "src/index.ts", | ||
"version": "2.0.1-alpha.0", | ||
"version": "2.0.1-alpha.1", | ||
"scripts": { | ||
@@ -29,3 +29,3 @@ "test": "jest --watch", | ||
}, | ||
"gitHead": "2b1829229d59d258100463ab56273fbaea213578" | ||
"gitHead": "815abcd34d2d4b51ed4c28f981d2c9a942b190a6" | ||
} |
@@ -0,3 +1,6 @@ | ||
import type { ApolloError } from "apollo-server-errors"; | ||
export declare const ErrorCodes: { | ||
PERMISSION_ERROR: string; | ||
ENTITY_MISSING: string; | ||
INVALID_ENTITY: string; | ||
}; | ||
@@ -8,3 +11,3 @@ declare type Types = 'string' | 'number' | 'boolean' | 'blob' | 'array' | 'object' | 'function' | 'any'; | ||
}; | ||
export declare const throwError: (functionName: string, err: any, AuthenticationError?: any) => never; | ||
export declare const throwError: (functionName: string, err: string | ApolloError, AuthenticationError?: any) => never; | ||
/** | ||
@@ -11,0 +14,0 @@ * Validated that parameters are applied and throws an error if they are empty. |
Sorry, the diff of this file is too big to display
979090
6558