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