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:
1 parent
89e4d68690
commit
2873b9904a
32 files changed
+6075
-241
No files matched your search
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user