Skip to content

Commit d1e64ee

Browse files
authored
refactor(APIApplication): mark role_connections_verification_url and interactions_endpoint_url as nullable (#1090)
1 parent 557c534 commit d1e64ee

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

deno/payloads/v10/application.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ export interface APIApplication {
120120
/**
121121
* The interactions endpoint URL for the application
122122
*/
123-
interactions_endpoint_url?: string;
123+
interactions_endpoint_url?: string | null;
124124
/**
125125
* The application's role connection verification entry point,
126126
* which when configured will render the app as a verification method in the guild role verification configuration
127127
*/
128-
role_connections_verification_url?: string;
128+
role_connections_verification_url?: string | null;
129129
/**
130130
* Up to 5 tags of max 20 characters each describing the content and functionality of the application
131131
*/

deno/payloads/v9/application.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ export interface APIApplication {
120120
/**
121121
* The interactions endpoint URL for the application
122122
*/
123-
interactions_endpoint_url?: string;
123+
interactions_endpoint_url?: string | null;
124124
/**
125125
* The application's role connection verification entry point,
126126
* which when configured will render the app as a verification method in the guild role verification configuration
127127
*/
128-
role_connections_verification_url?: string;
128+
role_connections_verification_url?: string | null;
129129
/**
130130
* Up to 5 tags of max 20 characters each describing the content and functionality of the application
131131
*/

payloads/v10/application.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ export interface APIApplication {
120120
/**
121121
* The interactions endpoint URL for the application
122122
*/
123-
interactions_endpoint_url?: string;
123+
interactions_endpoint_url?: string | null;
124124
/**
125125
* The application's role connection verification entry point,
126126
* which when configured will render the app as a verification method in the guild role verification configuration
127127
*/
128-
role_connections_verification_url?: string;
128+
role_connections_verification_url?: string | null;
129129
/**
130130
* Up to 5 tags of max 20 characters each describing the content and functionality of the application
131131
*/

payloads/v9/application.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ export interface APIApplication {
120120
/**
121121
* The interactions endpoint URL for the application
122122
*/
123-
interactions_endpoint_url?: string;
123+
interactions_endpoint_url?: string | null;
124124
/**
125125
* The application's role connection verification entry point,
126126
* which when configured will render the app as a verification method in the guild role verification configuration
127127
*/
128-
role_connections_verification_url?: string;
128+
role_connections_verification_url?: string | null;
129129
/**
130130
* Up to 5 tags of max 20 characters each describing the content and functionality of the application
131131
*/

0 commit comments

Comments
 (0)