@dcl/content-validator 2.1.1-20220621212400.commit-52fa215 → 2.1.1-20220623160302.commit-0d7907b

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.
Files changed (94) hide show
  1. package/dist/content-validator.api.json +139 -218
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/the-graph-client/the-graph-client.d.ts +1 -1
  6. package/dist/the-graph-client/the-graph-client.d.ts.map +1 -1
  7. package/dist/the-graph-client/the-graph-client.js +7 -13
  8. package/dist/the-graph-client/the-graph-client.js.map +1 -1
  9. package/dist/types.d.ts +18 -26
  10. package/dist/types.d.ts.map +1 -1
  11. package/dist/types.js +1 -16
  12. package/dist/types.js.map +1 -1
  13. package/dist/validations/ADR51.d.ts +3 -5
  14. package/dist/validations/ADR51.d.ts.map +1 -1
  15. package/dist/validations/ADR51.js +4 -0
  16. package/dist/validations/ADR51.js.map +1 -1
  17. package/dist/validations/access-checker/access.d.ts.map +1 -1
  18. package/dist/validations/access-checker/access.js +5 -3
  19. package/dist/validations/access-checker/access.js.map +1 -1
  20. package/dist/validations/access-checker/emotes.d.ts +3 -0
  21. package/dist/validations/access-checker/emotes.d.ts.map +1 -0
  22. package/dist/validations/access-checker/emotes.js +13 -0
  23. package/dist/validations/access-checker/emotes.js.map +1 -0
  24. package/dist/validations/access-checker/items/collection-asset.d.ts +15 -0
  25. package/dist/validations/access-checker/items/collection-asset.d.ts.map +1 -0
  26. package/dist/validations/access-checker/items/collection-asset.js +131 -0
  27. package/dist/validations/access-checker/items/collection-asset.js.map +1 -0
  28. package/dist/validations/access-checker/items/items.d.ts +13 -0
  29. package/dist/validations/access-checker/items/items.d.ts.map +1 -0
  30. package/dist/validations/access-checker/items/items.js +68 -0
  31. package/dist/validations/access-checker/items/items.js.map +1 -0
  32. package/dist/validations/access-checker/items/off-chain-asset.d.ts +3 -0
  33. package/dist/validations/access-checker/items/off-chain-asset.d.ts.map +1 -0
  34. package/dist/validations/access-checker/items/off-chain-asset.js +17 -0
  35. package/dist/validations/access-checker/items/off-chain-asset.js.map +1 -0
  36. package/dist/validations/access-checker/items/third-party-asset.d.ts +3 -0
  37. package/dist/validations/access-checker/items/third-party-asset.d.ts.map +1 -0
  38. package/dist/validations/access-checker/items/third-party-asset.js +107 -0
  39. package/dist/validations/access-checker/items/third-party-asset.js.map +1 -0
  40. package/dist/validations/access-checker/profiles.d.ts.map +1 -1
  41. package/dist/validations/access-checker/profiles.js +3 -3
  42. package/dist/validations/access-checker/profiles.js.map +1 -1
  43. package/dist/validations/access-checker/scenes.d.ts.map +1 -1
  44. package/dist/validations/access-checker/scenes.js +4 -4
  45. package/dist/validations/access-checker/scenes.js.map +1 -1
  46. package/dist/validations/access-checker/wearables.d.ts +0 -18
  47. package/dist/validations/access-checker/wearables.d.ts.map +1 -1
  48. package/dist/validations/access-checker/wearables.js +9 -308
  49. package/dist/validations/access-checker/wearables.js.map +1 -1
  50. package/dist/validations/content.d.ts +3 -0
  51. package/dist/validations/content.d.ts.map +1 -1
  52. package/dist/validations/content.js +30 -17
  53. package/dist/validations/content.js.map +1 -1
  54. package/dist/validations/index.d.ts +4 -23
  55. package/dist/validations/index.d.ts.map +1 -1
  56. package/dist/validations/index.js +4 -31
  57. package/dist/validations/index.js.map +1 -1
  58. package/dist/validations/ipfs-hashing.d.ts.map +1 -1
  59. package/dist/validations/ipfs-hashing.js +3 -6
  60. package/dist/validations/ipfs-hashing.js.map +1 -1
  61. package/dist/validations/items/emotes.d.ts +5 -0
  62. package/dist/validations/items/emotes.d.ts.map +1 -0
  63. package/dist/validations/items/emotes.js +35 -0
  64. package/dist/validations/items/emotes.js.map +1 -0
  65. package/dist/validations/items/items.d.ts +10 -0
  66. package/dist/validations/items/items.d.ts.map +1 -0
  67. package/dist/validations/items/items.js +79 -0
  68. package/dist/validations/items/items.js.map +1 -0
  69. package/dist/validations/{wearable.d.ts → items/wearables.d.ts} +2 -5
  70. package/dist/validations/items/wearables.d.ts.map +1 -0
  71. package/dist/validations/items/wearables.js +32 -0
  72. package/dist/validations/items/wearables.js.map +1 -0
  73. package/dist/validations/metadata-schema.d.ts +2 -5
  74. package/dist/validations/metadata-schema.d.ts.map +1 -1
  75. package/dist/validations/metadata-schema.js +37 -7
  76. package/dist/validations/metadata-schema.js.map +1 -1
  77. package/dist/validations/profile.d.ts.map +1 -1
  78. package/dist/validations/profile.js +8 -18
  79. package/dist/validations/profile.js.map +1 -1
  80. package/dist/validations/size.d.ts.map +1 -1
  81. package/dist/validations/size.js +4 -3
  82. package/dist/validations/size.js.map +1 -1
  83. package/dist/validations/timestamps.d.ts +21 -0
  84. package/dist/validations/timestamps.d.ts.map +1 -0
  85. package/dist/validations/timestamps.js +24 -0
  86. package/dist/validations/timestamps.js.map +1 -0
  87. package/dist/validations/validations.d.ts +9 -0
  88. package/dist/validations/validations.d.ts.map +1 -0
  89. package/dist/validations/validations.js +47 -0
  90. package/dist/validations/validations.js.map +1 -0
  91. package/package.json +4 -3
  92. package/dist/validations/wearable.d.ts.map +0 -1
  93. package/dist/validations/wearable.js +0 -110
  94. package/dist/validations/wearable.js.map +0 -1
