Skip to content

Commit

Permalink
WIP: schema updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Octokit Bot committed Mar 7, 2024
1 parent e372529 commit 22a1344
Show file tree
Hide file tree
Showing 21 changed files with 231 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cache/api.github.com.json
Expand Up @@ -70467,11 +70467,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -163975,6 +163982,15 @@
"required": true,
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"since-user": {
"name": "since",
"description": "A user ID. Only return users with an ID greater than this ID.",
Expand Down
16 changes: 16 additions & 0 deletions cache/ghec.json
Expand Up @@ -72212,11 +72212,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -166743,6 +166750,15 @@
"required": true,
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"since-user": {
"name": "since",
"description": "A user ID. Only return users with an ID greater than this ID.",
Expand Down
16 changes: 16 additions & 0 deletions cache/ghes-3.10.json
Expand Up @@ -68197,11 +68197,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -155099,6 +155106,15 @@
"required": true,
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"invitation-id": {
"name": "invitation_id",
"description": "The unique identifier of the invitation.",
Expand Down
16 changes: 16 additions & 0 deletions cache/ghes-3.11.json
Expand Up @@ -69750,11 +69750,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -157176,6 +157183,15 @@
"required": true,
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"invitation-id": {
"name": "invitation_id",
"description": "The unique identifier of the invitation.",
Expand Down
16 changes: 16 additions & 0 deletions cache/ghes-3.12.json
Expand Up @@ -70607,11 +70607,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -158391,6 +158398,15 @@
"required": true,
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"invitation-id": {
"name": "invitation_id",
"description": "The unique identifier of the invitation.",
Expand Down
16 changes: 16 additions & 0 deletions cache/ghes-3.8.json
Expand Up @@ -65912,11 +65912,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -151507,6 +151514,15 @@
"description": "The unique identifier of the branch policy.",
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"invitation-id": {
"name": "invitation_id",
"description": "The unique identifier of the invitation.",
Expand Down
16 changes: 16 additions & 0 deletions cache/ghes-3.9.json
Expand Up @@ -67264,11 +67264,18 @@
"type": "object",
"properties": {
"permission": {
"description": "This field is included for legacy purposes; use the `role_name` field instead. The `maintain`\nrole is mapped to `write` and the `triage` role is mapped to `read`. To determine the role\nassigned to the collaborator, use the `role_name` field instead, which will provide the full\nrole name, including custom roles.",
"type": "object",
"properties": {
"to": { "type": "string", "enum": ["write", "admin", "read"] }
},
"required": ["to"]
},
"role_name": {
"description": "The role assigned to the collaborator.",
"type": "object",
"properties": { "to": { "type": "string" } },
"required": ["to"]
}
}
},
Expand Down Expand Up @@ -153692,6 +153699,15 @@
"description": "The unique identifier of the branch policy.",
"schema": { "type": "integer" }
},
"git-ref-only": {
"name": "ref",
"description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.",
"in": "path",
"required": true,
"example": "heads/feature-a",
"schema": { "type": "string" },
"x-multi-segment": true
},
"invitation-id": {
"name": "invitation_id",
"description": "The unique identifier of the invitation.",
Expand Down
10 changes: 10 additions & 0 deletions packages/openapi-webhooks-types-ghec/types.d.ts
Expand Up @@ -23683,10 +23683,20 @@ export interface components {
/** @enum {string} */
action: "added";
changes?: {
/**
* @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain`
* role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role
* assigned to the collaborator, use the `role_name` field instead, which will provide the full
* role name, including custom roles.
*/
permission?: {
/** @enum {string} */
to: "write" | "admin" | "read";
};
/** @description The role assigned to the collaborator. */
role_name?: {
to: string;
};
};
enterprise?: components["schemas"]["enterprise-webhooks"];
installation?: components["schemas"]["simple-installation"];
Expand Down
10 changes: 10 additions & 0 deletions packages/openapi-webhooks-types-ghes-3.10/types.d.ts
Expand Up @@ -22913,10 +22913,20 @@ export interface components {
/** @enum {string} */
action: "added";
changes?: {
/**
* @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain`
* role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role
* assigned to the collaborator, use the `role_name` field instead, which will provide the full
* role name, including custom roles.
*/
permission?: {
/** @enum {string} */
to: "write" | "admin" | "read";
};
/** @description The role assigned to the collaborator. */
role_name?: {
to: string;
};
};
enterprise?: components["schemas"]["enterprise-webhooks"];
installation?: components["schemas"]["simple-installation"];
Expand Down
10 changes: 10 additions & 0 deletions packages/openapi-webhooks-types-ghes-3.11/types.d.ts
Expand Up @@ -22989,10 +22989,20 @@ export interface components {
/** @enum {string} */
action: "added";
changes?: {
/**
* @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain`
* role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role
* assigned to the collaborator, use the `role_name` field instead, which will provide the full
* role name, including custom roles.
*/
permission?: {
/** @enum {string} */
to: "write" | "admin" | "read";
};
/** @description The role assigned to the collaborator. */
role_name?: {
to: string;
};
};
enterprise?: components["schemas"]["enterprise-webhooks"];
installation?: components["schemas"]["simple-installation"];
Expand Down
10 changes: 10 additions & 0 deletions packages/openapi-webhooks-types-ghes-3.12/types.d.ts
Expand Up @@ -23047,10 +23047,20 @@ export interface components {
/** @enum {string} */
action: "added";
changes?: {
/**
* @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain`
* role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role
* assigned to the collaborator, use the `role_name` field instead, which will provide the full
* role name, including custom roles.
*/
permission?: {
/** @enum {string} */
to: "write" | "admin" | "read";
};
/** @description The role assigned to the collaborator. */
role_name?: {
to: string;
};
};
enterprise?: components["schemas"]["enterprise-webhooks"];
installation?: components["schemas"]["simple-installation"];
Expand Down
10 changes: 10 additions & 0 deletions packages/openapi-webhooks-types-ghes-3.8/types.d.ts
Expand Up @@ -22098,10 +22098,20 @@ export interface components {
/** @enum {string} */
action: "added";
changes?: {
/**
* @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain`
* role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role
* assigned to the collaborator, use the `role_name` field instead, which will provide the full
* role name, including custom roles.
*/
permission?: {
/** @enum {string} */
to: "write" | "admin" | "read";
};
/** @description The role assigned to the collaborator. */
role_name?: {
to: string;
};
};
enterprise?: components["schemas"]["enterprise-webhooks"];
installation?: components["schemas"]["simple-installation"];
Expand Down
10 changes: 10 additions & 0 deletions packages/openapi-webhooks-types-ghes-3.9/types.d.ts
Expand Up @@ -22231,10 +22231,20 @@ export interface components {
/** @enum {string} */
action: "added";
changes?: {
/**
* @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain`
* role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role
* assigned to the collaborator, use the `role_name` field instead, which will provide the full
* role name, including custom roles.
*/
permission?: {
/** @enum {string} */
to: "write" | "admin" | "read";
};
/** @description The role assigned to the collaborator. */
role_name?: {
to: string;
};
};
enterprise?: components["schemas"]["enterprise-webhooks"];
installation?: components["schemas"]["simple-installation"];
Expand Down
10 changes: 10 additions & 0 deletions packages/openapi-webhooks-types/types.d.ts
Expand Up @@ -23560,10 +23560,20 @@ export interface components {
/** @enum {string} */
action: "added";
changes?: {
/**
* @description This field is included for legacy purposes; use the `role_name` field instead. The `maintain`
* role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role
* assigned to the collaborator, use the `role_name` field instead, which will provide the full
* role name, including custom roles.
*/
permission?: {
/** @enum {string} */
to: "write" | "admin" | "read";
};
/** @description The role assigned to the collaborator. */
role_name?: {
to: string;
};
};
installation?: components["schemas"]["simple-installation"];
/** User */
Expand Down

0 comments on commit 22a1344

Please sign in to comment.