project refactoring en clean archi
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { Project } from '@app/shared/models/project';
|
||||
import { JsonPipe } from '@angular/common';
|
||||
import { environment } from '@env/environment';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { ProjectViewModel } from '@app/ui/projects/project.presenter.model';
|
||||
|
||||
@Component({
|
||||
selector: 'app-project-item',
|
||||
standalone: true,
|
||||
imports: [JsonPipe, RouterLink],
|
||||
imports: [],
|
||||
templateUrl: './project-item.component.html',
|
||||
styleUrl: './project-item.component.scss',
|
||||
})
|
||||
export class ProjectItemComponent {
|
||||
protected readonly environment = environment;
|
||||
|
||||
@Input({ required: true }) project: Project | undefined = undefined;
|
||||
@Input({ required: true }) project: ProjectViewModel | undefined = undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user