github-schema 1.1.4 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7914,7 +7914,7 @@ input CreateTeamDiscussionInput {
7914
7914
 
7915
7915
  """
7916
7916
  If true, restricts the visibility of this discussion to team members and
7917
- organization admins. If false or not specified, allows any organization member
7917
+ organization owners. If false or not specified, allows any organization member
7918
7918
  to view this discussion.
7919
7919
 
7920
7920
  **Upcoming Change on 2024-07-01 UTC**
@@ -12438,7 +12438,7 @@ enum EnterpriseMembersCanCreateRepositoriesSettingValue {
12438
12438
  DISABLED
12439
12439
 
12440
12440
  """
12441
- Organization administrators choose whether to allow members to create repositories.
12441
+ Organization owners choose whether to allow members to create repositories.
12442
12442
  """
12443
12443
  NO_POLICY
12444
12444
 
@@ -19351,6 +19351,27 @@ type MarketplaceListingEdge {
19351
19351
  node: MarketplaceListing
19352
19352
  }
19353
19353
 
19354
+ """
19355
+ Represents a member feature request notification
19356
+ """
19357
+ type MemberFeatureRequestNotification implements Node {
19358
+ """
19359
+ Represents member feature request body containing organization name and the number of feature requests
19360
+ """
19361
+ body: String!
19362
+ id: ID!
19363
+
19364
+ """
19365
+ Represents member feature request notification title
19366
+ """
19367
+ title: String!
19368
+
19369
+ """
19370
+ Identifies the date and time when the object was last updated.
19371
+ """
19372
+ updatedAt: DateTime!
19373
+ }
19374
+
19354
19375
  """
19355
19376
  Entities that have members who can set status messages.
19356
19377
  """
@@ -22588,7 +22609,7 @@ type Mutation {
22588
22609
  ): UpdateEnterpriseMembersCanInviteCollaboratorsSettingPayload
22589
22610
 
22590
22611
  """
22591
- Sets whether or not an organization admin can make purchases.
22612
+ Sets whether or not an organization owner can make purchases.
22592
22613
  """
22593
22614
  updateEnterpriseMembersCanMakePurchasesSetting(
22594
22615
  """
@@ -22767,6 +22788,19 @@ type Mutation {
22767
22788
  input: UpdateOrganizationWebCommitSignoffSettingInput!
22768
22789
  ): UpdateOrganizationWebCommitSignoffSettingPayload
22769
22790
 
22791
+ """
22792
+ Toggle the setting for your GitHub Sponsors profile that allows other GitHub
22793
+ accounts to sponsor you on GitHub while paying for the sponsorship on Patreon.
22794
+ Only applicable when you have a GitHub Sponsors profile and have connected
22795
+ your GitHub account with Patreon.
22796
+ """
22797
+ updatePatreonSponsorability(
22798
+ """
22799
+ Parameters for UpdatePatreonSponsorability
22800
+ """
22801
+ input: UpdatePatreonSponsorabilityInput!
22802
+ ): UpdatePatreonSponsorabilityPayload
22803
+
22770
22804
  """
22771
22805
  Updates an existing project.
22772
22806
  """
@@ -25514,9 +25548,9 @@ The type of membership a user has with an Organization.
25514
25548
  """
25515
25549
  enum OrgRemoveMemberAuditEntryMembershipType {
25516
25550
  """
25517
- Organization administrators have full access and can change several settings,
25551
+ Organization owners have full access and can change several settings,
25518
25552
  including the names of repositories that belong to the Organization and Owners
25519
- team membership. In addition, organization admins can delete the organization
25553
+ team membership. In addition, organization owners can delete the organization
25520
25554
  and all of its repositories.
25521
25555
  """
25522
25556
  ADMIN
@@ -33023,18 +33057,18 @@ type ProjectV2Workflow implements Node {
33023
33057
  databaseId: Int
33024
33058
 
33025
33059
  """
33026
- The workflows' enabled state.
33060
+ Whether the workflow is enabled.
33027
33061
  """
33028
33062
  enabled: Boolean!
33029
33063
  id: ID!
33030
33064
 
33031
33065
  """
33032
- The workflows' name.
33066
+ The name of the workflow.
33033
33067
  """
33034
33068
  name: String!
33035
33069
 
33036
33070
  """
33037
- The workflows' number.
33071
+ The number of the workflow.
33038
33072
  """
33039
33073
  number: Int!
33040
33074
 
@@ -33109,22 +33143,22 @@ Properties by which project workflows can be ordered.
33109
33143
  """
33110
33144
  enum ProjectV2WorkflowsOrderField {
33111
33145
  """
33112
- The workflows' date and time of creation
33146
+ The date and time of the workflow creation
33113
33147
  """
33114
33148
  CREATED_AT
33115
33149
 
33116
33150
  """
33117
- The workflows' name
33151
+ The name of the workflow
33118
33152
  """
33119
33153
  NAME
33120
33154
 
33121
33155
  """
33122
- The workflows' number
33156
+ The number of the workflow
33123
33157
  """
33124
33158
  NUMBER
33125
33159
 
33126
33160
  """
33127
- The workflows' date and time of update
33161
+ The date and time of the workflow update
33128
33162
  """
33129
33163
  UPDATED_AT
33130
33164
  }
@@ -44073,7 +44107,7 @@ type RepositoryRulesetBypassActor implements Node {
44073
44107
  id: ID!
44074
44108
 
44075
44109
  """
44076
- This actor represents the ability for an organization admin to bypass
44110
+ This actor represents the ability for an organization owner to bypass
44077
44111
  """
44078
44112
  organizationAdmin: Boolean!
44079
44113
 
@@ -44164,7 +44198,7 @@ input RepositoryRulesetBypassActorInput {
44164
44198
  bypassMode: RepositoryRulesetBypassActorBypassMode!
44165
44199
 
44166
44200
  """
44167
- For org admin bupasses, true
44201
+ For organization owner bypasses, true
44168
44202
  """
44169
44203
  organizationAdmin: Boolean
44170
44204
 
@@ -51382,7 +51416,7 @@ type TeamDiscussion implements Comment & Deletable & Node & Reactable & Subscrib
51382
51416
  isPinned: Boolean! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
51383
51417
 
51384
51418
  """
51385
- Whether or not the discussion is only visible to team members and org admins.
51419
+ Whether or not the discussion is only visible to team members and organization owners.
51386
51420
  """
51387
51421
  isPrivate: Boolean! @deprecated(reason: "The Team Discussions feature is deprecated in favor of Organization Discussions. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement. Removal on 2024-07-01 UTC.")
51388
51422
 
@@ -55100,6 +55134,43 @@ input UpdateParametersInput {
55100
55134
  updateAllowsFetchAndMerge: Boolean!
55101
55135
  }
55102
55136
 
55137
+ """
55138
+ Autogenerated input type of UpdatePatreonSponsorability
55139
+ """
55140
+ input UpdatePatreonSponsorabilityInput {
55141
+ """
55142
+ A unique identifier for the client performing the mutation.
55143
+ """
55144
+ clientMutationId: String
55145
+
55146
+ """
55147
+ Whether Patreon tiers should be shown on the GitHub Sponsors profile page,
55148
+ allowing potential sponsors to make their payment through Patreon instead of GitHub.
55149
+ """
55150
+ enablePatreonSponsorships: Boolean!
55151
+
55152
+ """
55153
+ The username of the organization with the GitHub Sponsors profile, if any.
55154
+ Defaults to the GitHub Sponsors profile for the authenticated user if omitted.
55155
+ """
55156
+ sponsorableLogin: String
55157
+ }
55158
+
55159
+ """
55160
+ Autogenerated return type of UpdatePatreonSponsorability
55161
+ """
55162
+ type UpdatePatreonSponsorabilityPayload {
55163
+ """
55164
+ A unique identifier for the client performing the mutation.
55165
+ """
55166
+ clientMutationId: String
55167
+
55168
+ """
55169
+ The GitHub Sponsors profile.
55170
+ """
55171
+ sponsorsListing: SponsorsListing
55172
+ }
55173
+
55103
55174
  """
55104
55175
  Autogenerated input type of UpdateProjectCard
55105
55176
  """
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "github-schema",
3
3
  "type": "module",
4
- "version": "1.1.4",
5
- "packageManager": "bun@1.0.8",
4
+ "version": "1.2.0",
5
+ "packageManager": "bun@1.0.13",
6
6
  "description": "GitHub's GraphQL schema",
7
7
  "author": {
8
8
  "name": "Lucas Nørgård",
@@ -67,14 +67,15 @@
67
67
  "types": "dist/index.d.ts",
68
68
  "files": [
69
69
  "dist",
70
- "github-schema.graphql",
71
- "github-schema.d.ts"
70
+ "github-schema.d.ts",
71
+ "github-schema.graphql"
72
72
  ],
73
73
  "scripts": {
74
74
  "build": "tsup",
75
- "download": "bun run scripts/download.ts",
76
- "codegen": "graphql-codegen",
77
- "prepublishOnly": "bun run download && bun run codegen && bun run build",
75
+ "schema:download": "bun run scripts/download.ts",
76
+ "schema:codegen": "graphql-codegen",
77
+ "pkg:bump": "bun run --silent scripts/bump.ts",
78
+ "prepublishOnly": "bun run schema:download && bun run schema:codegen && bun run build",
78
79
  "lint": "eslint .",
79
80
  "typecheck": "tsc --noEmit"
80
81
  },
@@ -86,11 +87,10 @@
86
87
  "@graphql-codegen/add": "^5.0.0",
87
88
  "@graphql-codegen/cli": "^5.0.0",
88
89
  "@graphql-codegen/typescript": "^4.0.1",
89
- "@luxass/eslint-config": "^3.3.2",
90
- "bun-types": "^1.0.8",
91
- "eslint": "^8.53.0",
92
- "eslint-plugin-import": "npm:eslint-plugin-i@2.29.0",
93
- "tsup": "^7.2.0",
90
+ "@luxass/eslint-config": "^4.0.0-beta.4",
91
+ "bun-types": "^1.0.13",
92
+ "eslint": "^8.54.0",
93
+ "tsup": "^8.0.0",
94
94
  "typescript": "^5.2.2"
95
95
  }
96
96
  }