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
Co-authored-by: Julien Schneider <julien.schneider.1991@gmail.com>
- Loading branch information
1 parent
5cc4577
commit 48b06bc
Showing
10 changed files
with
235 additions
and
65 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
18 changes: 18 additions & 0 deletions
18
libs/vre/shared/app-state/src/lib/resource/resource.actions.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,18 @@ | ||
export class GetAttachedUserAction { | ||
static readonly type = '[Resource] Get Attached User'; | ||
|
||
constructor( | ||
public resourceIri: string, | ||
public identifier: string, | ||
public idType: 'iri' | 'username' | 'email' = 'iri' | ||
) {} | ||
} | ||
|
||
export class GetAttachedProjectAction { | ||
static readonly type = '[Resource] Get Attached Project'; | ||
|
||
constructor( | ||
public resourceIri: string, | ||
public projectIri: string | ||
) {} | ||
} |
Oops, something went wrong.