@tantainnovative/ndpr-toolkit 1.0.4 → 1.0.5

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 (132) hide show
  1. package/eslint.config.mjs +16 -0
  2. package/next.config.js +15 -0
  3. package/next.config.ts +62 -0
  4. package/package.json +1 -1
  5. package/packages/ndpr-toolkit/README.md +467 -0
  6. package/packages/ndpr-toolkit/dist/components/breach/BreachNotificationManager.d.ts +62 -0
  7. package/packages/ndpr-toolkit/dist/components/breach/BreachReportForm.d.ts +66 -0
  8. package/packages/ndpr-toolkit/dist/components/breach/BreachRiskAssessment.d.ts +50 -0
  9. package/packages/ndpr-toolkit/dist/components/breach/RegulatoryReportGenerator.d.ts +94 -0
  10. package/packages/ndpr-toolkit/dist/components/consent/ConsentBanner.d.ts +79 -0
  11. package/packages/ndpr-toolkit/dist/components/consent/ConsentManager.d.ts +73 -0
  12. package/packages/ndpr-toolkit/dist/components/consent/ConsentStorage.d.ts +41 -0
  13. package/packages/ndpr-toolkit/dist/components/dpia/DPIAQuestionnaire.d.ts +70 -0
  14. package/packages/ndpr-toolkit/dist/components/dpia/DPIAReport.d.ts +40 -0
  15. package/packages/ndpr-toolkit/dist/components/dpia/StepIndicator.d.ts +64 -0
  16. package/packages/ndpr-toolkit/dist/components/dsr/DSRDashboard.d.ts +58 -0
  17. package/packages/ndpr-toolkit/dist/components/dsr/DSRRequestForm.d.ts +74 -0
  18. package/packages/ndpr-toolkit/dist/components/dsr/DSRTracker.d.ts +56 -0
  19. package/packages/ndpr-toolkit/dist/components/policy/PolicyExporter.d.ts +65 -0
  20. package/packages/ndpr-toolkit/dist/components/policy/PolicyGenerator.d.ts +54 -0
  21. package/packages/ndpr-toolkit/dist/components/policy/PolicyPreview.d.ts +71 -0
  22. package/packages/ndpr-toolkit/dist/hooks/useBreach.d.ts +97 -0
  23. package/packages/ndpr-toolkit/dist/hooks/useConsent.d.ts +63 -0
  24. package/packages/ndpr-toolkit/dist/hooks/useDPIA.d.ts +92 -0
  25. package/packages/ndpr-toolkit/dist/hooks/useDSR.d.ts +72 -0
  26. package/packages/ndpr-toolkit/dist/hooks/usePrivacyPolicy.d.ts +87 -0
  27. package/packages/ndpr-toolkit/dist/index.d.ts +31 -0
  28. package/packages/ndpr-toolkit/dist/index.esm.js +2 -0
  29. package/packages/ndpr-toolkit/dist/index.esm.js.map +1 -0
  30. package/packages/ndpr-toolkit/dist/index.js +2 -0
  31. package/packages/ndpr-toolkit/dist/index.js.map +1 -0
  32. package/packages/ndpr-toolkit/dist/setupTests.d.ts +2 -0
  33. package/packages/ndpr-toolkit/dist/types/breach.d.ts +239 -0
  34. package/packages/ndpr-toolkit/dist/types/consent.d.ts +95 -0
  35. package/packages/ndpr-toolkit/dist/types/dpia.d.ts +196 -0
  36. package/packages/ndpr-toolkit/dist/types/dsr.d.ts +162 -0
  37. package/packages/ndpr-toolkit/dist/types/privacy.d.ts +204 -0
  38. package/packages/ndpr-toolkit/dist/utils/breach.d.ts +14 -0
  39. package/packages/ndpr-toolkit/dist/utils/consent.d.ts +10 -0
  40. package/packages/ndpr-toolkit/dist/utils/dpia.d.ts +12 -0
  41. package/packages/ndpr-toolkit/dist/utils/dsr.d.ts +11 -0
  42. package/packages/ndpr-toolkit/dist/utils/privacy.d.ts +12 -0
  43. package/packages/ndpr-toolkit/package-lock.json +8197 -0
  44. package/packages/ndpr-toolkit/package.json +71 -0
  45. package/packages/ndpr-toolkit/rollup.config.js +34 -0
  46. package/packages/ndpr-toolkit/src/components/breach/BreachNotificationManager.tsx +701 -0
  47. package/packages/ndpr-toolkit/src/components/breach/BreachReportForm.tsx +631 -0
  48. package/packages/ndpr-toolkit/src/components/breach/BreachRiskAssessment.tsx +569 -0
  49. package/packages/ndpr-toolkit/src/components/breach/RegulatoryReportGenerator.tsx +496 -0
  50. package/packages/ndpr-toolkit/src/components/consent/ConsentBanner.tsx +270 -0
  51. package/packages/ndpr-toolkit/src/components/consent/ConsentManager.tsx +217 -0
  52. package/packages/ndpr-toolkit/src/components/consent/ConsentStorage.tsx +206 -0
  53. package/packages/ndpr-toolkit/src/components/dpia/DPIAQuestionnaire.tsx +342 -0
  54. package/packages/ndpr-toolkit/src/components/dpia/DPIAReport.tsx +373 -0
  55. package/packages/ndpr-toolkit/src/components/dpia/StepIndicator.tsx +174 -0
  56. package/packages/ndpr-toolkit/src/components/dsr/DSRDashboard.tsx +717 -0
  57. package/packages/ndpr-toolkit/src/components/dsr/DSRRequestForm.tsx +476 -0
  58. package/packages/ndpr-toolkit/src/components/dsr/DSRTracker.tsx +620 -0
  59. package/packages/ndpr-toolkit/src/components/policy/PolicyExporter.tsx +541 -0
  60. package/packages/ndpr-toolkit/src/components/policy/PolicyGenerator.tsx +454 -0
  61. package/packages/ndpr-toolkit/src/components/policy/PolicyPreview.tsx +333 -0
  62. package/packages/ndpr-toolkit/src/hooks/useBreach.ts +409 -0
  63. package/packages/ndpr-toolkit/src/hooks/useConsent.ts +263 -0
  64. package/packages/ndpr-toolkit/src/hooks/useDPIA.ts +457 -0
  65. package/packages/ndpr-toolkit/src/hooks/useDSR.ts +236 -0
  66. package/packages/ndpr-toolkit/src/hooks/usePrivacyPolicy.ts +428 -0
  67. package/packages/ndpr-toolkit/src/index.ts +44 -0
  68. package/packages/ndpr-toolkit/src/setupTests.ts +5 -0
  69. package/packages/ndpr-toolkit/src/types/breach.ts +283 -0
  70. package/packages/ndpr-toolkit/src/types/consent.ts +111 -0
  71. package/packages/ndpr-toolkit/src/types/dpia.ts +236 -0
  72. package/packages/ndpr-toolkit/src/types/dsr.ts +192 -0
  73. package/packages/ndpr-toolkit/src/types/index.ts +42 -0
  74. package/packages/ndpr-toolkit/src/types/privacy.ts +246 -0
  75. package/packages/ndpr-toolkit/src/utils/breach.ts +122 -0
  76. package/packages/ndpr-toolkit/src/utils/consent.ts +51 -0
  77. package/packages/ndpr-toolkit/src/utils/dpia.ts +104 -0
  78. package/packages/ndpr-toolkit/src/utils/dsr.ts +77 -0
  79. package/packages/ndpr-toolkit/src/utils/privacy.ts +100 -0
  80. package/packages/ndpr-toolkit/tsconfig.json +23 -0
  81. package/postcss.config.mjs +5 -0
  82. package/src/app/accessibility.css +70 -0
  83. package/src/app/favicon.ico +0 -0
  84. package/src/app/globals.css +123 -0
  85. package/src/app/layout.tsx +37 -0
  86. package/src/app/ndpr-demos/breach/page.tsx +354 -0
  87. package/src/app/ndpr-demos/consent/page.tsx +366 -0
  88. package/src/app/ndpr-demos/dpia/page.tsx +495 -0
  89. package/src/app/ndpr-demos/dsr/page.tsx +280 -0
  90. package/src/app/ndpr-demos/page.tsx +73 -0
  91. package/src/app/ndpr-demos/policy/page.tsx +771 -0
  92. package/src/app/page.tsx +452 -0
  93. package/src/components/ErrorBoundary.tsx +90 -0
  94. package/src/components/breach-notification/BreachNotificationForm.tsx +479 -0
  95. package/src/components/consent/ConsentBanner.tsx +193 -0
  96. package/src/components/data-subject-rights/DataSubjectRequestForm.tsx +530 -0
  97. package/src/components/dpia/DPIAQuestionnaire.tsx +523 -0
  98. package/src/components/privacy-policy/PolicyGenerator.tsx +1062 -0
  99. package/src/components/privacy-policy/data.ts +98 -0
  100. package/src/components/privacy-policy/shared/CheckboxField.tsx +38 -0
  101. package/src/components/privacy-policy/shared/CheckboxGroup.tsx +85 -0
  102. package/src/components/privacy-policy/shared/FormField.tsx +79 -0
  103. package/src/components/privacy-policy/shared/StepIndicator.tsx +86 -0
  104. package/src/components/privacy-policy/steps/CustomSectionsStep.tsx +361 -0
  105. package/src/components/privacy-policy/steps/DataCollectionStep.tsx +231 -0
  106. package/src/components/privacy-policy/steps/DataSharingStep.tsx +418 -0
  107. package/src/components/privacy-policy/steps/OrganizationInfoStep.tsx +202 -0
  108. package/src/components/privacy-policy/steps/PolicyPreviewStep.tsx +226 -0
  109. package/src/components/ui/Badge.tsx +46 -0
  110. package/src/components/ui/Button.tsx +59 -0
  111. package/src/components/ui/Card.tsx +92 -0
  112. package/src/components/ui/Checkbox.tsx +57 -0
  113. package/src/components/ui/FormField.tsx +50 -0
  114. package/src/components/ui/Input.tsx +38 -0
  115. package/src/components/ui/Loading.tsx +201 -0
  116. package/src/components/ui/Select.tsx +42 -0
  117. package/src/components/ui/TextArea.tsx +38 -0
  118. package/src/components/ui/label.tsx +24 -0
  119. package/src/components/ui/switch.tsx +31 -0
  120. package/src/components/ui/tabs.tsx +66 -0
  121. package/src/hooks/useConsent.ts +70 -0
  122. package/src/hooks/useLoadingState.ts +85 -0
  123. package/src/lib/consentService.ts +144 -0
  124. package/src/lib/dpiaQuestions.ts +188 -0
  125. package/src/lib/requestService.ts +79 -0
  126. package/src/lib/sanitize.ts +108 -0
  127. package/src/lib/storage.ts +222 -0
  128. package/src/lib/utils.ts +6 -0
  129. package/src/types/html-to-docx.d.ts +30 -0
  130. package/src/types/index.ts +77 -0
  131. package/tailwind.config.ts +65 -0
  132. package/tsconfig.json +41 -0
