@xmodelin/dsh-collab-auth-api 0.0.2 → 0.0.4

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.
@@ -9,15 +9,29 @@ import type { AuthSnapshot } from '@xmodelin/dsh-collab-auth-api/types'
9
9
  declare module '@deepseek-ai/dsh-typert-protocol' {
10
10
  interface TypertRemoteNamespace$636f6c6c616241757468 {
11
11
  authorize: (a: string, b: string) => Promise<RemoteResult<AuthSnapshot>>
12
+ baseGet: (sessionId: string) => Promise<RemoteResult<string>>
13
+ baseSet: (sessionId: string, value: string) => Promise<RemoteResult<string>>
14
+ board: (sessionId: string) => Promise<RemoteResult<string>>
15
+ link: (sessionId: string, worker: string, payloadJson: string) => Promise<RemoteResult<string>>
12
16
  list: () => Promise<RemoteResult<AuthSnapshot>>
17
+ live: (sessionId: string, worker: string) => Promise<RemoteResult<string>>
13
18
  panel: (sessionId: string, operation: string, argsJson: string) => Promise<RemoteResult<string>>
19
+ pin: (sessionId: string, worker: string) => Promise<RemoteResult<string>>
14
20
  revoke: (a: string, b: string) => Promise<RemoteResult<AuthSnapshot>>
21
+ unlink: (sessionId: string, worker: string) => Promise<RemoteResult<string>>
15
22
  }
16
23
  interface TypertRemoteMap {
17
24
  'collabAuth/authorize': (a: string, b: string) => Promise<RemoteResult<AuthSnapshot>>
25
+ 'collabAuth/baseGet': (sessionId: string) => Promise<RemoteResult<string>>
26
+ 'collabAuth/baseSet': (sessionId: string, value: string) => Promise<RemoteResult<string>>
27
+ 'collabAuth/board': (sessionId: string) => Promise<RemoteResult<string>>
28
+ 'collabAuth/link': (sessionId: string, worker: string, payloadJson: string) => Promise<RemoteResult<string>>
18
29
  'collabAuth/list': () => Promise<RemoteResult<AuthSnapshot>>
30
+ 'collabAuth/live': (sessionId: string, worker: string) => Promise<RemoteResult<string>>
19
31
  'collabAuth/panel': (sessionId: string, operation: string, argsJson: string) => Promise<RemoteResult<string>>
32
+ 'collabAuth/pin': (sessionId: string, worker: string) => Promise<RemoteResult<string>>
20
33
  'collabAuth/revoke': (a: string, b: string) => Promise<RemoteResult<AuthSnapshot>>
34
+ 'collabAuth/unlink': (sessionId: string, worker: string) => Promise<RemoteResult<string>>
21
35
  }
22
36
  interface TypertRemoteNamespaceMap {
23
37
  'collabAuth': TypertRemoteNamespace$636f6c6c616241757468
@@ -26,9 +40,16 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
26
40
 
27
41
  export declare const TYPERT_REMOTE: TypertRemoteInfo<{
28
42
  readonly 'collabAuth/authorize': TypertRemoteMethod<{ readonly 'a': string; readonly 'b': string }, AuthSnapshot>
43
+ readonly 'collabAuth/baseGet': TypertRemoteMethod<{ readonly 'sessionId': string }, string>
44
+ readonly 'collabAuth/baseSet': TypertRemoteMethod<{ readonly 'sessionId': string; readonly 'value': string }, string>
45
+ readonly 'collabAuth/board': TypertRemoteMethod<{ readonly 'sessionId': string }, string>
46
+ readonly 'collabAuth/link': TypertRemoteMethod<{ readonly 'sessionId': string; readonly 'worker': string; readonly 'payloadJson': string }, string>
29
47
  readonly 'collabAuth/list': TypertRemoteMethod<{ }, AuthSnapshot>
48
+ readonly 'collabAuth/live': TypertRemoteMethod<{ readonly 'sessionId': string; readonly 'worker': string }, string>
30
49
  readonly 'collabAuth/panel': TypertRemoteMethod<{ readonly 'sessionId': string; readonly 'operation': string; readonly 'argsJson': string }, string>
50
+ readonly 'collabAuth/pin': TypertRemoteMethod<{ readonly 'sessionId': string; readonly 'worker': string }, string>
31
51
  readonly 'collabAuth/revoke': TypertRemoteMethod<{ readonly 'a': string; readonly 'b': string }, AuthSnapshot>
52
+ readonly 'collabAuth/unlink': TypertRemoteMethod<{ readonly 'sessionId': string; readonly 'worker': string }, string>
32
53
  }>
33
54
  export default TYPERT_REMOTE
34
55
  //# sourceMappingURL=typert.remote-client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typert.remote-client.d.ts","names":["authorize","list","panel","revoke"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;IA+DEA,S;IAXAC,I;IAmCAC,K;IAbAC,M;;;IAXAH,sB;IAXAC,iB;IAmCAC,kB;IAbAC,mB","ignoreList":[]}
1
+ {"version":3,"file":"typert.remote-client.d.ts","names":["authorize","baseGet","baseSet","board","link","list","live","panel","pin","revoke","unlink"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;IAoFEA,S;IAoEAC,O;IAOAC,O;IAlDAC,K;IAOAC,I;IA7CAC,I;IA0EAC,I;IA4BAC,K;IAnCAC,G;IAzCAC,M;IAkCAC,M;;;IA/CAV,sB;IAoEAC,oB;IAOAC,oB;IAlDAC,kB;IAOAC,iB;IA7CAC,iB;IA0EAC,iB;IA4BAC,kB;IAnCAC,gB;IAzCAC,mB;IAkCAC,mB","ignoreList":[]}