()
| 211 | } |
| 212 | |
| 213 | async user() { |
| 214 | const { data } = await this.query({ |
| 215 | query: queries.user, |
| 216 | fetchPolicy: CACHE_FIRST, // we can assume user details don't change often |
| 217 | }); |
| 218 | return data.viewer; |
| 219 | } |
| 220 | |
| 221 | async retrieveBlobObject(owner: string, name: string, expression: string, options = {}) { |
| 222 | const { data } = await this.query({ |