Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 36 additions & 9 deletions api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -15750,11 +15750,18 @@
"nullable": true,
"type": "string"
},
"registrationStatus": {
"activityStatusCode": {
"nullable": true,
"description": "Deprecated: always null. Upstream never populates it; use status for the signup state.",
"type": "string"
},
"signupStatusCode": {
"nullable": true,
"type": "string"
},
"requiresSignup": {
"nullable": true,
"type": "boolean"
},
"location": {
"nullable": true,
"type": "string"
Expand Down Expand Up @@ -15939,7 +15946,9 @@
"organizer",
"organizerId",
"status",
"registrationStatus",
"activityStatusCode",
"signupStatusCode",
"requiresSignup",
"location",
"imageUrl",
"hours",
Expand Down Expand Up @@ -23684,11 +23693,18 @@
"nullable": true,
"type": "string"
},
"registrationStatus": {
"activityStatusCode": {
"nullable": true,
"type": "string"
},
"signupStatusCode": {
"nullable": true,
"description": "Deprecated: always null. Upstream never populates it; use status for the signup state.",
"type": "string"
},
"requiresSignup": {
"nullable": true,
"type": "boolean"
},
"location": {
"nullable": true,
"type": "string"
Expand Down Expand Up @@ -23873,7 +23889,9 @@
"organizer",
"organizerId",
"status",
"registrationStatus",
"activityStatusCode",
"signupStatusCode",
"requiresSignup",
"location",
"imageUrl",
"hours",
Expand Down Expand Up @@ -29127,11 +29145,18 @@
"nullable": true,
"type": "string"
},
"registrationStatus": {
"activityStatusCode": {
"nullable": true,
"description": "Deprecated: always null. Upstream never populates it; use status for the signup state.",
"type": "string"
},
"signupStatusCode": {
"nullable": true,
"type": "string"
},
"requiresSignup": {
"nullable": true,
"type": "boolean"
},
"location": {
"nullable": true,
"type": "string"
Expand Down Expand Up @@ -29325,7 +29350,9 @@
"organizer",
"organizerId",
"status",
"registrationStatus",
"activityStatusCode",
"signupStatusCode",
"requiresSignup",
"location",
"imageUrl",
"hours",
Expand Down
4 changes: 2 additions & 2 deletions api/openapi.provenance.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"repository": "Life-USTC/server",
"commit": "4651fd9f20aa64873bcd0844e116da9bfb84a17b",
"sha256": "4c1265b490519bc921fbab91495043adb8b54d2b9e67462d109ec9d6a783a422"
"commit": "35b508432a35bcaa3f234ed58167d7f36707f981",
"sha256": "7bed8b549a3ecc39ba880b4d3182ae8de5be30b98f1be6d821b7622beba9376a"
}
4 changes: 3 additions & 1 deletion internal/cmd/young_event/young_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ func newCmdGet() *cobra.Command {
{Key: "hours", Label: "Hours", SkipEmpty: true},
{Key: "capacity", Label: "Capacity", SkipEmpty: true},
{Key: "appliedCount", Label: "Applied", SkipEmpty: true},
{Key: "registrationStatus", Label: "Registration", SkipEmpty: true},
{Key: "activityStatusCode", Label: "Activity status code", SkipEmpty: true},
{Key: "signupStatusCode", Label: "Signup status code", SkipEmpty: true},
{Key: "requiresSignup", Label: "Requires signup", SkipEmpty: true},
{Key: "status", Label: "Status", SkipEmpty: true},
{Key: "isActive", Label: "Active"},
{Key: "sourceMissing", Label: "Source missing", SkipEmpty: true},
Expand Down
190 changes: 95 additions & 95 deletions internal/openapi/client.gen.go

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

Loading