mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
chore: style
This commit is contained in:
@@ -35,4 +35,4 @@ const manifest = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
writeFileSync('manifest.json', JSON.stringify(manifest, null, 2))
|
writeFileSync('manifest.json', JSON.stringify(manifest, null, 2))
|
||||||
|
@@ -19,4 +19,4 @@ export const selfInfo: SelfInfo = {
|
|||||||
uin: '',
|
uin: '',
|
||||||
nick: '',
|
nick: '',
|
||||||
online: true,
|
online: true,
|
||||||
}
|
}
|
||||||
|
@@ -70,4 +70,4 @@ export interface FileCacheV2 {
|
|||||||
chatType: number
|
chatType: number
|
||||||
elementId: string
|
elementId: string
|
||||||
elementType: number
|
elementType: number
|
||||||
}
|
}
|
||||||
|
2
src/global.d.ts
vendored
2
src/global.d.ts
vendored
@@ -6,4 +6,4 @@ declare global {
|
|||||||
var LiteLoader: Dict
|
var LiteLoader: Dict
|
||||||
var authData: Dict | undefined
|
var authData: Dict | undefined
|
||||||
var navigation: Dict | undefined
|
var navigation: Dict | undefined
|
||||||
}
|
}
|
||||||
|
@@ -33,4 +33,4 @@ export default class Log {
|
|||||||
enable = input.log!
|
enable = input.log!
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -237,4 +237,4 @@ namespace Core {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Core
|
export default Core
|
||||||
|
@@ -173,4 +173,4 @@ export function registerCallHook(
|
|||||||
export function removeReceiveHook(id: string) {
|
export function removeReceiveHook(id: string) {
|
||||||
const index = receiveHooks.findIndex((h) => h.id === id)
|
const index = receiveHooks.findIndex((h) => h.id === id)
|
||||||
receiveHooks.splice(index, 1)
|
receiveHooks.splice(index, 1)
|
||||||
}
|
}
|
||||||
|
@@ -181,4 +181,4 @@ export function invoke<
|
|||||||
apiArgs,
|
apiArgs,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@@ -78,4 +78,4 @@ Process.dlopen = function (module: Dict, filename: string, flags = constants.dlo
|
|||||||
|
|
||||||
export function getSession() {
|
export function getSession() {
|
||||||
return wrapperApi['NodeIQQNTWrapperSession']
|
return wrapperApi['NodeIQQNTWrapperSession']
|
||||||
}
|
}
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
export const iconSvg = `
|
export const iconSvg = `
|
||||||
<?xml version="2.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="2.0" encoding="UTF-8" standalone="no"?>
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="50px" y="10px" width="262px" height="150" viewBox="0 0 212 262" enable-background="new 0 0 212 262" xml:space="preserve">
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="50px" y="10px" width="262px" height="150" viewBox="0 0 212 262" enable-background="new 0 0 212 262" xml:space="preserve">
|
||||||
<image id="image0" width="212" height="210" x="0" y="-20" transform="rotate(180, 100, 100)"
|
<image id="image0" width="212" height="210" x="0" y="-20" transform="rotate(180, 100, 100)"
|
||||||
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANQAAAEGCAYAAAAdX7uIAAAAIGNIUk0AAHomAACAhAAA+gAAAIDo
|
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANQAAAEGCAYAAAAdX7uIAAAAIGNIUk0AAHomAACAhAAA+gAAAIDo
|
||||||
AAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADsMAAA7DAcdv
|
AAB1MAAA6mAAADqYAAAXcJy6UTwAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADsMAAA7DAcdv
|
||||||
|
Reference in New Issue
Block a user