@vendure/common
Advanced tools
Comparing version 0.10.1 to 0.11.0
@@ -472,3 +472,2 @@ export declare type Maybe<T> = T | null; | ||
export declare type CustomField = { | ||
__typename?: 'CustomField'; | ||
name: Scalars['String']; | ||
@@ -980,3 +979,2 @@ type: Scalars['String']; | ||
export declare type Node = { | ||
__typename?: 'Node'; | ||
id: Scalars['ID']; | ||
@@ -1109,3 +1107,2 @@ }; | ||
export declare type PaginatedList = { | ||
__typename?: 'PaginatedList'; | ||
items: Array<Node>; | ||
@@ -1545,3 +1542,2 @@ totalItems: Scalars['Int']; | ||
export declare type StockMovement = { | ||
__typename?: 'StockMovement'; | ||
id: Scalars['ID']; | ||
@@ -1548,0 +1544,0 @@ createdAt: Scalars['DateTime']; |
@@ -200,2 +200,3 @@ "use strict"; | ||
JobState["COMPLETED"] = "COMPLETED"; | ||
JobState["RETRYING"] = "RETRYING"; | ||
JobState["FAILED"] = "FAILED"; | ||
@@ -202,0 +203,0 @@ })(JobState = exports.JobState || (exports.JobState = {})); |
@@ -15,5 +15,5 @@ "use strict"; | ||
if (recursive) { | ||
return Object.assign({}, output, { [key]: omit(obj[key], keysToOmit, true) }); | ||
return Object.assign(Object.assign({}, output), { [key]: omit(obj[key], keysToOmit, true) }); | ||
} | ||
return Object.assign({}, output, { [key]: obj[key] }); | ||
return Object.assign(Object.assign({}, output), { [key]: obj[key] }); | ||
}, {}); | ||
@@ -20,0 +20,0 @@ } |
@@ -11,2 +11,8 @@ import { LanguageCode } from './generated-types'; | ||
} | ||
export declare type Json = null | boolean | number | string | Json[] | { | ||
[prop: string]: Json; | ||
}; | ||
export declare type JsonCompatible<T> = { | ||
[P in keyof T]: T[P] extends Json ? T[P] : Pick<T, P> extends Required<Pick<T, P>> ? never : JsonCompatible<T[P]>; | ||
}; | ||
export declare type PaginatedList<T> = { | ||
@@ -13,0 +19,0 @@ items: T[]; |
{ | ||
"name": "@vendure/common", | ||
"version": "0.10.1", | ||
"version": "0.11.0", | ||
"main": "index.js", | ||
@@ -20,7 +20,6 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@types/jest": "^24.0.21", | ||
"rimraf": "^3.0.0", | ||
"typescript": "~3.5.3" | ||
"typescript": "3.8.3" | ||
}, | ||
"gitHead": "e16456709668c0030d42f6e652626846be388219" | ||
"gitHead": "3dd0a93d44ed58e2b070a273d965af6f50f0b65c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
194930
2
5522