refactor(events,proposals,runs,ui): rename declared event type fields to declared_event_type (#2128)
This commit is contained in:
28 files changed
+292
-279
No files matched your search
+19
-19
@@ -1458,7 +1458,7 @@ components:
|
||||
type: string
|
||||
content_type:
|
||||
type: string
|
||||
event_type:
|
||||
event_type_id:
|
||||
type: string
|
||||
headers:
|
||||
type: string
|
||||
@@ -1596,6 +1596,8 @@ components:
|
||||
EventsEventView:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
declared_event_type:
|
||||
type: string
|
||||
dispatched_at:
|
||||
format: date-time
|
||||
type: string
|
||||
@@ -1616,13 +1618,11 @@ components:
|
||||
type: string
|
||||
source_id:
|
||||
type: string
|
||||
type:
|
||||
type: string
|
||||
verification:
|
||||
type: string
|
||||
required:
|
||||
- id
|
||||
- type
|
||||
- declared_event_type
|
||||
- fields
|
||||
- received_at
|
||||
- matched
|
||||
@@ -1743,7 +1743,7 @@ components:
|
||||
EventsProposedTrigger:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
event_type:
|
||||
declared_event_type:
|
||||
type: string
|
||||
filter: {}
|
||||
source:
|
||||
@@ -1754,7 +1754,7 @@ components:
|
||||
required:
|
||||
- source_id
|
||||
- source
|
||||
- event_type
|
||||
- declared_event_type
|
||||
- filter
|
||||
type: object
|
||||
EventsSavedID:
|
||||
@@ -1871,11 +1871,11 @@ components:
|
||||
EventsTriggerBody:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
declared_event_type:
|
||||
description: The event kind declared by the connector that fires it; fixed when every is set
|
||||
type: string
|
||||
disabled:
|
||||
type: boolean
|
||||
event_type:
|
||||
description: The event type that fires it; fixed when every is set
|
||||
type: string
|
||||
event_type_id:
|
||||
description: Fire only for events identified as this event type of the source
|
||||
format: uuid
|
||||
@@ -1937,10 +1937,10 @@ components:
|
||||
EventsTriggerView:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
declared_event_type:
|
||||
type: string
|
||||
enabled:
|
||||
type: boolean
|
||||
event_type:
|
||||
type: string
|
||||
event_type_id:
|
||||
type: string
|
||||
every:
|
||||
@@ -1974,7 +1974,7 @@ components:
|
||||
required:
|
||||
- id
|
||||
- name
|
||||
- event_type
|
||||
- declared_event_type
|
||||
- filter
|
||||
- workflow_id
|
||||
- workflow
|
||||
@@ -3568,12 +3568,12 @@ components:
|
||||
ProposalsTrigger:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
declared_event_type:
|
||||
type: string
|
||||
dry_event_id:
|
||||
type: string
|
||||
dry_run:
|
||||
$ref: "#/components/schemas/RunsDryReport"
|
||||
event_type:
|
||||
type: string
|
||||
filter: {}
|
||||
group_id:
|
||||
type: string
|
||||
@@ -3599,7 +3599,7 @@ components:
|
||||
- group_id
|
||||
- name
|
||||
- source_id
|
||||
- event_type
|
||||
- declared_event_type
|
||||
- filter
|
||||
- workflow
|
||||
- policy_kind
|
||||
@@ -4022,6 +4022,8 @@ components:
|
||||
RunsOrigin:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
declared_event_type:
|
||||
type: string
|
||||
event_id:
|
||||
type: string
|
||||
fields: {}
|
||||
@@ -4037,13 +4039,11 @@ components:
|
||||
type: string
|
||||
trigger_id:
|
||||
type: string
|
||||
type:
|
||||
type: string
|
||||
required:
|
||||
- event_id
|
||||
- source_id
|
||||
- source
|
||||
- type
|
||||
- declared_event_type
|
||||
- fields
|
||||
- received_at
|
||||
- trigger_id
|
||||
@@ -6345,7 +6345,7 @@ paths:
|
||||
type: string
|
||||
- explode: false
|
||||
in: query
|
||||
name: type
|
||||
name: declared_event_type
|
||||
schema:
|
||||
type: string
|
||||
- description: Only events a trigger did or didn't match
|
||||
|
||||
Reference in new issue
Block a user