@fluidframework/debugger 0.59.2000 → 0.59.3000-67119

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.
@@ -28,25 +28,25 @@ export const joinDataSchema = {
28
28
  name: { type: "string" },
29
29
  email: { type: "string" },
30
30
  },
31
- required: [ "id", "name", "email" ],
31
+ required: ["id", "name", "email"],
32
32
  additionalProperties: false,
33
33
  },
34
34
  },
35
- required: [ "user" ],
35
+ required: ["user"],
36
36
  additionalProperties: false,
37
37
  },
38
38
  },
39
- required: [ "clientId", "detail" ],
39
+ required: ["clientId", "detail"],
40
40
  additionalProperties: false,
41
41
  };
42
42
 
43
43
  export const proposeContentsSchema = {
44
- type: [ "string", "object" ],
44
+ type: ["string", "object"],
45
45
  properties: {
46
46
  key: { type: "string" },
47
47
  value: { type: "string" },
48
48
  },
49
- required: [ "key" ],
49
+ required: ["key"],
50
50
  additionalProperties: false,
51
51
  };
52
52
 
@@ -65,15 +65,15 @@ export const proposeCodeSchema = {
65
65
  version: { type: "string" },
66
66
  fluid: { type: "object" },
67
67
  },
68
- required: [ "name" ],
68
+ required: ["name"],
69
69
  },
70
70
  config: { type: "object" },
71
71
  },
72
- required: [ "package", "config" ],
72
+ required: ["package", "config"],
73
73
  additionalProperties: false,
74
74
  },
75
75
  },
76
- required: [ "key", "value" ],
76
+ required: ["key", "value"],
77
77
  additionalProperties: false,
78
78
  };
79
79
 
@@ -83,7 +83,7 @@ const attachSnapshotEntriesSchema = {
83
83
  properties: {
84
84
  mode: { type: "string" },
85
85
  path: { type: "string" },
86
- type: { enum: [ "Blob", "Tree" ] },
86
+ type: { enum: ["Blob", "Tree"] },
87
87
  value: {
88
88
  type: "object",
89
89
  oneOf: [
@@ -95,7 +95,7 @@ const attachSnapshotEntriesSchema = {
95
95
  // Verify this
96
96
  id: { type: "null" },
97
97
  },
98
- required: [ "contents", "encoding" ],
98
+ required: ["contents", "encoding"],
99
99
  additionalProperties: false,
100
100
  },
101
101
  // type Tree
@@ -108,13 +108,13 @@ const attachSnapshotEntriesSchema = {
108
108
  // Verify this
109
109
  id: { type: "null" },
110
110
  },
111
- required: [ "entries" ],
111
+ required: ["entries"],
112
112
  additionalProperties: false,
113
113
  },
114
114
  ],
115
115
  },
116
116
  },
117
- required: [ "mode", "path", "type", "value" ],
117
+ required: ["mode", "path", "type", "value"],
118
118
  additionalProperties: false,
119
119
  };
120
120
 
@@ -135,12 +135,12 @@ export const attachContentsSchema = {
135
135
  // Verify this
136
136
  id: { type: "null" },
137
137
  },
138
- required: [ "entries" ],
138
+ required: ["entries"],
139
139
  additionalProperties: false,
140
140
  },
141
141
  type: { type: "string" },
142
142
  },
143
- required: [ "id", "snapshot", "type" ],
143
+ required: ["id", "snapshot", "type"],
144
144
  additionalProperties: false,
145
145
  };
146
146
 
@@ -153,7 +153,7 @@ export const chunkedOpContentsSchema = {
153
153
  originalType: { type: "string" },
154
154
  totalChunks: { type: "number" },
155
155
  },
156
- required: [ "chunkId", "contents", "originalType", "totalChunks" ],
156
+ required: ["chunkId", "contents", "originalType", "totalChunks"],
157
157
  additionalProperties: false,
158
158
  };
159
159
 
