Add additional typedocs to Edit Item classes

This commit is contained in:
Yana De Pauw
2018-12-20 11:43:04 +01:00
parent b9ea5133e3
commit 2e40b007ae
4 changed files with 14 additions and 0 deletions

View File

@@ -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,

View File

@@ -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([

View File

@@ -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;

View File

@@ -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'