@agility/content-fetch 1.1.4 → 2.0.0-rc1

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 (660) hide show
  1. package/.nyc_output/713b1ec2-05ec-4b67-8061-b6cad0a45ad5.json +1 -0
  2. package/.yarn/cache/@ampproject-remapping-npm-2.2.1-3da3d624be-03c04fd526.zip +0 -0
  3. package/.yarn/cache/@babel-code-frame-npm-7.22.5-b36f88d6f9-cfe804f518.zip +0 -0
  4. package/.yarn/cache/@babel-compat-data-npm-7.22.9-f9e02d51b9-bed77d9044.zip +0 -0
  5. package/.yarn/cache/@babel-core-npm-7.22.9-509b29c82e-7bf069aece.zip +0 -0
  6. package/.yarn/cache/@babel-generator-npm-7.22.9-d9fccf9328-7c9d2c58b8.zip +0 -0
  7. package/.yarn/cache/@babel-helper-compilation-targets-npm-7.22.9-b4473889ca-ea0006c6a9.zip +0 -0
  8. package/.yarn/cache/@babel-helper-environment-visitor-npm-7.22.5-7bc52eec61-248532077d.zip +0 -0
  9. package/.yarn/cache/@babel-helper-function-name-npm-7.22.5-8a1a69b63d-6b1f6ce1b1.zip +0 -0
  10. package/.yarn/cache/@babel-helper-hoist-variables-npm-7.22.5-6db3192347-394ca191b4.zip +0 -0
  11. package/.yarn/cache/@babel-helper-module-imports-npm-7.22.5-399b6063db-9ac2b0404f.zip +0 -0
  12. package/.yarn/cache/@babel-helper-module-transforms-npm-7.22.9-dfa9ef05d1-2751f77660.zip +0 -0
  13. package/.yarn/cache/@babel-helper-plugin-utils-npm-7.22.5-192e38e1de-c0fc722707.zip +0 -0
  14. package/.yarn/cache/@babel-helper-simple-access-npm-7.22.5-0a3f578780-fe9686714c.zip +0 -0
  15. package/.yarn/cache/@babel-helper-split-export-declaration-npm-7.22.6-e723505aef-e141cace58.zip +0 -0
  16. package/.yarn/cache/@babel-helper-string-parser-npm-7.22.5-448ff0e489-836851ca5e.zip +0 -0
  17. package/.yarn/cache/@babel-helper-validator-identifier-npm-7.22.5-4536624779-7f0f301134.zip +0 -0
  18. package/.yarn/cache/@babel-helper-validator-option-npm-7.22.5-eaf22b24ab-bbeca8a85e.zip +0 -0
  19. package/.yarn/cache/@babel-helpers-npm-7.22.6-8e54464b9e-5c1f33241f.zip +0 -0
  20. package/.yarn/cache/@babel-highlight-npm-7.22.5-3182ccc1fe-f61ae6de6e.zip +0 -0
  21. package/.yarn/cache/@babel-parser-npm-7.22.7-7fbdf28552-02209ddbd4.zip +0 -0
  22. package/.yarn/cache/@babel-plugin-syntax-async-generators-npm-7.8.4-d10cf993c9-7ed1c1d9b9.zip +0 -0
  23. package/.yarn/cache/@babel-plugin-syntax-bigint-npm-7.8.3-b05d971e6c-3a10849d83.zip +0 -0
  24. package/.yarn/cache/@babel-plugin-syntax-class-properties-npm-7.12.13-002ee9d930-24f34b196d.zip +0 -0
  25. package/.yarn/cache/@babel-plugin-syntax-import-meta-npm-7.10.4-4a0a0158bc-166ac1125d.zip +0 -0
  26. package/.yarn/cache/@babel-plugin-syntax-json-strings-npm-7.8.3-6dc7848179-bf5aea1f31.zip +0 -0
  27. package/.yarn/cache/@babel-plugin-syntax-jsx-npm-7.22.5-2cbf8e7e68-8829d30c26.zip +0 -0
  28. package/.yarn/cache/@babel-plugin-syntax-logical-assignment-operators-npm-7.10.4-72ae00fdf6-aff3357703.zip +0 -0
  29. package/.yarn/cache/@babel-plugin-syntax-nullish-coalescing-operator-npm-7.8.3-8a723173b5-87aca49189.zip +0 -0
  30. package/.yarn/cache/@babel-plugin-syntax-numeric-separator-npm-7.10.4-81444be605-01ec5547bd.zip +0 -0
  31. package/.yarn/cache/@babel-plugin-syntax-object-rest-spread-npm-7.8.3-60bd05b6ae-fddcf581a5.zip +0 -0
  32. package/.yarn/cache/@babel-plugin-syntax-optional-catch-binding-npm-7.8.3-ce337427d8-910d90e72b.zip +0 -0
  33. package/.yarn/cache/@babel-plugin-syntax-optional-chaining-npm-7.8.3-f3f3c79579-eef94d53a1.zip +0 -0
  34. package/.yarn/cache/@babel-plugin-syntax-top-level-await-npm-7.14.5-60a0a2e83b-bbd1a56b09.zip +0 -0
  35. package/.yarn/cache/@babel-plugin-syntax-typescript-npm-7.22.5-e17157d73d-8ab7718fbb.zip +0 -0
  36. package/.yarn/cache/@babel-template-npm-7.22.5-358c44dc9d-c574641016.zip +0 -0
  37. package/.yarn/cache/@babel-traverse-npm-7.22.8-98fbaaf7d8-a381369bc3.zip +0 -0
  38. package/.yarn/cache/@babel-types-npm-7.22.10-ffafe4058f-095c4f4b75.zip +0 -0
  39. package/.yarn/cache/@babel-types-npm-7.22.5-d1e4264bef-c13a9c1dc7.zip +0 -0
  40. package/.yarn/cache/@bcoe-v8-coverage-npm-0.2.3-9e27b3c57e-850f930553.zip +0 -0
  41. package/.yarn/cache/@colors-colors-npm-1.5.0-875af3a8b4-d64d5260be.zip +0 -0
  42. package/.yarn/cache/@isaacs-cliui-npm-8.0.2-f4364666d5-4a473b9b32.zip +0 -0
  43. package/.yarn/cache/@isaacs-string-locale-compare-npm-1.1.0-3911094464-7287da5d11.zip +0 -0
  44. package/.yarn/cache/@istanbuljs-load-nyc-config-npm-1.1.0-42d17c9cb1-d578da5e2e.zip +0 -0
  45. package/.yarn/cache/@istanbuljs-schema-npm-0.1.3-466bd3eaaa-5282759d96.zip +0 -0
  46. package/.yarn/cache/@jest-console-npm-29.6.2-4db58c0edb-1198667bda.zip +0 -0
  47. package/.yarn/cache/@jest-core-npm-29.6.2-5d908b046b-6bbb388643.zip +0 -0
  48. package/.yarn/cache/@jest-environment-npm-29.6.2-48e8b9de28-c7de0e4c0d.zip +0 -0
  49. package/.yarn/cache/@jest-expect-npm-29.6.2-7910937388-bd2d88a4e7.zip +0 -0
  50. package/.yarn/cache/@jest-expect-utils-npm-29.6.2-bafd0077bb-0decf2009a.zip +0 -0
  51. package/.yarn/cache/@jest-fake-timers-npm-29.6.2-db388f40be-1abcda02f2.zip +0 -0
  52. package/.yarn/cache/@jest-globals-npm-29.6.2-c549594aed-aa4a54f19c.zip +0 -0
  53. package/.yarn/cache/@jest-reporters-npm-29.6.2-42ade157bc-7cf880d073.zip +0 -0
  54. package/.yarn/cache/@jest-schemas-npm-29.6.0-3ca8b9309f-c00511c69c.zip +0 -0
  55. package/.yarn/cache/@jest-source-map-npm-29.6.0-84d0709d08-9c6c403874.zip +0 -0
  56. package/.yarn/cache/@jest-test-result-npm-29.6.2-066177b4eb-8aff37f18c.zip +0 -0
  57. package/.yarn/cache/@jest-test-sequencer-npm-29.6.2-05231e441f-12dc2577e4.zip +0 -0
  58. package/.yarn/cache/@jest-transform-npm-29.6.2-6b692dd6ca-ffb8c3c344.zip +0 -0
  59. package/.yarn/cache/@jest-types-npm-29.6.1-b7c765fadd-89fc1ccf71.zip +0 -0
  60. package/.yarn/cache/@jridgewell-gen-mapping-npm-0.3.3-1815eba94c-4a74944bd3.zip +0 -0
  61. package/.yarn/cache/@jridgewell-resolve-uri-npm-3.1.0-6ff2351e61-b5ceaaf9a1.zip +0 -0
  62. package/.yarn/cache/@jridgewell-set-array-npm-1.1.2-45b82d7fb6-69a84d5980.zip +0 -0
  63. package/.yarn/cache/@jridgewell-sourcemap-codec-npm-1.4.14-f5f0630788-61100637b6.zip +0 -0
  64. package/.yarn/cache/@jridgewell-sourcemap-codec-npm-1.4.15-a055fb62cf-b881c7e503.zip +0 -0
  65. package/.yarn/cache/@jridgewell-trace-mapping-npm-0.3.18-cd96571385-0572669f85.zip +0 -0
  66. package/.yarn/cache/@npmcli-arborist-npm-6.3.0-9d3adbe1f6-4f59d5408c.zip +0 -0
  67. package/.yarn/cache/@npmcli-config-npm-6.2.1-4191bac29e-8c8d47f900.zip +0 -0
  68. package/.yarn/cache/@npmcli-disparity-colors-npm-3.0.0-9fe9301a52-49320c6927.zip +0 -0
  69. package/.yarn/cache/@npmcli-fs-npm-3.1.0-0844a57978-a50a6818de.zip +0 -0
  70. package/.yarn/cache/@npmcli-git-npm-4.1.0-f7322fced9-37efb92659.zip +0 -0
  71. package/.yarn/cache/@npmcli-installed-package-contents-npm-2.0.2-99564e3824-60789d5ed2.zip +0 -0
  72. package/.yarn/cache/@npmcli-map-workspaces-npm-3.0.4-b07359726d-99607dbc50.zip +0 -0
  73. package/.yarn/cache/@npmcli-metavuln-calculator-npm-5.0.1-b28e316793-cd08ad9cc4.zip +0 -0
  74. package/.yarn/cache/@npmcli-name-from-folder-npm-2.0.0-18e2dba870-fb3ef891aa.zip +0 -0
  75. package/.yarn/cache/@npmcli-node-gyp-npm-3.0.0-b160a0116c-fe3802b813.zip +0 -0
  76. package/.yarn/cache/@npmcli-package-json-npm-4.0.1-8fba8ea1a2-699b80a72f.zip +0 -0
  77. package/.yarn/cache/@npmcli-promise-spawn-npm-6.0.2-c9941b207c-aa725780c1.zip +0 -0
  78. package/.yarn/cache/@npmcli-query-npm-3.0.0-53c05bcb30-90fca7edd5.zip +0 -0
  79. package/.yarn/cache/@npmcli-run-script-npm-6.0.2-6a98dec431-7a671d7dbe.zip +0 -0
  80. package/.yarn/cache/@pkgjs-parseargs-npm-0.11.0-cd2a3fe948-6ad6a00fc4.zip +0 -0
  81. package/.yarn/cache/@sigstore-bundle-npm-1.0.0-6224fc68db-9902b9fcd2.zip +0 -0
  82. package/.yarn/cache/@sigstore-protobuf-specs-npm-0.2.0-93c8e6c759-6b7c5d3612.zip +0 -0
  83. package/.yarn/cache/@sigstore-tuf-npm-1.0.3-9a2b6b14aa-0a32594b73.zip +0 -0
  84. package/.yarn/cache/@sinclair-typebox-npm-0.27.8-23e206d653-00bd7362a3.zip +0 -0
  85. package/.yarn/cache/@sinonjs-commons-npm-3.0.0-fa72ff71a1-b4b5b73d4d.zip +0 -0
  86. package/.yarn/cache/@sinonjs-fake-timers-npm-10.3.0-7417f876b4-614d30cb4d.zip +0 -0
  87. package/.yarn/cache/@tootallnate-once-npm-2.0.0-e36cf4f140-ad87447820.zip +0 -0
  88. package/.yarn/cache/@tufjs-canonical-json-npm-1.0.0-66d27d850f-9ff3bcd129.zip +0 -0
  89. package/.yarn/cache/@tufjs-models-npm-1.0.4-a1dddaf561-b489baa854.zip +0 -0
  90. package/.yarn/cache/@types-babel__core-npm-7.20.1-f44761b6b6-9fcd9691a3.zip +0 -0
  91. package/.yarn/cache/@types-babel__generator-npm-7.6.4-03e776f956-20effbbb5f.zip +0 -0
  92. package/.yarn/cache/@types-babel__template-npm-7.4.1-fe1db49e53-649fe8b42c.zip +0 -0
  93. package/.yarn/cache/@types-babel__traverse-npm-7.20.1-e1e93d4b3f-58341e23c6.zip +0 -0
  94. package/.yarn/cache/@types-graceful-fs-npm-4.1.6-1eadcf742d-c3070ccdc9.zip +0 -0
  95. package/.yarn/cache/@types-istanbul-lib-coverage-npm-2.0.4-734954bb56-a25d7589ee.zip +0 -0
  96. package/.yarn/cache/@types-istanbul-lib-report-npm-3.0.0-50de3e6b3b-656398b62d.zip +0 -0
  97. package/.yarn/cache/@types-istanbul-reports-npm-3.0.1-770e825002-f1ad54bc68.zip +0 -0
  98. package/.yarn/cache/@types-jest-npm-29.5.3-8fc40e94bc-e36bb92e0b.zip +0 -0
  99. package/.yarn/cache/@types-node-npm-18.11.9-d21dd6ec05-cc0aae109e.zip +0 -0
  100. package/.yarn/cache/@types-node-npm-20.4.5-7555fad0d4-36a0304a8d.zip +0 -0
  101. package/.yarn/cache/@types-stack-utils-npm-2.0.1-867718ab70-205fdbe332.zip +0 -0
  102. package/.yarn/cache/@types-yargs-npm-17.0.24-b034cf1d8b-5f3ac4dc4f.zip +0 -0
  103. package/.yarn/cache/@types-yargs-parser-npm-21.0.0-c8a3b32c52-b2f4c8d12a.zip +0 -0
  104. package/.yarn/cache/abbrev-npm-1.1.1-3659247eab-a4a97ec07d.zip +0 -0
  105. package/.yarn/cache/abbrev-npm-2.0.0-0eb38a17e5-0e994ad2aa.zip +0 -0
  106. package/.yarn/cache/abort-controller-npm-3.0.0-2f3a9a2bcb-170bdba9b4.zip +0 -0
  107. package/.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip +0 -0
  108. package/.yarn/cache/agentkeepalive-npm-4.3.0-ac3d8e6807-982453aa44.zip +0 -0
  109. package/.yarn/cache/aggregate-error-npm-3.1.0-415a406f4e-1101a33f21.zip +0 -0
  110. package/.yarn/cache/agility-jsdoc-template-npm-1.0.3-552626862e-eab23c1f7f.zip +0 -0
  111. package/.yarn/cache/ansi-escapes-npm-4.3.2-3ad173702f-93111c4218.zip +0 -0
  112. package/.yarn/cache/ansi-regex-npm-5.0.1-c963a48615-2aa4bb54ca.zip +0 -0
  113. package/.yarn/cache/ansi-regex-npm-6.0.1-8d663a607d-1ff8b7667c.zip +0 -0
  114. package/.yarn/cache/ansi-styles-npm-3.2.1-8cb8107983-d85ade01c1.zip +0 -0
  115. package/.yarn/cache/ansi-styles-npm-4.3.0-245c7d42c7-513b44c3b2.zip +0 -0
  116. package/.yarn/cache/ansi-styles-npm-5.2.0-72fc7003e3-d7f4e97ce0.zip +0 -0
  117. package/.yarn/cache/ansi-styles-npm-6.2.1-d43647018c-ef940f2f0c.zip +0 -0
  118. package/.yarn/cache/anymatch-npm-3.1.3-bc81d103b1-3e044fd6d1.zip +0 -0
  119. package/.yarn/cache/aproba-npm-2.0.0-8716bcfde6-5615cadcfb.zip +0 -0
  120. package/.yarn/cache/archy-npm-1.0.0-7db8bfdc3b-504ae7af65.zip +0 -0
  121. package/.yarn/cache/are-we-there-yet-npm-3.0.1-3395b1512f-52590c2486.zip +0 -0
  122. package/.yarn/cache/are-we-there-yet-npm-4.0.1-734c8e8dce-16871ee259.zip +0 -0
  123. package/.yarn/cache/argparse-npm-1.0.10-528934e59d-7ca6e45583.zip +0 -0
  124. package/.yarn/cache/asynckit-npm-0.4.0-c718858525-7b78c451df.zip +0 -0
  125. package/.yarn/cache/axios-cache-adapter-npm-2.7.3-26c357b785-ff44bee6a2.zip +0 -0
  126. package/.yarn/cache/axios-npm-0.27.2-dbe3a48aea-38cb754046.zip +0 -0
  127. package/.yarn/cache/babel-jest-npm-29.6.2-b4a252efef-3936b5d6ed.zip +0 -0
  128. package/.yarn/cache/babel-plugin-istanbul-npm-6.1.1-df824055e4-cb4fd95738.zip +0 -0
  129. package/.yarn/cache/babel-plugin-jest-hoist-npm-29.5.0-3760955b96-099b525407.zip +0 -0
  130. package/.yarn/cache/babel-preset-current-node-syntax-npm-1.0.1-849ec71e32-d118c27424.zip +0 -0
  131. package/.yarn/cache/babel-preset-jest-npm-29.5.0-1e9ee3b405-5566ca2762.zip +0 -0
  132. package/.yarn/cache/balanced-match-npm-1.0.2-a53c126459-9706c088a2.zip +0 -0
  133. package/.yarn/cache/base64-js-npm-1.5.1-b2f7275641-669632eb37.zip +0 -0
  134. package/.yarn/cache/bin-links-npm-4.0.2-592819adbc-6f83e73100.zip +0 -0
  135. package/.yarn/cache/binary-extensions-npm-2.2.0-180c33fec7-ccd267956c.zip +0 -0
  136. package/.yarn/cache/brace-expansion-npm-1.1.11-fb95eb05ad-faf34a7bb0.zip +0 -0
  137. package/.yarn/cache/brace-expansion-npm-2.0.1-17aa2616f9-a61e7cd2e8.zip +0 -0
  138. package/.yarn/cache/braces-npm-3.0.2-782240b28a-e2a8e769a8.zip +0 -0
  139. package/.yarn/cache/browserslist-npm-4.21.10-e2170a875b-1e27c0f111.zip +0 -0
  140. package/.yarn/cache/bs-logger-npm-0.2.6-7670f88b66-d34bdaf68c.zip +0 -0
  141. package/.yarn/cache/bser-npm-2.1.1-cc902055ce-9ba4dc58ce.zip +0 -0
  142. package/.yarn/cache/buffer-from-npm-1.1.2-03d2f20d7e-0448524a56.zip +0 -0
  143. package/.yarn/cache/buffer-npm-6.0.3-cd90dfedfe-5ad23293d9.zip +0 -0
  144. package/.yarn/cache/builtins-npm-5.0.1-6d4820dd76-66d204657f.zip +0 -0
  145. package/.yarn/cache/cacache-npm-17.1.3-f75f768a29-385756781e.zip +0 -0
  146. package/.yarn/cache/cache-control-esm-npm-1.0.0-ee383a8c40-4f8c8399f2.zip +0 -0
  147. package/.yarn/cache/callsites-npm-3.1.0-268f989910-072d17b6ab.zip +0 -0
  148. package/.yarn/cache/camelcase-npm-5.3.1-5db8af62c5-e6effce26b.zip +0 -0
  149. package/.yarn/cache/camelcase-npm-6.3.0-e5e42a0d15-8c96818a90.zip +0 -0
  150. package/.yarn/cache/caniuse-lite-npm-1.0.30001518-2e4e82df98-1b63272f6e.zip +0 -0
  151. package/.yarn/cache/chalk-npm-2.4.2-3ea16dd91e-ec3661d38f.zip +0 -0
  152. package/.yarn/cache/chalk-npm-4.1.2-ba8b67ab80-fe75c9d5c7.zip +0 -0
  153. package/.yarn/cache/chalk-npm-5.3.0-d181999efb-623922e077.zip +0 -0
  154. package/.yarn/cache/char-regex-npm-1.0.2-ecade5f97f-b563e4b603.zip +0 -0
  155. package/.yarn/cache/charenc-npm-0.0.2-aca0c2f207-81dcadbe57.zip +0 -0
  156. package/.yarn/cache/chownr-npm-2.0.0-638f1c9c61-c57cf9dd07.zip +0 -0
  157. package/.yarn/cache/ci-info-npm-3.8.0-d56a0b67d6-d0a4d31604.zip +0 -0
  158. package/.yarn/cache/cidr-regex-npm-3.1.1-a5f3c156e7-ef9306d086.zip +0 -0
  159. package/.yarn/cache/cjs-module-lexer-npm-1.2.3-9d788a3c14-5ea3cb867a.zip +0 -0
  160. package/.yarn/cache/clean-stack-npm-2.2.0-a8ce435a5c-2ac8cd2b2f.zip +0 -0
  161. package/.yarn/cache/cli-columns-npm-4.0.0-7c43bbe435-fa1a3a7f4e.zip +0 -0
  162. package/.yarn/cache/cli-table3-npm-0.6.3-1dca7f9152-09897f6846.zip +0 -0
  163. package/.yarn/cache/cliui-npm-8.0.1-3b029092cf-79648b3b00.zip +0 -0
  164. package/.yarn/cache/clone-npm-1.0.4-a610fcbcf9-d06418b733.zip +0 -0
  165. package/.yarn/cache/cmd-shim-npm-6.0.1-87ebf774a0-359006b3a5.zip +0 -0
  166. package/.yarn/cache/co-npm-4.6.0-03f2d1feb6-5210d92230.zip +0 -0
  167. package/.yarn/cache/collect-v8-coverage-npm-1.0.2-bd20d0c572-c10f41c39a.zip +0 -0
  168. package/.yarn/cache/color-convert-npm-1.9.3-1fe690075e-fd7a64a17c.zip +0 -0
  169. package/.yarn/cache/color-convert-npm-2.0.1-79730e935b-79e6bdb9fd.zip +0 -0
  170. package/.yarn/cache/color-name-npm-1.1.3-728b7b5d39-09c5d3e33d.zip +0 -0
  171. package/.yarn/cache/color-name-npm-1.1.4-025792b0ea-b044585952.zip +0 -0
  172. package/.yarn/cache/color-support-npm-1.1.3-3be5c53455-9b73568176.zip +0 -0
  173. package/.yarn/cache/columnify-npm-1.6.0-aa925d932b-0d59002361.zip +0 -0
  174. package/.yarn/cache/combined-stream-npm-1.0.8-dc14d4a63a-49fa4aeb49.zip +0 -0
  175. package/.yarn/cache/common-ancestor-path-npm-1.0.1-27534e68da-1d2e418606.zip +0 -0
  176. package/.yarn/cache/concat-map-npm-0.0.1-85a921b7ee-902a9f5d89.zip +0 -0
  177. package/.yarn/cache/console-control-strings-npm-1.1.0-e3160e5275-8755d76787.zip +0 -0
  178. package/.yarn/cache/convert-source-map-npm-1.9.0-e294555f4b-dc55a1f28d.zip +0 -0
  179. package/.yarn/cache/convert-source-map-npm-2.0.0-7ab664dc4e-63ae9933be.zip +0 -0
  180. package/.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-671cc7c728.zip +0 -0
  181. package/.yarn/cache/crypt-npm-0.0.2-033627d94f-baf4c7bbe0.zip +0 -0
  182. package/.yarn/cache/cssesc-npm-3.0.0-15ec56f86f-f8c4ababff.zip +0 -0
  183. package/.yarn/cache/debug-npm-4.3.4-4513954577-3dbad3f94e.zip +0 -0
  184. package/.yarn/cache/dedent-npm-1.5.1-8d0a005200-c3c300a14e.zip +0 -0
  185. package/.yarn/cache/deepmerge-npm-4.3.1-4f751a0844-2024c6a980.zip +0 -0
  186. package/.yarn/cache/defaults-npm-1.0.4-f3fbaf2528-3a88b7a587.zip +0 -0
  187. package/.yarn/cache/delayed-stream-npm-1.0.0-c5a4c4cc02-46fe6e83e2.zip +0 -0
  188. package/.yarn/cache/delegates-npm-1.0.0-9b1942d75f-a51744d9b5.zip +0 -0
  189. package/.yarn/cache/depd-npm-2.0.0-b6c51a4b43-abbe19c768.zip +0 -0
  190. package/.yarn/cache/detect-newline-npm-3.1.0-6d33fa8d37-ae6cd429c4.zip +0 -0
  191. package/.yarn/cache/diff-npm-5.1.0-d24d222280-c7bf0df7c9.zip +0 -0
  192. package/.yarn/cache/diff-sequences-npm-29.4.3-ffe403944f-28b265e04f.zip +0 -0
  193. package/.yarn/cache/eastasianwidth-npm-0.2.0-c37eb16bd1-7d00d7cd8e.zip +0 -0
  194. package/.yarn/cache/electron-to-chromium-npm-1.4.481-eaa539b254-52b7e8d7ae.zip +0 -0
  195. package/.yarn/cache/emittery-npm-0.13.1-cb6cd1bb03-2b089ab630.zip +0 -0
  196. package/.yarn/cache/emoji-regex-npm-8.0.0-213764015c-d4c5c39d5a.zip +0 -0
  197. package/.yarn/cache/emoji-regex-npm-9.2.2-e6fac8d058-8487182da7.zip +0 -0
  198. package/.yarn/cache/encoding-npm-0.1.13-82a1837d30-bb98632f8f.zip +0 -0
  199. package/.yarn/cache/env-paths-npm-2.2.1-7c7577428c-65b5df55a8.zip +0 -0
  200. package/.yarn/cache/err-code-npm-2.0.3-082e0ff9a7-8b7b1be20d.zip +0 -0
  201. package/.yarn/cache/error-ex-npm-1.3.2-5654f80c0f-c1c2b8b65f.zip +0 -0
  202. package/.yarn/cache/escalade-npm-3.1.1-e02da076aa-a3e2a99f07.zip +0 -0
  203. package/.yarn/cache/escape-string-regexp-npm-1.0.5-3284de402f-6092fda75c.zip +0 -0
  204. package/.yarn/cache/escape-string-regexp-npm-2.0.0-aef69d2a25-9f8a2d5743.zip +0 -0
  205. package/.yarn/cache/esprima-npm-4.0.1-1084e98778-b45bc805a6.zip +0 -0
  206. package/.yarn/cache/event-target-shim-npm-5.0.1-cb48709025-1ffe3bb22a.zip +0 -0
  207. package/.yarn/cache/events-npm-3.3.0-c280bc7e48-f6f487ad21.zip +0 -0
  208. package/.yarn/cache/execa-npm-5.1.1-191347acf5-fba9022c8c.zip +0 -0
  209. package/.yarn/cache/exit-npm-0.1.2-ef3761a67d-abc407f07a.zip +0 -0
  210. package/.yarn/cache/expect-npm-29.6.2-d56284fd66-71f7b0c560.zip +0 -0
  211. package/.yarn/cache/exponential-backoff-npm-3.1.1-04df458b30-3d21519a4f.zip +0 -0
  212. package/.yarn/cache/fast-json-stable-stringify-npm-2.1.0-02e8905fda-b191531e36.zip +0 -0
  213. package/.yarn/cache/fastest-levenshtein-npm-1.0.16-192d328856-a78d44285c.zip +0 -0
  214. package/.yarn/cache/fb-watchman-npm-2.0.2-bcb6f8f831-b15a124cef.zip +0 -0
  215. package/.yarn/cache/fill-range-npm-7.0.1-b8b1817caa-cc283f4e65.zip +0 -0
  216. package/.yarn/cache/find-up-npm-4.1.0-c3ccf8d855-4c172680e8.zip +0 -0
  217. package/.yarn/cache/follow-redirects-npm-1.15.2-1ec1dd82be-faa66059b6.zip +0 -0
  218. package/.yarn/cache/foreground-child-npm-3.1.1-77e78ed774-139d270bc8.zip +0 -0
  219. package/.yarn/cache/form-data-npm-4.0.0-916facec2d-01135bf867.zip +0 -0
  220. package/.yarn/cache/fs-minipass-npm-2.1.0-501ef87306-1b8d128dae.zip +0 -0
  221. package/.yarn/cache/fs-minipass-npm-3.0.2-a27ef235f5-e9cc0e1f2d.zip +0 -0
  222. package/.yarn/cache/fs.realpath-npm-1.0.0-c8f05d8126-99ddea01a7.zip +0 -0
  223. package/.yarn/cache/fsevents-npm-2.3.2-a881d6ac9f-97ade64e75.zip +0 -0
  224. package/.yarn/cache/fsevents-patch-2882183fbf-8.zip +0 -0
  225. package/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-b32fbaebb3.zip +0 -0
  226. package/.yarn/cache/gauge-npm-4.0.4-8f878385e9-788b6bfe52.zip +0 -0
  227. package/.yarn/cache/gauge-npm-5.0.1-69ab73de36-09b1eb8d8c.zip +0 -0
  228. package/.yarn/cache/gensync-npm-1.0.0-beta.2-224666d72f-a7437e58c6.zip +0 -0
  229. package/.yarn/cache/get-caller-file-npm-2.0.5-80e8a86305-b9769a836d.zip +0 -0
  230. package/.yarn/cache/get-package-type-npm-0.1.0-6c70cdc8ab-bba0811116.zip +0 -0
  231. package/.yarn/cache/get-stream-npm-6.0.1-83e51a4642-e04ecece32.zip +0 -0
  232. package/.yarn/cache/glob-npm-10.3.3-2d9abea8c7-29190d3291.zip +0 -0
  233. package/.yarn/cache/glob-npm-7.2.3-2d866d17a5-29452e97b3.zip +0 -0
  234. package/.yarn/cache/globals-npm-11.12.0-1fa7f41a6c-67051a45ec.zip +0 -0
  235. package/.yarn/cache/graceful-fs-npm-4.2.11-24bb648a68-ac85f94da9.zip +0 -0
  236. package/.yarn/cache/has-flag-npm-3.0.0-16ac11fe05-4a15638b45.zip +0 -0
  237. package/.yarn/cache/has-flag-npm-4.0.0-32af9f0536-261a135703.zip +0 -0
  238. package/.yarn/cache/has-npm-1.0.3-b7f00631c1-b9ad53d53b.zip +0 -0
  239. package/.yarn/cache/has-unicode-npm-2.0.1-893adb4747-1eab07a743.zip +0 -0
  240. package/.yarn/cache/hosted-git-info-npm-6.1.1-d57807f6a5-fcd3ca2eaa.zip +0 -0
  241. package/.yarn/cache/html-escaper-npm-2.0.2-38e51ef294-d2df2da3ad.zip +0 -0
  242. package/.yarn/cache/http-cache-semantics-npm-4.1.1-1120131375-83ac0bc60b.zip +0 -0
  243. package/.yarn/cache/http-proxy-agent-npm-5.0.0-7f1f121b83-e2ee1ff165.zip +0 -0
  244. package/.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip +0 -0
  245. package/.yarn/cache/human-signals-npm-2.1.0-f75815481d-b87fd89fce.zip +0 -0
  246. package/.yarn/cache/humanize-ms-npm-1.2.1-e942bd7329-9c7a74a282.zip +0 -0
  247. package/.yarn/cache/iconv-lite-npm-0.6.3-24b8aae27e-3f60d47a5c.zip +0 -0
  248. package/.yarn/cache/ieee754-npm-1.2.1-fb63b3caeb-5144c0c981.zip +0 -0
  249. package/.yarn/cache/ignore-walk-npm-6.0.3-ebca6b06c4-d8ba534beb.zip +0 -0
  250. package/.yarn/cache/import-local-npm-3.1.0-8960af5e51-bfcdb63b5e.zip +0 -0
  251. package/.yarn/cache/imurmurhash-npm-0.1.4-610c5068a0-7cae75c8cd.zip +0 -0
  252. package/.yarn/cache/indent-string-npm-4.0.0-7b717435b2-824cfb9929.zip +0 -0
  253. package/.yarn/cache/inflight-npm-1.0.6-ccedb4b908-f4f76aa072.zip +0 -0
  254. package/.yarn/cache/inherits-npm-2.0.4-c66b3957a0-4a48a73384.zip +0 -0
  255. package/.yarn/cache/ini-npm-4.1.1-01c2cbda7b-0e59095540.zip +0 -0
  256. package/.yarn/cache/init-package-json-npm-5.0.0-0656c8f580-ad601c717d.zip +0 -0
  257. package/.yarn/cache/install-npm-0.13.0-53f6b8981f-645bad1253.zip +0 -0
  258. package/.yarn/cache/ip-npm-2.0.0-204facb3cc-cfcfac6b87.zip +0 -0
  259. package/.yarn/cache/ip-regex-npm-4.3.0-4ac12c6be9-7ff904b891.zip +0 -0
  260. package/.yarn/cache/is-arrayish-npm-0.2.1-23927dfb15-eef4417e3c.zip +0 -0
  261. package/.yarn/cache/is-buffer-npm-1.1.6-08199d9ccc-4a186d995d.zip +0 -0
  262. package/.yarn/cache/is-cidr-npm-4.0.2-74bbb734d3-ee6e670e65.zip +0 -0
  263. package/.yarn/cache/is-core-module-npm-2.12.1-ce74e89160-f04ea30533.zip +0 -0
  264. package/.yarn/cache/is-fullwidth-code-point-npm-3.0.0-1ecf4ebee5-44a30c2945.zip +0 -0
  265. package/.yarn/cache/is-generator-fn-npm-2.1.0-37895c2d2b-a6ad5492cf.zip +0 -0
  266. package/.yarn/cache/is-lambda-npm-1.0.1-7ab55bc8a8-93a32f0194.zip +0 -0
  267. package/.yarn/cache/is-number-npm-7.0.0-060086935c-456ac6f8e0.zip +0 -0
  268. package/.yarn/cache/is-stream-npm-2.0.1-c802db55e7-b8e05ccdf9.zip +0 -0
  269. package/.yarn/cache/isexe-npm-2.0.0-b58870bd2e-26bf6c5480.zip +0 -0
  270. package/.yarn/cache/istanbul-lib-coverage-npm-3.2.0-93f84b2c8c-a2a545033b.zip +0 -0
  271. package/.yarn/cache/istanbul-lib-instrument-npm-5.2.1-1b3ad719a9-bf16f1803b.zip +0 -0
  272. package/.yarn/cache/istanbul-lib-report-npm-3.0.1-b17446ab24-fd17a1b879.zip +0 -0
  273. package/.yarn/cache/istanbul-lib-source-maps-npm-4.0.1-af0f859df7-21ad3df45d.zip +0 -0
  274. package/.yarn/cache/istanbul-reports-npm-3.1.6-66918eb97f-44c4c0582f.zip +0 -0
  275. package/.yarn/cache/jackspeak-npm-2.2.2-374ca454fe-7b1468dd91.zip +0 -0
  276. package/.yarn/cache/jest-changed-files-npm-29.5.0-9ca582b770-a67a7cb3c1.zip +0 -0
  277. package/.yarn/cache/jest-circus-npm-29.6.2-675d768a16-4f5a96a68c.zip +0 -0
  278. package/.yarn/cache/jest-cli-npm-29.6.2-99e0036409-0b7b09ae4b.zip +0 -0
  279. package/.yarn/cache/jest-config-npm-29.6.2-71660b6c0c-3bd104a3ac.zip +0 -0
  280. package/.yarn/cache/jest-diff-npm-29.6.2-caa9c5f644-0effd66a0c.zip +0 -0
  281. package/.yarn/cache/jest-docblock-npm-29.4.3-0fa9ff492b-e0e9df1485.zip +0 -0
  282. package/.yarn/cache/jest-each-npm-29.6.2-c58f436344-b64194f4ca.zip +0 -0
  283. package/.yarn/cache/jest-environment-node-npm-29.6.2-0ac11b8f1c-0b754ac2d3.zip +0 -0
  284. package/.yarn/cache/jest-get-type-npm-29.4.3-790eefdb01-6ac7f2dde1.zip +0 -0
  285. package/.yarn/cache/jest-haste-map-npm-29.6.2-70adb235f5-7262339720.zip +0 -0
  286. package/.yarn/cache/jest-leak-detector-npm-29.6.2-d58b6b7df0-e00152acdb.zip +0 -0
  287. package/.yarn/cache/jest-matcher-utils-npm-29.6.2-fd1c69812e-3e1b65dd30.zip +0 -0
  288. package/.yarn/cache/jest-message-util-npm-29.6.2-8bd7bc632e-e8e3c8d230.zip +0 -0
  289. package/.yarn/cache/jest-mock-npm-29.6.2-c31cf48c24-0bacb5d584.zip +0 -0
  290. package/.yarn/cache/jest-npm-29.6.2-5eda7a13ff-dd63facd4e.zip +0 -0
  291. package/.yarn/cache/jest-pnp-resolver-npm-1.2.3-70e06bf27c-db1a8ab2cb.zip +0 -0
  292. package/.yarn/cache/jest-regex-util-npm-29.4.3-defc22c588-96fc7fc28c.zip +0 -0
  293. package/.yarn/cache/jest-resolve-dependencies-npm-29.6.2-63dbac2655-d40ee11af2.zip +0 -0
  294. package/.yarn/cache/jest-resolve-npm-29.6.2-21cedcf0b9-01721957e6.zip +0 -0
  295. package/.yarn/cache/jest-runner-npm-29.6.2-74dddde534-46bd506a08.zip +0 -0
  296. package/.yarn/cache/jest-runtime-npm-29.6.2-3a51c05bc4-8e7e4486b2.zip +0 -0
  297. package/.yarn/cache/jest-snapshot-npm-29.6.2-6ed320289f-c1c70a9dbc.zip +0 -0
  298. package/.yarn/cache/jest-util-npm-29.6.2-41bd0e8e02-8aedc0c800.zip +0 -0
  299. package/.yarn/cache/jest-validate-npm-29.6.2-008427c47c-32648d0021.zip +0 -0
  300. package/.yarn/cache/jest-watcher-npm-29.6.2-ec5e606774-14624190fc.zip +0 -0
  301. package/.yarn/cache/jest-worker-npm-29.6.2-ccd8e6f0e1-1103556453.zip +0 -0
  302. package/.yarn/cache/js-tokens-npm-4.0.0-0ac852e9e2-8a95213a5a.zip +0 -0
  303. package/.yarn/cache/js-yaml-npm-3.14.1-b968c6095e-bef146085f.zip +0 -0
  304. package/.yarn/cache/jsesc-npm-2.5.2-c5acb78804-4dc1907711.zip +0 -0
  305. package/.yarn/cache/json-parse-even-better-errors-npm-2.3.1-144d62256e-798ed4cf33.zip +0 -0
  306. package/.yarn/cache/json-parse-even-better-errors-npm-3.0.0-3675833c0a-f1970b5220.zip +0 -0
  307. package/.yarn/cache/json-stringify-nice-npm-1.1.4-0b0ddb188b-6ddf781148.zip +0 -0
  308. package/.yarn/cache/json5-npm-2.2.3-9962c55073-2a7436a933.zip +0 -0
  309. package/.yarn/cache/jsonparse-npm-1.3.1-b6fde74828-6514a7be46.zip +0 -0
  310. package/.yarn/cache/just-diff-apply-npm-5.5.0-04951e29f4-ed6bbd5978.zip +0 -0
  311. package/.yarn/cache/just-diff-npm-6.0.2-f73771d84e-1a0c7524f6.zip +0 -0
  312. package/.yarn/cache/kleur-npm-3.0.3-f6f53649a4-df82cd1e17.zip +0 -0
  313. package/.yarn/cache/leven-npm-3.1.0-b7697736a3-638401d534.zip +0 -0
  314. package/.yarn/cache/libnpmaccess-npm-7.0.2-57b91bfda5-73d49f3939.zip +0 -0
  315. package/.yarn/cache/libnpmdiff-npm-5.0.19-26809d318b-47835abc81.zip +0 -0
  316. package/.yarn/cache/libnpmexec-npm-6.0.3-9bfdfc5775-c9c92dc29a.zip +0 -0
  317. package/.yarn/cache/libnpmfund-npm-4.0.19-742ff1c9b5-77905879f7.zip +0 -0
  318. package/.yarn/cache/libnpmhook-npm-9.0.3-1ed2368ed2-535ecefa22.zip +0 -0
  319. package/.yarn/cache/libnpmorg-npm-5.0.4-8ff49f84d5-4e170ba145.zip +0 -0
  320. package/.yarn/cache/libnpmpack-npm-5.0.19-fad75068a8-d164d61383.zip +0 -0
  321. package/.yarn/cache/libnpmpublish-npm-7.5.0-e0dfdc81a9-feb99876be.zip +0 -0
  322. package/.yarn/cache/libnpmsearch-npm-6.0.2-664c687722-7a62e5cb1c.zip +0 -0
  323. package/.yarn/cache/libnpmteam-npm-5.0.3-1e0a2afab9-a39ccdb4a6.zip +0 -0
  324. package/.yarn/cache/libnpmversion-npm-4.0.2-257501dd35-4666db4671.zip +0 -0
  325. package/.yarn/cache/lines-and-columns-npm-1.2.4-d6c7cc5799-0c37f9f7fa.zip +0 -0
  326. package/.yarn/cache/locate-path-npm-5.0.0-46580c43e4-83e51725e6.zip +0 -0
  327. package/.yarn/cache/lodash.memoize-npm-4.1.2-0e6250041f-9ff3942fee.zip +0 -0
  328. package/.yarn/cache/lru-cache-npm-10.0.0-256d74bb20-18f101675f.zip +0 -0
  329. package/.yarn/cache/lru-cache-npm-5.1.1-f475882a51-c154ae1cbb.zip +0 -0
  330. package/.yarn/cache/lru-cache-npm-6.0.0-b4c8668fe1-f97f499f89.zip +0 -0
  331. package/.yarn/cache/lru-cache-npm-7.18.3-e68be5b11c-e550d77238.zip +0 -0
  332. package/.yarn/cache/make-dir-npm-4.0.0-ec3cd921cc-bf0731a2dd.zip +0 -0
  333. package/.yarn/cache/make-error-npm-1.3.6-ccb85d9458-b86e5e0e25.zip +0 -0
  334. package/.yarn/cache/make-fetch-happen-npm-11.1.1-f32b79aaaa-7268bf274a.zip +0 -0
  335. package/.yarn/cache/makeerror-npm-1.0.12-69abf085d7-b38a025a12.zip +0 -0
  336. package/.yarn/cache/md5-npm-2.3.0-86c49d3915-a63cacf401.zip +0 -0
  337. package/.yarn/cache/merge-stream-npm-2.0.0-2ac83efea5-6fa4dcc8d8.zip +0 -0
  338. package/.yarn/cache/micromatch-npm-4.0.5-cfab5d7669-02a17b671c.zip +0 -0
  339. package/.yarn/cache/mime-db-npm-1.52.0-b5371d6fd2-0d99a03585.zip +0 -0
  340. package/.yarn/cache/mime-types-npm-2.1.35-dd9ea9f3e2-89a5b7f1de.zip +0 -0
  341. package/.yarn/cache/mimic-fn-npm-2.1.0-4fbeb3abb4-d2421a3444.zip +0 -0
  342. package/.yarn/cache/minimatch-npm-3.1.2-9405269906-c154e56640.zip +0 -0
  343. package/.yarn/cache/minimatch-npm-9.0.3-69d7d6fad5-253487976b.zip +0 -0
  344. package/.yarn/cache/minipass-collect-npm-1.0.2-3b4676eab5-14df761028.zip +0 -0
  345. package/.yarn/cache/minipass-fetch-npm-3.0.3-2c4966d142-af5ab2552a.zip +0 -0
  346. package/.yarn/cache/minipass-flush-npm-1.0.5-efe79d9826-56269a0b22.zip +0 -0
  347. package/.yarn/cache/minipass-json-stream-npm-1.0.1-96490706d6-791b696a27.zip +0 -0
  348. package/.yarn/cache/minipass-npm-3.3.6-b8d93a945b-a30d083c80.zip +0 -0
  349. package/.yarn/cache/minipass-npm-5.0.0-c64fb63c92-425dab2887.zip +0 -0
  350. package/.yarn/cache/minipass-npm-7.0.2-baa42a5a34-46776de732.zip +0 -0
  351. package/.yarn/cache/minipass-pipeline-npm-1.2.4-5924cb077f-b14240dac0.zip +0 -0
  352. package/.yarn/cache/minipass-sized-npm-1.0.3-306d86f432-79076749fc.zip +0 -0
  353. package/.yarn/cache/minizlib-npm-2.1.2-ea89cd0cfb-f1fdeac0b0.zip +0 -0
  354. package/.yarn/cache/mkdirp-npm-1.0.4-37f6ef56b9-a96865108c.zip +0 -0
  355. package/.yarn/cache/ms-npm-2.1.2-ec0c1512ff-673cdb2c31.zip +0 -0
  356. package/.yarn/cache/ms-npm-2.1.3-81ff3cfac1-aa92de6080.zip +0 -0
  357. package/.yarn/cache/mute-stream-npm-1.0.0-b6e846d471-36fc968b0e.zip +0 -0
  358. package/.yarn/cache/natural-compare-npm-1.4.0-97b75b362d-23ad088b08.zip +0 -0
  359. package/.yarn/cache/negotiator-npm-0.6.3-9d50e36171-b8ffeb1e26.zip +0 -0
  360. package/.yarn/cache/node-gyp-npm-9.4.0-ebf5f5573e-78b404e2e0.zip +0 -0
  361. package/.yarn/cache/node-int64-npm-0.4.0-0dc04ec3b2-d0b30b1ee6.zip +0 -0
  362. package/.yarn/cache/node-releases-npm-2.0.13-1f2e177887-17ec8f315d.zip +0 -0
  363. package/.yarn/cache/nopt-npm-6.0.0-5ea8050815-82149371f8.zip +0 -0
  364. package/.yarn/cache/nopt-npm-7.2.0-dd734b678d-a9c0f57fb8.zip +0 -0
  365. package/.yarn/cache/normalize-package-data-npm-5.0.0-6327e2af68-a459f05eaf.zip +0 -0
  366. package/.yarn/cache/normalize-path-npm-3.0.0-658ba7d77f-88eeb4da89.zip +0 -0
  367. package/.yarn/cache/npm-audit-report-npm-5.0.0-b0af56272d-a18f16f514.zip +0 -0
  368. package/.yarn/cache/npm-bundled-npm-3.0.0-0b3c5ee4f3-110859c2d6.zip +0 -0
  369. package/.yarn/cache/npm-install-checks-npm-6.1.1-e05db36ccf-8fb3ed05cf.zip +0 -0
  370. package/.yarn/cache/npm-normalize-package-bin-npm-3.0.1-6c120b50f7-de416d720a.zip +0 -0
  371. package/.yarn/cache/npm-npm-9.8.1-c06ac946c2-d3f12cd0c0.zip +0 -0
  372. package/.yarn/cache/npm-package-arg-npm-10.1.0-e9f0aaa69d-8fe4b6a742.zip +0 -0
  373. package/.yarn/cache/npm-packlist-npm-7.0.4-1c0b919056-5ffa1f8f0b.zip +0 -0
  374. package/.yarn/cache/npm-pick-manifest-npm-8.0.2-ec194cb513-c9f71b5735.zip +0 -0
  375. package/.yarn/cache/npm-profile-npm-7.0.1-73c58f96b1-c78d2e6394.zip +0 -0
  376. package/.yarn/cache/npm-registry-fetch-npm-14.0.5-6b3e6c0dd0-c636496429.zip +0 -0
  377. package/.yarn/cache/npm-run-path-npm-4.0.1-7aebd8bab3-5374c0cea4.zip +0 -0
  378. package/.yarn/cache/npm-user-validate-npm-2.0.0-2fa10ebf8a-52c0c64cb2.zip +0 -0
  379. package/.yarn/cache/npmlog-npm-6.0.2-e0e69455c7-ae238cd264.zip +0 -0
  380. package/.yarn/cache/npmlog-npm-7.0.1-a0f355f530-caabeb1f55.zip +0 -0
  381. package/.yarn/cache/once-npm-1.4.0-ccf03ef07a-cd0a885013.zip +0 -0
  382. package/.yarn/cache/onetime-npm-5.1.2-3ed148fa42-2478859ef8.zip +0 -0
  383. package/.yarn/cache/p-limit-npm-2.3.0-94a0310039-84ff17f1a3.zip +0 -0
  384. package/.yarn/cache/p-limit-npm-3.1.0-05d2ede37f-7c3690c4db.zip +0 -0
  385. package/.yarn/cache/p-locate-npm-4.1.0-eec6872537-513bd14a45.zip +0 -0
  386. package/.yarn/cache/p-map-npm-4.0.0-4677ae07c7-cb0ab21ec0.zip +0 -0
  387. package/.yarn/cache/p-try-npm-2.2.0-e0390dbaf8-f8a8e9a769.zip +0 -0
  388. package/.yarn/cache/pacote-npm-15.2.0-b9ed3321e9-c731572be2.zip +0 -0
  389. package/.yarn/cache/parse-conflict-json-npm-3.0.1-9455a1ad04-d8d2656bc0.zip +0 -0
  390. package/.yarn/cache/parse-json-npm-5.2.0-00a63b1199-62085b17d6.zip +0 -0
  391. package/.yarn/cache/path-exists-npm-4.0.0-e9e4f63eb0-505807199d.zip +0 -0
  392. package/.yarn/cache/path-is-absolute-npm-1.0.1-31bc695ffd-060840f92c.zip +0 -0
  393. package/.yarn/cache/path-key-npm-3.1.1-0e66ea8321-55cd7a9dd4.zip +0 -0
  394. package/.yarn/cache/path-parse-npm-1.0.7-09564527b7-49abf3d811.zip +0 -0
  395. package/.yarn/cache/path-scurry-npm-1.10.1-52bd946f2e-e2557cff3a.zip +0 -0
  396. package/.yarn/cache/picocolors-npm-1.0.0-d81e0b1927-a2e8092dd8.zip +0 -0
  397. package/.yarn/cache/picomatch-npm-2.3.1-c782cfd986-050c865ce8.zip +0 -0
  398. package/.yarn/cache/pirates-npm-4.0.6-a8ec571a43-46a65fefaf.zip +0 -0
  399. package/.yarn/cache/pkg-dir-npm-4.2.0-2b5d0a8d32-9863e3f351.zip +0 -0
  400. package/.yarn/cache/postcss-selector-parser-npm-6.0.13-f732d92326-f89163338a.zip +0 -0
  401. package/.yarn/cache/pretty-format-npm-29.6.2-7f39471065-a0f972a44f.zip +0 -0
  402. package/.yarn/cache/proc-log-npm-3.0.0-a8c21c2f0f-02b64e1b39.zip +0 -0
  403. package/.yarn/cache/process-npm-0.11.10-aeb3b641ae-bfcce49814.zip +0 -0
  404. package/.yarn/cache/promise-all-reject-late-npm-1.0.1-19ba0dce9c-d7d61ac412.zip +0 -0
  405. package/.yarn/cache/promise-call-limit-npm-1.0.2-2a84fbc485-d0664dd295.zip +0 -0
  406. package/.yarn/cache/promise-inflight-npm-1.0.1-5bb925afac-2274948309.zip +0 -0
  407. package/.yarn/cache/promise-retry-npm-2.0.1-871f0b01b7-f96a3f6d90.zip +0 -0
  408. package/.yarn/cache/prompts-npm-2.4.2-f5d25d5eea-d8fd1fe638.zip +0 -0
  409. package/.yarn/cache/promzard-npm-1.0.0-a0d17e2d53-c069488271.zip +0 -0
  410. package/.yarn/cache/pure-rand-npm-6.0.2-5d375bc0a6-79de33876a.zip +0 -0
  411. package/.yarn/cache/qrcode-terminal-npm-0.12.0-f81f8a6a67-51638d11d0.zip +0 -0
  412. package/.yarn/cache/react-is-npm-18.2.0-0cc5edb910-e72d0ba81b.zip +0 -0
  413. package/.yarn/cache/read-cmd-shim-npm-4.0.0-2339b15fb0-2fb5a8a389.zip +0 -0
  414. package/.yarn/cache/read-npm-2.1.0-0e0cb8a375-e745999138.zip +0 -0
  415. package/.yarn/cache/read-package-json-fast-npm-3.0.2-1232471a07-8d406869f0.zip +0 -0
  416. package/.yarn/cache/read-package-json-npm-6.0.4-bf5c705b94-ce40c46712.zip +0 -0
  417. package/.yarn/cache/readable-stream-npm-3.6.2-d2a6069158-bdcbe6c22e.zip +0 -0
  418. package/.yarn/cache/readable-stream-npm-4.4.2-ac0d67d9ca-6f4063763d.zip +0 -0
  419. package/.yarn/cache/require-directory-npm-2.1.1-8608aee50b-fb47e70bf0.zip +0 -0
  420. package/.yarn/cache/resolve-cwd-npm-3.0.0-e6f4e296bf-546e081601.zip +0 -0
  421. package/.yarn/cache/resolve-from-npm-5.0.0-15c9db4d33-4ceeb9113e.zip +0 -0
  422. package/.yarn/cache/resolve-npm-1.22.2-9d9621a4ae-7e5df75796.zip +0 -0
  423. package/.yarn/cache/resolve-patch-f4c4056507-66cc788f13.zip +0 -0
  424. package/.yarn/cache/resolve.exports-npm-2.0.2-f59b42bbe5-1c7778ca1b.zip +0 -0
  425. package/.yarn/cache/retry-npm-0.12.0-72ac7fb4cc-623bd7d2e5.zip +0 -0
  426. package/.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-87f4164e39.zip +0 -0
  427. package/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip +0 -0
  428. package/.yarn/cache/safer-buffer-npm-2.1.2-8d5c0b705e-cab8f25ae6.zip +0 -0
  429. package/.yarn/cache/semver-npm-6.3.1-bcba31fdbe-ae47d06de2.zip +0 -0
  430. package/.yarn/cache/semver-npm-7.5.4-c4ad957fcd-12d8ad952f.zip +0 -0
  431. package/.yarn/cache/set-blocking-npm-2.0.0-49e2cffa24-6e65a05f7c.zip +0 -0
  432. package/.yarn/cache/shebang-command-npm-2.0.0-eb2b01921d-6b52fe8727.zip +0 -0
  433. package/.yarn/cache/shebang-regex-npm-3.0.0-899a0cd65e-1a2bcae50d.zip +0 -0
  434. package/.yarn/cache/signal-exit-npm-3.0.7-bd270458a3-a2f098f247.zip +0 -0
  435. package/.yarn/cache/signal-exit-npm-4.1.0-61fb957687-64c757b498.zip +0 -0
  436. package/.yarn/cache/sigstore-npm-1.8.0-c7dd60d00a-9886278224.zip +0 -0
  437. package/.yarn/cache/sisteransi-npm-1.0.5-af60cc0cfa-aba6438f46.zip +0 -0
  438. package/.yarn/cache/slash-npm-3.0.0-b87de2279a-94a93fff61.zip +0 -0
  439. package/.yarn/cache/smart-buffer-npm-4.2.0-5ac3f668bb-b5167a7142.zip +0 -0
  440. package/.yarn/cache/socks-npm-2.7.1-17f2b53052-259d9e3e8e.zip +0 -0
  441. package/.yarn/cache/socks-proxy-agent-npm-7.0.0-7aacf32ea0-7205543701.zip +0 -0
  442. package/.yarn/cache/source-map-npm-0.6.1-1a3621db16-59ce8640cf.zip +0 -0
  443. package/.yarn/cache/source-map-support-npm-0.5.13-377dfd7321-933550047b.zip +0 -0
  444. package/.yarn/cache/spdx-correct-npm-3.2.0-ffae008484-e9ae98d22f.zip +0 -0
  445. package/.yarn/cache/spdx-exceptions-npm-2.3.0-2b68dad75a-cb69a26fa3.zip +0 -0
  446. package/.yarn/cache/spdx-expression-parse-npm-3.0.1-b718cbb35a-a1c6e104a2.zip +0 -0
  447. package/.yarn/cache/spdx-license-ids-npm-3.0.13-928dd45e3f-3469d85c65.zip +0 -0
  448. package/.yarn/cache/sprintf-js-npm-1.0.3-73f0a322fa-19d79aec21.zip +0 -0
  449. package/.yarn/cache/ssri-npm-10.0.4-f583dafaf3-fb14da9f8a.zip +0 -0
  450. package/.yarn/cache/stack-utils-npm-2.0.6-2be1099696-052bf4d25b.zip +0 -0
  451. package/.yarn/cache/string-length-npm-4.0.2-675173c7a2-ce85533ef5.zip +0 -0
  452. package/.yarn/cache/string-width-npm-4.2.3-2c27177bae-e52c10dc3f.zip +0 -0
  453. package/.yarn/cache/string-width-npm-5.1.2-bf60531341-7369deaa29.zip +0 -0
  454. package/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip +0 -0
  455. package/.yarn/cache/strip-ansi-npm-6.0.1-caddc7cb40-f3cd25890a.zip +0 -0
  456. package/.yarn/cache/strip-ansi-npm-7.1.0-7453b80b79-859c73fcf2.zip +0 -0
  457. package/.yarn/cache/strip-bom-npm-4.0.0-97d367a64d-9dbcfbaf50.zip +0 -0
  458. package/.yarn/cache/strip-final-newline-npm-2.0.0-340c4f7c66-69412b5e25.zip +0 -0
  459. package/.yarn/cache/strip-json-comments-npm-3.1.1-dcb2324823-492f73e272.zip +0 -0
  460. package/.yarn/cache/supports-color-npm-5.5.0-183ac537bc-95f6f4ba5a.zip +0 -0
  461. package/.yarn/cache/supports-color-npm-7.2.0-606bfcf7da-3dda818de0.zip +0 -0
  462. package/.yarn/cache/supports-color-npm-8.1.1-289e937149-c052193a7e.zip +0 -0
  463. package/.yarn/cache/supports-color-npm-9.4.0-a415f39758-cb8ff8daea.zip +0 -0
  464. package/.yarn/cache/supports-preserve-symlinks-flag-npm-1.0.0-f17c4d0028-53b1e247e6.zip +0 -0
  465. package/.yarn/cache/tar-npm-6.1.15-44c3e71720-f23832fcee.zip +0 -0
  466. package/.yarn/cache/test-exclude-npm-6.0.0-3fb03d69df-3b34a3d771.zip +0 -0
  467. package/.yarn/cache/text-table-npm-0.2.0-d92a778b59-b6937a38c8.zip +0 -0
  468. package/.yarn/cache/tiny-relative-date-npm-1.3.0-4737b1ee94-82a1fa2f3b.zip +0 -0
  469. package/.yarn/cache/tmpl-npm-1.0.5-d399ba37e2-cd922d9b85.zip +0 -0
  470. package/.yarn/cache/to-fast-properties-npm-2.0.0-0dc60cc481-be2de62fe5.zip +0 -0
  471. package/.yarn/cache/to-regex-range-npm-5.0.1-f1e8263b00-f76fa01b3d.zip +0 -0
  472. package/.yarn/cache/treeverse-npm-3.0.0-6c6d119afd-73168d9887.zip +0 -0
  473. package/.yarn/cache/ts-jest-npm-29.1.1-04e888e48e-a8c9e284ed.zip +0 -0
  474. package/.yarn/cache/tuf-js-npm-1.1.7-045f70823d-089fc0dabe.zip +0 -0
  475. package/.yarn/cache/type-detect-npm-4.0.8-8d8127b901-62b5628bff.zip +0 -0
  476. package/.yarn/cache/type-fest-npm-0.21.3-5ff2a9c6fd-e6b32a3b38.zip +0 -0
  477. package/.yarn/cache/typescript-npm-5.1.6-b157762de3-b2f2c35096.zip +0 -0
  478. package/.yarn/cache/typescript-patch-bd21d74a9d-f53bfe97f7.zip +0 -0
  479. package/.yarn/cache/unique-filename-npm-3.0.0-77d68e0a45-8e2f59b356.zip +0 -0
  480. package/.yarn/cache/unique-slug-npm-4.0.0-e6b08f28aa-0884b58365.zip +0 -0
  481. package/.yarn/cache/update-browserslist-db-npm-1.0.11-2c8e64258f-b98327518f.zip +0 -0
  482. package/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip +0 -0
  483. package/.yarn/cache/v8-to-istanbul-npm-9.1.0-04cd324682-2069d59ee4.zip +0 -0
  484. package/.yarn/cache/validate-npm-package-license-npm-3.0.4-7af8adc7a8-35703ac889.zip +0 -0
  485. package/.yarn/cache/validate-npm-package-name-npm-5.0.0-fc061c1b84-5342a99498.zip +0 -0
  486. package/.yarn/cache/walk-up-path-npm-3.0.1-67ab100d5d-9ffca02fe3.zip +0 -0
  487. package/.yarn/cache/walker-npm-1.0.8-b0a05b9478-ad7a257ea1.zip +0 -0
  488. package/.yarn/cache/wcwidth-npm-1.0.1-05fa596453-814e9d1ddc.zip +0 -0
  489. package/.yarn/cache/which-npm-2.0.2-320ddf72f7-1a5c563d3c.zip +0 -0
  490. package/.yarn/cache/which-npm-3.0.1-b2b0f09ace-adf720fe9d.zip +0 -0
  491. package/.yarn/cache/wide-align-npm-1.1.5-889d77e592-d5fc37cd56.zip +0 -0
  492. package/.yarn/cache/wrap-ansi-npm-7.0.0-ad6e1a0554-a790b846fd.zip +0 -0
  493. package/.yarn/cache/wrap-ansi-npm-8.1.0-26a4e6ae28-371733296d.zip +0 -0
  494. package/.yarn/cache/wrappy-npm-1.0.2-916de4d4b3-159da4805f.zip +0 -0
  495. package/.yarn/cache/write-file-atomic-npm-4.0.2-661baae4aa-5da60bd4ee.zip +0 -0
  496. package/.yarn/cache/write-file-atomic-npm-5.0.1-52283db6ee-8dbb0e2512.zip +0 -0
  497. package/.yarn/cache/y18n-npm-5.0.8-5f3a0a7e62-54f0fb9562.zip +0 -0
  498. package/.yarn/cache/yallist-npm-3.1.1-a568a556b4-48f7bb00dc.zip +0 -0
  499. package/.yarn/cache/yallist-npm-4.0.0-b493d9e907-343617202a.zip +0 -0
  500. package/.yarn/cache/yargs-npm-17.7.2-80b62638e1-73b572e863.zip +0 -0
  501. package/.yarn/cache/yargs-parser-npm-21.1.1-8fdc003314-ed2d96a616.zip +0 -0
  502. package/.yarn/cache/yocto-queue-npm-0.1.0-c6c9a7db29-f77b3d8d00.zip +0 -0
  503. package/.yarn/install-state.gz +0 -0
  504. package/README.md +1 -1
  505. package/coverage/base.css +223 -0
  506. package/coverage/block-navigation.js +79 -0
  507. package/coverage/index.html +123 -0
  508. package/coverage/prettify.css +1 -0
  509. package/coverage/prettify.js +2 -0
  510. package/coverage/sort-arrow-sprite.png +0 -0
  511. package/coverage/sorter.js +170 -0
  512. package/coverage/src/api-client.js.html +549 -0
  513. package/coverage/src/content-fetch.js.html +336 -0
  514. package/coverage/src/index.html +123 -0
  515. package/coverage/src/methods/getContentItem.js.html +285 -0
  516. package/coverage/src/methods/getContentList.js.html +486 -0
  517. package/coverage/src/methods/getGallery.js.html +243 -0
  518. package/coverage/src/methods/getPage.js.html +273 -0
  519. package/coverage/src/methods/getSitemapFlat.js.html +240 -0
  520. package/coverage/src/methods/getSitemapNested.js.html +231 -0
  521. package/coverage/src/methods/getSyncContent.js.html +258 -0
  522. package/coverage/src/methods/getSyncPages.js.html +258 -0
  523. package/coverage/src/methods/getUrlRedirections.js.html +339 -0
  524. package/coverage/src/methods/index.html +201 -0
  525. package/coverage/src/methods/syncContentItems.js.html +186 -0
  526. package/coverage/src/methods/syncPageItems.js.html +186 -0
  527. package/coverage/src/types/FilterLogicOperator.js.html +129 -0
  528. package/coverage/src/types/FilterOperator.js.html +156 -0
  529. package/coverage/src/types/SortDirection.js.html +129 -0
  530. package/coverage/src/types/index.html +123 -0
  531. package/coverage/src/utils.js.html +330 -0
  532. package/dist/agility-content-fetch.browser.js +1 -1
  533. package/dist/agility-content-fetch.node.js +1 -0
  534. package/dist/api-client.d.ts +46 -0
  535. package/dist/api-client.js +316 -0
  536. package/dist/index.d.ts +11 -0
  537. package/dist/index.js +7 -0
  538. package/dist/methods/getContentItem.d.ts +42 -0
  539. package/dist/methods/getContentItem.js +49 -0
  540. package/dist/methods/getContentList.d.ts +78 -0
  541. package/dist/methods/getContentList.js +94 -0
  542. package/dist/methods/getGallery.d.ts +33 -0
  543. package/dist/methods/getGallery.js +39 -0
  544. package/dist/methods/getPage.d.ts +41 -0
  545. package/dist/methods/getPage.js +47 -0
  546. package/{src/methods/getSitemapFlat.js → dist/methods/getSitemapFlat.d.ts} +11 -32
  547. package/dist/methods/getSitemapFlat.js +26 -0
  548. package/{src/methods/getSitemapNested.js → dist/methods/getSitemapNested.d.ts} +11 -29
  549. package/dist/methods/getSitemapNested.js +23 -0
  550. package/{src/methods/getSyncContent.js → dist/methods/getSyncContent.d.ts} +13 -33
  551. package/dist/methods/getSyncContent.js +26 -0
  552. package/{src/methods/getSyncPages.js → dist/methods/getSyncPages.d.ts} +13 -33
  553. package/dist/methods/getSyncPages.js +26 -0
  554. package/dist/methods/getUrlRedirections.d.ts +35 -0
  555. package/dist/methods/getUrlRedirections.js +50 -0
  556. package/dist/types/Client.d.ts +5 -0
  557. package/dist/types/Client.js +2 -0
  558. package/dist/types/Config.d.ts +15 -0
  559. package/dist/types/Config.js +2 -0
  560. package/dist/types/ContentItem.d.ts +19 -0
  561. package/dist/types/ContentItem.js +2 -0
  562. package/dist/types/ContentList.d.ts +12 -0
  563. package/dist/types/ContentList.js +9 -0
  564. package/dist/types/ContentZone.d.ts +12 -0
  565. package/dist/types/ContentZone.js +2 -0
  566. package/dist/types/EnvConfig.d.ts +6 -0
  567. package/dist/types/EnvConfig.js +2 -0
  568. package/dist/types/Filter.d.ts +14 -0
  569. package/{src → dist}/types/Filter.js +10 -13
  570. package/{src/types/FilterLogicOperator.js → dist/types/FilterLogicOperator.d.ts} +17 -21
  571. package/dist/types/FilterLogicOperator.js +13 -0
  572. package/dist/types/FilterOperator.d.ts +28 -0
  573. package/{src → dist}/types/FilterOperator.js +30 -30
  574. package/dist/types/Gallery.d.ts +21 -0
  575. package/dist/types/Gallery.js +12 -0
  576. package/dist/types/MediaItem.d.ts +22 -0
  577. package/dist/types/MediaItem.js +13 -0
  578. package/dist/types/MediaItemMetaData.d.ts +17 -0
  579. package/dist/types/MediaItemMetaData.js +12 -0
  580. package/dist/types/Page.d.ts +38 -0
  581. package/dist/types/Page.js +20 -0
  582. package/dist/types/SEO.d.ts +16 -0
  583. package/dist/types/SEO.js +11 -0
  584. package/dist/types/SitemapFlat.d.ts +9 -0
  585. package/dist/types/SitemapFlat.js +10 -0
  586. package/dist/types/SitemapFlatItem.d.ts +29 -0
  587. package/dist/types/SitemapFlatItem.js +17 -0
  588. package/dist/types/SitemapNested.d.ts +7 -0
  589. package/dist/types/SitemapNested.js +7 -0
  590. package/dist/types/SitemapNestedItem.d.ts +30 -0
  591. package/dist/types/SitemapNestedItem.js +2 -0
  592. package/dist/types/SitemapVisibility.d.ts +11 -0
  593. package/dist/types/SitemapVisibility.js +9 -0
  594. package/{src/types/SortDirection.js → dist/types/SortDirection.d.ts} +17 -21
  595. package/dist/types/SortDirection.js +13 -0
  596. package/dist/types/SyncContent.d.ts +12 -0
  597. package/dist/types/SyncContent.js +9 -0
  598. package/dist/types/SyncPages.d.ts +12 -0
  599. package/dist/types/SyncPages.js +9 -0
  600. package/dist/types/SystemProperties.d.ts +15 -0
  601. package/dist/types/SystemProperties.js +11 -0
  602. package/dist/types/UrlRedirection.d.ts +15 -0
  603. package/dist/types/UrlRedirection.js +11 -0
  604. package/dist/types/UrlRedirectionResponse.d.ts +12 -0
  605. package/dist/types/UrlRedirectionResponse.js +9 -0
  606. package/dist/types/index.d.ts +3 -0
  607. package/dist/types/index.js +10 -0
  608. package/dist/utils.d.ts +7 -0
  609. package/dist/utils.js +81 -0
  610. package/jest.config.js +6 -0
  611. package/package.json +33 -32
  612. package/test/{apiClients.config.js → apiClients.config.ts} +13 -16
  613. package/test/{getApi.tests.js → getApi.tests.ts} +42 -74
  614. package/test/getContentItem.tests.ts +103 -0
  615. package/test/getContentList.tests.ts +251 -0
  616. package/test/getGallery.tests.ts +22 -0
  617. package/test/getPage.tests.ts +39 -0
  618. package/test/getSitemapFlat.tests.ts +30 -0
  619. package/test/getSitemapNested.tests.ts +30 -0
  620. package/test/getSyncContentItems.tests.ts +25 -0
  621. package/test/getSyncPageItems.tests.ts +27 -0
  622. package/test/getUrlRedirections.tests.ts +40 -0
  623. package/tsconfig.json +15 -0
  624. package/.babelrc +0 -7
  625. package/.vscode/launch.json +0 -35
  626. package/src/api-client.js +0 -161
  627. package/src/content-fetch.js +0 -90
  628. package/src/methods/getContentItem.js +0 -72
  629. package/src/methods/getContentList.js +0 -140
  630. package/src/methods/getGallery.js +0 -59
  631. package/src/methods/getPage.js +0 -69
  632. package/src/methods/getUrlRedirections.js +0 -91
  633. package/src/types/ContentItem.js +0 -10
  634. package/src/types/ContentList.js +0 -8
  635. package/src/types/ContentZone.js +0 -8
  636. package/src/types/Gallery.js +0 -11
  637. package/src/types/MediaItem.js +0 -12
  638. package/src/types/MediaItemMetaData.js +0 -11
  639. package/src/types/Page.js +0 -19
  640. package/src/types/SitemapFlat.js +0 -6
  641. package/src/types/SitemapFlatItem.js +0 -15
  642. package/src/types/SitemapNested.js +0 -6
  643. package/src/types/SitemapNestedItem.js +0 -15
  644. package/src/types/SitemapVisibility.js +0 -8
  645. package/src/types/SyncContent.js +0 -8
  646. package/src/types/SyncPages.js +0 -8
  647. package/src/types/SystemProperties.js +0 -10
  648. package/src/types/UrlRedirection.js +0 -11
  649. package/src/types/UrlRedirectionResponse.js +0 -9
  650. package/src/utils.js +0 -88
  651. package/test/getContentItem.tests.js +0 -200
  652. package/test/getContentList.tests.js +0 -371
  653. package/test/getGallery.tests.js +0 -33
  654. package/test/getPage.tests.js +0 -93
  655. package/test/getSitemapFlat.tests.js +0 -73
  656. package/test/getSitemapNested.tests.js +0 -73
  657. package/test/getSyncContentItems.tests.js +0 -44
  658. package/test/getSyncPageItems.tests.js +0 -45
  659. package/test/getUrlRedirections.tests.js +0 -60
  660. package/webpack.config.js +0 -58
