Commit Graph

10 Commits

Author SHA1 Message Date
Cohee 2e36f45e24 Fix types for dompurify and toastr 2024-10-06 19:51:59 +03:00
Cohee 8006795897 New tool calling framework 2024-10-02 01:00:48 +03:00
Cohee 2bdc6f27cc Add SillyTavern globals 2024-08-12 21:56:32 +03:00
Cohee 8dd5d9321d Fix gallery duplicate uploads 2024-07-27 18:00:30 +03:00
Cohee a20c6bb01e Extension framework for function tool calling 2024-05-25 15:31:57 +03:00
Cohee e73b5713fd Add types for moment 2024-05-11 14:49:11 +03:00
steve green f421139402
Create char-data.js for type hint (#2209)
* Create char-data.js for type hint

code from 7df0d1e06d/src/charData.mjs

* add hint

* fixes

* `class` -> JSdoc typedef by AI

* use `import`

* `v2DataWorldInfo`

* Rename book typedef

* Fix type errors

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-05-11 12:05:13 +03:00
Cohee 1430eb26ea Delete toastr types.
@Wolfsblvt add it back if needed.
2024-05-10 23:05:14 +03:00
Wolfsblvt eeaa52bf5d Expand global.d.ts with code docs
- docs and syntax for toastr
- docs and syntax for Fuse
- docs and syntax for select2
- docs and syntax for sortable
2024-05-10 04:48:30 +02:00
Cohee 5197809d6b Add global variables to TypeScript definitions. Fix some errors 2024-05-04 20:44:41 +03:00