Skip to content

Commit

Permalink
Merge pull request #143 from Cytoid/dev
Browse files Browse the repository at this point in the history
Deploy 20240215
  • Loading branch information
Teages authored Feb 15, 2024
2 parents 3550e38 + c707c37 commit fffd64c
Show file tree
Hide file tree
Showing 5 changed files with 2,401 additions and 2,114 deletions.
10 changes: 5 additions & 5 deletions components/Pagination.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<script setup lang="ts">
const props = defineProps<{
toFirstPage(): void
toPrevPage(): void
toNextPage(): void
toFinalPage(): void
toFirstPage: () => void
toPrevPage: () => void
toNextPage: () => void
toFinalPage: () => void
page: number
totalPage: number
jumpToPage(page: number): void
jumpToPage: (page: number) => void
isFirstPage?: boolean
isFinalPage?: boolean
Expand Down
2 changes: 1 addition & 1 deletion modules/legacy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineNuxtModule } from '@nuxt/kit'
import { defineNuxtModule } from 'nuxt/kit'
import { pick } from 'lodash'
import legacy from '@vitejs/plugin-legacy'

Expand Down
59 changes: 29 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,50 +21,49 @@
"graphql": "^16.8.1"
},
"devDependencies": {
"@0no-co/graphqlsp": "^0.14.1",
"@antfu/eslint-config": "^2.4.5",
"@0no-co/graphqlsp": "^1.3.4",
"@antfu/eslint-config": "^2.6.4",
"@headlessui/tailwindcss": "^0.2.0",
"@headlessui/vue": "^1.7.16",
"@nuxt/devtools": "^1.0.6",
"@headlessui/vue": "^1.7.19",
"@nuxt/devtools": "^1.0.8",
"@nuxtjs/device": "^3.1.1",
"@nuxtjs/google-fonts": "^3.1.3",
"@nuxtjs/i18n": "8.0.0-rc.6",
"@nuxtjs/tailwindcss": "^6.10.1",
"@nuxtjs/tailwindcss": "^6.11.4",
"@nuxtjs/turnstile": "^0.6.3",
"@tailwindcss/typography": "^0.5.10",
"@teages/nuxt-locale-lite": "^0.0.4",
"@teages/nuxt-urql-client": "^1.2.0",
"@teages/nuxt-locale-lite": "^0.0.5",
"@teages/nuxt-urql-client": "^1.3.0",
"@types/config": "^3.3.3",
"@types/glob": "^8.1.0",
"@types/howler": "^2.2.11",
"@types/lodash": "^4.14.202",
"@types/node": "^20.10.4",
"@types/sanitize-html": "^2.9.5",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vite-pwa/nuxt": "^0.3.5",
"@vitejs/plugin-legacy": "^5.2.0",
"@vueuse/components": "^10.7.0",
"@vueuse/nuxt": "^10.7.0",
"@wasm-audio-decoders/ogg-vorbis": "^0.1.14",
"apexcharts": "^3.44.2",
"config": "^3.3.9",
"@types/node": "^20.11.18",
"@types/sanitize-html": "^2.11.0",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@vite-pwa/nuxt": "^0.5.0",
"@vitejs/plugin-legacy": "^5.3.0",
"@vueuse/components": "^10.7.2",
"@vueuse/nuxt": "^10.7.2",
"@wasm-audio-decoders/ogg-vorbis": "^0.1.15",
"apexcharts": "^3.45.2",
"config": "^3.3.11",
"cross-env": "^7.0.3",
"daisyui": "^3.9.4",
"date-fns": "^3.0.6",
"dotenv": "^16.3.1",
"date-fns": "^3.3.1",
"dotenv": "^16.4.4",
"easymde": "^2.18.0",
"eslint": "^8.55.0",
"eslint": "^8.56.0",
"howler": "^2.2.4",
"marked": "^11.1.0",
"nuxt": "^3.9.3",
"nuxt-gtag": "^1.1.1",
"nuxt-icon": "^0.6.7",
"ogg-opus-decoder": "^1.6.10",
"marked": "^12.0.0",
"nuxt": "^3.10.2",
"nuxt-gtag": "^1.2.0",
"nuxt-icon": "^0.6.8",
"ogg-opus-decoder": "^1.6.12",
"sanitize-html": "^2.11.0",
"terser": "^5.26.0",
"terser": "^5.27.1",
"typescript": "^5.3.3",
"vue": "^3.4.3",
"vue3-apexcharts": "^1.4.4"
"vue": "^3.4.19",
"vue3-apexcharts": "^1.5.2"
}
}
17 changes: 9 additions & 8 deletions pages/studio/sudo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ onMounted(() => {
async function beSuperUser() {
try {
await $fetch(useServiceUrl('/session/sudo'), {
await useServiceFetch('/session/sudo', {
method: 'POST',
})
reloadNuxtApp({
Expand All @@ -44,17 +44,18 @@ async function beSuperUser() {
}
async function sendWorkerCommand(type?: string) {
await $fetch(useServiceUrl(
await useServiceFetch(
type
? `/workers/${type}`
: '/workers',
), {
method: 'POST',
body: {
command: command.value,
argument: argument.value,
{
method: 'POST',
body: {
command: command.value,
argument: argument.value,
},
},
})
)
successAlert('Command sent')
}
</script>
Expand Down
Loading

0 comments on commit fffd64c

Please sign in to comment.