@@ -170,48 +170,6 @@
170
170
  "canonicalReference": "@dcl/content-validator!",
171
171
  "name": "",
172
172
  "members": [
173
- {
174
- "kind": "Variable",
175
- "canonicalReference": "@dcl/content-validator!ADR_45_TIMESTAMP:var",
176
- "docComment": "/**\n * 1652191200000 = 2022-05-10T14:00:00Z\n *\n * @public\n */\n",
177
- "excerptTokens": [
178
- {
179
- "kind": "Content",
180
- "text": "ADR_45_TIMESTAMP: "
181
- },
182
- {
183
- "kind": "Content",
184
- "text": "number"
185
- }
186
- ],
187
- "releaseTag": "Public",
188
- "name": "ADR_45_TIMESTAMP",
189
- "variableTypeTokenRange": {
190
- "startIndex": 1,
191
- "endIndex": 2
192
- }
193
- },
194
- {
195
- "kind": "Variable",
196
- "canonicalReference": "@dcl/content-validator!ADR_75_TIMESTAMP:var",
197
- "docComment": "/**\n * 1658275200000 = 2022-07-20T00:00:00Z\n *\n * @public\n */\n",
198
- "excerptTokens": [
199
- {
200
- "kind": "Content",
201
- "text": "ADR_75_TIMESTAMP: "
202
- },
203
- {
204
- "kind": "Content",
205
- "text": "number"
206
- }
207
- ],
208
- "releaseTag": "Public",
209
- "name": "ADR_75_TIMESTAMP",
210
- "variableTypeTokenRange": {
211
- "startIndex": 1,
212
- "endIndex": 2
213
- }
214
- },
215
173
  {
216
174
  "kind": "TypeAlias",
217
175
  "canonicalReference": "@dcl/content-validator!BlockInformation:type",
@@ -355,41 +313,6 @@
355
313
  "endIndex": 12
356
314
  }
357
315
  },
