Skip to content

Commit 2d9cd29

Browse files
Make the type field required for all prop types (#145)
Same as aee0092 but for every specific prop type. Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent aee0092 commit 2d9cd29

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+111
-111
lines changed

src/api/types/ConfigurablePropAirtableBaseId.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
export interface ConfigurablePropAirtableBaseId {
6-
type?: "$.airtable.baseId";
6+
type: "$.airtable.baseId";
77
/** The name of the app prop that provides Airtable authentication */
88
appProp?: string;
99
/** When building `configuredProps`, make sure to use this field as the key when setting the prop value */

src/api/types/ConfigurablePropAirtableFieldId.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
export interface ConfigurablePropAirtableFieldId {
6-
type?: "$.airtable.fieldId";
6+
type: "$.airtable.fieldId";
77
/** The name of the prop that provides the Airtable table ID */
88
tableIdProp?: string;
99
/** When building `configuredProps`, make sure to use this field as the key when setting the prop value */

src/api/types/ConfigurablePropAirtableTableId.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
export interface ConfigurablePropAirtableTableId {
6-
type?: "$.airtable.tableId";
6+
type: "$.airtable.tableId";
77
/** The name of the prop that provides the Airtable base ID */
88
baseIdProp?: string;
99
/** When building `configuredProps`, make sure to use this field as the key when setting the prop value */

src/api/types/ConfigurablePropAirtableViewId.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
export interface ConfigurablePropAirtableViewId {
6-
type?: "$.airtable.viewId";
6+
type: "$.airtable.viewId";
77
/** The name of the prop that provides the Airtable table ID */
88
tableIdProp?: string;
99
/** When building `configuredProps`, make sure to use this field as the key when setting the prop value */

src/api/types/ConfigurablePropAlert.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import * as Pipedream from "../index.js";
66

77
export interface ConfigurablePropAlert {
8-
type?: "alert";
8+
type: "alert";
99
alertType?: Pipedream.ConfigurablePropAlertType;
1010
/** The content of the alert, which can include HTML or plain text. */
1111
content?: string;

src/api/types/ConfigurablePropAny.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
export interface ConfigurablePropAny {
6-
type?: "any";
6+
type: "any";
77
/** When building `configuredProps`, make sure to use this field as the key when setting the prop value */
88
name: string;
99
/** Value to use as an input label. In cases where `type` is "app", should load the app via `getApp`, etc. and show `app.name` instead. */

src/api/types/ConfigurablePropApp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
export interface ConfigurablePropApp {
6-
type?: "app";
6+
type: "app";
77
/** The name slug of the app, e.g. 'github', 'slack', etc. This is used to identify the app for which the account is being configured. */
88
app?: string;
99
/** When building `configuredProps`, make sure to use this field as the key when setting the prop value */

src/api/types/ConfigurablePropApphook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
export interface ConfigurablePropApphook {
6-
type?: "$.interface.apphook";
6+
type: "$.interface.apphook";
77
/** The name of the app prop that this apphook depends on */
88
appProp?: string;
99
/** List of event names to listen for */

src/api/types/ConfigurablePropBoolean.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
export interface ConfigurablePropBoolean {
6-
type?: "boolean";
6+
type: "boolean";
77
/** When building `configuredProps`, make sure to use this field as the key when setting the prop value */
88
name: string;
99
/** Value to use as an input label. In cases where `type` is "app", should load the app via `getApp`, etc. and show `app.name` instead. */

src/api/types/ConfigurablePropDb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
export interface ConfigurablePropDb {
6-
type?: "$.service.db";
6+
type: "$.service.db";
77
/** When building `configuredProps`, make sure to use this field as the key when setting the prop value */
88
name: string;
99
/** Value to use as an input label. In cases where `type` is "app", should load the app via `getApp`, etc. and show `app.name` instead. */

0 commit comments

Comments
 (0)