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

Version Path
aleph_analytics-0.4.9.pre.dev public/assets/angular/services/result/result.js-be8178c80c767a651a97537b2b0149d5.es6
aleph_analytics-0.4.9.pre.dev app/assets/javascripts/angular/services/result/result.js.es6
aleph_analytics-0.4.8 public/assets/angular/services/result/result.js-be8178c80c767a651a97537b2b0149d5.es6
aleph_analytics-0.4.8 app/assets/javascripts/angular/services/result/result.js.es6
aleph_analytics-0.4.7 app/assets/javascripts/angular/services/result/result.js.es6
aleph_analytics-0.4.7 public/assets/angular/services/result/result.js-be8178c80c767a651a97537b2b0149d5.es6
aleph_analytics-0.4.4 public/assets/angular/services/result/result.js-be8178c80c767a651a97537b2b0149d5.es6
aleph_analytics-0.4.4 app/assets/javascripts/angular/services/result/result.js.es6
aleph_analytics-0.4.2 public/assets/angular/services/result/result.js-be8178c80c767a651a97537b2b0149d5.es6
aleph_analytics-0.4.2 app/assets/javascripts/angular/services/result/result.js.es6
aleph_analytics-0.4.1 public/assets/angular/services/result/result.js-be8178c80c767a651a97537b2b0149d5.es6
aleph_analytics-0.4.1 app/assets/javascripts/angular/services/result/result.js.es6
aleph_analytics-0.3.0 public/assets/angular/services/result/result.js-be8178c80c767a651a97537b2b0149d5.es6
aleph_analytics-0.3.0 app/assets/javascripts/angular/services/result/result.js.es6
aleph_analytics-0.2.0 app/assets/javascripts/angular/services/result/result.js.es6
aleph_analytics-0.2.0 public/assets/angular/services/result/result.js-be8178c80c767a651a97537b2b0149d5.es6
aleph_analytics-0.1.0 public/assets/angular/services/result/result.js-be8178c80c767a651a97537b2b0149d5.es6
aleph_analytics-0.1.0 app/assets/javascripts/angular/services/result/result.js.es6
aleph_analytics-0.0.6 public/assets/angular/services/result/result.js-be8178c80c767a651a97537b2b0149d5.es6
aleph_analytics-0.0.6 app/assets/javascripts/angular/services/result/result.js.es6