@dcl/content-validator 4.0.27 → 4.1.1-20230112172753.commit-633da1a

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.
@@ -1,1508 +0,0 @@
1
- {
2
- "metadata": {
3
- "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.24.2",
5
- "schemaVersion": 1005,
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
- "reportUnsupportedHtmlElements": false
161
- }
162
- },
163
- "kind": "Package",
164
- "canonicalReference": "@dcl/content-validator!",
165
- "docComment": "",
166
- "name": "@dcl/content-validator",
167
- "members": [
168
- {
169
- "kind": "EntryPoint",
170
- "canonicalReference": "@dcl/content-validator!",
171
- "name": "",
172
- "members": [
173
- {
174
- "kind": "TypeAlias",
175
- "canonicalReference": "@dcl/content-validator!BlockInformation:type",
176
- "docComment": "/**\n * @public\n */\n",
177
- "excerptTokens": [
178
- {
179
- "kind": "Content",
180
- "text": "export declare type BlockInformation = "
181
- },
182
- {
183
- "kind": "Content",
184
- "text": "{\n blockNumberAtDeployment: number | undefined;\n blockNumberFiveMinBeforeDeployment: number | undefined;\n}"
185
- },
186
- {
187
- "kind": "Content",
188
- "text": ";"
189
- }
190
- ],
191
- "releaseTag": "Public",
192
- "name": "BlockInformation",
193
- "typeTokenRange": {
194
- "startIndex": 1,
195
- "endIndex": 2
196
- }
197
- },
198
- {
199
- "kind": "Variable",
200
- "canonicalReference": "@dcl/content-validator!calculateDeploymentSize:var",
201
- "docComment": "/**\n * @public\n */\n",
202
- "excerptTokens": [
203
- {
204
- "kind": "Content",
205
- "text": "calculateDeploymentSize: "
206
- },
207
- {
208
- "kind": "Content",
209
- "text": "(deployment: "
210
- },
211
- {
212
- "kind": "Reference",
213
- "text": "DeploymentToValidate",
214
- "canonicalReference": "@dcl/content-validator!DeploymentToValidate:type"
215
- },
216
- {
217
- "kind": "Content",
218
- "text": ", externalCalls: "
219
- },
220
- {
221
- "kind": "Reference",
222
- "text": "ExternalCalls",
223
- "canonicalReference": "@dcl/content-validator!ExternalCalls:type"
224
- },
225
- {
226
- "kind": "Content",
227
- "text": ") => "
228
- },
229
- {
230
- "kind": "Reference",
231
- "text": "Promise",
232
- "canonicalReference": "!Promise:interface"
233
- },
234
- {
235
- "kind": "Content",
236
- "text": "<number | string>"
237
- }
238
- ],
239
- "releaseTag": "Public",
240
- "name": "calculateDeploymentSize",
241
- "variableTypeTokenRange": {
242
- "startIndex": 1,
243
- "endIndex": 8
244
- }
245
- },
246
- {
247
- "kind": "TypeAlias",
248
- "canonicalReference": "@dcl/content-validator!ConditionalValidation:type",
249
- "docComment": "/**\n * @public\n */\n",
250
- "excerptTokens": [
251
- {
252
- "kind": "Content",
253
- "text": "export declare type ConditionalValidation = "
254
- },
255
- {
256
- "kind": "Content",
257
- "text": "{\n predicate: (components: "
258
- },
259
- {
260
- "kind": "Reference",
261
- "text": "ContentValidatorComponents",
262
- "canonicalReference": "@dcl/content-validator!ContentValidatorComponents:type"
263
- },
264
- {
265
- "kind": "Content",
266
- "text": ", deployment: "
267
- },
268
- {
269
- "kind": "Reference",
270
- "text": "DeploymentToValidate",
271
- "canonicalReference": "@dcl/content-validator!DeploymentToValidate:type"
272
- },
273
- {
274
- "kind": "Content",
275
- "text": ") => "
276
- },
277
- {
278
- "kind": "Reference",
279
- "text": "ValidationResponse",
280
- "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
281
- },
282
- {
283
- "kind": "Content",
284
- "text": " | "
285
- },
286
- {
287
- "kind": "Reference",
288
- "text": "Promise",
289
- "canonicalReference": "!Promise:interface"
290
- },
291
- {
292
- "kind": "Content",
293
- "text": "<"
294
- },
295
- {
296
- "kind": "Reference",
297
- "text": "ValidationResponse",
298
- "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
299
- },
300
- {
301
- "kind": "Content",
302
- "text": ">;\n}"
303
- },
304
- {
305
- "kind": "Content",
306
- "text": ";"
307
- }
308
- ],
309
- "releaseTag": "Public",
310
- "name": "ConditionalValidation",
311
- "typeTokenRange": {
312
- "startIndex": 1,
313
- "endIndex": 12
314
- }
315
- },
316
- {
317
- "kind": "TypeAlias",
318
- "canonicalReference": "@dcl/content-validator!ContentValidatorComponents:type",
319
- "docComment": "/**\n * Components that can be used to validate deployments.\n *\n * @public\n */\n",
320
- "excerptTokens": [
321
- {
322
- "kind": "Content",
323
- "text": "export declare type ContentValidatorComponents = "
324
- },
325
- {
326
- "kind": "Content",
327
- "text": "{\n config: "
328
- },
329
- {
330
- "kind": "Reference",
331
- "text": "IConfigComponent",
332
- "canonicalReference": "@well-known-components/interfaces!IConfigComponent:interface"
333
- },
334
- {
335
- "kind": "Content",
336
- "text": ";\n logs: "
337
- },
338
- {
339
- "kind": "Reference",
340
- "text": "ILoggerComponent",
341
- "canonicalReference": "@well-known-components/interfaces!ILoggerComponent:type"
342
- },
343
- {
344
- "kind": "Content",
345
- "text": ";\n theGraphClient: "
346
- },
347
- {
348
- "kind": "Reference",
349
- "text": "TheGraphClient",
350
- "canonicalReference": "@dcl/content-validator!TheGraphClient:type"
351
- },
352
- {
353
- "kind": "Content",
354
- "text": ";\n externalCalls: "
355
- },
356
- {
357
- "kind": "Reference",
358
- "text": "ExternalCalls",
359
- "canonicalReference": "@dcl/content-validator!ExternalCalls:type"
360
- },
361
- {
362
- "kind": "Content",
363
- "text": ";\n subGraphs: "
364
- },
365
- {
366
- "kind": "Reference",
367
- "text": "SubGraphs",
368
- "canonicalReference": "@dcl/content-validator!SubGraphs:type"
369
- },
370
- {
371
- "kind": "Content",
372
- "text": ";\n}"
373
- },
374
- {
375
- "kind": "Content",
376
- "text": ";"
377
- }
378
- ],
379
- "releaseTag": "Public",
380
- "name": "ContentValidatorComponents",
381
- "typeTokenRange": {
382
- "startIndex": 1,
383
- "endIndex": 12
384
- }
385
- },
386
- {
387
- "kind": "Variable",
388
- "canonicalReference": "@dcl/content-validator!createTheGraphClient:var",
389
- "docComment": "/**\n * @public\n */\n",
390
- "excerptTokens": [
391
- {
392
- "kind": "Content",
393
- "text": "createTheGraphClient: "
394
- },
395
- {
396
- "kind": "Content",
397
- "text": "(components: "
398
- },
399
- {
400
- "kind": "Reference",
401
- "text": "Pick",
402
- "canonicalReference": "!Pick:type"
403
- },
404
- {
405
- "kind": "Content",
406
- "text": "<"
407
- },
408
- {
409
- "kind": "Reference",
410
- "text": "ContentValidatorComponents",
411
- "canonicalReference": "@dcl/content-validator!ContentValidatorComponents:type"
412
- },
413
- {
414
- "kind": "Content",
415
- "text": ", 'logs' | 'subGraphs'>) => "
416
- },
417
- {
418
- "kind": "Reference",
419
- "text": "TheGraphClient",
420
- "canonicalReference": "@dcl/content-validator!TheGraphClient:type"
421
- }
422
- ],
423
- "releaseTag": "Public",
424
- "name": "createTheGraphClient",
425
- "variableTypeTokenRange": {
426
- "startIndex": 1,
427
- "endIndex": 7
428
- }
429
- },
430
- {
431
- "kind": "Variable",
432
- "canonicalReference": "@dcl/content-validator!createValidator:var",
433
- "docComment": "/**\n * Creates a validator instance with given external calls.\n *\n * @public\n */\n",
434
- "excerptTokens": [
435
- {
436
- "kind": "Content",
437
- "text": "createValidator: "
438
- },
439
- {
440
- "kind": "Content",
441
- "text": "(components: "
442
- },
443
- {
444
- "kind": "Reference",
445
- "text": "Pick",
446
- "canonicalReference": "!Pick:type"
447
- },
448
- {
449
- "kind": "Content",
450
- "text": "<"
451
- },
452
- {
453
- "kind": "Reference",
454
- "text": "ContentValidatorComponents",
455
- "canonicalReference": "@dcl/content-validator!ContentValidatorComponents:type"
456
- },
457
- {
458
- "kind": "Content",
459
- "text": ", 'config' | 'externalCalls' | 'logs' | 'theGraphClient' | 'subGraphs'>) => "
460
- },
461
- {
462
- "kind": "Reference",
463
- "text": "Validator",
464
- "canonicalReference": "@dcl/content-validator!Validator:interface"
465
- }
466
- ],
467
- "releaseTag": "Public",
468
- "name": "createValidator",
469
- "variableTypeTokenRange": {
470
- "startIndex": 1,
471
- "endIndex": 7
472
- }
473
- },
474
- {
475
- "kind": "TypeAlias",
476
- "canonicalReference": "@dcl/content-validator!DeploymentToValidate:type",
477
- "docComment": "/**\n * Deployment object to be validated by the validator.\n *\n * @public\n */\n",
478
- "excerptTokens": [
479
- {
480
- "kind": "Content",
481
- "text": "export declare type DeploymentToValidate = "
482
- },
483
- {
484
- "kind": "Content",
485
- "text": "{\n entity: "
486
- },
487
- {
488
- "kind": "Reference",
489
- "text": "Entity",
490
- "canonicalReference": "@dcl/schemas!Entity:type"
491
- },
492
- {
493
- "kind": "Content",
494
- "text": ";\n files: "
495
- },
496
- {
497
- "kind": "Reference",
498
- "text": "Map",
499
- "canonicalReference": "!Map:interface"
500
- },
501
- {
502
- "kind": "Content",
503
- "text": "<string, "
504
- },
505
- {
506
- "kind": "Reference",
507
- "text": "Uint8Array",
508
- "canonicalReference": "!Uint8Array:interface"
509
- },
510
- {
511
- "kind": "Content",
512
- "text": ">;\n auditInfo: "
513
- },
514
- {
515
- "kind": "Reference",
516
- "text": "LocalDeploymentAuditInfo",
517
- "canonicalReference": "@dcl/content-validator!LocalDeploymentAuditInfo:type"
518
- },
519
- {
520
- "kind": "Content",
521
- "text": ";\n}"
522
- },
523
- {
524
- "kind": "Content",
525
- "text": ";"
526
- }
527
- ],
528
- "releaseTag": "Public",
529
- "name": "DeploymentToValidate",
530
- "typeTokenRange": {
531
- "startIndex": 1,
532
- "endIndex": 10
533
- }
534
- },
535
- {
536
- "kind": "TypeAlias",
537
- "canonicalReference": "@dcl/content-validator!EntityWithEthAddress:type",
538
- "docComment": "/**\n * @public\n */\n",
539
- "excerptTokens": [
540
- {
541
- "kind": "Content",
542
- "text": "export declare type EntityWithEthAddress = "
543
- },
544
- {
545
- "kind": "Reference",
546
- "text": "Entity",
547
- "canonicalReference": "@dcl/schemas!Entity:type"
548
- },
549
- {
550
- "kind": "Content",
551
- "text": " & {\n ethAddress: string;\n}"
552
- },
553
- {
554
- "kind": "Content",
555
- "text": ";"
556
- }
557
- ],
558
- "releaseTag": "Public",
559
- "name": "EntityWithEthAddress",
560
- "typeTokenRange": {
561
- "startIndex": 1,
562
- "endIndex": 3
563
- }
564
- },
565
- {
566
- "kind": "TypeAlias",
567
- "canonicalReference": "@dcl/content-validator!Errors:type",
568
- "docComment": "/**\n * @public\n */\n",
569
- "excerptTokens": [
570
- {
571
- "kind": "Content",
572
- "text": "export declare type Errors = "
573
- },
574
- {
575
- "kind": "Content",
576
- "text": "string[]"
577
- },
578
- {
579
- "kind": "Content",
580
- "text": ";"
581
- }
582
- ],
583
- "releaseTag": "Public",
584
- "name": "Errors",
585
- "typeTokenRange": {
586
- "startIndex": 1,
587
- "endIndex": 2
588
- }
589
- },
590
- {
591
- "kind": "TypeAlias",
592
- "canonicalReference": "@dcl/content-validator!ExternalCalls:type",
593
- "docComment": "/**\n * External calls interface to be provided by the servers.\n *\n * @public\n */\n",
594
- "excerptTokens": [
595
- {
596
- "kind": "Content",
597
- "text": "export declare type ExternalCalls = "
598
- },
599
- {
600
- "kind": "Content",
601
- "text": "{\n isContentStoredAlready: (hashes: string[]) => "
602
- },
603
- {
604
- "kind": "Reference",
605
- "text": "Promise",
606
- "canonicalReference": "!Promise:interface"
607
- },
608
- {
609
- "kind": "Content",
610
- "text": "<"
611
- },
612
- {
613
- "kind": "Reference",
614
- "text": "Map",
615
- "canonicalReference": "!Map:interface"
616
- },
617
- {
618
- "kind": "Content",
619
- "text": "<string, boolean>>;\n fetchContentFileSize: (hash: string) => "
620
- },
621
- {
622
- "kind": "Reference",
623
- "text": "Promise",
624
- "canonicalReference": "!Promise:interface"
625
- },
626
- {
627
- "kind": "Content",
628
- "text": "<number | undefined>;\n validateSignature: (entityId: string, auditInfo: "
629
- },
630
- {
631
- "kind": "Reference",
632
- "text": "LocalDeploymentAuditInfo",
633
- "canonicalReference": "@dcl/content-validator!LocalDeploymentAuditInfo:type"
634
- },
635
- {
636
- "kind": "Content",
637
- "text": ", timestamp: number) => "
638
- },
639
- {
640
- "kind": "Reference",
641
- "text": "Promise",
642
- "canonicalReference": "!Promise:interface"
643
- },
644
- {
645
- "kind": "Content",
646
- "text": "<{\n ok: boolean;\n message?: string;\n }>;\n ownerAddress: (auditInfo: "
647
- },
648
- {
649
- "kind": "Reference",
650
- "text": "LocalDeploymentAuditInfo",
651
- "canonicalReference": "@dcl/content-validator!LocalDeploymentAuditInfo:type"
652
- },
653
- {
654
- "kind": "Content",
655
- "text": ") => string;\n isAddressOwnedByDecentraland: (address: string) => boolean;\n}"
656
- },
657
- {
658
- "kind": "Content",
659
- "text": ";"
660
- }
661
- ],
662
- "releaseTag": "Public",
663
- "name": "ExternalCalls",
664
- "typeTokenRange": {
665
- "startIndex": 1,
666
- "endIndex": 14
667
- }
668
- },
669
- {
670
- "kind": "Variable",
671
- "canonicalReference": "@dcl/content-validator!fromErrors:var",
672
- "docComment": "/**\n * @public\n */\n",
673
- "excerptTokens": [
674
- {
675
- "kind": "Content",
676
- "text": "fromErrors: "
677
- },
678
- {
679
- "kind": "Content",
680
- "text": "(...errors: "
681
- },
682
- {
683
- "kind": "Reference",
684
- "text": "Errors",
685
- "canonicalReference": "@dcl/content-validator!Errors:type"
686
- },
687
- {
688
- "kind": "Content",
689
- "text": ") => "
690
- },
691
- {
692
- "kind": "Reference",
693
- "text": "ValidationResponse",
694
- "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
695
- }
696
- ],
697
- "releaseTag": "Public",
698
- "name": "fromErrors",
699
- "variableTypeTokenRange": {
700
- "startIndex": 1,
701
- "endIndex": 5
702
- }
703
- },
704
- {
705
- "kind": "TypeAlias",
706
- "canonicalReference": "@dcl/content-validator!LocalDeploymentAuditInfo:type",
707
- "docComment": "/**\n * @public\n */\n",
708
- "excerptTokens": [
709
- {
710
- "kind": "Content",
711
- "text": "export declare type LocalDeploymentAuditInfo = "
712
- },
713
- {
714
- "kind": "Content",
715
- "text": "{\n authChain: "
716
- },
717
- {
718
- "kind": "Reference",
719
- "text": "AuthChain",
720
- "canonicalReference": "@dcl/schemas!AuthChain:type"
721
- },
722
- {
723
- "kind": "Content",
724
- "text": ";\n}"
725
- },
726
- {
727
- "kind": "Content",
728
- "text": ";"
729
- }
730
- ],
731
- "releaseTag": "Public",
732
- "name": "LocalDeploymentAuditInfo",
733
- "typeTokenRange": {
734
- "startIndex": 1,
735
- "endIndex": 4
736
- }
737
- },
738
- {
739
- "kind": "Variable",
740
- "canonicalReference": "@dcl/content-validator!OK:var",
741
- "docComment": "/**\n * @public\n */\n",
742
- "excerptTokens": [
743
- {
744
- "kind": "Content",
745
- "text": "OK: "
746
- },
747
- {
748
- "kind": "Reference",
749
- "text": "ValidationResponse",
750
- "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
751
- }
752
- ],
753
- "releaseTag": "Public",
754
- "name": "OK",
755
- "variableTypeTokenRange": {
756
- "startIndex": 1,
757
- "endIndex": 2
758
- }
759
- },
760
- {
761
- "kind": "TypeAlias",
762
- "canonicalReference": "@dcl/content-validator!QueryGraph:type",
763
- "docComment": "/**\n * Function used to fetch TheGraph\n *\n * @public\n */\n",
764
- "excerptTokens": [
765
- {
766
- "kind": "Content",
767
- "text": "export declare type QueryGraph = "
768
- },
769
- {
770
- "kind": "Content",
771
- "text": "<T = any>(query: string, variables?: "
772
- },
773
- {
774
- "kind": "Reference",
775
- "text": "Variables",
776
- "canonicalReference": "@well-known-components/thegraph-component!Variables:type"
777
- },
778
- {
779
- "kind": "Content",
780
- "text": ", remainingAttempts?: number) => "
781
- },
782
- {
783
- "kind": "Reference",
784
- "text": "Promise",
785
- "canonicalReference": "!Promise:interface"
786
- },
787
- {
788
- "kind": "Content",
789
- "text": "<T>"
790
- },
791
- {
792
- "kind": "Content",
793
- "text": ";"
794
- }
795
- ],
796
- "releaseTag": "Public",
797
- "name": "QueryGraph",
798
- "typeTokenRange": {
799
- "startIndex": 1,
800
- "endIndex": 6
801
- }
802
- },
803
- {
804
- "kind": "Variable",
805
- "canonicalReference": "@dcl/content-validator!statefulValidations:var",
806
- "docComment": "/**\n * Stateful validations that are run on a deployment.\n *\n * @public\n */\n",
807
- "excerptTokens": [
808
- {
809
- "kind": "Content",
810
- "text": "statefulValidations: "
811
- },
812
- {
813
- "kind": "Content",
814
- "text": "readonly [import(\"../types\")."
815
- },
816
- {
817
- "kind": "Reference",
818
- "text": "Validation",
819
- "canonicalReference": "@dcl/content-validator!Validation:type"
820
- },
821
- {
822
- "kind": "Content",
823
- "text": ", import(\"../types\")."
824
- },
825
- {
826
- "kind": "Reference",
827
- "text": "Validation",
828
- "canonicalReference": "@dcl/content-validator!Validation:type"
829
- },
830
- {
831
- "kind": "Content",
832
- "text": ", import(\"../types\")."
833
- },
834
- {
835
- "kind": "Reference",
836
- "text": "Validation",
837
- "canonicalReference": "@dcl/content-validator!Validation:type"
838
- },
839
- {
840
- "kind": "Content",
841
- "text": ", import(\"../types\")."
842
- },
843
- {
844
- "kind": "Reference",
845
- "text": "Validation",
846
- "canonicalReference": "@dcl/content-validator!Validation:type"
847
- },
848
- {
849
- "kind": "Content",
850
- "text": ", import(\"../types\")."
851
- },
852
- {
853
- "kind": "Reference",
854
- "text": "Validation",
855
- "canonicalReference": "@dcl/content-validator!Validation:type"
856
- },
857
- {
858
- "kind": "Content",
859
- "text": ", import(\"../types\")."
860
- },
861
- {
862
- "kind": "Reference",
863
- "text": "Validation",
864
- "canonicalReference": "@dcl/content-validator!Validation:type"
865
- },
866
- {
867
- "kind": "Content",
868
- "text": ", import(\"../types\")."
869
- },
870
- {
871
- "kind": "Reference",
872
- "text": "Validation",
873
- "canonicalReference": "@dcl/content-validator!Validation:type"
874
- },
875
- {
876
- "kind": "Content",
877
- "text": "]"
878
- }
879
- ],
880
- "releaseTag": "Public",
881
- "name": "statefulValidations",
882
- "variableTypeTokenRange": {
883
- "startIndex": 1,
884
- "endIndex": 16
885
- }
886
- },
887
- {
888
- "kind": "Variable",
889
- "canonicalReference": "@dcl/content-validator!statelessValidations:var",
890
- "docComment": "/**\n * Stateless validations that are run on a deployment.\n *\n * @public\n */\n",
891
- "excerptTokens": [
892
- {
893
- "kind": "Content",
894
- "text": "statelessValidations: "
895
- },
896
- {
897
- "kind": "Content",
898
- "text": "readonly [import(\"../types\")."
899
- },
900
- {
901
- "kind": "Reference",
902
- "text": "Validation",
903
- "canonicalReference": "@dcl/content-validator!Validation:type"
904
- },
905
- {
906
- "kind": "Content",
907
- "text": ", import(\"../types\")."
908
- },
909
- {
910
- "kind": "Reference",
911
- "text": "Validation",
912
- "canonicalReference": "@dcl/content-validator!Validation:type"
913
- },
914
- {
915
- "kind": "Content",
916
- "text": ", import(\"../types\")."
917
- },
918
- {
919
- "kind": "Reference",
920
- "text": "Validation",
921
- "canonicalReference": "@dcl/content-validator!Validation:type"
922
- },
923
- {
924
- "kind": "Content",
925
- "text": "]"
926
- }
927
- ],
928
- "releaseTag": "Public",
929
- "name": "statelessValidations",
930
- "variableTypeTokenRange": {
931
- "startIndex": 1,
932
- "endIndex": 8
933
- }
934
- },
935
- {
936
- "kind": "TypeAlias",
937
- "canonicalReference": "@dcl/content-validator!SubGraphs:type",
938
- "docComment": "/**\n * A list with all sub-graphs used for validations.\n *\n * @public\n */\n",
939
- "excerptTokens": [
940
- {
941
- "kind": "Content",
942
- "text": "export declare type SubGraphs = "
943
- },
944
- {
945
- "kind": "Content",
946
- "text": "{\n L1: {\n landManager: "
947
- },
948
- {
949
- "kind": "Reference",
950
- "text": "ISubgraphComponent",
951
- "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
952
- },
953
- {
954
- "kind": "Content",
955
- "text": ";\n blocks: "
956
- },
957
- {
958
- "kind": "Reference",
959
- "text": "ISubgraphComponent",
960
- "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
961
- },
962
- {
963
- "kind": "Content",
964
- "text": ";\n collections: "
965
- },
966
- {
967
- "kind": "Reference",
968
- "text": "ISubgraphComponent",
969
- "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
970
- },
971
- {
972
- "kind": "Content",
973
- "text": ";\n ensOwner: "
974
- },
975
- {
976
- "kind": "Reference",
977
- "text": "ISubgraphComponent",
978
- "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
979
- },
980
- {
981
- "kind": "Content",
982
- "text": ";\n };\n L2: {\n blocks: "
983
- },
984
- {
985
- "kind": "Reference",
986
- "text": "ISubgraphComponent",
987
- "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
988
- },
989
- {
990
- "kind": "Content",
991
- "text": ";\n collections: "
992
- },
993
- {
994
- "kind": "Reference",
995
- "text": "ISubgraphComponent",
996
- "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
997
- },
998
- {
999
- "kind": "Content",
1000
- "text": ";\n thirdPartyRegistry: "
1001
- },
1002
- {
1003
- "kind": "Reference",
1004
- "text": "ISubgraphComponent",
1005
- "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
1006
- },
1007
- {
1008
- "kind": "Content",
1009
- "text": ";\n };\n}"
1010
- },
1011
- {
1012
- "kind": "Content",
1013
- "text": ";"
1014
- }
1015
- ],
1016
- "releaseTag": "Public",
1017
- "name": "SubGraphs",
1018
- "typeTokenRange": {
1019
- "startIndex": 1,
1020
- "endIndex": 16
1021
- }
1022
- },
1023
- {
1024
- "kind": "TypeAlias",
1025
- "canonicalReference": "@dcl/content-validator!TheGraphClient:type",
1026
- "docComment": "/**\n * @public\n */\n",
1027
- "excerptTokens": [
1028
- {
1029
- "kind": "Content",
1030
- "text": "export declare type TheGraphClient = "
1031
- },
1032
- {
1033
- "kind": "Content",
1034
- "text": "{\n ownsNamesAtTimestamp: (ethAddress: "
1035
- },
1036
- {
1037
- "kind": "Reference",
1038
- "text": "EthAddress",
1039
- "canonicalReference": "@dcl/schemas!EthAddress:type"
1040
- },
1041
- {
1042
- "kind": "Content",
1043
- "text": ", namesToCheck: string[], timestamp: number) => "
1044
- },
1045
- {
1046
- "kind": "Reference",
1047
- "text": "Promise",
1048
- "canonicalReference": "!Promise:interface"
1049
- },
1050
- {
1051
- "kind": "Content",
1052
- "text": "<"
1053
- },
1054
- {
1055
- "kind": "Reference",
1056
- "text": "PermissionResult",
1057
- "canonicalReference": "@dcl/content-validator!PermissionResult:type"
1058
- },
1059
- {
1060
- "kind": "Content",
1061
- "text": ">;\n ownsItemsAtTimestamp: (ethAddress: "
1062
- },
1063
- {
1064
- "kind": "Reference",
1065
- "text": "EthAddress",
1066
- "canonicalReference": "@dcl/schemas!EthAddress:type"
1067
- },
1068
- {
1069
- "kind": "Content",
1070
- "text": ", urnsToCheck: string[], timestamp: number) => "
1071
- },
1072
- {
1073
- "kind": "Reference",
1074
- "text": "Promise",
1075
- "canonicalReference": "!Promise:interface"
1076
- },
1077
- {
1078
- "kind": "Content",
1079
- "text": "<"
1080
- },
1081
- {
1082
- "kind": "Reference",
1083
- "text": "PermissionResult",
1084
- "canonicalReference": "@dcl/content-validator!PermissionResult:type"
1085
- },
1086
- {
1087
- "kind": "Content",
1088
- "text": ">;\n findBlocksForTimestamp: (subgraph: "
1089
- },
1090
- {
1091
- "kind": "Reference",
1092
- "text": "ISubgraphComponent",
1093
- "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
1094
- },
1095
- {
1096
- "kind": "Content",
1097
- "text": ", timestamp: number) => "
1098
- },
1099
- {
1100
- "kind": "Reference",
1101
- "text": "Promise",
1102
- "canonicalReference": "!Promise:interface"
1103
- },
1104
- {
1105
- "kind": "Content",
1106
- "text": "<"
1107
- },
1108
- {
1109
- "kind": "Reference",
1110
- "text": "BlockInformation",
1111
- "canonicalReference": "@dcl/content-validator!BlockInformation:type"
1112
- },
1113
- {
1114
- "kind": "Content",
1115
- "text": ">;\n}"
1116
- },
1117
- {
1118
- "kind": "Content",
1119
- "text": ";"
1120
- }
1121
- ],
1122
- "releaseTag": "Public",
1123
- "name": "TheGraphClient",
1124
- "typeTokenRange": {
1125
- "startIndex": 1,
1126
- "endIndex": 20
1127
- }
1128
- },
1129
- {
1130
- "kind": "TypeAlias",
1131
- "canonicalReference": "@dcl/content-validator!Validation:type",
1132
- "docComment": "/**\n * @public\n */\n",
1133
- "excerptTokens": [
1134
- {
1135
- "kind": "Content",
1136
- "text": "export declare type Validation = "
1137
- },
1138
- {
1139
- "kind": "Content",
1140
- "text": "{\n validate: (components: "
1141
- },
1142
- {
1143
- "kind": "Reference",
1144
- "text": "ContentValidatorComponents",
1145
- "canonicalReference": "@dcl/content-validator!ContentValidatorComponents:type"
1146
- },
1147
- {
1148
- "kind": "Content",
1149
- "text": ", deployment: "
1150
- },
1151
- {
1152
- "kind": "Reference",
1153
- "text": "DeploymentToValidate",
1154
- "canonicalReference": "@dcl/content-validator!DeploymentToValidate:type"
1155
- },
1156
- {
1157
- "kind": "Content",
1158
- "text": ") => "
1159
- },
1160
- {
1161
- "kind": "Reference",
1162
- "text": "ValidationResponse",
1163
- "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
1164
- },
1165
- {
1166
- "kind": "Content",
1167
- "text": " | "
1168
- },
1169
- {
1170
- "kind": "Reference",
1171
- "text": "Promise",
1172
- "canonicalReference": "!Promise:interface"
1173
- },
1174
- {
1175
- "kind": "Content",
1176
- "text": "<"
1177
- },
1178
- {
1179
- "kind": "Reference",
1180
- "text": "ValidationResponse",
1181
- "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
1182
- },
1183
- {
1184
- "kind": "Content",
1185
- "text": ">;\n}"
1186
- },
1187
- {
1188
- "kind": "Content",
1189
- "text": ";"
1190
- }
1191
- ],
1192
- "releaseTag": "Public",
1193
- "name": "Validation",
1194
- "typeTokenRange": {
1195
- "startIndex": 1,
1196
- "endIndex": 12
1197
- }
1198
- },
1199
- {
1200
- "kind": "TypeAlias",
1201
- "canonicalReference": "@dcl/content-validator!ValidationArgs:type",
1202
- "docComment": "/**\n * @public\n */\n",
1203
- "excerptTokens": [
1204
- {
1205
- "kind": "Content",
1206
- "text": "export declare type ValidationArgs = "
1207
- },
1208
- {
1209
- "kind": "Content",
1210
- "text": "{\n deployment: "
1211
- },
1212
- {
1213
- "kind": "Reference",
1214
- "text": "DeploymentToValidate",
1215
- "canonicalReference": "@dcl/content-validator!DeploymentToValidate:type"
1216
- },
1217
- {
1218
- "kind": "Content",
1219
- "text": ";\n}"
1220
- },
1221
- {
1222
- "kind": "Content",
1223
- "text": ";"
1224
- }
1225
- ],
1226
- "releaseTag": "Public",
1227
- "name": "ValidationArgs",
1228
- "typeTokenRange": {
1229
- "startIndex": 1,
1230
- "endIndex": 4
1231
- }
1232
- },
1233
- {
1234
- "kind": "Variable",
1235
- "canonicalReference": "@dcl/content-validator!validationFailed:var",
1236
- "docComment": "/**\n * @public\n */\n",
1237
- "excerptTokens": [
1238
- {
1239
- "kind": "Content",
1240
- "text": "validationFailed: "
1241
- },
1242
- {
1243
- "kind": "Content",
1244
- "text": "(...error: string[]) => "
1245
- },
1246
- {
1247
- "kind": "Reference",
1248
- "text": "ValidationResponse",
1249
- "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
1250
- }
1251
- ],
1252
- "releaseTag": "Public",
1253
- "name": "validationFailed",
1254
- "variableTypeTokenRange": {
1255
- "startIndex": 1,
1256
- "endIndex": 3
1257
- }
1258
- },
1259
- {
1260
- "kind": "TypeAlias",
1261
- "canonicalReference": "@dcl/content-validator!ValidationResponse:type",
1262
- "docComment": "/**\n * @public\n */\n",
1263
- "excerptTokens": [
1264
- {
1265
- "kind": "Content",
1266
- "text": "export declare type ValidationResponse = "
1267
- },
1268
- {
1269
- "kind": "Content",
1270
- "text": "{\n ok: boolean;\n errors?: "
1271
- },
1272
- {
1273
- "kind": "Reference",
1274
- "text": "Errors",
1275
- "canonicalReference": "@dcl/content-validator!Errors:type"
1276
- },
1277
- {
1278
- "kind": "Content",
1279
- "text": ";\n}"
1280
- },
1281
- {
1282
- "kind": "Content",
1283
- "text": ";"
1284
- }
1285
- ],
1286
- "releaseTag": "Public",
1287
- "name": "ValidationResponse",
1288
- "typeTokenRange": {
1289
- "startIndex": 1,
1290
- "endIndex": 4
1291
- }
1292
- },
1293
- {
1294
- "kind": "Variable",
1295
- "canonicalReference": "@dcl/content-validator!validations:var",
1296
- "docComment": "/**\n * All validations that are run on a deployment.\n *\n * @public\n */\n",
1297
- "excerptTokens": [
1298
- {
1299
- "kind": "Content",
1300
- "text": "validations: "
1301
- },
1302
- {
1303
- "kind": "Content",
1304
- "text": "readonly [import(\"../types\")."
1305
- },
1306
- {
1307
- "kind": "Reference",
1308
- "text": "Validation",
1309
- "canonicalReference": "@dcl/content-validator!Validation:type"
1310
- },
1311
- {
1312
- "kind": "Content",
1313
- "text": ", import(\"../types\")."
1314
- },
1315
- {
1316
- "kind": "Reference",
1317
- "text": "Validation",
1318
- "canonicalReference": "@dcl/content-validator!Validation:type"
1319
- },
1320
- {
1321
- "kind": "Content",
1322
- "text": ", import(\"../types\")."
1323
- },
1324
- {
1325
- "kind": "Reference",
1326
- "text": "Validation",
1327
- "canonicalReference": "@dcl/content-validator!Validation:type"
1328
- },
1329
- {
1330
- "kind": "Content",
1331
- "text": ", import(\"../types\")."
1332
- },
1333
- {
1334
- "kind": "Reference",
1335
- "text": "Validation",
1336
- "canonicalReference": "@dcl/content-validator!Validation:type"
1337
- },
1338
- {
1339
- "kind": "Content",
1340
- "text": ", import(\"../types\")."
1341
- },
1342
- {
1343
- "kind": "Reference",
1344
- "text": "Validation",
1345
- "canonicalReference": "@dcl/content-validator!Validation:type"
1346
- },
1347
- {
1348
- "kind": "Content",
1349
- "text": ", import(\"../types\")."
1350
- },
1351
- {
1352
- "kind": "Reference",
1353
- "text": "Validation",
1354
- "canonicalReference": "@dcl/content-validator!Validation:type"
1355
- },
1356
- {
1357
- "kind": "Content",
1358
- "text": ", import(\"../types\")."
1359
- },
1360
- {
1361
- "kind": "Reference",
1362
- "text": "Validation",
1363
- "canonicalReference": "@dcl/content-validator!Validation:type"
1364
- },
1365
- {
1366
- "kind": "Content",
1367
- "text": ", import(\"../types\")."
1368
- },
1369
- {
1370
- "kind": "Reference",
1371
- "text": "Validation",
1372
- "canonicalReference": "@dcl/content-validator!Validation:type"
1373
- },
1374
- {
1375
- "kind": "Content",
1376
- "text": ", import(\"../types\")."
1377
- },
1378
- {
1379
- "kind": "Reference",
1380
- "text": "Validation",
1381
- "canonicalReference": "@dcl/content-validator!Validation:type"
1382
- },
1383
- {
1384
- "kind": "Content",
1385
- "text": ", import(\"../types\")."
1386
- },
1387
- {
1388
- "kind": "Reference",
1389
- "text": "Validation",
1390
- "canonicalReference": "@dcl/content-validator!Validation:type"
1391
- },
1392
- {
1393
- "kind": "Content",
1394
- "text": "]"
1395
- }
1396
- ],
1397
- "releaseTag": "Public",
1398
- "name": "validations",
1399
- "variableTypeTokenRange": {
1400
- "startIndex": 1,
1401
- "endIndex": 22
1402
- }
1403
- },
1404
- {
1405
- "kind": "Interface",
1406
- "canonicalReference": "@dcl/content-validator!Validator:interface",
1407
- "docComment": "/**\n * Validator interface to be used by any server.\n *\n * @public\n */\n",
1408
- "excerptTokens": [
1409
- {
1410
- "kind": "Content",
1411
- "text": "export interface Validator "
1412
- }
1413
- ],
1414
- "releaseTag": "Public",
1415
- "name": "Validator",
1416
- "members": [
1417
- {
1418
- "kind": "MethodSignature",
1419
- "canonicalReference": "@dcl/content-validator!Validator#validate:member(1)",
1420
- "docComment": "",
1421
- "excerptTokens": [
1422
- {
1423
- "kind": "Content",
1424
- "text": "validate(deployment: "
1425
- },
1426
- {
1427
- "kind": "Reference",
1428
- "text": "DeploymentToValidate",
1429
- "canonicalReference": "@dcl/content-validator!DeploymentToValidate:type"
1430
- },
1431
- {
1432
- "kind": "Content",
1433
- "text": "): "
1434
- },
1435
- {
1436
- "kind": "Reference",
1437
- "text": "Promise",
1438
- "canonicalReference": "!Promise:interface"
1439
- },
1440
- {
1441
- "kind": "Content",
1442
- "text": "<"
1443
- },
1444
- {
1445
- "kind": "Reference",
1446
- "text": "ValidationResponse",
1447
- "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
1448
- },
1449
- {
1450
- "kind": "Content",
1451
- "text": ">"
1452
- },
1453
- {
1454
- "kind": "Content",
1455
- "text": ";"
1456
- }
1457
- ],
1458
- "isOptional": false,
1459
- "returnTypeTokenRange": {
1460
- "startIndex": 3,
1461
- "endIndex": 7
1462
- },
1463
- "releaseTag": "Public",
1464
- "overloadIndex": 1,
1465
- "parameters": [
1466
- {
1467
- "parameterName": "deployment",
1468
- "parameterTypeTokenRange": {
1469
- "startIndex": 1,
1470
- "endIndex": 2
1471
- },
1472
- "isOptional": false
1473
- }
1474
- ],
1475
- "name": "validate"
1476
- }
1477
- ],
1478
- "extendsTokenRanges": []
1479
- },
1480
- {
1481
- "kind": "TypeAlias",
1482
- "canonicalReference": "@dcl/content-validator!Warnings:type",
1483
- "docComment": "/**\n * @public\n */\n",
1484
- "excerptTokens": [
1485
- {
1486
- "kind": "Content",
1487
- "text": "export declare type Warnings = "
1488
- },
1489
- {
1490
- "kind": "Content",
1491
- "text": "string[]"
1492
- },
1493
- {
1494
- "kind": "Content",
1495
- "text": ";"
1496
- }
1497
- ],
1498
- "releaseTag": "Public",
1499
- "name": "Warnings",
1500
- "typeTokenRange": {
1501
- "startIndex": 1,
1502
- "endIndex": 2
1503
- }
1504
- }
1505
- ]
1506
- }
1507
- ]
1508
- }