@houser/edus-plugin 1.0.7 → 1.0.9

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.
@@ -1,7 +1,8 @@
1
1
  /* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
2
2
  import type {
3
3
  RemoteResult,
4
- TypertRemoteContribution,
4
+ TypertRemoteInfo,
5
+ TypertRemoteMethod,
5
6
  } from '@deepseek-ai/dsh-typert-protocol'
6
7
  import type { EdusHtmlFileListResult, EdusLoginResult, EdusPublishResult, EdusVersionSummary, EdusWorkListResult } from '@houser/edus-plugin/types'
7
8
 
@@ -20,6 +21,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
20
21
  publishFile: (token: string, sessionId: string, path: string, account: string, title?: string, createNew?: boolean) => Promise<RemoteResult<EdusPublishResult>>
21
22
  readHtmlFile: (sessionId: string, path: string) => Promise<RemoteResult<string>>
22
23
  sendPhoneCode: (phone: string, captcha: string) => Promise<RemoteResult<void>>
24
+ setLlmToken: (token: string) => Promise<RemoteResult<void>>
23
25
  shareOrigin: () => Promise<RemoteResult<string>>
24
26
  writeHtmlFile: (sessionId: string, path: string, content: string) => Promise<RemoteResult<void>>
25
27
  }
@@ -37,6 +39,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
37
39
  'edus/publishFile': (token: string, sessionId: string, path: string, account: string, title?: string, createNew?: boolean) => Promise<RemoteResult<EdusPublishResult>>
38
40
  'edus/readHtmlFile': (sessionId: string, path: string) => Promise<RemoteResult<string>>
39
41
  'edus/sendPhoneCode': (phone: string, captcha: string) => Promise<RemoteResult<void>>
42
+ 'edus/setLlmToken': (token: string) => Promise<RemoteResult<void>>
40
43
  'edus/shareOrigin': () => Promise<RemoteResult<string>>
41
44
  'edus/writeHtmlFile': (sessionId: string, path: string, content: string) => Promise<RemoteResult<void>>
42
45
  }
@@ -45,6 +48,23 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
45
48
  }
46
49
  }
47
50
 
48
- export declare const TYPERT_REMOTE: TypertRemoteContribution
51
+ export declare const TYPERT_REMOTE: TypertRemoteInfo<{
52
+ readonly 'edus/applyVersion': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'path': string; readonly 'id': string }, string>
53
+ readonly 'edus/htmlList': TypertRemoteMethod<{ readonly 'token': string; readonly 'page': number; readonly 'size': number; readonly 'search'?: string }, EdusWorkListResult>
54
+ readonly 'edus/htmlShare': TypertRemoteMethod<{ readonly 'token': string; readonly 'id': string }, string>
55
+ readonly 'edus/htmlVersionDelete': TypertRemoteMethod<{ readonly 'token': string; readonly 'id': string }, void>
56
+ readonly 'edus/htmlVersionDetail': TypertRemoteMethod<{ readonly 'token': string; readonly 'id': string }, string>
57
+ readonly 'edus/htmlVersions': TypertRemoteMethod<{ readonly 'token': string; readonly 'htmlId': string }, EdusVersionSummary[]>
58
+ readonly 'edus/listHtmlFiles': TypertRemoteMethod<{ readonly 'sessionId': string }, EdusHtmlFileListResult>
59
+ readonly 'edus/login': TypertRemoteMethod<{ readonly 'phone': string; readonly 'password': string }, EdusLoginResult>
60
+ readonly 'edus/loginByPhone': TypertRemoteMethod<{ readonly 'phone': string; readonly 'code': string }, EdusLoginResult>
61
+ readonly 'edus/loginInfo': TypertRemoteMethod<{ readonly 'token': string }, EdusLoginResult>
62
+ readonly 'edus/publishFile': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'path': string; readonly 'account': string; readonly 'title'?: string; readonly 'createNew'?: boolean }, EdusPublishResult>
63
+ readonly 'edus/readHtmlFile': TypertRemoteMethod<{ readonly 'sessionId': string; readonly 'path': string }, string>
64
+ readonly 'edus/sendPhoneCode': TypertRemoteMethod<{ readonly 'phone': string; readonly 'captcha': string }, void>
65
+ readonly 'edus/setLlmToken': TypertRemoteMethod<{ readonly 'token': string }, void>
66
+ readonly 'edus/shareOrigin': TypertRemoteMethod<{ }, string>
67
+ readonly 'edus/writeHtmlFile': TypertRemoteMethod<{ readonly 'sessionId': string; readonly 'path': string; readonly 'content': string }, void>
68
+ }>
49
69
  export default TYPERT_REMOTE
50
70
  //# sourceMappingURL=typert.remote-client.d.ts.map