@agility/content-fetch 1.1.5 → 2.0.0-rc10

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 (520) hide show
  1. package/.jsdoc.json +28 -28
  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.10-bc14e2ec1b-89a06534ad.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.10-54c0aaa674-cc4efa0920.zip +0 -0
  6. package/.yarn/cache/@babel-generator-npm-7.22.10-1a9a2f9e75-59a79730ab.zip +0 -0
  7. package/.yarn/cache/@babel-helper-compilation-targets-npm-7.22.10-20c2c02a4f-f6f1896816.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.10-83a2c2542a-3b1219e362.zip +0 -0
  20. package/.yarn/cache/@babel-highlight-npm-7.22.10-cea13c397b-f714a1e1a7.zip +0 -0
  21. package/.yarn/cache/@babel-parser-npm-7.22.10-a7c9b29e4f-af51567b7d.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.10-9eaf5a4899-9f7b358563.zip +0 -0
  38. package/.yarn/cache/@babel-types-npm-7.22.10-ffafe4058f-095c4f4b75.zip +0 -0
  39. package/.yarn/cache/@bcoe-v8-coverage-npm-0.2.3-9e27b3c57e-850f930553.zip +0 -0
  40. package/.yarn/cache/@colors-colors-npm-1.5.0-875af3a8b4-d64d5260be.zip +0 -0
  41. package/.yarn/cache/@dabh-diagnostics-npm-2.0.3-0f2cd64f24-4879600c55.zip +0 -0
  42. package/.yarn/cache/@esbuild-win32-x64-npm-0.19.0-2341ee400c-8.zip +0 -0
  43. package/.yarn/cache/@isaacs-cliui-npm-8.0.2-f4364666d5-4a473b9b32.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.1-aa2de3f210-f5b441fe79.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.15-a055fb62cf-b881c7e503.zip +0 -0
  64. package/.yarn/cache/@jridgewell-trace-mapping-npm-0.3.19-9aa1a7e2fd-956a6f0f6f.zip +0 -0
  65. package/.yarn/cache/@npmcli-fs-npm-3.1.0-0844a57978-a50a6818de.zip +0 -0
  66. package/.yarn/cache/@pkgjs-parseargs-npm-0.11.0-cd2a3fe948-6ad6a00fc4.zip +0 -0
  67. package/.yarn/cache/@sinclair-typebox-npm-0.27.8-23e206d653-00bd7362a3.zip +0 -0
  68. package/.yarn/cache/@sinonjs-commons-npm-3.0.0-fa72ff71a1-b4b5b73d4d.zip +0 -0
  69. package/.yarn/cache/@sinonjs-fake-timers-npm-10.3.0-7417f876b4-614d30cb4d.zip +0 -0
  70. package/.yarn/cache/@tootallnate-once-npm-2.0.0-e36cf4f140-ad87447820.zip +0 -0
  71. package/.yarn/cache/@types-axios-npm-0.14.0-42f41917ea-12a230b940.zip +0 -0
  72. package/.yarn/cache/@types-babel__core-npm-7.20.1-f44761b6b6-9fcd9691a3.zip +0 -0
  73. package/.yarn/cache/@types-babel__generator-npm-7.6.4-03e776f956-20effbbb5f.zip +0 -0
  74. package/.yarn/cache/@types-babel__template-npm-7.4.1-fe1db49e53-649fe8b42c.zip +0 -0
  75. package/.yarn/cache/@types-babel__traverse-npm-7.20.1-e1e93d4b3f-58341e23c6.zip +0 -0
  76. package/.yarn/cache/@types-graceful-fs-npm-4.1.6-1eadcf742d-c3070ccdc9.zip +0 -0
  77. package/.yarn/cache/@types-istanbul-lib-coverage-npm-2.0.4-734954bb56-a25d7589ee.zip +0 -0
  78. package/.yarn/cache/@types-istanbul-lib-report-npm-3.0.0-50de3e6b3b-656398b62d.zip +0 -0
  79. package/.yarn/cache/@types-istanbul-reports-npm-3.0.1-770e825002-f1ad54bc68.zip +0 -0
  80. package/.yarn/cache/@types-jest-npm-29.5.3-8fc40e94bc-e36bb92e0b.zip +0 -0
  81. package/.yarn/cache/@types-node-npm-18.17.4-7b6cd3731e-d4c458202d.zip +0 -0
  82. package/.yarn/cache/@types-node-npm-20.4.9-c55842c502-504e3da962.zip +0 -0
  83. package/.yarn/cache/@types-stack-utils-npm-2.0.1-867718ab70-205fdbe332.zip +0 -0
  84. package/.yarn/cache/@types-triple-beam-npm-1.3.2-e1699700a8-dd7b4a563f.zip +0 -0
  85. package/.yarn/cache/@types-yargs-npm-17.0.24-b034cf1d8b-5f3ac4dc4f.zip +0 -0
  86. package/.yarn/cache/@types-yargs-parser-npm-21.0.0-c8a3b32c52-b2f4c8d12a.zip +0 -0
  87. package/.yarn/cache/abbrev-npm-1.1.1-3659247eab-a4a97ec07d.zip +0 -0
  88. package/.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip +0 -0
  89. package/.yarn/cache/agentkeepalive-npm-4.5.0-f237b580b2-13278cd5b1.zip +0 -0
  90. package/.yarn/cache/aggregate-error-npm-3.1.0-415a406f4e-1101a33f21.zip +0 -0
  91. package/.yarn/cache/agility-jsdoc-template-npm-1.0.3-552626862e-eab23c1f7f.zip +0 -0
  92. package/.yarn/cache/ansi-escapes-npm-4.3.2-3ad173702f-93111c4218.zip +0 -0
  93. package/.yarn/cache/ansi-regex-npm-5.0.1-c963a48615-2aa4bb54ca.zip +0 -0
  94. package/.yarn/cache/ansi-regex-npm-6.0.1-8d663a607d-1ff8b7667c.zip +0 -0
  95. package/.yarn/cache/ansi-styles-npm-3.2.1-8cb8107983-d85ade01c1.zip +0 -0
  96. package/.yarn/cache/ansi-styles-npm-4.3.0-245c7d42c7-513b44c3b2.zip +0 -0
  97. package/.yarn/cache/ansi-styles-npm-5.2.0-72fc7003e3-d7f4e97ce0.zip +0 -0
  98. package/.yarn/cache/ansi-styles-npm-6.2.1-d43647018c-ef940f2f0c.zip +0 -0
  99. package/.yarn/cache/anymatch-npm-3.1.3-bc81d103b1-3e044fd6d1.zip +0 -0
  100. package/.yarn/cache/aproba-npm-2.0.0-8716bcfde6-5615cadcfb.zip +0 -0
  101. package/.yarn/cache/are-we-there-yet-npm-3.0.1-3395b1512f-52590c2486.zip +0 -0
  102. package/.yarn/cache/argparse-npm-1.0.10-528934e59d-7ca6e45583.zip +0 -0
  103. package/.yarn/cache/args-npm-5.0.3-ec59f35e6d-ac39e65609.zip +0 -0
  104. package/.yarn/cache/async-npm-3.2.4-aba13508f9-43d07459a4.zip +0 -0
  105. package/.yarn/cache/asynckit-npm-0.4.0-c718858525-7b78c451df.zip +0 -0
  106. package/.yarn/cache/axios-npm-0.27.2-dbe3a48aea-38cb754046.zip +0 -0
  107. package/.yarn/cache/axios-npm-1.4.0-4d7ce8ca3e-7fb6a4313b.zip +0 -0
  108. package/.yarn/cache/babel-jest-npm-29.6.2-b4a252efef-3936b5d6ed.zip +0 -0
  109. package/.yarn/cache/babel-plugin-istanbul-npm-6.1.1-df824055e4-cb4fd95738.zip +0 -0
  110. package/.yarn/cache/babel-plugin-jest-hoist-npm-29.5.0-3760955b96-099b525407.zip +0 -0
  111. package/.yarn/cache/babel-preset-current-node-syntax-npm-1.0.1-849ec71e32-d118c27424.zip +0 -0
  112. package/.yarn/cache/babel-preset-jest-npm-29.5.0-1e9ee3b405-5566ca2762.zip +0 -0
  113. package/.yarn/cache/balanced-match-npm-1.0.2-a53c126459-9706c088a2.zip +0 -0
  114. package/.yarn/cache/brace-expansion-npm-1.1.11-fb95eb05ad-faf34a7bb0.zip +0 -0
  115. package/.yarn/cache/brace-expansion-npm-2.0.1-17aa2616f9-a61e7cd2e8.zip +0 -0
  116. package/.yarn/cache/braces-npm-3.0.2-782240b28a-e2a8e769a8.zip +0 -0
  117. package/.yarn/cache/browserslist-npm-4.21.10-e2170a875b-1e27c0f111.zip +0 -0
  118. package/.yarn/cache/bs-logger-npm-0.2.6-7670f88b66-d34bdaf68c.zip +0 -0
  119. package/.yarn/cache/bser-npm-2.1.1-cc902055ce-9ba4dc58ce.zip +0 -0
  120. package/.yarn/cache/buffer-from-npm-1.1.2-03d2f20d7e-0448524a56.zip +0 -0
  121. package/.yarn/cache/cacache-npm-17.1.3-f75f768a29-385756781e.zip +0 -0
  122. package/.yarn/cache/callsites-npm-3.1.0-268f989910-072d17b6ab.zip +0 -0
  123. package/.yarn/cache/camelcase-npm-5.0.0-c808398846-8bfe920e04.zip +0 -0
  124. package/.yarn/cache/camelcase-npm-5.3.1-5db8af62c5-e6effce26b.zip +0 -0
  125. package/.yarn/cache/camelcase-npm-6.3.0-e5e42a0d15-8c96818a90.zip +0 -0
  126. package/.yarn/cache/caniuse-lite-npm-1.0.30001519-1d6b5bc825-66085133ed.zip +0 -0
  127. package/.yarn/cache/chalk-npm-2.4.2-3ea16dd91e-ec3661d38f.zip +0 -0
  128. package/.yarn/cache/chalk-npm-4.1.2-ba8b67ab80-fe75c9d5c7.zip +0 -0
  129. package/.yarn/cache/char-regex-npm-1.0.2-ecade5f97f-b563e4b603.zip +0 -0
  130. package/.yarn/cache/chownr-npm-2.0.0-638f1c9c61-c57cf9dd07.zip +0 -0
  131. package/.yarn/cache/ci-info-npm-3.8.0-d56a0b67d6-d0a4d31604.zip +0 -0
  132. package/.yarn/cache/cjs-module-lexer-npm-1.2.3-9d788a3c14-5ea3cb867a.zip +0 -0
  133. package/.yarn/cache/clean-stack-npm-2.2.0-a8ce435a5c-2ac8cd2b2f.zip +0 -0
  134. package/.yarn/cache/cliui-npm-8.0.1-3b029092cf-79648b3b00.zip +0 -0
  135. package/.yarn/cache/co-npm-4.6.0-03f2d1feb6-5210d92230.zip +0 -0
  136. package/.yarn/cache/collect-v8-coverage-npm-1.0.2-bd20d0c572-c10f41c39a.zip +0 -0
  137. package/.yarn/cache/color-convert-npm-1.9.3-1fe690075e-fd7a64a17c.zip +0 -0
  138. package/.yarn/cache/color-convert-npm-2.0.1-79730e935b-79e6bdb9fd.zip +0 -0
  139. package/.yarn/cache/color-name-npm-1.1.3-728b7b5d39-09c5d3e33d.zip +0 -0
  140. package/.yarn/cache/color-name-npm-1.1.4-025792b0ea-b044585952.zip +0 -0
  141. package/.yarn/cache/color-npm-3.2.1-568cf1014f-f81220e8b7.zip +0 -0
  142. package/.yarn/cache/color-string-npm-1.9.1-dc020e56be-c13fe7cff7.zip +0 -0
  143. package/.yarn/cache/color-support-npm-1.1.3-3be5c53455-9b73568176.zip +0 -0
  144. package/.yarn/cache/colorspace-npm-1.1.4-f01655548a-bb3934ef3c.zip +0 -0
  145. package/.yarn/cache/combined-stream-npm-1.0.8-dc14d4a63a-49fa4aeb49.zip +0 -0
  146. package/.yarn/cache/commander-npm-2.20.3-d8dcbaa39b-ab8c07884e.zip +0 -0
  147. package/.yarn/cache/concat-map-npm-0.0.1-85a921b7ee-902a9f5d89.zip +0 -0
  148. package/.yarn/cache/console-control-strings-npm-1.1.0-e3160e5275-8755d76787.zip +0 -0
  149. package/.yarn/cache/convert-source-map-npm-1.9.0-e294555f4b-dc55a1f28d.zip +0 -0
  150. package/.yarn/cache/convert-source-map-npm-2.0.0-7ab664dc4e-63ae9933be.zip +0 -0
  151. package/.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-671cc7c728.zip +0 -0
  152. package/.yarn/cache/debug-npm-4.3.4-4513954577-3dbad3f94e.zip +0 -0
  153. package/.yarn/cache/dedent-npm-1.5.1-8d0a005200-c3c300a14e.zip +0 -0
  154. package/.yarn/cache/deepmerge-npm-4.3.1-4f751a0844-2024c6a980.zip +0 -0
  155. package/.yarn/cache/delayed-stream-npm-1.0.0-c5a4c4cc02-46fe6e83e2.zip +0 -0
  156. package/.yarn/cache/delegates-npm-1.0.0-9b1942d75f-a51744d9b5.zip +0 -0
  157. package/.yarn/cache/detect-file-npm-1.0.0-a22ca7c5b6-1861e41461.zip +0 -0
  158. package/.yarn/cache/detect-newline-npm-3.1.0-6d33fa8d37-ae6cd429c4.zip +0 -0
  159. package/.yarn/cache/diff-sequences-npm-29.4.3-ffe403944f-28b265e04f.zip +0 -0
  160. package/.yarn/cache/eastasianwidth-npm-0.2.0-c37eb16bd1-7d00d7cd8e.zip +0 -0
  161. package/.yarn/cache/electron-to-chromium-npm-1.4.488-9c254135e9-431c100e01.zip +0 -0
  162. package/.yarn/cache/emittery-npm-0.13.1-cb6cd1bb03-2b089ab630.zip +0 -0
  163. package/.yarn/cache/emoji-regex-npm-8.0.0-213764015c-d4c5c39d5a.zip +0 -0
  164. package/.yarn/cache/emoji-regex-npm-9.2.2-e6fac8d058-8487182da7.zip +0 -0
  165. package/.yarn/cache/enabled-npm-2.0.0-bf5d96c9d8-9d256d89f4.zip +0 -0
  166. package/.yarn/cache/encoding-npm-0.1.13-82a1837d30-bb98632f8f.zip +0 -0
  167. package/.yarn/cache/env-paths-npm-2.2.1-7c7577428c-65b5df55a8.zip +0 -0
  168. package/.yarn/cache/err-code-npm-2.0.3-082e0ff9a7-8b7b1be20d.zip +0 -0
  169. package/.yarn/cache/error-ex-npm-1.3.2-5654f80c0f-c1c2b8b65f.zip +0 -0
  170. package/.yarn/cache/esbuild-npm-0.19.0-1a8543a0f4-77ef2e57a9.zip +0 -0
  171. package/.yarn/cache/escalade-npm-3.1.1-e02da076aa-a3e2a99f07.zip +0 -0
  172. package/.yarn/cache/escape-string-regexp-npm-1.0.5-3284de402f-6092fda75c.zip +0 -0
  173. package/.yarn/cache/escape-string-regexp-npm-2.0.0-aef69d2a25-9f8a2d5743.zip +0 -0
  174. package/.yarn/cache/esprima-npm-4.0.1-1084e98778-b45bc805a6.zip +0 -0
  175. package/.yarn/cache/execa-npm-5.1.1-191347acf5-fba9022c8c.zip +0 -0
  176. package/.yarn/cache/exit-npm-0.1.2-ef3761a67d-abc407f07a.zip +0 -0
  177. package/.yarn/cache/expand-tilde-npm-2.0.2-a4020a62f5-2efe6ed407.zip +0 -0
  178. package/.yarn/cache/expect-npm-29.6.2-d56284fd66-71f7b0c560.zip +0 -0
  179. package/.yarn/cache/exponential-backoff-npm-3.1.1-04df458b30-3d21519a4f.zip +0 -0
  180. package/.yarn/cache/fast-json-stable-stringify-npm-2.1.0-02e8905fda-b191531e36.zip +0 -0
  181. package/.yarn/cache/fb-watchman-npm-2.0.2-bcb6f8f831-b15a124cef.zip +0 -0
  182. package/.yarn/cache/fecha-npm-4.2.3-75248da3fd-f94e2fb3ac.zip +0 -0
  183. package/.yarn/cache/fill-range-npm-7.0.1-b8b1817caa-cc283f4e65.zip +0 -0
  184. package/.yarn/cache/find-node-modules-npm-2.1.3-431b2c5604-4b8a194ffd.zip +0 -0
  185. package/.yarn/cache/find-up-npm-4.1.0-c3ccf8d855-4c172680e8.zip +0 -0
  186. package/.yarn/cache/findup-sync-npm-4.0.0-3884c677a0-94131e1107.zip +0 -0
  187. package/.yarn/cache/fn.name-npm-1.1.0-b472333184-e357144f48.zip +0 -0
  188. package/.yarn/cache/follow-redirects-npm-1.15.2-1ec1dd82be-faa66059b6.zip +0 -0
  189. package/.yarn/cache/foreground-child-npm-3.1.1-77e78ed774-139d270bc8.zip +0 -0
  190. package/.yarn/cache/form-data-npm-4.0.0-916facec2d-01135bf867.zip +0 -0
  191. package/.yarn/cache/fs-minipass-npm-2.1.0-501ef87306-1b8d128dae.zip +0 -0
  192. package/.yarn/cache/fs-minipass-npm-3.0.2-a27ef235f5-e9cc0e1f2d.zip +0 -0
  193. package/.yarn/cache/fs.realpath-npm-1.0.0-c8f05d8126-99ddea01a7.zip +0 -0
  194. package/.yarn/cache/fsevents-npm-2.3.2-a881d6ac9f-97ade64e75.zip +0 -0
  195. package/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-b32fbaebb3.zip +0 -0
  196. package/.yarn/cache/gauge-npm-4.0.4-8f878385e9-788b6bfe52.zip +0 -0
  197. package/.yarn/cache/gensync-npm-1.0.0-beta.2-224666d72f-a7437e58c6.zip +0 -0
  198. package/.yarn/cache/get-caller-file-npm-2.0.5-80e8a86305-b9769a836d.zip +0 -0
  199. package/.yarn/cache/get-package-type-npm-0.1.0-6c70cdc8ab-bba0811116.zip +0 -0
  200. package/.yarn/cache/get-stream-npm-6.0.1-83e51a4642-e04ecece32.zip +0 -0
  201. package/.yarn/cache/glob-npm-10.3.3-2d9abea8c7-29190d3291.zip +0 -0
  202. package/.yarn/cache/glob-npm-7.2.3-2d866d17a5-29452e97b3.zip +0 -0
  203. package/.yarn/cache/global-modules-npm-1.0.0-70c522e57a-10be68796c.zip +0 -0
  204. package/.yarn/cache/global-prefix-npm-1.0.2-a96996834b-061b43470f.zip +0 -0
  205. package/.yarn/cache/globals-npm-11.12.0-1fa7f41a6c-67051a45ec.zip +0 -0
  206. package/.yarn/cache/graceful-fs-npm-4.2.11-24bb648a68-ac85f94da9.zip +0 -0
  207. package/.yarn/cache/has-flag-npm-3.0.0-16ac11fe05-4a15638b45.zip +0 -0
  208. package/.yarn/cache/has-flag-npm-4.0.0-32af9f0536-261a135703.zip +0 -0
  209. package/.yarn/cache/has-npm-1.0.3-b7f00631c1-b9ad53d53b.zip +0 -0
  210. package/.yarn/cache/has-unicode-npm-2.0.1-893adb4747-1eab07a743.zip +0 -0
  211. package/.yarn/cache/homedir-polyfill-npm-1.0.3-da1a29ce00-18dd4db870.zip +0 -0
  212. package/.yarn/cache/html-escaper-npm-2.0.2-38e51ef294-d2df2da3ad.zip +0 -0
  213. package/.yarn/cache/http-cache-semantics-npm-4.1.1-1120131375-83ac0bc60b.zip +0 -0
  214. package/.yarn/cache/http-proxy-agent-npm-5.0.0-7f1f121b83-e2ee1ff165.zip +0 -0
  215. package/.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip +0 -0
  216. package/.yarn/cache/human-signals-npm-2.1.0-f75815481d-b87fd89fce.zip +0 -0
  217. package/.yarn/cache/humanize-ms-npm-1.2.1-e942bd7329-9c7a74a282.zip +0 -0
  218. package/.yarn/cache/iconv-lite-npm-0.6.3-24b8aae27e-3f60d47a5c.zip +0 -0
  219. package/.yarn/cache/import-local-npm-3.1.0-8960af5e51-bfcdb63b5e.zip +0 -0
  220. package/.yarn/cache/imurmurhash-npm-0.1.4-610c5068a0-7cae75c8cd.zip +0 -0
  221. package/.yarn/cache/indent-string-npm-4.0.0-7b717435b2-824cfb9929.zip +0 -0
  222. package/.yarn/cache/inflight-npm-1.0.6-ccedb4b908-f4f76aa072.zip +0 -0
  223. package/.yarn/cache/inherits-npm-2.0.4-c66b3957a0-4a48a73384.zip +0 -0
  224. package/.yarn/cache/ini-npm-1.3.8-fb5040b4c0-dfd98b0ca3.zip +0 -0
  225. package/.yarn/cache/ip-npm-2.0.0-204facb3cc-cfcfac6b87.zip +0 -0
  226. package/.yarn/cache/is-arrayish-npm-0.2.1-23927dfb15-eef4417e3c.zip +0 -0
  227. package/.yarn/cache/is-arrayish-npm-0.3.2-f856180f79-977e64f54d.zip +0 -0
  228. package/.yarn/cache/is-core-module-npm-2.13.0-e444c50225-053ab101fb.zip +0 -0
  229. package/.yarn/cache/is-extglob-npm-2.1.1-0870ea68b5-df033653d0.zip +0 -0
  230. package/.yarn/cache/is-fullwidth-code-point-npm-3.0.0-1ecf4ebee5-44a30c2945.zip +0 -0
  231. package/.yarn/cache/is-generator-fn-npm-2.1.0-37895c2d2b-a6ad5492cf.zip +0 -0
  232. package/.yarn/cache/is-glob-npm-4.0.3-cb87bf1bdb-d381c1319f.zip +0 -0
  233. package/.yarn/cache/is-lambda-npm-1.0.1-7ab55bc8a8-93a32f0194.zip +0 -0
  234. package/.yarn/cache/is-number-npm-7.0.0-060086935c-456ac6f8e0.zip +0 -0
  235. package/.yarn/cache/is-stream-npm-2.0.1-c802db55e7-b8e05ccdf9.zip +0 -0
  236. package/.yarn/cache/is-windows-npm-1.0.2-898cd6f3d7-438b7e5265.zip +0 -0
  237. package/.yarn/cache/isexe-npm-2.0.0-b58870bd2e-26bf6c5480.zip +0 -0
  238. package/.yarn/cache/istanbul-lib-coverage-npm-3.2.0-93f84b2c8c-a2a545033b.zip +0 -0
  239. package/.yarn/cache/istanbul-lib-instrument-npm-5.2.1-1b3ad719a9-bf16f1803b.zip +0 -0
  240. package/.yarn/cache/istanbul-lib-report-npm-3.0.1-b17446ab24-fd17a1b879.zip +0 -0
  241. package/.yarn/cache/istanbul-lib-source-maps-npm-4.0.1-af0f859df7-21ad3df45d.zip +0 -0
  242. package/.yarn/cache/istanbul-reports-npm-3.1.6-66918eb97f-44c4c0582f.zip +0 -0
  243. package/.yarn/cache/jackspeak-npm-2.2.2-374ca454fe-7b1468dd91.zip +0 -0
  244. package/.yarn/cache/jest-changed-files-npm-29.5.0-9ca582b770-a67a7cb3c1.zip +0 -0
  245. package/.yarn/cache/jest-circus-npm-29.6.2-675d768a16-4f5a96a68c.zip +0 -0
  246. package/.yarn/cache/jest-cli-npm-29.6.2-99e0036409-0b7b09ae4b.zip +0 -0
  247. package/.yarn/cache/jest-config-npm-29.6.2-71660b6c0c-3bd104a3ac.zip +0 -0
  248. package/.yarn/cache/jest-diff-npm-29.6.2-caa9c5f644-0effd66a0c.zip +0 -0
  249. package/.yarn/cache/jest-docblock-npm-29.4.3-0fa9ff492b-e0e9df1485.zip +0 -0
  250. package/.yarn/cache/jest-each-npm-29.6.2-c58f436344-b64194f4ca.zip +0 -0
  251. package/.yarn/cache/jest-environment-node-npm-29.6.2-0ac11b8f1c-0b754ac2d3.zip +0 -0
  252. package/.yarn/cache/jest-get-type-npm-29.4.3-790eefdb01-6ac7f2dde1.zip +0 -0
  253. package/.yarn/cache/jest-haste-map-npm-29.6.2-70adb235f5-7262339720.zip +0 -0
  254. package/.yarn/cache/jest-leak-detector-npm-29.6.2-d58b6b7df0-e00152acdb.zip +0 -0
  255. package/.yarn/cache/jest-matcher-utils-npm-29.6.2-fd1c69812e-3e1b65dd30.zip +0 -0
  256. package/.yarn/cache/jest-message-util-npm-29.6.2-8bd7bc632e-e8e3c8d230.zip +0 -0
  257. package/.yarn/cache/jest-mock-npm-29.6.2-c31cf48c24-0bacb5d584.zip +0 -0
  258. package/.yarn/cache/jest-npm-29.6.2-5eda7a13ff-dd63facd4e.zip +0 -0
  259. package/.yarn/cache/jest-pnp-resolver-npm-1.2.3-70e06bf27c-db1a8ab2cb.zip +0 -0
  260. package/.yarn/cache/jest-regex-util-npm-29.4.3-defc22c588-96fc7fc28c.zip +0 -0
  261. package/.yarn/cache/jest-resolve-dependencies-npm-29.6.2-63dbac2655-d40ee11af2.zip +0 -0
  262. package/.yarn/cache/jest-resolve-npm-29.6.2-21cedcf0b9-01721957e6.zip +0 -0
  263. package/.yarn/cache/jest-runner-npm-29.6.2-74dddde534-46bd506a08.zip +0 -0
  264. package/.yarn/cache/jest-runtime-npm-29.6.2-3a51c05bc4-8e7e4486b2.zip +0 -0
  265. package/.yarn/cache/jest-snapshot-npm-29.6.2-6ed320289f-c1c70a9dbc.zip +0 -0
  266. package/.yarn/cache/jest-util-npm-29.6.2-41bd0e8e02-8aedc0c800.zip +0 -0
  267. package/.yarn/cache/jest-validate-npm-29.6.2-008427c47c-32648d0021.zip +0 -0
  268. package/.yarn/cache/jest-watcher-npm-29.6.2-ec5e606774-14624190fc.zip +0 -0
  269. package/.yarn/cache/jest-worker-npm-29.6.2-ccd8e6f0e1-1103556453.zip +0 -0
  270. package/.yarn/cache/js-tokens-npm-4.0.0-0ac852e9e2-8a95213a5a.zip +0 -0
  271. package/.yarn/cache/js-yaml-npm-3.14.1-b968c6095e-bef146085f.zip +0 -0
  272. package/.yarn/cache/jsesc-npm-2.5.2-c5acb78804-4dc1907711.zip +0 -0
  273. package/.yarn/cache/json-parse-even-better-errors-npm-2.3.1-144d62256e-798ed4cf33.zip +0 -0
  274. package/.yarn/cache/json5-npm-2.2.3-9962c55073-2a7436a933.zip +0 -0
  275. package/.yarn/cache/kleur-npm-3.0.3-f6f53649a4-df82cd1e17.zip +0 -0
  276. package/.yarn/cache/kuler-npm-2.0.0-19e74c9695-9e10b5a165.zip +0 -0
  277. package/.yarn/cache/leven-npm-2.1.0-19f0a16606-f7b4a01b15.zip +0 -0
  278. package/.yarn/cache/leven-npm-3.1.0-b7697736a3-638401d534.zip +0 -0
  279. package/.yarn/cache/lines-and-columns-npm-1.2.4-d6c7cc5799-0c37f9f7fa.zip +0 -0
  280. package/.yarn/cache/locate-path-npm-5.0.0-46580c43e4-83e51725e6.zip +0 -0
  281. package/.yarn/cache/lodash.memoize-npm-4.1.2-0e6250041f-9ff3942fee.zip +0 -0
  282. package/.yarn/cache/logform-npm-2.5.1-06017d630d-08fdf03be5.zip +0 -0
  283. package/.yarn/cache/lru-cache-npm-10.0.0-256d74bb20-18f101675f.zip +0 -0
  284. package/.yarn/cache/lru-cache-npm-5.1.1-f475882a51-c154ae1cbb.zip +0 -0
  285. package/.yarn/cache/lru-cache-npm-6.0.0-b4c8668fe1-f97f499f89.zip +0 -0
  286. package/.yarn/cache/lru-cache-npm-7.18.3-e68be5b11c-e550d77238.zip +0 -0
  287. package/.yarn/cache/make-dir-npm-4.0.0-ec3cd921cc-bf0731a2dd.zip +0 -0
  288. package/.yarn/cache/make-error-npm-1.3.6-ccb85d9458-b86e5e0e25.zip +0 -0
  289. package/.yarn/cache/make-fetch-happen-npm-11.1.1-f32b79aaaa-7268bf274a.zip +0 -0
  290. package/.yarn/cache/makeerror-npm-1.0.12-69abf085d7-b38a025a12.zip +0 -0
  291. package/.yarn/cache/merge-npm-2.1.1-90e7307c49-9c36b0e25a.zip +0 -0
  292. package/.yarn/cache/merge-stream-npm-2.0.0-2ac83efea5-6fa4dcc8d8.zip +0 -0
  293. package/.yarn/cache/micromatch-npm-4.0.5-cfab5d7669-02a17b671c.zip +0 -0
  294. package/.yarn/cache/mime-db-npm-1.52.0-b5371d6fd2-0d99a03585.zip +0 -0
  295. package/.yarn/cache/mime-types-npm-2.1.35-dd9ea9f3e2-89a5b7f1de.zip +0 -0
  296. package/.yarn/cache/mimic-fn-npm-2.1.0-4fbeb3abb4-d2421a3444.zip +0 -0
  297. package/.yarn/cache/minimatch-npm-3.1.2-9405269906-c154e56640.zip +0 -0
  298. package/.yarn/cache/minimatch-npm-9.0.3-69d7d6fad5-253487976b.zip +0 -0
  299. package/.yarn/cache/minimist-npm-1.2.8-d7af7b1dce-75a6d645fb.zip +0 -0
  300. package/.yarn/cache/minipass-collect-npm-1.0.2-3b4676eab5-14df761028.zip +0 -0
  301. package/.yarn/cache/minipass-fetch-npm-3.0.3-2c4966d142-af5ab2552a.zip +0 -0
  302. package/.yarn/cache/minipass-flush-npm-1.0.5-efe79d9826-56269a0b22.zip +0 -0
  303. package/.yarn/cache/minipass-npm-3.3.6-b8d93a945b-a30d083c80.zip +0 -0
  304. package/.yarn/cache/minipass-npm-5.0.0-c64fb63c92-425dab2887.zip +0 -0
  305. package/.yarn/cache/minipass-npm-7.0.2-baa42a5a34-46776de732.zip +0 -0
  306. package/.yarn/cache/minipass-pipeline-npm-1.2.4-5924cb077f-b14240dac0.zip +0 -0
  307. package/.yarn/cache/minipass-sized-npm-1.0.3-306d86f432-79076749fc.zip +0 -0
  308. package/.yarn/cache/minizlib-npm-2.1.2-ea89cd0cfb-f1fdeac0b0.zip +0 -0
  309. package/.yarn/cache/mkdirp-npm-1.0.4-37f6ef56b9-a96865108c.zip +0 -0
  310. package/.yarn/cache/mri-npm-1.1.4-d22a399f26-e65b9aed3b.zip +0 -0
  311. package/.yarn/cache/ms-npm-2.1.2-ec0c1512ff-673cdb2c31.zip +0 -0
  312. package/.yarn/cache/ms-npm-2.1.3-81ff3cfac1-aa92de6080.zip +0 -0
  313. package/.yarn/cache/natural-compare-npm-1.4.0-97b75b362d-23ad088b08.zip +0 -0
  314. package/.yarn/cache/negotiator-npm-0.6.3-9d50e36171-b8ffeb1e26.zip +0 -0
  315. package/.yarn/cache/node-gyp-npm-9.4.0-ebf5f5573e-78b404e2e0.zip +0 -0
  316. package/.yarn/cache/node-int64-npm-0.4.0-0dc04ec3b2-d0b30b1ee6.zip +0 -0
  317. package/.yarn/cache/node-releases-npm-2.0.13-1f2e177887-17ec8f315d.zip +0 -0
  318. package/.yarn/cache/nopt-npm-6.0.0-5ea8050815-82149371f8.zip +0 -0
  319. package/.yarn/cache/normalize-path-npm-3.0.0-658ba7d77f-88eeb4da89.zip +0 -0
  320. package/.yarn/cache/npm-dts-npm-1.3.12-c921cfddec-3897533c49.zip +0 -0
  321. package/.yarn/cache/npm-path-npm-2.0.4-fda8ca6d1d-3dfe24d9bb.zip +0 -0
  322. package/.yarn/cache/npm-run-npm-5.0.1-ba4f9faa65-1c6e171bf0.zip +0 -0
  323. package/.yarn/cache/npm-run-path-npm-4.0.1-7aebd8bab3-5374c0cea4.zip +0 -0
  324. package/.yarn/cache/npm-which-npm-3.0.1-2951392327-fba4864161.zip +0 -0
  325. package/.yarn/cache/npmlog-npm-6.0.2-e0e69455c7-ae238cd264.zip +0 -0
  326. package/.yarn/cache/once-npm-1.4.0-ccf03ef07a-cd0a885013.zip +0 -0
  327. package/.yarn/cache/one-time-npm-1.0.0-aeaad5e524-fd008d7e99.zip +0 -0
  328. package/.yarn/cache/onetime-npm-5.1.2-3ed148fa42-2478859ef8.zip +0 -0
  329. package/.yarn/cache/p-limit-npm-2.3.0-94a0310039-84ff17f1a3.zip +0 -0
  330. package/.yarn/cache/p-limit-npm-3.1.0-05d2ede37f-7c3690c4db.zip +0 -0
  331. package/.yarn/cache/p-locate-npm-4.1.0-eec6872537-513bd14a45.zip +0 -0
  332. package/.yarn/cache/p-map-npm-4.0.0-4677ae07c7-cb0ab21ec0.zip +0 -0
  333. package/.yarn/cache/p-try-npm-2.2.0-e0390dbaf8-f8a8e9a769.zip +0 -0
  334. package/.yarn/cache/parse-json-npm-5.2.0-00a63b1199-62085b17d6.zip +0 -0
  335. package/.yarn/cache/parse-passwd-npm-1.0.0-ace6effa1d-4e55e0231d.zip +0 -0
  336. package/.yarn/cache/path-exists-npm-4.0.0-e9e4f63eb0-505807199d.zip +0 -0
  337. package/.yarn/cache/path-is-absolute-npm-1.0.1-31bc695ffd-060840f92c.zip +0 -0
  338. package/.yarn/cache/path-key-npm-3.1.1-0e66ea8321-55cd7a9dd4.zip +0 -0
  339. package/.yarn/cache/path-parse-npm-1.0.7-09564527b7-49abf3d811.zip +0 -0
  340. package/.yarn/cache/path-scurry-npm-1.10.1-52bd946f2e-e2557cff3a.zip +0 -0
  341. package/.yarn/cache/picocolors-npm-1.0.0-d81e0b1927-a2e8092dd8.zip +0 -0
  342. package/.yarn/cache/picomatch-npm-2.3.1-c782cfd986-050c865ce8.zip +0 -0
  343. package/.yarn/cache/pirates-npm-4.0.6-a8ec571a43-46a65fefaf.zip +0 -0
  344. package/.yarn/cache/pkg-dir-npm-4.2.0-2b5d0a8d32-9863e3f351.zip +0 -0
  345. package/.yarn/cache/pretty-format-npm-29.6.2-7f39471065-a0f972a44f.zip +0 -0
  346. package/.yarn/cache/promise-retry-npm-2.0.1-871f0b01b7-f96a3f6d90.zip +0 -0
  347. package/.yarn/cache/prompts-npm-2.4.2-f5d25d5eea-d8fd1fe638.zip +0 -0
  348. package/.yarn/cache/protochain-npm-1.0.5-ca0a4ef353-81f417e4f5.zip +0 -0
  349. package/.yarn/cache/proxy-from-env-npm-1.1.0-c13d07f26b-ed7fcc2ba0.zip +0 -0
  350. package/.yarn/cache/pure-rand-npm-6.0.2-5d375bc0a6-79de33876a.zip +0 -0
  351. package/.yarn/cache/react-is-npm-18.2.0-0cc5edb910-e72d0ba81b.zip +0 -0
  352. package/.yarn/cache/readable-stream-npm-3.6.2-d2a6069158-bdcbe6c22e.zip +0 -0
  353. package/.yarn/cache/require-directory-npm-2.1.1-8608aee50b-fb47e70bf0.zip +0 -0
  354. package/.yarn/cache/resolve-cwd-npm-3.0.0-e6f4e296bf-546e081601.zip +0 -0
  355. package/.yarn/cache/resolve-dir-npm-1.0.1-0a95903c18-ef736b8ed6.zip +0 -0
  356. package/.yarn/cache/resolve-from-npm-5.0.0-15c9db4d33-4ceeb9113e.zip +0 -0
  357. package/.yarn/cache/resolve-npm-1.22.4-faa4f32bdd-23f25174c2.zip +0 -0
  358. package/.yarn/cache/resolve-patch-efbbaf0edd-c45f2545fd.zip +0 -0
  359. package/.yarn/cache/resolve.exports-npm-2.0.2-f59b42bbe5-1c7778ca1b.zip +0 -0
  360. package/.yarn/cache/retry-npm-0.12.0-72ac7fb4cc-623bd7d2e5.zip +0 -0
  361. package/.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-87f4164e39.zip +0 -0
  362. package/.yarn/cache/rimraf-npm-5.0.1-26fb251a1d-bafce85391.zip +0 -0
  363. package/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip +0 -0
  364. package/.yarn/cache/safe-stable-stringify-npm-2.4.3-d895741b40-3aeb644497.zip +0 -0
  365. package/.yarn/cache/safer-buffer-npm-2.1.2-8d5c0b705e-cab8f25ae6.zip +0 -0
  366. package/.yarn/cache/semver-npm-6.3.1-bcba31fdbe-ae47d06de2.zip +0 -0
  367. package/.yarn/cache/semver-npm-7.5.4-c4ad957fcd-12d8ad952f.zip +0 -0
  368. package/.yarn/cache/serializerr-npm-1.0.3-844e49be0c-20fdf7a7e3.zip +0 -0
  369. package/.yarn/cache/set-blocking-npm-2.0.0-49e2cffa24-6e65a05f7c.zip +0 -0
  370. package/.yarn/cache/shebang-command-npm-2.0.0-eb2b01921d-6b52fe8727.zip +0 -0
  371. package/.yarn/cache/shebang-regex-npm-3.0.0-899a0cd65e-1a2bcae50d.zip +0 -0
  372. package/.yarn/cache/signal-exit-npm-3.0.7-bd270458a3-a2f098f247.zip +0 -0
  373. package/.yarn/cache/signal-exit-npm-4.1.0-61fb957687-64c757b498.zip +0 -0
  374. package/.yarn/cache/simple-swizzle-npm-0.2.2-8dee37fad1-a7f3f2ab5c.zip +0 -0
  375. package/.yarn/cache/sisteransi-npm-1.0.5-af60cc0cfa-aba6438f46.zip +0 -0
  376. package/.yarn/cache/slash-npm-3.0.0-b87de2279a-94a93fff61.zip +0 -0
  377. package/.yarn/cache/smart-buffer-npm-4.2.0-5ac3f668bb-b5167a7142.zip +0 -0
  378. package/.yarn/cache/socks-npm-2.7.1-17f2b53052-259d9e3e8e.zip +0 -0
  379. package/.yarn/cache/socks-proxy-agent-npm-7.0.0-7aacf32ea0-7205543701.zip +0 -0
  380. package/.yarn/cache/source-map-npm-0.6.1-1a3621db16-59ce8640cf.zip +0 -0
  381. package/.yarn/cache/source-map-support-npm-0.5.13-377dfd7321-933550047b.zip +0 -0
  382. package/.yarn/cache/sprintf-js-npm-1.0.3-73f0a322fa-19d79aec21.zip +0 -0
  383. package/.yarn/cache/ssri-npm-10.0.4-f583dafaf3-fb14da9f8a.zip +0 -0
  384. package/.yarn/cache/stack-trace-npm-0.0.10-9460b173e1-473036ad32.zip +0 -0
  385. package/.yarn/cache/stack-utils-npm-2.0.6-2be1099696-052bf4d25b.zip +0 -0
  386. package/.yarn/cache/string-length-npm-4.0.2-675173c7a2-ce85533ef5.zip +0 -0
  387. package/.yarn/cache/string-width-npm-4.2.3-2c27177bae-e52c10dc3f.zip +0 -0
  388. package/.yarn/cache/string-width-npm-5.1.2-bf60531341-7369deaa29.zip +0 -0
  389. package/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip +0 -0
  390. package/.yarn/cache/strip-ansi-npm-6.0.1-caddc7cb40-f3cd25890a.zip +0 -0
  391. package/.yarn/cache/strip-ansi-npm-7.1.0-7453b80b79-859c73fcf2.zip +0 -0
  392. package/.yarn/cache/strip-bom-npm-4.0.0-97d367a64d-9dbcfbaf50.zip +0 -0
  393. package/.yarn/cache/strip-final-newline-npm-2.0.0-340c4f7c66-69412b5e25.zip +0 -0
  394. package/.yarn/cache/strip-json-comments-npm-3.1.1-dcb2324823-492f73e272.zip +0 -0
  395. package/.yarn/cache/supports-color-npm-5.5.0-183ac537bc-95f6f4ba5a.zip +0 -0
  396. package/.yarn/cache/supports-color-npm-7.2.0-606bfcf7da-3dda818de0.zip +0 -0
  397. package/.yarn/cache/supports-color-npm-8.1.1-289e937149-c052193a7e.zip +0 -0
  398. package/.yarn/cache/supports-preserve-symlinks-flag-npm-1.0.0-f17c4d0028-53b1e247e6.zip +0 -0
  399. package/.yarn/cache/tar-npm-6.1.15-44c3e71720-f23832fcee.zip +0 -0
  400. package/.yarn/cache/test-exclude-npm-6.0.0-3fb03d69df-3b34a3d771.zip +0 -0
  401. package/.yarn/cache/text-hex-npm-1.0.0-22389e4d56-1138f68adc.zip +0 -0
  402. package/.yarn/cache/tmp-npm-0.2.1-a9c8d9c0ca-8b12146541.zip +0 -0
  403. package/.yarn/cache/tmpl-npm-1.0.5-d399ba37e2-cd922d9b85.zip +0 -0
  404. package/.yarn/cache/to-fast-properties-npm-2.0.0-0dc60cc481-be2de62fe5.zip +0 -0
  405. package/.yarn/cache/to-regex-range-npm-5.0.1-f1e8263b00-f76fa01b3d.zip +0 -0
  406. package/.yarn/cache/triple-beam-npm-1.4.1-d21ba5346a-2e881a3e8e.zip +0 -0
  407. package/.yarn/cache/ts-jest-npm-29.1.1-04e888e48e-a8c9e284ed.zip +0 -0
  408. package/.yarn/cache/type-detect-npm-4.0.8-8d8127b901-62b5628bff.zip +0 -0
  409. package/.yarn/cache/type-fest-npm-0.21.3-5ff2a9c6fd-e6b32a3b38.zip +0 -0
  410. package/.yarn/cache/typescript-npm-5.1.6-b157762de3-b2f2c35096.zip +0 -0
  411. package/.yarn/cache/typescript-patch-bd21d74a9d-f53bfe97f7.zip +0 -0
  412. package/.yarn/cache/unique-filename-npm-3.0.0-77d68e0a45-8e2f59b356.zip +0 -0
  413. package/.yarn/cache/unique-slug-npm-4.0.0-e6b08f28aa-0884b58365.zip +0 -0
  414. package/.yarn/cache/update-browserslist-db-npm-1.0.11-2c8e64258f-b98327518f.zip +0 -0
  415. package/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip +0 -0
  416. package/.yarn/cache/v8-to-istanbul-npm-9.1.0-04cd324682-2069d59ee4.zip +0 -0
  417. package/.yarn/cache/walker-npm-1.0.8-b0a05b9478-ad7a257ea1.zip +0 -0
  418. package/.yarn/cache/which-npm-1.3.1-f0ebb8bdd8-f2e185c624.zip +0 -0
  419. package/.yarn/cache/which-npm-2.0.2-320ddf72f7-1a5c563d3c.zip +0 -0
  420. package/.yarn/cache/wide-align-npm-1.1.5-889d77e592-d5fc37cd56.zip +0 -0
  421. package/.yarn/cache/winston-npm-3.7.2-5336ad5eff-f1f1a860d2.zip +0 -0
  422. package/.yarn/cache/winston-transport-npm-4.5.0-e10bfb2169-a56e5678a8.zip +0 -0
  423. package/.yarn/cache/wrap-ansi-npm-7.0.0-ad6e1a0554-a790b846fd.zip +0 -0
  424. package/.yarn/cache/wrap-ansi-npm-8.1.0-26a4e6ae28-371733296d.zip +0 -0
  425. package/.yarn/cache/wrappy-npm-1.0.2-916de4d4b3-159da4805f.zip +0 -0
  426. package/.yarn/cache/write-file-atomic-npm-4.0.2-661baae4aa-5da60bd4ee.zip +0 -0
  427. package/.yarn/cache/y18n-npm-5.0.8-5f3a0a7e62-54f0fb9562.zip +0 -0
  428. package/.yarn/cache/yallist-npm-3.1.1-a568a556b4-48f7bb00dc.zip +0 -0
  429. package/.yarn/cache/yallist-npm-4.0.0-b493d9e907-343617202a.zip +0 -0
  430. package/.yarn/cache/yargs-npm-17.7.2-80b62638e1-73b572e863.zip +0 -0
  431. package/.yarn/cache/yargs-parser-npm-21.1.1-8fdc003314-ed2d96a616.zip +0 -0
  432. package/.yarn/cache/yocto-queue-npm-0.1.0-c6c9a7db29-f77b3d8d00.zip +0 -0
  433. package/.yarn/install-state.gz +0 -0
  434. package/LICENSE +21 -21
  435. package/README.md +108 -108
  436. package/build.js +26 -0
  437. package/dist/api-client.d.ts +46 -0
  438. package/dist/browser.js +2057 -0
  439. package/dist/index.d.ts +8 -0
  440. package/dist/methods/getContentItem.d.ts +42 -0
  441. package/dist/methods/getContentList.d.ts +78 -0
  442. package/dist/methods/getGallery.d.ts +33 -0
  443. package/dist/methods/getPage.d.ts +41 -0
  444. package/{src/methods/getSitemapFlat.js → dist/methods/getSitemapFlat.d.ts} +11 -32
  445. package/{src/methods/getSitemapNested.js → dist/methods/getSitemapNested.d.ts} +11 -29
  446. package/{src/methods/getSyncContent.js → dist/methods/getSyncContent.d.ts} +13 -33
  447. package/{src/methods/getSyncPages.js → dist/methods/getSyncPages.d.ts} +13 -33
  448. package/dist/methods/getUrlRedirections.d.ts +35 -0
  449. package/dist/node.js +13061 -0
  450. package/dist/types/Client.d.ts +5 -0
  451. package/dist/types/Config.d.ts +15 -0
  452. package/dist/types/ContentItem.d.ts +19 -0
  453. package/dist/types/ContentList.d.ts +12 -0
  454. package/dist/types/ContentZone.d.ts +13 -0
  455. package/dist/types/EnvConfig.d.ts +6 -0
  456. package/{src/types/Filter.js → dist/types/Filter.d.ts} +14 -13
  457. package/{src/types/FilterLogicOperator.js → dist/types/FilterLogicOperator.d.ts} +17 -21
  458. package/{src/types/FilterOperator.js → dist/types/FilterOperator.d.ts} +28 -30
  459. package/dist/types/Gallery.d.ts +21 -0
  460. package/dist/types/MediaItem.d.ts +22 -0
  461. package/dist/types/MediaItemMetaData.d.ts +17 -0
  462. package/dist/types/Page.d.ts +38 -0
  463. package/dist/types/SEO.d.ts +16 -0
  464. package/dist/types/SitemapFlat.d.ts +9 -0
  465. package/dist/types/SitemapFlatItem.d.ts +29 -0
  466. package/dist/types/SitemapNested.d.ts +7 -0
  467. package/dist/types/SitemapNestedItem.d.ts +30 -0
  468. package/dist/types/SitemapVisibility.d.ts +11 -0
  469. package/{src/types/SortDirection.js → dist/types/SortDirection.d.ts} +17 -21
  470. package/dist/types/SyncContent.d.ts +12 -0
  471. package/dist/types/SyncPages.d.ts +12 -0
  472. package/dist/types/SystemProperties.d.ts +15 -0
  473. package/dist/types/UrlRedirection.d.ts +15 -0
  474. package/dist/types/UrlRedirectionResponse.d.ts +12 -0
  475. package/dist/types/index.d.ts +3 -0
  476. package/dist/utils.d.ts +7 -0
  477. package/jest.config.js +6 -0
  478. package/package.json +57 -49
  479. package/tsconfig.json +15 -0
  480. package/.babelrc +0 -7
  481. package/.vscode/launch.json +0 -35
  482. package/dist/agility-content-fetch.browser.js +0 -420
  483. package/dist/agility-content-fetch.node.js +0 -10978
  484. package/src/api-client.js +0 -162
  485. package/src/content-fetch.js +0 -90
  486. package/src/methods/getContentItem.js +0 -72
  487. package/src/methods/getContentList.js +0 -140
  488. package/src/methods/getGallery.js +0 -59
  489. package/src/methods/getPage.js +0 -69
  490. package/src/methods/getUrlRedirections.js +0 -91
  491. package/src/types/ContentItem.js +0 -10
  492. package/src/types/ContentList.js +0 -8
  493. package/src/types/ContentZone.js +0 -8
  494. package/src/types/Gallery.js +0 -11
  495. package/src/types/MediaItem.js +0 -12
  496. package/src/types/MediaItemMetaData.js +0 -11
  497. package/src/types/Page.js +0 -19
  498. package/src/types/SitemapFlat.js +0 -6
  499. package/src/types/SitemapFlatItem.js +0 -15
  500. package/src/types/SitemapNested.js +0 -6
  501. package/src/types/SitemapNestedItem.js +0 -15
  502. package/src/types/SitemapVisibility.js +0 -8
  503. package/src/types/SyncContent.js +0 -8
  504. package/src/types/SyncPages.js +0 -8
  505. package/src/types/SystemProperties.js +0 -10
  506. package/src/types/UrlRedirection.js +0 -11
  507. package/src/types/UrlRedirectionResponse.js +0 -9
  508. package/src/utils.js +0 -88
  509. package/test/apiClients.config.js +0 -53
  510. package/test/getApi.tests.js +0 -185
  511. package/test/getContentItem.tests.js +0 -200
  512. package/test/getContentList.tests.js +0 -371
  513. package/test/getGallery.tests.js +0 -33
  514. package/test/getPage.tests.js +0 -93
  515. package/test/getSitemapFlat.tests.js +0 -73
  516. package/test/getSitemapNested.tests.js +0 -73
  517. package/test/getSyncContentItems.tests.js +0 -44
  518. package/test/getSyncPageItems.tests.js +0 -45
  519. package/test/getUrlRedirections.tests.js +0 -60
  520. package/webpack.config.js +0 -58
