@ketch-sdk/ketch-types 1.3.3 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +13 -0
- package/.eslintignore +3 -0
- package/.eslintrc.json +31 -0
- package/.github/CODEOWNERS +1 -0
- package/.github/CONTRIBUTING.md +177 -0
- package/.github/ISSUE_TEMPLATE.md +19 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +30 -0
- package/.github/dependabot.yml +18 -0
- package/.github/release.yml +18 -0
- package/.github/workflows/ci.yml +79 -0
- package/.prettierignore +3 -0
- package/.prettierrc +15 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +22 -0
- package/docs/assets/main.js +4 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1280 -0
- package/docs/enums/BannerPosition.html +88 -0
- package/docs/enums/ConsentExperienceType.html +81 -0
- package/docs/enums/CookieCategory.html +88 -0
- package/docs/enums/CookieDuration.html +74 -0
- package/docs/enums/CookieProvenance.html +74 -0
- package/docs/enums/ExperienceButtonDestination.html +81 -0
- package/docs/enums/ExperienceClosedReason.html +91 -0
- package/docs/enums/ExperienceDefault.html +74 -0
- package/docs/enums/ExperiencePrimaryButtonAction.html +74 -0
- package/docs/enums/ExperienceType.html +74 -0
- package/docs/enums/IdentityFormat.html +102 -0
- package/docs/enums/IdentityType.html +116 -0
- package/docs/enums/MigrationOption.html +95 -0
- package/docs/enums/ModalPosition.html +81 -0
- package/docs/enums/SwitchTextRenderLogic.html +96 -0
- package/docs/functions/isTab.html +137 -0
- package/docs/index.html +126 -0
- package/docs/interfaces/AppDiv.html +78 -0
- package/docs/interfaces/Banner.html +129 -0
- package/docs/interfaces/CanonicalPurpose.html +85 -0
- package/docs/interfaces/Configuration.html +305 -0
- package/docs/interfaces/ConsentExperience.html +120 -0
- package/docs/interfaces/ConsentsTab.html +161 -0
- package/docs/interfaces/Cookie.html +134 -0
- package/docs/interfaces/DataSubject.html +152 -0
- package/docs/interfaces/DataSubjectType.html +87 -0
- package/docs/interfaces/Deployment.html +78 -0
- package/docs/interfaces/Environment.html +92 -0
- package/docs/interfaces/Experience.html +78 -0
- package/docs/interfaces/GetBootstrapConfigurationRequest.html +78 -0
- package/docs/interfaces/GetConsentRequest.html +137 -0
- package/docs/interfaces/GetConsentResponse.html +139 -0
- package/docs/interfaces/GetFullConfigurationRequest.html +113 -0
- package/docs/interfaces/GetLocationRequest.html +71 -0
- package/docs/interfaces/GetLocationResponse.html +71 -0
- package/docs/interfaces/GetPreferenceQRRequest.html +125 -0
- package/docs/interfaces/IPInfo.html +155 -0
- package/docs/interfaces/IPLanguage.html +85 -0
- package/docs/interfaces/IPLocation.html +120 -0
- package/docs/interfaces/Identity.html +110 -0
- package/docs/interfaces/InvokeRightRequest.html +139 -0
- package/docs/interfaces/JIT.html +129 -0
- package/docs/interfaces/JurisdictionInfo.html +97 -0
- package/docs/interfaces/Ketch.html +735 -0
- package/docs/interfaces/Loaded.html +73 -0
- package/docs/interfaces/Modal.html +176 -0
- package/docs/interfaces/Organization.html +71 -0
- package/docs/interfaces/OverviewTab.html +99 -0
- package/docs/interfaces/PluginClass.html +354 -0
- package/docs/interfaces/PolicyDocument.html +85 -0
- package/docs/interfaces/PreferenceExperience.html +120 -0
- package/docs/interfaces/Property.html +92 -0
- package/docs/interfaces/Purpose.html +179 -0
- package/docs/interfaces/PurposeAllowed.html +78 -0
- package/docs/interfaces/PurposeAllowedLegalBasis.html +78 -0
- package/docs/interfaces/PurposeLegalBasis.html +78 -0
- package/docs/interfaces/Pusher.html +83 -0
- package/docs/interfaces/Recaptcha.html +73 -0
- package/docs/interfaces/Right.html +95 -0
- package/docs/interfaces/RightsTab.html +106 -0
- package/docs/interfaces/SetConsentRequest.html +144 -0
- package/docs/interfaces/Stack.html +82 -0
- package/docs/interfaces/StorageProvider.html +117 -0
- package/docs/interfaces/Theme.html +262 -0
- package/docs/interfaces/Vendor.html +134 -0
- package/docs/interfaces/VendorPurpose.html +78 -0
- package/docs/interfaces/WebReportRequest.html +104 -0
- package/docs/modules.html +218 -0
- package/docs/types/Callback.html +141 -0
- package/docs/types/Consent.html +135 -0
- package/docs/types/Identities.html +133 -0
- package/docs/types/IdentityProvider.html +136 -0
- package/docs/types/InvokeRightEvent.html +137 -0
- package/docs/types/Plugin.html +128 -0
- package/docs/types/PluginFunction.html +143 -0
- package/docs/types/PurposeCategory.html +139 -0
- package/docs/types/ShowConsentOptions.html +135 -0
- package/docs/types/ShowPreferenceOptions.html +149 -0
- package/docs/types/Status.html +133 -0
- package/docs/types/Tab.html +128 -0
- package/docs/types/TabTuple.html +128 -0
- package/docs/variables/ALL_TABS.html +128 -0
- package/jest.config.js +174 -0
- package/package.json +1 -1
- package/src/index.ts +1339 -0
- package/tsconfig.json +8 -3
- package/tsfmt.json +19 -0
- package/dist/index.d.ts +0 -1137
- package/dist/index.js +0 -1
- package/test-reports/coverage/clover.xml +0 -6
- package/test-reports/coverage/coverage-final.json +0 -1
- package/test-reports/coverage/lcov-report/base.css +0 -224
- package/test-reports/coverage/lcov-report/block-navigation.js +0 -87
- package/test-reports/coverage/lcov-report/favicon.png +0 -0
- package/test-reports/coverage/lcov-report/index.html +0 -101
- package/test-reports/coverage/lcov-report/prettify.css +0 -1
- package/test-reports/coverage/lcov-report/prettify.js +0 -2
- package/test-reports/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/test-reports/coverage/lcov-report/sorter.js +0 -196
- package/test-reports/coverage/lcov.info +0 -0
- package/test-reports/junit/junit.xml +0 -3
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ALL_TABS | @ketch-sdk/ketch-types</title><meta name="description" content="Documentation for @ketch-sdk/ketch-types"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
7
|
+
<ul class="results">
|
|
8
|
+
<li class="state loading">Preparing search index...</li>
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@ketch-sdk/ketch-types</a></div>
|
|
10
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
|
+
<div class="container container-main">
|
|
12
|
+
<div class="col-8 col-content">
|
|
13
|
+
<div class="tsd-page-title">
|
|
14
|
+
<ul class="tsd-breadcrumb">
|
|
15
|
+
<li><a href="../modules.html">@ketch-sdk/ketch-types</a></li>
|
|
16
|
+
<li><a href="ALL_TABS.html">ALL_TABS</a></li></ul>
|
|
17
|
+
<h1>Variable ALL_TABS<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
|
+
<div class="tsd-signature">ALL_<wbr/>TABS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">readonly </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">"overviewTab"</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"rightsTab"</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"consentsTab"</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
19
|
+
<div class="tsd-comment tsd-typography"><p>All Tabs</p>
|
|
20
|
+
</div><aside class="tsd-sources">
|
|
21
|
+
<ul>
|
|
22
|
+
<li>Defined in <a href="https://github.com/ketch-sdk/ketch-types/blob/8ea4e19/src/index.ts#L27">index.ts:27</a></li></ul></aside></div>
|
|
23
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
24
|
+
<div class="tsd-navigation settings">
|
|
25
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
26
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
|
27
|
+
<div class="tsd-accordion-details">
|
|
28
|
+
<div class="tsd-filter-visibility">
|
|
29
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
30
|
+
<ul id="tsd-filter-options">
|
|
31
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
32
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
|
|
33
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
34
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
|
|
35
|
+
<div class="tsd-theme-toggle">
|
|
36
|
+
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
37
|
+
<nav class="tsd-navigation primary">
|
|
38
|
+
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
|
39
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
40
|
+
<div class="tsd-accordion-details">
|
|
41
|
+
<ul>
|
|
42
|
+
<li><a href="../modules.html">@ketch-<wbr/>sdk/ketch-<wbr/>types</a>
|
|
43
|
+
<ul></ul></li></ul></div></details></nav>
|
|
44
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
45
|
+
<ul>
|
|
46
|
+
<li class="tsd-kind-enum"><a href="../enums/BannerPosition.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Banner<wbr/>Position</a></li>
|
|
47
|
+
<li class="tsd-kind-enum"><a href="../enums/ConsentExperienceType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Consent<wbr/>Experience<wbr/>Type</a></li>
|
|
48
|
+
<li class="tsd-kind-enum"><a href="../enums/CookieCategory.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Cookie<wbr/>Category</a></li>
|
|
49
|
+
<li class="tsd-kind-enum"><a href="../enums/CookieDuration.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Cookie<wbr/>Duration</a></li>
|
|
50
|
+
<li class="tsd-kind-enum"><a href="../enums/CookieProvenance.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Cookie<wbr/>Provenance</a></li>
|
|
51
|
+
<li class="tsd-kind-enum"><a href="../enums/ExperienceButtonDestination.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Experience<wbr/>Button<wbr/>Destination</a></li>
|
|
52
|
+
<li class="tsd-kind-enum"><a href="../enums/ExperienceClosedReason.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Experience<wbr/>Closed<wbr/>Reason</a></li>
|
|
53
|
+
<li class="tsd-kind-enum"><a href="../enums/ExperienceDefault.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Experience<wbr/>Default</a></li>
|
|
54
|
+
<li class="tsd-kind-enum"><a href="../enums/ExperiencePrimaryButtonAction.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Experience<wbr/>Primary<wbr/>Button<wbr/>Action</a></li>
|
|
55
|
+
<li class="tsd-kind-enum"><a href="../enums/ExperienceType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Experience<wbr/>Type</a></li>
|
|
56
|
+
<li class="tsd-kind-enum"><a href="../enums/IdentityFormat.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Identity<wbr/>Format</a></li>
|
|
57
|
+
<li class="tsd-kind-enum"><a href="../enums/IdentityType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Identity<wbr/>Type</a></li>
|
|
58
|
+
<li class="tsd-kind-enum"><a href="../enums/MigrationOption.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Migration<wbr/>Option</a></li>
|
|
59
|
+
<li class="tsd-kind-enum"><a href="../enums/ModalPosition.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Modal<wbr/>Position</a></li>
|
|
60
|
+
<li class="tsd-kind-enum"><a href="../enums/SwitchTextRenderLogic.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Switch<wbr/>Text<wbr/>Render<wbr/>Logic</a></li>
|
|
61
|
+
<li class="tsd-kind-interface"><a href="../interfaces/AppDiv.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>App<wbr/>Div</a></li>
|
|
62
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Banner.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Banner</a></li>
|
|
63
|
+
<li class="tsd-kind-interface"><a href="../interfaces/CanonicalPurpose.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Canonical<wbr/>Purpose</a></li>
|
|
64
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Configuration.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Configuration</a></li>
|
|
65
|
+
<li class="tsd-kind-interface"><a href="../interfaces/ConsentExperience.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Consent<wbr/>Experience</a></li>
|
|
66
|
+
<li class="tsd-kind-interface"><a href="../interfaces/ConsentsTab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Consents<wbr/>Tab</a></li>
|
|
67
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Cookie.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Cookie</a></li>
|
|
68
|
+
<li class="tsd-kind-interface"><a href="../interfaces/DataSubject.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Data<wbr/>Subject</a></li>
|
|
69
|
+
<li class="tsd-kind-interface"><a href="../interfaces/DataSubjectType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Data<wbr/>Subject<wbr/>Type</a></li>
|
|
70
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Deployment.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Deployment</a></li>
|
|
71
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Environment.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Environment</a></li>
|
|
72
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Experience.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Experience</a></li>
|
|
73
|
+
<li class="tsd-kind-interface"><a href="../interfaces/GetBootstrapConfigurationRequest.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Get<wbr/>Bootstrap<wbr/>Configuration<wbr/>Request</a></li>
|
|
74
|
+
<li class="tsd-kind-interface"><a href="../interfaces/GetConsentRequest.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Get<wbr/>Consent<wbr/>Request</a></li>
|
|
75
|
+
<li class="tsd-kind-interface"><a href="../interfaces/GetConsentResponse.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Get<wbr/>Consent<wbr/>Response</a></li>
|
|
76
|
+
<li class="tsd-kind-interface"><a href="../interfaces/GetFullConfigurationRequest.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Get<wbr/>Full<wbr/>Configuration<wbr/>Request</a></li>
|
|
77
|
+
<li class="tsd-kind-interface"><a href="../interfaces/GetLocationRequest.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Get<wbr/>Location<wbr/>Request</a></li>
|
|
78
|
+
<li class="tsd-kind-interface"><a href="../interfaces/GetLocationResponse.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Get<wbr/>Location<wbr/>Response</a></li>
|
|
79
|
+
<li class="tsd-kind-interface"><a href="../interfaces/GetPreferenceQRRequest.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Get<wbr/>PreferenceQRRequest</a></li>
|
|
80
|
+
<li class="tsd-kind-interface"><a href="../interfaces/IPInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>IPInfo</a></li>
|
|
81
|
+
<li class="tsd-kind-interface"><a href="../interfaces/IPLanguage.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>IPLanguage</a></li>
|
|
82
|
+
<li class="tsd-kind-interface"><a href="../interfaces/IPLocation.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>IPLocation</a></li>
|
|
83
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Identity.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Identity</a></li>
|
|
84
|
+
<li class="tsd-kind-interface"><a href="../interfaces/InvokeRightRequest.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Invoke<wbr/>Right<wbr/>Request</a></li>
|
|
85
|
+
<li class="tsd-kind-interface"><a href="../interfaces/JIT.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>JIT</a></li>
|
|
86
|
+
<li class="tsd-kind-interface"><a href="../interfaces/JurisdictionInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Jurisdiction<wbr/>Info</a></li>
|
|
87
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Ketch.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Ketch</a></li>
|
|
88
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Loaded.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Loaded</a></li>
|
|
89
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Modal.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Modal</a></li>
|
|
90
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Organization.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Organization</a></li>
|
|
91
|
+
<li class="tsd-kind-interface"><a href="../interfaces/OverviewTab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Overview<wbr/>Tab</a></li>
|
|
92
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PluginClass.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Plugin<wbr/>Class</a></li>
|
|
93
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PolicyDocument.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Policy<wbr/>Document</a></li>
|
|
94
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PreferenceExperience.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Preference<wbr/>Experience</a></li>
|
|
95
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Property.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Property</a></li>
|
|
96
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Purpose.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Purpose</a></li>
|
|
97
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PurposeAllowed.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Purpose<wbr/>Allowed</a></li>
|
|
98
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PurposeAllowedLegalBasis.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Purpose<wbr/>Allowed<wbr/>Legal<wbr/>Basis</a></li>
|
|
99
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PurposeLegalBasis.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Purpose<wbr/>Legal<wbr/>Basis</a></li>
|
|
100
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Pusher.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pusher</a></li>
|
|
101
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Recaptcha.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Recaptcha</a></li>
|
|
102
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Right.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Right</a></li>
|
|
103
|
+
<li class="tsd-kind-interface"><a href="../interfaces/RightsTab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Rights<wbr/>Tab</a></li>
|
|
104
|
+
<li class="tsd-kind-interface"><a href="../interfaces/SetConsentRequest.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Set<wbr/>Consent<wbr/>Request</a></li>
|
|
105
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Stack.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Stack</a></li>
|
|
106
|
+
<li class="tsd-kind-interface"><a href="../interfaces/StorageProvider.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Storage<wbr/>Provider</a></li>
|
|
107
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Theme.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Theme</a></li>
|
|
108
|
+
<li class="tsd-kind-interface"><a href="../interfaces/Vendor.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Vendor</a></li>
|
|
109
|
+
<li class="tsd-kind-interface"><a href="../interfaces/VendorPurpose.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Vendor<wbr/>Purpose</a></li>
|
|
110
|
+
<li class="tsd-kind-interface"><a href="../interfaces/WebReportRequest.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Web<wbr/>Report<wbr/>Request</a></li>
|
|
111
|
+
<li class="tsd-kind-type-alias"><a href="../types/Callback.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>Callback</a></li>
|
|
112
|
+
<li class="tsd-kind-type-alias"><a href="../types/Consent.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Consent</a></li>
|
|
113
|
+
<li class="tsd-kind-type-alias"><a href="../types/Identities.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Identities</a></li>
|
|
114
|
+
<li class="tsd-kind-type-alias"><a href="../types/IdentityProvider.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Identity<wbr/>Provider</a></li>
|
|
115
|
+
<li class="tsd-kind-type-alias"><a href="../types/InvokeRightEvent.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Invoke<wbr/>Right<wbr/>Event</a></li>
|
|
116
|
+
<li class="tsd-kind-type-alias"><a href="../types/Plugin.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Plugin</a></li>
|
|
117
|
+
<li class="tsd-kind-type-alias"><a href="../types/PluginFunction.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Plugin<wbr/>Function</a></li>
|
|
118
|
+
<li class="tsd-kind-type-alias"><a href="../types/PurposeCategory.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Purpose<wbr/>Category</a></li>
|
|
119
|
+
<li class="tsd-kind-type-alias"><a href="../types/ShowConsentOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Show<wbr/>Consent<wbr/>Options</a></li>
|
|
120
|
+
<li class="tsd-kind-type-alias"><a href="../types/ShowPreferenceOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Show<wbr/>Preference<wbr/>Options</a></li>
|
|
121
|
+
<li class="tsd-kind-type-alias"><a href="../types/Status.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Status</a></li>
|
|
122
|
+
<li class="tsd-kind-type-alias"><a href="../types/Tab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tab</a></li>
|
|
123
|
+
<li class="tsd-kind-type-alias"><a href="../types/TabTuple.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Tab<wbr/>Tuple</a></li>
|
|
124
|
+
<li class="current tsd-kind-variable"><a href="ALL_TABS.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg>ALL_<wbr/>TABS</a></li>
|
|
125
|
+
<li class="tsd-kind-function"><a href="../functions/isTab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>is<wbr/>Tab</a></li></ul></nav></div></div>
|
|
126
|
+
<div class="container tsd-generator">
|
|
127
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
128
|
+
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
package/jest.config.js
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
// For a detailed explanation regarding each configuration property, visit:
|
|
2
|
+
// https://jestjs.io/docs/en/configuration.html
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
// All imported modules in your tests should be mocked automatically
|
|
6
|
+
// automock: false,
|
|
7
|
+
|
|
8
|
+
// Stop running tests after `n` failures
|
|
9
|
+
// bail: 0,
|
|
10
|
+
|
|
11
|
+
// Automatically clear mock calls and instances between every test
|
|
12
|
+
clearMocks: true,
|
|
13
|
+
|
|
14
|
+
// Indicates whether the coverage information should be collected while executing the test
|
|
15
|
+
collectCoverage: true,
|
|
16
|
+
|
|
17
|
+
// An array of glob patterns indicating a set of files for which coverage information should be collected
|
|
18
|
+
collectCoverageFrom: ['src/**/*.ts'],
|
|
19
|
+
|
|
20
|
+
// The directory where Jest should output its coverage files
|
|
21
|
+
coverageDirectory: './test-reports/coverage',
|
|
22
|
+
|
|
23
|
+
// An array of regexp pattern strings used to skip coverage collection
|
|
24
|
+
coveragePathIgnorePatterns: ['/node_modules/', 'src/lib/'],
|
|
25
|
+
|
|
26
|
+
// A list of reporter names that Jest uses when writing coverage reports
|
|
27
|
+
coverageReporters: ['json', 'text', 'lcov', 'clover'],
|
|
28
|
+
|
|
29
|
+
// An object that configures minimum threshold enforcement for coverage results
|
|
30
|
+
coverageThreshold: {
|
|
31
|
+
global: {
|
|
32
|
+
branches: 79,
|
|
33
|
+
functions: 80,
|
|
34
|
+
lines: 87,
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
// A path to a custom dependency extractor
|
|
39
|
+
// dependencyExtractor: null,
|
|
40
|
+
|
|
41
|
+
// Make calling deprecated APIs throw helpful error messages
|
|
42
|
+
errorOnDeprecated: false,
|
|
43
|
+
|
|
44
|
+
// Force coverage collection from ignored files using an array of glob patterns
|
|
45
|
+
// forceCoverageMatch: [],
|
|
46
|
+
|
|
47
|
+
// A path to a module which exports an async function that is triggered once before all test suites
|
|
48
|
+
// globalSetup: null,
|
|
49
|
+
|
|
50
|
+
// A path to a module which exports an async function that is triggered once after all test suites
|
|
51
|
+
// globalTeardown: null,
|
|
52
|
+
|
|
53
|
+
// A set of global variables that need to be available in all test environments
|
|
54
|
+
globals: {
|
|
55
|
+
_VERSION: true,
|
|
56
|
+
},
|
|
57
|
+
|
|
58
|
+
// An array of directory names to be searched recursively up from the requiring module's location
|
|
59
|
+
moduleDirectories: ['node_modules'],
|
|
60
|
+
|
|
61
|
+
// An array of file extensions your modules use
|
|
62
|
+
moduleFileExtensions: ['ts', 'js', 'json'],
|
|
63
|
+
|
|
64
|
+
// A map from regular expressions to module names that allow to stub out resources with a single module
|
|
65
|
+
// moduleNameMapper: {},
|
|
66
|
+
|
|
67
|
+
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
|
|
68
|
+
// modulePathIgnorePatterns: [],
|
|
69
|
+
|
|
70
|
+
// Activates notifications for test results
|
|
71
|
+
// notify: false,
|
|
72
|
+
|
|
73
|
+
// An enum that specifies notification mode. Requires { notify: true }
|
|
74
|
+
// notifyMode: "failure-change",
|
|
75
|
+
|
|
76
|
+
// A preset that is used as a base for Jest's configuration
|
|
77
|
+
preset: 'ts-jest',
|
|
78
|
+
|
|
79
|
+
// Run tests from one or more projects
|
|
80
|
+
// projects: null,
|
|
81
|
+
|
|
82
|
+
// Use this configuration option to add custom reporters to Jest
|
|
83
|
+
reporters: [
|
|
84
|
+
'default',
|
|
85
|
+
[
|
|
86
|
+
'jest-junit',
|
|
87
|
+
{
|
|
88
|
+
outputDirectory: './test-reports/junit',
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
],
|
|
92
|
+
|
|
93
|
+
// Automatically reset mock state between every test
|
|
94
|
+
resetMocks: true,
|
|
95
|
+
|
|
96
|
+
// Reset the module registry before running each individual test
|
|
97
|
+
// resetModules: false,
|
|
98
|
+
|
|
99
|
+
// A path to a custom resolver
|
|
100
|
+
// resolver: null,
|
|
101
|
+
|
|
102
|
+
// Automatically restore mock state between every test
|
|
103
|
+
// restoreMocks: false,
|
|
104
|
+
|
|
105
|
+
// The root directory that Jest should scan for tests and modules within
|
|
106
|
+
rootDir: '.',
|
|
107
|
+
|
|
108
|
+
// A list of paths to directories that Jest should use to search for files in
|
|
109
|
+
// roots: ['./src'],
|
|
110
|
+
|
|
111
|
+
// Allows you to use a custom runner instead of Jest's default test runner
|
|
112
|
+
// runner: "jest-runner",
|
|
113
|
+
|
|
114
|
+
// The paths to modules that run some code to configure or set up the testing environment before each test
|
|
115
|
+
// setupFiles: [],
|
|
116
|
+
|
|
117
|
+
// A list of paths to modules that run some code to configure or set up the testing framework before each test
|
|
118
|
+
// setupFilesAfterEnv: [],
|
|
119
|
+
|
|
120
|
+
// A list of paths to snapshot serializer modules Jest should use for snapshot testing
|
|
121
|
+
// snapshotSerializers: [],
|
|
122
|
+
|
|
123
|
+
// The test environment that will be used for testing
|
|
124
|
+
testEnvironment: 'jest-environment-jsdom',
|
|
125
|
+
|
|
126
|
+
// Options that will be passed to the testEnvironment
|
|
127
|
+
// testEnvironmentOptions: {},
|
|
128
|
+
|
|
129
|
+
// Adds a location field to test results
|
|
130
|
+
// testLocationInResults: false,
|
|
131
|
+
|
|
132
|
+
// The glob patterns Jest uses to detect test files
|
|
133
|
+
testMatch: [
|
|
134
|
+
"**/*.(spec|test).ts"
|
|
135
|
+
],
|
|
136
|
+
|
|
137
|
+
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
|
|
138
|
+
testPathIgnorePatterns: ['/node_modules/'],
|
|
139
|
+
|
|
140
|
+
// The regexp pattern or array of patterns that Jest uses to detect test files
|
|
141
|
+
// testRegex: [],
|
|
142
|
+
|
|
143
|
+
// This option allows the use of a custom results processor
|
|
144
|
+
// testResultsProcessor: "jest-junit",
|
|
145
|
+
|
|
146
|
+
// This option allows use of a custom test runner
|
|
147
|
+
// testRunner: "jasmine2",
|
|
148
|
+
|
|
149
|
+
// This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
|
|
150
|
+
// testURL: "http://localhost",
|
|
151
|
+
|
|
152
|
+
// Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout"
|
|
153
|
+
// timers: "real",
|
|
154
|
+
|
|
155
|
+
// A map from regular expressions to paths to transformers
|
|
156
|
+
// transform: null,
|
|
157
|
+
|
|
158
|
+
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
|
|
159
|
+
"transformIgnorePatterns": [
|
|
160
|
+
"node_modules/(?!@ngrx|(?!deck.gl)|ng-dynamic)"
|
|
161
|
+
],
|
|
162
|
+
|
|
163
|
+
// An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
|
|
164
|
+
// unmockedModulePathPatterns: undefined,
|
|
165
|
+
|
|
166
|
+
// Indicates whether each individual test should be reported during the run
|
|
167
|
+
// verbose: null,
|
|
168
|
+
|
|
169
|
+
// An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
|
|
170
|
+
// watchPathIgnorePatterns: [],
|
|
171
|
+
|
|
172
|
+
// Whether to use watchman for file crawling
|
|
173
|
+
// watchman: true,
|
|
174
|
+
};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@ketch-sdk/ketch-types", "version": "1.
|
|
1
|
+
{"name": "@ketch-sdk/ketch-types", "version": "1.4.1", "description": "Ketch Types", "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": {"all": "npm run lint && npm run format-check && npm run test && npm run build && npm run docs", "build": "tsc -p .", "lint": "eslint src/**/*.ts", "test": "jest --runInBand --passWithNoTests", "format": "prettier --write \"**/*.{ts,tsx,yml,yaml}\"", "format-check": "prettier --check '**/*.ts'", "docs": "typedoc --githubPages true --excludeInternal src/index.ts"}, "repository": {"type": "git", "url": "git+https://github.com/ketch-sdk/ketch-types.git"}, "author": "Ketch Kloud, Inc. (https://www.ketch.com/)", "license": "MIT", "homepage": "https://github.com/ketch-sdk/ketch-types", "bugs": {"url": "https://github.com/ketch-sdk/ketch-types/issues"}, "devDependencies": {"@jest/globals": "^29.3.1", "@types/jest": "^29.2.5", "@typescript-eslint/eslint-plugin": "^5.48.0", "@typescript-eslint/parser": "^5.48.0", "eslint": "^8.31.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.2.0", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.3.1", "jest-environment-jsdom": "^29.3.1", "jest-junit": "^15.0.0", "prettier": "^2.8.1", "ts-jest": "^29.0.3", "typedoc": "^0.23.23", "typescript": "^4.9.4"}}
|