358
- {
359
- "kind": "Variable",
360
- "canonicalReference": "@dcl/content-validator!conditionalValidation:var",
361
- "docComment": "/**\n * @public\n */\n",
362
- "excerptTokens": [
363
- {
364
- "kind": "Content",
365
- "text": "conditionalValidation: "
366
- },
367
- {
368
- "kind": "Content",
369
- "text": "(condition: "
370
- },
371
- {
372
- "kind": "Reference",
373
- "text": "ConditionalValidation",
374
- "canonicalReference": "@dcl/content-validator!ConditionalValidation:type"
375
- },
376
- {
377
- "kind": "Content",
378
- "text": ") => "
379
- },
380
- {
381
- "kind": "Reference",
382
- "text": "Validation",
383
- "canonicalReference": "@dcl/content-validator!Validation:type"
384
- }
385
- ],
386
- "releaseTag": "Public",
387
- "name": "conditionalValidation",
388
- "variableTypeTokenRange": {
389
- "startIndex": 1,
390
- "endIndex": 5
391
- }
392
- },
393
316
  {
394
317
  "kind": "TypeAlias",
395
318
  "canonicalReference": "@dcl/content-validator!ContentValidatorComponents:type",
@@ -426,6 +349,15 @@
426
349
  "text": "ExternalCalls",
427
350
  "canonicalReference": "@dcl/content-validator!ExternalCalls:type"
428
351
  },
352
+ {
353
+ "kind": "Content",
354
+ "text": ";\n subGraphs: "
355
+ },
356
+ {
357
+ "kind": "Reference",
358
+ "text": "SubGraphs",
359
+ "canonicalReference": "@dcl/content-validator!SubGraphs:type"
360
+ },
429
361
  {
430
362
  "kind": "Content",
431
363
  "text": ";\n}"
@@ -439,7 +371,7 @@
439
371
  "name": "ContentValidatorComponents",
440
372
  "typeTokenRange": {
441
373
  "startIndex": 1,
442
- "endIndex": 8
374
+ "endIndex": 10
443
375
  }
444
376
  },
445
377
  {
@@ -471,7 +403,7 @@
471
403
  },
472
404
  {
473
405
  "kind": "Content",
474
- "text": ", 'logs' | 'externalCalls'>) => "
406
+ "text": ", 'logs' | 'subGraphs'>) => "
475
407
  },
476
408
  {
477
409
  "kind": "Reference",
@@ -515,7 +447,7 @@
515
447
  },
516
448
  {
517
449
  "kind": "Content",
518
- "text": ", 'externalCalls' | 'logs' | 'theGraphClient'>) => "
450
+ "text": ", 'externalCalls' | 'logs' | 'theGraphClient' | 'subGraphs'>) => "
519
451
  },
520
452
  {
521
453
  "kind": "Reference",
@@ -711,16 +643,7 @@
711
643
  },
712
644
  {
713
645
  "kind": "Content",
714
- "text": ") => string;\n isAddressOwnedByDecentraland: (address: string) => boolean;\n queryGraph: "
715
- },
716
- {
717
- "kind": "Reference",
718
- "text": "QueryGraph",
719
- "canonicalReference": "@dcl/content-validator!QueryGraph:type"
720
- },
721
- {
722
- "kind": "Content",
723
- "text": ";\n subgraphs: {\n L1: {\n landManager: string;\n blocks: string;\n collections: string;\n ensOwner: string;\n };\n L2: {\n blocks: string;\n collections: string;\n thirdPartyRegistry: string;\n };\n };\n}"
646
+ "text": ") => string;\n isAddressOwnedByDecentraland: (address: string) => boolean;\n}"
724
647
  },