@@ -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
-
@@ -1,8 +0,0 @@
1
- /**
2
- * Defines a **Content List** in the CMS.
3
- * @typedef ContentList
4
- * @memberof AgilityFetch.Types
5
- * @property {Array.<AgilityFetch.Types.ContentItem>} items - The paginated array of items returned by the request. Default *take* is **10** unless otherwise specified (Maximum allowed it **250**)
6
- * @property {number} totalCount - The total amount of items in the list. Use this along with *skip* and *take* for pagination.
7
- */
8
-
@@ -1,8 +0,0 @@
1
- /**
2
- * Defines a **Content Zone** on a page in the CMS.
3
- * @typedef ContentZone
4
- * @memberof AgilityFetch.Types
5
- * @property {string} module - The reference name of the module definition of this module.
6
- * @property {AgilityFetch.Types.ContentItem} item - The contentItem representing the content of this module.
7
- */
8
-
@@ -1,11 +0,0 @@
1
- /**
2
- * Defines a **Gallery** in the CMS
3
- * @typedef Gallery
4
- * @memberof AgilityFetch.Types
5
- * @property {number} galleryID - The unique ID of the gallery.
6
- * @property {string} name - The name of the gallery.
7
- * @property {string} description - The description of the gallery.
8
- * @property {number} count - The count of media items in the gallery.
9
- * @property {Array<AgilityFetch.Types.MediaItem>} media - Array of media items in the gallery.
10
- */
11
-
@@ -1,12 +0,0 @@
1
- /**
2
- * Defines a **MediaItem** in the CMS
3
- * @typedef MediaItem
4
- * @memberof AgilityFetch.Types
5
- * @property {number} mediaID - The unique ID of the media item.
6
- * @property {string} fileName - The file name of the media item.
7
- * @property {string} url - The url of the media item.
8
- * @property {number} size - The size of the media item in bytes.
9
- * @property {date} modifiedOn - The last modified date and time of the media item.
10
- * @property {AgilityFetch.Types.MediaItemMetaData} metaData - Meta data for the media item.
11
- */
12
-
@@ -1,11 +0,0 @@
1
- /**
2
- * Defines a **MediaItemMetaData** in the CMS
3
- * @typedef MediaItemMetaData
4
- * @memberof AgilityFetch.Types
5
- * @property {string} Title - The title meta data of the media item.
6
- * @property {string} Description - The description meta data of the media item.
7
- * @property {string} LinkUrl - The link url meta data of the media item.
8
- * @property {string} pixelHeight - The height in pixels of the media item.
9
- * @property {string} pixelWidth - The width in pixels of the media item.
10
- */
11
-
package/src/types/Page.js DELETED
@@ -1,19 +0,0 @@
1
- /**
2
- * Defines a **Page** in the CMS.
3
- * @typedef Page
4
- * @memberof AgilityFetch.Types
5
- * @property {number} pageID - The unique ID of the page in this language.
6
- * @property {string} name - The friendly url slug for the page - this is used to make up the URL.
7
- * @property {string} path - The url path for this page.
8
- * @property {string} title - The page title for the page, used for SEO and appears in the browser bar/tab.
9
- * @property {string} menuText - And alternate text field, often used in dynamic menu generation.
10
- * @property {string} pageType - The type of page. Valid values include *static*, *dynamic*, *dynamic_node*, *link*, and *folder*.
11
- * @property {string} templateName - The name of the Page Template this page uses.
12
- * @property {boolean} securePage - This value represents whether this page should be secured within the website.
13
- * @property {AgilityFetch.Types.SystemProperties} properties The system properties of this page item.
14
- * @property {Object.<string, AgilityFetch.Types.ContentZone>} zones - Contains a dictionary of content zones for this page and the modules in each zone.
15
- * @property {string} [redirectUrl] - If this page is a *link*, then this property will show the intended destination redirect.
16
- * @property {number} [dynamicItemContentID] - If this page is a dynamic page, then this property will show the associated contentID of the dynamic content item.
17
- * @property {AgilityFetch.Types.SitemapVisibility} visible - Object that contains properties pertaining to the intended visibility of this page for seo and menus.
18
- */
19
-
@@ -1,6 +0,0 @@
1
- /**
2
- * A dictionary/map of all page routes. The key of this dictionary is the page path for a page.
3
- * @typedef {Object.<string, AgilityFetch.Types.SitemapFlatItem>} SitemapFlat - The valid page routes.
4
- * @memberof AgilityFetch.Types
5
- */
6
-
@@ -1,15 +0,0 @@
1
- /**
2
- * Represents an item in a sitemap response
3
- * @typedef {Object} SitemapFlatItem
4
- * @memberof AgilityFetch.Types
5
- * @property {number} pageID - The unique ID of the page in Agility in this language.
6
- * @property {string} title - A human-friendly title for the page, typically used for SEO and displayed in the browser tab/bar.
7
- * @property {string} name - The URL friendly name of the page.
8
- * @property {string} path - The URL path of the page.
9
- * @property {string} menuText - An alternate page title, often used when generating dynamic menus.
10
- * @property {string} pageType - Describes what type of page this is - values include *static*, *dynamic*, *dynamic_node*, *folder*, and *link*
11
- * @property {AgilityFetch.Types.SystemProperties} properties - The system properties of this page item.
12
- * @property {string} [redirectUrl] - If this page is a *link*, then this property will show the intended destination redirect.
13
- * @property {number} [dynamicItemContentID] - If this page is a dynamic page, then this property will show the associated contentID of the dynamic content item.
14
- * @property {AgilityFetch.Types.SitemapVisibility} visible - Object that contains properties pertaining to the intended visibility of this page for seo and menus.
15
- */
@@ -1,6 +0,0 @@
1
- /**
2
- * A dictionary/map of all page routes. The key of this dictionary is the page path for a page.
3
- * @typedef {Array.<AgilityFetch.Types.SitemapNestedItem>} SitemapNested - The array of pages for the sitemap.
4
- * @memberof AgilityFetch.Types
5
- */
6
-
@@ -1,15 +0,0 @@
1
- /**
2
- * Represents an item in a sitemap response
3
- * @typedef {Object} SitemapNestedItem
4
- * @memberof AgilityFetch.Types
5
- * @property {number} pageID - The unique ID of the page in Agility in this language.
6
- * @property {string} title - A human-friendly title for the page, typically used for SEO and displayed in the browser tab/bar.
7
- * @property {string} name - The URL friendly name of the page.
8
- * @property {string} menuText - An alternate page title, often used when generating dynamic menus.
9
- * @property {string} pageType - Describes what type of page this is - values include *static*, *dynamic*, *dynamic_node*, *folder*, and *link*
10
- * @property {AgilityFetch.Types.SystemProperties} properties - The system properties of this page item.
11
- * @property {Array.<AgilityFetch.Types.SitemapNestedItem>} [children] - The children of this page
12
- * @property {string} [redirectUrl] - If this page is a *link*, then this property will show the intended destination redirect.
13
- * @property {number} [dynamicItemContentID] - If this page is a dynamic page, then this property will show the associated contentID of the dynamic content item.
14
- * @property {AgilityFetch.Types.SitemapVisibility} visible - Object that contains properties pertaining to the intended visibility of this page for seo and menus.
15
- */
@@ -1,8 +0,0 @@
1
- /**
2
- * Defines a page's visibility.
3
- * @typedef SitemapVisibility
4
- * @memberof AgilityFetch.Types
5
- * @property {boolean} menu - If set to true, this page should be hidden from menus.
6
- * @property {boolean} sitemap - If set to true, this page should be hidden from the sitemap and not accessible by robots.
7
- */
8
-
@@ -1,8 +0,0 @@
1
- /**
2
- * Defines **Sync Content** response.
3
- * @typedef SyncContent
4
- * @memberof AgilityFetch.Types
5
- * @property {number} syncToken - The sync token to be used in the next call as a continuation token for syncing content. If this is empty, you are up to date.
6
- * @property {Array.<AgilityFetch.Types.ContentItem>} items - The paginated array of items returned by the request.
7
- */
8
-
@@ -1,8 +0,0 @@
1
- /**
2
- * Defines **Sync Pages** response.
3
- * @typedef SyncPages
4
- * @memberof AgilityFetch.Types
5
- * @property {number} syncToken - The sync token to be used in the next call as a continuation token for syncing content. If this is empty, you are up to date.
6
- * @property {Array.<AgilityFetch.Types.Page>} items - The paginated array of items returned by the request.
7
- */
8
-
@@ -1,10 +0,0 @@
1
- /**
2
- * Defines the common **System Properties** of pages and content items in the CMS.
3
- * @typedef SystemProperties
4
- * @memberof AgilityFetch.Types
5
- * @property {datetime} created - The date/time this item was created.
6
- * @property {datetime} modified - The date/time this item was last modified.
7
- * @property {number} state - The **state** of this content item. **1** = *Staging*, **2** = *Published*, **3** = *Deleted*, **4** = *Approved*, **5** = *AwaitingApproval*, **6** = *Declined*, **7** = *Unpublished*
8
- * @property {number} versionID - The unique versionID of this content item.
9
- */
10
-
@@ -1,11 +0,0 @@
1
- /**
2
- * Defines **URL Redirection** .
3
- * @typedef URLRedirection
4
- * @memberof AgilityFetch.Types
5
- * @property {Number} id - The id of this URL Redirection
6
- * @property {String} originUrl - The URL to redirect from
7
- * @property {String} destinationUrl - The URL to redirect to
8
- * @property {Number} statusCode - Either a 301 or 302 status code for the redirect
9
- */
10
-
11
-
@@ -1,9 +0,0 @@
1
- /**
2
- * Defines **URL Redirection** response.
3
- * @typedef URLRedirectionResponse
4
- * @memberof AgilityFetch.Types
5
- * @property {Array} syncToken - The sync token to be used in the next call as a continuation token for syncing content. If this is empty, you are up to date.
6
- * @property {Array.<AgilityFetch.Types.Page>} items - The paginated array of items returned by the request.
7
- */
8
-
9
-
package/src/utils.js DELETED
@@ -1,88 +0,0 @@
1
- function logError(consoleMessage) {
2
- console.error('\x1b[41m%s\x1b[0m', consoleMessage);
3
- }
4
-
5
- function logDebug(consoleMessage) {
6
- console.log('\x1b[33m%s\x1b[0m', consoleMessage);
7
- }
8
-
9
- function buildRequestUrlPath(config, locale) {
10
- let apiFetchOrPreview = null;
11
-
12
- if(config.isPreview === true || config.isPreview === 'true') {
13
- apiFetchOrPreview = 'preview';
14
- } else {
15
- apiFetchOrPreview = 'fetch';
16
- }
17
-
18
- let urlPath = `${config.baseUrl}/${apiFetchOrPreview}/${locale}`;
19
- return urlPath;
20
- }
21
-
22
- function buildPathUrl(contentType, referenceName, skip, take, sort, direction, filters, filtersLogicOperator, contentLinkDepth, expandAllContentLinks) {
23
- let url = `/${contentType}/${referenceName}?contentLinkDepth=${contentLinkDepth}&`;
24
- filtersLogicOperator = filtersLogicOperator ? ` ${filtersLogicOperator} ` : ' AND ';
25
-
26
- if (sort) {
27
- url += `sort=${sort}&`;
28
- if (direction) {
29
- url += `direction=${direction}&`;
30
- }
31
- }
32
-
33
- if (skip) {
34
- url += `skip=${skip}&`;
35
- }
36
-
37
- if (take) {
38
- url += `take=${take}&`;
39
- }
40
-
41
- if (filters && filters.length > 0) {
42
- url += 'filter='
43
- for (let i = 0; i < filters.length; i++) {
44
- let filter = filters[i];
45
- url += `${filter.property}[${filter.operator}]${filter.value}` + (i < filters.length - 1 ? filtersLogicOperator : '');
46
- }
47
- url += '&';
48
- }
49
-
50
- if(expandAllContentLinks) {
51
- url += `expandAllContentLinks=${expandAllContentLinks}&`;
52
- }
53
-
54
- return url;
55
- }
56
-
57
- function buildAuthHeader(config) {
58
- let defaultAuthHeaders = {
59
- 'APIKey': config.apiKey
60
- };
61
-
62
- if(config.requiresGuidInHeaders) {
63
- defaultAuthHeaders.Guid = config.guid;
64
- }
65
-
66
- return {
67
- ...defaultAuthHeaders,
68
- ...config.headers
69
- }
70
-
71
- }
72
-
73
- function isHttps(url) {
74
- if(!url.toLowerCase().startsWith('https://')) {
75
- return false;
76
- }
77
- return true;
78
- }
79
-
80
-
81
- export {
82
- buildPathUrl,
83
- buildAuthHeader,
84
- buildRequestUrlPath,
85
- isHttps,
86
- logError,
87
- logDebug
88
- }
@@ -1,53 +0,0 @@
1
- import agility from '../src/content-fetch'
2
-
3
- // Agility Instance = 'Headless Integration Testing' [Dev]
4
- const guid = 'c741222b-1080-45f6-9a7f-982381c5a485';
5
- const apiKeyFetch = 'UnitTestsFetch.2ace650991363fbcffa6776d411d1b0d616b8e3424ce842b81cba7af0039197e';
6
- const apiKeyPreview = 'UnitTestsPreview.69e6bca345ced0b7ca5ab358b351ea5c870790a5945c25d749a865332906b124';
7
-
8
-
9
- function createApiClient() {
10
- var api = agility.getApi({
11
- guid: guid,
12
- apiKey: apiKeyFetch,
13
- baseUrl: `https://api-dev.aglty.io/${guid}`
14
- });
15
- return api;
16
- }
17
-
18
- function createApiClientWithNewCdn() {
19
- var api = agility.getApi({
20
- guid: '2b64a4d8-d',
21
- apiKey: 'JSSDK.e27e61f56d4c9b58ab98961aaf86a0d3c544dfe7d0eb385ece42123dad5d1af7'
22
- });
23
- return api;
24
- }
25
-
26
- function createCachedApiClient() {
27
- var api = agility.getApi({
28
- guid: guid,
29
- apiKey: apiKeyFetch,
30
- caching: {
31
- maxAge: 5 * 60 * 1000 //==5mins
32
- },
33
- baseUrl: `https://api-dev.aglty.io/${guid}`
34
- });
35
- return api;
36
- }
37
-
38
- function createPreviewApiClient() {
39
- var api = agility.getApi({
40
- guid: guid,
41
- apiKey: apiKeyPreview,
42
- isPreview: true,
43
- baseUrl: `https://api-dev.aglty.io/${guid}`
44
- });
45
- return api;
46
- }
47
-
48
- export {
49
- createApiClient,
50
- createCachedApiClient,
51
- createPreviewApiClient,
52
- createApiClientWithNewCdn
53
- }
@@ -1,185 +0,0 @@
1
- import chai from 'chai'
2
- const assert = chai.assert;
3
- const expect = chai.expect;
4
-
5
- import agility from '../src/content-fetch'
6
-
7
-
8
- //This is a synchronous test
9
- describe('getApi:', function() {
10
-
11
- this.timeout('120s');
12
-
13
- it('should return an api client object with required params', function(done) {
14
- const api = agility.getApi({
15
- guid: 'some-guid',
16
- apiKey: 'some-access-token'
17
- });
18
- assert.strictEqual(typeof(api), "object");
19
- done();
20
- })
21
-
22
- it('should return an api client object in preview mode', function(done) {
23
- const api = agility.getApi({
24
- guid: 'some-guid',
25
- apiKey: 'some-access-token',
26
- isPreview: true
27
- });
28
- assert.strictEqual(api.config.isPreview, true);
29
- done();
30
- })
31
-
32
- it('should contain method for getContentItem', function(done) {
33
- const api = agility.getApi({
34
- guid: 'some-guid',
35
- apiKey: 'some-access-token'
36
- });
37
- assert.strictEqual(typeof(api.getContentItem), "function");
38
- done();
39
- })
40
-
41
- it('should contain method for getContentList', function(done) {
42
- const api = agility.getApi({
43
- guid: 'some-guid',
44
- apiKey: 'some-access-token'
45
- });
46
- assert.strictEqual(typeof(api.getContentList), "function");
47
- done();
48
- })
49
-
50
- it('should contain method for getPage', function(done) {
51
- const api = agility.getApi({
52
- guid: 'some-guid',
53
- apiKey: 'some-access-token'
54
- });
55
- assert.strictEqual(typeof(api.getPage), "function");
56
- done();
57
- })
58
-
59
- it('should contain method for getSitemapFlat', function(done) {
60
- const api = agility.getApi({
61
- guid: 'some-guid',
62
- apiKey: 'some-access-token'
63
- });
64
- assert.strictEqual(typeof(api.getSitemapFlat), "function");
65
- done();
66
- })
67
-
68
- it('should contain method for getSitemapNested', function(done) {
69
- const api = agility.getApi({
70
- guid: 'some-guid',
71
- apiKey: 'some-access-token'
72
- });
73
- assert.strictEqual(typeof(api.getSitemapNested), "function");
74
- done();
75
- })
76
-
77
- it('should return an api client with the baseUrl overidden if passed-in correctly as params', function(done) {
78
- const baseUrl = 'https://fake-url.agilitycms.com';
79
- const api = agility.getApi({
80
- guid: 'some-guid',
81
- apiKey: 'some-access-token',
82
- baseUrl: baseUrl
83
- });
84
- assert.strictEqual(api.config.baseUrl, baseUrl);
85
- done();
86
- });
87
-
88
- it('should return an api client with new stackpath baseUrl based on canada', function(done) {
89
- const baseUrl = 'https://api-ca.aglty.io/some-guid-c';
90
- const api = agility.getApi({
91
- guid: 'some-guid-c',
92
- apiKey: 'some-access-token',
93
- baseUrl: null
94
- });
95
- assert.strictEqual(api.config.baseUrl, baseUrl);
96
- done();
97
- });
98
-
99
- it('should return an api client with new stackpath baseUrl based on usa', function(done) {
100
- const baseUrl = 'https://api.aglty.io/some-guid-u';
101
- const api = agility.getApi({
102
- guid: 'some-guid-u',
103
- apiKey: 'some-access-token',
104
- baseUrl: null
105
- });
106
- assert.strictEqual(api.config.baseUrl, baseUrl);
107
- done();
108
- });
109
-
110
- it('should return an api client with new stackpath baseUrl based on dev', function(done) {
111
- const baseUrl = 'https://api-dev.aglty.io/some-guid-d';
112
- const api = agility.getApi({
113
- guid: 'some-guid-d',
114
- apiKey: 'some-access-token',
115
- baseUrl: null
116
- });
117
- assert.strictEqual(api.config.baseUrl, baseUrl);
118
- done();
119
- });
120
-
121
- it('should return an api client with legacy stackpath baseUrl', function(done) {
122
- const baseUrl = 'https://some-guid-api.agilitycms.cloud';
123
- const api = agility.getApi({
124
- guid: 'some-guid',
125
- apiKey: 'some-access-token',
126
- baseUrl: null
127
- });
128
- assert.strictEqual(api.config.baseUrl, baseUrl);
129
- done();
130
- });
131
-
132
- // TESTING EXCEPTIONS ----------------------------------------------------
133
-
134
- it('should throw an error if guid is not passed-in', function(done) {
135
- expect(function() {
136
- var api = agility.getApi({
137
- apiKey: 'some-access-token'
138
- });
139
- assert.strictEqual(typeof(api), "object");
140
- done();
141
- }).to.throw( TypeError );
142
- done();
143
- });
144
-
145
- it('should throw an error if apiKey is not passed-in', function(done) {
146
- expect(function() {
147
- var api = agility.getApi({
148
- guid: 'some-guid',
149
- });
150
- assert.strictEqual(typeof(api), "object");
151
- done();
152
- }).to.throw( TypeError );
153
- done();
154
- });
155
-
156
- it('should throw an error if caching maxAge is passed-in and is not a number', function(done) {
157
- expect(function() {
158
- var api = agility.getApi({
159
- guid: 'some-guid',
160
- apiKey: 'some-access-token',
161
- caching: {
162
- maxAge: 'ten thousand miliseconds'
163
- }
164
- });
165
- assert.strictEqual(typeof(api), "object");
166
- done();
167
- }).to.throw( TypeError );
168
- done();
169
- });
170
-
171
-
172
- it('should throw an error if baseUrl is passed-in and is does not start with "https"', function(done) {
173
- expect(function() {
174
- var api = agility.getApi({
175
- guid: 'some-guid',
176
- apiKey: 'some-access-token',
177
- baseUrl: 'http://insecuresite.com'
178
- });
179
- assert.strictEqual(typeof(api), "object");
180
- done();
181
- }).to.throw( TypeError );
182
- done();
183
- });
184
-
185
- });