22 lines
390 B
JavaScript
22 lines
390 B
JavaScript
import Service from '@ember/service';
|
|
import { tracked } from '@glimmer/tracking';
|
|
|
|
/**
|
|
* This simple non-functional service is used to retain references to
|
|
* the currently active scope or scopes.
|
|
*/
|
|
export default class ScopeService extends Service {
|
|
|
|
// =attributes
|
|
|
|
/**
|
|
* @type {ScopeModel}
|
|
*/
|
|
@tracked org;
|
|
|
|
/**
|
|
* @type {[ScopeModel]}
|
|
*/
|
|
@tracked projects;
|
|
}
|