mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-13 00:10:27 +00:00
version: 3.0.0
This commit is contained in:
@@ -1 +1 @@
|
||||
export const napCatVersion = '2.6.27';
|
||||
export const napCatVersion = '3.0.0';
|
||||
|
||||
@@ -1,15 +1,10 @@
|
||||
import BaseAction from '../BaseAction';
|
||||
import { OB11Message, OB11MessageData, OB11MessageDataType, OB11MessageForward, OB11MessageNode as OriginalOB11MessageNode } from '@/onebot';
|
||||
import { OB11Message, OB11MessageData, OB11MessageDataType, OB11MessageForward, OB11MessageNodePlain as OB11MessageNode} from '@/onebot';
|
||||
import { ActionName } from '../types';
|
||||
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
|
||||
import { MessageUnique } from '@/common/message-unique';
|
||||
|
||||
type OB11MessageNode = OriginalOB11MessageNode & {
|
||||
data: {
|
||||
content?: Array<OB11MessageData>;
|
||||
message: Array<OB11MessageData>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
const SchemaData = {
|
||||
type: 'object',
|
||||
|
||||
@@ -154,6 +154,13 @@ export interface OB11MessageNode {
|
||||
};
|
||||
}
|
||||
|
||||
export type OB11MessageNodePlain = OB11MessageNode & {
|
||||
data: {
|
||||
content?: Array<OB11MessageData>;
|
||||
message: Array<OB11MessageData>;
|
||||
};
|
||||
};
|
||||
|
||||
export interface OB11MessageIdMusic {
|
||||
type: OB11MessageDataType.music;
|
||||
data: IdMusicSignPostData;
|
||||
|
||||
@@ -30,7 +30,7 @@ async function onSettingWindowCreated(view: Element) {
|
||||
SettingItem(
|
||||
'<span id="napcat-update-title">Napcat</span>',
|
||||
undefined,
|
||||
SettingButton('V2.6.27', 'napcat-update-button', 'secondary'),
|
||||
SettingButton('V3.0.0', 'napcat-update-button', 'secondary'),
|
||||
),
|
||||
]),
|
||||
SettingList([
|
||||
|
||||
Reference in New Issue
Block a user