@vendure/common
Advanced tools
Comparing version 0.1.2-beta.12 to 0.2.0
@@ -70,2 +70,4 @@ export declare type Maybe<T> = T | null; | ||
mimeType: Scalars['String']; | ||
width: Scalars['Int']; | ||
height: Scalars['Int']; | ||
source: Scalars['String']; | ||
@@ -72,0 +74,0 @@ preview: Scalars['String']; |
@@ -8,3 +8,3 @@ "use strict"; | ||
.toLowerCase() | ||
.replace(/[!"£$%^&*()+[\]{};:@#~?\\/,|><`¬]/g, '') | ||
.replace(/[!"£$%^&*()+[\]{};:@#~?\\/,|><`¬'=]/g, '') | ||
.replace(/\s+/g, spaceReplacer); | ||
@@ -11,0 +11,0 @@ } |
export declare type DeepPartial<T> = { | ||
[P in keyof T]?: null | (T[P] extends Array<infer U> ? Array<DeepPartial<U>> : T[P] extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : DeepPartial<T[P]>); | ||
}; | ||
export declare type DeepRequired<T, U extends object | undefined = undefined> = T extends object ? { | ||
[P in keyof T]-?: NonNullable<T[P]> extends NonNullable<U | Function | Type<any>> ? NonNullable<T[P]> : DeepRequired<NonNullable<T[P]>, U>; | ||
} : T; | ||
export interface Type<T> extends Function { | ||
@@ -5,0 +8,0 @@ new (...args: any[]): T; |
{ | ||
"name": "@vendure/common", | ||
"version": "0.1.2-beta.12", | ||
"version": "0.2.0", | ||
"main": "index.js", | ||
@@ -21,3 +21,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "eb587f515df48f547767b3a00d9481e2d0ec3f6e" | ||
"gitHead": "707ae5911386fbb7deff3f50b36a0d2d811c5a3b" | ||
} |
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
180307
5157