mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
@@ -6,23 +6,30 @@ columns:
|
||||
name:
|
||||
type: string
|
||||
length: 255
|
||||
nullable: false
|
||||
method:
|
||||
type: string
|
||||
length: 10
|
||||
default: POST
|
||||
nullable: false
|
||||
url:
|
||||
type: string
|
||||
length: 255
|
||||
nullable: false
|
||||
status:
|
||||
type: string
|
||||
length: 10
|
||||
default: inactive
|
||||
default: active
|
||||
nullable: false
|
||||
data:
|
||||
type: boolean
|
||||
default: false
|
||||
default: true
|
||||
nullable: false
|
||||
actions:
|
||||
type: string
|
||||
length: 100
|
||||
nullable: false
|
||||
collections:
|
||||
type: string
|
||||
length: 255
|
||||
nullable: false
|
||||
|
||||
@@ -51,3 +51,19 @@ data:
|
||||
collection: 210
|
||||
action_on: 240
|
||||
action_by: 240
|
||||
|
||||
- collection: directus_webhooks
|
||||
layout: tabular
|
||||
layout_query:
|
||||
tabular:
|
||||
fields:
|
||||
- status
|
||||
- name
|
||||
- method
|
||||
- url
|
||||
layout_options:
|
||||
tabular:
|
||||
widths:
|
||||
status: 36
|
||||
name: 300
|
||||
|
||||
|
||||
@@ -9,11 +9,18 @@ fields:
|
||||
field: name
|
||||
interface: text-input
|
||||
locked: true
|
||||
options:
|
||||
iconRight: title
|
||||
sort: 1
|
||||
width: full
|
||||
- collection: directus_webhooks
|
||||
field: method
|
||||
interface: dropdown
|
||||
display: labels
|
||||
display_options:
|
||||
defaultBackground: "#ECEFF1"
|
||||
choices: null
|
||||
format: false
|
||||
locked: true
|
||||
options:
|
||||
choices:
|
||||
@@ -32,6 +39,20 @@ fields:
|
||||
- collection: directus_webhooks
|
||||
field: status
|
||||
interface: dropdown
|
||||
display: labels
|
||||
display_options:
|
||||
defaultColor: "#B0BEC5"
|
||||
defaultBackground: "#ECEFF1"
|
||||
showAsDot: true
|
||||
choices:
|
||||
- text: Active
|
||||
value: active
|
||||
foreground: "#607D8B"
|
||||
background: "#2F80ED"
|
||||
- text: Inactive
|
||||
value: inactive
|
||||
foreground: "#607D8B"
|
||||
background: "#ECEFF1"
|
||||
locked: true
|
||||
options:
|
||||
choices:
|
||||
@@ -46,8 +67,7 @@ fields:
|
||||
interface: toggle
|
||||
locked: true
|
||||
options:
|
||||
choices:
|
||||
label: Include item data in request
|
||||
label: Send Event Data
|
||||
sort: 5
|
||||
width: half
|
||||
- collection: directus_webhooks
|
||||
|
||||
Reference in New Issue
Block a user