This commit is contained in:
Estifo77
2026-07-27 11:52:56 +03:00
parent af85fca02a
commit 163e02e7af
9 changed files with 834 additions and 277 deletions

View File

@@ -1,9 +1,9 @@
import { createApi } from '@reduxjs/toolkit/query/react';
import { baseQueryWithReauth } from './base-query-with-reauth';
import { createApi } from "@reduxjs/toolkit/query/react";
import { baseQueryWithReauth } from "./base-query-with-reauth";
import { tagTypes } from "./tagTypes";
export const baseApi = createApi({
reducerPath: 'baseApi',
reducerPath: "baseApi",
baseQuery: baseQueryWithReauth,
tagTypes: ['Api'],
tagTypes: ["Api", "backOfficeApi", "portalApi", ...tagTypes],
endpoints: () => ({}),
});

View File

@@ -0,0 +1 @@
export const tagTypes = ["ProfessionApi"];