@dcl/content-validator 4.0.27-20230106194717.commit-dd49367 → 4.1.0
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 +73 -180
- 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/ADR45.d.ts +7 -0
- package/dist/validations/ADR45.d.ts.map +1 -0
- package/dist/validations/ADR45.js +20 -0
- package/dist/validations/ADR45.js.map +1 -0
- 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/index.d.ts +2 -2
- package/dist/validations/index.d.ts.map +1 -1
- package/dist/validations/index.js +2 -1
- package/dist/validations/index.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": {
|
|
@@ -1040,18 +920,25 @@
|
|
|
1040
920
|
"text": "Validation",
|
|
1041
921
|
"canonicalReference": "@dcl/content-validator!Validation:type"
|
|
1042
922
|
},
|
|
923
|
+
{
|
|
924
|
+
"kind": "Content",
|
|
925
|
+
"text": ", import(\"../types\")."
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"kind": "Reference",
|
|
929
|
+
"text": "Validation",
|
|
930
|
+
"canonicalReference": "@dcl/content-validator!Validation:type"
|
|
931
|
+
},
|
|
1043
932
|
{
|
|
1044
933
|
"kind": "Content",
|
|
1045
934
|
"text": "]"
|
|
1046
935
|
}
|
|
1047
936
|
],
|
|
1048
|
-
"fileUrlPath": "src/validations/index.ts",
|
|
1049
|
-
"isReadonly": true,
|
|
1050
937
|
"releaseTag": "Public",
|
|
1051
938
|
"name": "statelessValidations",
|
|
1052
939
|
"variableTypeTokenRange": {
|
|
1053
940
|
"startIndex": 1,
|
|
1054
|
-
"endIndex":
|
|
941
|
+
"endIndex": 10
|
|
1055
942
|
}
|
|
1056
943
|
},
|
|
1057
944
|
{
|
|
@@ -1061,16 +948,25 @@
|
|
|
1061
948
|
"excerptTokens": [
|
|
1062
949
|
{
|
|
1063
950
|
"kind": "Content",
|
|
1064
|
-
"text": "export type SubGraphs = "
|
|
951
|
+
"text": "export declare type SubGraphs = "
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"kind": "Content",
|
|
955
|
+
"text": "{\n L1: {\n landManager: "
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"kind": "Reference",
|
|
959
|
+
"text": "ISubgraphComponent",
|
|
960
|
+
"canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
|
|
1065
961
|
},
|
|
1066
962
|
{
|
|
1067
963
|
"kind": "Content",
|
|
1068
|
-
"text": "
|
|
964
|
+
"text": ";\n blocks: "
|
|
1069
965
|
},
|
|
1070
966
|
{
|
|
1071
967
|
"kind": "Reference",
|
|
1072
|
-
"text": "
|
|
1073
|
-
"canonicalReference": "@
|
|
968
|
+
"text": "ISubgraphComponent",
|
|
969
|
+
"canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
|
|
1074
970
|
},
|
|
1075
971
|
{
|
|
1076
972
|
"kind": "Content",
|
|
@@ -1083,16 +979,16 @@
|
|
|
1083
979
|
},
|
|
1084
980
|
{
|
|
1085
981
|
"kind": "Content",
|
|
1086
|
-
"text": ";\n
|
|
982
|
+
"text": ";\n ensOwner: "
|
|
1087
983
|
},
|
|
1088
984
|
{
|
|
1089
985
|
"kind": "Reference",
|
|
1090
|
-
"text": "
|
|
1091
|
-
"canonicalReference": "@
|
|
986
|
+
"text": "ISubgraphComponent",
|
|
987
|
+
"canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
|
|
1092
988
|
},
|
|
1093
989
|
{
|
|
1094
990
|
"kind": "Content",
|
|
1095
|
-
"text": ";\n
|
|
991
|
+
"text": ";\n };\n L2: {\n blocks: "
|
|
1096
992
|
},
|
|
1097
993
|
{
|
|
1098
994
|
"kind": "Reference",
|
|
@@ -1101,37 +997,36 @@
|
|
|
1101
997
|
},
|
|
1102
998
|
{
|
|
1103
999
|
"kind": "Content",
|
|
1104
|
-
"text": ";\n
|
|
1000
|
+
"text": ";\n collections: "
|
|
1105
1001
|
},
|
|
1106
1002
|
{
|
|
1107
1003
|
"kind": "Reference",
|
|
1108
|
-
"text": "
|
|
1109
|
-
"canonicalReference": "@
|
|
1004
|
+
"text": "ISubgraphComponent",
|
|
1005
|
+
"canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
|
|
1110
1006
|
},
|
|
1111
1007
|
{
|
|
1112
1008
|
"kind": "Content",
|
|
1113
|
-
"text": ";\n
|
|
1009
|
+
"text": ";\n thirdPartyRegistry: "
|
|
1114
1010
|
},
|
|
1115
1011
|
{
|
|
1116
1012
|
"kind": "Reference",
|
|
1117
|
-
"text": "
|
|
1118
|
-
"canonicalReference": "@
|
|
1013
|
+
"text": "ISubgraphComponent",
|
|
1014
|
+
"canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
|
|
1119
1015
|
},
|
|
1120
1016
|
{
|
|
1121
1017
|
"kind": "Content",
|
|
1122
|
-
"text": ";\n}"
|
|
1018
|
+
"text": ";\n };\n}"
|
|
1123
1019
|
},
|
|
1124
1020
|
{
|
|
1125
1021
|
"kind": "Content",
|
|
1126
1022
|
"text": ";"
|
|
1127
1023
|
}
|
|
1128
1024
|
],
|
|
1129
|
-
"fileUrlPath": "src/types.ts",
|
|
1130
1025
|
"releaseTag": "Public",
|
|
1131
1026
|
"name": "SubGraphs",
|
|
1132
1027
|
"typeTokenRange": {
|
|
1133
1028
|
"startIndex": 1,
|
|
1134
|
-
"endIndex":
|
|
1029
|
+
"endIndex": 16
|
|
1135
1030
|
}
|
|
1136
1031
|
},
|
|
1137
1032
|
{
|
|
@@ -1141,7 +1036,7 @@
|
|
|
1141
1036
|
"excerptTokens": [
|
|
1142
1037
|
{
|
|
1143
1038
|
"kind": "Content",
|
|
1144
|
-
"text": "export type TheGraphClient = "
|
|
1039
|
+
"text": "export declare type TheGraphClient = "
|
|
1145
1040
|
},
|
|
1146
1041
|
{
|
|
1147
1042
|
"kind": "Content",
|
|
@@ -1150,7 +1045,7 @@
|
|
|
1150
1045
|
{
|
|
1151
1046
|
"kind": "Reference",
|
|
1152
1047
|
"text": "EthAddress",
|
|
1153
|
-
"canonicalReference": "@dcl/
|
|
1048
|
+
"canonicalReference": "@dcl/schemas!EthAddress:type"
|
|
1154
1049
|
},
|
|
1155
1050
|
{
|
|
1156
1051
|
"kind": "Content",
|
|
@@ -1168,7 +1063,7 @@
|
|
|
1168
1063
|
{
|
|
1169
1064
|
"kind": "Reference",
|
|
1170
1065
|
"text": "PermissionResult",
|
|
1171
|
-
"canonicalReference": "@dcl/content-validator
|
|
1066
|
+
"canonicalReference": "@dcl/content-validator!PermissionResult:type"
|
|
1172
1067
|
},
|
|
1173
1068
|
{
|
|
1174
1069
|
"kind": "Content",
|
|
@@ -1177,7 +1072,7 @@
|
|
|
1177
1072
|
{
|
|
1178
1073
|
"kind": "Reference",
|
|
1179
1074
|
"text": "EthAddress",
|
|
1180
|
-
"canonicalReference": "@dcl/
|
|
1075
|
+
"canonicalReference": "@dcl/schemas!EthAddress:type"
|
|
1181
1076
|
},
|
|
1182
1077
|
{
|
|
1183
1078
|
"kind": "Content",
|
|
@@ -1195,20 +1090,20 @@
|
|
|
1195
1090
|
{
|
|
1196
1091
|
"kind": "Reference",
|
|
1197
1092
|
"text": "PermissionResult",
|
|
1198
|
-
"canonicalReference": "@dcl/content-validator
|
|
1093
|
+
"canonicalReference": "@dcl/content-validator!PermissionResult:type"
|
|
1199
1094
|
},
|
|
1200
1095
|
{
|
|
1201
1096
|
"kind": "Content",
|
|
1202
|
-
"text": ">;\n findBlocksForTimestamp: (
|
|
1097
|
+
"text": ">;\n findBlocksForTimestamp: (subgraph: "
|
|
1203
1098
|
},
|
|
1204
1099
|
{
|
|
1205
1100
|
"kind": "Reference",
|
|
1206
|
-
"text": "
|
|
1207
|
-
"canonicalReference": "@
|
|
1101
|
+
"text": "ISubgraphComponent",
|
|
1102
|
+
"canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
|
|
1208
1103
|
},
|
|
1209
1104
|
{
|
|
1210
1105
|
"kind": "Content",
|
|
1211
|
-
"text": ") => "
|
|
1106
|
+
"text": ", timestamp: number) => "
|
|
1212
1107
|
},
|
|
1213
1108
|
{
|
|
1214
1109
|
"kind": "Reference",
|
|
@@ -1233,7 +1128,6 @@
|
|
|
1233
1128
|
"text": ";"
|
|
1234
1129
|
}
|
|
1235
1130
|
],
|
|
1236
|
-
"fileUrlPath": "src/types.ts",
|
|
1237
1131
|
"releaseTag": "Public",
|
|
1238
1132
|
"name": "TheGraphClient",
|
|
1239
1133
|
"typeTokenRange": {
|
|
@@ -1248,7 +1142,7 @@
|
|
|
1248
1142
|
"excerptTokens": [
|
|
1249
1143
|
{
|
|
1250
1144
|
"kind": "Content",
|
|
1251
|
-
"text": "export type Validation = "
|
|
1145
|
+
"text": "export declare type Validation = "
|
|
1252
1146
|
},
|
|
1253
1147
|
{
|
|
1254
1148
|
"kind": "Content",
|
|
@@ -1304,7 +1198,6 @@
|
|
|
1304
1198
|
"text": ";"
|
|
1305
1199
|
}
|
|
1306
1200
|
],
|
|
1307
|
-
"fileUrlPath": "src/types.ts",
|
|
1308
1201
|
"releaseTag": "Public",
|
|
1309
1202
|
"name": "Validation",
|
|
1310
1203
|
"typeTokenRange": {
|
|
@@ -1319,7 +1212,7 @@
|
|
|
1319
1212
|
"excerptTokens": [
|
|
1320
1213
|
{
|
|
1321
1214
|
"kind": "Content",
|
|
1322
|
-
"text": "export type ValidationArgs = "
|
|
1215
|
+
"text": "export declare type ValidationArgs = "
|
|
1323
1216
|
},
|
|
1324
1217
|
{
|
|
1325
1218
|
"kind": "Content",
|
|
@@ -1339,7 +1232,6 @@
|
|
|
1339
1232
|
"text": ";"
|
|
1340
1233
|
}
|
|
1341
1234
|
],
|
|
1342
|
-
"fileUrlPath": "src/types.ts",
|
|
1343
1235
|
"releaseTag": "Public",
|
|
1344
1236
|
"name": "ValidationArgs",
|
|
1345
1237
|
"typeTokenRange": {
|
|
@@ -1366,8 +1258,6 @@
|
|
|
1366
1258
|
"canonicalReference": "@dcl/content-validator!ValidationResponse:type"
|
|
1367
1259
|
}
|
|
1368
1260
|
],
|
|
1369
|
-
"fileUrlPath": "src/types.ts",
|
|
1370
|
-
"isReadonly": true,
|
|
1371
1261
|
"releaseTag": "Public",
|
|
1372
1262
|
"name": "validationFailed",
|
|
1373
1263
|
"variableTypeTokenRange": {
|
|
@@ -1382,7 +1272,7 @@
|
|
|
1382
1272
|
"excerptTokens": [
|
|
1383
1273
|
{
|
|
1384
1274
|
"kind": "Content",
|
|
1385
|
-
"text": "export type ValidationResponse = "
|
|
1275
|
+
"text": "export declare type ValidationResponse = "
|
|
1386
1276
|
},
|
|
1387
1277
|
{
|
|
1388
1278
|
"kind": "Content",
|
|
@@ -1402,7 +1292,6 @@
|
|
|
1402
1292
|
"text": ";"
|
|
1403
1293
|
}
|
|
1404
1294
|
],
|
|
1405
|
-
"fileUrlPath": "src/types.ts",
|
|
1406
1295
|
"releaseTag": "Public",
|
|
1407
1296
|
"name": "ValidationResponse",
|
|
1408
1297
|
"typeTokenRange": {
|
|
@@ -1509,18 +1398,25 @@
|
|
|
1509
1398
|
"text": "Validation",
|
|
1510
1399
|
"canonicalReference": "@dcl/content-validator!Validation:type"
|
|
1511
1400
|
},
|
|
1401
|
+
{
|
|
1402
|
+
"kind": "Content",
|
|
1403
|
+
"text": ", import(\"../types\")."
|
|
1404
|
+
},
|
|
1405
|
+
{
|
|
1406
|
+
"kind": "Reference",
|
|
1407
|
+
"text": "Validation",
|
|
1408
|
+
"canonicalReference": "@dcl/content-validator!Validation:type"
|
|
1409
|
+
},
|
|
1512
1410
|
{
|
|
1513
1411
|
"kind": "Content",
|
|
1514
1412
|
"text": "]"
|
|
1515
1413
|
}
|
|
1516
1414
|
],
|
|
1517
|
-
"fileUrlPath": "src/validations/index.ts",
|
|
1518
|
-
"isReadonly": true,
|
|
1519
1415
|
"releaseTag": "Public",
|
|
1520
1416
|
"name": "validations",
|
|
1521
1417
|
"variableTypeTokenRange": {
|
|
1522
1418
|
"startIndex": 1,
|
|
1523
|
-
"endIndex":
|
|
1419
|
+
"endIndex": 24
|
|
1524
1420
|
}
|
|
1525
1421
|
},
|
|
1526
1422
|
{
|
|
@@ -1533,10 +1429,8 @@
|
|
|
1533
1429
|
"text": "export interface Validator "
|
|
1534
1430
|
}
|
|
1535
1431
|
],
|
|
1536
|
-
"fileUrlPath": "src/types.ts",
|
|
1537
1432
|
"releaseTag": "Public",
|
|
1538
1433
|
"name": "Validator",
|
|
1539
|
-
"preserveMemberOrder": false,
|
|
1540
1434
|
"members": [
|
|
1541
1435
|
{
|
|
1542
1436
|
"kind": "MethodSignature",
|
|
@@ -1608,7 +1502,7 @@
|
|
|
1608
1502
|
"excerptTokens": [
|
|
1609
1503
|
{
|
|
1610
1504
|
"kind": "Content",
|
|
1611
|
-
"text": "export type Warnings = "
|
|
1505
|
+
"text": "export declare type Warnings = "
|
|
1612
1506
|
},
|
|
1613
1507
|
{
|
|
1614
1508
|
"kind": "Content",
|
|
@@ -1619,7 +1513,6 @@
|
|
|
1619
1513
|
"text": ";"
|
|
1620
1514
|
}
|
|
1621
1515
|
],
|
|
1622
|
-
"fileUrlPath": "src/types.ts",
|
|
1623
1516
|
"releaseTag": "Public",
|
|
1624
1517
|
"name": "Warnings",
|
|
1625
1518
|
"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"}
|