update fields
This commit is contained in:
@@ -25,6 +25,8 @@ export class CenterSchema extends PothosSchema {
|
||||
centerOwnerId: t.exposeID('centerOwnerId'),
|
||||
name: t.exposeString('name'),
|
||||
description: t.exposeString('description'),
|
||||
logoUrl: t.exposeString('logoUrl'),
|
||||
logoFile: t.relation('logoFile'),
|
||||
location: t.exposeString('location'),
|
||||
individual: t.exposeBoolean('individual'),
|
||||
createdAt: t.expose('createdAt', { type: 'DateTime' }),
|
||||
@@ -34,6 +36,7 @@ export class CenterSchema extends PothosSchema {
|
||||
chatRoom: t.relation('chatRoom'),
|
||||
centerStaff: t.relation('CenterStaff'),
|
||||
resume: t.relation('Resume'),
|
||||
uploadedFileId: t.exposeID('uploadedFileId'),
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user