Skip to content

Commit

Permalink
feat: Add cndw2024
Browse files Browse the repository at this point in the history
  • Loading branch information
ystkfujii committed Sep 21, 2024
1 parent 23ccbd3 commit 6927b0c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion internal/cfp/value/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (v *ConfName) Validate() error {
return validation.Validate(v.value,
validation.In(
cicd2023, cndf2023, cndt2023,
cnds2024,
cnds2024, cndw2024,
),
)
}
Expand All @@ -66,18 +66,21 @@ var (
cndf2023 ConferenceKind = "cndf2023"
cndt2023 ConferenceKind = "cndt2023"
cnds2024 ConferenceKind = "cnds2024"
cndw2024 ConferenceKind = "cndw2024"

CICD2023 ConfName
CNDF2023 ConfName
CNDT2023 ConfName
CNDS2024 ConfName
CNDW2024 ConfName
)

func init() {
CICD2023, _ = NewConfName(cicd2023)
CNDF2023, _ = NewConfName(cndf2023)
CNDT2023, _ = NewConfName(cndt2023)
CNDS2024, _ = NewConfName(cnds2024)
CNDW2024, _ = NewConfName(cndw2024)
}

var (
Expand Down
3 changes: 3 additions & 0 deletions internal/dkui/value/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,21 @@ var (
cndf2023 ConferenceKind = "cndf2023"
cndt2023 ConferenceKind = "cndt2023"
cnds2024 ConferenceKind = "cnds2024"
cndw2024 ConferenceKind = "cndw2024"

CICD2023 ConfName
CNDF2023 ConfName
CNDT2023 ConfName
CNDS2024 ConfName
CNDW2024 ConfName
)

func init() {
CICD2023, _ = NewConfName(cicd2023)
CNDF2023, _ = NewConfName(cndf2023)
CNDT2023, _ = NewConfName(cndt2023)
CNDS2024, _ = NewConfName(cnds2024)
CNDW2024, _ = NewConfName(cndw2024)
}

// ProfileID represents an ID of user profile.
Expand Down
4 changes: 3 additions & 1 deletion internal/graph/model/models_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions internal/graph/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ enum ConfName {
cndf2023
cndt2023
cnds2024
cndw2024
}

type Query {
Expand Down

0 comments on commit 6927b0c

Please sign in to comment.