Fix 5xx on document type order

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-07-03 08:26:25 +02:00
parent 843b46ff3c
commit d4dbadee10
4 changed files with 19 additions and 6 deletions

View File

@@ -213,6 +213,10 @@ enum DocumentOrderField
@goEnum(
value: "github.com/getprobo/probo/pkg/coredata.DocumentOrderFieldCreatedAt"
)
DOCUMENT_TYPE
@goEnum(
value: "github.com/getprobo/probo/pkg/coredata.DocumentOrderFieldDocumentType"
)
}
enum RiskOrderField

View File

@@ -5068,6 +5068,10 @@ enum DocumentOrderField
@goEnum(
value: "github.com/getprobo/probo/pkg/coredata.DocumentOrderFieldCreatedAt"
)
DOCUMENT_TYPE
@goEnum(
value: "github.com/getprobo/probo/pkg/coredata.DocumentOrderFieldDocumentType"
)
}
enum RiskOrderField
@@ -51348,12 +51352,14 @@ func (ec *executionContext) marshalNDocumentOrderField2githubᚗcomᚋgetprobo
var (
unmarshalNDocumentOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐDocumentOrderField = map[string]coredata.DocumentOrderField{
"TITLE": coredata.DocumentOrderFieldTitle,
"CREATED_AT": coredata.DocumentOrderFieldCreatedAt,
"TITLE": coredata.DocumentOrderFieldTitle,
"CREATED_AT": coredata.DocumentOrderFieldCreatedAt,
"DOCUMENT_TYPE": coredata.DocumentOrderFieldDocumentType,
}
marshalNDocumentOrderField2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐDocumentOrderField = map[coredata.DocumentOrderField]string{
coredata.DocumentOrderFieldTitle: "TITLE",
coredata.DocumentOrderFieldCreatedAt: "CREATED_AT",
coredata.DocumentOrderFieldTitle: "TITLE",
coredata.DocumentOrderFieldCreatedAt: "CREATED_AT",
coredata.DocumentOrderFieldDocumentType: "DOCUMENT_TYPE",
}
)