Changeset 0.21.4 (#90)
This commit is contained in:
@@ -33,6 +33,12 @@ type Workspace struct {
|
||||
|
||||
IndexingEnabled bool `json:"indexing_enabled" db:"indexing_enabled"`
|
||||
|
||||
// Git integration (v0.21.4)
|
||||
GitRemoteURL *string `json:"git_remote_url,omitempty" db:"git_remote_url"`
|
||||
GitBranch *string `json:"git_branch,omitempty" db:"git_branch"`
|
||||
GitCredentialID *string `json:"git_credential_id,omitempty" db:"git_credential_id"`
|
||||
GitLastSync *time.Time `json:"git_last_sync,omitempty" db:"git_last_sync"`
|
||||
|
||||
// Computed fields (not DB columns)
|
||||
FileCount int `json:"file_count,omitempty"`
|
||||
TotalBytes int64 `json:"total_bytes,omitempty"`
|
||||
@@ -44,6 +50,11 @@ type WorkspacePatch struct {
|
||||
MaxBytes *int64 `json:"max_bytes,omitempty"`
|
||||
Status *string `json:"status,omitempty"`
|
||||
IndexingEnabled *bool `json:"indexing_enabled,omitempty"`
|
||||
|
||||
// Git integration (v0.21.4)
|
||||
GitRemoteURL *string `json:"git_remote_url,omitempty"`
|
||||
GitBranch *string `json:"git_branch,omitempty"`
|
||||
GitCredentialID *string `json:"git_credential_id,omitempty"`
|
||||
}
|
||||
|
||||
// WorkspaceFile represents metadata for a single file or directory in a workspace.
|
||||
|
||||
Reference in New Issue
Block a user