phase-2: add shared platform interfaces and type contracts

This commit is contained in:
sdarbinyan
2026-07-03 01:29:04 +04:00
parent b957112fc7
commit e0b73923f9
25 changed files with 334 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
export interface ApiEndpointConfig {
path: string;
method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
timeoutMs?: number;
}
export interface ApiEndpointsConfig {
bootstrap: ApiEndpointConfig;
website: Record<string, ApiEndpointConfig>;
builder: Record<string, ApiEndpointConfig>;
backoffice: Record<string, ApiEndpointConfig>;
}