@defold-typescript/library-types 0.24.0 → 0.25.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/NOTICE +2 -3
- package/api-doc/boom.json +2 -0
- package/api-doc/checkpoint.json +127 -0
- package/api-doc/deftest.json +4 -0
- package/api-doc/nakama.session.json +315 -0
- package/api-doc/nakama.socket.json +3356 -0
- package/api-doc/shutter.json +551 -0
- package/authored-targets.json +44 -14
- package/generated/checkpoint.d.ts +62 -0
- package/generated/nakama.session.d.ts +95 -0
- package/generated/nakama.socket.d.ts +706 -0
- package/generated/proto.d.ts +4 -4
- package/generated/shutter.d.ts +183 -0
- package/package.json +2 -2
- package/scripts/extract-api-doc.ts +25 -4
- package/api-doc/starly.json +0 -488
- package/generated/starly.d.ts +0 -148
package/NOTICE
CHANGED
|
@@ -28,13 +28,12 @@ Attributed upstream libraries (by their directory in ts-defold/library):
|
|
|
28
28
|
- defold-lang — Insality, https://github.com/Insality/defold-lang
|
|
29
29
|
- defold-saver — Insality, https://github.com/Insality/defold-saver
|
|
30
30
|
- defsave — subsoap, https://github.com/subsoap/defsave
|
|
31
|
-
- library-defold-persist —
|
|
31
|
+
- library-defold-persist — whiteboxdev, https://github.com/whiteboxdev/library-defold-persist
|
|
32
32
|
- defold-proto — Insality, https://github.com/Insality/defold-proto
|
|
33
33
|
- defmath — subsoap, https://github.com/subsoap/defmath
|
|
34
34
|
- dicebag — 8bitskull, https://github.com/8bitskull/dicebag
|
|
35
35
|
- defold-tweener — Insality, https://github.com/Insality/defold-tweener
|
|
36
36
|
- squid — paweljarosz, https://github.com/paweljarosz/squid
|
|
37
|
-
- starly — VowSoftware, https://github.com/VowSoftware/starly
|
|
38
37
|
- defold-log — Insality, https://github.com/Insality/defold-log
|
|
39
38
|
- defold-metrics — Britzl, https://github.com/britzl/defold-metrics
|
|
40
39
|
- deftest — Britzl, https://github.com/britzl/deftest
|
|
@@ -45,7 +44,7 @@ Attributed upstream libraries (by their directory in ts-defold/library):
|
|
|
45
44
|
- defold-zzfx — thejustinwalsh, https://github.com/thejustinwalsh/defold-zzfx
|
|
46
45
|
- boom — Britzl, https://github.com/britzl/boom
|
|
47
46
|
- bzAnim — jbp4444, https://github.com/jbp4444/bzAnim
|
|
48
|
-
- library-defold-rendy —
|
|
47
|
+
- library-defold-rendy — whiteboxdev, https://github.com/whiteboxdev/library-defold-rendy
|
|
49
48
|
|
|
50
49
|
Each upstream library is distributed under its own license by its original
|
|
51
50
|
author. The ts-defold/library MIT license covers the TypeScript definition
|
package/api-doc/boom.json
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"name": "add",
|
|
28
28
|
"brief": "Add a game object with a set of components.",
|
|
29
29
|
"description": "Add a game object with a set of components.",
|
|
30
|
+
"generics": "<T extends (BoomComponent | BoomTag)[]>",
|
|
30
31
|
"parameters": [
|
|
31
32
|
{
|
|
32
33
|
"name": "comps",
|
|
@@ -2304,6 +2305,7 @@
|
|
|
2304
2305
|
"name": "add",
|
|
2305
2306
|
"brief": "Add a game object as a child of this game object",
|
|
2306
2307
|
"description": "Add a game object as a child of this game object\nby composing it with components.",
|
|
2308
|
+
"generics": "<T extends (BoomComponent | BoomTag)[]>",
|
|
2307
2309
|
"parameters": [
|
|
2308
2310
|
{
|
|
2309
2311
|
"name": "comps",
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"info": {
|
|
3
|
+
"namespace": "checkpoint",
|
|
4
|
+
"brief": "",
|
|
5
|
+
"description": ""
|
|
6
|
+
},
|
|
7
|
+
"elements": [
|
|
8
|
+
{
|
|
9
|
+
"type": "VARIABLE",
|
|
10
|
+
"name": "project_title",
|
|
11
|
+
"brief": "The `project.title` from game.project, read once when the module loads. It is",
|
|
12
|
+
"description": "The `project.title` from game.project, read once when the module loads. It is\nthe name the save directory is derived from.",
|
|
13
|
+
"types": [
|
|
14
|
+
"string"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "VARIABLE",
|
|
19
|
+
"name": "project_save_path",
|
|
20
|
+
"brief": "The absolute path of the project's save directory, resolved once when the",
|
|
21
|
+
"description": "The absolute path of the project's save directory, resolved once when the\nmodule loads. Every path the other members take is relative to it, and `list`\nreturns paths relative to it. Ends with a separator, e.g.\n`/home/klaleus/.local/share/defold-checkpoint/`.",
|
|
22
|
+
"types": [
|
|
23
|
+
"string"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "FUNCTION",
|
|
28
|
+
"name": "read",
|
|
29
|
+
"brief": "Loads a saved file. A path ending in `.json` is read as text and decoded with",
|
|
30
|
+
"description": "Loads a saved file. A path ending in `.json` is read as text and decoded with\n`json.decode`; anything else is loaded with `sys.load`. On success the loaded\nvalue is returned alone, so the error slot is absent; on any failure — the file\nmissing, unreadable, or holding invalid content — the first value is `false` and\nthe second is the error string. Name the saved shape through the type parameter\nto avoid casting at the call site.",
|
|
31
|
+
"generics": "<T = unknown>",
|
|
32
|
+
"parameters": [
|
|
33
|
+
{
|
|
34
|
+
"name": "path",
|
|
35
|
+
"doc": "Path relative to `project_save_path`.",
|
|
36
|
+
"types": [
|
|
37
|
+
"string"
|
|
38
|
+
],
|
|
39
|
+
"is_optional": "False"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"returnvalues": [
|
|
43
|
+
{
|
|
44
|
+
"name": "",
|
|
45
|
+
"doc": "The loaded value, or `false` and the error that stopped it.",
|
|
46
|
+
"types": [
|
|
47
|
+
"LuaMultiReturn<[ T | false, string | undefined ]>"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "FUNCTION",
|
|
54
|
+
"name": "write",
|
|
55
|
+
"brief": "Saves a value, creating any missing directories along the path first. A path",
|
|
56
|
+
"description": "Saves a value, creating any missing directories along the path first. A path\nending in `.json` is encoded with `json.encode` and written as text and flushed\nimmediately; anything else is written with `sys.save`. Creating the directories\ngoes through `lfs`, so the project needs `britzl/defold-lfs` as a dependency;\nthis corpus does not type it.",
|
|
57
|
+
"parameters": [
|
|
58
|
+
{
|
|
59
|
+
"name": "path",
|
|
60
|
+
"doc": "Path relative to `project_save_path`.",
|
|
61
|
+
"types": [
|
|
62
|
+
"string"
|
|
63
|
+
],
|
|
64
|
+
"is_optional": "False"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "data",
|
|
68
|
+
"doc": "The value to save.",
|
|
69
|
+
"types": [
|
|
70
|
+
"unknown"
|
|
71
|
+
],
|
|
72
|
+
"is_optional": "False"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"returnvalues": [
|
|
76
|
+
{
|
|
77
|
+
"name": "",
|
|
78
|
+
"doc": "`true`, or `false` and the error that stopped it.",
|
|
79
|
+
"types": [
|
|
80
|
+
"LuaMultiReturn<[ boolean, string | undefined ]>"
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"type": "FUNCTION",
|
|
87
|
+
"name": "exists",
|
|
88
|
+
"brief": "Whether a saved file exists. Returns a real boolean rather than the underlying",
|
|
89
|
+
"description": "Whether a saved file exists. Returns a real boolean rather than the underlying\nfile attributes, so it reads directly as a condition. Goes through `lfs`, so the\nproject needs `britzl/defold-lfs` as a dependency.",
|
|
90
|
+
"parameters": [
|
|
91
|
+
{
|
|
92
|
+
"name": "path",
|
|
93
|
+
"doc": "Path relative to `project_save_path`.",
|
|
94
|
+
"types": [
|
|
95
|
+
"string"
|
|
96
|
+
],
|
|
97
|
+
"is_optional": "False"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"returnvalues": [
|
|
101
|
+
{
|
|
102
|
+
"name": "",
|
|
103
|
+
"doc": "",
|
|
104
|
+
"types": [
|
|
105
|
+
"boolean"
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"type": "FUNCTION",
|
|
112
|
+
"name": "list",
|
|
113
|
+
"brief": "Every saved file, found by walking the save directory breadth-first. Directories",
|
|
114
|
+
"description": "Every saved file, found by walking the save directory breadth-first. Directories\nare descended into rather than listed. Goes through `lfs`, so the project needs\n`britzl/defold-lfs` as a dependency.",
|
|
115
|
+
"parameters": [],
|
|
116
|
+
"returnvalues": [
|
|
117
|
+
{
|
|
118
|
+
"name": "",
|
|
119
|
+
"doc": "The file paths, relative to `project_save_path`.",
|
|
120
|
+
"types": [
|
|
121
|
+
"string[]"
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
package/api-doc/deftest.json
CHANGED
|
@@ -162,6 +162,7 @@
|
|
|
162
162
|
"name": "assert_equal",
|
|
163
163
|
"brief": "",
|
|
164
164
|
"description": "",
|
|
165
|
+
"generics": "<T>",
|
|
165
166
|
"parameters": [
|
|
166
167
|
{
|
|
167
168
|
"name": "a",
|
|
@@ -480,6 +481,7 @@
|
|
|
480
481
|
"name": "assert_type",
|
|
481
482
|
"brief": "",
|
|
482
483
|
"description": "",
|
|
484
|
+
"generics": "<T>",
|
|
483
485
|
"parameters": [
|
|
484
486
|
{
|
|
485
487
|
"name": "a",
|
|
@@ -542,6 +544,7 @@
|
|
|
542
544
|
"name": "assert_not_equal",
|
|
543
545
|
"brief": "",
|
|
544
546
|
"description": "",
|
|
547
|
+
"generics": "<T>",
|
|
545
548
|
"parameters": [
|
|
546
549
|
{
|
|
547
550
|
"name": "a",
|
|
@@ -716,6 +719,7 @@
|
|
|
716
719
|
"name": "assert_not_type",
|
|
717
720
|
"brief": "",
|
|
718
721
|
"description": "",
|
|
722
|
+
"generics": "<T>",
|
|
719
723
|
"parameters": [
|
|
720
724
|
{
|
|
721
725
|
"name": "a",
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
{
|
|
2
|
+
"info": {
|
|
3
|
+
"namespace": "nakama.session",
|
|
4
|
+
"brief": "",
|
|
5
|
+
"description": ""
|
|
6
|
+
},
|
|
7
|
+
"elements": [
|
|
8
|
+
{
|
|
9
|
+
"type": "FUNCTION",
|
|
10
|
+
"name": "is_token_expired_soon",
|
|
11
|
+
"brief": "Whether the session's access token expires within the next twenty-four hours.",
|
|
12
|
+
"description": "Whether the session's access token expires within the next twenty-four hours.\nRefresh the session while this is true rather than waiting for it to expire.",
|
|
13
|
+
"parameters": [
|
|
14
|
+
{
|
|
15
|
+
"name": "session",
|
|
16
|
+
"doc": "A session created with `create`.",
|
|
17
|
+
"types": [
|
|
18
|
+
"Session"
|
|
19
|
+
],
|
|
20
|
+
"is_optional": "False"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"returnvalues": [
|
|
24
|
+
{
|
|
25
|
+
"name": "",
|
|
26
|
+
"doc": "",
|
|
27
|
+
"types": [
|
|
28
|
+
"boolean"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "FUNCTION",
|
|
35
|
+
"name": "is_token_expired",
|
|
36
|
+
"brief": "Whether the session's access token has already expired.",
|
|
37
|
+
"description": "Whether the session's access token has already expired.",
|
|
38
|
+
"parameters": [
|
|
39
|
+
{
|
|
40
|
+
"name": "session",
|
|
41
|
+
"doc": "A session created with `create`.",
|
|
42
|
+
"types": [
|
|
43
|
+
"Session"
|
|
44
|
+
],
|
|
45
|
+
"is_optional": "False"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"returnvalues": [
|
|
49
|
+
{
|
|
50
|
+
"name": "",
|
|
51
|
+
"doc": "",
|
|
52
|
+
"types": [
|
|
53
|
+
"boolean"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "FUNCTION",
|
|
60
|
+
"name": "expired",
|
|
61
|
+
"brief": "Upstream's backwards-compatible alias of `is_token_expired`, kept because older",
|
|
62
|
+
"description": "Upstream's backwards-compatible alias of `is_token_expired`, kept because older\ncode calls it. New code should call `is_token_expired`.",
|
|
63
|
+
"parameters": [
|
|
64
|
+
{
|
|
65
|
+
"name": "session",
|
|
66
|
+
"doc": "A session created with `create`.",
|
|
67
|
+
"types": [
|
|
68
|
+
"Session"
|
|
69
|
+
],
|
|
70
|
+
"is_optional": "False"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"returnvalues": [
|
|
74
|
+
{
|
|
75
|
+
"name": "",
|
|
76
|
+
"doc": "",
|
|
77
|
+
"types": [
|
|
78
|
+
"boolean"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "FUNCTION",
|
|
85
|
+
"name": "is_refresh_token_expired",
|
|
86
|
+
"brief": "Whether the session's refresh token has expired. A session created without a",
|
|
87
|
+
"description": "Whether the session's refresh token has expired. A session created without a\nrefresh token counts as expired, there being nothing left to refresh with.",
|
|
88
|
+
"parameters": [
|
|
89
|
+
{
|
|
90
|
+
"name": "session",
|
|
91
|
+
"doc": "A session created with `create`.",
|
|
92
|
+
"types": [
|
|
93
|
+
"Session"
|
|
94
|
+
],
|
|
95
|
+
"is_optional": "False"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"returnvalues": [
|
|
99
|
+
{
|
|
100
|
+
"name": "",
|
|
101
|
+
"doc": "",
|
|
102
|
+
"types": [
|
|
103
|
+
"boolean"
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "FUNCTION",
|
|
110
|
+
"name": "create",
|
|
111
|
+
"brief": "Builds a session from an authentication response, decoding the tokens it carries",
|
|
112
|
+
"description": "Builds a session from an authentication response, decoding the tokens it carries\nto read their expiry, username, user id and session variables.",
|
|
113
|
+
"parameters": [
|
|
114
|
+
{
|
|
115
|
+
"name": "data",
|
|
116
|
+
"doc": "The authentication response, which must carry a `token`.",
|
|
117
|
+
"types": [
|
|
118
|
+
"SessionData"
|
|
119
|
+
],
|
|
120
|
+
"is_optional": "False"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"returnvalues": [
|
|
124
|
+
{
|
|
125
|
+
"name": "",
|
|
126
|
+
"doc": "",
|
|
127
|
+
"types": [
|
|
128
|
+
"Session"
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "FUNCTION",
|
|
135
|
+
"name": "store",
|
|
136
|
+
"brief": "Writes a session to disk under the project title, so it survives a restart.",
|
|
137
|
+
"description": "Writes a session to disk under the project title, so it survives a restart.",
|
|
138
|
+
"parameters": [
|
|
139
|
+
{
|
|
140
|
+
"name": "session",
|
|
141
|
+
"doc": "The session to store.",
|
|
142
|
+
"types": [
|
|
143
|
+
"Session"
|
|
144
|
+
],
|
|
145
|
+
"is_optional": "False"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "id",
|
|
149
|
+
"doc": "Names the saved session. Defaults to `nakama`.",
|
|
150
|
+
"types": [
|
|
151
|
+
"string"
|
|
152
|
+
],
|
|
153
|
+
"is_optional": "True"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"returnvalues": [
|
|
157
|
+
{
|
|
158
|
+
"name": "",
|
|
159
|
+
"doc": "Whether the save succeeded.",
|
|
160
|
+
"types": [
|
|
161
|
+
"boolean"
|
|
162
|
+
]
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"type": "FUNCTION",
|
|
168
|
+
"name": "restore",
|
|
169
|
+
"brief": "Reads back a session written by `store`.",
|
|
170
|
+
"description": "Reads back a session written by `store`.",
|
|
171
|
+
"parameters": [
|
|
172
|
+
{
|
|
173
|
+
"name": "id",
|
|
174
|
+
"doc": "The name the session was stored under. Defaults to `nakama`.",
|
|
175
|
+
"types": [
|
|
176
|
+
"string"
|
|
177
|
+
],
|
|
178
|
+
"is_optional": "True"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"returnvalues": [
|
|
182
|
+
{
|
|
183
|
+
"name": "",
|
|
184
|
+
"doc": "The stored session, or `nil` if nothing usable was stored under that name.",
|
|
185
|
+
"types": [
|
|
186
|
+
"Session | undefined"
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"type": "TYPEDEF",
|
|
193
|
+
"name": "Session",
|
|
194
|
+
"properties": [
|
|
195
|
+
{
|
|
196
|
+
"name": "created",
|
|
197
|
+
"brief": "When `create` built this session, from `os.time()`.",
|
|
198
|
+
"description": "When `create` built this session, from `os.time()`.",
|
|
199
|
+
"types": [
|
|
200
|
+
"number"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "token",
|
|
205
|
+
"brief": "The access token the server issued, as the JWT string it arrived as.",
|
|
206
|
+
"description": "The access token the server issued, as the JWT string it arrived as.",
|
|
207
|
+
"types": [
|
|
208
|
+
"string"
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "expires",
|
|
213
|
+
"brief": "The access token's `exp` claim, in seconds since the epoch.",
|
|
214
|
+
"description": "The access token's `exp` claim, in seconds since the epoch.",
|
|
215
|
+
"types": [
|
|
216
|
+
"number"
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "username",
|
|
221
|
+
"brief": "The username the access token's `usn` claim carries.",
|
|
222
|
+
"description": "The username the access token's `usn` claim carries.",
|
|
223
|
+
"types": [
|
|
224
|
+
"string"
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "user_id",
|
|
229
|
+
"brief": "The user id the access token's `uid` claim carries.",
|
|
230
|
+
"description": "The user id the access token's `uid` claim carries.",
|
|
231
|
+
"types": [
|
|
232
|
+
"string"
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "vars",
|
|
237
|
+
"brief": "The session variables the access token's `vrs` claim carries, if any.",
|
|
238
|
+
"description": "The session variables the access token's `vrs` claim carries, if any.",
|
|
239
|
+
"types": [
|
|
240
|
+
"unknown"
|
|
241
|
+
],
|
|
242
|
+
"is_optional": "True"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "refresh_token",
|
|
246
|
+
"brief": "The refresh token the server issued, if the response carried one.",
|
|
247
|
+
"description": "The refresh token the server issued, if the response carried one.",
|
|
248
|
+
"types": [
|
|
249
|
+
"string"
|
|
250
|
+
],
|
|
251
|
+
"is_optional": "True"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "refresh_token_expires",
|
|
255
|
+
"brief": "The refresh token's `exp` claim, in seconds since the epoch.",
|
|
256
|
+
"description": "The refresh token's `exp` claim, in seconds since the epoch.",
|
|
257
|
+
"types": [
|
|
258
|
+
"number"
|
|
259
|
+
],
|
|
260
|
+
"is_optional": "True"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "refresh_token_username",
|
|
264
|
+
"brief": "The username the refresh token's `usn` claim carries.",
|
|
265
|
+
"description": "The username the refresh token's `usn` claim carries.",
|
|
266
|
+
"types": [
|
|
267
|
+
"string"
|
|
268
|
+
],
|
|
269
|
+
"is_optional": "True"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "refresh_token_user_id",
|
|
273
|
+
"brief": "The user id the refresh token's `uid` claim carries.",
|
|
274
|
+
"description": "The user id the refresh token's `uid` claim carries.",
|
|
275
|
+
"types": [
|
|
276
|
+
"string"
|
|
277
|
+
],
|
|
278
|
+
"is_optional": "True"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "refresh_token_vars",
|
|
282
|
+
"brief": "The session variables the refresh token's `vrs` claim carries.",
|
|
283
|
+
"description": "The session variables the refresh token's `vrs` claim carries.",
|
|
284
|
+
"types": [
|
|
285
|
+
"unknown"
|
|
286
|
+
],
|
|
287
|
+
"is_optional": "True"
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "TYPEDEF",
|
|
293
|
+
"name": "SessionData",
|
|
294
|
+
"properties": [
|
|
295
|
+
{
|
|
296
|
+
"name": "token",
|
|
297
|
+
"brief": "",
|
|
298
|
+
"description": "",
|
|
299
|
+
"types": [
|
|
300
|
+
"string"
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "refresh_token",
|
|
305
|
+
"brief": "",
|
|
306
|
+
"description": "",
|
|
307
|
+
"types": [
|
|
308
|
+
"string"
|
|
309
|
+
],
|
|
310
|
+
"is_optional": "True"
|
|
311
|
+
}
|
|
312
|
+
]
|
|
313
|
+
}
|
|
314
|
+
]
|
|
315
|
+
}
|