feat: add views and viewSorts tables (#1131)

* feat: add views table

Closes #1120

* feat: add viewSorts table

Closes #1120
This commit is contained in:
Thaïs
2023-08-10 18:14:28 +02:00
committed by GitHub
parent 428acf4a13
commit 0f364cc9e7
8 changed files with 304 additions and 2 deletions

View File

@ -18,6 +18,8 @@ import {
PipelineProgress,
UserSettings,
ViewField,
View,
ViewSort,
} from '@prisma/client';
import { AbilityAction } from './ability.action';
@ -37,7 +39,9 @@ type SubjectsAbility = Subjects<{
PipelineProgress: PipelineProgress;
Attachment: Attachment;
UserSettings: UserSettings;
View: View;
ViewField: ViewField;
ViewSort: ViewSort;
}>;
export type AppAbility = PureAbility<