@dcl/content-validator 1.0.0-20220104134007.commit-80072ed

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.
Files changed (84) hide show
  1. package/README.md +29 -0
  2. package/dist/content-validator.api.json +1177 -0
  3. package/dist/index.d.ts +8 -0
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/index.js +32 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/tsdoc-metadata.json +11 -0
  8. package/dist/types.d.ts +114 -0
  9. package/dist/types.d.ts.map +1 -0
  10. package/dist/types.js +36 -0
  11. package/dist/types.js.map +1 -0
  12. package/dist/validations/access-checker/access.d.ts +7 -0
  13. package/dist/validations/access-checker/access.d.ts.map +1 -0
  14. package/dist/validations/access-checker/access.js +28 -0
  15. package/dist/validations/access-checker/access.js.map +1 -0
  16. package/dist/validations/access-checker/profiles.d.ts +7 -0
  17. package/dist/validations/access-checker/profiles.d.ts.map +1 -0
  18. package/dist/validations/access-checker/profiles.js +30 -0
  19. package/dist/validations/access-checker/profiles.js.map +1 -0
  20. package/dist/validations/access-checker/scenes.d.ts +7 -0
  21. package/dist/validations/access-checker/scenes.d.ts.map +1 -0
  22. package/dist/validations/access-checker/scenes.js +246 -0
  23. package/dist/validations/access-checker/scenes.js.map +1 -0
  24. package/dist/validations/access-checker/wearables.d.ts +20 -0
  25. package/dist/validations/access-checker/wearables.d.ts.map +1 -0
  26. package/dist/validations/access-checker/wearables.js +247 -0
  27. package/dist/validations/access-checker/wearables.js.map +1 -0
  28. package/dist/validations/content.d.ts +7 -0
  29. package/dist/validations/content.d.ts.map +1 -0
  30. package/dist/validations/content.js +48 -0
  31. package/dist/validations/content.js.map +1 -0
  32. package/dist/validations/decentraland-address.d.ts +6 -0
  33. package/dist/validations/decentraland-address.d.ts.map +1 -0
  34. package/dist/validations/decentraland-address.js +19 -0
  35. package/dist/validations/decentraland-address.js.map +1 -0
  36. package/dist/validations/entity-structure.d.ts +7 -0
  37. package/dist/validations/entity-structure.d.ts.map +1 -0
  38. package/dist/validations/entity-structure.js +21 -0
  39. package/dist/validations/entity-structure.js.map +1 -0
  40. package/dist/validations/index.d.ts +22 -0
  41. package/dist/validations/index.d.ts.map +1 -0
  42. package/dist/validations/index.js +76 -0
  43. package/dist/validations/index.js.map +1 -0
  44. package/dist/validations/ipfs-hashing.d.ts +7 -0
  45. package/dist/validations/ipfs-hashing.d.ts.map +1 -0
  46. package/dist/validations/ipfs-hashing.js +25 -0
  47. package/dist/validations/ipfs-hashing.js.map +1 -0
  48. package/dist/validations/metadata-schema.d.ts +6 -0
  49. package/dist/validations/metadata-schema.d.ts.map +1 -0
  50. package/dist/validations/metadata-schema.js +26 -0
  51. package/dist/validations/metadata-schema.js.map +1 -0
  52. package/dist/validations/must-have-failed-before.d.ts +6 -0
  53. package/dist/validations/must-have-failed-before.d.ts.map +1 -0
  54. package/dist/validations/must-have-failed-before.js +13 -0
  55. package/dist/validations/must-have-failed-before.js.map +1 -0
  56. package/dist/validations/no-newer.d.ts +6 -0
  57. package/dist/validations/no-newer.d.ts.map +1 -0
  58. package/dist/validations/no-newer.js +14 -0
  59. package/dist/validations/no-newer.js.map +1 -0
  60. package/dist/validations/no-redeploy.d.ts +6 -0
  61. package/dist/validations/no-redeploy.d.ts.map +1 -0
  62. package/dist/validations/no-redeploy.js +13 -0
  63. package/dist/validations/no-redeploy.js.map +1 -0
  64. package/dist/validations/rate-limit.d.ts +6 -0
  65. package/dist/validations/rate-limit.d.ts.map +1 -0
  66. package/dist/validations/rate-limit.js +13 -0
  67. package/dist/validations/rate-limit.js.map +1 -0
  68. package/dist/validations/recent.d.ts +7 -0
  69. package/dist/validations/recent.d.ts.map +1 -0
  70. package/dist/validations/recent.js +27 -0
  71. package/dist/validations/recent.js.map +1 -0
  72. package/dist/validations/signature.d.ts +7 -0
  73. package/dist/validations/signature.d.ts.map +1 -0
  74. package/dist/validations/signature.js +17 -0
  75. package/dist/validations/signature.js.map +1 -0
  76. package/dist/validations/size.d.ts +8 -0
  77. package/dist/validations/size.d.ts.map +1 -0
  78. package/dist/validations/size.js +39 -0
  79. package/dist/validations/size.js.map +1 -0
  80. package/dist/validations/wearable.d.ts +10 -0
  81. package/dist/validations/wearable.d.ts.map +1 -0
  82. package/dist/validations/wearable.js +76 -0
  83. package/dist/validations/wearable.js.map +1 -0
  84. package/package.json +47 -0
