@burdenoff/microfe-newsletter 2026.510.108
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/README.md +277 -0
- package/dist/dev/main.d.ts +2 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +2170 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-operations.js +672 -0
- package/dist/generated/global-operations.js.map +1 -0
- package/dist/generated/global-types.d.ts +20716 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +2 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +53363 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/newsletter/AdminNewsletterRoot.d.ts +49 -0
- package/dist/newsletter/AdminNewsletterRoot.d.ts.map +1 -0
- package/dist/newsletter/AdminNewsletterRoot.js +227 -0
- package/dist/newsletter/AdminNewsletterRoot.js.map +1 -0
- package/dist/newsletter/AdminNewsletterRoutes.d.ts +36 -0
- package/dist/newsletter/AdminNewsletterRoutes.d.ts.map +1 -0
- package/dist/newsletter/AdminNewsletterRoutes.js +116 -0
- package/dist/newsletter/AdminNewsletterRoutes.js.map +1 -0
- package/dist/newsletter/NewsletterRoot.d.ts +11 -0
- package/dist/newsletter/NewsletterRoot.d.ts.map +1 -0
- package/dist/newsletter/NewsletterRoot.js +7 -0
- package/dist/newsletter/NewsletterRoot.js.map +1 -0
- package/dist/newsletter/NewsletterRoutes.d.ts +8 -0
- package/dist/newsletter/NewsletterRoutes.d.ts.map +1 -0
- package/dist/newsletter/UserNewsletterRoot.d.ts +38 -0
- package/dist/newsletter/UserNewsletterRoot.d.ts.map +1 -0
- package/dist/newsletter/UserNewsletterRoot.js +91 -0
- package/dist/newsletter/UserNewsletterRoot.js.map +1 -0
- package/dist/newsletter/UserNewsletterRoutes.d.ts +25 -0
- package/dist/newsletter/UserNewsletterRoutes.d.ts.map +1 -0
- package/dist/newsletter/UserNewsletterRoutes.js +56 -0
- package/dist/newsletter/UserNewsletterRoutes.js.map +1 -0
- package/dist/newsletter/components/index.d.ts +25 -0
- package/dist/newsletter/components/index.d.ts.map +1 -0
- package/dist/newsletter/components/ui.d.ts +6 -0
- package/dist/newsletter/components/ui.d.ts.map +1 -0
- package/dist/newsletter/constants/permissions.d.ts +44 -0
- package/dist/newsletter/constants/permissions.d.ts.map +1 -0
- package/dist/newsletter/constants/permissions.js +33 -0
- package/dist/newsletter/constants/permissions.js.map +1 -0
- package/dist/newsletter/hooks/index.d.ts +9 -0
- package/dist/newsletter/hooks/index.d.ts.map +1 -0
- package/dist/newsletter/hooks/index.js +5 -0
- package/dist/newsletter/hooks/useAnalyticsOperations.d.ts +98 -0
- package/dist/newsletter/hooks/useAnalyticsOperations.d.ts.map +1 -0
- package/dist/newsletter/hooks/useAnalyticsOperations.js +33 -0
- package/dist/newsletter/hooks/useAnalyticsOperations.js.map +1 -0
- package/dist/newsletter/hooks/useComplianceOperations.d.ts +185 -0
- package/dist/newsletter/hooks/useComplianceOperations.d.ts.map +1 -0
- package/dist/newsletter/hooks/useComplianceOperations.js +95 -0
- package/dist/newsletter/hooks/useComplianceOperations.js.map +1 -0
- package/dist/newsletter/hooks/useNewsletterOperations.d.ts +459 -0
- package/dist/newsletter/hooks/useNewsletterOperations.d.ts.map +1 -0
- package/dist/newsletter/hooks/useNewsletterOperations.js +397 -0
- package/dist/newsletter/hooks/useNewsletterOperations.js.map +1 -0
- package/dist/newsletter/hooks/useNewsletterPermissions.d.ts +41 -0
- package/dist/newsletter/hooks/useNewsletterPermissions.d.ts.map +1 -0
- package/dist/newsletter/hooks/useNewsletterPermissions.js +35 -0
- package/dist/newsletter/hooks/useNewsletterPermissions.js.map +1 -0
- package/dist/newsletter/hooks/useWaitlistOperations.d.ts +95 -0
- package/dist/newsletter/hooks/useWaitlistOperations.d.ts.map +1 -0
- package/dist/newsletter/hooks/useWaitlistOperations.js +46 -0
- package/dist/newsletter/hooks/useWaitlistOperations.js.map +1 -0
- package/dist/newsletter/index.d.ts +55 -0
- package/dist/newsletter/index.d.ts.map +1 -0
- package/dist/newsletter/index.js +7 -0
- package/dist/newsletter/pages/ABTestingPage.d.ts +17 -0
- package/dist/newsletter/pages/ABTestingPage.d.ts.map +1 -0
- package/dist/newsletter/pages/ABTestingPage.js +806 -0
- package/dist/newsletter/pages/ABTestingPage.js.map +1 -0
- package/dist/newsletter/pages/AnalyticsDashboardPage.d.ts +17 -0
- package/dist/newsletter/pages/AnalyticsDashboardPage.d.ts.map +1 -0
- package/dist/newsletter/pages/AnalyticsDashboardPage.js +452 -0
- package/dist/newsletter/pages/AnalyticsDashboardPage.js.map +1 -0
- package/dist/newsletter/pages/CampaignAnalyticsPage.d.ts +17 -0
- package/dist/newsletter/pages/CampaignAnalyticsPage.d.ts.map +1 -0
- package/dist/newsletter/pages/CampaignAnalyticsPage.js +498 -0
- package/dist/newsletter/pages/CampaignAnalyticsPage.js.map +1 -0
- package/dist/newsletter/pages/CampaignEditorPage.d.ts +16 -0
- package/dist/newsletter/pages/CampaignEditorPage.d.ts.map +1 -0
- package/dist/newsletter/pages/CampaignEditorPage.js +523 -0
- package/dist/newsletter/pages/CampaignEditorPage.js.map +1 -0
- package/dist/newsletter/pages/CampaignsListPage.d.ts +15 -0
- package/dist/newsletter/pages/CampaignsListPage.d.ts.map +1 -0
- package/dist/newsletter/pages/CampaignsListPage.js +302 -0
- package/dist/newsletter/pages/CampaignsListPage.js.map +1 -0
- package/dist/newsletter/pages/CompliancePage.d.ts +17 -0
- package/dist/newsletter/pages/CompliancePage.d.ts.map +1 -0
- package/dist/newsletter/pages/CompliancePage.js +1094 -0
- package/dist/newsletter/pages/CompliancePage.js.map +1 -0
- package/dist/newsletter/pages/SchedulerPage.d.ts +17 -0
- package/dist/newsletter/pages/SchedulerPage.d.ts.map +1 -0
- package/dist/newsletter/pages/SchedulerPage.js +503 -0
- package/dist/newsletter/pages/SchedulerPage.js.map +1 -0
- package/dist/newsletter/pages/SubscriberDetailPage.d.ts +17 -0
- package/dist/newsletter/pages/SubscriberDetailPage.d.ts.map +1 -0
- package/dist/newsletter/pages/SubscriberDetailPage.js +442 -0
- package/dist/newsletter/pages/SubscriberDetailPage.js.map +1 -0
- package/dist/newsletter/pages/SubscribersListPage.d.ts +17 -0
- package/dist/newsletter/pages/SubscribersListPage.d.ts.map +1 -0
- package/dist/newsletter/pages/SubscribersListPage.js +553 -0
- package/dist/newsletter/pages/SubscribersListPage.js.map +1 -0
- package/dist/newsletter/pages/TemplateEditorPage.d.ts +17 -0
- package/dist/newsletter/pages/TemplateEditorPage.d.ts.map +1 -0
- package/dist/newsletter/pages/TemplateEditorPage.js +451 -0
- package/dist/newsletter/pages/TemplateEditorPage.js.map +1 -0
- package/dist/newsletter/pages/TemplateLibraryPage.d.ts +17 -0
- package/dist/newsletter/pages/TemplateLibraryPage.d.ts.map +1 -0
- package/dist/newsletter/pages/TemplateLibraryPage.js +360 -0
- package/dist/newsletter/pages/TemplateLibraryPage.js.map +1 -0
- package/dist/newsletter/pages/WaitlistDetailPage.d.ts +13 -0
- package/dist/newsletter/pages/WaitlistDetailPage.d.ts.map +1 -0
- package/dist/newsletter/pages/WaitlistDetailPage.js +321 -0
- package/dist/newsletter/pages/WaitlistDetailPage.js.map +1 -0
- package/dist/newsletter/pages/WaitlistListPage.d.ts +15 -0
- package/dist/newsletter/pages/WaitlistListPage.d.ts.map +1 -0
- package/dist/newsletter/pages/WaitlistListPage.js +432 -0
- package/dist/newsletter/pages/WaitlistListPage.js.map +1 -0
- package/dist/newsletter/providers/NewsletterProvider.d.ts +54 -0
- package/dist/newsletter/providers/NewsletterProvider.d.ts.map +1 -0
- package/dist/newsletter/providers/NewsletterProvider.js +119 -0
- package/dist/newsletter/providers/NewsletterProvider.js.map +1 -0
- package/dist/newsletter/shared/hooks/useTr.d.ts +14 -0
- package/dist/newsletter/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/newsletter/shared/hooks/useTr.js +14 -0
- package/dist/newsletter/shared/hooks/useTr.js.map +1 -0
- package/dist/newsletter/store/newsletterStore.d.ts +49 -0
- package/dist/newsletter/store/newsletterStore.d.ts.map +1 -0
- package/dist/newsletter/store/newsletterStore.js +109 -0
- package/dist/newsletter/store/newsletterStore.js.map +1 -0
- package/dist/newsletter/types/index.d.ts +509 -0
- package/dist/newsletter/types/index.d.ts.map +1 -0
- package/dist/newsletter/utils/cn.d.ts +8 -0
- package/dist/newsletter/utils/cn.d.ts.map +1 -0
- package/dist/newsletter/utils/formatting.d.ts +29 -0
- package/dist/newsletter/utils/formatting.d.ts.map +1 -0
- package/dist/newsletter/utils/index.d.ts +6 -0
- package/dist/newsletter/utils/index.d.ts.map +1 -0
- package/dist/newsletter/utils/validation.d.ts +26 -0
- package/dist/newsletter/utils/validation.d.ts.map +1 -0
- package/dist/node_modules/@apollo/client/errors/index.js +22 -0
- package/dist/node_modules/@apollo/client/errors/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js +75 -0
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js +38 -0
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js +20 -0
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/utils/transformOperation.js +15 -0
- package/dist/node_modules/@apollo/client/link/utils/transformOperation.js.map +1 -0
- package/dist/node_modules/@apollo/client/link/utils/validateOperation.js +19 -0
- package/dist/node_modules/@apollo/client/link/utils/validateOperation.js.map +1 -0
- package/dist/node_modules/@apollo/client/node_modules/tslib/tslib.es6.js +30 -0
- package/dist/node_modules/@apollo/client/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/caching/caches.js +19 -0
- package/dist/node_modules/@apollo/client/utilities/caching/caches.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/caching/getMemoryInternals.js +27 -0
- package/dist/node_modules/@apollo/client/utilities/caching/getMemoryInternals.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js +7 -0
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/common/makeUniqueId.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/common/makeUniqueId.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/common/objects.js +8 -0
- package/dist/node_modules/@apollo/client/utilities/common/objects.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/common/stringifyForDisplay.js +13 -0
- package/dist/node_modules/@apollo/client/utilities/common/stringifyForDisplay.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/deprecation/index.js +15 -0
- package/dist/node_modules/@apollo/client/utilities/deprecation/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/globals/global.js +17 -0
- package/dist/node_modules/@apollo/client/utilities/globals/global.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/globals/invariantWrappers.js +51 -0
- package/dist/node_modules/@apollo/client/utilities/globals/invariantWrappers.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/globals/maybe.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/globals/maybe.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/getFromAST.js +36 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/getFromAST.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js +18 -0
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
- package/dist/node_modules/@apollo/client/version.js +6 -0
- package/dist/node_modules/@apollo/client/version.js.map +1 -0
- package/dist/node_modules/@wry/caches/lib/weak.js +67 -0
- package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -0
- package/dist/node_modules/@wry/context/lib/index.js +6 -0
- package/dist/node_modules/@wry/context/lib/index.js.map +1 -0
- package/dist/node_modules/@wry/context/lib/slot.js +79 -0
- package/dist/node_modules/@wry/context/lib/slot.js.map +1 -0
- package/dist/node_modules/@wry/trie/lib/index.js +5 -0
- package/dist/node_modules/@wry/trie/lib/index.js.map +1 -0
- package/dist/node_modules/graphql-ws/lib/client.js +320 -0
- package/dist/node_modules/graphql-ws/lib/client.js.map +1 -0
- package/dist/node_modules/graphql-ws/lib/common.js +58 -0
- package/dist/node_modules/graphql-ws/lib/common.js.map +1 -0
- package/dist/node_modules/graphql-ws/lib/utils.js +17 -0
- package/dist/node_modules/graphql-ws/lib/utils.js.map +1 -0
- package/dist/node_modules/optimism/lib/context.js +8 -0
- package/dist/node_modules/optimism/lib/context.js.map +1 -0
- package/dist/node_modules/optimism/lib/dep.js +2 -0
- package/dist/node_modules/optimism/lib/entry.js +124 -0
- package/dist/node_modules/optimism/lib/entry.js.map +1 -0
- package/dist/node_modules/optimism/lib/helpers.js +13 -0
- package/dist/node_modules/optimism/lib/helpers.js.map +1 -0
- package/dist/node_modules/optimism/lib/index.js +5 -0
- package/dist/node_modules/ts-invariant/lib/invariant.js +35 -0
- package/dist/node_modules/ts-invariant/lib/invariant.js.map +1 -0
- package/dist/node_modules/ts-invariant/node_modules/tslib/tslib.es6.js +20 -0
- package/dist/node_modules/ts-invariant/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/zen-observable-ts/module.js +402 -0
- package/dist/node_modules/zen-observable-ts/module.js.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/package.json +106 -0
|
@@ -0,0 +1,509 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Navigation item for shell integration
|
|
3
|
+
*/
|
|
4
|
+
export interface NavItem {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
path: string;
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
order?: number;
|
|
10
|
+
group?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Footer item for shell integration
|
|
14
|
+
*/
|
|
15
|
+
export interface FooterItem {
|
|
16
|
+
id: string;
|
|
17
|
+
label: string;
|
|
18
|
+
type: 'status' | 'action';
|
|
19
|
+
order?: number;
|
|
20
|
+
section: 'left' | 'center' | 'right';
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Base microfrontend root props
|
|
24
|
+
* NOTE: Import from '@burdenoff/fe-libs/shared/types' when fe-libs ships the MicrofrontendRootProps type
|
|
25
|
+
*/
|
|
26
|
+
export interface MicrofrontendRootProps {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Props for the NewsletterRoot component
|
|
30
|
+
*/
|
|
31
|
+
export interface NewsletterRootProps extends MicrofrontendRootProps {
|
|
32
|
+
/**
|
|
33
|
+
* Product ID for tenant-level operations
|
|
34
|
+
*/
|
|
35
|
+
productId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Base path for the newsletter microfrontend
|
|
38
|
+
*/
|
|
39
|
+
basePath?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Navigation function provided by the shell
|
|
42
|
+
*/
|
|
43
|
+
navigate?: (path: string) => void;
|
|
44
|
+
/**
|
|
45
|
+
* API Gateway URL for GraphQL requests
|
|
46
|
+
*/
|
|
47
|
+
apiGatewayUrl?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Authentication token for API requests
|
|
50
|
+
*/
|
|
51
|
+
authToken?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Current user information
|
|
54
|
+
*/
|
|
55
|
+
currentUser?: {
|
|
56
|
+
id: string;
|
|
57
|
+
email: string;
|
|
58
|
+
firstName?: string;
|
|
59
|
+
lastName?: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Optional callback when a campaign is sent
|
|
63
|
+
*/
|
|
64
|
+
onCampaignSent?: (campaign: CampaignSummary) => void;
|
|
65
|
+
/**
|
|
66
|
+
* Optional callback when a subscriber is imported
|
|
67
|
+
*/
|
|
68
|
+
onSubscribersImported?: (count: number) => void;
|
|
69
|
+
/**
|
|
70
|
+
* Optional callback when an A/B test completes
|
|
71
|
+
*/
|
|
72
|
+
onABTestComplete?: (test: ABTestSummary) => void;
|
|
73
|
+
/**
|
|
74
|
+
* Optional function to register navigation items with the shell
|
|
75
|
+
* Injected by the shell app
|
|
76
|
+
*/
|
|
77
|
+
registerNavItems?: (items: NavItem | NavItem[]) => () => void;
|
|
78
|
+
/**
|
|
79
|
+
* Optional function to register footer items with the shell
|
|
80
|
+
* Injected by the shell app
|
|
81
|
+
*/
|
|
82
|
+
registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Newsletter campaign status
|
|
86
|
+
*/
|
|
87
|
+
export type NewsletterStatus = 'DRAFT' | 'SCHEDULED' | 'SENT' | 'CANCELED';
|
|
88
|
+
/**
|
|
89
|
+
* Subscriber status
|
|
90
|
+
*/
|
|
91
|
+
export type SubscriberStatus = 'ACTIVE' | 'PAUSED' | 'UNSUBSCRIBED';
|
|
92
|
+
/**
|
|
93
|
+
* Bounce type
|
|
94
|
+
*/
|
|
95
|
+
export type BounceType = 'SOFT' | 'HARD' | 'COMPLAINT' | null;
|
|
96
|
+
/**
|
|
97
|
+
* A/B test status
|
|
98
|
+
*/
|
|
99
|
+
export type ABTestStatus = 'DRAFT' | 'RUNNING' | 'COMPLETED' | 'CANCELED';
|
|
100
|
+
/**
|
|
101
|
+
* Winning criteria for A/B tests
|
|
102
|
+
*/
|
|
103
|
+
export type WinningCriteria = 'OPEN_RATE' | 'CLICK_RATE' | 'ENGAGEMENT';
|
|
104
|
+
/**
|
|
105
|
+
* Recurring frequency
|
|
106
|
+
*/
|
|
107
|
+
export type RecurringFrequency = 'DAILY' | 'WEEKLY' | 'MONTHLY';
|
|
108
|
+
/**
|
|
109
|
+
* Editor mode
|
|
110
|
+
*/
|
|
111
|
+
export type EditorMode = 'VISUAL' | 'CODE';
|
|
112
|
+
/**
|
|
113
|
+
* Preview mode
|
|
114
|
+
*/
|
|
115
|
+
export type PreviewMode = 'DESKTOP' | 'TABLET' | 'MOBILE';
|
|
116
|
+
/**
|
|
117
|
+
* Newsletter campaign
|
|
118
|
+
*/
|
|
119
|
+
export interface Newsletter {
|
|
120
|
+
id: string;
|
|
121
|
+
title: string;
|
|
122
|
+
slug: string;
|
|
123
|
+
subject: string;
|
|
124
|
+
previewText?: string | null;
|
|
125
|
+
content: string;
|
|
126
|
+
status: NewsletterStatus;
|
|
127
|
+
scheduledFor?: string | null;
|
|
128
|
+
sentAt?: string | null;
|
|
129
|
+
recipientCount: number;
|
|
130
|
+
openRate?: number | null;
|
|
131
|
+
clickRate?: number | null;
|
|
132
|
+
platformProductId: string;
|
|
133
|
+
recipientType?: string | null;
|
|
134
|
+
plans?: unknown;
|
|
135
|
+
products?: unknown;
|
|
136
|
+
segmentConfig?: unknown;
|
|
137
|
+
metadata?: unknown;
|
|
138
|
+
createdAt: string;
|
|
139
|
+
updatedAt: string;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Newsletter template
|
|
143
|
+
*/
|
|
144
|
+
export interface NewsletterTemplate {
|
|
145
|
+
id: string;
|
|
146
|
+
name: string;
|
|
147
|
+
description?: string | null;
|
|
148
|
+
platformProductId: string;
|
|
149
|
+
category?: string | null;
|
|
150
|
+
html: string;
|
|
151
|
+
thumbnail?: string | null;
|
|
152
|
+
isPublic: boolean;
|
|
153
|
+
version: number;
|
|
154
|
+
metadata?: unknown;
|
|
155
|
+
createdAt: string;
|
|
156
|
+
updatedAt: string;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Campaign statistics
|
|
160
|
+
*/
|
|
161
|
+
export interface CampaignStats {
|
|
162
|
+
sent: number;
|
|
163
|
+
delivered: number;
|
|
164
|
+
opened: number;
|
|
165
|
+
clicked: number;
|
|
166
|
+
bounced: number;
|
|
167
|
+
complained: number;
|
|
168
|
+
unsubscribed: number;
|
|
169
|
+
openRate: number;
|
|
170
|
+
clickRate: number;
|
|
171
|
+
bounceRate: number;
|
|
172
|
+
unsubscribeRate: number;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Newsletter subscriber
|
|
176
|
+
*/
|
|
177
|
+
export interface Subscriber {
|
|
178
|
+
id: string;
|
|
179
|
+
email: string;
|
|
180
|
+
userId?: string | null;
|
|
181
|
+
platformProductId?: string | null;
|
|
182
|
+
alreadySubscribed?: boolean;
|
|
183
|
+
status: SubscriberStatus;
|
|
184
|
+
subscribed: boolean;
|
|
185
|
+
subscribedAt: string;
|
|
186
|
+
unsubscribedAt?: string | null;
|
|
187
|
+
engagementScore?: number | null;
|
|
188
|
+
metadata?: Record<string, unknown> | null;
|
|
189
|
+
createdAt?: string;
|
|
190
|
+
updatedAt?: string;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* A/B test
|
|
194
|
+
*/
|
|
195
|
+
export interface ABTest {
|
|
196
|
+
id: string;
|
|
197
|
+
newsletter: Newsletter;
|
|
198
|
+
status: ABTestStatus;
|
|
199
|
+
variants: ABTestVariant[];
|
|
200
|
+
winningCriteria: WinningCriteria;
|
|
201
|
+
sampleSize: number;
|
|
202
|
+
duration: number;
|
|
203
|
+
startedAt: string | null;
|
|
204
|
+
completedAt: string | null;
|
|
205
|
+
winner: ABTestVariant | null;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* A/B test variant
|
|
209
|
+
*/
|
|
210
|
+
export interface ABTestVariant {
|
|
211
|
+
id: string;
|
|
212
|
+
newsletterId: string;
|
|
213
|
+
name: string;
|
|
214
|
+
subject: string;
|
|
215
|
+
content?: string;
|
|
216
|
+
percentage: number;
|
|
217
|
+
isWinner: boolean;
|
|
218
|
+
sentCount: number;
|
|
219
|
+
openCount: number;
|
|
220
|
+
clickCount: number;
|
|
221
|
+
openRate: number;
|
|
222
|
+
clickRate: number;
|
|
223
|
+
createdAt: string;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Campaign timeline data point
|
|
227
|
+
*/
|
|
228
|
+
export interface TimelineDataPoint {
|
|
229
|
+
timestamp: string;
|
|
230
|
+
opens: number;
|
|
231
|
+
clicks: number;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Link click statistics
|
|
235
|
+
*/
|
|
236
|
+
export interface LinkStats {
|
|
237
|
+
url: string;
|
|
238
|
+
clicks: number;
|
|
239
|
+
uniqueClicks: number;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Device statistics
|
|
243
|
+
*/
|
|
244
|
+
export interface DeviceStats {
|
|
245
|
+
desktop: number;
|
|
246
|
+
mobile: number;
|
|
247
|
+
tablet: number;
|
|
248
|
+
unknown: number;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Email client statistics
|
|
252
|
+
*/
|
|
253
|
+
export interface ClientStats {
|
|
254
|
+
gmail: number;
|
|
255
|
+
outlook: number;
|
|
256
|
+
appleMail: number;
|
|
257
|
+
yahoo: number;
|
|
258
|
+
other: number;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Geographic statistics
|
|
262
|
+
*/
|
|
263
|
+
export interface GeoStats {
|
|
264
|
+
country: string;
|
|
265
|
+
opens: number;
|
|
266
|
+
clicks: number;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Import job
|
|
270
|
+
*/
|
|
271
|
+
export interface ImportJob {
|
|
272
|
+
id: string;
|
|
273
|
+
status: 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED';
|
|
274
|
+
progress: ImportProgress;
|
|
275
|
+
errors: ImportError[];
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Import progress
|
|
279
|
+
*/
|
|
280
|
+
export interface ImportProgress {
|
|
281
|
+
total: number;
|
|
282
|
+
processed: number;
|
|
283
|
+
successful: number;
|
|
284
|
+
failed: number;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Import error
|
|
288
|
+
*/
|
|
289
|
+
export interface ImportError {
|
|
290
|
+
row: number;
|
|
291
|
+
email: string;
|
|
292
|
+
reason: string;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Schedule configuration
|
|
296
|
+
*/
|
|
297
|
+
export interface ScheduleConfig {
|
|
298
|
+
sendTime: Date | null;
|
|
299
|
+
timezone: string;
|
|
300
|
+
optimizeSendTime: boolean;
|
|
301
|
+
recurring: RecurringConfig;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Recurring configuration
|
|
305
|
+
*/
|
|
306
|
+
export interface RecurringConfig {
|
|
307
|
+
enabled: boolean;
|
|
308
|
+
frequency: RecurringFrequency;
|
|
309
|
+
interval: number;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Email content
|
|
313
|
+
*/
|
|
314
|
+
export interface EmailContent {
|
|
315
|
+
subject: string;
|
|
316
|
+
previewText: string;
|
|
317
|
+
content: string;
|
|
318
|
+
template: string | null;
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Campaign filter
|
|
322
|
+
*/
|
|
323
|
+
export interface CampaignFilter {
|
|
324
|
+
search: string;
|
|
325
|
+
status: NewsletterStatus | 'ALL';
|
|
326
|
+
dateRange: DateRange;
|
|
327
|
+
tags: string[];
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* Subscriber filter
|
|
331
|
+
*/
|
|
332
|
+
export interface SubscriberFilter {
|
|
333
|
+
search: string;
|
|
334
|
+
status: SubscriberStatus | 'ALL';
|
|
335
|
+
segment: string | null;
|
|
336
|
+
tags: string[];
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* Date range
|
|
340
|
+
*/
|
|
341
|
+
export interface DateRange {
|
|
342
|
+
start: Date | null;
|
|
343
|
+
end: Date | null;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Campaign summary for callbacks
|
|
347
|
+
*/
|
|
348
|
+
export interface CampaignSummary {
|
|
349
|
+
id: string;
|
|
350
|
+
subject: string;
|
|
351
|
+
recipientCount: number;
|
|
352
|
+
sentAt: string;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* A/B test summary for callbacks
|
|
356
|
+
*/
|
|
357
|
+
export interface ABTestSummary {
|
|
358
|
+
id: string;
|
|
359
|
+
newsletter: Newsletter;
|
|
360
|
+
winner: ABTestVariant | null;
|
|
361
|
+
completedAt: string;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Segment condition operator
|
|
365
|
+
*/
|
|
366
|
+
export type SegmentOperator = 'IS' | 'IS_NOT' | 'CONTAINS' | 'NOT_CONTAINS' | 'GREATER_THAN' | 'LESS_THAN' | 'WITHIN' | 'BEFORE' | 'AFTER';
|
|
367
|
+
/**
|
|
368
|
+
* Segment condition
|
|
369
|
+
*/
|
|
370
|
+
export interface SegmentCondition {
|
|
371
|
+
field: string;
|
|
372
|
+
operator: SegmentOperator;
|
|
373
|
+
value: string | number | boolean;
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* Subscriber segment
|
|
377
|
+
*/
|
|
378
|
+
export interface SubscriberSegment {
|
|
379
|
+
id: string;
|
|
380
|
+
name: string;
|
|
381
|
+
description: string;
|
|
382
|
+
conditions: SegmentCondition[];
|
|
383
|
+
subscriberCount: number;
|
|
384
|
+
createdAt: string;
|
|
385
|
+
updatedAt: string;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* Spam score result
|
|
389
|
+
*/
|
|
390
|
+
export interface SpamScoreResult {
|
|
391
|
+
score: number;
|
|
392
|
+
maxScore: number;
|
|
393
|
+
issues: SpamIssue[];
|
|
394
|
+
recommendations: string[];
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Spam issue
|
|
398
|
+
*/
|
|
399
|
+
export interface SpamIssue {
|
|
400
|
+
severity: 'LOW' | 'MEDIUM' | 'HIGH';
|
|
401
|
+
message: string;
|
|
402
|
+
location: string | null;
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Validation result
|
|
406
|
+
*/
|
|
407
|
+
export interface ValidationResult {
|
|
408
|
+
isValid: boolean;
|
|
409
|
+
errors: ValidationError[];
|
|
410
|
+
warnings: ValidationWarning[];
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* Validation error
|
|
414
|
+
*/
|
|
415
|
+
export interface ValidationError {
|
|
416
|
+
field: string;
|
|
417
|
+
message: string;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Validation warning
|
|
421
|
+
*/
|
|
422
|
+
export interface ValidationWarning {
|
|
423
|
+
field: string;
|
|
424
|
+
message: string;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Waitlist entry status
|
|
428
|
+
*/
|
|
429
|
+
export type WaitlistStatus = 'PENDING' | 'APPROVED' | 'REJECTED';
|
|
430
|
+
/**
|
|
431
|
+
* Waitlist entry
|
|
432
|
+
*/
|
|
433
|
+
export interface WaitlistEntry {
|
|
434
|
+
id: string;
|
|
435
|
+
email: string;
|
|
436
|
+
platformProductId: string;
|
|
437
|
+
name: string | null;
|
|
438
|
+
company: string | null;
|
|
439
|
+
reason: string | null;
|
|
440
|
+
status: WaitlistStatus;
|
|
441
|
+
processedAt: string | null;
|
|
442
|
+
processedBy: string | null;
|
|
443
|
+
rejectionReason: string | null;
|
|
444
|
+
createdAt: string;
|
|
445
|
+
updatedAt: string;
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Waitlist filter
|
|
449
|
+
*/
|
|
450
|
+
export interface WaitlistFilter {
|
|
451
|
+
search: string;
|
|
452
|
+
status: WaitlistStatus | 'ALL';
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* Pagination input
|
|
456
|
+
*/
|
|
457
|
+
export interface PaginationInput {
|
|
458
|
+
first?: number;
|
|
459
|
+
after?: string;
|
|
460
|
+
last?: number;
|
|
461
|
+
before?: string;
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* Page info
|
|
465
|
+
*/
|
|
466
|
+
export interface PageInfo {
|
|
467
|
+
hasNextPage: boolean;
|
|
468
|
+
hasPreviousPage: boolean;
|
|
469
|
+
startCursor: string | null;
|
|
470
|
+
endCursor: string | null;
|
|
471
|
+
totalCount: number;
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* Newsletter edge
|
|
475
|
+
*/
|
|
476
|
+
export interface NewsletterEdge {
|
|
477
|
+
node: Newsletter;
|
|
478
|
+
cursor: string;
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* Newsletter connection
|
|
482
|
+
*/
|
|
483
|
+
export interface NewsletterConnection {
|
|
484
|
+
edges: NewsletterEdge[];
|
|
485
|
+
pageInfo: PageInfo;
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Subscriber edge
|
|
489
|
+
*/
|
|
490
|
+
export interface SubscriberEdge {
|
|
491
|
+
node: Subscriber;
|
|
492
|
+
cursor: string;
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* Subscriber connection
|
|
496
|
+
*/
|
|
497
|
+
export interface SubscriberConnection {
|
|
498
|
+
edges: SubscriberEdge[];
|
|
499
|
+
pageInfo: PageInfo;
|
|
500
|
+
}
|
|
501
|
+
export interface PlatformProductSummary {
|
|
502
|
+
id: string;
|
|
503
|
+
name: string;
|
|
504
|
+
slug?: string | null;
|
|
505
|
+
status?: string | null;
|
|
506
|
+
website?: string | null;
|
|
507
|
+
appUrl?: string | null;
|
|
508
|
+
}
|
|
509
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/newsletter/types/index.ts"],"names":[],"mappings":"AAAA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,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Utility function to merge Tailwind CSS classes
|
|
5
|
+
* Combines clsx for conditional classes and tailwind-merge for deduplication
|
|
6
|
+
*/
|
|
7
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
8
|
+
//# sourceMappingURL=cn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/newsletter/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Format date for display
|
|
3
|
+
*/
|
|
4
|
+
export declare function formatDate(date: string | Date): string;
|
|
5
|
+
/**
|
|
6
|
+
* Format datetime for display
|
|
7
|
+
*/
|
|
8
|
+
export declare function formatDateTime(date: string | Date): string;
|
|
9
|
+
/**
|
|
10
|
+
* Format percentage
|
|
11
|
+
*/
|
|
12
|
+
export declare function formatPercentage(value: number, decimals?: number): string;
|
|
13
|
+
/**
|
|
14
|
+
* Format number with commas
|
|
15
|
+
*/
|
|
16
|
+
export declare function formatNumber(value: number): string;
|
|
17
|
+
/**
|
|
18
|
+
* Format relative time (e.g., "2 days ago")
|
|
19
|
+
*/
|
|
20
|
+
export declare function formatRelativeTime(date: string | Date): string;
|
|
21
|
+
/**
|
|
22
|
+
* Truncate text with ellipsis
|
|
23
|
+
*/
|
|
24
|
+
export declare function truncate(text: string, maxLength: number): string;
|
|
25
|
+
/**
|
|
26
|
+
* Format file size
|
|
27
|
+
*/
|
|
28
|
+
export declare function formatFileSize(bytes: number): string;
|
|
29
|
+
//# sourceMappingURL=formatting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatting.d.ts","sourceRoot":"","sources":["../../../src/newsletter/utils/formatting.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAOtD;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAS1D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAU,GAAG,MAAM,CAE5E;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAElD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CA2B9D;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAKhE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAQpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/newsletter/utils/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ValidationResult } from '../types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Validate email address format
|
|
5
|
+
*/
|
|
6
|
+
export declare function isValidEmail(email: string): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Validate newsletter campaign data
|
|
9
|
+
*/
|
|
10
|
+
export declare function validateNewsletter(data: {
|
|
11
|
+
subject: string;
|
|
12
|
+
content: string;
|
|
13
|
+
recipientCount?: number;
|
|
14
|
+
}): ValidationResult;
|
|
15
|
+
/**
|
|
16
|
+
* Validate subscriber data
|
|
17
|
+
*/
|
|
18
|
+
export declare function validateSubscriber(data: {
|
|
19
|
+
email: string;
|
|
20
|
+
platformProductId?: string;
|
|
21
|
+
}): ValidationResult;
|
|
22
|
+
/**
|
|
23
|
+
* Calculate spam score for email content
|
|
24
|
+
*/
|
|
25
|
+
export declare function calculateSpamScore(html: string, subject: string): number;
|
|
26
|
+
//# sourceMappingURL=validation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/newsletter/utils/validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAsC,MAAM,UAAU,CAAC;AAErF;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAGnD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,GAAG,gBAAgB,CAmDnB;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,GAAG,gBAAgB,CAsBnB;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CA6BxE"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { __extends as e, __spreadArray as t } from "../node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { isNonNullObject as n } from "../utilities/common/objects.js";
|
|
3
|
+
//#region node_modules/@apollo/client/errors/index.js
|
|
4
|
+
var r = function(e) {
|
|
5
|
+
var r = t(t(t([], e.graphQLErrors, !0), e.clientErrors, !0), e.protocolErrors, !0);
|
|
6
|
+
return e.networkError && r.push(e.networkError), r.map(function(e) {
|
|
7
|
+
return n(e) && e.message || "Error message not found.";
|
|
8
|
+
}).join("\n");
|
|
9
|
+
}, i = function(n) {
|
|
10
|
+
e(i, n);
|
|
11
|
+
function i(e) {
|
|
12
|
+
var a = e.graphQLErrors, o = e.protocolErrors, s = e.clientErrors, c = e.networkError, l = e.errorMessage, u = e.extraInfo, d = n.call(this, l) || this;
|
|
13
|
+
return d.name = "ApolloError", d.graphQLErrors = a || [], d.protocolErrors = o || [], d.clientErrors = s || [], d.networkError = c || null, d.message = l || r(d), d.extraInfo = u, d.cause = t(t(t([c], a || [], !0), o || [], !0), s || [], !0).find(function(e) {
|
|
14
|
+
return !!e;
|
|
15
|
+
}) || null, d.__proto__ = i.prototype, d;
|
|
16
|
+
}
|
|
17
|
+
return i;
|
|
18
|
+
}(Error);
|
|
19
|
+
//#endregion
|
|
20
|
+
export { i as ApolloError };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../node_modules/@apollo/client/errors/index.js"],"sourcesContent":["import { __extends, __spreadArray } from \"tslib\";\nimport \"../utilities/globals/index.js\";\nimport { isNonNullObject } from \"../utilities/index.js\";\n// This Symbol allows us to pass transport-specific errors from the link chain\n// into QueryManager/client internals without risking a naming collision within\n// extensions (which implementers can use as they see fit).\nexport var PROTOCOL_ERRORS_SYMBOL = Symbol();\nexport function graphQLResultHasProtocolErrors(result) {\n if (result.extensions) {\n return Array.isArray(result.extensions[PROTOCOL_ERRORS_SYMBOL]);\n }\n return false;\n}\n/**\n * @deprecated `isApolloError` will be removed with Apollo Client 4.0. This\n * function is safe to use in Apollo Client 3.x.\n *\n * **Recommended now**\n *\n * No action needed\n *\n * **When migrating**\n *\n * Errors are no longer wrapped in Apollo Client 4.0. To check if an error is an\n * instance of an error provided by Apollo Client, use the static `.is` method\n * on the error class you want to test against.\n *\n * ```ts\n * // Test if an error is an instance of `CombinedGraphQLErrors`\n * const isGraphQLErrors = CombinedGraphQLErrors.is(error);\n * ```\n */\nexport function isApolloError(err) {\n return err.hasOwnProperty(\"graphQLErrors\");\n}\n// Sets the error message on this error according to the\n// the GraphQL and network errors that are present.\n// If the error message has already been set through the\n// constructor or otherwise, this function is a nop.\nvar generateErrorMessage = function (err) {\n var errors = __spreadArray(__spreadArray(__spreadArray([], err.graphQLErrors, true), err.clientErrors, true), err.protocolErrors, true);\n if (err.networkError)\n errors.push(err.networkError);\n return (errors\n // The rest of the code sometimes unsafely types non-Error objects as GraphQLErrors\n .map(function (err) {\n return (isNonNullObject(err) && err.message) || \"Error message not found.\";\n })\n .join(\"\\n\"));\n};\nvar ApolloError = /** @class */ (function (_super) {\n __extends(ApolloError, _super);\n // Constructs an instance of ApolloError given serialized GraphQL errors,\n // client errors, protocol errors or network errors.\n // Note that one of these has to be a valid\n // value or the constructed error will be meaningless.\n function ApolloError(_a) {\n var graphQLErrors = _a.graphQLErrors, protocolErrors = _a.protocolErrors, clientErrors = _a.clientErrors, networkError = _a.networkError, errorMessage = _a.errorMessage, extraInfo = _a.extraInfo;\n var _this = _super.call(this, errorMessage) || this;\n _this.name = \"ApolloError\";\n _this.graphQLErrors = graphQLErrors || [];\n _this.protocolErrors = protocolErrors || [];\n _this.clientErrors = clientErrors || [];\n _this.networkError = networkError || null;\n _this.message = errorMessage || generateErrorMessage(_this);\n _this.extraInfo = extraInfo;\n _this.cause =\n __spreadArray(__spreadArray(__spreadArray([\n networkError\n ], (graphQLErrors || []), true), (protocolErrors || []), true), (clientErrors || []), true).find(function (e) { return !!e; }) || null;\n // We're not using `Object.setPrototypeOf` here as it isn't fully\n // supported on Android (see issue #3236).\n _this.__proto__ = ApolloError.prototype;\n return _this;\n }\n return ApolloError;\n}(Error));\nexport { ApolloError };\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAuCA,IAAI,IAAuB,SAAU,GAAK;CACtC,IAAI,IAAS,EAAc,EAAc,EAAc,EAAE,EAAE,EAAI,eAAe,GAAK,EAAE,EAAI,cAAc,GAAK,EAAE,EAAI,gBAAgB,GAAK;AAGvI,QAFI,EAAI,gBACJ,EAAO,KAAK,EAAI,aAAa,EACzB,EAEH,IAAI,SAAU,GAAK;AACpB,SAAQ,EAAgB,EAAI,IAAI,EAAI,WAAY;GAClD,CACG,KAAK,KAAK;GAEf,IAA6B,SAAU,GAAQ;AAC/C,GAAU,GAAa,EAAO;CAK9B,SAAS,EAAY,GAAI;EACrB,IAAI,IAAgB,EAAG,eAAe,IAAiB,EAAG,gBAAgB,IAAe,EAAG,cAAc,IAAe,EAAG,cAAc,IAAe,EAAG,cAAc,IAAY,EAAG,WACrL,IAAQ,EAAO,KAAK,MAAM,EAAa,IAAI;AAe/C,SAdA,EAAM,OAAO,eACb,EAAM,gBAAgB,KAAiB,EAAE,EACzC,EAAM,iBAAiB,KAAkB,EAAE,EAC3C,EAAM,eAAe,KAAgB,EAAE,EACvC,EAAM,eAAe,KAAgB,MACrC,EAAM,UAAU,KAAgB,EAAqB,EAAM,EAC3D,EAAM,YAAY,GAClB,EAAM,QACF,EAAc,EAAc,EAAc,CACtC,EACH,EAAG,KAAiB,EAAE,EAAG,GAAK,EAAG,KAAkB,EAAE,EAAG,GAAK,EAAG,KAAgB,EAAE,EAAG,GAAK,CAAC,KAAK,SAAU,GAAG;AAAE,UAAO,CAAC,CAAC;IAAK,IAAI,MAGtI,EAAM,YAAY,EAAY,WACvB;;AAEX,QAAO;EACT,MAAM"}
|