-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: strip all firebase related things from project * chore: updated angular package versions * chore: update angular, angular universal and angular eslint to v13 * chore: update angular material to v13 * chore: remove usage of deprecated functions * chore: upgrade nx workspace * chore: remove deprecated ngrx selector usage * chore: bump version
- Loading branch information
Showing
37 changed files
with
2,999 additions
and
5,823 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
!.vscode/extensions.json | ||
|
||
# misc | ||
/.angular/cache | ||
/.sass-cache | ||
/connect.lock | ||
/coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 14 additions & 12 deletions
26
apps/frontend/src/app/modules/canteen/reducer/canteen/canteen.effects.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
apps/frontend/src/app/modules/home/state/posts/posts.selector.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import { postsFeatureKey, State } from './posts.reducer' | ||
import { createSelector } from '@ngrx/store' | ||
import { createFeatureSelector, createSelector } from '@ngrx/store' | ||
|
||
const selectFeature = (state) => state[postsFeatureKey] | ||
const selectFeature = createFeatureSelector<State>(postsFeatureKey) | ||
|
||
export const selectPosts = createSelector(selectFeature, (state: State) => state.posts) | ||
export const selectPosts = createSelector(selectFeature, (state) => state.posts) | ||
|
||
export const selectPagesLoaded = createSelector(selectFeature, (state: State) => state.pagesLoaded) | ||
export const selectPagesLoaded = createSelector(selectFeature, (state) => state.pagesLoaded) | ||
|
||
export const selectFeaturedPostsLoaded = createSelector(selectFeature, (state: State) => state.featuredPostsLoaded) | ||
export const selectFeaturedPostsLoaded = createSelector(selectFeature, (state) => state.featuredPostsLoaded) | ||
|
||
export const selectFeaturedPosts = createSelector(selectFeature, (state: State) => state.featuredPosts) | ||
export const selectFeaturedPosts = createSelector(selectFeature, (state) => state.featuredPosts) | ||
|
||
export const selectLoading = createSelector(selectFeature, (state: State) => state.loading) | ||
export const selectLoading = createSelector(selectFeature, (state) => state.loading) |
Oops, something went wrong.