Initial commit

This commit is contained in:
2026-03-08 01:34:54 +08:00
commit 1f104f73c8
441 changed files with 64911 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { defineEndpoints } from '../types.js'
export const REMOTE_ENDPOINTS = defineEndpoints({
getConfig: { path: '/config', method: 'GET' },
saveConfig: { path: '/config', method: 'POST' },
getScreenshot: { path: '/screenshot', method: 'GET' },
saveScreenshot: { path: '/screenshot', method: 'POST' },
getData: { path: '/data', method: 'GET' },
saveData: { path: '/data', method: 'POST' },
})
export type RemoteEndpoints = typeof REMOTE_ENDPOINTS