fix: signApi

This commit is contained in:
手瓜一十雪
2024-08-09 14:24:48 +08:00
parent 6583e3d0c9
commit abe0838a63
7 changed files with 248 additions and 238 deletions

View File

@@ -5,3 +5,4 @@ export * from './notify';
export * from './cache';
export * from './system';
export * from './webapi';
export * from './sign';

23
src/core/entities/sign.ts Normal file
View File

@@ -0,0 +1,23 @@
export interface IdMusicSignPostData {
type: 'qq' | '163',
id: string | number,
}
export interface CustomMusicSignPostData {
type: 'custom',
url: string,
audio: string,
title: string,
image?: string,
singer?: string
}
export interface MiniAppLuaJsonType {
prompt: string,
title: string,
preview: string,
jumpUrl: string,
tag: string,
tagIcon: string,
source: string,
sourcelogo: string,
}