chore: code formatting

This commit is contained in:
github-actions[bot]
2022-01-28 01:53:23 +00:00
parent 3945af02d1
commit 8890aea598
5 changed files with 38 additions and 32 deletions

View File

@@ -90,24 +90,24 @@
tab: "overview",
palette: "light",
clipboard: null,
requests: {rest:{limit:0, used:0, remaining:0, reset:NaN}, graphql:{limit:0, used:0, remaining:0, reset:NaN}},
requests: { rest: { limit: 0, used: 0, remaining: 0, reset: NaN }, graphql: { limit: 0, used: 0, remaining: 0, reset: NaN } },
cached: new Map(),
config: Object.fromEntries(Object.entries(metadata.core.web).map(([key, { defaulted }]) => [key, defaulted])),
metadata: Object.fromEntries(Object.entries(metadata).map(([key, { web }]) => [key, web])),
hosted: null,
docs:{
overview:{
link:"https://github.com/lowlighter/metrics#-documentation",
name:"Complete documentation",
docs: {
overview: {
link: "https://github.com/lowlighter/metrics#-documentation",
name: "Complete documentation",
},
markdown:{
link:"https://github.com/lowlighter/metrics/blob/master/.github/readme/partials/documentation/setup/shared.md",
name:"Setup using the shared instance",
markdown: {
link: "https://github.com/lowlighter/metrics/blob/master/.github/readme/partials/documentation/setup/shared.md",
name: "Setup using the shared instance",
},
action: {
link: "https://github.com/lowlighter/metrics/blob/master/.github/readme/partials/documentation/setup/action.md",
name: "Setup using GitHub Action on a profile repository",
},
action:{
link:"https://github.com/lowlighter/metrics/blob/master/.github/readme/partials/documentation/setup/action.md",
name:"Setup using GitHub Action on a profile repository",
}
},
plugins: {
base: {},
@@ -269,7 +269,7 @@
rlreset() {
const reset = new Date(Math.max(this.requests.graphql.reset, this.requests.rest.reset))
return `${reset.getHours()}:${reset.getMinutes()}`
}
},
},
//Methods
methods: {
@@ -321,7 +321,8 @@
try {
const { data: requests } = await axios.get("/.requests")
this.requests = requests
} catch {}
}
catch {}
}
},
},