@deadair/sdk 0.94.0 → 0.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/personas/personas.client.d.ts +5 -0
- package/dist/personas/personas.client.d.ts.map +1 -1
- package/dist/personas/types/personas.types.d.ts +5 -0
- package/dist/personas/types/personas.types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3220,6 +3220,16 @@ var PersonasClient = class {
|
|
|
3220
3220
|
});
|
|
3221
3221
|
return await parseJson(result);
|
|
3222
3222
|
}
|
|
3223
|
+
/**
|
|
3224
|
+
* @name Rewrite persona in station language
|
|
3225
|
+
* @description Rewrites a character's own wording (its speech rules, sample lines, signature words, catchphrases, banned wording and phrasings) in the station's language, keeping who it is, and hands the sheet back unsaved
|
|
3226
|
+
*/
|
|
3227
|
+
async rewritePersonaInStationLanguage(id) {
|
|
3228
|
+
const result = await this.fetch(`/personas/${encodeURIComponent(id)}/rewrite`, {
|
|
3229
|
+
method: "POST"
|
|
3230
|
+
});
|
|
3231
|
+
return await parseJson(result);
|
|
3232
|
+
}
|
|
3223
3233
|
/**
|
|
3224
3234
|
* @name Restore station personas
|
|
3225
3235
|
* @description Writes back whichever of the station's own personas this station is missing, touching nothing it already has and putting nothing on air
|