Sha256: 5ae944d06a84a4c75109d070d2b43dbde946ce57b42af0e48fea7e479fabbe53

Contents?: true

Size: 682 Bytes

Versions: 136

Compression:

Stored size: 682 Bytes

Contents

(function () {
    'use strict';

    /**
     * @ngdoc factory
     * @name  Bastion.files.factory:File
     *
     * @description
     *   Provides a BastionResource for interacting with Files
     */
    function File(BastionResource, CurrentOrganization) {

        return BastionResource('katello/api/v2/files/:id',
            {'id': '@id', 'organization_id': CurrentOrganization},
            {
                autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}}
            }
        );

    }

    angular
        .module('Bastion.files')
        .factory('File', File);

    File.$inject = ['BastionResource', 'CurrentOrganization'];

})();

Version data entries

136 entries across 136 versions & 1 rubygems

Version Path
katello-4.14.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.15.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.15.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.15.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.14.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.14.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.14.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.14.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.14.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.14.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.13.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.13.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.12.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.13.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.12.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.12.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.12.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.12.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.11.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.11.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js