package/src/api-client.js DELETED
@@ -1,161 +0,0 @@
1
- import axios from 'axios'
2
- import { setupCache } from 'axios-cache-adapter'
3
- import getSitemapFlat from './methods/getSitemapFlat'
4
- import getSitemapNested from './methods/getSitemapNested'
5
- import getContentItem from './methods/getContentItem'
6
- import getContentList from './methods/getContentList'
7
- import getPage from './methods/getPage'
8
- import getGallery from './methods/getGallery'
9
- import getUrlRedirections from './methods/getUrlRedirections'
10
-
11
- import getSyncContent from './methods/getSyncContent'
12
- import getSyncPages from './methods/getSyncPages'
13
-
14
- import FilterOperators from './types/FilterOperator'
15
- import FilterLogicOperators from './types/FilterLogicOperator'
16
- import SortDirections from './types/SortDirection'
17
- import { logError, logDebug } from './utils'
18
-
19
- const defaultConfig = {
20
- baseUrl: null,
21
- isPreview: false,
22
- guid: null,
23
- apiKey: null,
24
- locale: null,
25
- headers: {},
26
- requiresGuidInHeaders: false,
27
- debug: false,
28
- caching: {
29
- maxAge: 0 //caching disabled by default
30
- }
31
- };
32
-
33
- function buildEnvConfig() {
34
- let envConfig = {};
35
-
36
- if (process && process.env) {
37
- let env = process.env;
38
- if (env.hasOwnProperty('AGILITY_BASEURL')) {
39
- envConfig.baseUrl = env.AGILITY_BASEURL;
40
- }
41
- if (env.hasOwnProperty('AGILITY_GUID')) {
42
- envConfig.guid = env.AGILITY_GUID;
43
- }
44
- if (env.hasOwnProperty('AGILITY_APIKEY')) {
45
- envConfig.apiKey = env.AGILITY_APIKEY;
46
- }
47
- if (env.hasOwnProperty('AGILITY_ISPREVIEW')){
48
- envConfig.isPreview = env.AGILITY_ISPREVIEW;
49
- }
50
- }
51
-
52
- return envConfig;
53
- }
54
-
55
- function buildBaseUrl(guid) {
56
-
57
- let baseUrlSuffixes = {
58
- u: '',
59
- c: '-ca',
60
- e: '-eu',
61
- d: '-dev'
62
- }
63
-
64
- let suffix = guid.substr(guid.length - 2, 2);
65
- let env = suffix.substr(1);
66
- // New format of guid
67
- if (suffix.startsWith('-') && baseUrlSuffixes.hasOwnProperty(env)) {
68
- return `https://api${baseUrlSuffixes[env]}.aglty.io/${guid}`
69
- }
70
- else {
71
- //use default url
72
- return `https://${guid}-api.agilitycms.cloud`;
73
- }
74
- }
75
-
76
- export default function createClient(userConfig) {
77
-
78
- let envConfig = buildEnvConfig();
79
-
80
- //merge our config - user values will override our defaults
81
- let config = {
82
- ...defaultConfig,
83
- ...envConfig,
84
- ...userConfig
85
- };
86
-
87
- //compute the base Url
88
- if (!config.baseUrl) {
89
- config.baseUrl = buildBaseUrl(config.guid);
90
- } else {
91
- //we are using a custom url, make sure we include the guid in the headers
92
- config.requiresGuidInHeaders = true;
93
- }
94
-
95
- let adapter = null;
96
-
97
- //should we turn on caching?
98
- if (config.caching.maxAge > 0) {
99
- const cache = setupCache({
100
- maxAge: config.caching.maxAge,
101
- exclude: { query: false }
102
- });
103
- adapter = cache.adapter;
104
- }
105
-
106
- let api = null;
107
-
108
- api = axios.create({
109
- adapter: adapter,
110
- })
111
-
112
- //the function that actually makes ALL our requests
113
- function makeRequest(reqConfig) {
114
-
115
- if (config.debug) {
116
- logDebug(`AgilityCMS Fetch API LOG: ${reqConfig.baseURL}${reqConfig.url}`);
117
- }
118
-
119
- //make the request using our axios instance
120
- return api(reqConfig).then(async (response) => {
121
-
122
- let data = response.data;
123
- //if our response is from cache, inject that property in the data response
124
- if (response.request.fromCache) {
125
- data['fromCache'] = true;
126
- }
127
-
128
- if (config.debug) {
129
- data['agilityResponseHeaders'] = response.headers;
130
- }
131
-
132
- return data;
133
-
134
-
135
- })
136
- .catch(async (error) => {
137
- logError(`AgilityCMS Fetch API ERROR: Request failed for ${reqConfig.baseURL}${reqConfig.url} ... ${error} ... Does the item exist?`)
138
- });
139
- }
140
-
141
- //export only these properties:
142
- return {
143
- config: config,
144
- makeRequest,
145
- getSitemapFlat,
146
- getSitemapNested,
147
- getContentItem,
148
- getContentList,
149
- getPage,
150
- getGallery,
151
- getSyncContent,
152
- getSyncPages,
153
- getUrlRedirections,
154
- types: {
155
- FilterOperators: FilterOperators,
156
- FilterLogicOperators: FilterLogicOperators,
157
- SortDirections: SortDirections
158
- }
159
- }
160
-
161
- }
@@ -1,90 +0,0 @@
1
- /**
2
- * Agility Fetch API JS SDK for retrieving content from the Agility CMS
3
- * @namespace AgilityFetch
4
- */
5
-
6
- /**
7
- * Agility Fetch API JS SDK client for Agility CMS
8
- * @namespace AgilityFetch.Client
9
- */
10
-
11
-
12
- /**
13
- * Agility Fetch API JS SDK for retrieving content from the Agility CMS
14
- * @namespace AgilityFetch.Client.Content
15
- */
16
-
17
- /**
18
- * Agility Fetch API JS SDK for retrieving pages from the Agility CMS
19
- * @namespace AgilityFetch.Client.Pages
20
- */
21
-
22
- /**
23
- * Agility Fetch API JS SDK for retrieving media from the Agility CMS
24
- * @namespace AgilityFetch.Client.Media
25
- */
26
-
27
-
28
- /**
29
- * Agility Fetch API JS SDK for synchronizing content from Agility CMS
30
- * @namespace AgilityFetch.Client.Sync
31
- */
32
-
33
-
34
- /**
35
- * Types returned by the the Fetch API
36
- * @namespace AgilityFetch.Types
37
- */
38
-
39
-
40
- import createClient from './api-client'
41
- import { isHttps } from './utils'
42
-
43
- /**
44
- * How to create an instance of an an API client for the Agility Content Fetch REST API.
45
- * @func
46
- * @name getApi
47
- * @memberof AgilityFetch
48
- * @param {Object} config - API intialization params.
49
- * @param {string} config.guid - The guid that represents your instance.
50
- * @param {string} config.apiKey - The secret token that represents your application.
51
- * @param {boolean} [config.isPreview] - If your access token is for preview, then set this to true.
52
- * @param {Object} [config.caching] - Optional Caching options. Caching is disabled by default.
53
- * @param {number} [config.caching.maxAge] - In miliseconds. Default value is *0* (disabled). Recommeded value is *180000* (3 mins). Requests are cached in memory only (node or browser).
54
- * @param {string} [config.baseUrl] - Optionally override the default API Base Url.
55
- * @return {AgilityFetch.Client}
56
- * @example
57
- *
58
- * import agility from '@agility/content-fetch'
59
- *
60
- * const api = agility.getApi({
61
- * guid: '191309ca-e675-4be2-bb29-351879528707',
62
- * apiKey: 'aGd13M.fa30c36e553a36f871860407e902da9a7375322457acd6bcda038e60af699411',
63
- * isPreview: false
64
- * });
65
- */
66
-
67
- function getApi(config) {
68
- validateConfigParams(config);
69
- return createClient(config);
70
- }
71
-
72
- function validateConfigParams(configParams) {
73
-
74
- if(!configParams.guid || configParams.guid.length == 0) {
75
- throw new TypeError('You must provide an guid.');
76
- } else if(!configParams.apiKey || configParams.apiKey.length == 0) {
77
- throw new TypeError('You must provide an access token.');
78
- } else if(configParams.caching && isNaN(configParams.caching.maxAge)) {
79
- throw new TypeError('When specifying a cache maxAge, you must set a number value in miliseconds, i.e. 180000 (3 mins).');
80
- } else if(configParams.baseUrl && !isHttps(configParams.baseUrl)) {
81
- throw new TypeError(`When specifying a baseUrl (${configParams.baseUrl}), it must be over HTTPs.`);
82
- } else {
83
- return;
84
- }
85
- }
86
-
87
-
88
- export default {
89
- getApi
90
- };
@@ -1,72 +0,0 @@
1
- import { buildRequestUrlPath, buildAuthHeader } from '../utils'
2
-
3
- /**
4
- * Gets the details of a content item by their Content ID.
5
- * @memberof AgilityFetch.Client.Content
6
- * @param {Object} requestParams - The paramters for the API request.
7
- * @param {number} requestParams.contentID - The contentID of the requested item in this language.
8
- * @param {string} requestParams.locale - The locale code of the content you want to retrieve.
9
- * @param {string} requestParams.languageCode DEPRECATED: Use locale instead - The language code of the content you want to retrieve.
10
- * @param {number} [requestParams.contentLinkDepth] - The depth, representing the levels in which you want linked content auto-resolved. Default is **1**.
11
- * @param {boolean} [requestParams.expandAllContentLinks] - Whether or not to expand entire linked content references, includings lists and items that are rendered in the CMS as Grid or Link. Default is **false**
12
- * @returns {Promise<AgilityFetch.Types.ContentItem>} - Returns a content item object.
13
- * @example
14
- *
15
- * import agility from '@agility/content-fetch'
16
- *
17
- * const api = agility.getApi({
18
- * guid: 'ade6cf3c',
19
- * apiKey: 'defaultlive.201ffdd0841cacad5bb647e76547e918b0c9ecdb8b5ddb3cf92e9a79b03623cb',
20
- * });
21
- *
22
- * api.getContentItem({
23
- * contentID: 22,
24
- * locale: 'en-us'
25
- * })
26
- * .then(function(contentItem) {
27
- * console.log(contentItem);
28
- * })
29
- * .catch(function(error) {
30
- * console.log(error);
31
- * });
32
- *
33
- */
34
- function getContentItem(requestParams) {
35
-
36
- validateRequestParams(requestParams);
37
-
38
- //merge default params with request params
39
- requestParams = {...defaultParams, ...requestParams};
40
-
41
- const req = {
42
- url: `/item/${requestParams.contentID}?contentLinkDepth=${requestParams.contentLinkDepth}&expandAllContentLinks=${requestParams.expandAllContentLinks}`,
43
- method: 'get',
44
- baseURL: buildRequestUrlPath(this.config, requestParams.locale ? requestParams.locale : requestParams.languageCode),
45
- headers: buildAuthHeader(this.config),
46
- params:{}
47
- };
48
-
49
- return this.makeRequest(req);
50
- }
51
-
52
- function validateRequestParams(requestParams) {
53
- if(!requestParams.languageCode && !requestParams.locale) {
54
- throw new TypeError('You must include a locale in your request params.')
55
- }
56
- else if(!requestParams.contentID) {
57
- throw new TypeError('You must include a contentID number in your request params.');
58
- } else if(requestParams.contentLinkDepth && (isNaN(requestParams.contentLinkDepth) || requestParams.contentLinkDepth < 0)) {
59
- throw new TypeError('When specifying contentLinkDepth, it must be a number greater than 0.');
60
- } else if(requestParams.expandAllContentLinks && typeof requestParams.expandAllContentLinks !== 'boolean') {
61
- throw new TypeError('ExpandAllContentLinks parameter must be a value of true or false');
62
- } else {
63
- return;
64
- }
65
- }
66
-
67
- const defaultParams = {
68
- contentLinkDepth: 1,
69
- expandAllContentLinks: false
70
- }
71
-
72
- export default getContentItem;
@@ -1,140 +0,0 @@
1
- import {buildPathUrl, buildRequestUrlPath, buildAuthHeader } from '../utils'
2
-
3
- /**
4
- * Retrieves a list of content items by reference name.
5
- * @memberof AgilityFetch.Client.Content
6
- * @param {Object} requestParams - The parameters for the API request.
7
- * @param {string} requestParams.referenceName - The unique reference name of the content list you wish to retrieve in the specified language.
8
- * @param {string} requestParams.locale - The locale code of the content you want to retrieve.
9
- * @param {string} requestParams.languageCode - DEPRECATED: Use locale instead - The language code of the content you want to retrieve.
10
- * @param {number} [requestParams.contentLinkDepth] - The depth, representing the levels in which you want linked content auto-resolved. Default is **1**.
11
- * @param {boolean} [requestParams.expandAllContentLinks] - Whether or not to expand entire linked content references, includings lists and items that are rendered in the CMS as Grid or Link. Default is **false**
12
- * @param {number} [requestParams.take] - The maximum number of items to retrieve in this request. Default is **10**. Maximum allowed is **250**.
13
- * @param {number} [requestParams.skip] - The number of items to skip from the list. Default is **0**. Used for implementing pagination.
14
- * @param {string} [requestParams.sort] - The field to sort the results by. Example **fields.title** or **properties.modified**.
15
- * @param {AgilityFetch.Types.SortDirection} [requestParams.direction] - The direction to sort the results by.
16
- * @param {Array.<AgilityFetch.Types.Filter>} [requestParams.filters] - The collection of filters to filter the results by.
17
- * @param {AgilityFetch.Types.FilterLogicOperator} [requestParams.filtersLogicOperator] - The logic operator to combine multiple filters.
18
- * @returns {Promise<AgilityFetch.Types.ContentList>} - Returns a list of content items.
19
- * @example
20
- *
21
- * import agility from '@agility/content-fetch'
22
- *
23
- * const api = agility.getApi({
24
- * guid: 'ade6cf3c',
25
- * apiKey: 'defaultlive.201ffdd0841cacad5bb647e76547e918b0c9ecdb8b5ddb3cf92e9a79b03623cb',
26
- * });
27
- *
28
- * api.getContentList({
29
- * referenceName: 'posts',
30
- * locale: 'en-us',
31
- * take: 50,
32
- * skip: 0,
33
- * sort: 'properties.modified',
34
- * direction: api.types.SortDirections.ASC
35
- * })
36
- * .then(function(contentList) {
37
- * console.log(contentList);
38
- * })
39
- * .catch(function(error) {
40
- * console.log(error);
41
- * });
42
- *
43
- * api.getContentList({
44
- * referenceName: 'posts',
45
- * locale: 'en-us',
46
- * take: 50,
47
- * skip: 0,
48
- * filters: [
49
- * {property: 'fields.title', operator: api.types.FilterOperators.EQUAL_TO, value: '"How this site works"'},
50
- * {property: 'fields.details', operator: api.types.FilterOperators.LIKE, value: '"Lorem ipsum dolar"'}
51
- * ],
52
- * filtersLogicOperator: api.types.FilterLogicOperators.OR
53
- * })
54
- * .then(function(contentList) {
55
- * console.log(contentList);
56
- * })
57
- * .catch(function(error) {
58
- * console.log(error);
59
- * });
60
- */
61
- function getContentList(requestParams) {
62
-
63
- validateRequestParams(requestParams);
64
-
65
- requestParams.referenceName = sanitizeReferenceName(requestParams.referenceName);
66
-
67
- //merge default params with request params
68
- requestParams = {...defaultParams, ...requestParams};
69
-
70
- const req = {
71
- url: buildPathUrl("list", requestParams.referenceName, requestParams.skip, requestParams.take, requestParams.sort, requestParams.direction, requestParams.filters, requestParams.filtersLogicOperator, requestParams.contentLinkDepth, requestParams.expandAllContentLinks),
72
- method: 'get',
73
- baseURL: buildRequestUrlPath(this.config, requestParams.locale ? requestParams.locale : requestParams.languageCode),
74
- headers: buildAuthHeader(this.config),
75
- params:{}
76
- };
77
-
78
- return this.makeRequest(req);
79
- }
80
-
81
- function sanitizeReferenceName(referenceName) {
82
- return referenceName.toLowerCase();
83
- }
84
-
85
- function validateRequestParams(requestParams) {
86
- if(!requestParams.languageCode && !requestParams.locale) {
87
- throw new TypeError('You must include a locale in your request params.')
88
- }
89
- else if(!requestParams.referenceName) {
90
- //must have a referenceName
91
- throw new TypeError('You must include a content referenceName in your request params.');
92
- } else if(requestParams.take && isNaN(requestParams.take)) {
93
- //take parameter must be a number
94
- throw new TypeError('Take parameter must be a number.')
95
- } else if((requestParams.take || requestParams.take == 0) && !isNaN(requestParams.take) && requestParams.take < 1) {
96
- //take parameter must be greater than 0
97
- throw new TypeError('Take parameter must be greater than 0.');
98
- } else if(requestParams.take && !isNaN(requestParams.take) && requestParams.take > 250) {
99
- //take parameter cannot be greater than 250
100
- throw new TypeError('Take parameter must be 250 or less.');
101
- } else if(requestParams.skip && isNaN(requestParams.skip)) {
102
- //skip parameter must be a number
103
- throw new TypeError('Skip parameter must be a number.');
104
- } else if(requestParams.skip && !isNaN(requestParams.skip) && requestParams.skip < 0) {
105
- //skip parameter must be a number greater than 0
106
- throw new TypeError('Skip parameter must be 0 or greater');
107
- } else if (requestParams.direction && (requestParams.direction !== 'desc' && requestParams.direction !== 'asc')){
108
- //check if the request direction parameter is valid
109
- throw new TypeError('Direction parameter must have a value of "asc" or "desc"');
110
- } else if (requestParams.filters && requestParams.filters.length > 0){
111
- //check if the request direction parameter is valid
112
- for(let i = 0; i < requestParams.filters.length; i++) {
113
- let filter = requestParams.filters[i];
114
- if (!filter.hasOwnProperty('property')) {
115
- throw new TypeError(JSON.stringify(filter) + " does not contain 'property'.");
116
- } else if (!filter.hasOwnProperty('operator')) {
117
- throw new TypeError(JSON.stringify(filter) + " does not contain 'operator'.");
118
- } else if (!filter.hasOwnProperty('value')) {
119
- throw new TypeError(JSON.stringify(filter) + " does not contain 'value'.");
120
- }
121
-
122
- if (['eq','ne','gt','gte','lt','lte','like'].indexOf(filter.operator.toLowerCase()) < 0) {
123
- throw new TypeError(JSON.stringify(filter) + "Operator must be one of ['eq','ne','gt','gte','lt','lte','like'].");
124
- }
125
- }
126
- } else if (requestParams.filtersLogicOperator && requestParams.filtersLogicOperator.toLowerCase() !== 'and' && requestParams.filtersLogicOperator.toLowerCase() !== 'or') {
127
- throw new TypeError('FiltersLogicOperator parameter must have a value of "AND" or "OR"');
128
- } else if(requestParams.expandAllContentLinks && typeof requestParams.expandAllContentLinks !== 'boolean') {
129
- throw new TypeError('ExpandAllContentLinks parameter must be a value of true or false');
130
- }
131
-
132
- return true;
133
- }
134
-
135
- const defaultParams = {
136
- contentLinkDepth: 1,
137
- expandAllContentLinks: false
138
- }
139
-
140
- export default getContentList;
@@ -1,59 +0,0 @@
1
- import { buildRequestUrlPath, buildAuthHeader } from '../utils'
2
-
3
- /**
4
- * Gets the details of a gallery by their Gallery ID.
5
- * @memberof AgilityFetch.Client.Media
6
- * @param {Object} requestParams - The parameters for the API request.
7
- * @param {number} requestParams.galleryID - The galleryID of the requested item in this language.
8
- * @returns {Promise<AgilityFetch.Types.Gallery>} - Returns a gallery object.
9
- * @example
10
- *
11
- * import agility from '@agility/content-fetch'
12
- *
13
- * const api = agility.getApi({
14
- * guid: 'ade6cf3c',
15
- * apiKey: 'defaultlive.201ffdd0841cacad5bb647e76547e918b0c9ecdb8b5ddb3cf92e9a79b03623cb',
16
- * });
17
- *
18
- * api.getGallery({
19
- * galleryID: 22
20
- * })
21
- * .then(function(gallery) {
22
- * console.log(gallery);
23
- * })
24
- * .catch(function(error) {
25
- * console.log(error);
26
- * });
27
- *
28
- */
29
- function getGallery(requestParams) {
30
-
31
- validateRequestParams(requestParams);
32
-
33
- //merge default params with request params
34
- requestParams = {...defaultParams, ...requestParams};
35
-
36
- const req = {
37
- url: `/${requestParams.galleryID}`,
38
- method: 'get',
39
- baseURL: buildRequestUrlPath(this.config, 'gallery'),
40
- headers: buildAuthHeader(this.config),
41
- params:{}
42
- };
43
-
44
- return this.makeRequest(req);
45
- }
46
-
47
- function validateRequestParams(requestParams) {
48
- if(!requestParams.galleryID) {
49
- throw new TypeError('You must include a galleryID number in your request params.');
50
- } else {
51
- return;
52
- }
53
- }
54
-
55
- const defaultParams = {
56
- contentLinkDepth: 1
57
- }
58
-
59
- export default getGallery;
@@ -1,69 +0,0 @@
1
- import { buildRequestUrlPath, buildAuthHeader } from '../utils'
2
-
3
- /**
4
- * Gets the details of a page by its Page ID.
5
- * @memberof AgilityFetch.Client.Pages
6
- * @param {Object} requestParams - The parameters for the API request.
7
- * @param {number} requestParams.pageID - The unique page ID of the page you wish to retrieve in the current language.
8
- * @param {string} requestParams.locale - The locale code of the content you want to retrieve.
9
- * @param {string} requestParams.languageCode - DEPRECATED: Use locale instead - The language code of the content you want to retrieve.
10
- * @param {boolean} [requestParams.expandAllContentLinks] - Whether or not to expand entire linked content references, includings lists and items that are rendered in the CMS as Grid or Link. Default is **false**
11
- * @param {number} [requestParams.contentLinkDepth] - The depth, representing the levels in which you want linked content auto-resolved. Default is **2**.
12
- * @returns {Promise<AgilityFetch.Types.Page>} - Returns a page item object.
13
- * @example
14
- *
15
- * import agility from '@agility/content-fetch'
16
- *
17
- * const api = agility.getApi({
18
- * guid: 'ade6cf3c',
19
- * apiKey: 'defaultlive.201ffdd0841cacad5bb647e76547e918b0c9ecdb8b5ddb3cf92e9a79b03623cb',
20
- * });
21
- *
22
- * api.getPage({
23
- * pageID: 1,
24
- * locale: 'en-us'
25
- * })
26
- * .then(function(page) {
27
- * console.log(page);
28
- * })
29
- * .catch(function(error) {
30
- * console.log(error);
31
- * });
32
- */
33
- function getPage(requestParams) {
34
-
35
- validateRequestParams(requestParams);
36
-
37
- //merge default params with request params
38
- requestParams = {...defaultParams, ...requestParams};
39
-
40
- const req = {
41
- url: `/page/${requestParams.pageID}?contentLinkDepth=${requestParams.contentLinkDepth}&expandAllContentLinks=${requestParams.expandAllContentLinks}`,
42
- method: 'get',
43
- baseURL: buildRequestUrlPath(this.config, requestParams.locale ? requestParams.locale : requestParams.languageCode),
44
- headers: buildAuthHeader(this.config),
45
- params:{}
46
- };
47
-
48
- return this.makeRequest(req);
49
- }
50
-
51
- function validateRequestParams(requestParams) {
52
- if(!requestParams.languageCode && !requestParams.locale) {
53
- throw new TypeError('You must include a locale in your request params.')
54
- } else if(!requestParams.pageID) {
55
- throw new TypeError('You must include a pageID in your request params.');
56
- } else if(requestParams.expandAllContentLinks && typeof requestParams.expandAllContentLinks !== 'boolean') {
57
- throw new TypeError('ExpandAllContentLinks parameter must be a value of true or false');
58
- } else {
59
- return;
60
- }
61
- }
62
-
63
- const defaultParams = {
64
- contentLinkDepth: 2,
65
- expandAllContentLinks: true
66
- }
67
-
68
-
69
- export default getPage;
@@ -1,91 +0,0 @@
1
- import { buildRequestUrlPath, buildAuthHeader } from '../utils'
2
-
3
- /**
4
- * Gets the details of a gallery by their Gallery ID.
5
- * @memberof AgilityFetch.Client.Pages
6
- * @param {Object} requestParams - The parameters for the API request.
7
- * @param {Date} [requestParams.lastAccessDate] - A Date object representing the last access date and time for the URL Redirections list. This value should be pulled from a previous request.
8
- * @returns {Promise<AgilityFetch.Types.Gallery>} - Returns a gallery object.
9
- * @example
10
- *
11
- * import agility from '@agility/content-fetch'
12
- *
13
- * const api = agility.getApi({
14
- * guid: 'ade6cf3c',
15
- * apiKey: 'defaultlive.201ffdd0841cacad5bb647e76547e918b0c9ecdb8b5ddb3cf92e9a79b03623cb',
16
- * });
17
- *
18
- * let dateObj = null;
19
- *
20
- * api.getUrlRedirections({
21
- * lastAccessDate: dateObj
22
- * })
23
- * .then(function({urlRedirections, lastAccessDate}) {
24
- * console.log(urlRedirections.length, lastAccessDate);
25
- * })
26
- * .catch(function(error) {
27
- * console.log(error);
28
- * });
29
- *
30
- */
31
- function getUrlRedirections(requestParams) {
32
-
33
- validateRequestParams(requestParams);
34
-
35
- let url = "";
36
- if (requestParams.lastAccessDate) {
37
-
38
- if (! requestParams.lastAccessDate.toISOString) {
39
- requestParams.lastAccessDate = new Date(requestParams.lastAccessDate);
40
- }
41
-
42
- url = `/?lastAccessDate=${requestParams.lastAccessDate.toISOString()}`
43
- }
44
-
45
-
46
- const req = {
47
- url: url,
48
- method: 'get',
49
- baseURL: buildRequestUrlPath(this.config, 'urlredirection'),
50
- headers: buildAuthHeader(this.config),
51
- params: {}
52
- };
53
-
54
- const self = this;
55
- let promise = new Promise(function (resolve, reject) {
56
-
57
- self.makeRequest(req)
58
- .then(data => {
59
-
60
- if (data == undefined || ! data) {
61
- reject(new Error("The URL redirections could not be retrieved."));
62
- } else {
63
- resolve(data);
64
- }
65
- })
66
- .catch(error => {
67
- reject(error);
68
- }
69
- );
70
- });
71
- return promise;
72
- }
73
-
74
- function validateRequestParams(requestParams) {
75
-
76
- if (requestParams.lastAccessDate) {
77
-
78
- if (! requestParams.lastAccessDate.toISOString) {
79
- let dt = new Date(requestParams.lastAccessDate);
80
-
81
- if (isNaN(dt)) {
82
- throw new TypeError('You must include a valid Datetime for the lastAccessDate.');
83
- }
84
- }
85
- } else {
86
- return;
87
- }
88
- }
89
-
90
-
91
- export default getUrlRedirections;
@@ -1,10 +0,0 @@
1
- /**
2
- * Defines a **Content Item** in the CMS
3
- * @typedef ContentItem
4
- * @memberof AgilityFetch.Types
5
- * @property {number} contentID - The unique ID of the content item in this language.
6
- * @property {AgilityFetch.Types.SystemProperties} properties - The system properties of the content item.
7
- * @property {Object} fields - A dictionary of the fields and the values of the content item.
8
- * @property {Object} [seo] - Any SEO related fields for the content item. This is only returned for Dynamic Page Items.
9
- */
10
-