mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-07 07:06:05 +01:00
Add SillyTavern globals
This commit is contained in:
parent
406acb4312
commit
2bdc6f27cc
@ -55,6 +55,7 @@ module.exports = {
|
|||||||
isProbablyReaderable: 'readonly',
|
isProbablyReaderable: 'readonly',
|
||||||
ePub: 'readonly',
|
ePub: 'readonly',
|
||||||
diff_match_patch: 'readonly',
|
diff_match_patch: 'readonly',
|
||||||
|
SillyTavern: 'readonly',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
5
public/global.d.ts
vendored
5
public/global.d.ts
vendored
@ -14,6 +14,11 @@ declare var isProbablyReaderable;
|
|||||||
declare var ePub;
|
declare var ePub;
|
||||||
declare var ai;
|
declare var ai;
|
||||||
|
|
||||||
|
declare var SillyTavern: {
|
||||||
|
getContext(): any;
|
||||||
|
llm: any;
|
||||||
|
};
|
||||||
|
|
||||||
// Jquery plugins
|
// Jquery plugins
|
||||||
interface JQuery {
|
interface JQuery {
|
||||||
nanogallery2(options?: any): JQuery;
|
nanogallery2(options?: any): JQuery;
|
||||||
|
Loading…
Reference in New Issue
Block a user