Skip to content

Commit 9cdb25f

Browse files
CarsonFbryanjnelson
andcommitted
Engagement.scope is not directly referenced so don't require it be present
It won't be used with EdgeDB Co-authored-by: Bryan Nelson <[email protected]>
1 parent 17f0f59 commit 9cdb25f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/components/engagement/dto/engagement.dto.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import {
2525
import { BaseNode } from '~/core/database/results';
2626
import { e } from '~/core/edgedb';
2727
import { LinkTo, RegisterResource } from '~/core/resources';
28-
import { ScopedRole } from '../../authorization/dto';
2928
import { ChangesetAware } from '../../changeset/dto';
3029
import { Product, SecuredMethodologies } from '../../product/dto';
3130
import {
@@ -132,10 +131,6 @@ class Engagement extends Interfaces {
132131
@DateTimeField()
133132
readonly modifiedAt: DateTime;
134133

135-
// A list of non-global roles the requesting user has available for this object.
136-
// This is just a cache, to prevent extra db lookups within the same request.
137-
declare readonly scope: ScopedRole[];
138-
139134
@Field()
140135
readonly description: SecuredRichTextNullable;
141136
}

0 commit comments

Comments
 (0)