Skip to content

Commit

Permalink
Add PromotionsByTag; remove unused Nug query (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriszarate authored Nov 5, 2020
1 parent f4cdf35 commit 2928ea9
Show file tree
Hide file tree
Showing 31 changed files with 481 additions and 299 deletions.
9 changes: 0 additions & 9 deletions Queries/Nugs/Nug.gql

This file was deleted.

18 changes: 18 additions & 0 deletions Queries/Promotions/PromotionsByTag.gql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
query PromotionsByTag(
$perPage: Int!
$slug: [String]!
) {
promotions(
first: $perPage
where: {
tagSlugIn: $slug
}
) {
nodes {
...PromotionParts
blocks {
...BlockParts
}
}
}
}
8 changes: 4 additions & 4 deletions Schemas/ContentSchema.operations.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 0 additions & 53 deletions Web/Nug.ts

This file was deleted.

70 changes: 70 additions & 0 deletions Web/PromotionsByTag.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 0 additions & 40 deletions Web/dist-cjs/Nug.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion Web/dist-cjs/Nug.d.ts.map

This file was deleted.

57 changes: 0 additions & 57 deletions Web/dist-cjs/Nug.js

This file was deleted.

1 change: 0 additions & 1 deletion Web/dist-cjs/Nug.js.map

This file was deleted.

Loading

0 comments on commit 2928ea9

Please sign in to comment.