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

No files matched your search

+4 -4
View File
@@ -1,13 +1,13 @@
import { ActionName } from '@/onebot/action/router';
import { FileNapCatOneBotUUID } from '@/common/file-uuid';
import { GetPacketStatusDepends } from '@/onebot/action/packet/GetPacketStatus';
import { z } from 'zod';
import { Static, Type } from '@sinclair/typebox';
const SchemaData = z.object({
file_id: z.string(),
const SchemaData = Type.Object({
file_id: Type.String(),
});
type Payload = z.infer<typeof SchemaData>;
type Payload = Static<typeof SchemaData>;
interface GetPrivateFileUrlResponse {
url?: string;