Update console tracker page

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-05-20 11:58:40 +04:00
parent be9b43e98f
commit 5abd670707
12 changed files with 99 additions and 63 deletions

View File

@@ -112,6 +112,13 @@ input CookieCategoryOrder
field: CookieCategoryOrderField!
}
input CookieCategoryFilter
@goModel(
model: "go.probo.inc/probo/pkg/server/api/console/v1/types.CookieCategoryFilter"
) {
excludeKind: CookieCategoryKind
}
type CookieBanner implements Node {
id: ID!
name: String!
@@ -125,12 +132,13 @@ type CookieBanner implements Node {
organization: Organization @goField(forceResolver: true)
consentCategories(
categories(
first: Int
after: CursorKey
last: Int
before: CursorKey
orderBy: CookieCategoryOrder
filter: CookieCategoryFilter
): CookieCategoryConnection @goField(forceResolver: true)
translations: [CookieBannerTranslation!]! @goField(forceResolver: true)
@@ -146,7 +154,7 @@ type CookieBanner implements Node {
filter: CookieConsentRecordFilter
): CookieConsentRecordConnection @goField(forceResolver: true)
uncategorisedTrackerPatterns(
trackerPatterns(
first: Int
after: CursorKey
last: Int
@@ -299,6 +307,7 @@ input TrackerPatternFilter
query: String
source: CookieSource
trackerType: TrackerType
cookieCategoryId: ID
}
enum TrackerResourceType

View File

@@ -34,9 +34,10 @@ type (
}
TrackerPatternFilter struct {
Query *string
Source *coredata.CookieSource
TrackerType *coredata.TrackerType
Query *string
Source *coredata.CookieSource
TrackerType *coredata.TrackerType
CookieCategoryID *gid.GID
}
)