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.0.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.0.0.rc3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.0.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.18.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.18.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.17.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.0.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.18.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.17.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-4.0.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.18.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.18.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.17.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.16.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.18.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.18.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.17.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.18.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.17.0.rc2.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js
katello-3.17.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/files/file.factory.js