12 lines
313 B
JavaScript
12 lines
313 B
JavaScript
|
import RepositoryService from 'consul-ui/services/repository';
|
||
|
import { PRIMARY_KEY } from 'consul-ui/models/intention';
|
||
|
const modelName = 'intention';
|
||
|
export default RepositoryService.extend({
|
||
|
getModelName: function() {
|
||
|
return modelName;
|
||
|
},
|
||
|
getPrimaryKey: function() {
|
||
|
return PRIMARY_KEY;
|
||
|
},
|
||
|
});
|