Skip to content

Commit

Permalink
reducer updates
Browse files Browse the repository at this point in the history
  • Loading branch information
estohlmann committed Dec 19, 2024
1 parent b7ee3ac commit b8d4994
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ import { IConfiguration } from '../model/configuration.model';
export const configurationApi = createApi({
reducerPath: 'configuration',
baseQuery: lisaBaseQuery(),
tagTypes: ['configuration'],
refetchOnFocus: true,
refetchOnReconnect: true,
endpoints: (builder) => ({
getConfiguration: builder.query<IConfiguration[], String>({
query: (configScope) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ import { IModel, IModelListResponse, IModelRequest, IModelUpdateRequest } from '
export const modelManagementApi = createApi({
reducerPath: 'models',
baseQuery: lisaBaseQuery(),
tagTypes: ['models'],
refetchOnFocus: true,
refetchOnReconnect: true,
endpoints: (builder) => ({
getAllModels: builder.query<IModelListResponse['models'], void>({
query: () => ({
Expand Down

0 comments on commit b8d4994

Please sign in to comment.