@openpeepshq/common 0.1.45 → 0.2.0
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/dist/lib/adminSections.js +1 -1
- package/dist/lib/capabilitiesHelpers.d.ts +9 -7
- package/dist/lib/capabilitiesHelpers.js +43 -38
- package/dist/lib/csvHelpers.js +1 -1
- package/dist/lib/eventIcs.d.ts +17 -0
- package/dist/lib/eventIcs.js +91 -15
- package/dist/lib/eventRecurrence.d.ts +19 -0
- package/dist/lib/eventRecurrence.js +82 -20
- package/dist/lib/eventTime.d.ts +7 -0
- package/dist/lib/eventTime.js +23 -9
- package/dist/lib/federationHosts.d.ts +3 -0
- package/dist/lib/federationHosts.js +17 -0
- package/dist/lib/feedCursor.d.ts +14 -0
- package/dist/lib/feedCursor.js +22 -0
- package/dist/lib/feedFormat.d.ts +12 -0
- package/dist/lib/feedFormat.js +14 -0
- package/dist/lib/groupHelpers.js +13 -34
- package/dist/lib/groupTemplateHelpers.js +6 -10
- package/dist/lib/index.d.ts +7 -0
- package/dist/lib/index.js +7 -0
- package/dist/lib/jamHelpers.d.ts +11 -2
- package/dist/lib/jamHelpers.js +43 -9
- package/dist/lib/legacyThemeRoot.d.ts +3 -0
- package/dist/lib/legacyThemeRoot.js +10 -0
- package/dist/lib/markdownHelpers.d.ts +8 -0
- package/dist/lib/markdownHelpers.js +34 -6
- package/dist/lib/postHelpers.d.ts +142 -3
- package/dist/lib/postHelpers.js +323 -47
- package/dist/lib/profileHelpers.d.ts +11 -0
- package/dist/lib/profileHelpers.js +34 -10
- package/dist/lib/pushHelpers.js +3 -4
- package/dist/lib/reactions.d.ts +17 -0
- package/dist/lib/reactions.js +37 -0
- package/dist/lib/scopeHelpers.d.ts +31 -2
- package/dist/lib/scopeHelpers.js +39 -8
- package/dist/lib/ssoLoginUrl.js +4 -6
- package/dist/lib/ssoProviders.d.ts +72 -0
- package/dist/lib/ssoProviders.js +366 -0
- package/dist/lib/timeZone.d.ts +9 -0
- package/dist/lib/timeZone.js +44 -0
- package/dist/lib/tokenHelpers.js +5 -5
- package/dist/lib/utils.js +6 -7
- package/dist/types/admin-db.js +1 -1
- package/dist/types/analytics.d.ts +20 -0
- package/dist/types/analytics.js +4 -0
- package/dist/types/api.d.ts +41800 -11853
- package/dist/types/api.js +53 -5
- package/dist/types/auth.d.ts +20 -6
- package/dist/types/capabilities.d.ts +15 -1
- package/dist/types/capabilities.js +51 -0
- package/dist/types/config.d.ts +99 -0
- package/dist/types/config.js +56 -4
- package/dist/types/db.d.ts +1155 -164
- package/dist/types/db.js +14 -0
- package/dist/types/export.d.ts +120 -0
- package/dist/types/export.js +7 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/internal.d.ts +2577 -524
- package/dist/types/internal.js +6 -0
- package/dist/types/models.d.ts +63 -7
- package/dist/types/models.js +40 -3
- package/dist/types/plugins.d.ts +22 -0
- package/dist/types/plugins.js +66 -0
- package/dist/types/roleDefaults.d.ts +31 -0
- package/dist/types/roleDefaults.js +110 -0
- package/dist/types/stats.d.ts +54606 -6065
- package/dist/types/stats.js +30 -0
- package/dist/types/utils.d.ts +2 -0
- package/dist/types/utils.js +1 -3
- package/dist/zod.d.ts +1 -0
- package/dist/zod.js +1 -0
- package/package.json +36 -6
- package/src/index.ts +4 -0
- package/src/lib/adminSections.ts +84 -0
- package/src/lib/attachmentHelpers.ts +14 -0
- package/src/lib/capabilitiesHelpers.ts +532 -0
- package/src/lib/colors.ts +20 -0
- package/src/lib/csvHelpers.ts +31 -0
- package/src/lib/eventIcs.ts +265 -0
- package/src/lib/eventRecurrence.ts +495 -0
- package/src/lib/eventTime.ts +206 -0
- package/src/lib/federationHosts.ts +22 -0
- package/src/lib/feedCursor.ts +27 -0
- package/src/lib/feedFormat.ts +24 -0
- package/src/lib/groupHelpers.ts +421 -0
- package/src/lib/groupTemplateHelpers.ts +83 -0
- package/src/lib/index.ts +29 -0
- package/src/lib/jamHelpers.ts +164 -0
- package/src/lib/legacyThemeRoot.ts +14 -0
- package/src/lib/markdownHelpers.ts +122 -0
- package/src/lib/mediaDimensions.ts +21 -0
- package/src/lib/postHelpers.ts +783 -0
- package/src/lib/profileHelpers.ts +220 -0
- package/src/lib/pushHelpers.ts +34 -0
- package/src/lib/reactions.ts +52 -0
- package/src/lib/reportHelpers.ts +7 -0
- package/src/lib/scopeHelpers.ts +176 -0
- package/src/lib/ssoLoginUrl.ts +93 -0
- package/src/lib/ssoProviders.ts +472 -0
- package/src/lib/text.ts +26 -0
- package/src/lib/timeZone.ts +52 -0
- package/src/lib/tokenHelpers.ts +119 -0
- package/src/lib/utils.ts +322 -0
- package/src/types/admin-db.ts +74 -0
- package/src/types/admin-email.ts +55 -0
- package/src/types/admin-jobs.ts +17 -0
- package/src/types/admin-performance.ts +20 -0
- package/src/types/analytics.ts +318 -0
- package/src/types/api.ts +871 -0
- package/src/types/apple-app-site-association.ts +54 -0
- package/src/types/auth.ts +22 -0
- package/src/types/capabilities.ts +280 -0
- package/src/types/config.ts +546 -0
- package/src/types/db.ts +138 -0
- package/src/types/export.ts +10 -0
- package/src/types/index.ts +20 -0
- package/src/types/internal.ts +338 -0
- package/src/types/models.ts +939 -0
- package/src/types/notifications.ts +92 -0
- package/src/types/plugins.ts +150 -0
- package/src/types/roleDefaults.ts +132 -0
- package/src/types/stats.ts +195 -0
- package/src/types/stripe.ts +45 -0
- package/src/types/utils.ts +100 -0
- package/src/zod.ts +1 -0
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
export const analyticsPresetSchema = z.enum([
|
|
4
|
+
'7d',
|
|
5
|
+
'30d',
|
|
6
|
+
'3m',
|
|
7
|
+
'6m',
|
|
8
|
+
'12m',
|
|
9
|
+
'all',
|
|
10
|
+
]);
|
|
11
|
+
export type AnalyticsPreset = z.infer<typeof analyticsPresetSchema>;
|
|
12
|
+
|
|
13
|
+
export const analyticsDateQuerySchema = z.object({
|
|
14
|
+
preset: analyticsPresetSchema.optional(),
|
|
15
|
+
from: z.string().optional(),
|
|
16
|
+
to: z.string().optional(),
|
|
17
|
+
});
|
|
18
|
+
export type AnalyticsDateQuery = z.infer<typeof analyticsDateQuerySchema>;
|
|
19
|
+
|
|
20
|
+
export const analyticsSeriesPointSchema = z.object({
|
|
21
|
+
day: z.string(),
|
|
22
|
+
value: z.number(),
|
|
23
|
+
});
|
|
24
|
+
export type AnalyticsSeriesPoint = z.infer<typeof analyticsSeriesPointSchema>;
|
|
25
|
+
|
|
26
|
+
export const analyticsMetricCardSchema = z.object({
|
|
27
|
+
key: z.string(),
|
|
28
|
+
value: z.number(),
|
|
29
|
+
previousValue: z.number(),
|
|
30
|
+
deltaPct: z.number().nullable(),
|
|
31
|
+
series: analyticsSeriesPointSchema.array().optional(),
|
|
32
|
+
});
|
|
33
|
+
export type AnalyticsMetricCard = z.infer<typeof analyticsMetricCardSchema>;
|
|
34
|
+
|
|
35
|
+
export const analyticsHeatmapCellSchema = z.object({
|
|
36
|
+
dow: z.number().int().min(0).max(6),
|
|
37
|
+
hour: z.number().int().min(0).max(23),
|
|
38
|
+
value: z.number(),
|
|
39
|
+
});
|
|
40
|
+
export type AnalyticsHeatmapCell = z.infer<typeof analyticsHeatmapCellSchema>;
|
|
41
|
+
|
|
42
|
+
/** One cell per calendar day for period heatmaps. */
|
|
43
|
+
export const analyticsDayHeatmapCellSchema = z.object({
|
|
44
|
+
day: z.string(),
|
|
45
|
+
value: z.number(),
|
|
46
|
+
});
|
|
47
|
+
export type AnalyticsDayHeatmapCell = z.infer<
|
|
48
|
+
typeof analyticsDayHeatmapCellSchema
|
|
49
|
+
>;
|
|
50
|
+
|
|
51
|
+
export const analyticsGroupRowSchema = z.object({
|
|
52
|
+
groupId: z.string(),
|
|
53
|
+
handle: z.string().optional(),
|
|
54
|
+
name: z.string().optional(),
|
|
55
|
+
posts: z.number(),
|
|
56
|
+
likes: z.number(),
|
|
57
|
+
comments: z.number(),
|
|
58
|
+
uniqueViewers: z.number(),
|
|
59
|
+
activity: z.number(),
|
|
60
|
+
visibility: z.enum(['public', 'private']),
|
|
61
|
+
members: z.number(),
|
|
62
|
+
activeMembers: z.number(),
|
|
63
|
+
/** (likes + comments) / unique viewers, as a percentage. */
|
|
64
|
+
engagementRate: z.number(),
|
|
65
|
+
/** New members who joined the group in the selected range. */
|
|
66
|
+
growth: z.number(),
|
|
67
|
+
/** Average unique viewers per day in the selected range. */
|
|
68
|
+
dailyVisits: z.number(),
|
|
69
|
+
});
|
|
70
|
+
export type AnalyticsGroupRow = z.infer<typeof analyticsGroupRowSchema>;
|
|
71
|
+
|
|
72
|
+
export const analyticsGroupGrowthSeriesSchema = z.object({
|
|
73
|
+
key: z.string(),
|
|
74
|
+
groupId: z.string(),
|
|
75
|
+
name: z.string(),
|
|
76
|
+
});
|
|
77
|
+
export type AnalyticsGroupGrowthSeries = z.infer<
|
|
78
|
+
typeof analyticsGroupGrowthSeriesSchema
|
|
79
|
+
>;
|
|
80
|
+
|
|
81
|
+
export const analyticsGroupGrowthPointSchema = z.object({
|
|
82
|
+
day: z.string(),
|
|
83
|
+
label: z.string(),
|
|
84
|
+
values: z.record(z.string(), z.number()),
|
|
85
|
+
});
|
|
86
|
+
export type AnalyticsGroupGrowthPoint = z.infer<
|
|
87
|
+
typeof analyticsGroupGrowthPointSchema
|
|
88
|
+
>;
|
|
89
|
+
|
|
90
|
+
export const analyticsPostRowSchema = z.object({
|
|
91
|
+
postId: z.string(),
|
|
92
|
+
snippet: z.string().optional(),
|
|
93
|
+
authorHandle: z.string().optional(),
|
|
94
|
+
authorDisplayName: z.string().optional(),
|
|
95
|
+
postType: z.string().optional(),
|
|
96
|
+
likes: z.number().optional(),
|
|
97
|
+
comments: z.number().optional(),
|
|
98
|
+
reposts: z.number().optional(),
|
|
99
|
+
uniqueViewers: z.number(),
|
|
100
|
+
viewEvents: z.number().optional(),
|
|
101
|
+
});
|
|
102
|
+
export type AnalyticsPostRow = z.infer<typeof analyticsPostRowSchema>;
|
|
103
|
+
|
|
104
|
+
export const analyticsMemberRowSchema = z.object({
|
|
105
|
+
profileId: z.string(),
|
|
106
|
+
handle: z.string(),
|
|
107
|
+
displayName: z.string().optional(),
|
|
108
|
+
role: z.string().optional(),
|
|
109
|
+
joinedAt: z.string(),
|
|
110
|
+
contributions: z.number(),
|
|
111
|
+
});
|
|
112
|
+
export type AnalyticsMemberRow = z.infer<typeof analyticsMemberRowSchema>;
|
|
113
|
+
|
|
114
|
+
export const analyticsPostTypeKeySchema = z.enum([
|
|
115
|
+
'jam',
|
|
116
|
+
'article',
|
|
117
|
+
'note',
|
|
118
|
+
'poll',
|
|
119
|
+
'event',
|
|
120
|
+
]);
|
|
121
|
+
export type AnalyticsPostTypeKey = z.infer<typeof analyticsPostTypeKeySchema>;
|
|
122
|
+
|
|
123
|
+
export const analyticsPostTypeCountSchema = z.object({
|
|
124
|
+
type: analyticsPostTypeKeySchema,
|
|
125
|
+
count: z.number(),
|
|
126
|
+
});
|
|
127
|
+
export type AnalyticsPostTypeCount = z.infer<
|
|
128
|
+
typeof analyticsPostTypeCountSchema
|
|
129
|
+
>;
|
|
130
|
+
|
|
131
|
+
export const analyticsStackedPointSchema = z.object({
|
|
132
|
+
day: z.string(),
|
|
133
|
+
label: z.string(),
|
|
134
|
+
jam: z.number(),
|
|
135
|
+
article: z.number(),
|
|
136
|
+
note: z.number(),
|
|
137
|
+
poll: z.number(),
|
|
138
|
+
event: z.number(),
|
|
139
|
+
});
|
|
140
|
+
export type AnalyticsStackedPoint = z.infer<typeof analyticsStackedPointSchema>;
|
|
141
|
+
|
|
142
|
+
export const analyticsBucketedPointSchema = z.object({
|
|
143
|
+
day: z.string(),
|
|
144
|
+
label: z.string(),
|
|
145
|
+
value: z.number(),
|
|
146
|
+
});
|
|
147
|
+
export type AnalyticsBucketedPoint = z.infer<
|
|
148
|
+
typeof analyticsBucketedPointSchema
|
|
149
|
+
>;
|
|
150
|
+
|
|
151
|
+
export const analyticsSignupRowSchema = z.object({
|
|
152
|
+
profileId: z.string(),
|
|
153
|
+
handle: z.string(),
|
|
154
|
+
displayName: z.string().optional(),
|
|
155
|
+
joinedAt: z.string(),
|
|
156
|
+
channel: z.string(),
|
|
157
|
+
});
|
|
158
|
+
export type AnalyticsSignupRow = z.infer<typeof analyticsSignupRowSchema>;
|
|
159
|
+
|
|
160
|
+
export const analyticsChannelPointSchema = z.object({
|
|
161
|
+
day: z.string(),
|
|
162
|
+
channel: z.string(),
|
|
163
|
+
count: z.number(),
|
|
164
|
+
});
|
|
165
|
+
export type AnalyticsChannelPoint = z.infer<typeof analyticsChannelPointSchema>;
|
|
166
|
+
|
|
167
|
+
export const analyticsRangeMetaSchema = z.object({
|
|
168
|
+
from: z.string(),
|
|
169
|
+
to: z.string(),
|
|
170
|
+
previousFrom: z.string(),
|
|
171
|
+
previousTo: z.string(),
|
|
172
|
+
preset: analyticsPresetSchema.optional(),
|
|
173
|
+
compiledAt: z.string().nullable(),
|
|
174
|
+
});
|
|
175
|
+
export type AnalyticsRangeMeta = z.infer<typeof analyticsRangeMetaSchema>;
|
|
176
|
+
|
|
177
|
+
export const analyticsOverviewSchema = z.object({
|
|
178
|
+
range: analyticsRangeMetaSchema,
|
|
179
|
+
metrics: z.object({
|
|
180
|
+
totalPosts: analyticsMetricCardSchema,
|
|
181
|
+
/** Cumulative posts created on or before the range end. */
|
|
182
|
+
allTimePosts: analyticsMetricCardSchema,
|
|
183
|
+
totalMembers: analyticsMetricCardSchema,
|
|
184
|
+
/** Cumulative local members with a verified email, on or before the range end. */
|
|
185
|
+
verifiedMembers: analyticsMetricCardSchema,
|
|
186
|
+
/** Cumulative local members with an unverified email, on or before the range end. */
|
|
187
|
+
unverifiedMembers: analyticsMetricCardSchema,
|
|
188
|
+
activeMembers: analyticsMetricCardSchema,
|
|
189
|
+
totalGroups: analyticsMetricCardSchema,
|
|
190
|
+
}),
|
|
191
|
+
postsOverTime: analyticsStackedPointSchema.array(),
|
|
192
|
+
postTypes: analyticsPostTypeCountSchema.array(),
|
|
193
|
+
activeUsersSeries: analyticsBucketedPointSchema.array(),
|
|
194
|
+
topMembers: analyticsMemberRowSchema.array(),
|
|
195
|
+
topPosts: analyticsPostRowSchema.array(),
|
|
196
|
+
/** @deprecated kept for report/CSV compatibility */
|
|
197
|
+
activitySeries: analyticsSeriesPointSchema.array(),
|
|
198
|
+
engagementRateSeries: analyticsSeriesPointSchema.array(),
|
|
199
|
+
topGroups: analyticsGroupRowSchema.array(),
|
|
200
|
+
/** Top groups by new-member growth, for the multi-line growth chart. */
|
|
201
|
+
groupGrowthSeries: analyticsGroupGrowthSeriesSchema.array(),
|
|
202
|
+
groupGrowthOverTime: analyticsGroupGrowthPointSchema.array(),
|
|
203
|
+
});
|
|
204
|
+
export type AnalyticsOverview = z.infer<typeof analyticsOverviewSchema>;
|
|
205
|
+
|
|
206
|
+
export const analyticsGrowthSchema = z.object({
|
|
207
|
+
range: analyticsRangeMetaSchema,
|
|
208
|
+
metrics: z.object({
|
|
209
|
+
newSignups: analyticsMetricCardSchema,
|
|
210
|
+
dau: analyticsMetricCardSchema,
|
|
211
|
+
mau: analyticsMetricCardSchema,
|
|
212
|
+
dauMau: analyticsMetricCardSchema,
|
|
213
|
+
}),
|
|
214
|
+
/** New-member counts for every day in the selected range. */
|
|
215
|
+
signupsByDay: analyticsDayHeatmapCellSchema.array(),
|
|
216
|
+
recentSignups: analyticsSignupRowSchema.array(),
|
|
217
|
+
});
|
|
218
|
+
export type AnalyticsGrowth = z.infer<typeof analyticsGrowthSchema>;
|
|
219
|
+
|
|
220
|
+
export const analyticsEngagementOverTimePointSchema = z.object({
|
|
221
|
+
day: z.string(),
|
|
222
|
+
label: z.string(),
|
|
223
|
+
likes: z.number(),
|
|
224
|
+
comments: z.number(),
|
|
225
|
+
reposts: z.number(),
|
|
226
|
+
bookmarks: z.number(),
|
|
227
|
+
dms: z.number(),
|
|
228
|
+
});
|
|
229
|
+
export type AnalyticsEngagementOverTimePoint = z.infer<
|
|
230
|
+
typeof analyticsEngagementOverTimePointSchema
|
|
231
|
+
>;
|
|
232
|
+
|
|
233
|
+
export const analyticsEngagementSchema = z.object({
|
|
234
|
+
range: analyticsRangeMetaSchema,
|
|
235
|
+
metrics: z.object({
|
|
236
|
+
likes: analyticsMetricCardSchema,
|
|
237
|
+
comments: analyticsMetricCardSchema,
|
|
238
|
+
reposts: analyticsMetricCardSchema,
|
|
239
|
+
bookmarks: analyticsMetricCardSchema,
|
|
240
|
+
dms: analyticsMetricCardSchema,
|
|
241
|
+
uniqueViewers: analyticsMetricCardSchema,
|
|
242
|
+
impressions: analyticsMetricCardSchema,
|
|
243
|
+
}),
|
|
244
|
+
engagementOverTime: analyticsEngagementOverTimePointSchema.array(),
|
|
245
|
+
impressionsByPeriod: analyticsBucketedPointSchema.array(),
|
|
246
|
+
postsByGroup: analyticsGroupRowSchema.array(),
|
|
247
|
+
});
|
|
248
|
+
export type AnalyticsEngagement = z.infer<typeof analyticsEngagementSchema>;
|
|
249
|
+
|
|
250
|
+
export const analyticsRetentionSchema = z.object({
|
|
251
|
+
range: analyticsRangeMetaSchema,
|
|
252
|
+
metrics: z.object({
|
|
253
|
+
day1: analyticsMetricCardSchema,
|
|
254
|
+
day7: analyticsMetricCardSchema,
|
|
255
|
+
day30: analyticsMetricCardSchema,
|
|
256
|
+
}),
|
|
257
|
+
cohorts: z
|
|
258
|
+
.object({
|
|
259
|
+
cohortWeek: z.string(),
|
|
260
|
+
cohortSize: z.number(),
|
|
261
|
+
rates: z.record(z.string(), z.number()),
|
|
262
|
+
})
|
|
263
|
+
.array(),
|
|
264
|
+
retentionByGroup: analyticsGroupRowSchema.array(),
|
|
265
|
+
});
|
|
266
|
+
export type AnalyticsRetention = z.infer<typeof analyticsRetentionSchema>;
|
|
267
|
+
|
|
268
|
+
export const analyticsReportSettingsSchema = z.object({
|
|
269
|
+
enabled: z.boolean(),
|
|
270
|
+
recipients: z.string().email().array(),
|
|
271
|
+
});
|
|
272
|
+
export type AnalyticsReportSettings = z.infer<
|
|
273
|
+
typeof analyticsReportSettingsSchema
|
|
274
|
+
>;
|
|
275
|
+
|
|
276
|
+
export const analyticsBackfillInputSchema = z.object({
|
|
277
|
+
from: z.string().optional(),
|
|
278
|
+
to: z.string().optional(),
|
|
279
|
+
});
|
|
280
|
+
export type AnalyticsBackfillInput = z.infer<
|
|
281
|
+
typeof analyticsBackfillInputSchema
|
|
282
|
+
>;
|
|
283
|
+
|
|
284
|
+
export const analyticsBackfillResponseSchema = z.object({
|
|
285
|
+
jobId: z.string().optional(),
|
|
286
|
+
from: z.string(),
|
|
287
|
+
to: z.string(),
|
|
288
|
+
});
|
|
289
|
+
export type AnalyticsBackfillResponse = z.infer<
|
|
290
|
+
typeof analyticsBackfillResponseSchema
|
|
291
|
+
>;
|
|
292
|
+
|
|
293
|
+
export const analyticsClickKindSchema = z.enum(['page', 'link']);
|
|
294
|
+
export type AnalyticsClickKind = z.infer<typeof analyticsClickKindSchema>;
|
|
295
|
+
|
|
296
|
+
export const analyticsClickEventSchema = z.object({
|
|
297
|
+
kind: analyticsClickKindSchema,
|
|
298
|
+
target: z.string().min(1).max(2048),
|
|
299
|
+
});
|
|
300
|
+
export type AnalyticsClickEvent = z.infer<typeof analyticsClickEventSchema>;
|
|
301
|
+
|
|
302
|
+
export const analyticsClicksIngestSchema = z.object({
|
|
303
|
+
events: analyticsClickEventSchema.array().min(1).max(20),
|
|
304
|
+
});
|
|
305
|
+
export type AnalyticsClicksIngest = z.infer<typeof analyticsClicksIngestSchema>;
|
|
306
|
+
|
|
307
|
+
export const analyticsClickRowSchema = z.object({
|
|
308
|
+
target: z.string(),
|
|
309
|
+
clicks: z.number(),
|
|
310
|
+
});
|
|
311
|
+
export type AnalyticsClickRow = z.infer<typeof analyticsClickRowSchema>;
|
|
312
|
+
|
|
313
|
+
export const analyticsClicksSchema = z.object({
|
|
314
|
+
range: analyticsRangeMetaSchema,
|
|
315
|
+
pages: analyticsClickRowSchema.array(),
|
|
316
|
+
links: analyticsClickRowSchema.array(),
|
|
317
|
+
});
|
|
318
|
+
export type AnalyticsClicks = z.infer<typeof analyticsClicksSchema>;
|