feature/state-and-data-fetching #1

Merged
ilia merged 27 commits from feature/state-and-data-fetching into main 2026-03-24 08:02:20 +00:00
2 changed files with 20 additions and 0 deletions
Showing only changes of commit a36922e1c7 - Show all commits

View File

@@ -0,0 +1,19 @@
import { api as baseApi } from "shared/config";
// Extend base API with authentication hooks
export const api = baseApi.extend({
hooks: {
beforeRequest: [
(request) => {
// Add authentication token to request headers
return request;
},
],
afterResponse: [
async (request, options, response) => {
// Refresh token logic
return response;
},
],
},
});

View File

@@ -0,0 +1 @@
export * from "./authApi/authApi";