feat(cloudron): add tirreno package artifacts
- 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.
This commit is contained in:
@@ -0,0 +1,107 @@
|
||||
import {BaseGridWithPanel} from './BaseWithPanel.js?v=2';
|
||||
import {
|
||||
renderClickableBotId,
|
||||
renderDevice,
|
||||
renderOs,
|
||||
renderBoolean,
|
||||
renderPhone,
|
||||
renderFullCountry,
|
||||
renderPhoneCarrierName,
|
||||
renderPhoneType,
|
||||
renderUserCounter,
|
||||
} from '../DataRenderers.js?v=2';
|
||||
|
||||
export class PhonesGrid extends BaseGridWithPanel {
|
||||
get orderConfig() {
|
||||
return [];
|
||||
}
|
||||
|
||||
get columnDefs() {
|
||||
const columnDefs = [
|
||||
{
|
||||
className: 'phone-phonenumber-col',
|
||||
targets: 0
|
||||
},
|
||||
{
|
||||
className: 'phone-invalid-col',
|
||||
targets: 1
|
||||
},
|
||||
{
|
||||
className: 'phone-country-col',
|
||||
targets: 2
|
||||
},
|
||||
{
|
||||
className: 'phone-carrier-col',
|
||||
targets: 3
|
||||
},
|
||||
{
|
||||
className: 'phone-type-col',
|
||||
targets: 4
|
||||
},
|
||||
{
|
||||
className: 'phone-users-col',
|
||||
targets: 5
|
||||
},
|
||||
{
|
||||
className: 'phone-blacklist-col',
|
||||
targets: 6
|
||||
},
|
||||
// TODO: return alert_list back in next release
|
||||
//{
|
||||
// className: 'yes-no-col',
|
||||
// targets: 6
|
||||
//}
|
||||
];
|
||||
|
||||
return columnDefs;
|
||||
}
|
||||
|
||||
get columns() {
|
||||
const columns = [
|
||||
{
|
||||
data: 'phonenumber',
|
||||
render: (data, type, record) => {
|
||||
return renderPhone(record);
|
||||
}
|
||||
},
|
||||
{
|
||||
data: 'invalid',
|
||||
render: renderBoolean
|
||||
},
|
||||
{
|
||||
data: 'full_country',
|
||||
render: renderFullCountry
|
||||
},
|
||||
{
|
||||
data: 'carrier_name',
|
||||
render: (data, type, record) => {
|
||||
return renderPhoneCarrierName(record);
|
||||
}
|
||||
},
|
||||
{
|
||||
data: 'type',
|
||||
render: (data, type, record) => {
|
||||
return renderPhoneType(record);
|
||||
}
|
||||
},
|
||||
{
|
||||
data: 'shared',
|
||||
name: 'shared',
|
||||
render: (data, type, record) => {
|
||||
return renderUserCounter(data, 2);
|
||||
}
|
||||
},
|
||||
{
|
||||
data: 'fraud_detected',
|
||||
render: renderBoolean
|
||||
},
|
||||
// TODO: return alert_list back in next release
|
||||
//{
|
||||
// data: 'alert_list',
|
||||
// render: renderBoolean
|
||||
//}
|
||||
];
|
||||
|
||||
return columns;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user