-
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.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
f063da6
commit b9c5f91
Showing
35 changed files
with
301 additions
and
154 deletions.
There are no files selected for viewing
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
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
15 changes: 15 additions & 0 deletions
15
spa/src/app/files/_ngrx/entity/init-entity-state.action.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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* Human Cell Atlas | ||
* https://www.humancellatlas.org/ | ||
* | ||
* Action dispatched when entity state is not yet cached and needs to be initialized. | ||
*/ | ||
|
||
// App dependencies | ||
import { Action } from "@ngrx/store"; | ||
|
||
export class InitEntityStateAction implements Action { | ||
|
||
public static ACTION_TYPE = "FILE.FACET.INIT_ENTITY_STATE"; | ||
public readonly type = InitEntityStateAction.ACTION_TYPE; | ||
} |
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
22 changes: 22 additions & 0 deletions
22
spa/src/app/files/_ngrx/facet/fetch-file-facets-request.action.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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* Human Cell Atlas | ||
* https://www.humancellatlas.org/ | ||
* | ||
* Action dispatched when file fileFacets are to be updated. This can be on load of app, select or clear of fileFacets, or | ||
* select of project. | ||
*/ | ||
|
||
// Core dependencies | ||
import { Action } from "@ngrx/store"; | ||
|
||
export class FetchFileFacetsRequestAction implements Action { | ||
|
||
public static ACTION_TYPE = "FILE.FACET.FETCH_REQUEST"; | ||
public readonly type = FetchFileFacetsRequestAction.ACTION_TYPE; | ||
|
||
/** | ||
* @param {boolean} updateTableData - True if table data is to be updated. This is false on select of project as we | ||
* want table data and state (eg pagination) to remain unchanged on select of project. | ||
*/ | ||
constructor(public readonly updateTableData: boolean) {} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* Human Cell Atlas | ||
* https://www.humancellatlas.org/ | ||
* | ||
* Noop action. | ||
*/ | ||
|
||
// Core dependencies | ||
import { Action } from "@ngrx/store"; | ||
|
||
export class NoOpAction implements Action { | ||
public static ACTION_TYPE = "FILE.FACET.NOOP"; | ||
public readonly type = NoOpAction.ACTION_TYPE; | ||
} |
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
Oops, something went wrong.