mirror of https://github.com/rancher/ui.git
10 lines
299 B
JavaScript
10 lines
299 B
JavaScript
import Resource from 'ember-api-store/models/resource';
|
|
import { arrayOfReferences } from 'ember-api-store/utils/denormalize';
|
|
|
|
var GithubConfig = Resource.extend({
|
|
type: 'githubConfig',
|
|
allowedPrincipals: arrayOfReferences('allowedPrincipalIds', 'principal'),
|
|
});
|
|
|
|
export default GithubConfig;
|