feat(client): implement per-client storage and security controls

- Added storage quota, IP allowlisting, and expiration logic to client management APIs.
- Updated CSV storage manager to support auto-compression and improved partition file parsing.
- Integrated security checks into event ingestion and data retrieval routes.
This commit is contained in:
Team Dark Devil committed 2026-11-19 23:02:27 +06:00
1 parent 89e4d68690
commit 2873b9904a
32 files changed
+6075 -241

No files matched your search

+8 -2
View File
@@ -33,7 +33,7 @@ interface StorageFile {
modifiedAt: string;
}
type ExportFormat = 'csv' | 'json';
type ExportFormat = 'csv' | 'json' | 'ndjson';
type RangePreset = 'today' | '7d' | '30d' | 'all' | 'custom';
function formatBytes(bytes: number) {
@@ -368,7 +368,7 @@ export function ExportWorkspace() {
Format
</legend>
<div
className="grid grid-cols-2 gap-2"
className="grid grid-cols-3 gap-2"
role="radiogroup"
aria-label="Export format"
>
@@ -384,6 +384,12 @@ export function ExportWorkspace() {
label="JSON"
onSelect={setFormat}
/>
<FormatOption
value="ndjson"
selected={format === 'ndjson'}
label="NDJSON"
onSelect={setFormat}
/>
</div>
</fieldset>