@vannizhang/living-atlas-content-validator 1.5.21 → 1.5.23

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 (345) hide show
  1. package/dist/configureSettings.d.ts +0 -103
  2. package/dist/configureSettings.js +1 -43
  3. package/dist/configureSettings.js.map +1 -1
  4. package/dist/index.js +1 -3
  5. package/dist/index.js.map +1 -1
  6. package/dist/lib/accessInformation/isValidAccessInformation.d.ts +0 -8
  7. package/dist/lib/accessInformation/isValidAccessInformation.js +0 -12
  8. package/dist/lib/accessInformation/isValidAccessInformation.js.map +1 -1
  9. package/dist/lib/accessInformation/scoringConfig.js +0 -4
  10. package/dist/lib/accessInformation/scoringConfig.js.map +1 -1
  11. package/dist/lib/checkProfanities/checkProfanities.d.ts +0 -5
  12. package/dist/lib/checkProfanities/checkProfanities.js +0 -8
  13. package/dist/lib/checkProfanities/checkProfanities.js.map +1 -1
  14. package/dist/lib/checkTitleAndSnippetSearchability/checkTitleAndSnippetSearchability.d.ts +0 -28
  15. package/dist/lib/checkTitleAndSnippetSearchability/checkTitleAndSnippetSearchability.js +0 -35
  16. package/dist/lib/checkTitleAndSnippetSearchability/checkTitleAndSnippetSearchability.js.map +1 -1
  17. package/dist/lib/checkTitleAndSnippetSearchability/config.d.ts +0 -84
  18. package/dist/lib/checkTitleAndSnippetSearchability/config.js +0 -17
  19. package/dist/lib/checkTitleAndSnippetSearchability/config.js.map +1 -1
  20. package/dist/lib/checkTitleAndSnippetSearchability/data.js +0 -692
  21. package/dist/lib/checkTitleAndSnippetSearchability/data.js.map +1 -1
  22. package/dist/lib/checkTitleAndSnippetSearchability/helpers.d.ts +0 -94
  23. package/dist/lib/checkTitleAndSnippetSearchability/helpers.js +0 -105
  24. package/dist/lib/checkTitleAndSnippetSearchability/helpers.js.map +1 -1
  25. package/dist/lib/checkTitleAndSnippetSearchability/matchDateTimeInfo.d.ts +0 -28
  26. package/dist/lib/checkTitleAndSnippetSearchability/matchDateTimeInfo.js +1 -111
  27. package/dist/lib/checkTitleAndSnippetSearchability/matchDateTimeInfo.js.map +1 -1
  28. package/dist/lib/checkTitleAndSnippetSearchability/matchLocationInfo.d.ts +0 -28
  29. package/dist/lib/checkTitleAndSnippetSearchability/matchLocationInfo.js +1 -113
  30. package/dist/lib/checkTitleAndSnippetSearchability/matchLocationInfo.js.map +1 -1
  31. package/dist/lib/checkTitleAndSnippetSearchability/matchSourceInfo.d.ts +0 -28
  32. package/dist/lib/checkTitleAndSnippetSearchability/matchSourceInfo.js +0 -113
  33. package/dist/lib/checkTitleAndSnippetSearchability/matchSourceInfo.js.map +1 -1
  34. package/dist/lib/checkTitleAndSnippetSearchability/matchTopicInfo.d.ts +0 -30
  35. package/dist/lib/checkTitleAndSnippetSearchability/matchTopicInfo.js +1 -115
  36. package/dist/lib/checkTitleAndSnippetSearchability/matchTopicInfo.js.map +1 -1
  37. package/dist/lib/checkTitleAndSnippetSearchability/scoringConfig.js +0 -1
  38. package/dist/lib/checkTitleAndSnippetSearchability/scoringConfig.js.map +1 -1
  39. package/dist/lib/config.d.ts +0 -16
  40. package/dist/lib/config.js +0 -140
  41. package/dist/lib/config.js.map +1 -1
  42. package/dist/lib/deleteProtection/isDeleteProtectionEnabled.d.ts +0 -8
  43. package/dist/lib/deleteProtection/isDeleteProtectionEnabled.js +0 -11
  44. package/dist/lib/deleteProtection/isDeleteProtectionEnabled.js.map +1 -1
  45. package/dist/lib/deleteProtection/scoringConfig.js +0 -1
  46. package/dist/lib/deleteProtection/scoringConfig.js.map +1 -1
  47. package/dist/lib/deprecated/isDeprecated.d.ts +0 -8
  48. package/dist/lib/deprecated/isDeprecated.js +0 -9
  49. package/dist/lib/deprecated/isDeprecated.js.map +1 -1
  50. package/dist/lib/deprecated/scoringConfig.js +0 -1
  51. package/dist/lib/deprecated/scoringConfig.js.map +1 -1
  52. package/dist/lib/description/findDataSource.d.ts +0 -10
  53. package/dist/lib/description/findDataSource.js +0 -22
  54. package/dist/lib/description/findDataSource.js.map +1 -1
  55. package/dist/lib/description/isValidDescription.d.ts +0 -17
  56. package/dist/lib/description/isValidDescription.js +0 -52
  57. package/dist/lib/description/isValidDescription.js.map +1 -1
  58. package/dist/lib/description/scoringConfig.js +0 -1
  59. package/dist/lib/description/scoringConfig.js.map +1 -1
  60. package/dist/lib/description/scoringRulesConfig.js +0 -47
  61. package/dist/lib/description/scoringRulesConfig.js.map +1 -1
  62. package/dist/lib/featureServiceCDNSetting/checkFeatureServiceCDNSetting.d.ts +0 -8
  63. package/dist/lib/featureServiceCDNSetting/checkFeatureServiceCDNSetting.js +0 -12
  64. package/dist/lib/featureServiceCDNSetting/checkFeatureServiceCDNSetting.js.map +1 -1
  65. package/dist/lib/featureServiceExportDataSetting/checkFeatureServiceExportSetting.d.ts +0 -6
  66. package/dist/lib/featureServiceExportDataSetting/checkFeatureServiceExportSetting.js +0 -12
  67. package/dist/lib/featureServiceExportDataSetting/checkFeatureServiceExportSetting.js.map +1 -1
  68. package/dist/lib/featureServiceExtents/checkFeatureServiceExtents.d.ts +0 -8
  69. package/dist/lib/featureServiceExtents/checkFeatureServiceExtents.js +0 -16
  70. package/dist/lib/featureServiceExtents/checkFeatureServiceExtents.js.map +1 -1
  71. package/dist/lib/featureServiceExtents/checkFeatureServiceExtentsHelpers.d.ts +0 -5
  72. package/dist/lib/featureServiceExtents/checkFeatureServiceExtentsHelpers.js +0 -9
  73. package/dist/lib/featureServiceExtents/checkFeatureServiceExtentsHelpers.js.map +1 -1
  74. package/dist/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.d.ts +0 -23
  75. package/dist/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.js +0 -43
  76. package/dist/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.js.map +1 -1
  77. package/dist/lib/featureServiceFieldAliases/helpers.d.ts +0 -16
  78. package/dist/lib/featureServiceFieldAliases/helpers.js +5 -21
  79. package/dist/lib/featureServiceFieldAliases/helpers.js.map +1 -1
  80. package/dist/lib/featureServiceFieldAliases/scoringConfig.js +0 -1
  81. package/dist/lib/featureServiceFieldAliases/scoringConfig.js.map +1 -1
  82. package/dist/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.d.ts +0 -22
  83. package/dist/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.js +0 -58
  84. package/dist/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.js.map +1 -1
  85. package/dist/lib/featureServiceFieldDescriptions/helpers.d.ts +0 -17
  86. package/dist/lib/featureServiceFieldDescriptions/helpers.js +5 -22
  87. package/dist/lib/featureServiceFieldDescriptions/helpers.js.map +1 -1
  88. package/dist/lib/featureServiceFieldDescriptions/scoringConfig.js +0 -1
  89. package/dist/lib/featureServiceFieldDescriptions/scoringConfig.js.map +1 -1
  90. package/dist/lib/featureServiceFieldIndexes/checkFeatureServiceFieldIndexes.d.ts +0 -8
  91. package/dist/lib/featureServiceFieldIndexes/checkFeatureServiceFieldIndexes.js +0 -8
  92. package/dist/lib/featureServiceFieldIndexes/checkFeatureServiceFieldIndexes.js.map +1 -1
  93. package/dist/lib/featureServiceFieldIndexes/featureServiceFieldIndexesHelpers.d.ts +0 -5
  94. package/dist/lib/featureServiceFieldIndexes/featureServiceFieldIndexesHelpers.js +0 -6
  95. package/dist/lib/featureServiceFieldIndexes/featureServiceFieldIndexesHelpers.js.map +1 -1
  96. package/dist/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.d.ts +0 -19
  97. package/dist/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.js +0 -40
  98. package/dist/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.js.map +1 -1
  99. package/dist/lib/featureServiceFieldValueTypes/helpers.d.ts +0 -13
  100. package/dist/lib/featureServiceFieldValueTypes/helpers.js +2 -15
  101. package/dist/lib/featureServiceFieldValueTypes/helpers.js.map +1 -1
  102. package/dist/lib/featureServiceFieldValueTypes/scoringConfig.js +0 -1
  103. package/dist/lib/featureServiceFieldValueTypes/scoringConfig.js.map +1 -1
  104. package/dist/lib/itemExtent/checkItemExtent.d.ts +0 -25
  105. package/dist/lib/itemExtent/checkItemExtent.js +0 -30
  106. package/dist/lib/itemExtent/checkItemExtent.js.map +1 -1
  107. package/dist/lib/itemExtent/checkItemExtentHelpers.d.ts +0 -31
  108. package/dist/lib/itemExtent/checkItemExtentHelpers.js +0 -36
  109. package/dist/lib/itemExtent/checkItemExtentHelpers.js.map +1 -1
  110. package/dist/lib/licenseInfo/isValidLicenseInfo.d.ts +0 -32
  111. package/dist/lib/licenseInfo/isValidLicenseInfo.js +2 -49
  112. package/dist/lib/licenseInfo/isValidLicenseInfo.js.map +1 -1
  113. package/dist/lib/licenseInfo/scoringConfig.js +0 -1
  114. package/dist/lib/licenseInfo/scoringConfig.js.map +1 -1
  115. package/dist/lib/licenseInfo/scoringRulesConfig.js +0 -47
  116. package/dist/lib/licenseInfo/scoringRulesConfig.js.map +1 -1
  117. package/dist/lib/sharing/isValidAccess.d.ts +0 -20
  118. package/dist/lib/sharing/isValidAccess.js +2 -28
  119. package/dist/lib/sharing/isValidAccess.js.map +1 -1
  120. package/dist/lib/sharing/scoringConfig.js +0 -1
  121. package/dist/lib/sharing/scoringConfig.js.map +1 -1
  122. package/dist/lib/sharing/scoringRulesConfig.js +0 -47
  123. package/dist/lib/sharing/scoringRulesConfig.js.map +1 -1
  124. package/dist/lib/ssl/isValidSSL.d.ts +0 -12
  125. package/dist/lib/ssl/isValidSSL.js +6 -31
  126. package/dist/lib/ssl/isValidSSL.js.map +1 -1
  127. package/dist/lib/ssl/scoringConfig.js +0 -4
  128. package/dist/lib/ssl/scoringConfig.js.map +1 -1
  129. package/dist/lib/ssl/scoringRulesConfig.js +0 -41
  130. package/dist/lib/ssl/scoringRulesConfig.js.map +1 -1
  131. package/dist/lib/summary/isValidSummary.d.ts +0 -15
  132. package/dist/lib/summary/isValidSummary.js +1 -47
  133. package/dist/lib/summary/isValidSummary.js.map +1 -1
  134. package/dist/lib/summary/scoringConfig.js +0 -1
  135. package/dist/lib/summary/scoringConfig.js.map +1 -1
  136. package/dist/lib/summary/scoringRulesConfig.js +0 -53
  137. package/dist/lib/summary/scoringRulesConfig.js.map +1 -1
  138. package/dist/lib/tags/isValidTags.d.ts +0 -12
  139. package/dist/lib/tags/isValidTags.js +1 -20
  140. package/dist/lib/tags/isValidTags.js.map +1 -1
  141. package/dist/lib/tags/scoringConfig.js +0 -5
  142. package/dist/lib/tags/scoringConfig.js.map +1 -1
  143. package/dist/lib/tags/scoringRulesConfig.js +0 -41
  144. package/dist/lib/tags/scoringRulesConfig.js.map +1 -1
  145. package/dist/lib/thumbnail/isValidThumbnail.d.ts +0 -8
  146. package/dist/lib/thumbnail/isValidThumbnail.js +1 -30
  147. package/dist/lib/thumbnail/isValidThumbnail.js.map +1 -1
  148. package/dist/lib/thumbnail/scoringConfig.js +0 -9
  149. package/dist/lib/thumbnail/scoringConfig.js.map +1 -1
  150. package/dist/lib/thumbnail/scoringRulesConfig.js +0 -41
  151. package/dist/lib/thumbnail/scoringRulesConfig.js.map +1 -1
  152. package/dist/lib/title/isValidTitle.d.ts +0 -21
  153. package/dist/lib/title/isValidTitle.js +1 -55
  154. package/dist/lib/title/isValidTitle.js.map +1 -1
  155. package/dist/lib/title/scoringConfig.js +0 -1
  156. package/dist/lib/title/scoringConfig.js.map +1 -1
  157. package/dist/lib/title/scoringRulesConfig.js +0 -52
  158. package/dist/lib/title/scoringRulesConfig.js.map +1 -1
  159. package/dist/lib/userProfileDescription/isValidUserProfileDescription.d.ts +0 -21
  160. package/dist/lib/userProfileDescription/isValidUserProfileDescription.js +2 -76
  161. package/dist/lib/userProfileDescription/isValidUserProfileDescription.js.map +1 -1
  162. package/dist/lib/userProfileDescription/scoringConfig.js +0 -1
  163. package/dist/lib/userProfileDescription/scoringConfig.js.map +1 -1
  164. package/dist/lib/userProfileDescription/scoringRulesConfig.js +0 -59
  165. package/dist/lib/userProfileDescription/scoringRulesConfig.js.map +1 -1
  166. package/dist/lib/userProfileName/isValidUserProfileName.d.ts +0 -8
  167. package/dist/lib/userProfileName/isValidUserProfileName.js +2 -26
  168. package/dist/lib/userProfileName/isValidUserProfileName.js.map +1 -1
  169. package/dist/lib/userProfileName/scoringConfig.js +0 -5
  170. package/dist/lib/userProfileName/scoringConfig.js.map +1 -1
  171. package/dist/lib/userProfileName/scoringRulesConfig.js +0 -41
  172. package/dist/lib/userProfileName/scoringRulesConfig.js.map +1 -1
  173. package/dist/lib/userProfileThumbnail/isValidUserProfileThumbnail.d.ts +0 -12
  174. package/dist/lib/userProfileThumbnail/isValidUserProfileThumbnail.js +3 -27
  175. package/dist/lib/userProfileThumbnail/isValidUserProfileThumbnail.js.map +1 -1
  176. package/dist/lib/userProfileThumbnail/scoringConfig.js +0 -4
  177. package/dist/lib/userProfileThumbnail/scoringConfig.js.map +1 -1
  178. package/dist/lib/userProfileThumbnail/scoringRulesConfig.js +0 -35
  179. package/dist/lib/userProfileThumbnail/scoringRulesConfig.js.map +1 -1
  180. package/dist/lib/util/assertString.d.ts +0 -10
  181. package/dist/lib/util/assertString.js +0 -11
  182. package/dist/lib/util/assertString.js.map +1 -1
  183. package/dist/lib/util/checkIsLayer.d.ts +0 -5
  184. package/dist/lib/util/checkIsLayer.js +0 -5
  185. package/dist/lib/util/checkIsLayer.js.map +1 -1
  186. package/dist/lib/util/contains.d.ts +0 -6
  187. package/dist/lib/util/contains.js +0 -7
  188. package/dist/lib/util/contains.js.map +1 -1
  189. package/dist/lib/util/containsNonEnglishCharacters.d.ts +0 -12
  190. package/dist/lib/util/containsNonEnglishCharacters.js +2 -16
  191. package/dist/lib/util/containsNonEnglishCharacters.js.map +1 -1
  192. package/dist/lib/util/countSentences.d.ts +0 -22
  193. package/dist/lib/util/countSentences.js +4 -36
  194. package/dist/lib/util/countSentences.js.map +1 -1
  195. package/dist/lib/util/createWordBoundaryRegex.d.ts +0 -40
  196. package/dist/lib/util/createWordBoundaryRegex.js +0 -47
  197. package/dist/lib/util/createWordBoundaryRegex.js.map +1 -1
  198. package/dist/lib/util/escapeSpecialCharacters.d.ts +0 -6
  199. package/dist/lib/util/escapeSpecialCharacters.js +0 -8
  200. package/dist/lib/util/escapeSpecialCharacters.js.map +1 -1
  201. package/dist/lib/util/getAllValidationRuleIds.d.ts +0 -4
  202. package/dist/lib/util/getAllValidationRuleIds.js +0 -4
  203. package/dist/lib/util/getAllValidationRuleIds.js.map +1 -1
  204. package/dist/lib/util/getFeatureLayerFieldValueTypes.d.ts +0 -8
  205. package/dist/lib/util/getFeatureLayerFieldValueTypes.js +0 -8
  206. package/dist/lib/util/getFeatureLayerFieldValueTypes.js.map +1 -1
  207. package/dist/lib/util/getLivingAtlasSupportedItemTypes.d.ts +0 -17
  208. package/dist/lib/util/getLivingAtlasSupportedItemTypes.js +0 -17
  209. package/dist/lib/util/getLivingAtlasSupportedItemTypes.js.map +1 -1
  210. package/dist/lib/util/getNumberOfWords.d.ts +0 -5
  211. package/dist/lib/util/getNumberOfWords.js +1 -15
  212. package/dist/lib/util/getNumberOfWords.js.map +1 -1
  213. package/dist/lib/util/getRelevantFeatureLayerFields.d.ts +0 -11
  214. package/dist/lib/util/getRelevantFeatureLayerFields.js +0 -11
  215. package/dist/lib/util/getRelevantFeatureLayerFields.js.map +1 -1
  216. package/dist/lib/util/getScoringRules.d.ts +0 -17
  217. package/dist/lib/util/getScoringRules.js +0 -105
  218. package/dist/lib/util/getScoringRules.js.map +1 -1
  219. package/dist/lib/util/getThumbnailFileName.d.ts +0 -14
  220. package/dist/lib/util/getThumbnailFileName.js +0 -14
  221. package/dist/lib/util/getThumbnailFileName.js.map +1 -1
  222. package/dist/lib/util/isArcGISDomain.d.ts +0 -5
  223. package/dist/lib/util/isArcGISDomain.js +0 -5
  224. package/dist/lib/util/isArcGISDomain.js.map +1 -1
  225. package/dist/lib/util/isArcGISOnlineReservedThumbnailName.d.ts +0 -5
  226. package/dist/lib/util/isArcGISOnlineReservedThumbnailName.js +0 -5
  227. package/dist/lib/util/isArcGISOnlineReservedThumbnailName.js.map +1 -1
  228. package/dist/lib/util/isDefined.d.ts +0 -7
  229. package/dist/lib/util/isDefined.js +0 -7
  230. package/dist/lib/util/isDefined.js.map +1 -1
  231. package/dist/lib/util/isEmail.d.ts +0 -5
  232. package/dist/lib/util/isEmail.js +0 -5
  233. package/dist/lib/util/isEmail.js.map +1 -1
  234. package/dist/lib/util/isEmpty.d.ts +0 -5
  235. package/dist/lib/util/isEmpty.js +0 -5
  236. package/dist/lib/util/isEmpty.js.map +1 -1
  237. package/dist/lib/util/isFeatureCollection.d.ts +0 -5
  238. package/dist/lib/util/isFeatureCollection.js +0 -5
  239. package/dist/lib/util/isFeatureCollection.js.map +1 -1
  240. package/dist/lib/util/isFeatureService.d.ts +0 -11
  241. package/dist/lib/util/isFeatureService.js +0 -13
  242. package/dist/lib/util/isFeatureService.js.map +1 -1
  243. package/dist/lib/util/isHosted.d.ts +0 -5
  244. package/dist/lib/util/isHosted.js +0 -5
  245. package/dist/lib/util/isHosted.js.map +1 -1
  246. package/dist/lib/util/isLatin.d.ts +0 -5
  247. package/dist/lib/util/isLatin.js +0 -5
  248. package/dist/lib/util/isLatin.js.map +1 -1
  249. package/dist/lib/util/isLayer.d.ts +0 -10
  250. package/dist/lib/util/isLayer.js +1 -13
  251. package/dist/lib/util/isLayer.js.map +1 -1
  252. package/dist/lib/util/isSecureProtocol.d.ts +0 -5
  253. package/dist/lib/util/isSecureProtocol.js +0 -5
  254. package/dist/lib/util/isSecureProtocol.js.map +1 -1
  255. package/dist/lib/util/isUppercase.d.ts +0 -3
  256. package/dist/lib/util/isUppercase.js +0 -3
  257. package/dist/lib/util/isUppercase.js.map +1 -1
  258. package/dist/lib/util/isUrl.d.ts +0 -8
  259. package/dist/lib/util/isUrl.js +1 -11
  260. package/dist/lib/util/isUrl.js.map +1 -1
  261. package/dist/lib/util/isValidRegexPattern.d.ts +0 -6
  262. package/dist/lib/util/isValidRegexPattern.js +0 -6
  263. package/dist/lib/util/isValidRegexPattern.js.map +1 -1
  264. package/dist/lib/util/matches.d.ts +0 -11
  265. package/dist/lib/util/matches.js +0 -11
  266. package/dist/lib/util/matches.js.map +1 -1
  267. package/dist/lib/util/round.js +0 -4
  268. package/dist/lib/util/round.js.map +1 -1
  269. package/dist/lib/util/sanitizeTags.d.ts +0 -5
  270. package/dist/lib/util/sanitizeTags.js +0 -5
  271. package/dist/lib/util/sanitizeTags.js.map +1 -1
  272. package/dist/lib/util/shouldValidateByBetaRules.d.ts +0 -7
  273. package/dist/lib/util/shouldValidateByBetaRules.js +0 -31
  274. package/dist/lib/util/shouldValidateByBetaRules.js.map +1 -1
  275. package/dist/lib/util/stringsConfig.d.ts +0 -21
  276. package/dist/lib/util/stringsConfig.js +0 -38
  277. package/dist/lib/util/stringsConfig.js.map +1 -1
  278. package/dist/lib/util/toString.d.ts +0 -10
  279. package/dist/lib/util/toString.js +0 -10
  280. package/dist/lib/util/toString.js.map +1 -1
  281. package/dist/lib/validate/validate.d.ts +0 -64
  282. package/dist/lib/validate/validate.js +1 -52
  283. package/dist/lib/validate/validate.js.map +1 -1
  284. package/dist/lib/validate/validateHelpers.d.ts +0 -57
  285. package/dist/lib/validate/validateHelpers.js +1 -72
  286. package/dist/lib/validate/validateHelpers.js.map +1 -1
  287. package/dist/package-info.json +1 -1
  288. package/dist/services/content-validator-assets/config.d.ts +0 -3
  289. package/dist/services/content-validator-assets/config.js +0 -3
  290. package/dist/services/content-validator-assets/config.js.map +1 -1
  291. package/dist/services/content-validator-assets/fetchAdditonalPatterns4TitleAndSnippetSearchability.d.ts +0 -93
  292. package/dist/services/content-validator-assets/fetchAdditonalPatterns4TitleAndSnippetSearchability.js +0 -33
  293. package/dist/services/content-validator-assets/fetchAdditonalPatterns4TitleAndSnippetSearchability.js.map +1 -1
  294. package/dist/services/content-validator-assets/fetchProfanitiesData.d.ts +0 -24
  295. package/dist/services/content-validator-assets/fetchProfanitiesData.js +0 -19
  296. package/dist/services/content-validator-assets/fetchProfanitiesData.js.map +1 -1
  297. package/dist/services/content-validator-assets/helpers.d.ts +0 -14
  298. package/dist/services/content-validator-assets/helpers.js +1 -15
  299. package/dist/services/content-validator-assets/helpers.js.map +1 -1
  300. package/dist/services/custom-terms/config.d.ts +0 -11
  301. package/dist/services/custom-terms/config.js +0 -41
  302. package/dist/services/custom-terms/config.js.map +1 -1
  303. package/dist/services/custom-terms/customTerms.d.ts +0 -170
  304. package/dist/services/custom-terms/customTerms.js +4 -169
  305. package/dist/services/custom-terms/customTerms.js.map +1 -1
  306. package/dist/services/custom-terms/helpers.d.ts +0 -6
  307. package/dist/services/custom-terms/helpers.js +0 -6
  308. package/dist/services/custom-terms/helpers.js.map +1 -1
  309. package/dist/services/custom-terms-review-results/config.d.ts +0 -16
  310. package/dist/services/custom-terms-review-results/config.js +0 -42
  311. package/dist/services/custom-terms-review-results/config.js.map +1 -1
  312. package/dist/services/custom-terms-review-results/customTermsReviewResults.d.ts +0 -93
  313. package/dist/services/custom-terms-review-results/customTermsReviewResults.js +0 -87
  314. package/dist/services/custom-terms-review-results/customTermsReviewResults.js.map +1 -1
  315. package/dist/services/custom-terms-review-results/helpers.d.ts +0 -15
  316. package/dist/services/custom-terms-review-results/helpers.js +0 -16
  317. package/dist/services/custom-terms-review-results/helpers.js.map +1 -1
  318. package/dist/services/feature-service/fetchFeatureServiceAdminJSON.d.ts +0 -12
  319. package/dist/services/feature-service/fetchFeatureServiceAdminJSON.js +3 -13
  320. package/dist/services/feature-service/fetchFeatureServiceAdminJSON.js.map +1 -1
  321. package/dist/services/feature-service/fetchFeatureServiceLayersAndTables.d.ts +0 -12
  322. package/dist/services/feature-service/fetchFeatureServiceLayersAndTables.js +5 -32
  323. package/dist/services/feature-service/fetchFeatureServiceLayersAndTables.js.map +1 -1
  324. package/dist/services/feature-service/fetchFeatureServiceRootJSON.d.ts +0 -14
  325. package/dist/services/feature-service/fetchFeatureServiceRootJSON.js +5 -30
  326. package/dist/services/feature-service/fetchFeatureServiceRootJSON.js.map +1 -1
  327. package/dist/services/feature-service/getFeatureServerURL.d.ts +0 -11
  328. package/dist/services/feature-service/getFeatureServerURL.js +2 -14
  329. package/dist/services/feature-service/getFeatureServerURL.js.map +1 -1
  330. package/dist/services/shared/addFeatures.d.ts +0 -11
  331. package/dist/services/shared/addFeatures.js +0 -11
  332. package/dist/services/shared/addFeatures.js.map +1 -1
  333. package/dist/services/shared/applyEdits.d.ts +0 -11
  334. package/dist/services/shared/applyEdits.js +0 -11
  335. package/dist/services/shared/applyEdits.js.map +1 -1
  336. package/dist/services/shared/config.d.ts +0 -38
  337. package/dist/services/shared/config.js +0 -22
  338. package/dist/services/shared/config.js.map +1 -1
  339. package/dist/services/shared/getItemInfo.d.ts +0 -12
  340. package/dist/services/shared/getItemInfo.js +1 -16
  341. package/dist/services/shared/getItemInfo.js.map +1 -1
  342. package/dist/types/index.d.ts +1 -330
  343. package/dist/types/index.js +0 -19
  344. package/dist/types/index.js.map +1 -1
  345. package/package.json +1 -1
