@dcl/content-validator 4.0.26 → 4.0.27-20230106194717.commit-dd49367
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.
- package/dist/content-validator.api.json +178 -53
- package/dist/the-graph-client/the-graph-client.d.ts +5 -1
- package/dist/the-graph-client/the-graph-client.d.ts.map +1 -1
- package/dist/the-graph-client/the-graph-client.js +49 -83
- package/dist/the-graph-client/the-graph-client.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/types.d.ts +38 -23
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/validations/ADR51.d.ts +1 -1
- package/dist/validations/ADR51.d.ts.map +1 -1
- package/dist/validations/access-checker/items/collection-asset.d.ts +2 -2
- package/dist/validations/access-checker/items/collection-asset.d.ts.map +1 -1
- package/dist/validations/access-checker/items/collection-asset.js +43 -106
- package/dist/validations/access-checker/items/collection-asset.js.map +1 -1
- package/dist/validations/access-checker/items/items.d.ts +3 -3
- package/dist/validations/access-checker/items/items.d.ts.map +1 -1
- package/dist/validations/access-checker/items/third-party-asset.d.ts.map +1 -1
- package/dist/validations/access-checker/items/third-party-asset.js +21 -80
- package/dist/validations/access-checker/items/third-party-asset.js.map +1 -1
- package/dist/validations/access-checker/scenes.d.ts.map +1 -1
- package/dist/validations/access-checker/scenes.js +29 -227
- package/dist/validations/access-checker/scenes.js.map +1 -1
- package/package.json +9 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.
|
|
5
|
-
"schemaVersion":
|
|
4
|
+
"toolVersion": "7.33.7",
|
|
5
|
+
"schemaVersion": 1010,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
8
8
|
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
@@ -164,11 +164,13 @@
|
|
|
164
164
|
"canonicalReference": "@dcl/content-validator!",
|
|
165
165
|
"docComment": "",
|
|
166
166
|
"name": "@dcl/content-validator",
|
|
167
|
+
"preserveMemberOrder": false,
|
|
167
168
|
"members": [
|
|
168
169
|
{
|
|
169
170
|
"kind": "EntryPoint",
|
|
170
171
|
"canonicalReference": "@dcl/content-validator!",
|
|
171
172
|
"name": "",
|
|
173
|
+
"preserveMemberOrder": false,
|
|
172
174
|
"members": [
|
|
173
175
|
{
|
|
174
176
|
"kind": "TypeAlias",
|
|
@@ -177,17 +179,18 @@
|
|
|
177
179
|
"excerptTokens": [
|
|
178
180
|
{
|
|
179
181
|
"kind": "Content",
|
|
180
|
-
"text": "export
|
|
182
|
+
"text": "export type BlockInformation = "
|
|
181
183
|
},
|
|
182
184
|
{
|
|
183
185
|
"kind": "Content",
|
|
184
|
-
"text": "{\n
|
|
186
|
+
"text": "{\n blockAtDeployment: number | undefined;\n blockFiveMinBeforeDeployment: number | undefined;\n}"
|
|
185
187
|
},
|
|
186
188
|
{
|
|
187
189
|
"kind": "Content",
|
|
188
190
|
"text": ";"
|
|
189
191
|
}
|
|
190
192
|
],
|
|
193
|
+
"fileUrlPath": "src/types.ts",
|
|
191
194
|
"releaseTag": "Public",
|
|
192
195
|
"name": "BlockInformation",
|
|
193
196
|
"typeTokenRange": {
|
|
@@ -236,6 +239,8 @@
|
|
|
236
239
|
"text": "<number | string>"
|
|
237
240
|
}
|
|
238
241
|
],
|
|
242
|
+
"fileUrlPath": "src/validations/index.ts",
|
|
243
|
+
"isReadonly": true,
|
|
239
244
|
"releaseTag": "Public",
|
|
240
245
|
"name": "calculateDeploymentSize",
|
|
241
246
|
"variableTypeTokenRange": {
|
|
@@ -250,7 +255,7 @@
|
|
|
250
255
|
"excerptTokens": [
|
|
251
256
|
{
|
|
252
257
|
"kind": "Content",
|
|
253
|
-
"text": "export
|
|
258
|
+
"text": "export type ConditionalValidation = "
|
|
254
259
|
},
|
|
255
260
|
{
|
|
256
261
|
"kind": "Content",
|
|
@@ -306,6 +311,7 @@
|
|
|
306
311
|
"text": ";"
|
|
307
312
|
}
|
|
308
313
|
],
|
|
314
|
+
"fileUrlPath": "src/types.ts",
|
|
309
315
|
"releaseTag": "Public",
|
|
310
316
|
"name": "ConditionalValidation",
|
|
311
317
|
"typeTokenRange": {
|
|
@@ -320,7 +326,7 @@
|
|
|
320
326
|
"excerptTokens": [
|
|
321
327
|
{
|
|
322
328
|
"kind": "Content",
|
|
323
|
-
"text": "export
|
|
329
|
+
"text": "export type ContentValidatorComponents = "
|
|
324
330
|
},
|
|
325
331
|
{
|
|
326
332
|
"kind": "Content",
|
|
@@ -376,6 +382,7 @@
|
|
|
376
382
|
"text": ";"
|
|
377
383
|
}
|
|
378
384
|
],
|
|
385
|
+
"fileUrlPath": "src/types.ts",
|
|
379
386
|
"releaseTag": "Public",
|
|
380
387
|
"name": "ContentValidatorComponents",
|
|
381
388
|
"typeTokenRange": {
|
|
@@ -420,6 +427,8 @@
|
|
|
420
427
|
"canonicalReference": "@dcl/content-validator!TheGraphClient:type"
|
|
421
428
|
}
|
|
422
429
|
],
|
|
430
|
+
"fileUrlPath": "src/the-graph-client/the-graph-client.ts",
|
|
431
|
+
"isReadonly": true,
|
|
423
432
|
"releaseTag": "Public",
|
|
424
433
|
"name": "createTheGraphClient",
|
|
425
434
|
"variableTypeTokenRange": {
|
|
@@ -464,6 +473,8 @@
|
|
|
464
473
|
"canonicalReference": "@dcl/content-validator!Validator:interface"
|
|
465
474
|
}
|
|
466
475
|
],
|
|
476
|
+
"fileUrlPath": "src/index.ts",
|
|
477
|
+
"isReadonly": true,
|
|
467
478
|
"releaseTag": "Public",
|
|
468
479
|
"name": "createValidator",
|
|
469
480
|
"variableTypeTokenRange": {
|
|
@@ -478,7 +489,7 @@
|
|
|
478
489
|
"excerptTokens": [
|
|
479
490
|
{
|
|
480
491
|
"kind": "Content",
|
|
481
|
-
"text": "export
|
|
492
|
+
"text": "export type DeploymentToValidate = "
|
|
482
493
|
},
|
|
483
494
|
{
|
|
484
495
|
"kind": "Content",
|
|
@@ -487,7 +498,7 @@
|
|
|
487
498
|
{
|
|
488
499
|
"kind": "Reference",
|
|
489
500
|
"text": "Entity",
|
|
490
|
-
"canonicalReference": "@dcl/
|
|
501
|
+
"canonicalReference": "@dcl/content-validator!~Entity"
|
|
491
502
|
},
|
|
492
503
|
{
|
|
493
504
|
"kind": "Content",
|
|
@@ -525,6 +536,7 @@
|
|
|
525
536
|
"text": ";"
|
|
526
537
|
}
|
|
527
538
|
],
|
|
539
|
+
"fileUrlPath": "src/types.ts",
|
|
528
540
|
"releaseTag": "Public",
|
|
529
541
|
"name": "DeploymentToValidate",
|
|
530
542
|
"typeTokenRange": {
|
|
@@ -539,12 +551,12 @@
|
|
|
539
551
|
"excerptTokens": [
|
|
540
552
|
{
|
|
541
553
|
"kind": "Content",
|
|
542
|
-
"text": "export
|
|
554
|
+
"text": "export type EntityWithEthAddress = "
|
|
543
555
|
},
|
|
544
556
|
{
|
|
545
557
|
"kind": "Reference",
|
|
546
558
|
"text": "Entity",
|
|
547
|
-
"canonicalReference": "@dcl/
|
|
559
|
+
"canonicalReference": "@dcl/content-validator!~Entity"
|
|
548
560
|
},
|
|
549
561
|
{
|
|
550
562
|
"kind": "Content",
|
|
@@ -555,6 +567,7 @@
|
|
|
555
567
|
"text": ";"
|
|
556
568
|
}
|
|
557
569
|
],
|
|
570
|
+
"fileUrlPath": "src/types.ts",
|
|
558
571
|
"releaseTag": "Public",
|
|
559
572
|
"name": "EntityWithEthAddress",
|
|
560
573
|
"typeTokenRange": {
|
|
@@ -569,7 +582,7 @@
|
|
|
569
582
|
"excerptTokens": [
|
|
570
583
|
{
|
|
571
584
|
"kind": "Content",
|
|
572
|
-
"text": "export
|
|
585
|
+
"text": "export type Errors = "
|
|
573
586
|
},
|
|
574
587
|
{
|
|
575
588
|
"kind": "Content",
|
|
@@ -580,6 +593,7 @@
|
|
|
580
593
|
"text": ";"
|
|
581
594
|
}
|
|
582
595
|
],
|
|
596
|
+
"fileUrlPath": "src/types.ts",
|
|
583
597
|
"releaseTag": "Public",
|
|
584
598
|
"name": "Errors",
|
|
585
599
|
"typeTokenRange": {
|
|
@@ -594,7 +608,7 @@
|
|
|
594
608
|
"excerptTokens": [
|
|
595
609
|
{
|
|
596
610
|
"kind": "Content",
|
|
597
|
-
"text": "export
|
|
611
|
+
"text": "export type ExternalCalls = "
|
|
598
612
|
},
|
|
599
613
|
{
|
|
600
614
|
"kind": "Content",
|
|
@@ -659,6 +673,7 @@
|
|
|
659
673
|
"text": ";"
|
|
660
674
|
}
|
|
661
675
|
],
|
|
676
|
+
"fileUrlPath": "src/types.ts",
|
|
662
677
|
"releaseTag": "Public",
|
|
663
678
|
"name": "ExternalCalls",
|
|
664
679
|
"typeTokenRange": {
|
|
@@ -694,6 +709,8 @@
|
|
|
694
709
|
"canonicalReference": "@dcl/content-validator!ValidationResponse:type"
|
|
695
710
|
}
|
|
696
711
|
],
|
|
712
|
+
"fileUrlPath": "src/types.ts",
|
|
713
|
+
"isReadonly": true,
|
|
697
714
|
"releaseTag": "Public",
|
|
698
715
|
"name": "fromErrors",
|
|
699
716
|
"variableTypeTokenRange": {
|
|
@@ -701,6 +718,103 @@
|
|
|
701
718
|
"endIndex": 5
|
|
702
719
|
}
|
|
703
720
|
},
|
|
721
|
+
{
|
|
722
|
+
"kind": "TypeAlias",
|
|
723
|
+
"canonicalReference": "@dcl/content-validator!L1Checker:type",
|
|
724
|
+
"docComment": "/**\n * @public\n */\n",
|
|
725
|
+
"excerptTokens": [
|
|
726
|
+
{
|
|
727
|
+
"kind": "Content",
|
|
728
|
+
"text": "export type L1Checker = "
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"kind": "Content",
|
|
732
|
+
"text": "{\n checkLAND(ethAddress: string, parcels: [number, number][], block: number): "
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"kind": "Reference",
|
|
736
|
+
"text": "Promise",
|
|
737
|
+
"canonicalReference": "!Promise:interface"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"kind": "Content",
|
|
741
|
+
"text": "<boolean[]>;\n checkNames(ethAddress: string, names: string[], block: number): "
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"kind": "Reference",
|
|
745
|
+
"text": "Promise",
|
|
746
|
+
"canonicalReference": "!Promise:interface"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"kind": "Content",
|
|
750
|
+
"text": "<boolean[]>;\n}"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"kind": "Content",
|
|
754
|
+
"text": ";"
|
|
755
|
+
}
|
|
756
|
+
],
|
|
757
|
+
"fileUrlPath": "src/types.ts",
|
|
758
|
+
"releaseTag": "Public",
|
|
759
|
+
"name": "L1Checker",
|
|
760
|
+
"typeTokenRange": {
|
|
761
|
+
"startIndex": 1,
|
|
762
|
+
"endIndex": 6
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"kind": "TypeAlias",
|
|
767
|
+
"canonicalReference": "@dcl/content-validator!L2Checker:type",
|
|
768
|
+
"docComment": "/**\n * @public\n */\n",
|
|
769
|
+
"excerptTokens": [
|
|
770
|
+
{
|
|
771
|
+
"kind": "Content",
|
|
772
|
+
"text": "export type L2Checker = "
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"kind": "Content",
|
|
776
|
+
"text": "{\n validateWearables(ethAddress: string, contractAddress: string, assetId: string, hash: string, block: number): "
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"kind": "Reference",
|
|
780
|
+
"text": "Promise",
|
|
781
|
+
"canonicalReference": "!Promise:interface"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"kind": "Content",
|
|
785
|
+
"text": "<boolean>;\n validateThirdParty(ethAddress: string, tpId: string, root: "
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"kind": "Reference",
|
|
789
|
+
"text": "Buffer",
|
|
790
|
+
"canonicalReference": "!\"\\\"buffer\\\"\".__global.Buffer:interface"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"kind": "Content",
|
|
794
|
+
"text": ", block: number): "
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"kind": "Reference",
|
|
798
|
+
"text": "Promise",
|
|
799
|
+
"canonicalReference": "!Promise:interface"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"kind": "Content",
|
|
803
|
+
"text": "<boolean>;\n}"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"kind": "Content",
|
|
807
|
+
"text": ";"
|
|
808
|
+
}
|
|
809
|
+
],
|
|
810
|
+
"fileUrlPath": "src/types.ts",
|
|
811
|
+
"releaseTag": "Public",
|
|
812
|
+
"name": "L2Checker",
|
|
813
|
+
"typeTokenRange": {
|
|
814
|
+
"startIndex": 1,
|
|
815
|
+
"endIndex": 8
|
|
816
|
+
}
|
|
817
|
+
},
|
|
704
818
|
{
|
|
705
819
|
"kind": "TypeAlias",
|
|
706
820
|
"canonicalReference": "@dcl/content-validator!LocalDeploymentAuditInfo:type",
|
|
@@ -708,7 +822,7 @@
|
|
|
708
822
|
"excerptTokens": [
|
|
709
823
|
{
|
|
710
824
|
"kind": "Content",
|
|
711
|
-
"text": "export
|
|
825
|
+
"text": "export type LocalDeploymentAuditInfo = "
|
|
712
826
|
},
|
|
713
827
|
{
|
|
714
828
|
"kind": "Content",
|
|
@@ -717,7 +831,7 @@
|
|
|
717
831
|
{
|
|
718
832
|
"kind": "Reference",
|
|
719
833
|
"text": "AuthChain",
|
|
720
|
-
"canonicalReference": "@dcl/
|
|
834
|
+
"canonicalReference": "@dcl/content-validator!~AuthChain"
|
|
721
835
|
},
|
|
722
836
|
{
|
|
723
837
|
"kind": "Content",
|
|
@@ -728,6 +842,7 @@
|
|
|
728
842
|
"text": ";"
|
|
729
843
|
}
|
|
730
844
|
],
|
|
845
|
+
"fileUrlPath": "src/types.ts",
|
|
731
846
|
"releaseTag": "Public",
|
|
732
847
|
"name": "LocalDeploymentAuditInfo",
|
|
733
848
|
"typeTokenRange": {
|
|
@@ -750,6 +865,8 @@
|
|
|
750
865
|
"canonicalReference": "@dcl/content-validator!ValidationResponse:type"
|
|
751
866
|
}
|
|
752
867
|
],
|
|
868
|
+
"fileUrlPath": "src/types.ts",
|
|
869
|
+
"isReadonly": true,
|
|
753
870
|
"releaseTag": "Public",
|
|
754
871
|
"name": "OK",
|
|
755
872
|
"variableTypeTokenRange": {
|
|
@@ -764,7 +881,7 @@
|
|
|
764
881
|
"excerptTokens": [
|
|
765
882
|
{
|
|
766
883
|
"kind": "Content",
|
|
767
|
-
"text": "export
|
|
884
|
+
"text": "export type QueryGraph = "
|
|
768
885
|
},
|
|
769
886
|
{
|
|
770
887
|
"kind": "Content",
|
|
@@ -793,6 +910,7 @@
|
|
|
793
910
|
"text": ";"
|
|
794
911
|
}
|
|
795
912
|
],
|
|
913
|
+
"fileUrlPath": "src/types.ts",
|
|
796
914
|
"releaseTag": "Public",
|
|
797
915
|
"name": "QueryGraph",
|
|
798
916
|
"typeTokenRange": {
|
|
@@ -877,6 +995,8 @@
|
|
|
877
995
|
"text": "]"
|
|
878
996
|
}
|
|
879
997
|
],
|
|
998
|
+
"fileUrlPath": "src/validations/index.ts",
|
|
999
|
+
"isReadonly": true,
|
|
880
1000
|
"releaseTag": "Public",
|
|
881
1001
|
"name": "statefulValidations",
|
|
882
1002
|
"variableTypeTokenRange": {
|
|
@@ -925,6 +1045,8 @@
|
|
|
925
1045
|
"text": "]"
|
|
926
1046
|
}
|
|
927
1047
|
],
|
|
1048
|
+
"fileUrlPath": "src/validations/index.ts",
|
|
1049
|
+
"isReadonly": true,
|
|
928
1050
|
"releaseTag": "Public",
|
|
929
1051
|
"name": "statelessValidations",
|
|
930
1052
|
"variableTypeTokenRange": {
|
|
@@ -939,25 +1061,16 @@
|
|
|
939
1061
|
"excerptTokens": [
|
|
940
1062
|
{
|
|
941
1063
|
"kind": "Content",
|
|
942
|
-
"text": "export
|
|
1064
|
+
"text": "export type SubGraphs = "
|
|
943
1065
|
},
|
|
944
1066
|
{
|
|
945
1067
|
"kind": "Content",
|
|
946
|
-
"text": "{\n L1: {\n
|
|
1068
|
+
"text": "{\n L1: {\n checker: "
|
|
947
1069
|
},
|
|
948
1070
|
{
|
|
949
1071
|
"kind": "Reference",
|
|
950
|
-
"text": "
|
|
951
|
-
"canonicalReference": "@
|
|
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"
|
|
1072
|
+
"text": "L1Checker",
|
|
1073
|
+
"canonicalReference": "@dcl/content-validator!L1Checker:type"
|
|
961
1074
|
},
|
|
962
1075
|
{
|
|
963
1076
|
"kind": "Content",
|
|
@@ -970,16 +1083,16 @@
|
|
|
970
1083
|
},
|
|
971
1084
|
{
|
|
972
1085
|
"kind": "Content",
|
|
973
|
-
"text": ";\n
|
|
1086
|
+
"text": ";\n };\n L2: {\n checker: "
|
|
974
1087
|
},
|
|
975
1088
|
{
|
|
976
1089
|
"kind": "Reference",
|
|
977
|
-
"text": "
|
|
978
|
-
"canonicalReference": "@
|
|
1090
|
+
"text": "L2Checker",
|
|
1091
|
+
"canonicalReference": "@dcl/content-validator!L2Checker:type"
|
|
979
1092
|
},
|
|
980
1093
|
{
|
|
981
1094
|
"kind": "Content",
|
|
982
|
-
"text": ";\n
|
|
1095
|
+
"text": ";\n collections: "
|
|
983
1096
|
},
|
|
984
1097
|
{
|
|
985
1098
|
"kind": "Reference",
|
|
@@ -988,36 +1101,37 @@
|
|
|
988
1101
|
},
|
|
989
1102
|
{
|
|
990
1103
|
"kind": "Content",
|
|
991
|
-
"text": ";\n
|
|
1104
|
+
"text": ";\n };\n l1BlockSearch: "
|
|
992
1105
|
},
|
|
993
1106
|
{
|
|
994
1107
|
"kind": "Reference",
|
|
995
|
-
"text": "
|
|
996
|
-
"canonicalReference": "@
|
|
1108
|
+
"text": "BlockSearch",
|
|
1109
|
+
"canonicalReference": "@dcl/block-indexer!BlockSearch:type"
|
|
997
1110
|
},
|
|
998
1111
|
{
|
|
999
1112
|
"kind": "Content",
|
|
1000
|
-
"text": ";\n
|
|
1113
|
+
"text": ";\n l2BlockSearch: "
|
|
1001
1114
|
},
|
|
1002
1115
|
{
|
|
1003
1116
|
"kind": "Reference",
|
|
1004
|
-
"text": "
|
|
1005
|
-
"canonicalReference": "@
|
|
1117
|
+
"text": "BlockSearch",
|
|
1118
|
+
"canonicalReference": "@dcl/block-indexer!BlockSearch:type"
|
|
1006
1119
|
},
|
|
1007
1120
|
{
|
|
1008
1121
|
"kind": "Content",
|
|
1009
|
-
"text": ";\n
|
|
1122
|
+
"text": ";\n}"
|
|
1010
1123
|
},
|
|
1011
1124
|
{
|
|
1012
1125
|
"kind": "Content",
|
|
1013
1126
|
"text": ";"
|
|
1014
1127
|
}
|
|
1015
1128
|
],
|
|
1129
|
+
"fileUrlPath": "src/types.ts",
|
|
1016
1130
|
"releaseTag": "Public",
|
|
1017
1131
|
"name": "SubGraphs",
|
|
1018
1132
|
"typeTokenRange": {
|
|
1019
1133
|
"startIndex": 1,
|
|
1020
|
-
"endIndex":
|
|
1134
|
+
"endIndex": 14
|
|
1021
1135
|
}
|
|
1022
1136
|
},
|
|
1023
1137
|
{
|
|
@@ -1027,7 +1141,7 @@
|
|
|
1027
1141
|
"excerptTokens": [
|
|
1028
1142
|
{
|
|
1029
1143
|
"kind": "Content",
|
|
1030
|
-
"text": "export
|
|
1144
|
+
"text": "export type TheGraphClient = "
|
|
1031
1145
|
},
|
|
1032
1146
|
{
|
|
1033
1147
|
"kind": "Content",
|
|
@@ -1036,7 +1150,7 @@
|
|
|
1036
1150
|
{
|
|
1037
1151
|
"kind": "Reference",
|
|
1038
1152
|
"text": "EthAddress",
|
|
1039
|
-
"canonicalReference": "@dcl/
|
|
1153
|
+
"canonicalReference": "@dcl/content-validator!~EthAddress"
|
|
1040
1154
|
},
|
|
1041
1155
|
{
|
|
1042
1156
|
"kind": "Content",
|
|
@@ -1054,7 +1168,7 @@
|
|
|
1054
1168
|
{
|
|
1055
1169
|
"kind": "Reference",
|
|
1056
1170
|
"text": "PermissionResult",
|
|
1057
|
-
"canonicalReference": "@dcl/content-validator
|
|
1171
|
+
"canonicalReference": "@dcl/content-validator!~PermissionResult:type"
|
|
1058
1172
|
},
|
|
1059
1173
|
{
|
|
1060
1174
|
"kind": "Content",
|
|
@@ -1063,7 +1177,7 @@
|
|
|
1063
1177
|
{
|
|
1064
1178
|
"kind": "Reference",
|
|
1065
1179
|
"text": "EthAddress",
|
|
1066
|
-
"canonicalReference": "@dcl/
|
|
1180
|
+
"canonicalReference": "@dcl/content-validator!~EthAddress"
|
|
1067
1181
|
},
|
|
1068
1182
|
{
|
|
1069
1183
|
"kind": "Content",
|
|
@@ -1081,20 +1195,20 @@
|
|
|
1081
1195
|
{
|
|
1082
1196
|
"kind": "Reference",
|
|
1083
1197
|
"text": "PermissionResult",
|
|
1084
|
-
"canonicalReference": "@dcl/content-validator
|
|
1198
|
+
"canonicalReference": "@dcl/content-validator!~PermissionResult:type"
|
|
1085
1199
|
},
|
|
1086
1200
|
{
|
|
1087
1201
|
"kind": "Content",
|
|
1088
|
-
"text": ">;\n findBlocksForTimestamp: (
|
|
1202
|
+
"text": ">;\n findBlocksForTimestamp: (timestamp: number, blockSearch: "
|
|
1089
1203
|
},
|
|
1090
1204
|
{
|
|
1091
1205
|
"kind": "Reference",
|
|
1092
|
-
"text": "
|
|
1093
|
-
"canonicalReference": "@
|
|
1206
|
+
"text": "BlockSearch",
|
|
1207
|
+
"canonicalReference": "@dcl/block-indexer!BlockSearch:type"
|
|
1094
1208
|
},
|
|
1095
1209
|
{
|
|
1096
1210
|
"kind": "Content",
|
|
1097
|
-
"text": "
|
|
1211
|
+
"text": ") => "
|
|
1098
1212
|
},
|
|
1099
1213
|
{
|
|
1100
1214
|
"kind": "Reference",
|
|
@@ -1119,6 +1233,7 @@
|
|
|
1119
1233
|
"text": ";"
|
|
1120
1234
|
}
|
|
1121
1235
|
],
|
|
1236
|
+
"fileUrlPath": "src/types.ts",
|
|
1122
1237
|
"releaseTag": "Public",
|
|
1123
1238
|
"name": "TheGraphClient",
|
|
1124
1239
|
"typeTokenRange": {
|
|
@@ -1133,7 +1248,7 @@
|
|
|
1133
1248
|
"excerptTokens": [
|
|
1134
1249
|
{
|
|
1135
1250
|
"kind": "Content",
|
|
1136
|
-
"text": "export
|
|
1251
|
+
"text": "export type Validation = "
|
|
1137
1252
|
},
|
|
1138
1253
|
{
|
|
1139
1254
|
"kind": "Content",
|
|
@@ -1189,6 +1304,7 @@
|
|
|
1189
1304
|
"text": ";"
|
|
1190
1305
|
}
|
|
1191
1306
|
],
|
|
1307
|
+
"fileUrlPath": "src/types.ts",
|
|
1192
1308
|
"releaseTag": "Public",
|
|
1193
1309
|
"name": "Validation",
|
|
1194
1310
|
"typeTokenRange": {
|
|
@@ -1203,7 +1319,7 @@
|
|
|
1203
1319
|
"excerptTokens": [
|
|
1204
1320
|
{
|
|
1205
1321
|
"kind": "Content",
|
|
1206
|
-
"text": "export
|
|
1322
|
+
"text": "export type ValidationArgs = "
|
|
1207
1323
|
},
|
|
1208
1324
|
{
|
|
1209
1325
|
"kind": "Content",
|
|
@@ -1223,6 +1339,7 @@
|
|
|
1223
1339
|
"text": ";"
|
|
1224
1340
|
}
|
|
1225
1341
|
],
|
|
1342
|
+
"fileUrlPath": "src/types.ts",
|
|
1226
1343
|
"releaseTag": "Public",
|
|
1227
1344
|
"name": "ValidationArgs",
|
|
1228
1345
|
"typeTokenRange": {
|
|
@@ -1249,6 +1366,8 @@
|
|
|
1249
1366
|
"canonicalReference": "@dcl/content-validator!ValidationResponse:type"
|
|
1250
1367
|
}
|
|
1251
1368
|
],
|
|
1369
|
+
"fileUrlPath": "src/types.ts",
|
|
1370
|
+
"isReadonly": true,
|
|
1252
1371
|
"releaseTag": "Public",
|
|
1253
1372
|
"name": "validationFailed",
|
|
1254
1373
|
"variableTypeTokenRange": {
|
|
@@ -1263,7 +1382,7 @@
|
|
|
1263
1382
|
"excerptTokens": [
|
|
1264
1383
|
{
|
|
1265
1384
|
"kind": "Content",
|
|
1266
|
-
"text": "export
|
|
1385
|
+
"text": "export type ValidationResponse = "
|
|
1267
1386
|
},
|
|
1268
1387
|
{
|
|
1269
1388
|
"kind": "Content",
|
|
@@ -1283,6 +1402,7 @@
|
|
|
1283
1402
|
"text": ";"
|
|
1284
1403
|
}
|
|
1285
1404
|
],
|
|
1405
|
+
"fileUrlPath": "src/types.ts",
|
|
1286
1406
|
"releaseTag": "Public",
|
|
1287
1407
|
"name": "ValidationResponse",
|
|
1288
1408
|
"typeTokenRange": {
|
|
@@ -1394,6 +1514,8 @@
|
|
|
1394
1514
|
"text": "]"
|
|
1395
1515
|
}
|
|
1396
1516
|
],
|
|
1517
|
+
"fileUrlPath": "src/validations/index.ts",
|
|
1518
|
+
"isReadonly": true,
|
|
1397
1519
|
"releaseTag": "Public",
|
|
1398
1520
|
"name": "validations",
|
|
1399
1521
|
"variableTypeTokenRange": {
|
|
@@ -1411,8 +1533,10 @@
|
|
|
1411
1533
|
"text": "export interface Validator "
|
|
1412
1534
|
}
|
|
1413
1535
|
],
|
|
1536
|
+
"fileUrlPath": "src/types.ts",
|
|
1414
1537
|
"releaseTag": "Public",
|
|
1415
1538
|
"name": "Validator",
|
|
1539
|
+
"preserveMemberOrder": false,
|
|
1416
1540
|
"members": [
|
|
1417
1541
|
{
|
|
1418
1542
|
"kind": "MethodSignature",
|
|
@@ -1484,7 +1608,7 @@
|
|
|
1484
1608
|
"excerptTokens": [
|
|
1485
1609
|
{
|
|
1486
1610
|
"kind": "Content",
|
|
1487
|
-
"text": "export
|
|
1611
|
+
"text": "export type Warnings = "
|
|
1488
1612
|
},
|
|
1489
1613
|
{
|
|
1490
1614
|
"kind": "Content",
|
|
@@ -1495,6 +1619,7 @@
|
|
|
1495
1619
|
"text": ";"
|
|
1496
1620
|
}
|
|
1497
1621
|
],
|
|
1622
|
+
"fileUrlPath": "src/types.ts",
|
|
1498
1623
|
"releaseTag": "Public",
|
|
1499
1624
|
"name": "Warnings",
|
|
1500
1625
|
"typeTokenRange": {
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { ContentValidatorComponents, TheGraphClient } from '../types';
|
|
2
|
-
export
|
|
2
|
+
export type PermissionResult = {
|
|
3
3
|
result: boolean;
|
|
4
4
|
failing?: string[];
|
|
5
5
|
};
|
|
6
|
+
export declare function timestampBounds(timestampMs: number): {
|
|
7
|
+
upper: number;
|
|
8
|
+
lower: number;
|
|
9
|
+
};
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"the-graph-client.d.ts","sourceRoot":"","sources":["../../src/the-graph-client/the-graph-client.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoB,0BAA0B,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"the-graph-client.d.ts","sourceRoot":"","sources":["../../src/the-graph-client/the-graph-client.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoB,0BAA0B,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGvF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CACnB,CAAA;AAED,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM;;;EAYlD;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,eACnB,KAAK,0BAA0B,EAAE,MAAM,GAAG,WAAW,CAAC,KACjE,cA2MF,CAAA"}
|