mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Add additional typedocs to Edit Item classes
This commit is contained in:
@@ -13,6 +13,9 @@ import {ItemPrivateComponent} from './item-private/item-private.component';
|
|||||||
import {ItemPublicComponent} from './item-public/item-public.component';
|
import {ItemPublicComponent} from './item-public/item-public.component';
|
||||||
import {ItemDeleteComponent} from './item-delete/item-delete.component';
|
import {ItemDeleteComponent} from './item-delete/item-delete.component';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Module that contains all components related to the Edit Item page administrator functionality
|
||||||
|
*/
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
@@ -14,6 +14,9 @@ const ITEM_EDIT_PRIVATE_PATH = 'private';
|
|||||||
const ITEM_EDIT_PUBLIC_PATH = 'public';
|
const ITEM_EDIT_PUBLIC_PATH = 'public';
|
||||||
const ITEM_EDIT_DELETE_PATH = 'delete';
|
const ITEM_EDIT_DELETE_PATH = 'delete';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Routing module that handles the routing for the Edit Item page administrator functionality
|
||||||
|
*/
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forChild([
|
RouterModule.forChild([
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* Represents an item operation used on the edit item page with a key, an operation URL to which will be navigated
|
||||||
|
* when performing the action and an option to disable the operation.
|
||||||
|
*/
|
||||||
export class ItemOperation {
|
export class ItemOperation {
|
||||||
|
|
||||||
operationKey: string;
|
operationKey: string;
|
||||||
|
@@ -18,6 +18,10 @@ import {RestResponse} from '../../../core/cache/response-cache.models';
|
|||||||
import {of as observableOf} from 'rxjs';
|
import {of as observableOf} from 'rxjs';
|
||||||
import {getItemEditPath} from '../../item-page-routing.module';
|
import {getItemEditPath} from '../../item-page-routing.module';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test component that implements the AbstractSimpleItemActionComponent used to test the
|
||||||
|
* AbstractSimpleItemActionComponent component
|
||||||
|
*/
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-simple-action',
|
selector: 'ds-simple-action',
|
||||||
templateUrl: './abstract-simple-item-action.component.html'
|
templateUrl: './abstract-simple-item-action.component.html'
|
||||||
|
Reference in New Issue
Block a user