fix: add publish_enterprise_site_targets field to ScheduleTask model
Desktop Client Build / Resolve Build Metadata (push) Successful in 27s
Backend CI / Backend (push) Successful in 15m27s
Desktop Client Build / Build Desktop Client (push) Successful in 23m20s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 37s
Desktop Client Build / Resolve Build Metadata (push) Successful in 27s
Backend CI / Backend (push) Successful in 15m27s
Desktop Client Build / Build Desktop Client (push) Successful in 23m20s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 37s
This commit is contained in:
@@ -893,39 +893,40 @@ type QuotaReservation struct {
|
||||
}
|
||||
|
||||
type ScheduleTask struct {
|
||||
ID int64 `json:"id"`
|
||||
TenantID int64 `json:"tenant_id"`
|
||||
PromptRuleID pgtype.Int8 `json:"prompt_rule_id"`
|
||||
BrandID pgtype.Int8 `json:"brand_id"`
|
||||
Name string `json:"name"`
|
||||
CronExpr string `json:"cron_expr"`
|
||||
StartAt pgtype.Timestamptz `json:"start_at"`
|
||||
EndAt pgtype.Timestamptz `json:"end_at"`
|
||||
NextRunAt pgtype.Timestamptz `json:"next_run_at"`
|
||||
Status string `json:"status"`
|
||||
CreatedAt pgtype.Timestamptz `json:"created_at"`
|
||||
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
|
||||
DeletedAt pgtype.Timestamptz `json:"deleted_at"`
|
||||
OperatorID pgtype.Int8 `json:"operator_id"`
|
||||
EnableWebSearch bool `json:"enable_web_search"`
|
||||
GenerateCount int32 `json:"generate_count"`
|
||||
WorkspaceID pgtype.Int8 `json:"workspace_id"`
|
||||
AutoPublish bool `json:"auto_publish"`
|
||||
PublishAccountIds []byte `json:"publish_account_ids"`
|
||||
CoverAssetUrl pgtype.Text `json:"cover_asset_url"`
|
||||
CoverImageAssetID pgtype.Int8 `json:"cover_image_asset_id"`
|
||||
TargetType string `json:"target_type"`
|
||||
SubscriptionPromptID pgtype.Int8 `json:"subscription_prompt_id"`
|
||||
ScheduleKind string `json:"schedule_kind"`
|
||||
ScheduleDays []byte `json:"schedule_days"`
|
||||
ScheduleTimeMode string `json:"schedule_time_mode"`
|
||||
RandomWindowStart pgtype.Time `json:"random_window_start"`
|
||||
RandomWindowEnd pgtype.Time `json:"random_window_end"`
|
||||
GenerationInputJson []byte `json:"generation_input_json"`
|
||||
LastRunAt pgtype.Timestamptz `json:"last_run_at"`
|
||||
LastDispatchStatus pgtype.Text `json:"last_dispatch_status"`
|
||||
LastDispatchError pgtype.Text `json:"last_dispatch_error"`
|
||||
ConsecutiveFailures int32 `json:"consecutive_failures"`
|
||||
ID int64 `json:"id"`
|
||||
TenantID int64 `json:"tenant_id"`
|
||||
PromptRuleID pgtype.Int8 `json:"prompt_rule_id"`
|
||||
BrandID pgtype.Int8 `json:"brand_id"`
|
||||
Name string `json:"name"`
|
||||
CronExpr string `json:"cron_expr"`
|
||||
StartAt pgtype.Timestamptz `json:"start_at"`
|
||||
EndAt pgtype.Timestamptz `json:"end_at"`
|
||||
NextRunAt pgtype.Timestamptz `json:"next_run_at"`
|
||||
Status string `json:"status"`
|
||||
CreatedAt pgtype.Timestamptz `json:"created_at"`
|
||||
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
|
||||
DeletedAt pgtype.Timestamptz `json:"deleted_at"`
|
||||
OperatorID pgtype.Int8 `json:"operator_id"`
|
||||
EnableWebSearch bool `json:"enable_web_search"`
|
||||
GenerateCount int32 `json:"generate_count"`
|
||||
WorkspaceID pgtype.Int8 `json:"workspace_id"`
|
||||
AutoPublish bool `json:"auto_publish"`
|
||||
PublishAccountIds []byte `json:"publish_account_ids"`
|
||||
CoverAssetUrl pgtype.Text `json:"cover_asset_url"`
|
||||
CoverImageAssetID pgtype.Int8 `json:"cover_image_asset_id"`
|
||||
TargetType string `json:"target_type"`
|
||||
SubscriptionPromptID pgtype.Int8 `json:"subscription_prompt_id"`
|
||||
ScheduleKind string `json:"schedule_kind"`
|
||||
ScheduleDays []byte `json:"schedule_days"`
|
||||
ScheduleTimeMode string `json:"schedule_time_mode"`
|
||||
RandomWindowStart pgtype.Time `json:"random_window_start"`
|
||||
RandomWindowEnd pgtype.Time `json:"random_window_end"`
|
||||
GenerationInputJson []byte `json:"generation_input_json"`
|
||||
LastRunAt pgtype.Timestamptz `json:"last_run_at"`
|
||||
LastDispatchStatus pgtype.Text `json:"last_dispatch_status"`
|
||||
LastDispatchError pgtype.Text `json:"last_dispatch_error"`
|
||||
ConsecutiveFailures int32 `json:"consecutive_failures"`
|
||||
PublishEnterpriseSiteTargets []byte `json:"publish_enterprise_site_targets"`
|
||||
}
|
||||
|
||||
type SupplierMediaPriceOverride struct {
|
||||
|
||||
Reference in New Issue
Block a user