Revert "fix: tables"

This reverts commit 70b73a5c98.
This commit is contained in:
Arman
2025-03-25 17:20:02 +01:00
parent 77d79acc46
commit 1eb7bcd5d4
8 changed files with 16 additions and 16 deletions
@@ -9,8 +9,8 @@ export const columns = writable<Column[]>([
{ id: 'type', title: 'Type', type: 'string' },
{ id: 'value', title: 'Value', type: 'string' },
{ id: 'ttl', title: 'TTL', type: 'integer' },
{ id: 'priority', title: 'Priority', type: 'integer', show: false },
{ id: 'comment', title: 'Comment', type: 'string', show: false },
{ id: 'priority', title: 'Priority', type: 'integer', hide: true },
{ id: 'comment', title: 'Comment', type: 'string', hide: true },
{ id: '$createdAt', title: 'Created', type: 'datetime' }
]);
@@ -37,13 +37,13 @@
{ id: 'name', title: 'Name', type: 'string', width: { min: 260 } },
{ id: 'identifiers', title: 'Identifiers', type: 'string', width: { min: 140 } },
{ id: 'status', title: 'Status', type: 'string', width: { min: 140 } },
{ id: 'labels', title: 'Labels', type: 'string', show: false, width: { min: 140 } },
{ id: 'labels', title: 'Labels', type: 'string', hide: true, width: { min: 140 } },
{ id: 'joined', title: 'Joined', type: 'string', width: { min: 140 } },
{
id: 'lastActivity',
title: 'Last activity',
type: 'string',
show: false,
hide: true,
width: { min: 140 }
}
]);
@@ -16,7 +16,7 @@
const columns = writable<Column[]>([
{ id: '$id', title: 'Identity ID', type: 'string', width: 200 },
{ id: 'provider', title: 'Provider', type: 'string', width: 80 },
{ id: 'providerUid', title: 'Provider UID', type: 'string', show: false, width: 80 },
{ id: 'providerUid', title: 'Provider UID', type: 'string', hide: true, width: 80 },
{ id: 'providerEmail', title: 'Email', type: 'string', width: 80 },
{
id: 'providerAccessTokenExpiry',
@@ -25,7 +25,7 @@
width: 60
},
{ id: '$createdAt', title: 'Created', type: 'datetime', width: 80 },
{ id: '$updatedAt', title: 'Updated', type: 'datetime', show: false, width: 80 }
{ id: '$updatedAt', title: 'Updated', type: 'datetime', hide: true, width: 80 }
]);
</script>
@@ -15,7 +15,7 @@ export const columns = writable<Column[]>([
id: 'trigger',
title: 'Trigger',
type: 'string',
show: false,
hide: true,
width: { min: 90, max: 200 },
array: true,
format: 'enum',
@@ -29,7 +29,7 @@ export const columns = writable<Column[]>([
id: 'requestMethod',
title: 'Method',
type: 'string',
show: false,
hide: true,
width: { min: 90, max: 200 },
array: true,
format: 'enum',
@@ -39,7 +39,7 @@ export const columns = writable<Column[]>([
id: 'responseStatusCode',
title: 'Status code',
type: 'integer',
show: false,
hide: true,
width: { min: 100, max: 200 },
format: 'integer',
elements: [
@@ -45,7 +45,7 @@
id: 'message',
title: 'Message',
type: 'string',
show: false,
hide: true,
filter: false,
width: { min: 140 }
},
@@ -36,21 +36,21 @@
id: 'emailTotal',
title: 'Email Subscribers',
type: 'integer',
show: false,
hide: true,
width: { min: 140 }
},
{
id: 'smsTotal',
title: 'SMS Subscribers',
type: 'integer',
show: false,
hide: true,
width: { min: 140 }
},
{
id: 'pushTotal',
title: 'Push Subscribers',
type: 'integer',
show: false,
hide: true,
width: { min: 140 }
},
{
@@ -2,7 +2,7 @@ import type { Column } from '$lib/helpers/types';
import { writable } from 'svelte/store';
export const columns = writable<Column[]>([
{ id: '$id', title: 'Webhook ID', type: 'string', show: false, width: 200 },
{ id: '$id', title: 'Webhook ID', type: 'string', hide: true, width: 200 },
{ id: 'name', title: 'Name', type: 'string', width: { min: 200 } },
{ id: 'url', title: 'Post URL', type: 'string', width: { min: 200 } },
{ id: 'events', title: 'Events', type: 'string', width: { min: 120 } },
@@ -61,7 +61,7 @@ export const columns = writable<Column[]>([
id: 'sourceSize',
title: 'Source size',
type: 'integer',
show: false,
hide: true,
width: { min: 110, max: 190 },
elements: [
{
@@ -82,7 +82,7 @@ export const columns = writable<Column[]>([
id: 'buildSize',
title: 'Build size',
type: 'integer',
show: false,
hide: true,
filter: false,
width: { min: 90, max: 190 }
},