@@ -12,40 +12,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.fetchFeatureServiceRootJSON = void 0;
13
13
  const isFeatureService_1 = require("../../lib/util/isFeatureService");
14
14
  const getFeatureServerURL_1 = require("./getFeatureServerURL");
15
- /**
16
- * Fetches the root JSON of a feature service. This resource provides basic information about the feature service,
17
- * including the feature layers and tables that it contains, the service description, and so on.
18
- *
19
- * If an 'Invalid token' error is encountered, it retries the request without the token.
20
- *
21
- * @param item - The item representing the feature service.
22
- * @param token - The token for authentication.
23
- * @param bypassCache - Whether to bypass the cache (default is false). If true, a query timestamp is added to the request to bypass any cached responses.
24
- * @returns {FeatureServiceJSON} A promise that resolves to a FeatureServiceJSON object.
25
- * @throws An error if the item is not a feature service or if the URL is not found.
26
- *
27
- * @see https://developers.arcgis.com/rest/services-reference/enterprise/feature-service/
28
- */
29
15
  const fetchFeatureServiceRootJSON = (item_1, token_1, ...args_1) => __awaiter(void 0, [item_1, token_1, ...args_1], void 0, function* (item, token, bypassCache = false) {
30
16
  try {
31
17
  return yield fetchFeatureServiceRootHelper(item, token, bypassCache);
32
18
  }
33
19
  catch (error) {
34
- // Check for 'Invalid token' error and retry without token
35
20
  if (error instanceof Error &&
36
21
  error.message &&
37
22
  error.message.toLowerCase().includes('invalid token')) {
38
- try {
39
- console.warn('Invalid token error detected while fetching feature service root JSON. Retrying without token...');
40
- return yield fetchFeatureServiceRootHelper(item, undefined, bypassCache);
41
- }
42
- catch (retryError) {
43
- console.error('Error fetching feature service root JSON retry:', retryError);
44
- throw retryError;
45
- }
23
+ return yield fetchFeatureServiceRootHelper(item, undefined, bypassCache);
46
24
  }
47
- console.error('Error fetching feature service layers and tables:', error);
48
- throw error; // rethrow the error for the caller to handle
25
+ throw error;
49
26
  }
50
27
  });
