Removed affiliate table in favor of direct campaign URLs.

This commit is contained in:
DebaucheryLibrarian
2021-06-28 02:50:06 +02:00
parent afbae24f43
commit 385dfb9f75
17 changed files with 317 additions and 176 deletions

View File

@@ -63,6 +63,7 @@ function initEntitiesActions(store, router) {
priority
independent
hasLogo
${campaignsFragment}
}
}
${campaignsFragment}

View File

@@ -98,26 +98,32 @@ const actorFields = `
const campaignsFragment = `
campaigns(filter: {
banner: {
bannersTagsConnection: {
none: {
tag: {
slug: {
in: $exclude
or: [
{
banner: {
bannersTagsConnection: {
none: {
tag: {
slug: {
in: $exclude
}
}
}
}
}
}
}
{
bannerExists: false
}
]
}) {
affiliate {
id
url
}
id
url
banner {
id
width
height
ratio
entity {
id
type

View File

@@ -120,6 +120,7 @@ function initTagsActions(store, _router) {
id
width
height
ratio
entity {
id
type
@@ -135,10 +136,8 @@ function initTagsActions(store, _router) {
}
}
campaigns {
affiliate {
id
url
}
id
url
entity {
id
type