- Add CloudronStack/output/CloudronPackages-Artifacts/tirreno/ directory and its contents - Includes package manifest, Dockerfile, source code, documentation, and build artifacts - Add tirreno-1761840148.tar.gz as a build artifact - Add tirreno-cloudron-package-1761841304.tar.gz as the Cloudron package - Include all necessary files for the tirreno Cloudron package This adds the complete tirreno Cloudron package artifacts to the repository.
		
			
				
	
	
		
			21 lines
		
	
	
		
			450 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			450 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const getQueryParams = (params) => {
 | 
						|
    const data = {};
 | 
						|
    Object.assign(data, params);
 | 
						|
 | 
						|
    if (params.dateRange) {
 | 
						|
        data['dateTo']    = params.dateRange.dateTo;
 | 
						|
        data['dateFrom']  = params.dateRange.dateFrom;
 | 
						|
        data['keepDates'] = params.dateRange.keepDates;
 | 
						|
    }
 | 
						|
 | 
						|
    if (params.searchValue) {
 | 
						|
        data['search'] = {
 | 
						|
            value: params.searchValue
 | 
						|
        };
 | 
						|
    }
 | 
						|
 | 
						|
    return data;
 | 
						|
};
 | 
						|
 | 
						|
export {getQueryParams};
 |