@seneris/nosework 0.1.0 → 0.3.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/README.md +76 -54
- package/dist/client.d.ts +9 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +26 -17
- package/dist/client.js.map +1 -1
- package/dist/error.d.ts.map +1 -1
- package/dist/error.js +123 -117
- package/dist/error.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/query.d.ts +1 -11
- package/dist/query.d.ts.map +1 -1
- package/dist/query.js +174 -213
- package/dist/query.js.map +1 -1
- package/dist/retention.d.ts +19 -0
- package/dist/retention.d.ts.map +1 -0
- package/dist/retention.js +34 -0
- package/dist/retention.js.map +1 -0
- package/dist/schema.d.ts +979 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/schema.js +101 -0
- package/dist/schema.js.map +1 -0
- package/dist/sites.d.ts +15 -0
- package/dist/sites.d.ts.map +1 -0
- package/dist/sites.js +31 -0
- package/dist/sites.js.map +1 -0
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +29 -32
- package/dist/track.js.map +1 -1
- package/dist/utils.d.ts +15 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +60 -31
- package/dist/utils.js.map +1 -1
- package/package.json +9 -10
- package/prisma/schema.prisma +0 -145
package/dist/error.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { getClient } from "./client.js";
|
|
2
|
+
import { analyticsErrors, errorGroups } from "./schema.js";
|
|
3
|
+
import { eq, and, gte, lte, lt, count, countDistinct, desc, inArray } from "drizzle-orm";
|
|
2
4
|
import { createHash } from "crypto";
|
|
3
5
|
/**
|
|
4
6
|
* Create a fingerprint for grouping similar errors
|
|
@@ -16,14 +18,12 @@ function createFingerprint(message, stack) {
|
|
|
16
18
|
let topFrame = "";
|
|
17
19
|
if (stack) {
|
|
18
20
|
const lines = stack.split("\n");
|
|
19
|
-
// Find first line that looks like a stack frame (starts with "at " or similar)
|
|
20
21
|
for (const line of lines.slice(1)) {
|
|
21
22
|
const trimmed = line.trim();
|
|
22
23
|
if (trimmed.startsWith("at ") || trimmed.match(/^\w+@/)) {
|
|
23
|
-
// Normalize file paths and line numbers
|
|
24
24
|
topFrame = trimmed
|
|
25
|
-
.replace(/:\d+:\d+/g, ":L:C")
|
|
26
|
-
.replace(/\?.*/g, "");
|
|
25
|
+
.replace(/:\d+:\d+/g, ":L:C")
|
|
26
|
+
.replace(/\?.*/g, "");
|
|
27
27
|
break;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -52,89 +52,93 @@ export async function trackError(options) {
|
|
|
52
52
|
const pathname = extractPathname(options.url);
|
|
53
53
|
const now = new Date();
|
|
54
54
|
// Create the error record
|
|
55
|
-
await db.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
metadata: options.metadata ?? undefined,
|
|
71
|
-
},
|
|
55
|
+
await db.insert(analyticsErrors).values({
|
|
56
|
+
siteId: options.siteId,
|
|
57
|
+
message: options.message,
|
|
58
|
+
stack: options.stack ?? null,
|
|
59
|
+
fingerprint,
|
|
60
|
+
url: options.url,
|
|
61
|
+
pathname,
|
|
62
|
+
visitorHash: options.visitorHash ?? null,
|
|
63
|
+
sessionId: options.sessionId ?? null,
|
|
64
|
+
userId: options.userId ?? null,
|
|
65
|
+
browser: options.browser ?? null,
|
|
66
|
+
browserVer: options.browserVer ?? null,
|
|
67
|
+
os: options.os ?? null,
|
|
68
|
+
device: options.device ?? null,
|
|
69
|
+
metadata: options.metadata ?? null,
|
|
72
70
|
});
|
|
73
|
-
//
|
|
74
|
-
await db
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
71
|
+
// Check if error group exists
|
|
72
|
+
const [existingGroup] = await db
|
|
73
|
+
.select()
|
|
74
|
+
.from(errorGroups)
|
|
75
|
+
.where(and(eq(errorGroups.siteId, options.siteId), eq(errorGroups.fingerprint, fingerprint)))
|
|
76
|
+
.limit(1);
|
|
77
|
+
if (existingGroup) {
|
|
78
|
+
// Update existing group
|
|
79
|
+
await db
|
|
80
|
+
.update(errorGroups)
|
|
81
|
+
.set({
|
|
82
|
+
count: existingGroup.count + 1,
|
|
83
|
+
lastSeen: now,
|
|
84
|
+
...(options.stack && { stack: options.stack }),
|
|
85
|
+
})
|
|
86
|
+
.where(eq(errorGroups.id, existingGroup.id));
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
// Create new group
|
|
90
|
+
await db.insert(errorGroups).values({
|
|
82
91
|
siteId: options.siteId,
|
|
83
92
|
fingerprint,
|
|
84
93
|
message: options.message,
|
|
85
|
-
stack: options.stack,
|
|
94
|
+
stack: options.stack ?? null,
|
|
86
95
|
count: 1,
|
|
87
96
|
firstSeen: now,
|
|
88
97
|
lastSeen: now,
|
|
89
98
|
status: "open",
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
count: { increment: 1 },
|
|
93
|
-
lastSeen: now,
|
|
94
|
-
// Update message/stack if this is a clearer example
|
|
95
|
-
...(options.stack && { stack: options.stack }),
|
|
96
|
-
},
|
|
97
|
-
});
|
|
99
|
+
});
|
|
100
|
+
}
|
|
98
101
|
}
|
|
99
102
|
/**
|
|
100
103
|
* Get error statistics
|
|
101
104
|
*/
|
|
102
105
|
export async function getErrorStats(siteId, options) {
|
|
103
106
|
const db = getClient();
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
107
|
+
// Build where conditions
|
|
108
|
+
const whereConditions = [eq(analyticsErrors.siteId, siteId)];
|
|
109
|
+
if (options?.startDate) {
|
|
110
|
+
whereConditions.push(gte(analyticsErrors.timestamp, options.startDate));
|
|
111
|
+
}
|
|
112
|
+
if (options?.endDate) {
|
|
113
|
+
whereConditions.push(lte(analyticsErrors.timestamp, options.endDate));
|
|
114
|
+
}
|
|
115
|
+
const where = and(...whereConditions);
|
|
116
|
+
// Total errors
|
|
117
|
+
const [totalResult] = await db
|
|
118
|
+
.select({ count: count() })
|
|
119
|
+
.from(analyticsErrors)
|
|
120
|
+
.where(where);
|
|
121
|
+
// Unique errors (by fingerprint)
|
|
122
|
+
const [uniqueResult] = await db
|
|
123
|
+
.select({ count: countDistinct(analyticsErrors.fingerprint) })
|
|
124
|
+
.from(analyticsErrors)
|
|
125
|
+
.where(where);
|
|
121
126
|
// Errors in last 24 hours
|
|
122
127
|
const oneDayAgo = new Date(Date.now() - 24 * 60 * 60 * 1000);
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
},
|
|
128
|
-
});
|
|
128
|
+
const [todayResult] = await db
|
|
129
|
+
.select({ count: count() })
|
|
130
|
+
.from(analyticsErrors)
|
|
131
|
+
.where(and(eq(analyticsErrors.siteId, siteId), gte(analyticsErrors.timestamp, oneDayAgo)));
|
|
129
132
|
// Open error groups
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
|
|
133
|
+
const [openResult] = await db
|
|
134
|
+
.select({ count: count() })
|
|
135
|
+
.from(errorGroups)
|
|
136
|
+
.where(and(eq(errorGroups.siteId, siteId), eq(errorGroups.status, "open")));
|
|
133
137
|
return {
|
|
134
|
-
totalErrors,
|
|
135
|
-
uniqueErrors,
|
|
136
|
-
errorsToday,
|
|
137
|
-
openGroups,
|
|
138
|
+
totalErrors: totalResult?.count ?? 0,
|
|
139
|
+
uniqueErrors: uniqueResult?.count ?? 0,
|
|
140
|
+
errorsToday: todayResult?.count ?? 0,
|
|
141
|
+
openGroups: openResult?.count ?? 0,
|
|
138
142
|
};
|
|
139
143
|
}
|
|
140
144
|
/**
|
|
@@ -144,15 +148,17 @@ export async function getErrorGroups(siteId, options) {
|
|
|
144
148
|
const db = getClient();
|
|
145
149
|
const limit = options?.limit ?? 50;
|
|
146
150
|
const offset = options?.offset ?? 0;
|
|
147
|
-
const
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
151
|
+
const whereConditions = [eq(errorGroups.siteId, siteId)];
|
|
152
|
+
if (options?.status) {
|
|
153
|
+
whereConditions.push(eq(errorGroups.status, options.status));
|
|
154
|
+
}
|
|
155
|
+
const groups = await db
|
|
156
|
+
.select()
|
|
157
|
+
.from(errorGroups)
|
|
158
|
+
.where(and(...whereConditions))
|
|
159
|
+
.orderBy(desc(errorGroups.lastSeen))
|
|
160
|
+
.limit(limit)
|
|
161
|
+
.offset(offset);
|
|
156
162
|
return groups.map((g) => ({
|
|
157
163
|
id: g.id,
|
|
158
164
|
fingerprint: g.fingerprint,
|
|
@@ -171,12 +177,13 @@ export async function getErrorInstances(siteId, fingerprint, options) {
|
|
|
171
177
|
const db = getClient();
|
|
172
178
|
const limit = options?.limit ?? 50;
|
|
173
179
|
const offset = options?.offset ?? 0;
|
|
174
|
-
const errors = await db
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
+
const errors = await db
|
|
181
|
+
.select()
|
|
182
|
+
.from(analyticsErrors)
|
|
183
|
+
.where(and(eq(analyticsErrors.siteId, siteId), eq(analyticsErrors.fingerprint, fingerprint)))
|
|
184
|
+
.orderBy(desc(analyticsErrors.timestamp))
|
|
185
|
+
.limit(limit)
|
|
186
|
+
.offset(offset);
|
|
180
187
|
return errors.map((e) => ({
|
|
181
188
|
id: e.id,
|
|
182
189
|
message: e.message,
|
|
@@ -199,12 +206,10 @@ export async function getErrorInstances(siteId, fingerprint, options) {
|
|
|
199
206
|
*/
|
|
200
207
|
export async function updateErrorGroupStatus(siteId, fingerprint, status) {
|
|
201
208
|
const db = getClient();
|
|
202
|
-
await db
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
data: { status },
|
|
207
|
-
});
|
|
209
|
+
await db
|
|
210
|
+
.update(errorGroups)
|
|
211
|
+
.set({ status })
|
|
212
|
+
.where(and(eq(errorGroups.siteId, siteId), eq(errorGroups.fingerprint, fingerprint)));
|
|
208
213
|
}
|
|
209
214
|
/**
|
|
210
215
|
* Delete errors older than a certain date
|
|
@@ -213,36 +218,37 @@ export async function updateErrorGroupStatus(siteId, fingerprint, status) {
|
|
|
213
218
|
export async function deleteOldErrors(siteId, olderThan) {
|
|
214
219
|
const db = getClient();
|
|
215
220
|
// Delete old error instances
|
|
216
|
-
const deletedErrors = await db
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
where: { siteId },
|
|
227
|
-
});
|
|
221
|
+
const deletedErrors = await db
|
|
222
|
+
.delete(analyticsErrors)
|
|
223
|
+
.where(and(eq(analyticsErrors.siteId, siteId), lt(analyticsErrors.timestamp, olderThan)))
|
|
224
|
+
.returning({ id: analyticsErrors.id });
|
|
225
|
+
// Get fingerprints that still have errors
|
|
226
|
+
const remainingFingerprints = await db
|
|
227
|
+
.select({ fingerprint: analyticsErrors.fingerprint })
|
|
228
|
+
.from(analyticsErrors)
|
|
229
|
+
.where(eq(analyticsErrors.siteId, siteId))
|
|
230
|
+
.groupBy(analyticsErrors.fingerprint);
|
|
228
231
|
const activeFingerprints = new Set(remainingFingerprints.map((r) => r.fingerprint));
|
|
229
|
-
//
|
|
230
|
-
const allGroups = await db
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
// Get all groups for this site
|
|
233
|
+
const allGroups = await db
|
|
234
|
+
.select({ id: errorGroups.id, fingerprint: errorGroups.fingerprint })
|
|
235
|
+
.from(errorGroups)
|
|
236
|
+
.where(eq(errorGroups.siteId, siteId));
|
|
237
|
+
// Find groups to delete
|
|
238
|
+
const groupIdsToDelete = allGroups
|
|
235
239
|
.filter((g) => !activeFingerprints.has(g.fingerprint))
|
|
236
|
-
.map((g) => g.
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
240
|
+
.map((g) => g.id);
|
|
241
|
+
let deletedGroupCount = 0;
|
|
242
|
+
if (groupIdsToDelete.length > 0) {
|
|
243
|
+
const deletedGroups = await db
|
|
244
|
+
.delete(errorGroups)
|
|
245
|
+
.where(inArray(errorGroups.id, groupIdsToDelete))
|
|
246
|
+
.returning({ id: errorGroups.id });
|
|
247
|
+
deletedGroupCount = deletedGroups.length;
|
|
248
|
+
}
|
|
243
249
|
return {
|
|
244
|
-
deletedErrors: deletedErrors.
|
|
245
|
-
deletedGroups:
|
|
250
|
+
deletedErrors: deletedErrors.length,
|
|
251
|
+
deletedGroups: deletedGroupCount,
|
|
246
252
|
};
|
|
247
253
|
}
|
|
248
254
|
//# sourceMappingURL=error.js.map
|
package/dist/error.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.js","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;A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AAgB,CAAC,CAAC;aAChD,SAAS,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,EAAE,EAAE,CAAC,CAAC;QACrC,iBAAiB,GAAG,aAAa,CAAC,MAAM,CAAC;IAC3C,CAAC;IAED,OAAO;QACL,aAAa,EAAE,aAAa,CAAC,MAAM;QACnC,aAAa,EAAE,iBAAiB;KACjC,CAAC;AACJ,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export { trackPageView, trackEvent } from "./track.js";
|
|
2
2
|
export { trackError, getErrorStats, getErrorGroups, getErrorInstances, updateErrorGroupStatus, deleteOldErrors, } from "./error.js";
|
|
3
|
-
export { getStats, getTopPages, getLocations, getReferrers, getDevices, getTimeSeries,
|
|
3
|
+
export { getStats, getTopPages, getLocations, getReferrers, getDevices, getTimeSeries, getSessionStats, getEntryPages, getExitPages, getPageFlows, getSessions, } from "./query.js";
|
|
4
|
+
export { listSites } from "./sites.js";
|
|
5
|
+
export type { SiteSummary } from "./sites.js";
|
|
6
|
+
export { deleteOldPageViews } from "./retention.js";
|
|
7
|
+
export * from "./schema.js";
|
|
4
8
|
export { getClient, disconnect } from "./client.js";
|
|
5
9
|
export { isBot, cleanupOldSalts } from "./utils.js";
|
|
6
10
|
export { parseUserAgent } from "./ua.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGvD,OAAO,EACL,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,GAChB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGvD,OAAO,EACL,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,GAChB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,aAAa,EAEb,eAAe,EACf,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,GACZ,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAG9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGpD,cAAc,aAAa,CAAC;AAG5B,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGpD,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAGpD,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAGzC,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,qBAAqB,EACrB,KAAK,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,WAAW,EACX,eAAe,EACf,WAAW,EAEX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,QAAQ,EAER,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,aAAa,GACd,MAAM,YAAY,CAAC;AAGpB,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4,9 +4,15 @@ export { trackPageView, trackEvent } from "./track.js";
|
|
|
4
4
|
// Error tracking functions
|
|
5
5
|
export { trackError, getErrorStats, getErrorGroups, getErrorInstances, updateErrorGroupStatus, deleteOldErrors, } from "./error.js";
|
|
6
6
|
// Query functions
|
|
7
|
-
export { getStats, getTopPages, getLocations, getReferrers, getDevices, getTimeSeries,
|
|
7
|
+
export { getStats, getTopPages, getLocations, getReferrers, getDevices, getTimeSeries,
|
|
8
8
|
// Session analytics
|
|
9
9
|
getSessionStats, getEntryPages, getExitPages, getPageFlows, getSessions, } from "./query.js";
|
|
10
|
+
// Site enumeration
|
|
11
|
+
export { listSites } from "./sites.js";
|
|
12
|
+
// Retention
|
|
13
|
+
export { deleteOldPageViews } from "./retention.js";
|
|
14
|
+
// Schema exports (for advanced use cases)
|
|
15
|
+
export * from "./schema.js";
|
|
10
16
|
// Client utilities
|
|
11
17
|
export { getClient, disconnect } from "./client.js";
|
|
12
18
|
// Utility functions
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAE9C,qBAAqB;AACrB,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEvD,2BAA2B;AAC3B,OAAO,EACL,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,GAChB,MAAM,YAAY,CAAC;AAEpB,kBAAkB;AAClB,OAAO,EACL,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,aAAa
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAE9C,qBAAqB;AACrB,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEvD,2BAA2B;AAC3B,OAAO,EACL,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,GAChB,MAAM,YAAY,CAAC;AAEpB,kBAAkB;AAClB,OAAO,EACL,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,aAAa;AACb,oBAAoB;AACpB,eAAe,EACf,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,GACZ,MAAM,YAAY,CAAC;AAEpB,mBAAmB;AACnB,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,YAAY;AACZ,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,0CAA0C;AAC1C,cAAc,aAAa,CAAC;AAE5B,mBAAmB;AACnB,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEpD,oBAAoB;AACpB,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAEpD,8CAA8C;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/query.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface TimeSeriesDataPoint {
|
|
|
12
12
|
export declare function getTimeSeries(options: QueryOptions & {
|
|
13
13
|
interval?: "hour" | "day" | "week" | "month";
|
|
14
14
|
}): Promise<TimeSeriesDataPoint[]>;
|
|
15
|
+
export declare function formatDateKey(date: Date, interval: "hour" | "day" | "week" | "month"): string;
|
|
15
16
|
/**
|
|
16
17
|
* Get aggregate session statistics
|
|
17
18
|
*/
|
|
@@ -34,15 +35,4 @@ export declare function getPageFlows(options: PaginatedQueryOptions & {
|
|
|
34
35
|
* Get individual session data (for debugging/analysis)
|
|
35
36
|
*/
|
|
36
37
|
export declare function getSessions(options: PaginatedQueryOptions): Promise<SessionData[]>;
|
|
37
|
-
export declare function getOrCreateSite(domain: string, name?: string): Promise<{
|
|
38
|
-
id: string;
|
|
39
|
-
name: string;
|
|
40
|
-
domain: string;
|
|
41
|
-
}>;
|
|
42
|
-
export declare function listSites(): Promise<{
|
|
43
|
-
id: string;
|
|
44
|
-
name: string;
|
|
45
|
-
domain: string;
|
|
46
|
-
createdAt: Date;
|
|
47
|
-
}[]>;
|
|
48
38
|
//# sourceMappingURL=query.d.ts.map
|
package/dist/query.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../src/query.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../src/query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,qBAAqB,EACrB,KAAK,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,aAAa,EACb,QAAQ,EACT,MAAM,YAAY,CAAC;AAWpB,wBAAsB,QAAQ,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC,CA0CpE;AAED,wBAAsB,WAAW,CAC/B,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,OAAO,EAAE,CAAC,CAuBpB;AAED,wBAAsB,YAAY,CAChC,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,YAAY,EAAE,CAAC,CA0BzB;AAED,wBAAsB,YAAY,CAChC,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,YAAY,EAAE,CAAC,CAsBzB;AAED,wBAAsB,UAAU,CAC9B,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,UAAU,EAAE,CAAC,CA0BvB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAsB,aAAa,CACjC,OAAO,EAAE,YAAY,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAA;CAAE,GACvE,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAgChC;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,GAAG,KAAK,GAAG,M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