feat: split account management
This commit is contained in:
@@ -133,6 +133,27 @@ type CompetitorInput struct {
|
||||
Tags []string `json:"tags"`
|
||||
}
|
||||
|
||||
type CompetitorShareJob struct {
|
||||
ID string `json:"id"`
|
||||
Platform string `json:"platform"`
|
||||
ShareURL string `json:"share_url"`
|
||||
Tags []string `json:"tags"`
|
||||
Status string `json:"status"`
|
||||
Attempts int `json:"attempts"`
|
||||
CompetitorID string `json:"competitor_id,omitempty"`
|
||||
FailureReason string `json:"failure_reason,omitempty"`
|
||||
LastAttemptAt *time.Time `json:"last_attempt_at,omitempty"`
|
||||
CompletedAt *time.Time `json:"completed_at,omitempty"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
type CompetitorShareJobInput struct {
|
||||
Platform string `json:"platform"`
|
||||
ShareURL string `json:"share_url"`
|
||||
Tags []string `json:"tags"`
|
||||
}
|
||||
|
||||
type WorkSource struct {
|
||||
Platform string `json:"platform"`
|
||||
SourceType string `json:"source_type"`
|
||||
|
||||
Reference in New Issue
Block a user