[ACS-5572] Add deprecated attribute to Like and Rating components (#8756)

This commit is contained in:
Grzegorz Jaśkowski
2023-07-14 23:12:49 +02:00
committed by GitHub
parent e37b03cbb4
commit 574bff2d8d
5 changed files with 15 additions and 0 deletions

View File

@@ -17,6 +17,9 @@
import { Component, ViewEncapsulation } from '@angular/core';
/**
* @deprecated This component uses Like and Rating components that are not used in ACA/ADW/ACC and can be removed.
*/
@Component({
selector: 'app-social',
templateUrl: './social.component.html',

View File

@@ -29,6 +29,9 @@ const routes: Routes = [
}
];
/**
* @deprecated This module uses Like and Rating components that are not used in ACA/ADW/ACC and can be removed.
*/
@NgModule({
imports: [
CommonModule,

View File

@@ -19,6 +19,9 @@ import { Component, EventEmitter, Input, OnChanges, Output, ViewEncapsulation }
import { RatingService } from './services/rating.service';
import { RatingEntry } from '@alfresco/js-api';
/**
* @deprecated Like component is not used in ACA/ADW/ACC, can be removed.
*/
@Component({
selector: 'adf-like',
styleUrls: ['./like.component.scss'],

View File

@@ -21,6 +21,9 @@ import { RatingEntry } from '@alfresco/js-api';
import { takeUntil } from 'rxjs/operators';
import { Subject } from 'rxjs';
/**
* @deprecated Rating component is not used in ACA/ADW/ACC, can be removed.
*/
@Component({
selector: 'adf-rating',
styleUrls: ['./rating.component.scss'],

View File

@@ -22,6 +22,9 @@ import { MaterialModule } from '../material.module';
import { LikeComponent } from './like.component';
import { RatingComponent } from './rating.component';
/**
* @deprecated This module uses Like and Rating components are not used in ACA/ADW/ACC and can be removed.
*/
@NgModule({
imports: [
CommonModule,