@@ -0,0 +1,222 @@
1
+ "use client";
2
+
3
+ /**
4
+ * Safe localStorage wrapper with error handling
5
+ */
6
+ export class SafeStorage {
7
+ private static isStorageAvailable(): boolean {
8
+ if (typeof window === "undefined") return false;
9
+
10
+ try {
11
+ const testKey = "__storage_test__";
12
+ window.localStorage.setItem(testKey, "test");
13
+ window.localStorage.removeItem(testKey);
14
+ return true;
15
+ } catch {
16
+ return false;
17
+ }
18
+ }
19
+
20
+ static getItem<T = unknown>(key: string, defaultValue?: T): T | null {
21
+ if (!this.isStorageAvailable()) {
22
+ console.warn("localStorage is not available");
23
+ return defaultValue ?? null;
24
+ }
25
+
26
+ try {
27
+ const item = window.localStorage.getItem(key);
28
+ if (item === null) return defaultValue ?? null;
29
+
30
+ // Try to parse as JSON, otherwise return as string
31
+ try {
32
+ return JSON.parse(item) as T;
33
+ } catch {
34
+ return item as unknown as T;
35
+ }
36
+ } catch (error) {
37
+ console.error(`Error reading from localStorage: ${key}`, error);
38
+ return defaultValue ?? null;
39
+ }
40
+ }
41
+
42
+ static setItem(key: string, value: unknown): boolean {
43
+ if (!this.isStorageAvailable()) {
44
+ console.warn("localStorage is not available");
45
+ return false;
46
+ }
47
+
48
+ try {
49
+ const serialized =
50
+ typeof value === "string" ? value : JSON.stringify(value);
51
+ window.localStorage.setItem(key, serialized);
52
+ return true;
53
+ } catch (error) {
54
+ if (error instanceof Error) {
55
+ if (error.name === "QuotaExceededError") {
56
+ console.error("localStorage quota exceeded");
57
+ // Try to clear old data
58
+ this.clearOldData();
59
+ // Retry once
60
+ try {
61
+ const serialized =
62
+ typeof value === "string" ? value : JSON.stringify(value);
63
+ window.localStorage.setItem(key, serialized);
64
+ return true;
65
+ } catch {
66
+ console.error("Failed to save after clearing old data");
67
+ return false;
68
+ }
69
+ }
70
+ }
71
+ console.error(`Error writing to localStorage: ${key}`, error);
72
+ return false;
73
+ }
74
+ }
75
+
76
+ static removeItem(key: string): boolean {
77
+ if (!this.isStorageAvailable()) {
78
+ console.warn("localStorage is not available");
79
+ return false;
80
+ }
81
+
82
+ try {
83
+ window.localStorage.removeItem(key);
84
+ return true;
85
+ } catch (error) {
86
+ console.error(`Error removing from localStorage: ${key}`, error);
87
+ return false;
88
+ }
89
+ }
90
+
91
+ static clear(): boolean {
92
+ if (!this.isStorageAvailable()) {
93
+ console.warn("localStorage is not available");
94
+ return false;
95
+ }
96
+
97
+ try {
98
+ window.localStorage.clear();
99
+ return true;
100
+ } catch (error) {
101
+ console.error("Error clearing localStorage", error);
102
+ return false;
103
+ }
104
+ }
105
+
106
+ /**
107
+ * Get storage size in bytes
108
+ */
109
+ static getStorageSize(): number {
110
+ if (!this.isStorageAvailable()) return 0;
111
+
112
+ let size = 0;
113
+ try {
114
+ for (const key in window.localStorage) {
115
+ if (window.localStorage.hasOwnProperty(key)) {
116
+ size += window.localStorage[key].length + key.length;
117
+ }
118
+ }
119
+ } catch (error) {
120
+ console.error("Error calculating storage size", error);
121
+ }
122
+ return size;
123
+ }
124
+
125
+ /**
126
+ * Clear old data based on timestamp
127
+ * Removes items older than specified days
128
+ */
129
+ static clearOldData(daysOld: number = 30): void {
130
+ if (!this.isStorageAvailable()) return;
131
+
132
+ const cutoffTime = Date.now() - daysOld * 24 * 60 * 60 * 1000;
133
+ const keysToRemove: string[] = [];
134
+
135
+ try {
136
+ for (const key in window.localStorage) {
137
+ if (window.localStorage.hasOwnProperty(key)) {
138
+ try {
139
+ const item = window.localStorage.getItem(key);
140
+ if (item) {
141
+ const parsed = JSON.parse(item);
142
+ if (parsed.timestamp && parsed.timestamp < cutoffTime) {
143
+ keysToRemove.push(key);
144
+ }
145
+ }
146
+ } catch {
147
+ // If parsing fails, skip this item
148
+ }
149
+ }
150
+ }
151
+
152
+ // Remove old items
153
+ keysToRemove.forEach((key) => this.removeItem(key));
154
+ } catch (error) {
155
+ console.error("Error clearing old data", error);
156
+ }
157
+ }
158
+
159
+ /**
160
+ * Wrapper for data with timestamp
161
+ */
162
+ static setItemWithTimestamp(key: string, value: unknown): boolean {
163
+ const wrappedData = {
164
+ data: value,
165
+ timestamp: Date.now(),
166
+ };
167
+ return this.setItem(key, wrappedData);
168
+ }
169
+
170
+ /**
171
+ * Get item with timestamp check
172
+ */
173
+ static getItemWithTimestamp<T = unknown>(
174
+ key: string,
175
+ maxAge?: number,
176
+ ): T | null {
177
+ const wrapped = this.getItem<{ data: T; timestamp: number }>(key);
178
+ if (!wrapped) return null;
179
+
180
+ if (maxAge && wrapped.timestamp) {
181
+ const age = Date.now() - wrapped.timestamp;
182
+ if (age > maxAge) {
183
+ this.removeItem(key);
184
+ return null;
185
+ }
186
+ }
187
+
188
+ return wrapped.data;
189
+ }
190
+ }
191
+
192
+ // Retry decorator for storage operations
193
+ export function withRetry<T extends (...args: unknown[]) => unknown>(
194
+ fn: T,
195
+ maxRetries: number = 3,
196
+ delay: number = 100,
197
+ ): T {
198
+ return ((...args: Parameters<T>) => {
199
+ let lastError: Error | null = null;
200
+
201
+ for (let i = 0; i < maxRetries; i++) {
202
+ try {
203
+ return fn(...args);
204
+ } catch (error) {
205
+ lastError = error as Error;
206
+ if (i < maxRetries - 1) {
207
+ // Wait before retrying
208
+ const waitTime = delay * Math.pow(2, i); // Exponential backoff
209
+ const start = Date.now();
210
+ while (Date.now() - start < waitTime) {
211
+ // Busy wait
212
+ }
213
+ }
214
+ }
215
+ }
216
+
217
+ throw lastError;
218
+ }) as T;
219
+ }
220
+
221
+ // Export a default instance
222
+ export const storage = SafeStorage;
@@ -0,0 +1,6 @@
1
+ import { clsx, type ClassValue } from "clsx"
2
+ import { twMerge } from "tailwind-merge"
3
+
4
+ export function cn(...inputs: ClassValue[]) {
5
+ return twMerge(clsx(inputs))
6
+ }
@@ -0,0 +1,30 @@
1
+ declare module 'html-to-docx' {
2
+ export default function htmlToDocx(
3
+ htmlString: string,
4
+ options?: {
5
+ title?: string;
6
+ margin?: {
7
+ top?: number;
8
+ right?: number;
9
+ bottom?: number;
10
+ left?: number;
11
+ };
12
+ header?: {
13
+ default?: string;
14
+ first?: string;
15
+ even?: string;
16
+ };
17
+ footer?: {
18
+ default?: string;
19
+ first?: string;
20
+ even?: string;
21
+ };
22
+ pageNumber?: boolean;
23
+ orientation?: 'portrait' | 'landscape';
24
+ font?: {
25
+ family?: string;
26
+ size?: number;
27
+ };
28
+ }
29
+ ): Promise<Buffer>;
30
+ }
@@ -0,0 +1,77 @@
1
+ // Re-export all types from the package
2
+ // This ensures consistency between the main app and the package
3
+ export * from "@tantainnovative/ndpr-toolkit";
4
+ import type { DSRStatus, DSRType } from "@tantainnovative/ndpr-toolkit";
5
+
6
+ // Additional app-specific types that extend the package types
7
+ export interface AppConfig {
8
+ apiUrl?: string;
9
+ environment: "development" | "staging" | "production";
10
+ features: {
11
+ consent: boolean;
12
+ dsr: boolean;
13
+ dpia: boolean;
14
+ breach: boolean;
15
+ privacy: boolean;
16
+ };
17
+ }
18
+
19
+ // Legacy type aliases for backward compatibility
20
+ // These map old type names to new ones from the package
21
+ export type RequestStatus = DSRStatus;
22
+ export type RequestType = DSRType;
23
+
24
+ // Re-export specific types that might have different names
25
+ export type {
26
+ ConsentOption,
27
+ BreachReport,
28
+ RiskAssessment,
29
+ NotificationRequirement,
30
+ RegulatoryNotification,
31
+ DSRRequest as DataSubjectRequest,
32
+ DSRStatus,
33
+ DSRType,
34
+ PrivacyPolicy,
35
+ PolicySection,
36
+ PolicyTemplate,
37
+ PolicyVariable,
38
+ OrganizationInfo,
39
+ DPIAQuestion as RiskAssessmentQuestion,
40
+ DPIASection,
41
+ DPIAResult,
42
+ } from "@tantainnovative/ndpr-toolkit";
43
+
44
+ // Define ConsentType locally since it's not exported from the package
45
+ export type ConsentType =
46
+ | "necessary"
47
+ | "functional"
48
+ | "analytics"
49
+ | "marketing"
50
+ | "preferences";
51
+
52
+ // Define BreachSeverity type
53
+ export type BreachSeverity = "low" | "medium" | "high" | "critical";
54
+
55
+ // Define missing types that are not exported from the package
56
+ export interface ConsentRecord {
57
+ id: string;
58
+ userId?: string;
59
+ consents: Record<string, boolean>;
60
+ timestamp: Date;
61
+ ipAddress?: string;
62
+ userAgent?: string;
63
+ version: string;
64
+ }
65
+
66
+ export interface ConsentHistoryEntry {
67
+ timestamp: Date;
68
+ consents: Record<string, boolean>;
69
+ action: "granted" | "revoked" | "updated";
70
+ ipAddress?: string;
71
+ userAgent?: string;
72
+ version: string;
73
+ }
74
+
75
+ export interface ConsentPreferences {
76
+ [key: string]: boolean;
77
+ }
@@ -0,0 +1,65 @@
1
+ import type { Config } from "tailwindcss";
2
+
3
+ const config: Config = {
4
+ darkMode: ["class", '[data-theme="dark"]'],
5
+ content: [
6
+ "./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
7
+ "./src/components/**/*.{js,ts,jsx,tsx,mdx}",
8
+ "./src/app/**/*.{js,ts,jsx,tsx,mdx}",
9
+ ],
10
+ theme: {
11
+ container: {
12
+ center: true,
13
+ padding: "2rem",
14
+ screens: {
15
+ "2xl": "1400px",
16
+ },
17
+ },
18
+ extend: {
19
+ colors: {
20
+ border: "var(--border)",
21
+ input: "var(--input)",
22
+ ring: "var(--ring)",
23
+ background: "var(--background)",
24
+ foreground: "var(--foreground)",
25
+ primary: {
26
+ DEFAULT: "var(--primary)",
27
+ foreground: "var(--primary-foreground)",
28
+ },
29
+ secondary: {
30
+ DEFAULT: "var(--secondary)",
31
+ foreground: "var(--secondary-foreground)",
32
+ },
33
+ destructive: {
34
+ DEFAULT: "var(--destructive)",
35
+ foreground: "var(--destructive-foreground, var(--foreground))",
36
+ },
37
+ muted: {
38
+ DEFAULT: "var(--muted)",
39
+ foreground: "var(--muted-foreground)",
40
+ },
41
+ accent: {
42
+ DEFAULT: "var(--accent)",
43
+ foreground: "var(--accent-foreground)",
44
+ },
45
+ popover: {
46
+ DEFAULT: "var(--popover)",
47
+ foreground: "var(--popover-foreground)",
48
+ },
49
+ card: {
50
+ DEFAULT: "var(--card)",
51
+ foreground: "var(--card-foreground)",
52
+ },
53
+ },
54
+ borderRadius: {
55
+ lg: "var(--radius-lg)",
56
+ md: "var(--radius-md)",
57
+ sm: "var(--radius-sm)",
58
+ xl: "var(--radius-xl)",
59
+ },
60
+ },
61
+ },
62
+ plugins: [],
63
+ };
64
+
65
+ export default config;
package/tsconfig.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2017",
4
+ "lib": [
5
+ "dom",
6
+ "dom.iterable",
7
+ "esnext"
8
+ ],
9
+ "allowJs": true,
10
+ "skipLibCheck": true,
11
+ "strict": true,
12
+ "noEmit": true,
13
+ "esModuleInterop": true,
14
+ "module": "esnext",
15
+ "moduleResolution": "bundler",
16
+ "resolveJsonModule": true,
17
+ "isolatedModules": true,
18
+ "jsx": "preserve",
19
+ "incremental": true,
20
+ "plugins": [
21
+ {
22
+ "name": "next"
23
+ }
24
+ ],
25
+ "paths": {
26
+ "@/*": [
27
+ "./src/*"
28
+ ]
29
+ }
30
+ },
31
+ "include": [
32
+ "**/*.ts",
33
+ "**/*.tsx",
34
+ ".next/types/**/*.ts",
35
+ "next-env.d.ts",
36
+ "out/types/**/*.ts"
37
+ ],
38
+ "exclude": [
39
+ "node_modules"
40
+ ]
41
+ }