This commit is contained in:
手瓜一十雪 committed 2025-04-19 11:03:03 +08:00
1 parent 07c7eb8965
commit f315ab15e6
100 files changed
+931 -937

No files matched your search

+4 -4
View File
@@ -1,16 +1,16 @@
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { Static, Type } from '@sinclair/typebox';
interface Response {
cookies: string,
bkn: string
}
const SchemaData = z.object({
domain: z.string()
const SchemaData = Type.Object({
domain: Type.String()
});
type Payload = z.infer<typeof SchemaData>;
type Payload = Static<typeof SchemaData>;
export class GetCookies extends OneBotAction<Payload, Response> {
override actionName = ActionName.GetCookies;