You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/airtable_oauth/sources/new-modified-or-deleted-records-instant/new-modified-or-deleted-records-instant.mjs
+29-19Lines changed: 29 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@ import constants from "../common/constants.mjs";
3
3
importsampleEmitfrom"./test-event.mjs";
4
4
5
5
exportdefault{
6
-
name: "New Modified or Deleted Records (Instant)",
7
-
description: "Emit new event each time a record is added, updated, or deleted in an Airtable table. [See the documentation](https://airtable.com/developers/web/api/create-a-webhook)",
6
+
name: "New Record Created, Updated or Deleted (Instant)",
7
+
description: "Emit new event when a record is added, updated, or deleted in a table or selected view. [See the documentation](https://airtable.com/developers/web/api/create-a-webhook)",
description: "Only generate payloads that contain changes affecting objects of these types",
28
+
description: "Select the object types that should emit events when updated.",
29
29
options: constants.DATA_TYPES,
30
30
},
31
+
infoBox1: {
32
+
type: "alert",
33
+
alertType: "info",
34
+
content: "You can select which types of activity to emit events for, using the `Update Types` prop below - otherwise, all record updates will emit events.",
35
+
},
36
+
changeTypes: {
37
+
type: "string[]",
38
+
label: "Update Types",
39
+
description: "Select the types of record updates that should emit events. If not specified, all updates will emit events.",
40
+
options: constants.CHANGE_TYPES,
41
+
optional: true,
42
+
},
43
+
infoBox2: {
44
+
type: "alert",
45
+
alertType: "info",
46
+
content: "You can also select a table or a specific view to get updates from. Further levels of customization are also available in the other optional props below.",
47
+
},
31
48
tableId: {
32
49
propDefinition: [
33
50
airtable,
@@ -36,7 +53,7 @@ export default {
36
53
baseId: c.baseId,
37
54
}),
38
55
],
39
-
description: "Only generate payloads for changes in the specified TableId",
56
+
description: "Only emit events for updates in the specified Table Id",
40
57
optional: true,
41
58
},
42
59
viewId: {
@@ -48,20 +65,13 @@ export default {
48
65
tableId: c.tableId,
49
66
}),
50
67
],
51
-
description: "Only generate payloads for changes in the specified ViewId",
52
-
optional: true,
53
-
},
54
-
changeTypes: {
55
-
type: "string[]",
56
-
label: "Change Types",
57
-
description: "Only generate payloads that contain changes of these types",
58
-
options: constants.CHANGE_TYPES,
68
+
description: "Only emit events for updates in the specified View Id",
59
69
optional: true,
60
70
},
61
71
fromSouces: {
62
72
type: "string[]",
63
73
label: "From Sources",
64
-
description: "Only generate payloads for changes from these sources. If omitted, changes from all sources are reported",
74
+
description: "Only emit events for updates from these sources. If omitted, updates from all sources are reported",
65
75
options: constants.FROM_SOURCES,
66
76
optional: true,
67
77
},
@@ -76,7 +86,7 @@ export default {
76
86
],
77
87
type: "string[]",
78
88
label: "Watch Data In Field Ids",
79
-
description: "Only generate payloads for changes that modify values in cells in these fields. If omitted, all fields within the table/view/base are watched",
89
+
description: "Only emit events for updates that modify values in cells in these fields. If omitted, all fields within the table/view/base are watched",
80
90
},
81
91
watchSchemasOfFieldIds: {
82
92
propDefinition: [
@@ -89,7 +99,7 @@ export default {
89
99
],
90
100
type: "string[]",
91
101
label: "Watch Schemas of Field Ids",
92
-
description: "Only generate payloads for changes that modify the schemas of these fields. If omitted, schemas of all fields within the table/view/base are watched",
102
+
description: "Only emit events for updates that modify the schemas of these fields. If omitted, schemas of all fields within the table/view/base are watched",
93
103
},
94
104
includeCellValuesInFieldIds: {
95
105
propDefinition: [
@@ -102,18 +112,18 @@ export default {
102
112
],
103
113
type: "string[]",
104
114
label: "Include Cell Values in Field Ids",
105
-
description: "A list of fields to include in the payload regardless of whether or not they changed",
115
+
description: "Fields to include in the event payload, regardless of whether or not they changed",
106
116
},
107
117
includePreviousCellValues: {
108
118
type: "boolean",
109
119
label: "Include Previous Cell Values",
110
-
description: "If true, include the previous cell value in the payload",
120
+
description: "If true, include the previous cell value in the event payload",
111
121
optional: true,
112
122
},
113
123
includePreviousFieldDefinitions: {
114
124
type: "boolean",
115
125
label: "Include Previous Field Definitions",
116
-
description: "If true, include the previous field definition in the payload",
126
+
description: "If true, include the previous field definition in the event payload",
Copy file name to clipboardExpand all lines: components/airtable_oauth/sources/new-or-modified-field/new-or-modified-field.mjs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@ import common from "../common/common.mjs";
2
2
3
3
exportdefault{
4
4
name: "New or Modified Field",
5
-
description: "Emit new event for each new or modified field in a table",
5
+
description: "Emit new event when a field is created or updated in the selected table. [See the documentation](https://airtable.com/developers/web/api/get-base-schema)",
6
6
key: "airtable_oauth-new-or-modified-field",
7
-
version: "0.0.6",
7
+
version: "0.0.7",
8
8
type: "source",
9
9
props: {
10
10
...common.props,
@@ -16,7 +16,7 @@ export default {
16
16
baseId,
17
17
}),
18
18
],
19
-
description: "The table ID to watch for changes.",
19
+
description: "Select a table to watch for field updates, or provide a table ID.",
0 commit comments