13 lines
346 B
TypeScript
13 lines
346 B
TypeScript
|
|
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>;
|
||
|
|
}
|