@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.
- package/lib/client.js +12 -12
- package/lib/host.js +17 -0
- package/lib/index.d.ts +15 -4
- package/lib/index.js +79 -4
- package/lib/typert.host.js +520 -65
- package/lib/typert.remote-client.d.ts +21 -0
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +429 -60
- package/lib/types.d.ts +14 -0
- package/package.json +3 -3
|
@@ -3,12 +3,12 @@ import { z } from 'zod'
|
|
|
3
3
|
|
|
4
4
|
import { createTypertRemoteInfo } from '@deepseek-ai/dsh-typert-protocol/remote-info'
|
|
5
5
|
|
|
6
|
-
let
|
|
7
|
-
const
|
|
8
|
-
let
|
|
9
|
-
const
|
|
10
|
-
let
|
|
11
|
-
const
|
|
6
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_0$schema$value
|
|
7
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_0$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_0$schema$value ??= z.string())
|
|
8
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_1$schema$value
|
|
9
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_1$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_1$schema$value ??= z.string())
|
|
10
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_authorize_result$schema$value
|
|
11
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_authorize_result$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_authorize_result$schema$value ??= z.object({
|
|
12
12
|
'pairs': z.array(z.object({
|
|
13
13
|
'a': z.string().readonly().describe('First Session id in the pair.'),
|
|
14
14
|
'b': z.string().readonly().describe('Second Session id in the pair.'),
|
|
@@ -22,8 +22,30 @@ const _local_dsh_collab_auth_api_collabAuth_authorize_result$schema = () => (_lo
|
|
|
22
22
|
'updatedAt': z.number().readonly().describe('Last update time in epoch milliseconds.'),
|
|
23
23
|
})).readonly().describe('Directional grants waiting for the other side.'),
|
|
24
24
|
}))
|
|
25
|
-
let
|
|
26
|
-
const
|
|
25
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_baseGet_parameter_0$schema$value
|
|
26
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_baseGet_parameter_0$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_baseGet_parameter_0$schema$value ??= z.string())
|
|
27
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_baseGet_result$schema$value
|
|
28
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_baseGet_result$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_baseGet_result$schema$value ??= z.string())
|
|
29
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_0$schema$value
|
|
30
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_0$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_0$schema$value ??= z.string())
|
|
31
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_1$schema$value
|
|
32
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_1$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_1$schema$value ??= z.string())
|
|
33
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_result$schema$value
|
|
34
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_result$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_baseSet_result$schema$value ??= z.string())
|
|
35
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_board_parameter_0$schema$value
|
|
36
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_board_parameter_0$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_board_parameter_0$schema$value ??= z.string())
|
|
37
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_board_result$schema$value
|
|
38
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_board_result$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_board_result$schema$value ??= z.string())
|
|
39
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_0$schema$value
|
|
40
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_0$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_0$schema$value ??= z.string())
|
|
41
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_1$schema$value
|
|
42
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_1$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_1$schema$value ??= z.string())
|
|
43
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_2$schema$value
|
|
44
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_2$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_2$schema$value ??= z.string())
|
|
45
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_link_result$schema$value
|
|
46
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_link_result$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_link_result$schema$value ??= z.string())
|
|
47
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_list_result$schema$value
|
|
48
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_list_result$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_list_result$schema$value ??= z.object({
|
|
27
49
|
'pairs': z.array(z.object({
|
|
28
50
|
'a': z.string().readonly().describe('First Session id in the pair.'),
|
|
29
51
|
'b': z.string().readonly().describe('Second Session id in the pair.'),
|
|
@@ -37,20 +59,32 @@ const _local_dsh_collab_auth_api_collabAuth_list_result$schema = () => (_local_d
|
|
|
37
59
|
'updatedAt': z.number().readonly().describe('Last update time in epoch milliseconds.'),
|
|
38
60
|
})).readonly().describe('Directional grants waiting for the other side.'),
|
|
39
61
|
}))
|
|
40
|
-
let
|
|
41
|
-
const
|
|
42
|
-
let
|
|
43
|
-
const
|
|
44
|
-
let
|
|
45
|
-
const
|
|
46
|
-
let
|
|
47
|
-
const
|
|
48
|
-
let
|
|
49
|
-
const
|
|
50
|
-
let
|
|
51
|
-
const
|
|
52
|
-
let
|
|
53
|
-
const
|
|
62
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_0$schema$value
|
|
63
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_0$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_0$schema$value ??= z.string())
|
|
64
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_1$schema$value
|
|
65
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_1$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_1$schema$value ??= z.string())
|
|
66
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_live_result$schema$value
|
|
67
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_live_result$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_live_result$schema$value ??= z.string())
|
|
68
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_0$schema$value
|
|
69
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_0$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_0$schema$value ??= z.string())
|
|
70
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_1$schema$value
|
|
71
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_1$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_1$schema$value ??= z.string())
|
|
72
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_2$schema$value
|
|
73
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_2$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_2$schema$value ??= z.string())
|
|
74
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_panel_result$schema$value
|
|
75
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_panel_result$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_panel_result$schema$value ??= z.string())
|
|
76
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_0$schema$value
|
|
77
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_0$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_0$schema$value ??= z.string())
|
|
78
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_1$schema$value
|
|
79
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_1$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_1$schema$value ??= z.string())
|
|
80
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_pin_result$schema$value
|
|
81
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_pin_result$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_pin_result$schema$value ??= z.string())
|
|
82
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_0$schema$value
|
|
83
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_0$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_0$schema$value ??= z.string())
|
|
84
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_1$schema$value
|
|
85
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_1$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_1$schema$value ??= z.string())
|
|
86
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_revoke_result$schema$value
|
|
87
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_revoke_result$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_revoke_result$schema$value ??= z.object({
|
|
54
88
|
'pairs': z.array(z.object({
|
|
55
89
|
'a': z.string().readonly().describe('First Session id in the pair.'),
|
|
56
90
|
'b': z.string().readonly().describe('Second Session id in the pair.'),
|
|
@@ -64,20 +98,52 @@ const _local_dsh_collab_auth_api_collabAuth_revoke_result$schema = () => (_local
|
|
|
64
98
|
'updatedAt': z.number().readonly().describe('Last update time in epoch milliseconds.'),
|
|
65
99
|
})).readonly().describe('Directional grants waiting for the other side.'),
|
|
66
100
|
}))
|
|
67
|
-
let
|
|
68
|
-
const
|
|
69
|
-
let
|
|
70
|
-
const
|
|
71
|
-
let
|
|
72
|
-
const
|
|
73
|
-
let
|
|
74
|
-
const
|
|
75
|
-
let
|
|
76
|
-
const
|
|
77
|
-
let
|
|
78
|
-
const
|
|
79
|
-
let
|
|
80
|
-
const
|
|
101
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_0$schema$value
|
|
102
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_0$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_0$schema$value ??= z.string())
|
|
103
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_1$schema$value
|
|
104
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_1$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_1$schema$value ??= z.string())
|
|
105
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_unlink_result$schema$value
|
|
106
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_unlink_result$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_unlink_result$schema$value ??= z.string())
|
|
107
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_0_strict$schema$value
|
|
108
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_0_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_0_strict$schema$value ??= z.string())
|
|
109
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_1_strict$schema$value
|
|
110
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_1_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_1_strict$schema$value ??= z.string())
|
|
111
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_baseGet_parameter_0_strict$schema$value
|
|
112
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_baseGet_parameter_0_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_baseGet_parameter_0_strict$schema$value ??= z.string())
|
|
113
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_0_strict$schema$value
|
|
114
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_0_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_0_strict$schema$value ??= z.string())
|
|
115
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_1_strict$schema$value
|
|
116
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_1_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_1_strict$schema$value ??= z.string())
|
|
117
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_board_parameter_0_strict$schema$value
|
|
118
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_board_parameter_0_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_board_parameter_0_strict$schema$value ??= z.string())
|
|
119
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_0_strict$schema$value
|
|
120
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_0_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_0_strict$schema$value ??= z.string())
|
|
121
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_1_strict$schema$value
|
|
122
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_1_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_1_strict$schema$value ??= z.string())
|
|
123
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_2_strict$schema$value
|
|
124
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_2_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_2_strict$schema$value ??= z.string())
|
|
125
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_0_strict$schema$value
|
|
126
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_0_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_0_strict$schema$value ??= z.string())
|
|
127
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_1_strict$schema$value
|
|
128
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_1_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_1_strict$schema$value ??= z.string())
|
|
129
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_0_strict$schema$value
|
|
130
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_0_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_0_strict$schema$value ??= z.string())
|
|
131
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_1_strict$schema$value
|
|
132
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_1_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_1_strict$schema$value ??= z.string())
|
|
133
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_2_strict$schema$value
|
|
134
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_2_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_2_strict$schema$value ??= z.string())
|
|
135
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_0_strict$schema$value
|
|
136
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_0_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_0_strict$schema$value ??= z.string())
|
|
137
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_1_strict$schema$value
|
|
138
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_1_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_1_strict$schema$value ??= z.string())
|
|
139
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_0_strict$schema$value
|
|
140
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_0_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_0_strict$schema$value ??= z.string())
|
|
141
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_1_strict$schema$value
|
|
142
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_1_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_1_strict$schema$value ??= z.string())
|
|
143
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_0_strict$schema$value
|
|
144
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_0_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_0_strict$schema$value ??= z.string())
|
|
145
|
+
let _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_1_strict$schema$value
|
|
146
|
+
const _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_1_strict$schema = () => (_xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_1_strict$schema$value ??= z.string())
|
|
81
147
|
|
|
82
148
|
export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
83
149
|
package: '@xmodelin/dsh-collab-auth-api',
|
|
@@ -94,13 +160,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
94
160
|
codec: {
|
|
95
161
|
mode: 'strict',
|
|
96
162
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/authorize:a',
|
|
97
|
-
create:
|
|
163
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_0$schema,
|
|
98
164
|
jsonSchema: {"type":"string"},
|
|
99
165
|
},
|
|
100
166
|
strictCodec: {
|
|
101
167
|
mode: 'strict',
|
|
102
168
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/authorize:a',
|
|
103
|
-
create:
|
|
169
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_0_strict$schema,
|
|
104
170
|
jsonSchema: {"type":"string"},
|
|
105
171
|
},
|
|
106
172
|
},
|
|
@@ -111,13 +177,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
111
177
|
codec: {
|
|
112
178
|
mode: 'strict',
|
|
113
179
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/authorize:b',
|
|
114
|
-
create:
|
|
180
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_1$schema,
|
|
115
181
|
jsonSchema: {"type":"string"},
|
|
116
182
|
},
|
|
117
183
|
strictCodec: {
|
|
118
184
|
mode: 'strict',
|
|
119
185
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/authorize:b',
|
|
120
|
-
create:
|
|
186
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_authorize_parameter_1_strict$schema,
|
|
121
187
|
jsonSchema: {"type":"string"},
|
|
122
188
|
},
|
|
123
189
|
},
|
|
@@ -125,11 +191,178 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
125
191
|
result: {
|
|
126
192
|
mode: 'strict',
|
|
127
193
|
typeSymbol: '@xmodelin/dsh-collab-auth-api/types#AuthSnapshot',
|
|
128
|
-
create:
|
|
194
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_authorize_result$schema,
|
|
129
195
|
description: 'the resulting authorization snapshot.',
|
|
130
196
|
jsonSchema: {"type":"object","properties":{"pairs":{"type":"array","items":{"type":"object","properties":{"a":{"type":"string","description":"First Session id in the pair."},"b":{"type":"string","description":"Second Session id in the pair."},"createdAt":{"type":"number","description":"Creation time in epoch milliseconds."},"updatedAt":{"type":"number","description":"Last update time in epoch milliseconds."}},"required":["a","b","createdAt","updatedAt"],"additionalProperties":true},"description":"Fully authorized pairs."},"pending":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","description":"Granting Session id."},"to":{"type":"string","description":"Receiving Session id."},"createdAt":{"type":"number","description":"Creation time in epoch milliseconds."},"updatedAt":{"type":"number","description":"Last update time in epoch milliseconds."}},"required":["from","to","createdAt","updatedAt"],"additionalProperties":true},"description":"Directional grants waiting for the other side."}},"required":["pairs","pending"],"additionalProperties":true},
|
|
131
197
|
},
|
|
132
|
-
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":
|
|
198
|
+
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":85,"column":3},
|
|
199
|
+
},
|
|
200
|
+
'collabAuth/baseGet': {
|
|
201
|
+
service: 'collabAuth',
|
|
202
|
+
invocation: { kind: 'direct' },
|
|
203
|
+
parameters: [
|
|
204
|
+
{
|
|
205
|
+
name: 'sessionId',
|
|
206
|
+
source: 'json',
|
|
207
|
+
codec: {
|
|
208
|
+
mode: 'strict',
|
|
209
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/baseGet:sessionId',
|
|
210
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_baseGet_parameter_0$schema,
|
|
211
|
+
jsonSchema: {"type":"string"},
|
|
212
|
+
},
|
|
213
|
+
strictCodec: {
|
|
214
|
+
mode: 'strict',
|
|
215
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/baseGet:sessionId',
|
|
216
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_baseGet_parameter_0_strict$schema,
|
|
217
|
+
jsonSchema: {"type":"string"},
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
result: {
|
|
222
|
+
mode: 'strict',
|
|
223
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/baseGet:result',
|
|
224
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_baseGet_result$schema,
|
|
225
|
+
jsonSchema: {"type":"string"},
|
|
226
|
+
},
|
|
227
|
+
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":153,"column":3},
|
|
228
|
+
},
|
|
229
|
+
'collabAuth/baseSet': {
|
|
230
|
+
service: 'collabAuth',
|
|
231
|
+
invocation: { kind: 'direct' },
|
|
232
|
+
parameters: [
|
|
233
|
+
{
|
|
234
|
+
name: 'sessionId',
|
|
235
|
+
source: 'json',
|
|
236
|
+
codec: {
|
|
237
|
+
mode: 'strict',
|
|
238
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/baseSet:sessionId',
|
|
239
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_0$schema,
|
|
240
|
+
jsonSchema: {"type":"string"},
|
|
241
|
+
},
|
|
242
|
+
strictCodec: {
|
|
243
|
+
mode: 'strict',
|
|
244
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/baseSet:sessionId',
|
|
245
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_0_strict$schema,
|
|
246
|
+
jsonSchema: {"type":"string"},
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
name: 'value',
|
|
251
|
+
source: 'json',
|
|
252
|
+
codec: {
|
|
253
|
+
mode: 'strict',
|
|
254
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/baseSet:value',
|
|
255
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_1$schema,
|
|
256
|
+
jsonSchema: {"type":"string"},
|
|
257
|
+
},
|
|
258
|
+
strictCodec: {
|
|
259
|
+
mode: 'strict',
|
|
260
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/baseSet:value',
|
|
261
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_parameter_1_strict$schema,
|
|
262
|
+
jsonSchema: {"type":"string"},
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
result: {
|
|
267
|
+
mode: 'strict',
|
|
268
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/baseSet:result',
|
|
269
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_baseSet_result$schema,
|
|
270
|
+
jsonSchema: {"type":"string"},
|
|
271
|
+
},
|
|
272
|
+
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":160,"column":3},
|
|
273
|
+
},
|
|
274
|
+
'collabAuth/board': {
|
|
275
|
+
service: 'collabAuth',
|
|
276
|
+
description: 'Read the supervisor board.',
|
|
277
|
+
invocation: { kind: 'direct' },
|
|
278
|
+
parameters: [
|
|
279
|
+
{
|
|
280
|
+
name: 'sessionId',
|
|
281
|
+
description: 'collaboration Session id.',
|
|
282
|
+
source: 'json',
|
|
283
|
+
codec: {
|
|
284
|
+
mode: 'strict',
|
|
285
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/board:sessionId',
|
|
286
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_board_parameter_0$schema,
|
|
287
|
+
jsonSchema: {"type":"string"},
|
|
288
|
+
},
|
|
289
|
+
strictCodec: {
|
|
290
|
+
mode: 'strict',
|
|
291
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/board:sessionId',
|
|
292
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_board_parameter_0_strict$schema,
|
|
293
|
+
jsonSchema: {"type":"string"},
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
],
|
|
297
|
+
result: {
|
|
298
|
+
mode: 'strict',
|
|
299
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/board:result',
|
|
300
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_board_result$schema,
|
|
301
|
+
description: 'JSON board snapshot.',
|
|
302
|
+
jsonSchema: {"type":"string"},
|
|
303
|
+
},
|
|
304
|
+
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":110,"column":3},
|
|
305
|
+
},
|
|
306
|
+
'collabAuth/link': {
|
|
307
|
+
service: 'collabAuth',
|
|
308
|
+
invocation: { kind: 'direct' },
|
|
309
|
+
parameters: [
|
|
310
|
+
{
|
|
311
|
+
name: 'sessionId',
|
|
312
|
+
source: 'json',
|
|
313
|
+
codec: {
|
|
314
|
+
mode: 'strict',
|
|
315
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/link:sessionId',
|
|
316
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_0$schema,
|
|
317
|
+
jsonSchema: {"type":"string"},
|
|
318
|
+
},
|
|
319
|
+
strictCodec: {
|
|
320
|
+
mode: 'strict',
|
|
321
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/link:sessionId',
|
|
322
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_0_strict$schema,
|
|
323
|
+
jsonSchema: {"type":"string"},
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
name: 'worker',
|
|
328
|
+
source: 'json',
|
|
329
|
+
codec: {
|
|
330
|
+
mode: 'strict',
|
|
331
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/link:worker',
|
|
332
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_1$schema,
|
|
333
|
+
jsonSchema: {"type":"string"},
|
|
334
|
+
},
|
|
335
|
+
strictCodec: {
|
|
336
|
+
mode: 'strict',
|
|
337
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/link:worker',
|
|
338
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_1_strict$schema,
|
|
339
|
+
jsonSchema: {"type":"string"},
|
|
340
|
+
},
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
name: 'payloadJson',
|
|
344
|
+
source: 'json',
|
|
345
|
+
codec: {
|
|
346
|
+
mode: 'strict',
|
|
347
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/link:payloadJson',
|
|
348
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_2$schema,
|
|
349
|
+
jsonSchema: {"type":"string"},
|
|
350
|
+
},
|
|
351
|
+
strictCodec: {
|
|
352
|
+
mode: 'strict',
|
|
353
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/link:payloadJson',
|
|
354
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_link_parameter_2_strict$schema,
|
|
355
|
+
jsonSchema: {"type":"string"},
|
|
356
|
+
},
|
|
357
|
+
},
|
|
358
|
+
],
|
|
359
|
+
result: {
|
|
360
|
+
mode: 'strict',
|
|
361
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/link:result',
|
|
362
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_link_result$schema,
|
|
363
|
+
jsonSchema: {"type":"string"},
|
|
364
|
+
},
|
|
365
|
+
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":117,"column":3},
|
|
133
366
|
},
|
|
134
367
|
'collabAuth/list': {
|
|
135
368
|
service: 'collabAuth',
|
|
@@ -140,15 +373,60 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
140
373
|
result: {
|
|
141
374
|
mode: 'strict',
|
|
142
375
|
typeSymbol: '@xmodelin/dsh-collab-auth-api/types#AuthSnapshot',
|
|
143
|
-
create:
|
|
376
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_list_result$schema,
|
|
144
377
|
description: 'the current authorization snapshot.',
|
|
145
378
|
jsonSchema: {"type":"object","properties":{"pairs":{"type":"array","items":{"type":"object","properties":{"a":{"type":"string","description":"First Session id in the pair."},"b":{"type":"string","description":"Second Session id in the pair."},"createdAt":{"type":"number","description":"Creation time in epoch milliseconds."},"updatedAt":{"type":"number","description":"Last update time in epoch milliseconds."}},"required":["a","b","createdAt","updatedAt"],"additionalProperties":true},"description":"Fully authorized pairs."},"pending":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","description":"Granting Session id."},"to":{"type":"string","description":"Receiving Session id."},"createdAt":{"type":"number","description":"Creation time in epoch milliseconds."},"updatedAt":{"type":"number","description":"Last update time in epoch milliseconds."}},"required":["from","to","createdAt","updatedAt"],"additionalProperties":true},"description":"Directional grants waiting for the other side."}},"required":["pairs","pending"],"additionalProperties":true},
|
|
146
379
|
},
|
|
147
|
-
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":
|
|
380
|
+
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":72,"column":3},
|
|
381
|
+
},
|
|
382
|
+
'collabAuth/live': {
|
|
383
|
+
service: 'collabAuth',
|
|
384
|
+
invocation: { kind: 'direct' },
|
|
385
|
+
parameters: [
|
|
386
|
+
{
|
|
387
|
+
name: 'sessionId',
|
|
388
|
+
source: 'json',
|
|
389
|
+
codec: {
|
|
390
|
+
mode: 'strict',
|
|
391
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/live:sessionId',
|
|
392
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_0$schema,
|
|
393
|
+
jsonSchema: {"type":"string"},
|
|
394
|
+
},
|
|
395
|
+
strictCodec: {
|
|
396
|
+
mode: 'strict',
|
|
397
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/live:sessionId',
|
|
398
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_0_strict$schema,
|
|
399
|
+
jsonSchema: {"type":"string"},
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
name: 'worker',
|
|
404
|
+
source: 'json',
|
|
405
|
+
codec: {
|
|
406
|
+
mode: 'strict',
|
|
407
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/live:worker',
|
|
408
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_1$schema,
|
|
409
|
+
jsonSchema: {"type":"string"},
|
|
410
|
+
},
|
|
411
|
+
strictCodec: {
|
|
412
|
+
mode: 'strict',
|
|
413
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/live:worker',
|
|
414
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_live_parameter_1_strict$schema,
|
|
415
|
+
jsonSchema: {"type":"string"},
|
|
416
|
+
},
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
result: {
|
|
420
|
+
mode: 'strict',
|
|
421
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/live:result',
|
|
422
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_live_result$schema,
|
|
423
|
+
jsonSchema: {"type":"string"},
|
|
424
|
+
},
|
|
425
|
+
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":146,"column":3},
|
|
148
426
|
},
|
|
149
427
|
'collabAuth/panel': {
|
|
150
428
|
service: 'collabAuth',
|
|
151
|
-
description: 'Read or mutate
|
|
429
|
+
description: 'Read or mutate a supervisor management surface without a slash command.',
|
|
152
430
|
invocation: { kind: 'direct' },
|
|
153
431
|
parameters: [
|
|
154
432
|
{
|
|
@@ -158,13 +436,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
158
436
|
codec: {
|
|
159
437
|
mode: 'strict',
|
|
160
438
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/panel:sessionId',
|
|
161
|
-
create:
|
|
439
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_0$schema,
|
|
162
440
|
jsonSchema: {"type":"string"},
|
|
163
441
|
},
|
|
164
442
|
strictCodec: {
|
|
165
443
|
mode: 'strict',
|
|
166
444
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/panel:sessionId',
|
|
167
|
-
create:
|
|
445
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_0_strict$schema,
|
|
168
446
|
jsonSchema: {"type":"string"},
|
|
169
447
|
},
|
|
170
448
|
},
|
|
@@ -175,29 +453,30 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
175
453
|
codec: {
|
|
176
454
|
mode: 'strict',
|
|
177
455
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/panel:operation',
|
|
178
|
-
create:
|
|
456
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_1$schema,
|
|
179
457
|
jsonSchema: {"type":"string"},
|
|
180
458
|
},
|
|
181
459
|
strictCodec: {
|
|
182
460
|
mode: 'strict',
|
|
183
461
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/panel:operation',
|
|
184
|
-
create:
|
|
462
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_1_strict$schema,
|
|
185
463
|
jsonSchema: {"type":"string"},
|
|
186
464
|
},
|
|
187
465
|
},
|
|
188
466
|
{
|
|
189
467
|
name: 'argsJson',
|
|
468
|
+
description: 'JSON operation payload.',
|
|
190
469
|
source: 'json',
|
|
191
470
|
codec: {
|
|
192
471
|
mode: 'strict',
|
|
193
472
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/panel:argsJson',
|
|
194
|
-
create:
|
|
473
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_2$schema,
|
|
195
474
|
jsonSchema: {"type":"string"},
|
|
196
475
|
},
|
|
197
476
|
strictCodec: {
|
|
198
477
|
mode: 'strict',
|
|
199
478
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/panel:argsJson',
|
|
200
|
-
create:
|
|
479
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_panel_parameter_2_strict$schema,
|
|
201
480
|
jsonSchema: {"type":"string"},
|
|
202
481
|
},
|
|
203
482
|
},
|
|
@@ -205,11 +484,56 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
205
484
|
result: {
|
|
206
485
|
mode: 'strict',
|
|
207
486
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/panel:result',
|
|
208
|
-
create:
|
|
209
|
-
description: '
|
|
487
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_panel_result$schema,
|
|
488
|
+
description: 'JSON operation result.',
|
|
210
489
|
jsonSchema: {"type":"string"},
|
|
211
490
|
},
|
|
212
|
-
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":
|
|
491
|
+
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":174,"column":3},
|
|
492
|
+
},
|
|
493
|
+
'collabAuth/pin': {
|
|
494
|
+
service: 'collabAuth',
|
|
495
|
+
invocation: { kind: 'direct' },
|
|
496
|
+
parameters: [
|
|
497
|
+
{
|
|
498
|
+
name: 'sessionId',
|
|
499
|
+
source: 'json',
|
|
500
|
+
codec: {
|
|
501
|
+
mode: 'strict',
|
|
502
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/pin:sessionId',
|
|
503
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_0$schema,
|
|
504
|
+
jsonSchema: {"type":"string"},
|
|
505
|
+
},
|
|
506
|
+
strictCodec: {
|
|
507
|
+
mode: 'strict',
|
|
508
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/pin:sessionId',
|
|
509
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_0_strict$schema,
|
|
510
|
+
jsonSchema: {"type":"string"},
|
|
511
|
+
},
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
name: 'worker',
|
|
515
|
+
source: 'json',
|
|
516
|
+
codec: {
|
|
517
|
+
mode: 'strict',
|
|
518
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/pin:worker',
|
|
519
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_1$schema,
|
|
520
|
+
jsonSchema: {"type":"string"},
|
|
521
|
+
},
|
|
522
|
+
strictCodec: {
|
|
523
|
+
mode: 'strict',
|
|
524
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/pin:worker',
|
|
525
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_pin_parameter_1_strict$schema,
|
|
526
|
+
jsonSchema: {"type":"string"},
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
],
|
|
530
|
+
result: {
|
|
531
|
+
mode: 'strict',
|
|
532
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/pin:result',
|
|
533
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_pin_result$schema,
|
|
534
|
+
jsonSchema: {"type":"string"},
|
|
535
|
+
},
|
|
536
|
+
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":139,"column":3},
|
|
213
537
|
},
|
|
214
538
|
'collabAuth/revoke': {
|
|
215
539
|
service: 'collabAuth',
|
|
@@ -223,13 +547,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
223
547
|
codec: {
|
|
224
548
|
mode: 'strict',
|
|
225
549
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/revoke:a',
|
|
226
|
-
create:
|
|
550
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_0$schema,
|
|
227
551
|
jsonSchema: {"type":"string"},
|
|
228
552
|
},
|
|
229
553
|
strictCodec: {
|
|
230
554
|
mode: 'strict',
|
|
231
555
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/revoke:a',
|
|
232
|
-
create:
|
|
556
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_0_strict$schema,
|
|
233
557
|
jsonSchema: {"type":"string"},
|
|
234
558
|
},
|
|
235
559
|
},
|
|
@@ -240,13 +564,13 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
240
564
|
codec: {
|
|
241
565
|
mode: 'strict',
|
|
242
566
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/revoke:b',
|
|
243
|
-
create:
|
|
567
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_1$schema,
|
|
244
568
|
jsonSchema: {"type":"string"},
|
|
245
569
|
},
|
|
246
570
|
strictCodec: {
|
|
247
571
|
mode: 'strict',
|
|
248
572
|
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/revoke:b',
|
|
249
|
-
create:
|
|
573
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_revoke_parameter_1_strict$schema,
|
|
250
574
|
jsonSchema: {"type":"string"},
|
|
251
575
|
},
|
|
252
576
|
},
|
|
@@ -254,11 +578,56 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
254
578
|
result: {
|
|
255
579
|
mode: 'strict',
|
|
256
580
|
typeSymbol: '@xmodelin/dsh-collab-auth-api/types#AuthSnapshot',
|
|
257
|
-
create:
|
|
581
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_revoke_result$schema,
|
|
258
582
|
description: 'the resulting authorization snapshot.',
|
|
259
583
|
jsonSchema: {"type":"object","properties":{"pairs":{"type":"array","items":{"type":"object","properties":{"a":{"type":"string","description":"First Session id in the pair."},"b":{"type":"string","description":"Second Session id in the pair."},"createdAt":{"type":"number","description":"Creation time in epoch milliseconds."},"updatedAt":{"type":"number","description":"Last update time in epoch milliseconds."}},"required":["a","b","createdAt","updatedAt"],"additionalProperties":true},"description":"Fully authorized pairs."},"pending":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","description":"Granting Session id."},"to":{"type":"string","description":"Receiving Session id."},"createdAt":{"type":"number","description":"Creation time in epoch milliseconds."},"updatedAt":{"type":"number","description":"Last update time in epoch milliseconds."}},"required":["from","to","createdAt","updatedAt"],"additionalProperties":true},"description":"Directional grants waiting for the other side."}},"required":["pairs","pending"],"additionalProperties":true},
|
|
260
584
|
},
|
|
261
|
-
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":
|
|
585
|
+
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":98,"column":3},
|
|
586
|
+
},
|
|
587
|
+
'collabAuth/unlink': {
|
|
588
|
+
service: 'collabAuth',
|
|
589
|
+
invocation: { kind: 'direct' },
|
|
590
|
+
parameters: [
|
|
591
|
+
{
|
|
592
|
+
name: 'sessionId',
|
|
593
|
+
source: 'json',
|
|
594
|
+
codec: {
|
|
595
|
+
mode: 'strict',
|
|
596
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/unlink:sessionId',
|
|
597
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_0$schema,
|
|
598
|
+
jsonSchema: {"type":"string"},
|
|
599
|
+
},
|
|
600
|
+
strictCodec: {
|
|
601
|
+
mode: 'strict',
|
|
602
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/unlink:sessionId',
|
|
603
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_0_strict$schema,
|
|
604
|
+
jsonSchema: {"type":"string"},
|
|
605
|
+
},
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
name: 'worker',
|
|
609
|
+
source: 'json',
|
|
610
|
+
codec: {
|
|
611
|
+
mode: 'strict',
|
|
612
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/unlink:worker',
|
|
613
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_1$schema,
|
|
614
|
+
jsonSchema: {"type":"string"},
|
|
615
|
+
},
|
|
616
|
+
strictCodec: {
|
|
617
|
+
mode: 'strict',
|
|
618
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/unlink:worker',
|
|
619
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_unlink_parameter_1_strict$schema,
|
|
620
|
+
jsonSchema: {"type":"string"},
|
|
621
|
+
},
|
|
622
|
+
},
|
|
623
|
+
],
|
|
624
|
+
result: {
|
|
625
|
+
mode: 'strict',
|
|
626
|
+
typeSymbol: '@xmodelin/dsh-collab-auth-api#collabAuth/unlink:result',
|
|
627
|
+
create: _xmodelin_dsh_collab_auth_api_collabAuth_unlink_result$schema,
|
|
628
|
+
jsonSchema: {"type":"string"},
|
|
629
|
+
},
|
|
630
|
+
sourceLocation: {"file":"packages/dsh-collab-auth-api/src/index.ts","line":132,"column":3},
|
|
262
631
|
},
|
|
263
632
|
},
|
|
264
633
|
}, z)
|