feat(api-server): remote control api (#1909)

Co-authored-by: JellyBrick <shlee1503@naver.com>
Co-authored-by: Angelos Bouklis <angelbouklis.official@gmail.com>
Co-authored-by: Angelos Bouklis <me@arjix.dev>
Co-authored-by: Angelos Bouklis <53124886+ArjixWasTaken@users.noreply.github.com>
This commit is contained in:
Su-Yong
2024-10-13 19:10:12 +09:00
committed by GitHub
parent d07dae2542
commit 9ba8913da7
22 changed files with 1043 additions and 1 deletions

108
pnpm-lock.yaml generated
View File

@ -48,6 +48,18 @@ importers:
'@foobar404/wave':
specifier: 2.0.5
version: 2.0.5
'@hono/node-server':
specifier: 1.13.2
version: 1.13.2(hono@4.6.4)
'@hono/swagger-ui':
specifier: 0.4.1
version: 0.4.1(hono@4.6.4)
'@hono/zod-openapi':
specifier: 0.16.4
version: 0.16.4(hono@4.6.4)(zod@3.23.8)
'@hono/zod-validator':
specifier: 0.4.1
version: 0.4.1(hono@4.6.4)(zod@3.23.8)
'@jellybrick/electron-better-web-request':
specifier: 1.0.4
version: 1.0.4
@ -111,6 +123,9 @@ importers:
filenamify:
specifier: 6.0.0
version: 6.0.0
hono:
specifier: 4.6.4
version: 4.6.4
howler:
specifier: 2.2.4
version: 2.2.4
@ -168,6 +183,9 @@ importers:
youtubei.js:
specifier: 10.5.0
version: 10.5.0
zod:
specifier: 3.23.8
version: 3.23.8
devDependencies:
'@eslint/js':
specifier: ^9.10.0
@ -306,6 +324,11 @@ packages:
'@assemblyscript/loader@0.17.14':
resolution: {integrity: sha512-+PVTOfla/0XMLRTQLJFPg4u40XcdTfon6GGea70hBGi8Pd7ZymIXyVUR+vK8wt5Jb4MVKTKPIz43Myyebw5mZA==}
'@asteasolutions/zod-to-openapi@7.2.0':
resolution: {integrity: sha512-Va+Fq1QzKkSgmiYINSp3cASFhMsbdRH/kmCk2feijhC+yNjGoC056CRqihrVFhR8MY8HOZHdlYm2Ns2lmszCiw==}
peerDependencies:
zod: ^3.20.2
'@babel/code-frame@7.24.7':
resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==}
engines: {node: '>=6.9.0'}
@ -826,6 +849,36 @@ packages:
'@foobar404/wave@2.0.5':
resolution: {integrity: sha512-V/ydadtv5ObCw8aEg+Qy3YSq1eyinEWzJfRI43Ovmj7VmAvEdWAdL7MatoMbiIVYPATkNDVF7GOxX1xirxM9dA==}
'@hono/node-server@1.13.2':
resolution: {integrity: sha512-0w8nEmAyx0Ul0CQp8BL2VtAG4YVdpzXd/mvvM+l0G5Oq22pUyHS+KeFFPSY+czLOF5NAiV3MUNPD1n14Ol5svg==}
engines: {node: '>=18.14.1'}
peerDependencies:
hono: ^4
'@hono/swagger-ui@0.4.1':
resolution: {integrity: sha512-kPaJatHffeYQ3yVkHo878hCqwfapqx54FczJVJ+eRWt8J4biyVVMIdCAJb6MyA8bcnHUoTmUpPc7OJAV1VTg2g==}
peerDependencies:
hono: '*'
'@hono/zod-openapi@0.16.4':
resolution: {integrity: sha512-mnF6GthBaKex0D5PsY/4lYNtkaGJNE38bjeUI//EUqq7Ee4TNm2su35IUiFH4HcmJp5fWYMLyOJOpjnkClzEGw==}
engines: {node: '>=16.0.0'}
peerDependencies:
hono: '>=4.3.6'
zod: 3.*
'@hono/zod-validator@0.3.0':
resolution: {integrity: sha512-7XcTk3yYyk6ldrO/VuqsroE7stvDZxHJQcpATRAyha8rUxJNBPV3+6waDrARfgEqxOVlzIadm3/6sE/dPseXgQ==}
peerDependencies:
hono: '>=3.9.0'
zod: ^3.19.1
'@hono/zod-validator@0.4.1':
resolution: {integrity: sha512-I8LyfeJfvVmC5hPjZ2Iij7RjexlgSBT7QJudZ4JvNPLxn0JQ3sqclz2zydlwISAnw21D2n4LQ0nfZdoiv9fQQA==}
peerDependencies:
hono: '>=3.9.0'
zod: ^3.19.1
'@humanfs/core@0.19.0':
resolution: {integrity: sha512-2cbWIHbZVEweE853g8jymffCA+NCMiuqeECeBBLm8dg2oFdjuGJhgN4UAbI+6v0CKbbhvtXA4qV8YR5Ji86nmw==}
engines: {node: '>=18.18.0'}
@ -2458,6 +2511,10 @@ packages:
resolution: {integrity: sha512-ciq6hFsSG/Bpt2DmrZJtv+56zpPdnq+NQ4ijEFrveKN0ZG1mhl/LdT1NQZ9se6ty1fACcI4d4vYqC9v8EYpH2A==}
hasBin: true
hono@4.6.4:
resolution: {integrity: sha512-T5WqBkTOcIQblqBKB5mpzaH/A+dSpvVe938xZJCHOmOuYfF7DSwE/9/10+BMvwSPq9N/f6LiQ38HxrZSQOsXKw==}
engines: {node: '>=16.9.0'}
hosted-git-info@4.1.0:
resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==}
engines: {node: '>=10'}
@ -3135,6 +3192,9 @@ packages:
resolution: {integrity: sha512-mnkeQ1qP5Ue2wd+aivTD3NHd/lZ96Lu0jgf0pwktLPtx6cTZiH7tyeGRRHs0zX0rbrahXPnXlUnbeXyaBBuIaw==}
engines: {node: '>=18'}
openapi3-ts@4.4.0:
resolution: {integrity: sha512-9asTNB9IkKEzWMcHmVZE7Ts3kC9G7AFHfs8i7caD8HbI76gEjdkId4z/AkP83xdZsH7PLAnnbl47qZkXuxpArw==}
optionator@0.9.3:
resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==}
engines: {node: '>= 0.8.0'}
@ -4026,6 +4086,11 @@ packages:
yallist@4.0.0:
resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
yaml@2.5.1:
resolution: {integrity: sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==}
engines: {node: '>= 14'}
hasBin: true
yargs-parser@21.1.1:
resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}
engines: {node: '>=12'}
@ -4048,6 +4113,9 @@ packages:
resolution: {integrity: sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==}
engines: {node: '>= 10'}
zod@3.23.8:
resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==}
snapshots:
7zip-bin@5.2.0: {}
@ -4063,6 +4131,11 @@ snapshots:
'@assemblyscript/loader@0.17.14': {}
'@asteasolutions/zod-to-openapi@7.2.0(zod@3.23.8)':
dependencies:
openapi3-ts: 4.4.0
zod: 3.23.8
'@babel/code-frame@7.24.7':
dependencies:
'@babel/highlight': 7.24.7
@ -4530,6 +4603,31 @@ snapshots:
'@foobar404/wave@2.0.5': {}
'@hono/node-server@1.13.2(hono@4.6.4)':
dependencies:
hono: 4.6.4
'@hono/swagger-ui@0.4.1(hono@4.6.4)':
dependencies:
hono: 4.6.4
'@hono/zod-openapi@0.16.4(hono@4.6.4)(zod@3.23.8)':
dependencies:
'@asteasolutions/zod-to-openapi': 7.2.0(zod@3.23.8)
'@hono/zod-validator': 0.3.0(hono@4.6.4)(zod@3.23.8)
hono: 4.6.4
zod: 3.23.8
'@hono/zod-validator@0.3.0(hono@4.6.4)(zod@3.23.8)':
dependencies:
hono: 4.6.4
zod: 3.23.8
'@hono/zod-validator@0.4.1(hono@4.6.4)(zod@3.23.8)':
dependencies:
hono: 4.6.4
zod: 3.23.8
'@humanfs/core@0.19.0': {}
'@humanfs/node@0.16.5':
@ -6553,6 +6651,8 @@ snapshots:
hexy@0.2.11: {}
hono@4.6.4: {}
hosted-git-info@4.1.0:
dependencies:
lru-cache: 6.0.0
@ -7191,6 +7291,10 @@ snapshots:
is-inside-container: 1.0.0
is-wsl: 3.1.0
openapi3-ts@4.4.0:
dependencies:
yaml: 2.5.1
optionator@0.9.3:
dependencies:
'@aashutoshrathi/word-wrap': 1.2.6
@ -8107,6 +8211,8 @@ snapshots:
yallist@4.0.0: {}
yaml@2.5.1: {}
yargs-parser@21.1.1: {}
yargs@17.7.2:
@ -8138,3 +8244,5 @@ snapshots:
archiver-utils: 3.0.4
compress-commons: 4.1.2
readable-stream: 3.6.2
zod@3.23.8: {}