File tree Expand file tree Collapse file tree 2 files changed +10
-16
lines changed
Expand file tree Collapse file tree 2 files changed +10
-16
lines changed Original file line number Diff line number Diff line change 1+ import { Roles } from "../auth/ability/ability.factory" ;
12export class M2M {
2- isM2M : boolean ;
3- role : {
4- main : string ;
5- } ;
6- scopes : string [ ] ;
3+ isM2M : boolean ;
4+ clientId : string ;
5+ subject : string ;
6+ scopes : string [ ] ;
7+ role : {
8+ main : Roles ;
9+ } ;
10+ namespace : string ;
711}
Original file line number Diff line number Diff line change 1- import { Roles } from "../../auth/ability/ability.factory " ;
1+ import { M2M } from "../../entities/m2m.entity " ;
22import { HistoryType , TargetModel } from "../schema/history.schema" ;
33import { Types } from "mongoose" ;
44
@@ -33,16 +33,6 @@ interface HistoryItem {
3333}
3434
3535type PerformedBy = Types . ObjectId [ ] | M2M | string | null ;
36- interface M2M {
37- isM2M : boolean ;
38- clientId : string ;
39- subject : string ;
40- scopes : string [ ] ;
41- role : {
42- main : Roles . Integration ;
43- } ;
44- namespace : string ;
45- }
4636interface HistoryDetails {
4737 after : AfterAndBeforeType ;
4838 before ?: AfterAndBeforeType | null ;
You can’t perform that action at this time.
0 commit comments