Skip to content

Commit c055516

Browse files
author
Sean Warren
committed
Merge remote-tracking branch 'origin/main' into feat/SOF-6875
2 parents 94a4d35 + 6e361f1 commit c055516

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/entity/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
DefaultableMixin,
88
HasDescriptionMixin,
99
HasMetadataMixin,
10+
HasScopeTrackMixin,
1011
NamedEntityMixin,
1112
TaggableMixin,
1213
} from "./mixins/props";
@@ -43,6 +44,7 @@ export {
4344
HasDescriptionMixin,
4445
HasMetadataMixin,
4546
TaggableMixin,
47+
HasScopeTrackMixin,
4648
NamedEntityMixin,
4749
RuntimeItemsMixin,
4850
RuntimeContextFieldMixin,

src/entity/mixins/props.js

+12
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ export const TaggableMixin = (superclass) => {
3232
};
3333
};
3434

35+
export const HasScopeTrackMixin = (superclass) => {
36+
return class extends superclass {
37+
get scopeTrack() {
38+
return this.prop("scopeTrack", []);
39+
}
40+
41+
set scopeTrack(array) {
42+
this.setProp("scopeTrack", array);
43+
}
44+
};
45+
};
46+
3547
export const HasMetadataMixin = (superclass) => {
3648
return class extends superclass {
3749
get metadata() {

0 commit comments

Comments
 (0)