fix: formik bugs and gql upload
This commit is contained in:
parent
3de7ae2fe9
commit
9baa16c824
9 changed files with 56 additions and 64 deletions
|
|
@ -3,6 +3,8 @@ const customers = require('../../../customers')
|
|||
const filters = require('../../filters')
|
||||
|
||||
const resolvers = {
|
||||
// Upload: GraphQLUpload,
|
||||
|
||||
Customer: {
|
||||
isAnonymous: parent => (parent.customerId === anonymous.uuid)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ const typeDef = gql`
|
|||
authorizedOverride: String
|
||||
daysSuspended: Int
|
||||
isSuspended: Boolean
|
||||
frontCamera: String
|
||||
frontCamera: Upload
|
||||
frontCameraPath: String
|
||||
frontCameraAt: Date
|
||||
frontCameraOverride: String
|
||||
|
|
@ -22,7 +22,7 @@ const typeDef = gql`
|
|||
idCardData: JSONObject
|
||||
idCardDataOverride: String
|
||||
idCardDataExpiration: Date
|
||||
idCardPhoto: String
|
||||
idCardPhoto: Upload
|
||||
idCardPhotoPath: String
|
||||
idCardPhotoOverride: String
|
||||
usSsn: String
|
||||
|
|
@ -68,9 +68,9 @@ const typeDef = gql`
|
|||
}
|
||||
|
||||
input CustomerEdit {
|
||||
frontCamera: String
|
||||
frontCamera: Upload
|
||||
idCardData: JSONObject
|
||||
idCardPhoto: String
|
||||
idCardPhoto: Upload
|
||||
usSsn: String
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue