Skip to content

Commit 55f1acb

Browse files
committed
Undo the format change
1 parent 635fe69 commit 55f1acb

File tree

1 file changed

+45
-116
lines changed

1 file changed

+45
-116
lines changed

inputfiles/overridingTypes.jsonc

Lines changed: 45 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@
4141
{
4242
"name": "id",
4343
"optional": false,
44-
"additionalTypes": [
45-
"undefined"
46-
]
44+
"additionalTypes": ["undefined"]
4745
}
4846
]
4947
}
@@ -75,9 +73,7 @@
7573
{
7674
"name": "id",
7775
"optional": false,
78-
"additionalTypes": [
79-
"undefined"
80-
]
76+
"additionalTypes": ["undefined"]
8177
}
8278
]
8379
}
@@ -1098,13 +1094,13 @@
10981094
}
10991095
},
11001096
"FontFace": {
1101-
"properties": {
1102-
"property": {
1103-
"display": {
1104-
"type": "FontDisplay"
1105-
}
1106-
}
1097+
"properties": {
1098+
"property": {
1099+
"display": {
1100+
"type": "FontDisplay"
1101+
}
11071102
}
1103+
}
11081104
},
11091105
"Element": {
11101106
"methods": {
@@ -1225,11 +1221,7 @@
12251221
"param": [
12261222
{
12271223
"name": "algorithm",
1228-
"additionalTypes": [
1229-
"EcdhKeyDeriveParams",
1230-
"HkdfParams",
1231-
"Pbkdf2Params"
1232-
]
1224+
"additionalTypes": ["EcdhKeyDeriveParams", "HkdfParams", "Pbkdf2Params"]
12331225
}
12341226
]
12351227
}
@@ -1241,20 +1233,11 @@
12411233
"param": [
12421234
{
12431235
"name": "algorithm",
1244-
"additionalTypes": [
1245-
"EcdhKeyDeriveParams",
1246-
"HkdfParams",
1247-
"Pbkdf2Params"
1248-
]
1236+
"additionalTypes": ["EcdhKeyDeriveParams", "HkdfParams", "Pbkdf2Params"]
12491237
},
12501238
{
12511239
"name": "derivedKeyType",
1252-
"additionalTypes": [
1253-
"AesDerivedKeyParams",
1254-
"HmacImportParams",
1255-
"HkdfParams",
1256-
"Pbkdf2Params"
1257-
]
1240+
"additionalTypes": ["AesDerivedKeyParams", "HmacImportParams", "HkdfParams", "Pbkdf2Params"]
12581241
}
12591242
],
12601243
"overrideType": "Promise<CryptoKey>"
@@ -1275,12 +1258,7 @@
12751258
"param": [
12761259
{
12771260
"name": "algorithm",
1278-
"additionalTypes": [
1279-
"RsaOaepParams",
1280-
"AesCtrParams",
1281-
"AesCbcParams",
1282-
"AesGcmParams"
1283-
]
1261+
"additionalTypes": ["RsaOaepParams", "AesCtrParams", "AesCbcParams", "AesGcmParams"]
12841262
}
12851263
]
12861264
}
@@ -1335,12 +1313,7 @@
13351313
},
13361314
{
13371315
"name": "algorithm",
1338-
"additionalTypes": [
1339-
"RsaHashedImportParams",
1340-
"EcKeyImportParams",
1341-
"HmacImportParams",
1342-
"AesKeyAlgorithm"
1343-
]
1316+
"additionalTypes": ["RsaHashedImportParams", "EcKeyImportParams", "HmacImportParams", "AesKeyAlgorithm"]
13441317
}
13451318
]
13461319
}
@@ -1357,10 +1330,7 @@
13571330
"param": [
13581331
{
13591332
"name": "algorithm",
1360-
"additionalTypes": [
1361-
"RsaPssParams",
1362-
"EcdsaParams"
1363-
]
1333+
"additionalTypes": ["RsaPssParams", "EcdsaParams"]
13641334
}
13651335
],
13661336
"overrideType": "Promise<ArrayBuffer>"
@@ -1373,21 +1343,11 @@
13731343
"param": [
13741344
{
13751345
"name": "unwrapAlgorithm",
1376-
"additionalTypes": [
1377-
"RsaOaepParams",
1378-
"AesCtrParams",
1379-
"AesCbcParams",
1380-
"AesGcmParams"
1381-
]
1346+
"additionalTypes": ["RsaOaepParams", "AesCtrParams", "AesCbcParams", "AesGcmParams"]
13821347
},
13831348
{
13841349
"name": "unwrappedKeyAlgorithm",
1385-
"additionalTypes": [
1386-
"RsaHashedImportParams",
1387-
"EcKeyImportParams",
1388-
"HmacImportParams",
1389-
"AesKeyAlgorithm"
1390-
]
1350+
"additionalTypes": ["RsaHashedImportParams", "EcKeyImportParams", "HmacImportParams", "AesKeyAlgorithm"]
13911351
}
13921352
]
13931353
}
@@ -1399,10 +1359,7 @@
13991359
"param": [
14001360
{
14011361
"name": "algorithm",
1402-
"additionalTypes": [
1403-
"RsaPssParams",
1404-
"EcdsaParams"
1405-
]
1362+
"additionalTypes": ["RsaPssParams", "EcdsaParams"]
14061363
}
14071364
],
14081365
"overrideType": "Promise<boolean>"
@@ -1415,12 +1372,7 @@
14151372
"param": [
14161373
{
14171374
"name": "wrapAlgorithm",
1418-
"additionalTypes": [
1419-
"RsaOaepParams",
1420-
"AesCtrParams",
1421-
"AesCbcParams",
1422-
"AesGcmParams"
1423-
]
1375+
"additionalTypes": ["RsaOaepParams", "AesCtrParams", "AesCbcParams", "AesGcmParams"]
14241376
}
14251377
],
14261378
"overrideType": "Promise<ArrayBuffer>"
@@ -1598,9 +1550,7 @@
15981550
"param": [
15991551
{
16001552
"name": "base",
1601-
"additionalTypes": [
1602-
"URL"
1603-
]
1553+
"additionalTypes": ["URL"]
16041554
}
16051555
]
16061556
}
@@ -1614,9 +1564,7 @@
16141564
"param": [
16151565
{
16161566
"name": "base",
1617-
"additionalTypes": [
1618-
"URL"
1619-
]
1567+
"additionalTypes": ["URL"]
16201568
}
16211569
]
16221570
}
@@ -1628,9 +1576,7 @@
16281576
"param": [
16291577
{
16301578
"name": "base",
1631-
"additionalTypes": [
1632-
"URL"
1633-
]
1579+
"additionalTypes": ["URL"]
16341580
}
16351581
]
16361582
}
@@ -2036,19 +1982,19 @@
20361982
}
20371983
},
20381984
"Blob": {
2039-
"methods": {
2040-
"method": {
2041-
"stream": {
2042-
"signature": {
2043-
"0": {
2044-
"subtype": {
2045-
"type": "Uint8Array"
2046-
}
2047-
}
2048-
}
1985+
"methods": {
1986+
"method": {
1987+
"stream": {
1988+
"signature": {
1989+
"0": {
1990+
"subtype": {
1991+
"type": "Uint8Array"
20491992
}
1993+
}
20501994
}
1995+
}
20511996
}
1997+
}
20521998
},
20531999
"ReadableStream": {
20542000
"typeParameters": [
@@ -2071,9 +2017,7 @@
20712017
"overrideType": "{ highWaterMark?: number }"
20722018
}
20732019
],
2074-
"subtype": {
2075-
"type": "Uint8Array"
2076-
}
2020+
"subtype": { "type": "Uint8Array" }
20772021
},
20782022
"1": {
20792023
"typeParameters": [
@@ -2200,9 +2144,7 @@
22002144
"param": [
22012145
{
22022146
"name": "stream",
2203-
"subtype": {
2204-
"type": "Uint8Array"
2205-
}
2147+
"subtype": { "type": "Uint8Array" }
22062148
}
22072149
]
22082150
}
@@ -2510,17 +2452,13 @@
25102452
"name": "readable",
25112453
"readonly": true,
25122454
"type": "ReadableStream",
2513-
"subtype": {
2514-
"type": "Uint8Array"
2515-
}
2455+
"subtype": { "type": "Uint8Array" }
25162456
},
25172457
"writable": {
25182458
"name": "writable",
25192459
"readonly": true,
25202460
"type": "WritableStream",
2521-
"subtype": {
2522-
"type": "BufferSource"
2523-
}
2461+
"subtype": { "type": "BufferSource" }
25242462
}
25252463
}
25262464
}
@@ -2532,17 +2470,13 @@
25322470
"name": "readable",
25332471
"readonly": true,
25342472
"type": "ReadableStream",
2535-
"subtype": {
2536-
"type": "Uint8Array"
2537-
}
2473+
"subtype": { "type": "Uint8Array" }
25382474
},
25392475
"writable": {
25402476
"name": "writable",
25412477
"readonly": true,
25422478
"type": "WritableStream",
2543-
"subtype": {
2544-
"type": "BufferSource"
2545-
}
2479+
"subtype": { "type": "BufferSource" }
25462480
}
25472481
}
25482482
}
@@ -2554,17 +2488,13 @@
25542488
"name": "readable",
25552489
"readonly": true,
25562490
"type": "ReadableStream",
2557-
"subtype": {
2558-
"type": "DOMString"
2559-
}
2491+
"subtype": { "type": "DOMString" }
25602492
},
25612493
"writable": {
25622494
"name": "writable",
25632495
"readonly": true,
25642496
"type": "WritableStream",
2565-
"subtype": {
2566-
"type": "BufferSource"
2567-
}
2497+
"subtype": { "type": "BufferSource" }
25682498
}
25692499
}
25702500
}
@@ -2576,17 +2506,13 @@
25762506
"name": "readable",
25772507
"readonly": true,
25782508
"type": "ReadableStream",
2579-
"subtype": {
2580-
"type": "Uint8Array"
2581-
}
2509+
"subtype": { "type": "Uint8Array" }
25822510
},
25832511
"writable": {
25842512
"name": "writable",
25852513
"readonly": true,
25862514
"type": "WritableStream",
2587-
"subtype": {
2588-
"type": "DOMString"
2589-
}
2515+
"subtype": { "type": "DOMString" }
25902516
}
25912517
}
25922518
}
@@ -2821,10 +2747,12 @@
28212747
}
28222748
}
28232749
},
2750+
28242751
// https://github.com/w3c/media-source/pull/282, but not supported anywhere yet
28252752
"MediaSource": {
28262753
"exposed": "Window"
28272754
},
2755+
28282756
"SourceBuffer": {
28292757
"exposed": "Window"
28302758
},
@@ -2913,6 +2841,7 @@
29132841
}
29142842
}
29152843
},
2844+
29162845
// TODO: The following only exists to accept bcd@6.0.24 progressively,
29172846
// and should be removed.
29182847
"TrustedHTML": {
@@ -3356,4 +3285,4 @@
33563285
}
33573286
}
33583287
]
3359-
}
3288+
}

0 commit comments

Comments
 (0)