ide на основе vs code · VibeGit
ide на основе vs code Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
krutaya-ide-na-osnove-vs-code / src / vs / platform / policy / test / common / fileManagedSettingsService.test.ts 405 строк · изменён 14 нояб., 04:52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
import assert from 'assert' ;
import { URI } from '../../../../base/common/uri.js' ;
import { VSBuffer } from '../../../../base/common/buffer.js' ;
import { Emitter, Event } from '../../../../base/common/event.js' ;
import { Disposable } from '../../../../base/common/lifecycle.js' ;
import { ManagedSettingsData } from '../../../../base/common/policy.js' ;
import { IChannel } from '../../../../base/parts/ipc/common/ipc.js' ;
import { FileService } from
InMemoryFileSystemProvider
NullLogService
ensureNoDisposablesAreLeakedInTestSuite
runWithFakedTimers
managedModelValue normalizeManagedSettings RawManagedSettingsData
FileManagedSettingsService
FileManagedSettingsChannelClient
result
permissions
disableBypassPermissionsMode
assert result
plugins
result
plugins
assert result
plugins
assert
assert
result
source source repo autoUpdate
source source url ref autoUpdate
source source repo
assert result
warnings
result
source source repo autoUpdate
msg warnings msg
assert result
assert warnings
warnings
result
source source repo
Record
msg warnings msg
assert result
assert warnings length
result
permissions disableBypassPermissionsMode
strictKnownMarketplaces
assert result
result
permissions model
assert result
assert
assert managedSettings result
result
model
assert result
assert
assert managedSettings result
result
model
permissions model
assert result
assert managedSettings result
assert
result
assert result
disposables
managedSettingsFile scheme
logService
fileService disposables logService
inMemoryProvider disposables
disposables fileService inMemoryProvider
fileService managedSettingsFile VSBuffer
permissions disableBypassPermissionsMode
strictKnownMarketplaces
service disposables managedSettingsFile fileService logService
service
assert service managedSettings
logService
fileService disposables logService
inMemoryProvider disposables
disposables fileService inMemoryProvider
raw
permissions
deny
ask
allow
fileService managedSettingsFile VSBuffer raw
service disposables managedSettingsFile fileService logService
Event service onDidChangeRawManagedSettings
assert raw service rawManagedSettings normalized service managedSettings
raw
normalized
logService
fileService disposables logService
inMemoryProvider disposables
disposables fileService inMemoryProvider
service disposables managedSettingsFile fileService logService
resolve resolve
assert service managedSettings
logService
fileService disposables logService
inMemoryProvider disposables
disposables fileService inMemoryProvider
fileService managedSettingsFile VSBuffer
permissions disableBypassPermissionsMode
service disposables managedSettingsFile fileService logService
resolve
Object service managedSettings length
listener disposables service
listener
changePromise resolve
listener disposables service
listener
fileService managedSettingsFile VSBuffer
strictKnownMarketplaces
changePromise
assert service managedSettings
logService
fileService disposables logService
inMemoryProvider disposables
disposables fileService inMemoryProvider
fileService managedSettingsFile VSBuffer
service disposables managedSettingsFile fileService logService
resolve resolve
assert service managedSettings
logService
fileService disposables logService
inMemoryProvider disposables
disposables fileService inMemoryProvider
fileService managedSettingsFile VSBuffer
service disposables managedSettingsFile fileService logService
resolve resolve
assert service managedSettings
logService
fileService disposables logService
inMemoryProvider disposables
disposables fileService inMemoryProvider
fileService managedSettingsFile VSBuffer
permissions disableBypassPermissionsMode
service disposables managedSettingsFile fileService logService
resolve
Object service managedSettings length
listener disposables service
listener
changePromise resolve
listener disposables service
listener
fileService managedSettingsFile
changePromise
assert service managedSettings
disposables
channel disposables
client disposables channel
channel permissions allow
channel
channel permissions deny
channel
client
assert raw client rawManagedSettings normalized client managedSettings
raw permissions allow
normalized
_onDidChangeRawManagedSettings
_onDidChangeManagedSettings
resolveInitialRawSnapshotPromise managedSettings RawManagedSettingsData
initialRawSnapshot resolve resolveInitialRawSnapshotPromise resolve
resolveInitialSnapshotPromise managedSettings ManagedSettingsData
initialSnapshot resolve resolveInitialSnapshotPromise resolve
command
command
initialRawSnapshot
initialSnapshot
event Event
event
_onDidChangeRawManagedSettings event Event
_onDidChangeManagedSettings event Event
managedSettings RawManagedSettingsData
_onDidChangeRawManagedSettings managedSettings
managedSettings ManagedSettingsData
_onDidChangeManagedSettings managedSettings
managedSettings ManagedSettingsData
managedSettings
managedSettings RawManagedSettingsData
managedSettings
'../../../files/common/fileService.js'
;
import
{
}
from
'../../../files/common/inMemoryFilesystemProvider.js'
;
import
{
}
from
'../../../log/common/log.js'
;
import
{
}
from
'../../../../base/test/common/utils.js'
;
import
{
}
from
'../../../../base/test/common/timeTravelScheduler.js'
;
import
{
COPILOT_ALLOW_MANAGED_HOOKS_ONLY_KEY
,
COPILOT_ALLOW_MANAGED_MCP_SERVERS_ONLY_KEY
,
COPILOT_DISABLE_BYPASS_PERMISSIONS_MODE_KEY
,
COPILOT_ENABLED_PLUGINS_KEY
,
COPILOT_EXTRA_MARKETPLACES_KEY
,
COPILOT_MODEL_KEY
,
COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_KEY
,
COPILOT_TOP_LEVEL_MODEL_KEY
,
,
,
}
from
'../../common/copilotManagedSettings.js'
;
import
{
}
from
'../../common/fileManagedSettingsService.js'
;
import
{
}
from
'../../common/fileManagedSettingsIpc.js'
;
suite
(
'normalizeManagedSettings'
,
(
)
=>
{
ensureNoDisposablesAreLeakedInTestSuite
(
)
;
test
(
'flattens scalar leaves to dot-paths'
,
(
)
=>
{
const
=
normalizeManagedSettings
(
{
:
{
:
'disable'
}
}
)
;
.
deepStrictEqual
(
,
{
'permissions.disableBypassPermissionsMode'
:
'disable'
}
)
;
}
)
;
test
(
'JSON-stringifies structured keys (enabledPlugins)'
,
(
)
=>
{
const
=
{
'plugin@marketplace'
:
false
}
;
const
=
normalizeManagedSettings
(
{
[
COPILOT_ENABLED_PLUGINS_KEY
]
:
}
)
;
.
deepStrictEqual
(
,
{
[
COPILOT_ENABLED_PLUGINS_KEY
]
:
JSON
.
stringify
(
)
}
)
;
}
)
;
test
(
'normalizes customization lockdown controls'
,
(
)
=>
{
.
deepStrictEqual
(
normalizeManagedSettings
(
{
[
COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_KEY
]
:
true
,
[
COPILOT_ALLOW_MANAGED_MCP_SERVERS_ONLY_KEY
]
:
true
,
[
COPILOT_ALLOW_MANAGED_HOOKS_ONLY_KEY
]
:
false
,
}
)
,
{
[
COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_KEY
]
:
true
,
[
COPILOT_ALLOW_MANAGED_MCP_SERVERS_ONLY_KEY
]
:
true
,
[
COPILOT_ALLOW_MANAGED_HOOKS_ONLY_KEY
]
:
false
,
}
)
;
}
)
;
test
(
'drops a non-boolean strictPluginOnlyCustomization value'
,
(
)
=>
{
.
deepStrictEqual
(
normalizeManagedSettings
(
{
[
COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_KEY
]
:
[
'skills'
,
'unknown'
]
,
}
)
,
{
}
)
;
}
)
;
test
(
'normalizes extraKnownMarketplaces from schema format to config dict'
,
(
)
=>
{
const
=
normalizeManagedSettings
(
{
[
COPILOT_EXTRA_MARKETPLACES_KEY
]
:
{
'a'
:
{
:
{
:
'github'
,
:
'github/agent-skills'
}
,
:
true
}
,
'b'
:
{
:
{
:
'git'
,
:
'https://example.com/repo.git'
,
:
'v1'
}
,
:
false
}
,
'c'
:
{
:
{
:
'github'
,
:
'github/copilot-plugins'
}
}
,
}
}
)
;
.
deepStrictEqual
(
,
{
[
COPILOT_EXTRA_MARKETPLACES_KEY
]
:
'{"a":"{\\"source\\":\\"github/agent-skills\\",\\"autoUpdate\\":true}","b":"{\\"source\\":\\"https://example.com/repo.git#v1\\",\\"autoUpdate\\":false}","c":"github/copilot-plugins"}'
,
}
)
;
}
)
;
test
(
'ignores non-boolean marketplace autoUpdate with warning'
,
(
)
=>
{
const
:
string
[
]
=
[
]
;
const
=
normalizeManagedSettings
(
{
[
COPILOT_EXTRA_MARKETPLACES_KEY
]
:
{
'a'
:
{
:
{
:
'github'
,
:
'github/agent-skills'
}
,
:
'yes'
}
,
}
}
,
=>
.
push
(
)
)
;
.
deepStrictEqual
(
,
{
[
COPILOT_EXTRA_MARKETPLACES_KEY
]
:
'{"a":"github/agent-skills"}'
,
}
)
;
.
deepStrictEqual
(
,
[
'Ignoring invalid autoUpdate for extraKnownMarketplaces entry "a": expected boolean'
]
)
;
}
)
;
test
(
'drops malformed marketplace entries with warning'
,
(
)
=>
{
const
:
string
[
]
=
[
]
;
const
=
normalizeManagedSettings
(
{
[
COPILOT_EXTRA_MARKETPLACES_KEY
]
:
{
'good'
:
{
:
{
:
'github'
,
:
'a/b'
}
}
,
'bad'
:
{
}
as
<
string
,
unknown
>
,
}
}
,
=>
.
push
(
)
)
;
.
deepStrictEqual
(
,
{
[
COPILOT_EXTRA_MARKETPLACES_KEY
]
:
'{"good":"a/b"}'
,
}
)
;
.
strictEqual
(
.
,
1
)
;
}
)
;
test
(
'handles mixed scalar and structured keys'
,
(
)
=>
{
const
=
normalizeManagedSettings
(
{
:
{
:
'disable'
}
,
:
[
'github/foo'
]
,
[
COPILOT_ENABLED_PLUGINS_KEY
]
:
{
'plugin'
:
true
}
,
}
)
;
.
deepStrictEqual
(
,
{
'permissions.disableBypassPermissionsMode'
:
'disable'
,
'strictKnownMarketplaces'
:
'["github/foo"]'
,
[
COPILOT_ENABLED_PLUGINS_KEY
]
:
'{"plugin":true}'
,
}
)
;
}
)
;
test
(
'flattens the model setting nested under permissions'
,
(
)
=>
{
const
=
normalizeManagedSettings
(
{
:
{
:
'auto'
}
}
)
;
.
deepStrictEqual
(
,
{
'permissions.model'
:
'auto'
}
)
;
.
strictEqual
(
COPILOT_MODEL_KEY
,
'permissions.model'
)
;
.
strictEqual
(
managedModelValue
(
)
(
{
:
}
)
,
'auto'
)
;
}
)
;
test
(
'carries the top-level model setting as the `model` bag key'
,
(
)
=>
{
const
=
normalizeManagedSettings
(
{
:
'auto'
}
)
;
.
deepStrictEqual
(
,
{
'model'
:
'auto'
}
)
;
.
strictEqual
(
COPILOT_TOP_LEVEL_MODEL_KEY
,
'model'
)
;
.
strictEqual
(
managedModelValue
(
)
(
{
:
}
)
,
'auto'
)
;
}
)
;
test
(
'keeps top-level and legacy model keys distinct, with the top-level value winning'
,
(
)
=>
{
const
=
normalizeManagedSettings
(
{
:
'opus'
,
:
{
:
'gemini'
}
}
)
;
.
deepStrictEqual
(
,
{
'model'
:
'opus'
,
'permissions.model'
:
'gemini'
}
)
;
.
strictEqual
(
managedModelValue
(
)
(
{
:
}
)
,
'opus'
)
;
}
)
;
test
(
'handles empty object'
,
(
)
=>
{
.
deepStrictEqual
(
normalizeManagedSettings
(
{
}
)
,
{
}
)
;
}
)
;
test
(
'drops a structured key whose value is not an object'
,
(
)
=>
{
const
=
normalizeManagedSettings
(
{
[
COPILOT_ENABLED_PLUGINS_KEY
]
:
'already-a-string'
}
)
;
.
deepStrictEqual
(
,
{
}
)
;
}
)
;
}
)
;
suite
(
'FileManagedSettingsService'
,
(
)
=>
{
const
=
ensureNoDisposablesAreLeakedInTestSuite
(
)
;
const
=
URI
.
file
(
'managed-settings.json'
)
.
with
(
{
:
'vscode-tests'
}
)
;
test
(
'reads managed-settings.json on startup'
,
(
)
=>
runWithFakedTimers
(
{
}
,
async
(
)
=>
{
const
=
new
NullLogService
(
)
;
const
=
.
add
(
new
FileService
(
)
)
;
const
=
.
add
(
new
InMemoryFileSystemProvider
(
)
)
;
.
add
(
.
registerProvider
(
'vscode-tests'
,
)
)
;
await
.
writeFile
(
,
.
fromString
(
JSON
.
stringify
(
{
:
{
:
'disable'
}
,
:
[
'github/foo'
]
}
)
)
)
;
const
=
.
add
(
new
FileManagedSettingsService
(
,
,
)
)
;
await
.
initialize
(
)
;
.
deepStrictEqual
(
.
,
{
'permissions.disableBypassPermissionsMode'
:
'disable'
,
'strictKnownMarketplaces'
:
'["github/foo"]'
}
)
;
}
)
)
;
test
(
'retains raw settings that are absent from the normalized bag'
,
(
)
=>
runWithFakedTimers
(
{
}
,
async
(
)
=>
{
const
=
new
NullLogService
(
)
;
const
=
.
add
(
new
FileService
(
)
)
;
const
=
.
add
(
new
InMemoryFileSystemProvider
(
)
)
;
.
add
(
.
registerProvider
(
'vscode-tests'
,
)
)
;
const
=
{
:
{
:
[
'Shell(echo denied *)'
]
,
:
[
'Shell(echo ask *)'
]
,
:
[
'Shell(echo *)'
]
,
}
}
;
await
.
writeFile
(
,
.
fromString
(
JSON
.
stringify
(
)
)
)
;
const
=
.
add
(
new
FileManagedSettingsService
(
,
,
)
)
;
await
.
toPromise
(
.
)
;
.
deepStrictEqual
(
{
:
.
,
:
.
}
,
{
,
:
{
}
,
}
)
;
}
)
)
;
test
(
'returns empty object when file does not exist'
,
(
)
=>
runWithFakedTimers
(
{
}
,
async
(
)
=>
{
const
=
new
NullLogService
(
)
;
const
=
.
add
(
new
FileService
(
)
)
;
const
=
.
add
(
new
InMemoryFileSystemProvider
(
)
)
;
.
add
(
.
registerProvider
(
'vscode-tests'
,
)
)
;
const
=
.
add
(
new
FileManagedSettingsService
(
,
,
)
)
;
await
new
Promise
(
=>
setTimeout
(
,
10
)
)
;
.
deepStrictEqual
(
.
,
{
}
)
;
}
)
)
;
test
(
'fires event when file changes'
,
(
)
=>
runWithFakedTimers
(
{
}
,
async
(
)
=>
{
const
=
new
NullLogService
(
)
;
const
=
.
add
(
new
FileService
(
)
)
;
const
=
.
add
(
new
InMemoryFileSystemProvider
(
)
)
;
.
add
(
.
registerProvider
(
'vscode-tests'
,
)
)
;
await
.
writeFile
(
,
.
fromString
(
JSON
.
stringify
(
{
:
{
:
'disable'
}
}
)
)
)
;
const
=
.
add
(
new
FileManagedSettingsService
(
,
,
)
)
;
await
new
Promise < void >
(
=>
{
if
(
.
keys
(
.
)
.
>
0
)
{
resolve
(
)
;
}
else
{
const
=
.
add
(
.
onDidChangeManagedSettings
(
(
)
=>
{
.
dispose
(
)
;
resolve
(
)
;
}
)
)
;
}
}
)
;
const
=
new
Promise < void >
(
=>
{
const
=
.
add
(
.
onDidChangeManagedSettings
(
(
)
=>
{
.
dispose
(
)
;
resolve
(
)
;
}
)
)
;
}
)
;
await
.
writeFile
(
,
.
fromString
(
JSON
.
stringify
(
{
:
[
'github/foo'
]
}
)
)
)
;
await
;
.
deepStrictEqual
(
.
,
{
'strictKnownMarketplaces'
:
'["github/foo"]'
}
)
;
}
)
)
;
test
(
'returns empty object when the file is malformed JSON'
,
(
)
=>
runWithFakedTimers
(
{
}
,
async
(
)
=>
{
const
=
new
NullLogService
(
)
;
const
=
.
add
(
new
FileService
(
)
)
;
const
=
.
add
(
new
InMemoryFileSystemProvider
(
)
)
;
.
add
(
.
registerProvider
(
'vscode-tests'
,
)
)
;
await
.
writeFile
(
,
.
fromString
(
'{ not: valid json'
)
)
;
const
=
.
add
(
new
FileManagedSettingsService
(
,
,
)
)
;
await
new
Promise
(
=>
setTimeout
(
,
10
)
)
;
.
deepStrictEqual
(
.
,
{
}
)
;
}
)
)
;
test
(
'returns empty object when the file is not a JSON object'
,
(
)
=>
runWithFakedTimers
(
{
}
,
async
(
)
=>
{
const
=
new
NullLogService
(
)
;
const
=
.
add
(
new
FileService
(
)
)
;
const
=
.
add
(
new
InMemoryFileSystemProvider
(
)
)
;
.
add
(
.
registerProvider
(
'vscode-tests'
,
)
)
;
await
.
writeFile
(
,
.
fromString
(
JSON
.
stringify
(
[
'not'
,
'an'
,
'object'
]
)
)
)
;
const
=
.
add
(
new
FileManagedSettingsService
(
,
,
)
)
;
await
new
Promise
(
=>
setTimeout
(
,
10
)
)
;
.
deepStrictEqual
(
.
,
{
}
)
;
}
)
)
;
test
(
'clears managed settings and fires when the file is deleted'
,
(
)
=>
runWithFakedTimers
(
{
}
,
async
(
)
=>
{
const
=
new
NullLogService
(
)
;
const
=
.
add
(
new
FileService
(
)
)
;
const
=
.
add
(
new
InMemoryFileSystemProvider
(
)
)
;
.
add
(
.
registerProvider
(
'vscode-tests'
,
)
)
;
await
.
writeFile
(
,
.
fromString
(
JSON
.
stringify
(
{
:
{
:
'disable'
}
}
)
)
)
;
const
=
.
add
(
new
FileManagedSettingsService
(
,
,
)
)
;
await
new
Promise < void >
(
=>
{
if
(
.
keys
(
.
)
.
>
0
)
{
resolve
(
)
;
}
else
{
const
=
.
add
(
.
onDidChangeManagedSettings
(
(
)
=>
{
.
dispose
(
)
;
resolve
(
)
;
}
)
)
;
}
}
)
;
const
=
new
Promise < void >
(
=>
{
const
=
.
add
(
.
onDidChangeManagedSettings
(
(
)
=>
{
.
dispose
(
)
;
resolve
(
)
;
}
)
)
;
}
)
;
await
.
del
(
)
;
await
;
.
deepStrictEqual
(
.
,
{
}
)
;
}
)
)
;
}
)
;
suite
(
'FileManagedSettingsChannelClient'
,
(
)
=>
{
const
=
ensureNoDisposablesAreLeakedInTestSuite
(
)
;
test
(
'keeps newer event state when the initial snapshot resolves later'
,
async
(
)
=>
{
const
=
.
add
(
new
DeferredManagedSettingsChannel
(
)
)
;
const
=
.
add
(
new
FileManagedSettingsChannelClient
(
)
)
;
.
fireRaw
(
{
:
{
:
[
'Shell(echo *)'
]
}
}
)
;
.
fire
(
{
[
COPILOT_DISABLE_BYPASS_PERMISSIONS_MODE_KEY
]
:
'disable'
}
)
;
.
resolveInitialRawSnapshot
(
{
:
{
:
[
'Shell(echo *)'
]
}
}
)
;
.
resolveInitialSnapshot
(
{
[
COPILOT_DISABLE_BYPASS_PERMISSIONS_MODE_KEY
]
:
'enable'
}
)
;
await
.
initialize
(
)
;
.
deepStrictEqual
(
{
:
.
,
:
.
}
,
{
:
{
:
{
:
[
'Shell(echo *)'
]
}
}
,
:
{
[
COPILOT_DISABLE_BYPASS_PERMISSIONS_MODE_KEY
]
:
'disable'
}
,
}
)
;
}
)
;
}
)
;
class
DeferredManagedSettingsChannel
extends
Disposable
implements
IChannel
{
private
readonly
=
this
.
_register
(
new
Emitter< RawManagedSettingsData>
(
)
)
;
private
readonly
=
this
.
_register
(
new
Emitter< ManagedSettingsData>
(
)
)
;
private
!
:
(
:
)
=>
void
;
readonly
=
new
Promise < RawManagedSettingsData>
(
=>
this
.
=
)
;
private
!
:
(
:
)
=>
void
;
readonly
=
new
Promise < ManagedSettingsData>
(
=>
this
.
=
)
;
call < T >
(
:
string
)
:
Promise
<
T
>
{
switch
(
)
{
case
'getRawManagedSettings'
:
return
this
.
as
Promise
<
T
>
;
case
'getManagedSettings'
:
return
this
.
as
Promise
<
T
>
;
}
throw
new
Error
(
` Call not found: ${ command} `
)
;
}
listen < T >
(
:
string
)
:
<
T
>
{
switch
(
)
{
case
'onDidChangeRawManagedSettings'
:
return
this
.
.
as
<
T
>
;
case
'onDidChangeManagedSettings'
:
return
this
.
.
as
<
T
>
;
}
throw
new
Error
(
` Event not found: ${ event} `
)
;
}
fireRaw
(
:
)
:
void
{
this
.
.
fire
(
)
;
}
fire
(
:
)
:
void
{
this
.
.
fire
(
)
;
}
resolveInitialSnapshot
(
:
)
:
void
{
this
.
resolveInitialSnapshotPromise
(
)
;
}
resolveInitialRawSnapshot
(
:
)
:
void
{
this
.
resolveInitialRawSnapshotPromise
(
)
;
}
}