51
28
  exports.fetchFeatureServiceRootJSON = fetchFeatureServiceRootJSON;
@@ -59,14 +36,9 @@ const fetchFeatureServiceRootHelper = (item_1, token_1, ...args_1) => __awaiter(
59
36
  if (!item.url) {
60
37
  throw new Error('URL of the feature service is not found');
61
38
  }
62
- // if (!token) {
63
- // throw new Error('Token is required to access admin endpoint');
64
- // }
65
- // get the feature server URL
66
39
  const url = (0, getFeatureServerURL_1.getFeatureServerRootURL)(item.url);
67
40
  const params = new URLSearchParams({
68
41
  f: 'json',
69
- // token,
70
42
  });
71
43
  if (token) {
72
44
  params.append('token', token);
@@ -75,6 +47,9 @@ const fetchFeatureServiceRootHelper = (item_1, token_1, ...args_1) => __awaiter(
75
47
  params.append('queryTimestamp', new Date().getTime().toString());
76
48
  }
77
49
  const res = yield fetch(`${url}?${params.toString()}`);
50
+ if (!res.ok) {
51
+ throw new Error(`Error fetching feature service root JSON: ${res.status} ${res.statusText}`);
52
+ }
78
53
  const data = yield res.json();
79
54
  if (data.error) {
80
55
  throw new Error(data.error.message || 'Error fetching feature service admin JSON');
@@ -1 +1 @@
1
- {"version":3,"file":"fetchFeatureServiceRootJSON.js","sourceRoot":"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CAAC,+BAA+B,CAAC,CAAC;IACrD,CAAC;IAED,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QACZ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC/D,CAAC;IAED,gBAAgB;IAChB,qEAAqE;IACrE,IAAI;IAEJ,6BAA6B;IAC7B,MAAM,GAAG,GAAG,IAAA,6CAAuB,EAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE9C,MAAM,MAAM,GAAG,IAAI,eAAe,CAAC;QAC/B,CAAC,EAAE,MAAM;QACT,SAAS;KACZ,CAAC,CAAC;IAEH,IAAI,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAClC,CAAC;IAED,IAAI,WAAW,EAAE,CAAC;QACd,MAAM,CAAC,MAAM,CAAC,gBAAgB,EAAE,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IACvD,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;IAE9B,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACX,IAAI,CAAC,KAAK,CAAC,OAAO,IAAI,2CAA2C,CACpE,CAAC;IACN,CAAC;IAED,OAAO,IAA0B,CAAC;AACtC,CAAC,CAAA,CAAC"}
1
+ {"version":3,"file":"fetchFeatureServiceRootJSON.js","sourceRoot":"","sources":["../../../src/services/feature-service/fetchFeatureServiceRootJSON.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sEAAmE;AAEnE,+DAAgE;AAgBzD,MAAM,2BAA2B,GAAG,6BAIZ,EAAE,oEAH7B,IAAW,EACX,KAAa,EACb,WAAW,GAAG,KAAK;IAEnB,IA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,CAAC,QAAQ,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAEvD,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;QACV,MAAM,IAAI,KAAK,CACX,6CAA6C,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,UAAU,EAAE,CAC9E,CAAC;IACN,CAAC;IAED,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;IAE9B,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACX,IAAI,CAAC,KAAK,CAAC,OAAO,IAAI,2CAA2C,CACpE,CAAC;IACN,CAAC;IAED,OAAO,IAA0B,CAAC;AACtC,CAAC,CAAA,CAAC"}
@@ -1,12 +1 @@
1
- /**
2
- * Returns the URL of the FeatureServer endpoint for a given item URL.
3
- *
4
- * - If the input URL is empty or falsy, returns an empty string.
5
- * - If the URL already ends with '/FeatureServer', returns it as is.
6
- * - If the URL ends with a trailing slash, removes it.
7
- * - If the URL ends with a layer or table index (e.g., '/0'), removes the index.
8
- *
9
- * @param itemUrl - The URL of the item to process.
10
- * @returns The normalized FeatureServer URL.
11
- */
12
1
  export declare const getFeatureServerRootURL: (itemUrl: string, amdinEndPoint?: boolean) => string;
@@ -8,28 +8,16 @@ const getFeatureServerAdminRootURL = (itemUrl) => {
8
8
  itemUrl = itemUrl.replace(/\/rest\/services/i, '/rest/admin/services');
9
9
  return itemUrl;
10
10
  };
11
- /**
12
- * Returns the URL of the FeatureServer endpoint for a given item URL.
13
- *
14
- * - If the input URL is empty or falsy, returns an empty string.
15
- * - If the URL already ends with '/FeatureServer', returns it as is.
16
- * - If the URL ends with a trailing slash, removes it.
17
- * - If the URL ends with a layer or table index (e.g., '/0'), removes the index.
18
- *
19
- * @param itemUrl - The URL of the item to process.
20
- * @returns The normalized FeatureServer URL.
21
- */
22
11
  const getFeatureServerRootURL = (itemUrl, amdinEndPoint = false) => {
23
12
  if (!itemUrl) {
24
13
  return '';
25
14
  }
26
15
  if (itemUrl.endsWith('/FeatureServer')) {
27
- return amdinEndPoint ? getFeatureServerAdminRootURL(itemUrl) : itemUrl; // Return as is if it already ends with /FeatureServer
16
+ return amdinEndPoint ? getFeatureServerAdminRootURL(itemUrl) : itemUrl;
28
17
  }
29
18
  if (itemUrl.endsWith('/')) {
30
- itemUrl = itemUrl.slice(0, -1); // Remove trailing slash
19
+ itemUrl = itemUrl.slice(0, -1);
31
20
  }
32
- // /\/\d+$/ matches a forward slash (/) followed by one or more digits (\d+) at the end of the string ($).
33
21
  itemUrl = itemUrl.replace(/\/\d+$/, '');
34
22
  return amdinEndPoint ? getFeatureServerAdminRootURL(itemUrl) : itemUrl;
35
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"getFeatureServerURL.js","sourceRoot":"","sources":["../../../src/services/feature-service/getFeatureServerURL.ts"],"names":[],"mappings":";;;AAAA,MAAM,4BAA4B,GAAG,CAAC,OAAe,EAAU,EAAE;IAC7D,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IAED,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,CAAC;IAEvE,OAAO,OAAO,CAAC;AACnB,CAAC,CAAC;AAEF;;;;;;;;;;GAUG;AACI,MAAM,uBAAuB,GAAG,CACnC,OAAe,EACf,aAAa,GAAG,KAAK,EACf,EAAE;IACR,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC;QACrC,OAAO,aAAa,CAAC,CAAC,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,sDAAsD;IAClI,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QACxB,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,wBAAwB;IAC5D,CAAC;IAED,0GAA0G;IAC1G,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAExC,OAAO,aAAa,CAAC,CAAC,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;AAC3E,CAAC,CAAC;AApBW,QAAA,uBAAuB,2BAoBlC"}
1
+ {"version":3,"file":"getFeatureServerURL.js","sourceRoot":"","sources":["../../../src/services/feature-service/getFeatureServerURL.ts"],"names":[],"mappings":";;;AAAA,MAAM,4BAA4B,GAAG,CAAC,OAAe,EAAU,EAAE;IAC7D,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IAED,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,CAAC;IAEvE,OAAO,OAAO,CAAC;AACnB,CAAC,CAAC;AAaK,MAAM,uBAAuB,GAAG,CACnC,OAAe,EACf,aAAa,GAAG,KAAK,EACf,EAAE;IACR,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC;QACrC,OAAO,aAAa,CAAC,CAAC,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;IAC3E,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QACxB,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACnC,CAAC;IAGD,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAExC,OAAO,aAAa,CAAC,CAAC,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;AAC3E,CAAC,CAAC;AApBW,QAAA,uBAAuB,2BAoBlC"}
@@ -6,17 +6,6 @@ export type AddFeaturesResponse = {
6
6
  description: string;
7
7
  };
8
8
  };
9
- /**
10
- * Adds features to a feature table.
11
- *
12
- * @param {Object} params - The parameters for adding features.
13
- * @param {string} params.token - The authentication token.
14
- * @param {Array<Object>} params.features - The features to add.
15
- * @param {Object} params.features[].attributes - The attributes of the feature.
16
- * @param {string} params.featureTableUrl - The URL of the feature table.
17
- * @returns {Promise<AddCustomTermFeatureResponse[]>} A promise that resolves to an array of add feature responses.
18
- * @throws Will throw an error if the request fails or if any feature addition is unsuccessful.
19
- */
20
9
  export declare const addFeatures: ({ token, features, featureTableUrl, }: {
21
10
  token: string;
22
11
  features: {
@@ -10,17 +10,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.addFeatures = void 0;
13
- /**
14
- * Adds features to a feature table.
15
- *
16
- * @param {Object} params - The parameters for adding features.
17
- * @param {string} params.token - The authentication token.
18
- * @param {Array<Object>} params.features - The features to add.
19
- * @param {Object} params.features[].attributes - The attributes of the feature.
20
- * @param {string} params.featureTableUrl - The URL of the feature table.
21
- * @returns {Promise<AddCustomTermFeatureResponse[]>} A promise that resolves to an array of add feature responses.
22
- * @throws Will throw an error if the request fails or if any feature addition is unsuccessful.
23
- */
24
13
  const addFeatures = (_a) => __awaiter(void 0, [_a], void 0, function* ({ token, features, featureTableUrl, }) {
25
14
  var _b, _c;
26
15
  const requestURL = `${featureTableUrl}/addFeatures`;
@@ -1 +1 @@
1
- {"version":3,"file":"addFeatures.js","sourceRoot":"","sources":["../../../src/services/shared/addFeatures.ts"],"names":[],"mappings":";;;;;;;;;;;;AASA;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 export type ApplyEditsResult = {
6
6
  description: string;
7
7
  };
8
8
  };
9
- /**
10
- * Updates features in a feature table using the provided token and updates.
11
- *
12
- * @param {Object} params - The parameters for the update operation.
13
- * @param {string} params.token - The authentication token.
14
- * @param {Object[]} params.updates - The array of update objects containing attributes to be updated.
15
- * @param {Object} params.updates[].attributes - The attributes to be updated for each feature.
16
- * @param {string} params.featureTableUrl - The URL of the feature table to update.
17
- * @returns {Promise<ApplyEditsResult[]>} - A promise that resolves to an array of ApplyEditsResult objects.
18
- * @throws {Error} - Throws an error if the update operation fails.
19
- */
20
9
  export declare const updateFeatures: ({ token, updates, featureTableUrl, }: {
21
10
  token: string;
22
11
  updates: {
@@ -10,17 +10,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.updateFeatures = void 0;
13
- /**
14
- * Updates features in a feature table using the provided token and updates.
15
- *
16
- * @param {Object} params - The parameters for the update operation.
17
- * @param {string} params.token - The authentication token.
18
- * @param {Object[]} params.updates - The array of update objects containing attributes to be updated.
19
- * @param {Object} params.updates[].attributes - The attributes to be updated for each feature.
20
- * @param {string} params.featureTableUrl - The URL of the feature table to update.
21
- * @returns {Promise<ApplyEditsResult[]>} - A promise that resolves to an array of ApplyEditsResult objects.
22
- * @throws {Error} - Throws an error if the update operation fails.
23
- */
24
13
  const updateFeatures = (_a) => __awaiter(void 0, [_a], void 0, function* ({ token, updates, featureTableUrl, }) {
25
14
  var _b, _c;
26
15
  const requestURL = `${featureTableUrl}/applyEdits`;
@@ -1 +1 @@
1
- {"version":3,"file":"applyEdits.js","sourceRoot":"","sources":["../../../src/services/shared/applyEdits.ts"],"names":[],"mappings":";;;;;;;;;;;;AAmBA;;;;;;;;;;GAUG;AACI,MAAM,cAAc,GAAG,KAYE,EAAE,4CAZG,EACjC,KAAK,EACL,OAAO,EACP,eAAe,GASlB;;IACG,MAAM,UAAU,GAAG,GAAG,eAAe,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B;;IACG,MAAM,UAAU,GAAG,GAAG,eAAe,aAAa,CAAC;IAEnD,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE;QAChC,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,IAAI,eAAe,CAAC;YACtB,CAAC,EAAE,MAAM;YACT,KAAK;YACL,iBAAiB,EAAE,MAAM;YACzB,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;SACnC,CAAC;KACL,CAAC,CAAC;IAEH,MAAM,YAAY,GAAuB,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;IAE1D,IAAI,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,KAAK,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CACX,CAAA,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,KAAK,0CAAE,OAAO;YACxB,2BAA2B,GAAG,eAAe,CACpD,CAAC;IACN,CAAC;IAED,MAAM,aAAa,GAAG,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,aAAmC,CAAC;IAExE,IAAI,CAAC,aAAa,EAAE,CAAC;QACjB,OAAO,EAAE,CAAC;IACd,CAAC;IAED,KAAK,MAAM,GAAG,IAAI,aAAa,EAAE,CAAC;QAC9B,IAAI,CAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,OAAO,MAAK,IAAI,EAAE,CAAC;YACxB,MAAM,IAAI,KAAK,CACX,CAAA,MAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,KAAK,0CAAE,WAAW,KAAI,wBAAwB,CACtD,CAAC;QACN,CAAC;IACL,CAAC;IAED,OAAO,aAAmC,CAAC;AAC/C,CAAC,CAAA,CAAC;AAjDW,QAAA,cAAc,kBAiDzB"}
@@ -1,44 +1,6 @@
1
- /**
2
- * Tier of the services.
3
- * - `dev`: Development tier, pointing to development services on devext.arcgis.com.
4
- * - `prod`: Production tier, pointing to production services on www.arcgis.com.
5
- */
6
1
  export type ServiceTier = 'prod' | 'dev';
7
- /**
8
- * Category of custom term:
9
- * - `topic`: Topic, to understand what this item is about.
10
- * - `location`: Location or area of coverage, to understand which geographic area is included.
11
- * - `Year`: Year or Vintage, to understand the how recently the data was collected or updated.
12
- * - `source`: Source organization/program, to understand where the item’s content originated
13
- */
14
2
  export type CustomTermCategory = 'topic' | 'location' | 'vintage-year' | 'source';
15
- /**
16
- * Represents the status of a custom term in the contribution process.
17
- *
18
- * - `staged`: The custom term is in the initial stage and has not yet been submitted.
19
- * - `submitted`: The custom term has been submitted for review.
20
- * - `approved`: The custom term has been reviewed and approved.
21
- * - `rejected`: The custom term has been reviewed and rejected.
22
- * - `expired`: The custom term has expired and is no longer valid.
23
- */
24
3
  export type CustomTermStatus = 'staged' | 'submitted' | 'approved' | 'rejected' | 'expired';
25
- /**
26
- * The service tier of the application.
27
- * - `dev`: Development tier, pointing to development services on devext.arcgis.com.
28
- * - `prod`: Production tier, pointing to production services on www.arcgis.com.
29
- */
30
4
  export declare let serviceTier: ServiceTier;
31
- /**
32
- * Indicates if the environment is Node.js.
33
- */
34
5
  export declare const isNodeEnv: boolean;
35
- /**
36
- * Sets the tier for the services.
37
- *
38
- * Why is this needed? Why can't we just use the TIER constant based on the hostname?
39
- * Because these services can also be used in a node.js environment, where the hostname is not available.
40
- * That's why we need to set the tier explicitly.
41
- *
42
- * @param tier - The tier to set for the services.
43
- */
44
6
  export declare const setServiceTier: (tier: ServiceTier) => void;
@@ -1,33 +1,11 @@
1
1
  "use strict";
2
- // export const TIER =
3
- // window.location.hostname === 'livingatlas.arcgis.com' ||
4
- // window.location.hostname === 'livingatlasstg.arcgis.com'
5
- // ? 'prod'
6
- // : 'dev';
7
2
  var _a;
8
3
  Object.defineProperty(exports, "__esModule", { value: true });
9
4
  exports.setServiceTier = exports.isNodeEnv = exports.serviceTier = void 0;
10
- /**
11
- * The service tier of the application.
12
- * - `dev`: Development tier, pointing to development services on devext.arcgis.com.
13
- * - `prod`: Production tier, pointing to production services on www.arcgis.com.
14
- */
15
5
  exports.serviceTier = 'dev';
16
- /**
17
- * Indicates if the environment is Node.js.
18
- */
19
6
  exports.isNodeEnv = typeof process !== 'undefined' &&
20
7
  (process === null || process === void 0 ? void 0 : process.versions) != null &&
21
8
  ((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) != null;
22
- /**
23
- * Sets the tier for the services.
24
- *
25
- * Why is this needed? Why can't we just use the TIER constant based on the hostname?
26
- * Because these services can also be used in a node.js environment, where the hostname is not available.
27
- * That's why we need to set the tier explicitly.
28
- *
29
- * @param tier - The tier to set for the services.
30
- */
31
9
  const setServiceTier = (tier) => {
32
10
  exports.serviceTier = tier;
33
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/services/shared/config.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,+DAA+D;AAC/D,+DAA+D;AAC/D,mBAAmB;AACnB,mBAAmB;;;;AAsCnB;;;;GAIG;AACQ,QAAA,WAAW,GAAgB,KAAK,CAAC;AAE5C;;GAEG;AACU,QAAA,SAAS,GAClB,OAAO,OAAO,KAAK,WAAW;IAC9B,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,KAAI,IAAI;IACzB,CAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,0CAAE,IAAI,KAAI,IAAI,CAAC;AAEpC;;;;;;;;GAQG;AACI,MAAM,cAAc,GAAG,CAAC,IAAiB,EAAE,EAAE;IAChD,mBAAW,GAAG,IAAI,CAAC;AACvB,CAAC,CAAC;AAFW,QAAA,cAAc,kBAEzB"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/services/shared/config.ts"],"names":[],"mappings":";;;;AA+CW,QAAA,WAAW,GAAgB,KAAK,CAAC;AAK/B,QAAA,SAAS,GAClB,OAAO,OAAO,KAAK,WAAW;IAC9B,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,KAAI,IAAI;IACzB,CAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,0CAAE,IAAI,KAAI,IAAI,CAAC;AAW7B,MAAM,cAAc,GAAG,CAAC,IAAiB,EAAE,EAAE;IAChD,mBAAW,GAAG,IAAI,CAAC;AACvB,CAAC,CAAC;AAFW,QAAA,cAAc,kBAEzB"}
@@ -1,6 +1,3 @@
1
- /**
2
- * The response type for the item information fetched from the ArcGIS REST API.
3
- */
4
1
  export type ItemInfoResponse = {
5
2
  id: string;
6
3
  name: string;
@@ -24,13 +21,4 @@ export type ItemInfoResponse = {
24
21
  access: string;
25
22
  size: number;
26
23
  };
27
- /**
28
- * Fetches the item information for a feature table from the ArcGIS REST API.
29
- * @param itemInfoEndPoint - The endpoint URL for the itemInfo service of a feature table. This should be the URL to the `/info/itemInfo` endpoint of the feature service.
30
- * @param token - The authentication token to access the ArcGIS REST API. This is required for accessing secured resources.
31
- * @returns A promise that resolves to an object containing the item information,
32
- * or rejects with an error if the request fails or the response is not in the expected format.
33
- *
34
- * @see https://developers.arcgis.com/rest/enterprise-administration/server/iteminfo/
35
- */
36
24
  export declare const getFeatureLayerItemInfo: (itemInfoEndPoint: string, token: string) => Promise<ItemInfoResponse>;
@@ -10,42 +10,27 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.getFeatureLayerItemInfo = void 0;
13
- /**
14
- * Fetches the item information for a feature table from the ArcGIS REST API.
15
- * @param itemInfoEndPoint - The endpoint URL for the itemInfo service of a feature table. This should be the URL to the `/info/itemInfo` endpoint of the feature service.
16
- * @param token - The authentication token to access the ArcGIS REST API. This is required for accessing secured resources.
17
- * @returns A promise that resolves to an object containing the item information,
18
- * or rejects with an error if the request fails or the response is not in the expected format.
19
- *
20
- * @see https://developers.arcgis.com/rest/enterprise-administration/server/iteminfo/
21
- */
22
13
  const getFeatureLayerItemInfo = (itemInfoEndPoint, token) => __awaiter(void 0, void 0, void 0, function* () {
23
14
  var _a;
24
15
  if (!itemInfoEndPoint || !token) {
25
- // Validate input parameters
26
16
  throw new Error('Both itemInfoEndPoint and token are required');
27
17
  }
28
18
  try {
29
19
  const params = new URLSearchParams({
30
- f: 'json', // Specify the format of the response as JSON
20
+ f: 'json',
31
21
  token,
32
22
  });
33
23
  const res = yield fetch(itemInfoEndPoint + '?' + params.toString());
34
24
  const data = yield res.json();
35
25
  if (data === null || data === void 0 ? void 0 : data.error) {
36
- // Handle the error response from the server
37
26
  throw new Error(((_a = data === null || data === void 0 ? void 0 : data.error) === null || _a === void 0 ? void 0 : _a.message) || 'unknown error');
38
27
  }
39
- // Check if the response is in the expected format
40
28
  if (!data || typeof data !== 'object') {
41
29
  throw new Error('Invalid response format');
42
30
  }
43
- // Check if the response contains the expected properties
44
31
  if (!data.id || !data.owner) {
45
- // Ensure that the required properties are present in the response
46
32
  throw new Error('Missing required properties in the response');
47
33
  }
48
- // Return the parsed item info response
49
34
  return data;
50
35
  }
51
36
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"getItemInfo.js","sourceRoot":"","sources":["../../../src/services/shared/getItemInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;AA2BA;;;;;;;;GAQG;AACI,MAAM,uBAAuB,GAAG,CACnC,gBAAwB,EACxB,KAAa,EACY,EAAE;;IAC3B,IAAI,CAAC,gBAAgB,IAAI,CAAC,KAAK,EAAE,CAAC;QAC9B,4BAA4B;QAC5B,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IACpE,CAAC;IAED,IAAI,CAAC;QACD,MAAM,MAAM,GAAG,IAAI,eAAe,CAAC;YAC/B,CAAC,EAAE,MAAM,EAAE,6CAA6C;YACxD,KAAK;SACR,CAAC,CAAC;QAEH,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,gBAAgB,GAAG,GAAG,GAAG,MAAM,CAAC,QAAQ,EAAE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