725
648
  {
726
649
  "kind": "Content",
@@ -731,7 +654,7 @@
731
654
  "name": "ExternalCalls",
732
655
  "typeTokenRange": {
733
656
  "startIndex": 1,
734
- "endIndex": 16
657
+ "endIndex": 14
735
658
  }
736
659
  },
737
660
  {
@@ -769,23 +692,6 @@
769
692
  "endIndex": 5
770
693
  }
771
694
  },
772
- {
773
- "kind": "Variable",
774
- "canonicalReference": "@dcl/content-validator!LEGACY_CONTENT_MIGRATION_TIMESTAMP:var",
775
- "docComment": "/**\n * DCL Launch Day\n *\n * @public\n */\n",
776
- "excerptTokens": [
777
- {
778
- "kind": "Content",
779
- "text": "LEGACY_CONTENT_MIGRATION_TIMESTAMP = 1582167600000"
780
- }
781
- ],
782
- "releaseTag": "Public",
783
- "name": "LEGACY_CONTENT_MIGRATION_TIMESTAMP",
784
- "variableTypeTokenRange": {
785
- "startIndex": 0,
786
- "endIndex": 0
787
- }
788
- },
789
695
  {
790
696
  "kind": "TypeAlias",
791
697
  "canonicalReference": "@dcl/content-validator!LocalDeploymentAuditInfo:type",
@@ -853,16 +759,16 @@
853
759
  },
854
760
  {
855
761
  "kind": "Content",
856
- "text": "<T = any>(url: string, query: string, variables: "
762
+ "text": "<T = any>(query: string, variables?: "
857
763
  },
858
764
  {
859
765
  "kind": "Reference",
860
- "text": "Record",
861
- "canonicalReference": "!Record:type"
766
+ "text": "Variables",
767
+ "canonicalReference": "@well-known-components/thegraph-component!Variables:type"
862
768
  },
863
769
  {
864
770
  "kind": "Content",
865
- "text": "<string, any>) => "
771
+ "text": ", remainingAttempts?: number) => "
866
772
  },
867
773
  {
868
774
  "kind": "Reference",
@@ -896,7 +802,7 @@
896
802
  },
897
803
  {
898
804
  "kind": "Content",
899
- "text": "readonly ["
805
+ "text": "readonly [import(\"../types\")."
900
806
  },
901
807
  {
902
808
  "kind": "Reference",
@@ -905,7 +811,7 @@
905
811
  },
906
812
  {
907
813
  "kind": "Content",
908
- "text": ", "
814
+ "text": ", import(\"../types\")."
909
815
  },
910
816
  {
911
817
  "kind": "Reference",
@@ -914,7 +820,7 @@
914
820
  },
915
821
  {
916
822
  "kind": "Content",
917
- "text": ", "
823
+ "text": ", import(\"../types\")."
918
824
  },
919
825
  {
920
826
  "kind": "Reference",
@@ -923,7 +829,7 @@
923
829
  },
924
830
  {
925
831
  "kind": "Content",
926
- "text": ", "
832
+ "text": ", import(\"../types\")."
927
833
  },
928
834
  {
929
835
  "kind": "Reference",
@@ -932,7 +838,7 @@
932
838
  },
933
839
  {
934
840
  "kind": "Content",
935
- "text": ", "
841
+ "text": ", import(\"../types\")."
936
842
  },
937
843
  {
938
844
  "kind": "Reference",
@@ -941,7 +847,16 @@
941
847
  },
942
848
  {
943
849
  "kind": "Content",
944
- "text": ", "
850
+ "text": ", import(\"../types\")."
851
+ },
852
+ {
853
+ "kind": "Reference",
854
+ "text": "Validation",
855
+ "canonicalReference": "@dcl/content-validator!Validation:type"
856
+ },
857
+ {
858
+ "kind": "Content",
859
+ "text": ", import(\"../types\")."
945
860
  },