@@ -167,11 +167,11 @@ const contentsSchema = {
167
167
  content: { type: "object" },
168
168
  type: { type: "string" },
169
169
  },
170
- required: [ "content", "type" ],
170
+ required: ["content", "type"],
171
171
  additionalProperties: false,
172
172
  },
173
173
  },
174
- required: [ "address", "contents" ],
174
+ required: ["address", "contents"],
175
175
  additionalProperties: false,
176
176
  };
177
177
 
@@ -187,26 +187,26 @@ export const opContentsSchema = {
187
187
  oneOf: [
188
188
  {
189
189
  properties: {
190
- type: { enum: [ "component" ] },
190
+ type: { enum: ["component"] },
191
191
  contents: { $ref: "#/definitions/content" },
192
192
  },
193
- required: [ "type", "contents" ],
193
+ required: ["type", "contents"],
194
194
  additionalProperties: false,
195
195
  },
196
196
  {
197
197
  properties: {
198
- type: { enum: [ "attach" ] },
198
+ type: { enum: ["attach"] },
199
199
  contents: { $ref: "#/definitions/attachContents" },
200
200
  },
201
- required: [ "type", "contents" ],
201
+ required: ["type", "contents"],
202
202
  additionalProperties: false,
203
203
  },
204
204
  {
205
205
  properties: {
206
- type: { enum: [ "chunkedOp" ] },
206
+ type: { enum: ["chunkedOp"] },
207
207
  contents: { $ref: "#/definitions/chunkedOpContents" },
208
208
  },
209
- required: [ "type", "contents" ],
209
+ required: ["type", "contents"],
210
210
  additionalProperties: false,
211
211
  },
212
212
  {
@@ -236,19 +236,19 @@ export const opContentsRegisterCollectionSchema = {
236
236
  type: { type: "string" },
237
237
  value: { },
238
238
  },
239
- required: [ "type", "value" ],
239
+ required: ["type", "value"],
240
240
  additionalProperties: false,
241
241
  },
242
242
  type: {
243
243
  type: "string",
244
- enum: [ "write" ],
244
+ enum: ["write"],
245
245
  },
246
246
  },
247
- required: [ "key", "type" ],
247
+ required: ["key", "type"],
248
248
  additionalProperties: false,
249
249
  },
250
250
  },
251
- required: [ "address", "contents" ],
251
+ required: ["address", "contents"],
252
252
  additionalProperties: false,
253
253
  };
254
254
 
@@ -269,7 +269,7 @@ export const opContentsMapSchema = {
269
269
  type: { type: "string" },
270
270
  value: { },
271
271
  },
272
- required: [ "type" ],
272
+ required: ["type"],
273
273
  additionalProperties: false,
274
274
  },
275
275
  type: {
@@ -284,34 +284,34 @@ export const opContentsMapSchema = {
284
284
  ],
285
285
  },
286
286
  },
287
- required: [ "type" ],
287
+ required: ["type"],
288
288
  additionalProperties: false,
289
289
  // specific property combinations based on type value
290
290
  oneOf: [
291
291
  {
292
- properties: { type: { enum: [ "act" ] } },
293
- required: [ "key", "path", "value" ],
292
+ properties: { type: { enum: ["act"] } },
293
+ required: ["key", "path", "value"],
294
294
  },
295
295
  {
296
- properties: { type: { enum: [ "set" ] } },
297
- required: [ "key", "value" ],
296
+ properties: { type: { enum: ["set"] } },
297
+ required: ["key", "value"],
298
298
  },
299
299
  {
300
- properties: { type: { enum: [ "delete" ] } },
301
- required: [ "key" ],
300
+ properties: { type: { enum: ["delete"] } },
301
+ required: ["key"],
302
302
  },
303
303
  {
304
- properties: { type: { enum: [ "clear" ] } },
305
- required: [ "path" ],
304
+ properties: { type: { enum: ["clear"] } },
305
+ required: ["path"],
306
306
  },
307
307
  {
308
- properties: { type: { enum: [ "createSubDirectory", "deleteSubDirectory" ] } },
309
- required: [ "path", "subdirName" ],
308
+ properties: { type: { enum: ["createSubDirectory", "deleteSubDirectory"] } },
309
+ required: ["path", "subdirName"],
310
310
  },
311
311
  ],
