Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 89x 89x 88x 88x 88x 88x 88x | import { Empty } from "google-protobuf/google/protobuf/empty_pb";
import client from "./client";
export async function getTermsOfService() {
const res = await client.resources.getTermsOfService(new Empty());
return res.toObject();
}
export async function getCommunityGuidelines() {
const res = await client.resources.getCommunityGuidelines(new Empty());
return res.toObject();
}
export async function getRegions() {
const regions = await client.resources.getRegions(new Empty());
return regions.toObject();
}
export async function getLanguages() {
const languages = await client.resources.getLanguages(new Empty());
return languages.toObject();
}
export async function getBadges() {
const badges = await client.resources.getBadges(new Empty());
return badges.toObject();
}
|