docs: update AI Studio design token audits
Refresh design token inventory files to reflect the latest UI sizing and layout configurations from the sandbox prototype.
This commit is contained in:
1 parent
50449e96ad
commit
d39d9f92f9
139 files changed
+10982
-6
No files matched your search
@@ -0,0 +1,30 @@
|
||||
import { SDKManager } from '../sdk/sdkManager';
|
||||
import { SettingsManager } from '../adminSettings/settingsManager';
|
||||
|
||||
/**
|
||||
* Database Module (PostgreSQL + Prisma abstraction)
|
||||
* CRITICAL RULE: PostgreSQL stores strictly administrative metadata,
|
||||
* client registrations, and configuration. Collected data is NEVER stored in PostgreSQL.
|
||||
*/
|
||||
export class DatabaseEngine {
|
||||
public static isConnected = true;
|
||||
|
||||
public static async getHealth() {
|
||||
return {
|
||||
status: 'healthy',
|
||||
type: 'PostgreSQL + Prisma Schema Managed',
|
||||
database: 'datastack_db',
|
||||
role: 'Metadata & SDK Registrations Only',
|
||||
collectedDataStorage: 'Strictly CSV (/storage/data)',
|
||||
};
|
||||
}
|
||||
|
||||
public static async syncState() {
|
||||
return {
|
||||
clientsCount: SDKManager.listClients().length,
|
||||
settings: SettingsManager.getSettings(),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default DatabaseEngine;
|
||||
@@ -0,0 +1,12 @@
|
||||
# Database Engine Manifest
|
||||
|
||||
## Purpose
|
||||
Database layer managing PostgreSQL schema via Prisma ORM.
|
||||
|
||||
## Absolute Constraint
|
||||
PostgreSQL is utilized ONLY for:
|
||||
1. Client SDK registrations and API keys
|
||||
2. Admin settings and feature flags
|
||||
3. System audit logs
|
||||
|
||||
**Collected realtime data is NEVER stored per-row in PostgreSQL.** It is stored exclusively in rotated CSV files at `/storage/data/{clientId}/{YYYY-MM-DD}.csv`.
|
||||
Reference in new issue
Block a user