@spfn/monitor 0.1.0-beta.17 → 0.1.0-beta.19
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/LICENSE +1 -1
- package/README.md +348 -126
- package/dist/index.d.ts +12 -12
- package/dist/index.js.map +1 -1
- package/dist/nextjs/client.js.map +1 -1
- package/dist/server.d.ts +2 -2
- package/dist/server.js.map +1 -1
- package/package.json +10 -9
- package/dist/{index-BiN0PoSx.d.ts → index-C9IUDNIv.d.ts} +10 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spfn/monitor",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Error tracking, log management, and monitoring dashboard for SPFN",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"logging",
|
|
40
40
|
"dashboard"
|
|
41
41
|
],
|
|
42
|
-
"author": "Ray Im <rayim@
|
|
42
|
+
"author": "Ray Im <rayim@fxy.global>",
|
|
43
43
|
"license": "MIT",
|
|
44
44
|
"repository": {
|
|
45
45
|
"type": "git",
|
|
@@ -58,24 +58,25 @@
|
|
|
58
58
|
"dir": "./migrations"
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
-
"dependencies": {
|
|
62
|
-
"@spfn/auth": "0.2.0-beta.57",
|
|
63
|
-
"@spfn/core": "0.2.0-beta.40",
|
|
64
|
-
"@spfn/notification": "0.1.0-beta.17"
|
|
65
|
-
},
|
|
66
61
|
"devDependencies": {
|
|
67
62
|
"@sinclair/typebox": "^0.34.30",
|
|
68
63
|
"@types/node": "^20.11.0",
|
|
69
64
|
"@types/react": "^19.2.2",
|
|
70
65
|
"@types/react-dom": "^19.2.2",
|
|
71
66
|
"drizzle-kit": "^0.31.6",
|
|
72
|
-
"drizzle-orm": "^0.
|
|
67
|
+
"drizzle-orm": "^0.45.0",
|
|
73
68
|
"madge": "^8.0.0",
|
|
74
69
|
"tsup": "^8.5.0",
|
|
75
70
|
"typescript": "^5.3.3",
|
|
76
|
-
"vitest": "^4.0.6"
|
|
71
|
+
"vitest": "^4.0.6",
|
|
72
|
+
"@spfn/auth": "0.2.0-beta.67",
|
|
73
|
+
"@spfn/notification": "0.1.0-beta.20",
|
|
74
|
+
"@spfn/core": "0.2.0-beta.50"
|
|
77
75
|
},
|
|
78
76
|
"peerDependencies": {
|
|
77
|
+
"@spfn/auth": ">=0.2.0-beta.66",
|
|
78
|
+
"@spfn/core": ">=0.2.0-beta.49",
|
|
79
|
+
"@spfn/notification": ">=0.1.0-beta.18",
|
|
79
80
|
"next": "^15.0.0 || ^16.0.0"
|
|
80
81
|
},
|
|
81
82
|
"peerDependenciesMeta": {
|
|
@@ -497,14 +497,14 @@ declare const monitorRouter: _spfn_core_route.Router<{
|
|
|
497
497
|
offset: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
498
498
|
}>;
|
|
499
499
|
}, {}, {
|
|
500
|
+
status: "active" | "resolved" | "ignored";
|
|
501
|
+
path: string;
|
|
500
502
|
id: number;
|
|
501
503
|
fingerprint: string;
|
|
502
504
|
name: string;
|
|
503
505
|
message: string;
|
|
504
|
-
path: string;
|
|
505
506
|
method: string;
|
|
506
507
|
statusCode: number;
|
|
507
|
-
status: "active" | "resolved" | "ignored";
|
|
508
508
|
count: number;
|
|
509
509
|
firstSeenAt: Date;
|
|
510
510
|
lastSeenAt: Date;
|
|
@@ -518,14 +518,14 @@ declare const monitorRouter: _spfn_core_route.Router<{
|
|
|
518
518
|
}>;
|
|
519
519
|
}, {}, {
|
|
520
520
|
group: {
|
|
521
|
+
status: "active" | "resolved" | "ignored";
|
|
522
|
+
path: string;
|
|
521
523
|
id: number;
|
|
522
524
|
fingerprint: string;
|
|
523
525
|
name: string;
|
|
524
526
|
message: string;
|
|
525
|
-
path: string;
|
|
526
527
|
method: string;
|
|
527
528
|
statusCode: number;
|
|
528
|
-
status: "active" | "resolved" | "ignored";
|
|
529
529
|
count: number;
|
|
530
530
|
firstSeenAt: Date;
|
|
531
531
|
lastSeenAt: Date;
|
|
@@ -534,15 +534,15 @@ declare const monitorRouter: _spfn_core_route.Router<{
|
|
|
534
534
|
updatedAt: Date;
|
|
535
535
|
};
|
|
536
536
|
events: {
|
|
537
|
+
query: Record<string, string> | null;
|
|
537
538
|
id: number;
|
|
538
539
|
statusCode: number;
|
|
539
540
|
createdAt: Date;
|
|
540
541
|
updatedAt: Date;
|
|
541
|
-
|
|
542
|
+
headers: Record<string, string> | null;
|
|
542
543
|
groupId: number;
|
|
543
544
|
requestId: string | null;
|
|
544
545
|
userId: string | null;
|
|
545
|
-
headers: Record<string, string> | null;
|
|
546
546
|
stackTrace: string | null;
|
|
547
547
|
metadata: Record<string, unknown> | null;
|
|
548
548
|
}[];
|
|
@@ -555,14 +555,14 @@ declare const monitorRouter: _spfn_core_route.Router<{
|
|
|
555
555
|
status: _sinclair_typebox.TString;
|
|
556
556
|
}>;
|
|
557
557
|
}, {}, {
|
|
558
|
+
status: "active" | "resolved" | "ignored";
|
|
559
|
+
path: string;
|
|
558
560
|
id: number;
|
|
559
561
|
fingerprint: string;
|
|
560
562
|
name: string;
|
|
561
563
|
message: string;
|
|
562
|
-
path: string;
|
|
563
564
|
method: string;
|
|
564
565
|
statusCode: number;
|
|
565
|
-
status: "active" | "resolved" | "ignored";
|
|
566
566
|
count: number;
|
|
567
567
|
firstSeenAt: Date;
|
|
568
568
|
lastSeenAt: Date;
|
|
@@ -579,15 +579,15 @@ declare const monitorRouter: _spfn_core_route.Router<{
|
|
|
579
579
|
offset: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
580
580
|
}>;
|
|
581
581
|
}, {}, {
|
|
582
|
+
query: Record<string, string> | null;
|
|
582
583
|
id: number;
|
|
583
584
|
statusCode: number;
|
|
584
585
|
createdAt: Date;
|
|
585
586
|
updatedAt: Date;
|
|
586
|
-
|
|
587
|
+
headers: Record<string, string> | null;
|
|
587
588
|
groupId: number;
|
|
588
589
|
requestId: string | null;
|
|
589
590
|
userId: string | null;
|
|
590
|
-
headers: Record<string, string> | null;
|
|
591
591
|
stackTrace: string | null;
|
|
592
592
|
metadata: Record<string, unknown> | null;
|
|
593
593
|
}[]>;
|