Skip to content

Commit

Permalink
feat: add new categories from v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio committed Jun 14, 2024
1 parent 844f349 commit 95e5fa1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testdata/v0/valid/valid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ categories:
- data-analytics
- data-collection
- data-visualization
- design
- design-system
- digital-asset-management
- digital-citizenship
- document-management
Expand Down Expand Up @@ -70,6 +72,7 @@ categories:
- ide
- identity-management
- instant-messaging
- integrated-library-system
- inventory-management
- it-asset-management
- it-development
Expand All @@ -95,6 +98,7 @@ categories:
- project-management
- property-management
- real-estate-management
- regulations-and-directives
- remote-support
- resource-management
- sales-management
Expand Down
4 changes: 4 additions & 0 deletions validators/v0.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ func isCategoryV0(fl validator.FieldLevel) bool {
"data-analytics",
"data-collection",
"data-visualization",
"design",
"design-system",
"digital-asset-management",
"digital-citizenship",
"document-management",
Expand Down Expand Up @@ -60,6 +62,7 @@ func isCategoryV0(fl validator.FieldLevel) bool {
"ide",
"identity-management",
"instant-messaging",
"integrated-library-system",
"inventory-management",
"it-asset-management",
"it-development",
Expand All @@ -85,6 +88,7 @@ func isCategoryV0(fl validator.FieldLevel) bool {
"project-management",
"property-management",
"real-estate-management",
"regulations-and-directives",
"remote-support",
"resource-management",
"sales-management",
Expand Down

0 comments on commit 95e5fa1

Please sign in to comment.