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