github.com/ActiveState/cli@v0.0.0-20240508170324-6801f60cd051/pkg/platform/api/hasura_inventory/request/latest_revision.go (about) 1 package request 2 3 type LatestRevision struct { 4 } 5 6 func NewLatestRevision() *LatestRevision { 7 return &LatestRevision{} 8 } 9 10 func (l *LatestRevision) Query() string { 11 return `query last_ingredient_revision_time { 12 last_ingredient_revision_time { 13 revision_time 14 } 15 }` 16 } 17 18 func (l *LatestRevision) Vars() (map[string]interface{}, error) { 19 return nil, nil 20 }