Fix noncomformity registries typo

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-08-28 15:31:35 +02:00
parent b5dcd4d02d
commit a0af20ea95
5 changed files with 15 additions and 12 deletions

View File

@@ -132,10 +132,10 @@ export default function NonconformityRegistriesPage({ queryRef }: NonconformityR
<Card padded> <Card padded>
<div className="text-center py-12"> <div className="text-center py-12">
<h3 className="text-lg font-semibold mb-2"> <h3 className="text-lg font-semibold mb-2">
{__("No non conformity registry entries yet")} {__("No nonconformity registry entries yet")}
</h3> </h3>
<p className="text-txt-tertiary mb-4"> <p className="text-txt-tertiary mb-4">
{__("Create your first non conformity registry entry to get started.")} {__("Create your first nonconformity registry entry to get started.")}
</p> </p>
</div> </div>
</Card> </Card>

View File

@@ -0,0 +1,3 @@
ALTER
TYPE snapshots_type
RENAME VALUE 'NON_CONFORMITY_REGISTRIES' TO 'NONCONFORMITY_REGISTRIES';

View File

@@ -28,7 +28,7 @@ const (
SnapshotsTypeVendors SnapshotsType = "VENDORS" SnapshotsTypeVendors SnapshotsType = "VENDORS"
SnapshotsTypeAssets SnapshotsType = "ASSETS" SnapshotsTypeAssets SnapshotsType = "ASSETS"
SnapshotsTypeData SnapshotsType = "DATA" SnapshotsTypeData SnapshotsType = "DATA"
SnapshotsTypeNonConformityRegistries SnapshotsType = "NON_CONFORMITY_REGISTRIES" SnapshotsTypeNonConformityRegistries SnapshotsType = "NONCONFORMITY_REGISTRIES"
SnapshotsTypeComplianceRegistries SnapshotsType = "COMPLIANCE_REGISTRIES" SnapshotsTypeComplianceRegistries SnapshotsType = "COMPLIANCE_REGISTRIES"
) )

View File

@@ -868,7 +868,7 @@ enum SnapshotsType
@goEnum( @goEnum(
value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeData" value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeData"
) )
NON_CONFORMITY_REGISTRIES NONCONFORMITY_REGISTRIES
@goEnum( @goEnum(
value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeNonConformityRegistries" value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeNonConformityRegistries"
) )

View File

@@ -8743,7 +8743,7 @@ enum SnapshotsType
@goEnum( @goEnum(
value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeData" value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeData"
) )
NON_CONFORMITY_REGISTRIES NONCONFORMITY_REGISTRIES
@goEnum( @goEnum(
value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeNonConformityRegistries" value: "github.com/getprobo/probo/pkg/coredata.SnapshotsTypeNonConformityRegistries"
) )
@@ -84478,19 +84478,19 @@ func (ec *executionContext) marshalNSnapshotsType2githubᚗcomᚋgetproboᚋprob
var ( var (
unmarshalNSnapshotsType2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐSnapshotsType = map[string]coredata.SnapshotsType{ unmarshalNSnapshotsType2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐSnapshotsType = map[string]coredata.SnapshotsType{
"RISKS": coredata.SnapshotsTypeRisks, "RISKS": coredata.SnapshotsTypeRisks,
"VENDORS": coredata.SnapshotsTypeVendors, "VENDORS": coredata.SnapshotsTypeVendors,
"ASSETS": coredata.SnapshotsTypeAssets, "ASSETS": coredata.SnapshotsTypeAssets,
"DATA": coredata.SnapshotsTypeData, "DATA": coredata.SnapshotsTypeData,
"NON_CONFORMITY_REGISTRIES": coredata.SnapshotsTypeNonConformityRegistries, "NONCONFORMITY_REGISTRIES": coredata.SnapshotsTypeNonConformityRegistries,
"COMPLIANCE_REGISTRIES": coredata.SnapshotsTypeComplianceRegistries, "COMPLIANCE_REGISTRIES": coredata.SnapshotsTypeComplianceRegistries,
} }
marshalNSnapshotsType2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐSnapshotsType = map[coredata.SnapshotsType]string{ marshalNSnapshotsType2githubᚗcomᚋgetproboᚋproboᚋpkgᚋcoredataᚐSnapshotsType = map[coredata.SnapshotsType]string{
coredata.SnapshotsTypeRisks: "RISKS", coredata.SnapshotsTypeRisks: "RISKS",
coredata.SnapshotsTypeVendors: "VENDORS", coredata.SnapshotsTypeVendors: "VENDORS",
coredata.SnapshotsTypeAssets: "ASSETS", coredata.SnapshotsTypeAssets: "ASSETS",
coredata.SnapshotsTypeData: "DATA", coredata.SnapshotsTypeData: "DATA",
coredata.SnapshotsTypeNonConformityRegistries: "NON_CONFORMITY_REGISTRIES", coredata.SnapshotsTypeNonConformityRegistries: "NONCONFORMITY_REGISTRIES",
coredata.SnapshotsTypeComplianceRegistries: "COMPLIANCE_REGISTRIES", coredata.SnapshotsTypeComplianceRegistries: "COMPLIANCE_REGISTRIES",
} }
) )