mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-11-02 02:19:43 +00:00
feat(backend): add standalone data plane
Replace the Supabase application data plane with the Node/PostgreSQL API, migrate mobile, admin, web, and MCP callers, add controlled cutover tooling, and define hardened Dokploy infrastructure.
This commit is contained in:
1 parent
01bb8225ae
commit
006761d3b0
294 files changed
+16259
-6138
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import { apiClient } from './apiClient';
|
||||
|
||||
export interface AccountOperationResponse {
|
||||
success: true;
|
||||
message: string;
|
||||
}
|
||||
|
||||
export interface SubscriptionSyncResponse {
|
||||
success: true;
|
||||
is_premium: boolean;
|
||||
}
|
||||
|
||||
export const accountOperationsApi = {
|
||||
deleteRelationship: () => apiClient.delete<AccountOperationResponse>('/v1/couple/data'),
|
||||
resetProgress: () => apiClient.delete<AccountOperationResponse>('/v1/couple/progress'),
|
||||
deleteAccount: () => apiClient.delete<AccountOperationResponse>('/v1/me'),
|
||||
syncSubscription: () => apiClient.post<SubscriptionSyncResponse>('/v1/me/subscription/sync'),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user