Surface last_matched_at on all API surfaces
Add lastMatchedAt to the CookiePattern GraphQL type, MCP schema, CLI view/list commands, and n8n get/getAll operations. Run codegen to regenerate gqlgen models and MCP types. Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -9185,6 +9185,12 @@ components:
|
||||
excluded:
|
||||
type: boolean
|
||||
description: Whether this pattern is excluded from the consent banner
|
||||
last_matched_at:
|
||||
type:
|
||||
- string
|
||||
- "null"
|
||||
format: date-time
|
||||
description: Timestamp when a cookie last matched this pattern
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
|
||||
@@ -32,6 +32,7 @@ func NewCookiePattern(p *coredata.CookiePattern) *CookiePattern {
|
||||
Description: p.Description,
|
||||
Source: CookiePatternSource(p.Source),
|
||||
Excluded: p.Excluded,
|
||||
LastMatchedAt: p.LastMatchedAt,
|
||||
CreatedAt: p.CreatedAt,
|
||||
UpdatedAt: p.UpdatedAt,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user