phong bat
This commit is contained in:
@@ -22,13 +22,22 @@ export class MilestoneSchema extends PothosSchema {
|
||||
return this.builder.prismaObject('Milestone', {
|
||||
description: 'A milestone in the system.',
|
||||
fields: (t) => ({
|
||||
id: t.exposeID('id'),
|
||||
name: t.exposeString('name'),
|
||||
order: t.exposeInt('order'),
|
||||
description: t.exposeString('description'),
|
||||
createdAt: t.expose('createdAt', { type: 'DateTime' }),
|
||||
updatedAt: t.expose('updatedAt', { type: 'DateTime' }),
|
||||
service: t.relation('service'),
|
||||
id: t.exposeID('id', {
|
||||
description: 'The ID of the milestone.',
|
||||
}),
|
||||
name: t.exposeString('name', {
|
||||
description: 'The name of the milestone.',
|
||||
}),
|
||||
order: t.exposeInt('order', {
|
||||
description: 'The order of the milestone.',
|
||||
}),
|
||||
description: t.exposeString('description', {
|
||||
description: 'The description of the milestone.',
|
||||
}),
|
||||
createdAt: t.expose('createdAt', {
|
||||
type: 'DateTime',
|
||||
description: 'The date and time the milestone was created.',
|
||||
}),
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user