expose orderstatus instead string

This commit is contained in:
2024-10-16 16:47:35 +07:00
parent b8e8448658
commit ecf82f417d
4 changed files with 691 additions and 770 deletions

View File

@@ -56,7 +56,7 @@ export class PrismaCrudGenerator<Types extends SchemaTypes> {
required: false,
}),
orderBy: t.field({
type: [this.getOrderBy(modelName)],
type: [this.getOrderBy(modelName)], // using list to make it compatible with prismaOrderBy
required: false,
}),
cursor: t.field({