@dcl/content-validator 4.2.2 → 4.2.3-20230116175244.commit-84aaedb
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": {
|
|
@@ -886,6 +1004,8 @@
|
|
|
886
1004
|
"text": "]"
|
|
887
1005
|
}
|
|
888
1006
|
],
|
|
1007
|
+
"fileUrlPath": "src/validations/index.ts",
|
|
1008
|
+
"isReadonly": true,
|
|
889
1009
|
"releaseTag": "Public",
|
|
890
1010
|
"name": "statefulValidations",
|
|
891
1011
|
"variableTypeTokenRange": {
|
|
@@ -943,6 +1063,8 @@
|
|
|
943
1063
|
"text": "]"
|
|
944
1064
|
}
|
|
945
1065
|
],
|
|
1066
|
+
"fileUrlPath": "src/validations/index.ts",
|
|
1067
|
+
"isReadonly": true,
|
|
946
1068
|
"releaseTag": "Public",
|
|
947
1069
|
"name": "statelessValidations",
|
|
948
1070
|
"variableTypeTokenRange": {
|
|
@@ -957,25 +1079,16 @@
|
|
|
957
1079
|
"excerptTokens": [
|
|
958
1080
|
{
|
|
959
1081
|
"kind": "Content",
|
|
960
|
-
"text": "export
|
|
1082
|
+
"text": "export type SubGraphs = "
|
|
961
1083
|
},
|
|
962
1084
|
{
|
|
963
1085
|
"kind": "Content",
|
|
964
|
-
"text": "{\n L1: {\n
|
|
1086
|
+
"text": "{\n L1: {\n checker: "
|
|
965
1087
|
},
|
|
966
1088
|
{
|
|
967
1089
|
"kind": "Reference",
|
|
968
|
-
"text": "
|
|
969
|
-
"canonicalReference": "@
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
"kind": "Content",
|
|
973
|
-
"text": ";\n blocks: "
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
"kind": "Reference",
|
|
977
|
-
"text": "ISubgraphComponent",
|
|
978
|
-
"canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
|
|
1090
|
+
"text": "L1Checker",
|
|
1091
|
+
"canonicalReference": "@dcl/content-validator!L1Checker:type"
|
|
979
1092
|
},
|
|
980
1093
|
{
|
|
981
1094
|
"kind": "Content",
|
|
@@ -988,16 +1101,16 @@
|
|
|
988
1101
|
},
|
|
989
1102
|
{
|
|
990
1103
|
"kind": "Content",
|
|
991
|
-
"text": ";\n
|
|
1104
|
+
"text": ";\n };\n L2: {\n checker: "
|
|
992
1105
|
},
|
|
993
1106
|
{
|
|
994
1107
|
"kind": "Reference",
|
|
995
|
-
"text": "
|
|
996
|
-
"canonicalReference": "@
|
|
1108
|
+
"text": "L2Checker",
|
|
1109
|
+
"canonicalReference": "@dcl/content-validator!L2Checker:type"
|
|
997
1110
|
},
|
|
998
1111
|
{
|
|
999
1112
|
"kind": "Content",
|
|
1000
|
-
"text": ";\n
|
|
1113
|
+
"text": ";\n collections: "
|
|
1001
1114
|
},
|
|
1002
1115
|
{
|
|
1003
1116
|
"kind": "Reference",
|
|
@@ -1006,36 +1119,37 @@
|
|
|
1006
1119
|
},
|
|
1007
1120
|
{
|
|
1008
1121
|
"kind": "Content",
|
|
1009
|
-
"text": ";\n
|
|
1122
|
+
"text": ";\n };\n l1BlockSearch: "
|
|
1010
1123
|
},
|
|
1011
1124
|
{
|
|
1012
1125
|
"kind": "Reference",
|
|
1013
|
-
"text": "
|
|
1014
|
-
"canonicalReference": "@
|
|
1126
|
+
"text": "BlockSearch",
|
|
1127
|
+
"canonicalReference": "@dcl/block-indexer!BlockSearch:type"
|
|
1015
1128
|
},
|
|
1016
1129
|
{
|
|
1017
1130
|
"kind": "Content",
|
|
1018
|
-
"text": ";\n
|
|
1131
|
+
"text": ";\n l2BlockSearch: "
|
|
1019
1132
|
},
|
|
1020
1133
|
{
|
|
1021
1134
|
"kind": "Reference",
|
|
1022
|
-
"text": "
|
|
1023
|
-
"canonicalReference": "@
|
|
1135
|
+
"text": "BlockSearch",
|
|
1136
|
+
"canonicalReference": "@dcl/block-indexer!BlockSearch:type"
|
|
1024
1137
|
},
|
|
1025
1138
|
{
|
|
1026
1139
|
"kind": "Content",
|
|
1027
|
-
"text": ";\n
|
|
1140
|
+
"text": ";\n}"
|
|
1028
1141
|
},
|
|
1029
1142
|
{
|
|
1030
1143
|
"kind": "Content",
|
|
1031
1144
|
"text": ";"
|
|
1032
1145
|
}
|
|
1033
1146
|
],
|
|
1147
|
+
"fileUrlPath": "src/types.ts",
|
|
1034
1148
|
"releaseTag": "Public",
|
|
1035
1149
|
"name": "SubGraphs",
|
|
1036
1150
|
"typeTokenRange": {
|
|
1037
1151
|
"startIndex": 1,
|
|
1038
|
-
"endIndex":
|
|
1152
|
+
"endIndex": 14
|
|
1039
1153
|
}
|
|
1040
1154
|
},
|
|
1041
1155
|
{
|
|
@@ -1045,7 +1159,7 @@
|
|
|
1045
1159
|
"excerptTokens": [
|
|
1046
1160
|
{
|
|
1047
1161
|
"kind": "Content",
|
|
1048
|
-
"text": "export
|
|
1162
|
+
"text": "export type TheGraphClient = "
|
|
1049
1163
|
},
|
|
1050
1164
|
{
|
|
1051
1165
|
"kind": "Content",
|
|
@@ -1054,7 +1168,7 @@
|
|
|
1054
1168
|
{
|
|
1055
1169
|
"kind": "Reference",
|
|
1056
1170
|
"text": "EthAddress",
|
|
1057
|
-
"canonicalReference": "@dcl/
|
|
1171
|
+
"canonicalReference": "@dcl/content-validator!~EthAddress"
|
|
1058
1172
|
},
|
|
1059
1173
|
{
|
|
1060
1174
|
"kind": "Content",
|
|
@@ -1072,7 +1186,7 @@
|
|
|
1072
1186
|
{
|
|
1073
1187
|
"kind": "Reference",
|
|
1074
1188
|
"text": "PermissionResult",
|
|
1075
|
-
"canonicalReference": "@dcl/content-validator
|
|
1189
|
+
"canonicalReference": "@dcl/content-validator!~PermissionResult:type"
|
|
1076
1190
|
},
|
|
1077
1191
|
{
|
|
1078
1192
|
"kind": "Content",
|
|
@@ -1081,7 +1195,7 @@
|
|
|
1081
1195
|
{
|
|
1082
1196
|
"kind": "Reference",
|
|
1083
1197
|
"text": "EthAddress",
|
|
1084
|
-
"canonicalReference": "@dcl/
|
|
1198
|
+
"canonicalReference": "@dcl/content-validator!~EthAddress"
|
|
1085
1199
|
},
|
|
1086
1200
|
{
|
|
1087
1201
|
"kind": "Content",
|
|
@@ -1099,20 +1213,20 @@
|
|
|
1099
1213
|
{
|
|
1100
1214
|
"kind": "Reference",
|
|
1101
1215
|
"text": "PermissionResult",
|
|
1102
|
-
"canonicalReference": "@dcl/content-validator
|
|
1216
|
+
"canonicalReference": "@dcl/content-validator!~PermissionResult:type"
|
|
1103
1217
|
},
|
|
1104
1218
|
{
|
|
1105
1219
|
"kind": "Content",
|
|
1106
|
-
"text": ">;\n findBlocksForTimestamp: (
|
|
1220
|
+
"text": ">;\n findBlocksForTimestamp: (timestamp: number, blockSearch: "
|
|
1107
1221
|
},
|
|
1108
1222
|
{
|
|
1109
1223
|
"kind": "Reference",
|
|
1110
|
-
"text": "
|
|
1111
|
-
"canonicalReference": "@
|
|
1224
|
+
"text": "BlockSearch",
|
|
1225
|
+
"canonicalReference": "@dcl/block-indexer!BlockSearch:type"
|
|
1112
1226
|
},
|
|
1113
1227
|
{
|
|
1114
1228
|
"kind": "Content",
|
|
1115
|
-
"text": "
|
|
1229
|
+
"text": ") => "
|
|
1116
1230
|
},
|
|
1117
1231
|
{
|
|
1118
1232
|
"kind": "Reference",
|
|
@@ -1137,6 +1251,7 @@
|
|
|
1137
1251
|
"text": ";"
|
|
1138
1252
|
}
|
|
1139
1253
|
],
|
|
1254
|
+
"fileUrlPath": "src/types.ts",
|
|
1140
1255
|
"releaseTag": "Public",
|
|
1141
1256
|
"name": "TheGraphClient",
|
|
1142
1257
|
"typeTokenRange": {
|
|
@@ -1151,7 +1266,7 @@
|
|
|
1151
1266
|
"excerptTokens": [
|
|
1152
1267
|
{
|
|
1153
1268
|
"kind": "Content",
|
|
1154
|
-
"text": "export
|
|
1269
|
+
"text": "export type Validation = "
|
|
1155
1270
|
},
|
|
1156
1271
|
{
|
|
1157
1272
|
"kind": "Content",
|
|
@@ -1207,6 +1322,7 @@
|
|
|
1207
1322
|
"text": ";"
|
|
1208
1323
|
}
|
|
1209
1324
|
],
|
|
1325
|
+
"fileUrlPath": "src/types.ts",
|
|
1210
1326
|
"releaseTag": "Public",
|
|
1211
1327
|
"name": "Validation",
|
|
1212
1328
|
"typeTokenRange": {
|
|
@@ -1221,7 +1337,7 @@
|
|
|
1221
1337
|
"excerptTokens": [
|
|
1222
1338
|
{
|
|
1223
1339
|
"kind": "Content",
|
|
1224
|
-
"text": "export
|
|
1340
|
+
"text": "export type ValidationArgs = "
|
|
1225
1341
|
},
|
|
1226
1342
|
{
|
|
1227
1343
|
"kind": "Content",
|
|
@@ -1241,6 +1357,7 @@
|
|
|
1241
1357
|
"text": ";"
|
|
1242
1358
|
}
|
|
1243
1359
|
],
|
|
1360
|
+
"fileUrlPath": "src/types.ts",
|
|
1244
1361
|
"releaseTag": "Public",
|
|
1245
1362
|
"name": "ValidationArgs",
|
|
1246
1363
|
"typeTokenRange": {
|
|
@@ -1267,6 +1384,8 @@
|
|
|
1267
1384
|
"canonicalReference": "@dcl/content-validator!ValidationResponse:type"
|
|
1268
1385
|
}
|
|
1269
1386
|
],
|
|
1387
|
+
"fileUrlPath": "src/types.ts",
|
|
1388
|
+
"isReadonly": true,
|
|
1270
1389
|
"releaseTag": "Public",
|
|
1271
1390
|
"name": "validationFailed",
|
|
1272
1391
|
"variableTypeTokenRange": {
|
|
@@ -1281,7 +1400,7 @@
|
|
|
1281
1400
|
"excerptTokens": [
|
|
1282
1401
|
{
|
|
1283
1402
|
"kind": "Content",
|
|
1284
|
-
"text": "export
|
|
1403
|
+
"text": "export type ValidationResponse = "
|
|
1285
1404
|
},
|
|
1286
1405
|
{
|
|
1287
1406
|
"kind": "Content",
|
|
@@ -1301,6 +1420,7 @@
|
|
|
1301
1420
|
"text": ";"
|
|
1302
1421
|
}
|
|
1303
1422
|
],
|
|
1423
|
+
"fileUrlPath": "src/types.ts",
|
|
1304
1424
|
"releaseTag": "Public",
|
|
1305
1425
|
"name": "ValidationResponse",
|
|
1306
1426
|
"typeTokenRange": {
|
|
@@ -1430,6 +1550,8 @@
|
|
|
1430
1550
|
"text": "]"
|
|
1431
1551
|
}
|
|
1432
1552
|
],
|
|
1553
|
+
"fileUrlPath": "src/validations/index.ts",
|
|
1554
|
+
"isReadonly": true,
|
|
1433
1555
|
"releaseTag": "Public",
|
|
1434
1556
|
"name": "validations",
|
|
1435
1557
|
"variableTypeTokenRange": {
|
|
@@ -1447,8 +1569,10 @@
|
|
|
1447
1569
|
"text": "export interface Validator "
|
|
1448
1570
|
}
|
|
1449
1571
|
],
|
|
1572
|
+
"fileUrlPath": "src/types.ts",
|
|
1450
1573
|
"releaseTag": "Public",
|
|
1451
1574
|
"name": "Validator",
|
|
1575
|
+
"preserveMemberOrder": false,
|
|
1452
1576
|
"members": [
|
|
1453
1577
|
{
|
|
1454
1578
|
"kind": "MethodSignature",
|
|
@@ -1520,7 +1644,7 @@
|
|
|
1520
1644
|
"excerptTokens": [
|
|
1521
1645
|
{
|
|
1522
1646
|
"kind": "Content",
|
|
1523
|
-
"text": "export
|
|
1647
|
+
"text": "export type Warnings = "
|
|
1524
1648
|
},
|
|
1525
1649
|
{
|
|
1526
1650
|
"kind": "Content",
|
|
@@ -1531,6 +1655,7 @@
|
|
|
1531
1655
|
"text": ";"
|
|
1532
1656
|
}
|
|
1533
1657
|
],
|
|
1658
|
+
"fileUrlPath": "src/types.ts",
|
|
1534
1659
|
"releaseTag": "Public",
|
|
1535
1660
|
"name": "Warnings",
|
|
1536
1661
|
"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"}
|