Sha256: 6753fa7d0dc9cc9eda904f17d9cbb7fc72e72eecd2935917c1fd3efa46619f52
Contents?: true
Size: 684 Bytes
Versions: 32
Compression:
Stored size: 684 Bytes
Contents
!(angular => { 'use strict'; function ResultImport(ModelManager, ResultPoller) { let ResultBase = ModelManager.forModelName('result').modelClass(); return class Result extends ResultBase { constructor() { super(); this.poller = new ResultPoller(this); } save(queryId, queryVersionId, options) { let params = _.merge({ query_id: queryId, query_version_id: queryVersionId }, (options || {})); return super.create(params); } }; } ResultImport.$inject = ['ModelManager', 'ResultPoller']; angular.module('alephServices.result', []).service('Result', ResultImport); }(angular));
Version data entries
32 entries across 16 versions & 1 rubygems