mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add WIGlobalScanData type
This commit is contained in:
@ -97,6 +97,17 @@ export const MAX_SCAN_DEPTH = 1000;
|
|||||||
const KNOWN_DECORATORS = ['@@activate', '@@dont_activate'];
|
const KNOWN_DECORATORS = ['@@activate', '@@dont_activate'];
|
||||||
|
|
||||||
// Typedef area
|
// Typedef area
|
||||||
|
/**
|
||||||
|
* @typedef {object} WIGlobalScanData The chat-independent data to be scanned. Each of
|
||||||
|
* these fields can be enabled for scanning per entry.
|
||||||
|
* @property {string} personaDescription User persona description
|
||||||
|
* @property {string} characterDescription
|
||||||
|
* @property {string} characterPersonality
|
||||||
|
* @property {string} characterNote
|
||||||
|
* @property {string} scenario Character defined scenario
|
||||||
|
* @property {string} creatorNotes
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {object} WIScanEntry The entry that triggered the scan
|
* @typedef {object} WIScanEntry The entry that triggered the scan
|
||||||
* @property {number} [scanDepth] The depth of the scan
|
* @property {number} [scanDepth] The depth of the scan
|
||||||
|
Reference in New Issue
Block a user