946
861
  {
947
862
  "kind": "Reference",
@@ -957,7 +872,7 @@
957
872
  "name": "statefulValidations",
958
873
  "variableTypeTokenRange": {
959
874
  "startIndex": 1,
960
- "endIndex": 14
875
+ "endIndex": 16
961
876
  }
962
877
  },
963
878
  {
@@ -971,7 +886,7 @@
971
886
  },
972
887
  {
973
888
  "kind": "Content",
974
- "text": "readonly ["
889
+ "text": "readonly [import(\"../types\")."
975
890
  },
976
891
  {
977
892
  "kind": "Reference",
@@ -980,7 +895,7 @@
980
895
  },
981
896
  {
982
897
  "kind": "Content",
983
- "text": ", "
898
+ "text": ", import(\"../types\")."
984
899
  },
985
900
  {
986
901
  "kind": "Reference",
@@ -989,7 +904,7 @@
989
904
  },
990
905
  {
991
906
  "kind": "Content",
992
- "text": ", "
907
+ "text": ", import(\"../types\")."
993
908
  },
994
909
  {
995
910
  "kind": "Reference",
@@ -1010,88 +925,113 @@
1010
925
  },
1011
926
  {
1012
927
  "kind": "TypeAlias",
1013
- "canonicalReference": "@dcl/content-validator!TheGraphClient:type",
1014
- "docComment": "/**\n * @public\n */\n",
928
+ "canonicalReference": "@dcl/content-validator!SubGraphs:type",
929
+ "docComment": "/**\n * A list with all sub-graphs used for validations.\n *\n * @public\n */\n",
1015
930
  "excerptTokens": [
1016
931
  {
1017
932
  "kind": "Content",
1018
- "text": "export declare type TheGraphClient = "
933
+ "text": "export declare type SubGraphs = "
1019
934
  },
1020
935
  {
1021
936
  "kind": "Content",
1022
- "text": "{\n checkForNamesOwnershipWithTimestamp: (ethAddress: "
937
+ "text": "{\n L1: {\n landManager: "
1023
938
  },
1024
939
  {
1025
940
  "kind": "Reference",
1026
- "text": "EthAddress",
1027
- "canonicalReference": "@dcl/schemas!EthAddress:type"
941
+ "text": "ISubgraphComponent",
942
+ "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
1028
943
  },
1029
944
  {
1030
945
  "kind": "Content",
1031
- "text": ", namesToCheck: string[], timestamp: number) => "
946
+ "text": ";\n blocks: "
1032
947
  },
1033
948
  {
1034
949
  "kind": "Reference",
1035
- "text": "Promise",
1036
- "canonicalReference": "!Promise:interface"
950
+ "text": "ISubgraphComponent",
951
+ "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
1037
952
  },
1038
953
  {
1039
954
  "kind": "Content",
1040
- "text": "<"
955
+ "text": ";\n collections: "
1041
956
  },
1042
957
  {
1043
958
  "kind": "Reference",
1044
- "text": "PermissionResult",
1045
- "canonicalReference": "@dcl/content-validator!PermissionResult:type"
959
+ "text": "ISubgraphComponent",
960
+ "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
1046
961
  },
1047
962
  {
1048
963
  "kind": "Content",
1049
- "text": ">;\n checkForWearablesOwnershipWithTimestamp: (ethAddress: "
964
+ "text": ";\n ensOwner: "
1050
965
  },
1051
966
  {
1052
967
  "kind": "Reference",
1053
- "text": "EthAddress",
1054
- "canonicalReference": "@dcl/schemas!EthAddress:type"
968
+ "text": "ISubgraphComponent",
969
+ "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
1055
970
  },
1056
971
  {
1057
972
  "kind": "Content",
1058
- "text": ", wearableIdsToCheck: "
973
+ "text": ";\n };\n L2: {\n blocks: "
1059
974
  },
1060
975
  {
1061
976
  "kind": "Reference",
1062
- "text": "WearableId",
1063
- "canonicalReference": "@dcl/schemas!WearableId:type"
977
+ "text": "ISubgraphComponent",
978
+ "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
1064
979
  },
1065
980
  {
1066
981
  "kind": "Content",
1067
- "text": "[], timestamp: number) => "
982
+ "text": ";\n collections: "
1068
983
  },
1069
984
  {
1070
985
  "kind": "Reference",
1071
- "text": "Promise",
1072
- "canonicalReference": "!Promise:interface"
986
+ "text": "ISubgraphComponent",
987
+ "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
1073
988
  },
1074
989
  {
1075
990
  "kind": "Content",
1076
- "text": "<"
991
+ "text": ";\n thirdPartyRegistry: "
1077
992
  },
1078
993
  {
1079
994
  "kind": "Reference",
1080
- "text": "PermissionResult",
1081
- "canonicalReference": "@dcl/content-validator!PermissionResult:type"
995
+ "text": "ISubgraphComponent",
996
+ "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
997
+ },
998
+ {
999
+ "kind": "Content",
1000
+ "text": ";\n };\n}"
1001
+ },
1002
+ {
1003
+ "kind": "Content",
1004
+ "text": ";"
1005
+ }
1006
+ ],
1007
+ "releaseTag": "Public",
1008
+ "name": "SubGraphs",
1009
+ "typeTokenRange": {
1010
+ "startIndex": 1,
1011
+ "endIndex": 16
1012
+ }
1013
+ },
1014
+ {
1015
+ "kind": "TypeAlias",
1016
+ "canonicalReference": "@dcl/content-validator!TheGraphClient:type",
1017
+ "docComment": "/**\n * @public\n */\n",
1018
+ "excerptTokens": [
1019
+ {
1020
+ "kind": "Content",
1021
+ "text": "export declare type TheGraphClient = "
1082
1022
  },
1083
1023
  {
1084
1024
  "kind": "Content",
1085
- "text": ">;\n findBlocksForTimestamp: (subgraph: keyof "
1025
+ "text": "{\n checkForNamesOwnershipWithTimestamp: (ethAddress: "
1086
1026
  },
1087
1027
  {
1088
1028
  "kind": "Reference",
1089
- "text": "URLs",
1090
- "canonicalReference": "@dcl/content-validator!URLs:type"
1029
+ "text": "EthAddress",
1030
+ "canonicalReference": "@dcl/schemas!EthAddress:type"
1091
1031
  },
1092
1032
  {
1093
1033
  "kind": "Content",
1094
- "text": ", timestamp: number) => "
1034
+ "text": ", namesToCheck: string[], timestamp: number) => "
1095
1035
  },
1096
1036
  {
1097
1037
  "kind": "Reference",
@@ -1104,89 +1044,57 @@
1104
1044
  },
1105
1045
  {
1106
1046
  "kind": "Reference",
1107
- "text": "BlockInformation",
1108
- "canonicalReference": "@dcl/content-validator!BlockInformation:type"
1047
+ "text": "PermissionResult",
1048
+ "canonicalReference": "@dcl/content-validator!PermissionResult:type"
1109
1049
  },
1110
1050
  {
1111
1051
  "kind": "Content",
1112
- "text": ">;\n}"
1052
+ "text": ">;\n checkForWearablesOwnershipWithTimestamp: (ethAddress: "
1113
1053
  },
1114
1054
  {
1115
- "kind": "Content",
1116
- "text": ";"
1117
- }
1118
- ],
1119
- "releaseTag": "Public",
1120
- "name": "TheGraphClient",
1121
- "typeTokenRange": {
1122
- "startIndex": 1,
1123
- "endIndex": 22
1124
- }
1125
- },
1126
- {
1127
- "kind": "TypeAlias",
1128
- "canonicalReference": "@dcl/content-validator!URLs:type",
1129
- "docComment": "/**\n * @public\n */\n",
1130
- "excerptTokens": [
1131
- {
1132
- "kind": "Content",
1133
- "text": "export declare type URLs = "
1055
+ "kind": "Reference",
1056
+ "text": "EthAddress",
1057
+ "canonicalReference": "@dcl/schemas!EthAddress:type"
1134
1058
  },
1135
1059
  {
1136
1060
  "kind": "Content",
1137
- "text": "{\n ensSubgraph: string;\n blocksSubgraph: string;\n maticBlocksSubgraph: string;\n collectionsSubgraph: string;\n maticCollectionsSubgraph: string;\n}"
1061
+ "text": ", wearableIdsToCheck: "
1138
1062
  },
1139
1063
  {
1140
- "kind": "Content",
1141
- "text": ";"
1142
- }
1143
- ],
1144
- "releaseTag": "Public",
1145
- "name": "URLs",
1146
- "typeTokenRange": {
1147
- "startIndex": 1,
1148
- "endIndex": 2
1149
- }
1150
- },
1151
- {
1152
- "kind": "Variable",
1153
- "canonicalReference": "@dcl/content-validator!validateInRow:var",
1154
- "docComment": "/**\n * @public\n */\n",
1155
- "excerptTokens": [
1156
- {
1157
- "kind": "Content",
1158
- "text": "validateInRow: "
1064
+ "kind": "Reference",
1065
+ "text": "WearableId",
1066
+ "canonicalReference": "@dcl/schemas!WearableId:type"
1159
1067
  },
1160
1068
  {
1161
1069
  "kind": "Content",
1162
- "text": "(components: "
1070
+ "text": "[], timestamp: number) => "
1163
1071
  },
1164
1072
  {
1165
1073
  "kind": "Reference",
1166
- "text": "ContentValidatorComponents",
1167
- "canonicalReference": "@dcl/content-validator!ContentValidatorComponents:type"
1074
+ "text": "Promise",
1075
+ "canonicalReference": "!Promise:interface"
1168
1076
  },
1169
1077
  {
1170
1078
  "kind": "Content",
1171
- "text": ", deployment: "
1079
+ "text": "<"
1172
1080
  },
1173
1081
  {
1174
1082
  "kind": "Reference",
1175
- "text": "DeploymentToValidate",
1176
- "canonicalReference": "@dcl/content-validator!DeploymentToValidate:type"
1083
+ "text": "PermissionResult",
1084
+ "canonicalReference": "@dcl/content-validator!PermissionResult:type"
1177
1085
  },
1178
1086
  {
1179
1087
  "kind": "Content",
1180
- "text": ", ...validations: "
1088
+ "text": ">;\n findBlocksForTimestamp: (subgraph: "
1181
1089
  },
1182
1090
  {
1183
1091
  "kind": "Reference",
1184
- "text": "Validation",
1185
- "canonicalReference": "@dcl/content-validator!Validation:type"
1092
+ "text": "ISubgraphComponent",
1093
+ "canonicalReference": "@well-known-components/thegraph-component!ISubgraphComponent:interface"
1186
1094
  },
1187
1095
  {
1188
1096
  "kind": "Content",
1189
- "text": "[]) => "
1097
+ "text": ", timestamp: number) => "
1190
1098
  },
1191
1099
  {
1192
1100
  "kind": "Reference",
@@ -1199,19 +1107,23 @@
1199
1107
  },
1200
1108
  {
1201
1109
  "kind": "Reference",
1202
- "text": "ValidationResponse",
1203
- "canonicalReference": "@dcl/content-validator!ValidationResponse:type"
1110
+ "text": "BlockInformation",
1111
+ "canonicalReference": "@dcl/content-validator!BlockInformation:type"
1204
1112
  },
1205
1113
  {
1206
1114
  "kind": "Content",
1207
- "text": ">"
1115
+ "text": ">;\n}"
1116
+ },
1117
+ {
1118
+ "kind": "Content",
1119
+ "text": ";"
1208
1120
  }
1209
1121
  ],
1210
1122
  "releaseTag": "Public",
1211
- "name": "validateInRow",
1212
- "variableTypeTokenRange": {
1123
+ "name": "TheGraphClient",
1124
+ "typeTokenRange": {
1213
1125
  "startIndex": 1,
1214
- "endIndex": 12
1126
+ "endIndex": 22
1215
1127
  }
1216
1128
  },
1217
1129
  {
@@ -1389,7 +1301,16 @@
1389
1301
  },
1390
1302
  {
1391
1303
  "kind": "Content",
1392
- "text": "readonly ["
1304
+ "text": "readonly [import(\"../types\")."
1305
+ },
1306
+ {
1307
+ "kind": "Reference",
1308
+ "text": "Validation",
1309
+ "canonicalReference": "@dcl/content-validator!Validation:type"
1310
+ },
1311
+ {
1312
+ "kind": "Content",
1313
+ "text": ", import(\"../types\")."
1393
1314
  },
1394
1315
  {
1395
1316
  "kind": "Reference",
@@ -1398,7 +1319,7 @@
1398
1319
  },
1399
1320
  {
1400
1321
  "kind": "Content",
1401
- "text": ", "
1322
+ "text": ", import(\"../types\")."
1402
1323
  },
1403
1324
  {
1404
1325
  "kind": "Reference",
@@ -1407,7 +1328,7 @@
1407
1328
  },
1408
1329
  {
1409
1330
  "kind": "Content",
1410
- "text": ", "
1331
+ "text": ", import(\"../types\")."
1411
1332
  },
1412
1333
  {
1413
1334
  "kind": "Reference",
@@ -1416,7 +1337,7 @@
1416
1337
  },
1417
1338
  {
1418
1339
  "kind": "Content",
1419
- "text": ", "
1340
+ "text": ", import(\"../types\")."
1420
1341
  },
1421
1342
  {
1422
1343
  "kind": "Reference",
@@ -1425,7 +1346,7 @@
1425
1346
  },
1426
1347
  {
1427
1348
  "kind": "Content",
1428
- "text": ", "
1349
+ "text": ", import(\"../types\")."
1429
1350
  },
1430
1351
  {
1431
1352
  "kind": "Reference",
@@ -1434,7 +1355,7 @@
1434
1355
  },
1435
1356
  {
1436
1357
  "kind": "Content",
1437
- "text": ", "
1358
+ "text": ", import(\"../types\")."
1438
1359
  },
1439
1360
  {
1440
1361
  "kind": "Reference",
@@ -1443,7 +1364,7 @@
1443
1364
  },
1444
1365
  {
1445
1366
  "kind": "Content",
1446
- "text": ", "
1367
+ "text": ", import(\"../types\")."
1447
1368
  },
1448
1369
  {
1449
1370
  "kind": "Reference",
@@ -1452,7 +1373,7 @@
1452
1373
  },
1453
1374
  {
1454
1375
  "kind": "Content",
1455
- "text": ", "
1376
+ "text": ", import(\"../types\")."
1456
1377
  },
1457
1378
  {
1458
1379
  "kind": "Reference",
@@ -1461,7 +1382,7 @@
1461
1382
  },
1462
1383
  {
1463
1384
  "kind": "Content",
1464
- "text": ", "
1385
+ "text": ", import(\"../types\")."
1465
1386
  },
1466
1387
  {
1467
1388
  "kind": "Reference",
@@ -1477,7 +1398,7 @@
1477
1398
  "name": "validations",
1478
1399
  "variableTypeTokenRange": {
1479
1400
  "startIndex": 1,
1480
- "endIndex": 20
1401
+ "endIndex": 22
1481
1402
  }
1482
1403
  },
1483
1404
  {