mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 23:43:01 +00:00
83635: Intermediate commit
This commit is contained in:

committed by
Art Lowel

parent
4feccb9989
commit
11bf10cbde
18
src/app/request-copy/request-copy-routing-paths.ts
Normal file
18
src/app/request-copy/request-copy-routing-paths.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { URLCombiner } from '../core/url-combiner/url-combiner';
|
||||
import { getRequestCopyModulePath } from '../app-routing-paths';
|
||||
|
||||
export function getRequestCopyRoute(token: string) {
|
||||
return new URLCombiner(getRequestCopyModulePath(), token).toString();
|
||||
}
|
||||
|
||||
export const REQUEST_COPY_DENY_PATH = 'deny';
|
||||
|
||||
export function getRequestCopyDenyRoute(token: string) {
|
||||
return new URLCombiner(getRequestCopyRoute(token), REQUEST_COPY_DENY_PATH).toString();
|
||||
}
|
||||
|
||||
export const REQUEST_COPY_GRANT_PATH = 'grant';
|
||||
|
||||
export function getRequestCopyGrantRoute(token: string) {
|
||||
return new URLCombiner(getRequestCopyRoute(token), REQUEST_COPY_GRANT_PATH).toString();
|
||||
}
|
Reference in New Issue
Block a user