Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit 698419a

Browse files
pjcdawkinsclaude
andcommitted
feat(mockapi): add ApplicationScope field to Variable struct
Support for the application_scope field on variables, which restricts a variable to specific applications within a deployment. Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent 905e1c4 commit 698419a

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

pkg/mockapi/model.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,12 @@ type Activity struct {
293293
}
294294

295295
type Variable struct {
296-
Name string `json:"name"`
297-
Value string `json:"value,omitempty"`
298-
IsSensitive bool `json:"is_sensitive"`
299-
VisibleBuild bool `json:"visible_build"`
300-
VisibleRuntime bool `json:"visible_runtime"`
296+
Name string `json:"name"`
297+
Value string `json:"value,omitempty"`
298+
IsSensitive bool `json:"is_sensitive"`
299+
VisibleBuild bool `json:"visible_build"`
300+
VisibleRuntime bool `json:"visible_runtime"`
301+
ApplicationScope []string `json:"application_scope,omitempty"`
301302

302303
CreatedAt time.Time `json:"created_at"`
303304
UpdatedAt time.Time `json:"updated_at"`

0 commit comments

Comments
 (0)