Commit 4cad165 Nathan
authored
File tree 1 file changed +10
-1
lines changed
src/frontend/packages/core/src
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ import {
2
+ addOrUpdateUserFavoriteMetadataReducer ,
3
+ deleteUserFavoriteMetadataReducer ,
4
+ } from '../../store/src/reducers/favorite.reducer' ;
1
5
import {
2
6
endpointEntitySchema ,
3
7
STRATOS_ENDPOINT_TYPE ,
8
+ systemInfoEntitySchema ,
4
9
userFavoritesEntitySchema ,
5
10
userProfileEntitySchema ,
6
- systemInfoEntitySchema ,
7
11
} from './base-entity-schemas' ;
8
12
import { StratosCatalogueEndpointEntity , StratosCatalogueEntity } from './core/entity-catalogue/entity-catalogue-entity' ;
9
13
import { BaseEndpointAuth } from './features/endpoints/endpoint-auth' ;
@@ -42,6 +46,11 @@ class UserFavoriteCatalogueEntity extends StratosCatalogueEntity {
42
46
schema : userFavoritesEntitySchema ,
43
47
type : userFavoritesEntitySchema . entityType ,
44
48
endpoint : stratosType ,
49
+ } , {
50
+ dataReducers : [
51
+ addOrUpdateUserFavoriteMetadataReducer ,
52
+ deleteUserFavoriteMetadataReducer ,
53
+ ]
45
54
} ) ;
46
55
}
47
56
}
You can’t perform that action at this time.
0 commit comments