@waterwx/dsh-novel-forge 2.1.0-alpha → 2.1.2-alpha
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/README.md +458 -457
- package/lib/client.js +354 -361
- package/lib/index.js +7 -7
- package/package.json +12 -2
- package/src/assistant.ts +915 -915
- package/src/client/api.ts +2 -2
- package/src/client/panel/AssistantTab.tsx +339 -339
- package/src/client/panel/AuthorHome.tsx +1 -2
- package/src/client/panel/CreateBookView.tsx +1 -1
- package/src/client/panel/DirectorView.tsx +200 -200
- package/src/client/panel/MarketRadarView.tsx +1 -1
- package/src/client/panel/NovelPanel.tsx +4721 -4721
- package/src/index.ts +2 -1
package/src/client/api.ts
CHANGED
|
@@ -264,12 +264,12 @@ export class NovelApi {
|
|
|
264
264
|
return postJson<{ result: import('../protocol.ts').IdeaInspirationResult }>(NOVEL_API.ideaInspirationMarket, req)
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
/**
|
|
267
|
+
/** 自动编辑编排建议:基于全书上下文。 */
|
|
268
268
|
async director(focus?: string): Promise<{ result: import('../protocol.ts').DirectorAdvice }> {
|
|
269
269
|
return postJson<{ result: import('../protocol.ts').DirectorAdvice }>(NOVEL_API.director, { focus })
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
/**
|
|
272
|
+
/** 自动编辑「采纳」出的书内待办:读取。 */
|
|
273
273
|
async directorTodosList(): Promise<{ todos: import('../protocol.ts').DirectorTodo[] }> {
|
|
274
274
|
const response = await fetch(withBookId(NOVEL_API.directorTodos))
|
|
275
275
|
return readJson<{ todos: import('../protocol.ts').DirectorTodo[] }>(response)
|