Module project, commit, submission
All checks were successful
Build and Release / release (push) Successful in 1m15s
All checks were successful
Build and Release / release (push) Successful in 1m15s
This commit is contained in:
17
internal/dtos/response/commit.go
Normal file
17
internal/dtos/response/commit.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package response
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"time"
|
||||
)
|
||||
|
||||
type CommitResponse struct {
|
||||
ID string `json:"id"`
|
||||
ProjectID string `json:"project_id"`
|
||||
SnapshotJson json.RawMessage `json:"snapshot_json"`
|
||||
SnapshotHash string `json:"snapshot_hash"`
|
||||
UserID string `json:"user_id"`
|
||||
EditSummary string `json:"edit_summary"`
|
||||
CreatedAt *time.Time `json:"created_at"`
|
||||
User *UserSimpleResponse `json:"user,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user