Skip to content

Commit

Permalink
feat: update data access for BCCDC and HNJ (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
wvxcheung authored Mar 8, 2023
1 parent 657e446 commit a21ed04
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions graphql/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ export const groups: { readonly [authGroup: string]: AuthFilters } = {
},
},
bccdc: {
sites: {
where: ['healthReg', 'Vancouver'],
},
datasets: {
where: ['dataID', 'BCCDC'],
whereIn: ['dataID', ['BCCDC', 'NML-WWPCR']],
},
},
hnj: {
sites: {
where: ['siteID', 'HNJ'],
whereIn: ['healthReg', ['Yukon', 'Yukon-HNJ']],
},
datasets: {
whereIn: ['dataID', ['NML-WWPCR', 'NML-WWGX']],
Expand Down

0 comments on commit a21ed04

Please sign in to comment.