312
312
  },
313
313
  },
314
- required: [ "address", "contents" ],
314
+ required: ["address", "contents"],
315
315
  additionalProperties: false,
316
316
  };
317
317
 
@@ -338,30 +338,30 @@ const mergeTreeDeltaOpSchema = {
338
338
  maximum: 2 /* MergeTreeDeltaType.ANNOTATE */,
339
339
  },
340
340
  },
341
- required: [ "type" ],
341
+ required: ["type"],
342
342
  oneOf: [
343
343
  {
344
344
  properties: {
345
- type: { enum: [ 0 /* MergeTreeDeltaType.INSERT */ ] },
346
- seg: { type: [ "string", "object" ] },
345
+ type: { enum: [0] },
346
+ seg: { type: ["string", "object"] },
347
347
  pos1: { type: "number" },
348
348
  },
349
- required: [ "pos1" ],
349
+ required: ["pos1"],
350
350
  additionalProperties: false,
351
351
  },
352
352
  {
353
353
  properties: {
354
- type: { enum: [ 1 /* MergeTreeDeltaType.REMOVE */ ] },
354
+ type: { enum: [1] },
355
355
  register: { type: "string" },
356
356
  pos1: { type: "number" },
357
357
  pos2: { type: "number" },
358
358
  },
359
- required: [ "pos1" ],
359
+ required: ["pos1"],
360
360
  additionalProperties: false,
361
361
  },
362
362
  {
363
363
  properties: {
364
- type: { enum: [ 2 /* MergeTreeDeltaType.ANNOTATE */ ] },
364
+ type: { enum: [2] },
365
365
  combiningOp: {
366
366
  type: "object",
367
367
  properties: {
@@ -370,7 +370,7 @@ const mergeTreeDeltaOpSchema = {
370
370
  minValue: { },
371
371
  name: { type: "string" },
372
372
  },
373
- required: [ "name" ],
373
+ required: ["name"],
374
374
  additionalProperties: false,
375
375
  },
376
376
  pos1: { type: "number" },
@@ -380,7 +380,7 @@ const mergeTreeDeltaOpSchema = {
380
380
  relativePos1: { $ref: "#/definitions/relativePos" },
381
381
  relativePos2: { $ref: "#/definitions/relativePos" },
382
382
  },
383
- required: [ "props" ],
383
+ required: ["props"],
384
384
  additionalProperties: false,
385
385
  },
386
386
  // There's something weird with the typings/settings here where this doesn't get
@@ -401,7 +401,7 @@ const mergeTreeGroupOpSchema = {
401
401
  maximum: 3 /* MergeTreeDeltaType.GROUP */,
402
402
  },
403
403
  },
404
- required: [ "ops", "type" ],
404
+ required: ["ops", "type"],
405
405
  additionalProperties: false,
406
406
  };
407
407
 
@@ -415,7 +415,7 @@ export const opContentsMergeTreeDeltaOpSchema = {
415
415
  address: { type: "string" },
416
416
  contents: { $ref: "#/definitions/deltaOp" },
417
417
  },
418
- required: [ "address", "contents" ],
418
+ required: ["address", "contents"],
419
419
  additionalProperties: false,
420
420
  };
421
421
 
@@ -430,6 +430,6 @@ export const opContentsMergeTreeGroupOpSchema = {
430
430
  address: { type: "string" },
431
431
  contents: { $ref: "#/definitions/groupOp" },
432
432
  },
433
- required: [ "address", "contents" ],
433
+ required: ["address", "contents"],
434
434
  additionalProperties: false,
435
435
  };