@@ -0,0 +1,1177 @@
1
+ {
2
+ "metadata": {
3
+ "toolPackage": "@microsoft/api-extractor",
4
+ "toolVersion": "7.19.3",
5
+ "schemaVersion": 1004,
6
+ "oldestForwardsCompatibleVersion": 1001,
7
+ "tsdocConfig": {
8
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
+ "noStandardTags": true,
10
+ "tagDefinitions": [
11
+ {
12
+ "tagName": "@alpha",
13
+ "syntaxKind": "modifier"
14
+ },
15
+ {
16
+ "tagName": "@beta",
17
+ "syntaxKind": "modifier"
18
+ },
19
+ {
20
+ "tagName": "@defaultValue",
21
+ "syntaxKind": "block"
22
+ },
23
+ {
24
+ "tagName": "@decorator",
25
+ "syntaxKind": "block",
26
+ "allowMultiple": true
27
+ },
28
+ {
29
+ "tagName": "@deprecated",
30
+ "syntaxKind": "block"
31
+ },
32
+ {
33
+ "tagName": "@eventProperty",
34
+ "syntaxKind": "modifier"
35
+ },
36
+ {
37
+ "tagName": "@example",
38
+ "syntaxKind": "block",
39
+ "allowMultiple": true
40
+ },
41
+ {
42
+ "tagName": "@experimental",
43
+ "syntaxKind": "modifier"
44
+ },
45
+ {
46
+ "tagName": "@inheritDoc",
47
+ "syntaxKind": "inline"
48
+ },
49
+ {
50
+ "tagName": "@internal",
51
+ "syntaxKind": "modifier"
52
+ },
53
+ {
54
+ "tagName": "@label",
55
+ "syntaxKind": "inline"
56
+ },
57
+ {
58
+ "tagName": "@link",
59
+ "syntaxKind": "inline",
60
+ "allowMultiple": true
61
+ },
62
+ {
63
+ "tagName": "@override",
64
+ "syntaxKind": "modifier"
65
+ },
66
+ {
67
+ "tagName": "@packageDocumentation",
68
+ "syntaxKind": "modifier"
69
+ },
70
+ {
71
+ "tagName": "@param",
72
+ "syntaxKind": "block",
73
+ "allowMultiple": true
74
+ },
75
+ {
76
+ "tagName": "@privateRemarks",
77
+ "syntaxKind": "block"
78
+ },
79
+ {
80
+ "tagName": "@public",
81
+ "syntaxKind": "modifier"
82
+ },
83
+ {
84
+ "tagName": "@readonly",
85
+ "syntaxKind": "modifier"
86
+ },
87
+ {
88
+ "tagName": "@remarks",
89
+ "syntaxKind": "block"
90
+ },
91
+ {
92
+ "tagName": "@returns",
93
+ "syntaxKind": "block"
94
+ },
95
+ {
96
+ "tagName": "@sealed",
97
+ "syntaxKind": "modifier"
98
+ },
99
+ {
100
+ "tagName": "@see",
101
+ "syntaxKind": "block"
102
+ },
103
+ {
104
+ "tagName": "@throws",
105
+ "syntaxKind": "block",
106
+ "allowMultiple": true
107
+ },
108
+ {
109
+ "tagName": "@typeParam",
110
+ "syntaxKind": "block",
111
+ "allowMultiple": true
112
+ },
113
+ {
114
+ "tagName": "@virtual",
115
+ "syntaxKind": "modifier"
116
+ },
117
+ {
118
+ "tagName": "@betaDocumentation",
119
+ "syntaxKind": "modifier"
120
+ },
121
+ {
122
+ "tagName": "@internalRemarks",
123
+ "syntaxKind": "block"
124
+ },
125
+ {
126
+ "tagName": "@preapproved",
127
+ "syntaxKind": "modifier"
128
+ }
129
+ ],
130
+ "supportForTags": {
131
+ "@alpha": true,
132
+ "@beta": true,
133
+ "@defaultValue": true,
134
+ "@decorator": true,
135
+ "@deprecated": true,
136
+ "@eventProperty": true,
137
+ "@example": true,
138
+ "@experimental": true,
139
+ "@inheritDoc": true,
140
+ "@internal": true,
141
+ "@label": true,
142
+ "@link": true,
143
+ "@override": true,
144
+ "@packageDocumentation": true,
145
+ "@param": true,
146
+ "@privateRemarks": true,
147
+ "@public": true,
148
+ "@readonly": true,
149
+ "@remarks": true,
150
+ "@returns": true,
151
+ "@sealed": true,
152
+ "@see": true,
153
+ "@throws": true,
154
+ "@typeParam": true,
155
+ "@virtual": true,
156
+ "@betaDocumentation": true,
157
+ "@internalRemarks": true,
158
+ "@preapproved": true
159
+ }
160
+ }
161
+ },
162
+ "kind": "Package",
163
+ "canonicalReference": "@dcl/content-validator!",
164
+ "docComment": "",
165
+ "name": "@dcl/content-validator",
166
+ "members": [
167
+ {
168
+ "kind": "EntryPoint",
169
+ "canonicalReference": "@dcl/content-validator!",
170
+ "name": "",
171
+ "members": [
172
+ {
173
+ "kind": "Variable",
174
+ "canonicalReference": "@dcl/content-validator!ADR_X_TIMESTAMP:var",
175
+ "docComment": "/**\n * @public\n */\n",
176
+ "excerptTokens": [
177
+ {
178
+ "kind": "Content",
179
+ "text": "ADR_X_TIMESTAMP = 1648954800000"
180
+ }
181
+ ],
182
+ "releaseTag": "Public",
183
+ "name": "ADR_X_TIMESTAMP",
184
+ "variableTypeTokenRange": {
185
+ "startIndex": 0,
186
+ "endIndex": 0
187
+ }
188
+ },
189
+ {
190
+ "kind": "Variable",
191
+ "canonicalReference": "@dcl/content-validator!calculateDeploymentSize:var",
192
+ "docComment": "/**\n * @public\n */\n",
193
+ "excerptTokens": [
194
+ {
195
+ "kind": "Content",
196
+ "text": "calculateDeploymentSize: "
197
+ },
198
+ {
199
+ "kind": "Content",
200
+ "text": "(deployment: "
201
+ },
202
+ {
203
+ "kind": "Reference",
204
+ "text": "DeploymentToValidate",
205
+ "canonicalReference": "@dcl/content-validator!DeploymentToValidate:type"
206
+ },
207
+ {
208
+ "kind": "Content",
209
+ "text": ", externalCalls: "
210
+ },
211
+ {
212
+ "kind": "Reference",
213
+ "text": "ExternalCalls",
214
+ "canonicalReference": "@dcl/content-validator!ExternalCalls:type"
215
+ },
216
+ {
217
+ "kind": "Content",
218
+ "text": ") => "
219
+ },
220
+ {
221
+ "kind": "Reference",
222
+ "text": "Promise",
223
+ "canonicalReference": "!Promise:interface"
224
+ },
225
+ {
226
+ "kind": "Content",
227
+ "text": "<number | string>"
228
+ }
229
+ ],
230
+ "releaseTag": "Public",
231
+ "name": "calculateDeploymentSize",
232
+ "variableTypeTokenRange": {
233
+ "startIndex": 1,
234
+ "endIndex": 8
235
+ }
236
+ },
237
+ {
238
+ "kind": "TypeAlias",
239
+ "canonicalReference": "@dcl/content-validator!ConditionalValidation:type",
240
+ "docComment": "/**\n * @public\n */\n",
241
+ "excerptTokens": [
242
+ {
243
+ "kind": "Content",
244
+ "text": "export declare type ConditionalValidation = "
245
+ },
246
+ {
247
+ "kind": "Content",
248
+ "text": "{\n predicate: (args: "
249
+ },
250
+ {
251
+ "kind": "Reference",
252
+ "text": "ValidationArgs",
253
+ "canonicalReference": "@dcl/content-validator!ValidationArgs:type"
254
+ },
255
+ {
256
+ "kind": "Content",
257
+ "text": ") => boolean | "
258
+ },
259
+ {
260
+ "kind": "Reference",
261
+ "text": "Promise",
262
+ "canonicalReference": "!Promise:interface"
263
+ },
264
+ {
265
+ "kind": "Content",
266
+ "text": "<boolean>;\n message: (args: "
267
+ },
268
+ {
269
+ "kind": "Reference",
270
+ "text": "ValidationArgs",
271
+ "canonicalReference": "@dcl/content-validator!ValidationArgs:type"
272
+ },
273
+ {
274
+ "kind": "Content",
275
+ "text": ") => string;\n}"
276
+ },
277
+ {
278
+ "kind": "Content",
279
+ "text": ";"
280
+ }
281
+ ],
282
+ "releaseTag": "Public",
283
+ "name": "ConditionalValidation",
284
+ "typeTokenRange": {
285
+ "startIndex": 1,
286
+ "endIndex": 8
287
+ }
288
+ },
289
+ {
290
+ "kind": "Variable",
291
+ "canonicalReference": "@dcl/content-validator!conditionalValidation:var",
292
+ "docComment": "/**\n * @public\n */\n",
293
+ "excerptTokens": [
294
+ {
295
+ "kind": "Content",
296
+ "text": "conditionalValidation: "
297
+ },
298
+ {
299
+ "kind": "Content",
300
+ "text": "(condition: "
301
+ },
302
+ {
303
+ "kind": "Reference",
304
+ "text": "ConditionalValidation",
305
+ "canonicalReference": "@dcl/content-validator!ConditionalValidation:type"
306
+ },
307
+ {
308
+ "kind": "Content",
309
+ "text": ") => "
310
+ },
311
+ {
312
+ "kind": "Reference",
313
+ "text": "Validation",
314
+ "canonicalReference": "@dcl/content-validator!Validation:type"
315
+ }
316
+ ],
317
+ "releaseTag": "Public",
318
+ "name": "conditionalValidation",
319
+ "variableTypeTokenRange": {
320
+ "startIndex": 1,
321
+ "endIndex": 5
322
+ }
323
+ },
324
+ {
325
+ "kind": "TypeAlias",
326
+ "canonicalReference": "@dcl/content-validator!DeploymentToValidate:type",
327
+ "docComment": "/**\n * Deployment object to be validated by the validator.\n *\n * @public\n */\n",
328
+ "excerptTokens": [
329
+ {
330
+ "kind": "Content",
331
+ "text": "export declare type DeploymentToValidate = "
332
+ },
333
+ {
334
+ "kind": "Content",
335
+ "text": "{\n entity: "
336
+ },
337
+ {
338
+ "kind": "Reference",
339
+ "text": "Entity",
340
+ "canonicalReference": "dcl-catalyst-commons!Entity:type"
341
+ },
342
+ {
343
+ "kind": "Content",
344
+ "text": ";\n files: "
345
+ },
346
+ {
347
+ "kind": "Reference",
348
+ "text": "Map",
349
+ "canonicalReference": "!Map:interface"
350
+ },
351
+ {
352
+ "kind": "Content",
353
+ "text": "<"
354
+ },
355
+ {
356
+ "kind": "Reference",
357
+ "text": "ContentFileHash",
358
+ "canonicalReference": "dcl-catalyst-commons!ContentFileHash:type"
359
+ },
360
+ {
361
+ "kind": "Content",
362
+ "text": ", "
363
+ },
364
+ {
365
+ "kind": "Reference",
366
+ "text": "Uint8Array",
367
+ "canonicalReference": "!Uint8Array:interface"
368
+ },
369
+ {
370
+ "kind": "Content",
371
+ "text": ">;\n auditInfo: "
372
+ },
373
+ {
374
+ "kind": "Reference",
375
+ "text": "LocalDeploymentAuditInfo",
376
+ "canonicalReference": "@dcl/content-validator!LocalDeploymentAuditInfo:type"
377
+ },
378
+ {
379
+ "kind": "Content",
380
+ "text": ";\n context: 'LOCAL' | 'SYNCED';\n}"
381
+ },
382
+ {
383
+ "kind": "Content",
384
+ "text": ";"
385
+ }
386
+ ],
387
+ "releaseTag": "Public",
388
+ "name": "DeploymentToValidate",
389
+ "typeTokenRange": {
390
+ "startIndex": 1,
391
+ "endIndex": 12
392
+ }
393
+ },
394
+ {
395
+ "kind": "TypeAlias",
396
+ "canonicalReference": "@dcl/content-validator!EntityWithEthAddress:type",
397
+ "docComment": "/**\n * @public\n */\n",
398
+ "excerptTokens": [
399
+ {
400
+ "kind": "Content",
401
+ "text": "export declare type EntityWithEthAddress = "
402
+ },
403
+ {
404
+ "kind": "Reference",
405
+ "text": "Entity",
406
+ "canonicalReference": "dcl-catalyst-commons!Entity:type"
407
+ },
408
+ {
409
+ "kind": "Content",
410
+ "text": " & {\n ethAddress: string;\n}"
411
+ },
412
+ {
413
+ "kind": "Content",
414
+ "text": ";"
415
+ }
416
+ ],
417
+ "releaseTag": "Public",
418
+ "name": "EntityWithEthAddress",
419
+ "typeTokenRange": {
420
+ "startIndex": 1,
421
+ "endIndex": 3
422
+ }
423
+ },
424
+ {
425
+ "kind": "TypeAlias",
426
+ "canonicalReference": "@dcl/content-validator!Errors:type",
427
+ "docComment": "/**\n * @public\n */\n",
428
+ "excerptTokens": [
429
+ {
430
+ "kind": "Content",
431
+ "text": "export declare type Errors = "
432
+ },
433
+ {
434
+ "kind": "Content",
435
+ "text": "string[]"
436
+ },
437
+ {
438
+ "kind": "Content",
439
+ "text": ";"
440
+ }
441
+ ],
442
+ "releaseTag": "Public",
443
+ "name": "Errors",
444
+ "typeTokenRange": {
445
+ "startIndex": 1,
446
+ "endIndex": 2
447
+ }
448
+ },
449
+ {
450
+ "kind": "TypeAlias",
451
+ "canonicalReference": "@dcl/content-validator!ExternalCalls:type",
452
+ "docComment": "/**\n * External calls interface to be provided by the servers.\n *\n * @public\n */\n",
453
+ "excerptTokens": [
454
+ {
455
+ "kind": "Content",
456
+ "text": "export declare type ExternalCalls = "
457
+ },
458
+ {
459
+ "kind": "Content",
460
+ "text": "{\n areThereNewerEntities: (entity: "
461
+ },
462
+ {
463
+ "kind": "Reference",
464
+ "text": "Entity",
465
+ "canonicalReference": "dcl-catalyst-commons!Entity:type"
466
+ },
467
+ {
468
+ "kind": "Content",
469
+ "text": ") => "
470
+ },
471
+ {
472
+ "kind": "Reference",
473
+ "text": "Promise",
474
+ "canonicalReference": "!Promise:interface"
475
+ },
476
+ {
477
+ "kind": "Content",
478
+ "text": "<boolean>;\n isFailedDeployment: (entityType: "
479
+ },
480
+ {
481
+ "kind": "Reference",
482
+ "text": "EntityType",
483
+ "canonicalReference": "dcl-catalyst-commons!EntityType:enum"
484
+ },
485
+ {
486
+ "kind": "Content",
487
+ "text": ", entityId: "
488
+ },
489
+ {
490
+ "kind": "Reference",
491
+ "text": "EntityId",
492
+ "canonicalReference": "dcl-catalyst-commons!EntityId:type"
493
+ },
494
+ {
495
+ "kind": "Content",
496
+ "text": ") => "
497
+ },
498
+ {
499
+ "kind": "Reference",
500
+ "text": "Promise",
501
+ "canonicalReference": "!Promise:interface"
502
+ },
503
+ {
504
+ "kind": "Content",
505
+ "text": "<boolean>;\n isContentStoredAlready: (hashes: "
506
+ },
507
+ {
508
+ "kind": "Reference",
509
+ "text": "ContentFileHash",
510
+ "canonicalReference": "dcl-catalyst-commons!ContentFileHash:type"
511
+ },
512
+ {
513
+ "kind": "Content",
514
+ "text": "[]) => "
515
+ },
516
+ {
517
+ "kind": "Reference",
518
+ "text": "Promise",
519
+ "canonicalReference": "!Promise:interface"
520
+ },
521
+ {
522
+ "kind": "Content",
523
+ "text": "<"
524
+ },
525
+ {
526
+ "kind": "Reference",
527
+ "text": "Map",
528
+ "canonicalReference": "!Map:interface"
529
+ },
530
+ {
531
+ "kind": "Content",
532
+ "text": "<"
533
+ },
534
+ {
535
+ "kind": "Reference",
536
+ "text": "ContentFileHash",
537
+ "canonicalReference": "dcl-catalyst-commons!ContentFileHash:type"
538
+ },
539
+ {
540
+ "kind": "Content",
541
+ "text": ", boolean>>;\n isEntityDeployedAlready: () => "
542
+ },
543
+ {
544
+ "kind": "Reference",
545
+ "text": "Promise",
546
+ "canonicalReference": "!Promise:interface"
547
+ },
548
+ {
549
+ "kind": "Content",
550
+ "text": "<boolean>;\n isEntityRateLimited: (entity: "
551
+ },
552
+ {
553
+ "kind": "Reference",
554
+ "text": "Entity",
555
+ "canonicalReference": "dcl-catalyst-commons!Entity:type"
556
+ },
557
+ {
558
+ "kind": "Content",
559
+ "text": ") => "
560
+ },
561
+ {
562
+ "kind": "Reference",
563
+ "text": "Promise",
564
+ "canonicalReference": "!Promise:interface"
565
+ },
566
+ {
567
+ "kind": "Content",
568
+ "text": "<boolean>;\n fetchContentFileSize: (hash: string) => "
569
+ },
570
+ {
571
+ "kind": "Reference",
572
+ "text": "Promise",
573
+ "canonicalReference": "!Promise:interface"
574
+ },
575
+ {
576
+ "kind": "Content",
577
+ "text": "<number | undefined>;\n validateSignature: (entityId: "
578
+ },
579
+ {
580
+ "kind": "Reference",
581
+ "text": "EntityId",
582
+ "canonicalReference": "dcl-catalyst-commons!EntityId:type"
583
+ },
584
+ {
585
+ "kind": "Content",
586
+ "text": ", auditInfo: "
587
+ },
588
+ {
589
+ "kind": "Reference",
590
+ "text": "LocalDeploymentAuditInfo",
591
+ "canonicalReference": "@dcl/content-validator!LocalDeploymentAuditInfo:type"
592
+ },
593
+ {
594
+ "kind": "Content",
595
+ "text": ", timestamp: number) => "
596
+ },
597
+ {
598
+ "kind": "Reference",
599
+ "text": "Promise",
600
+ "canonicalReference": "!Promise:interface"
601
+ },
602
+ {
603
+ "kind": "Content",
604
+ "text": "<{\n ok: boolean;\n message?: string;\n }>;\n getMaxUploadSizePerTypeInMB: (entityType: "
605
+ },
606
+ {
607
+ "kind": "Reference",
608
+ "text": "EntityType",
609
+ "canonicalReference": "dcl-catalyst-commons!EntityType:enum"
610
+ },
611
+ {
612
+ "kind": "Content",
613
+ "text": ") => number;\n ownerAddress: (auditInfo: "
614
+ },
615
+ {
616
+ "kind": "Reference",
617
+ "text": "LocalDeploymentAuditInfo",
618
+ "canonicalReference": "@dcl/content-validator!LocalDeploymentAuditInfo:type"
619
+ },
620
+ {
621
+ "kind": "Content",
622
+ "text": ") => string;\n isAddressOwnedByDecentraland: (address: string) => boolean;\n requestTtlBackwards: number;\n wearableSizeLimitInMB: number;\n queryGraph: "
623
+ },
624
+ {
625
+ "kind": "Reference",
626
+ "text": "Fetcher",
627
+ "canonicalReference": "dcl-catalyst-commons!Fetcher:class"
628
+ },
629
+ {
630
+ "kind": "Content",
631
+ "text": "['queryGraph'];\n subgraphs: {\n L1: {\n landManager: string;\n blocks: string;\n collections: string;\n };\n L2: {\n blocks: string;\n collections: string;\n };\n };\n}"
632
+ },
633
+ {
634
+ "kind": "Content",
635
+ "text": ";"
636
+ }
637
+ ],
638
+ "releaseTag": "Public",
639
+ "name": "ExternalCalls",
640
+ "typeTokenRange": {
641
+ "startIndex": 1,
642
+ "endIndex": 40
643
+ }
644
+ },
645
+ {
646
+ "kind": "Variable",
647
+ "canonicalReference": "@dcl/content-validator!fromErrors:var",
648
+ "docComment": "/**\n * @public\n */\n",
649
+ "excerptTokens": [
650
+ {
651
+ "kind": "Content",
652
+ "text": "fromErrors: "
653
+ },
654
+ {
655
+ "kind": "Content",
656
+ "text": "(...errors: "
657
+ },
658
+ {
659
+ "kind": "Reference",
660
+ "text": "Errors",
661
+ "canonicalReference": "@dcl/content-validator!Errors:type"
662
+ },
663
+ {
664
+ "kind": "Content",
665
+ "text": ") => "
666
+ },
667
+ {
668
+ "kind": "Reference",
669
+ "text": "ValidationResponse",
670
+ "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
671
+ }
672
+ ],
673
+ "releaseTag": "Public",
674
+ "name": "fromErrors",
675
+ "variableTypeTokenRange": {
676
+ "startIndex": 1,
677
+ "endIndex": 5
678
+ }
679
+ },
680
+ {
681
+ "kind": "TypeAlias",
682
+ "canonicalReference": "@dcl/content-validator!LocalDeploymentAuditInfo:type",
683
+ "docComment": "/**\n * @public\n */\n",
684
+ "excerptTokens": [
685
+ {
686
+ "kind": "Content",
687
+ "text": "export declare type LocalDeploymentAuditInfo = "
688
+ },
689
+ {
690
+ "kind": "Reference",
691
+ "text": "Pick",
692
+ "canonicalReference": "!Pick:type"
693
+ },
694
+ {
695
+ "kind": "Content",
696
+ "text": "<"
697
+ },
698
+ {
699
+ "kind": "Reference",
700
+ "text": "AuditInfo",
701
+ "canonicalReference": "dcl-catalyst-commons!AuditInfo:type"
702
+ },
703
+ {
704
+ "kind": "Content",
705
+ "text": ", 'authChain' | 'migrationData'>"
706
+ },
707
+ {
708
+ "kind": "Content",
709
+ "text": ";"
710
+ }
711
+ ],
712
+ "releaseTag": "Public",
713
+ "name": "LocalDeploymentAuditInfo",
714
+ "typeTokenRange": {
715
+ "startIndex": 1,
716
+ "endIndex": 5
717
+ }
718
+ },
719
+ {
720
+ "kind": "Variable",
721
+ "canonicalReference": "@dcl/content-validator!OK:var",
722
+ "docComment": "/**\n * @public\n */\n",
723
+ "excerptTokens": [
724
+ {
725
+ "kind": "Content",
726
+ "text": "OK: "
727
+ },
728
+ {
729
+ "kind": "Reference",
730
+ "text": "ValidationResponse",
731
+ "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
732
+ }
733
+ ],
734
+ "releaseTag": "Public",
735
+ "name": "OK",
736
+ "variableTypeTokenRange": {
737
+ "startIndex": 1,
738
+ "endIndex": 2
739
+ }
740
+ },
741
+ {
742
+ "kind": "Variable",
743
+ "canonicalReference": "@dcl/content-validator!statefulValidations:var",
744
+ "docComment": "/**\n * @public\n */\n",
745
+ "excerptTokens": [
746
+ {
747
+ "kind": "Content",
748
+ "text": "statefulValidations: "
749
+ },
750
+ {
751
+ "kind": "Reference",
752
+ "text": "Validation",
753
+ "canonicalReference": "@dcl/content-validator!Validation:type"
754
+ },
755
+ {
756
+ "kind": "Content",
757
+ "text": "[]"
758
+ }
759
+ ],
760
+ "releaseTag": "Public",
761
+ "name": "statefulValidations",
762
+ "variableTypeTokenRange": {
763
+ "startIndex": 1,
764
+ "endIndex": 3
765
+ }
766
+ },
767
+ {
768
+ "kind": "Variable",
769
+ "canonicalReference": "@dcl/content-validator!statelessValidations:var",
770
+ "docComment": "/**\n * @public\n */\n",
771
+ "excerptTokens": [
772
+ {
773
+ "kind": "Content",
774
+ "text": "statelessValidations: "
775
+ },
776
+ {
777
+ "kind": "Reference",
778
+ "text": "Validation",
779
+ "canonicalReference": "@dcl/content-validator!Validation:type"
780
+ },
781
+ {
782
+ "kind": "Content",
783
+ "text": "[]"
784
+ }
785
+ ],
786
+ "releaseTag": "Public",
787
+ "name": "statelessValidations",
788
+ "variableTypeTokenRange": {
789
+ "startIndex": 1,
790
+ "endIndex": 3
791
+ }
792
+ },
793
+ {
794
+ "kind": "Variable",
795
+ "canonicalReference": "@dcl/content-validator!validateInRow:var",
796
+ "docComment": "/**\n * @public\n */\n",
797
+ "excerptTokens": [
798
+ {
799
+ "kind": "Content",
800
+ "text": "validateInRow: "
801
+ },
802
+ {
803
+ "kind": "Content",
804
+ "text": "(validationArgs: "
805
+ },
806
+ {
807
+ "kind": "Reference",
808
+ "text": "ValidationArgs",
809
+ "canonicalReference": "@dcl/content-validator!ValidationArgs:type"
810
+ },
811
+ {
812
+ "kind": "Content",
813
+ "text": ", ...validations: "
814
+ },
815
+ {
816
+ "kind": "Reference",
817
+ "text": "Validation",
818
+ "canonicalReference": "@dcl/content-validator!Validation:type"
819
+ },
820
+ {
821
+ "kind": "Content",
822
+ "text": "[]) => "
823
+ },
824
+ {
825
+ "kind": "Reference",
826
+ "text": "Promise",
827
+ "canonicalReference": "!Promise:interface"
828
+ },
829
+ {
830
+ "kind": "Content",
831
+ "text": "<"
832
+ },
833
+ {
834
+ "kind": "Reference",
835
+ "text": "ValidationResponse",
836
+ "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
837
+ },
838
+ {
839
+ "kind": "Content",
840
+ "text": ">"
841
+ }
842
+ ],
843
+ "releaseTag": "Public",
844
+ "name": "validateInRow",
845
+ "variableTypeTokenRange": {
846
+ "startIndex": 1,
847
+ "endIndex": 10
848
+ }
849
+ },
850
+ {
851
+ "kind": "TypeAlias",
852
+ "canonicalReference": "@dcl/content-validator!Validation:type",
853
+ "docComment": "/**\n * @public\n */\n",
854
+ "excerptTokens": [
855
+ {
856
+ "kind": "Content",
857
+ "text": "export declare type Validation = "
858
+ },
859
+ {
860
+ "kind": "Content",
861
+ "text": "{\n validate: (args: "
862
+ },
863
+ {
864
+ "kind": "Reference",
865
+ "text": "ValidationArgs",
866
+ "canonicalReference": "@dcl/content-validator!ValidationArgs:type"
867
+ },
868
+ {
869
+ "kind": "Content",
870
+ "text": ") => "
871
+ },
872
+ {
873
+ "kind": "Reference",
874
+ "text": "ValidationResponse",
875
+ "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
876
+ },
877
+ {
878
+ "kind": "Content",
879
+ "text": " | "
880
+ },
881
+ {
882
+ "kind": "Reference",
883
+ "text": "Promise",
884
+ "canonicalReference": "!Promise:interface"
885
+ },
886
+ {
887
+ "kind": "Content",
888
+ "text": "<"
889
+ },
890
+ {
891
+ "kind": "Reference",
892
+ "text": "ValidationResponse",
893
+ "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
894
+ },
895
+ {
896
+ "kind": "Content",
897
+ "text": ">;\n}"
898
+ },
899
+ {
900
+ "kind": "Content",
901
+ "text": ";"
902
+ }
903
+ ],
904
+ "releaseTag": "Public",
905
+ "name": "Validation",
906
+ "typeTokenRange": {
907
+ "startIndex": 1,
908
+ "endIndex": 10
909
+ }
910
+ },
911
+ {
912
+ "kind": "TypeAlias",
913
+ "canonicalReference": "@dcl/content-validator!ValidationArgs:type",
914
+ "docComment": "/**\n * @public\n */\n",
915
+ "excerptTokens": [
916
+ {
917
+ "kind": "Content",
918
+ "text": "export declare type ValidationArgs = "
919
+ },
920
+ {
921
+ "kind": "Content",
922
+ "text": "{\n deployment: "
923
+ },
924
+ {
925
+ "kind": "Reference",
926
+ "text": "DeploymentToValidate",
927
+ "canonicalReference": "@dcl/content-validator!DeploymentToValidate:type"
928
+ },
929
+ {
930
+ "kind": "Content",
931
+ "text": ";\n externalCalls: "
932
+ },
933
+ {
934
+ "kind": "Reference",
935
+ "text": "ExternalCalls",
936
+ "canonicalReference": "@dcl/content-validator!ExternalCalls:type"
937
+ },
938
+ {
939
+ "kind": "Content",
940
+ "text": ";\n}"
941
+ },
942
+ {
943
+ "kind": "Content",
944
+ "text": ";"
945
+ }
946
+ ],
947
+ "releaseTag": "Public",
948
+ "name": "ValidationArgs",
949
+ "typeTokenRange": {
950
+ "startIndex": 1,
951
+ "endIndex": 6
952
+ }
953
+ },
954
+ {
955
+ "kind": "Variable",
956
+ "canonicalReference": "@dcl/content-validator!validationFailed:var",
957
+ "docComment": "/**\n * @public\n */\n",
958
+ "excerptTokens": [
959
+ {
960
+ "kind": "Content",
961
+ "text": "validationFailed: "
962
+ },
963
+ {
964
+ "kind": "Content",
965
+ "text": "(...error: string[]) => "
966
+ },
967
+ {
968
+ "kind": "Reference",
969
+ "text": "ValidationResponse",
970
+ "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
971
+ }
972
+ ],
973
+ "releaseTag": "Public",
974
+ "name": "validationFailed",
975
+ "variableTypeTokenRange": {
976
+ "startIndex": 1,
977
+ "endIndex": 3
978
+ }
979
+ },
980
+ {
981
+ "kind": "TypeAlias",
982
+ "canonicalReference": "@dcl/content-validator!ValidationResponse:type",
983
+ "docComment": "/**\n * @public\n */\n",
984
+ "excerptTokens": [
985
+ {
986
+ "kind": "Content",
987
+ "text": "export declare type ValidationResponse = "
988
+ },
989
+ {
990
+ "kind": "Content",
991
+ "text": "{\n ok: boolean;\n errors?: "
992
+ },
993
+ {
994
+ "kind": "Reference",
995
+ "text": "Errors",
996
+ "canonicalReference": "@dcl/content-validator!Errors:type"
997
+ },
998
+ {
999
+ "kind": "Content",
1000
+ "text": ";\n warnings?: "
1001
+ },
1002
+ {
1003
+ "kind": "Reference",
1004
+ "text": "Warnings",
1005
+ "canonicalReference": "@dcl/content-validator!Warnings:type"
1006
+ },
1007
+ {
1008
+ "kind": "Content",
1009
+ "text": ";\n}"
1010
+ },
1011
+ {
1012
+ "kind": "Content",
1013
+ "text": ";"
1014
+ }
1015
+ ],
1016
+ "releaseTag": "Public",
1017
+ "name": "ValidationResponse",
1018
+ "typeTokenRange": {
1019
+ "startIndex": 1,
1020
+ "endIndex": 6
1021
+ }
1022
+ },
1023
+ {
1024
+ "kind": "Interface",
1025
+ "canonicalReference": "@dcl/content-validator!Validator:interface",
1026
+ "docComment": "/**\n * Validator interface to be used by any server.\n *\n * @public\n */\n",
1027
+ "excerptTokens": [
1028
+ {
1029
+ "kind": "Content",
1030
+ "text": "export interface Validator "
1031
+ }
1032
+ ],
1033
+ "releaseTag": "Public",
1034
+ "name": "Validator",
1035
+ "members": [
1036
+ {
1037
+ "kind": "MethodSignature",
1038
+ "canonicalReference": "@dcl/content-validator!Validator#validate:member(1)",
1039
+ "docComment": "",
1040
+ "excerptTokens": [
1041
+ {
1042
+ "kind": "Content",
1043
+ "text": "validate(deployment: "
1044
+ },
1045
+ {
1046
+ "kind": "Reference",
1047
+ "text": "DeploymentToValidate",
1048
+ "canonicalReference": "@dcl/content-validator!DeploymentToValidate:type"
1049
+ },
1050
+ {
1051
+ "kind": "Content",
1052
+ "text": ", calls: "
1053
+ },
1054
+ {
1055
+ "kind": "Reference",
1056
+ "text": "ExternalCalls",
1057
+ "canonicalReference": "@dcl/content-validator!ExternalCalls:type"
1058
+ },
1059
+ {
1060
+ "kind": "Content",
1061
+ "text": "): "
1062
+ },
1063
+ {
1064
+ "kind": "Reference",
1065
+ "text": "Promise",
1066
+ "canonicalReference": "!Promise:interface"
1067
+ },
1068
+ {
1069
+ "kind": "Content",
1070
+ "text": "<"
1071
+ },
1072
+ {
1073
+ "kind": "Reference",
1074
+ "text": "ValidationResponse",
1075
+ "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
1076
+ },
1077
+ {
1078
+ "kind": "Content",
1079
+ "text": ">"
1080
+ },
1081
+ {
1082
+ "kind": "Content",
1083
+ "text": ";"
1084
+ }
1085
+ ],
1086
+ "isOptional": false,
1087
+ "returnTypeTokenRange": {
1088
+ "startIndex": 5,
1089
+ "endIndex": 9
1090
+ },
1091
+ "releaseTag": "Public",
1092
+ "overloadIndex": 1,
1093
+ "parameters": [
1094
+ {
1095
+ "parameterName": "deployment",
1096
+ "parameterTypeTokenRange": {
1097
+ "startIndex": 1,
1098
+ "endIndex": 2
1099
+ }
1100
+ },
1101
+ {
1102
+ "parameterName": "calls",
1103
+ "parameterTypeTokenRange": {
1104
+ "startIndex": 3,
1105
+ "endIndex": 4
1106
+ }
1107
+ }
1108
+ ],
1109
+ "name": "validate"
1110
+ }
1111
+ ],
1112
+ "extendsTokenRanges": []
1113
+ },
1114
+ {
1115
+ "kind": "Variable",
1116
+ "canonicalReference": "@dcl/content-validator!validator:var",
1117
+ "docComment": "/**\n * @public\n */\n",
1118
+ "excerptTokens": [
1119
+ {
1120
+ "kind": "Content",
1121
+ "text": "validator: "
1122
+ },
1123
+ {
1124
+ "kind": "Content",
1125
+ "text": "(externalCalls: "
1126
+ },
1127
+ {
1128
+ "kind": "Reference",
1129
+ "text": "ExternalCalls",
1130
+ "canonicalReference": "@dcl/content-validator!ExternalCalls:type"
1131
+ },
1132
+ {
1133
+ "kind": "Content",
1134
+ "text": ") => "
1135
+ },
1136
+ {
1137
+ "kind": "Reference",
1138
+ "text": "Validator",
1139
+ "canonicalReference": "@dcl/content-validator!Validator:interface"
1140
+ }
1141
+ ],
1142
+ "releaseTag": "Public",
1143
+ "name": "validator",
1144
+ "variableTypeTokenRange": {
1145
+ "startIndex": 1,
1146
+ "endIndex": 5
1147
+ }
1148
+ },
1149
+ {
1150
+ "kind": "TypeAlias",
1151
+ "canonicalReference": "@dcl/content-validator!Warnings:type",
1152
+ "docComment": "/**\n * @public\n */\n",
1153
+ "excerptTokens": [
1154
+ {
1155
+ "kind": "Content",
1156
+ "text": "export declare type Warnings = "
1157
+ },
1158
+ {
1159
+ "kind": "Content",
1160
+ "text": "string[]"
1161
+ },
1162
+ {
1163
+ "kind": "Content",
1164
+ "text": ";"
1165
+ }
1166
+ ],
1167
+ "releaseTag": "Public",
1168
+ "name": "Warnings",
1169
+ "typeTokenRange": {
1170
+ "startIndex": 1,
1171
+ "endIndex": 2
1172
+ }
1173
+ }
1174
+ ]
1175
+ }
1176
+ ]
1177
+ }