mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) updates from grist-core
This commit is contained in:
@@ -107,6 +107,12 @@ const WEBHOOK_COLUMNS = [
|
||||
type: 'Text',
|
||||
label: t('Status'),
|
||||
},
|
||||
{
|
||||
id: VirtualId(),
|
||||
colId: 'authorization',
|
||||
type: 'Text',
|
||||
label: t('Header Authorization'),
|
||||
},
|
||||
] as const;
|
||||
|
||||
/**
|
||||
@@ -114,10 +120,11 @@ const WEBHOOK_COLUMNS = [
|
||||
*/
|
||||
const WEBHOOK_VIEW_FIELDS: Array<(typeof WEBHOOK_COLUMNS)[number]['colId']> = [
|
||||
'name', 'memo',
|
||||
'eventTypes', 'url',
|
||||
'tableId', 'isReadyColumn',
|
||||
'watchedColIdsText', 'webhookId',
|
||||
'enabled', 'status'
|
||||
'eventTypes', 'tableId',
|
||||
'watchedColIdsText', 'isReadyColumn',
|
||||
'url', 'authorization',
|
||||
'webhookId', 'enabled',
|
||||
'status'
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -136,7 +143,7 @@ class WebhookExternalTable implements IExternalTable {
|
||||
public name = 'GristHidden_WebhookTable';
|
||||
public initialActions = _prepareWebhookInitialActions(this.name);
|
||||
public saveableFields = [
|
||||
'tableId', 'watchedColIdsText', 'url', 'eventTypes', 'enabled', 'name', 'memo', 'isReadyColumn',
|
||||
'tableId', 'watchedColIdsText', 'url', 'authorization', 'eventTypes', 'enabled', 'name', 'memo', 'isReadyColumn',
|
||||
];
|
||||
public webhooks: ObservableArray<UIWebhookSummary> = observableArray<UIWebhookSummary>([]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user