Initial MRP foundation scaffold

This commit is contained in:
2026-03-14 14:44:40 -05:00
commit ee833ed074
77 changed files with 10218 additions and 0 deletions

15
shared/src/common/api.ts Normal file
View File

@@ -0,0 +1,15 @@
export interface ApiSuccess<T> {
ok: true;
data: T;
}
export interface ApiError {
ok: false;
error: {
message: string;
code: string;
};
}
export type ApiResponse<T> = ApiSuccess<T> | ApiError;