Skip to content

Commit b7fe5b6

Browse files
committed
fix: add overrides for milestone.{opened,created} events
1 parent e94f7bf commit b7fe5b6

File tree

19 files changed

+829
-112
lines changed

19 files changed

+829
-112
lines changed

packages/openapi-webhooks-types-ghec/types.d.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24296,8 +24296,7 @@ export interface components {
2429624296
* @description A collection of related issues and pull requests.
2429724297
*/
2429824298
milestone: {
24299-
/** Format: date-time */
24300-
closed_at: string | null;
24299+
closed_at: null;
2430124300
closed_issues: number;
2430224301
/** Format: date-time */
2430324302
created_at: string;
@@ -24354,7 +24353,7 @@ export interface components {
2435424353
* @description The state of the milestone.
2435524354
* @enum {string}
2435624355
*/
24357-
state: "open" | "closed";
24356+
state: "open";
2435824357
/** @description The title of the milestone. */
2435924358
title: string;
2436024359
/** Format: date-time */
@@ -24554,8 +24553,7 @@ export interface components {
2455424553
* @description A collection of related issues and pull requests.
2455524554
*/
2455624555
milestone: {
24557-
/** Format: date-time */
24558-
closed_at: string | null;
24556+
closed_at: null;
2455924557
closed_issues: number;
2456024558
/** Format: date-time */
2456124559
created_at: string;
@@ -24612,7 +24610,7 @@ export interface components {
2461224610
* @description The state of the milestone.
2461324611
* @enum {string}
2461424612
*/
24615-
state: "open" | "closed";
24613+
state: "open";
2461624614
/** @description The title of the milestone. */
2461724615
title: string;
2461824616
/** Format: date-time */

packages/openapi-webhooks-types-ghes-3.10/types.d.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23482,8 +23482,7 @@ export interface components {
2348223482
* @description A collection of related issues and pull requests.
2348323483
*/
2348423484
milestone: {
23485-
/** Format: date-time */
23486-
closed_at: string | null;
23485+
closed_at: null;
2348723486
closed_issues: number;
2348823487
/** Format: date-time */
2348923488
created_at: string;
@@ -23540,7 +23539,7 @@ export interface components {
2354023539
* @description The state of the milestone.
2354123540
* @enum {string}
2354223541
*/
23543-
state: "open" | "closed";
23542+
state: "open";
2354423543
/** @description The title of the milestone. */
2354523544
title: string;
2354623545
/** Format: date-time */
@@ -23740,8 +23739,7 @@ export interface components {
2374023739
* @description A collection of related issues and pull requests.
2374123740
*/
2374223741
milestone: {
23743-
/** Format: date-time */
23744-
closed_at: string | null;
23742+
closed_at: null;
2374523743
closed_issues: number;
2374623744
/** Format: date-time */
2374723745
created_at: string;
@@ -23798,7 +23796,7 @@ export interface components {
2379823796
* @description The state of the milestone.
2379923797
* @enum {string}
2380023798
*/
23801-
state: "open" | "closed";
23799+
state: "open";
2380223800
/** @description The title of the milestone. */
2380323801
title: string;
2380423802
/** Format: date-time */

packages/openapi-webhooks-types-ghes-3.11/types.d.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23558,8 +23558,7 @@ export interface components {
2355823558
* @description A collection of related issues and pull requests.
2355923559
*/
2356023560
milestone: {
23561-
/** Format: date-time */
23562-
closed_at: string | null;
23561+
closed_at: null;
2356323562
closed_issues: number;
2356423563
/** Format: date-time */
2356523564
created_at: string;
@@ -23616,7 +23615,7 @@ export interface components {
2361623615
* @description The state of the milestone.
2361723616
* @enum {string}
2361823617
*/
23619-
state: "open" | "closed";
23618+
state: "open";
2362023619
/** @description The title of the milestone. */
2362123620
title: string;
2362223621
/** Format: date-time */
@@ -23816,8 +23815,7 @@ export interface components {
2381623815
* @description A collection of related issues and pull requests.
2381723816
*/
2381823817
milestone: {
23819-
/** Format: date-time */
23820-
closed_at: string | null;
23818+
closed_at: null;
2382123819
closed_issues: number;
2382223820
/** Format: date-time */
2382323821
created_at: string;
@@ -23874,7 +23872,7 @@ export interface components {
2387423872
* @description The state of the milestone.
2387523873
* @enum {string}
2387623874
*/
23877-
state: "open" | "closed";
23875+
state: "open";
2387823876
/** @description The title of the milestone. */
2387923877
title: string;
2388023878
/** Format: date-time */

packages/openapi-webhooks-types-ghes-3.8/types.d.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22645,8 +22645,7 @@ export interface components {
2264522645
* @description A collection of related issues and pull requests.
2264622646
*/
2264722647
milestone: {
22648-
/** Format: date-time */
22649-
closed_at: string | null;
22648+
closed_at: null;
2265022649
closed_issues: number;
2265122650
/** Format: date-time */
2265222651
created_at: string;
@@ -22703,7 +22702,7 @@ export interface components {
2270322702
* @description The state of the milestone.
2270422703
* @enum {string}
2270522704
*/
22706-
state: "open" | "closed";
22705+
state: "open";
2270722706
/** @description The title of the milestone. */
2270822707
title: string;
2270922708
/** Format: date-time */
@@ -22903,8 +22902,7 @@ export interface components {
2290322902
* @description A collection of related issues and pull requests.
2290422903
*/
2290522904
milestone: {
22906-
/** Format: date-time */
22907-
closed_at: string | null;
22905+
closed_at: null;
2290822906
closed_issues: number;
2290922907
/** Format: date-time */
2291022908
created_at: string;
@@ -22961,7 +22959,7 @@ export interface components {
2296122959
* @description The state of the milestone.
2296222960
* @enum {string}
2296322961
*/
22964-
state: "open" | "closed";
22962+
state: "open";
2296522963
/** @description The title of the milestone. */
2296622964
title: string;
2296722965
/** Format: date-time */

packages/openapi-webhooks-types-ghes-3.9/types.d.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22778,8 +22778,7 @@ export interface components {
2277822778
* @description A collection of related issues and pull requests.
2277922779
*/
2278022780
milestone: {
22781-
/** Format: date-time */
22782-
closed_at: string | null;
22781+
closed_at: null;
2278322782
closed_issues: number;
2278422783
/** Format: date-time */
2278522784
created_at: string;
@@ -22836,7 +22835,7 @@ export interface components {
2283622835
* @description The state of the milestone.
2283722836
* @enum {string}
2283822837
*/
22839-
state: "open" | "closed";
22838+
state: "open";
2284022839
/** @description The title of the milestone. */
2284122840
title: string;
2284222841
/** Format: date-time */
@@ -23036,8 +23035,7 @@ export interface components {
2303623035
* @description A collection of related issues and pull requests.
2303723036
*/
2303823037
milestone: {
23039-
/** Format: date-time */
23040-
closed_at: string | null;
23038+
closed_at: null;
2304123039
closed_issues: number;
2304223040
/** Format: date-time */
2304323041
created_at: string;
@@ -23094,7 +23092,7 @@ export interface components {
2309423092
* @description The state of the milestone.
2309523093
* @enum {string}
2309623094
*/
23097-
state: "open" | "closed";
23095+
state: "open";
2309823096
/** @description The title of the milestone. */
2309923097
title: string;
2310023098
/** Format: date-time */

packages/openapi-webhooks-types-github.ae/types.d.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23145,8 +23145,7 @@ export interface components {
2314523145
* @description A collection of related issues and pull requests.
2314623146
*/
2314723147
milestone: {
23148-
/** Format: date-time */
23149-
closed_at: string | null;
23148+
closed_at: null;
2315023149
closed_issues: number;
2315123150
/** Format: date-time */
2315223151
created_at: string;
@@ -23203,7 +23202,7 @@ export interface components {
2320323202
* @description The state of the milestone.
2320423203
* @enum {string}
2320523204
*/
23206-
state: "open" | "closed";
23205+
state: "open";
2320723206
/** @description The title of the milestone. */
2320823207
title: string;
2320923208
/** Format: date-time */
@@ -23403,8 +23402,7 @@ export interface components {
2340323402
* @description A collection of related issues and pull requests.
2340423403
*/
2340523404
milestone: {
23406-
/** Format: date-time */
23407-
closed_at: string | null;
23405+
closed_at: null;
2340823406
closed_issues: number;
2340923407
/** Format: date-time */
2341023408
created_at: string;
@@ -23461,7 +23459,7 @@ export interface components {
2346123459
* @description The state of the milestone.
2346223460
* @enum {string}
2346323461
*/
23464-
state: "open" | "closed";
23462+
state: "open";
2346523463
/** @description The title of the milestone. */
2346623464
title: string;
2346723465
/** Format: date-time */

packages/openapi-webhooks-types/types.d.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24154,8 +24154,7 @@ export interface components {
2415424154
* @description A collection of related issues and pull requests.
2415524155
*/
2415624156
milestone: {
24157-
/** Format: date-time */
24158-
closed_at: string | null;
24157+
closed_at: null;
2415924158
closed_issues: number;
2416024159
/** Format: date-time */
2416124160
created_at: string;
@@ -24212,7 +24211,7 @@ export interface components {
2421224211
* @description The state of the milestone.
2421324212
* @enum {string}
2421424213
*/
24215-
state: "open" | "closed";
24214+
state: "open";
2421624215
/** @description The title of the milestone. */
2421724216
title: string;
2421824217
/** Format: date-time */
@@ -24409,8 +24408,7 @@ export interface components {
2440924408
* @description A collection of related issues and pull requests.
2441024409
*/
2441124410
milestone: {
24412-
/** Format: date-time */
24413-
closed_at: string | null;
24411+
closed_at: null;
2441424412
closed_issues: number;
2441524413
/** Format: date-time */
2441624414
created_at: string;
@@ -24467,7 +24465,7 @@ export interface components {
2446724465
* @description The state of the milestone.
2446824466
* @enum {string}
2446924467
*/
24470-
state: "open" | "closed";
24468+
state: "open";
2447124469
/** @description The title of the milestone. */
2447224470
title: string;
2447324471
/** Format: date-time */

packages/openapi-webhooks/generated/api.github.com.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53489,10 +53489,7 @@
5348953489
"description": "A collection of related issues and pull requests.",
5349053490
"type": "object",
5349153491
"properties": {
53492-
"closed_at": {
53493-
"type": ["string", "null"],
53494-
"format": "date-time"
53495-
},
53492+
"closed_at": { "type": ["null"] },
5349653493
"closed_issues": { "type": "integer" },
5349753494
"created_at": { "type": "string", "format": "date-time" },
5349853495
"creator": {
@@ -53543,7 +53540,7 @@
5354353540
"state": {
5354453541
"description": "The state of the milestone.",
5354553542
"type": "string",
53546-
"enum": ["open", "closed"]
53543+
"enum": ["open"]
5354753544
},
5354853545
"title": {
5354953546
"description": "The title of the milestone.",
@@ -53834,10 +53831,7 @@
5383453831
"description": "A collection of related issues and pull requests.",
5383553832
"type": "object",
5383653833
"properties": {
53837-
"closed_at": {
53838-
"type": ["string", "null"],
53839-
"format": "date-time"
53840-
},
53834+
"closed_at": { "type": ["null"] },
5384153835
"closed_issues": { "type": "integer" },
5384253836
"created_at": { "type": "string", "format": "date-time" },
5384353837
"creator": {
@@ -53888,7 +53882,7 @@
5388853882
"state": {
5388953883
"description": "The state of the milestone.",
5389053884
"type": "string",
53891-
"enum": ["open", "closed"]
53885+
"enum": ["open"]
5389253886
},
5389353887
"title": {
5389453888
"description": "The title of the milestone.",

packages/openapi-webhooks/generated/ghec.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53814,10 +53814,7 @@
5381453814
"description": "A collection of related issues and pull requests.",
5381553815
"type": "object",
5381653816
"properties": {
53817-
"closed_at": {
53818-
"type": ["string", "null"],
53819-
"format": "date-time"
53820-
},
53817+
"closed_at": { "type": ["null"] },
5382153818
"closed_issues": { "type": "integer" },
5382253819
"created_at": { "type": "string", "format": "date-time" },
5382353820
"creator": {
@@ -53868,7 +53865,7 @@
5386853865
"state": {
5386953866
"description": "The state of the milestone.",
5387053867
"type": "string",
53871-
"enum": ["open", "closed"]
53868+
"enum": ["open"]
5387253869
},
5387353870
"title": {
5387453871
"description": "The title of the milestone.",
@@ -54162,10 +54159,7 @@
5416254159
"description": "A collection of related issues and pull requests.",
5416354160
"type": "object",
5416454161
"properties": {
54165-
"closed_at": {
54166-
"type": ["string", "null"],
54167-
"format": "date-time"
54168-
},
54162+
"closed_at": { "type": ["null"] },
5416954163
"closed_issues": { "type": "integer" },
5417054164
"created_at": { "type": "string", "format": "date-time" },
5417154165
"creator": {
@@ -54216,7 +54210,7 @@
5421654210
"state": {
5421754211
"description": "The state of the milestone.",
5421854212
"type": "string",
54219-
"enum": ["open", "closed"]
54213+
"enum": ["open"]
5422054214
},
5422154215
"title": {
5422254216
"description": "The title of the milestone.",

packages/openapi-webhooks/generated/ghes-3.10.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53969,10 +53969,7 @@
5396953969
"description": "A collection of related issues and pull requests.",
5397053970
"type": "object",
5397153971
"properties": {
53972-
"closed_at": {
53973-
"type": ["string", "null"],
53974-
"format": "date-time"
53975-
},
53972+
"closed_at": { "type": ["null"] },
5397653973
"closed_issues": { "type": "integer" },
5397753974
"created_at": { "type": "string", "format": "date-time" },
5397853975
"creator": {
@@ -54023,7 +54020,7 @@
5402354020
"state": {
5402454021
"description": "The state of the milestone.",
5402554022
"type": "string",
54026-
"enum": ["open", "closed"]
54023+
"enum": ["open"]
5402754024
},
5402854025
"title": {
5402954026
"description": "The title of the milestone.",
@@ -54317,10 +54314,7 @@
5431754314
"description": "A collection of related issues and pull requests.",
5431854315
"type": "object",
5431954316
"properties": {
54320-
"closed_at": {
54321-
"type": ["string", "null"],
54322-
"format": "date-time"
54323-
},
54317+
"closed_at": { "type": ["null"] },
5432454318
"closed_issues": { "type": "integer" },
5432554319
"created_at": { "type": "string", "format": "date-time" },
5432654320
"creator": {
@@ -54371,7 +54365,7 @@
5437154365
"state": {
5437254366
"description": "The state of the milestone.",
5437354367
"type": "string",
54374-
"enum": ["open", "closed"]
54368+
"enum": ["open"]
5437554369
},
5437654370
"title": {
5437754371
"description": "The title of the milestone.",

0 commit comments

Comments
 (0)