Skip to content

Commit dff19b1

Browse files
GraphQL schema update (#61613)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
1 parent ee7618d commit dff19b1

7 files changed

Lines changed: 112 additions & 0 deletions

File tree

src/graphql/data/fpt/category-map.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,7 @@
12451245
"projectv2customfieldtype": "projects",
12461246
"projectv2fieldorderfield": "projects",
12471247
"projectv2fieldtype": "projects",
1248+
"projectv2itemarchivedstate": "projects",
12481249
"projectv2itemfieldvalueorderfield": "projects",
12491250
"projectv2itemorderfield": "projects",
12501251
"projectv2itemtype": "projects",

src/graphql/data/fpt/changelog.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type 'ProjectV2ItemArchivedState' was added</p>",
8+
"<p>Enum value <code>ARCHIVED</code> was added to enum 'ProjectV2ItemArchivedState'</p>",
9+
"<p>Enum value 'NOT_ARCHIVED<code>was added to enum</code>ProjectV2ItemArchivedState'</p>",
10+
"<p>Argument 'archivedStates: [ProjectV2ItemArchivedState!]' (with default value) added to field 'ProjectV2.items'</p>"
11+
]
12+
}
13+
],
14+
"previewChanges": [],
15+
"upcomingChanges": [],
16+
"date": "2026-06-08"
17+
},
218
{
319
"schemaChanges": [
420
{

src/graphql/data/fpt/schema-projects.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,6 +1372,15 @@
13721372
"href": "/graphql/reference/other#scalar-string"
13731373
}
13741374
},
1375+
{
1376+
"name": "archivedStates",
1377+
"description": "<p>Filter items by their archived state. Defaults to only returning items that are not archived.</p>",
1378+
"type": {
1379+
"name": "[ProjectV2ItemArchivedState!]",
1380+
"id": "projectv2itemarchivedstate",
1381+
"href": "/graphql/reference/projects#enum-projectv2itemarchivedstate"
1382+
}
1383+
},
13751384
{
13761385
"name": "before",
13771386
"description": "<p>Returns the elements in the list that come before the specified cursor.</p>",
@@ -5119,6 +5128,24 @@
51195128
],
51205129
"category": "projects"
51215130
},
5131+
{
5132+
"name": "ProjectV2ItemArchivedState",
5133+
"id": "projectv2itemarchivedstate",
5134+
"href": "/graphql/reference/projects#enum-projectv2itemarchivedstate",
5135+
"description": "<p>The possible archived states of a <code>ProjectV2Item</code>.</p>",
5136+
"isDeprecated": false,
5137+
"values": [
5138+
{
5139+
"name": "ARCHIVED",
5140+
"description": "<p>A project item that is archived.</p>"
5141+
},
5142+
{
5143+
"name": "NOT_ARCHIVED",
5144+
"description": "<p>A project item that is not archived.</p>"
5145+
}
5146+
],
5147+
"category": "projects"
5148+
},
51225149
{
51235150
"name": "ProjectV2ItemFieldValueOrderField",
51245151
"id": "projectv2itemfieldvalueorderfield",

src/graphql/data/fpt/schema.docs.graphql

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39602,6 +39602,11 @@ type ProjectV2 implements Closable & Node & Updatable @docsCategory(name: "proje
3960239602
"""
3960339603
after: String
3960439604

39605+
"""
39606+
Filter items by their archived state. Defaults to only returning items that are not archived.
39607+
"""
39608+
archivedStates: [ProjectV2ItemArchivedState!] = [NOT_ARCHIVED]
39609+
3960539610
"""
3960639611
Returns the elements in the list that come before the specified cursor.
3960739612
"""
@@ -40470,6 +40475,21 @@ type ProjectV2Item implements Node @docsCategory(name: "projects") {
4047040475
updatedAt: DateTime!
4047140476
}
4047240477

40478+
"""
40479+
The possible archived states of a `ProjectV2Item`.
40480+
"""
40481+
enum ProjectV2ItemArchivedState @docsCategory(name: "projects") {
40482+
"""
40483+
A project item that is archived
40484+
"""
40485+
ARCHIVED
40486+
40487+
"""
40488+
A project item that is not archived
40489+
"""
40490+
NOT_ARCHIVED
40491+
}
40492+
4047340493
"""
4047440494
The connection type for ProjectV2Item.
4047540495
"""

src/graphql/data/ghec/category-map.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,7 @@
12451245
"projectv2customfieldtype": "projects",
12461246
"projectv2fieldorderfield": "projects",
12471247
"projectv2fieldtype": "projects",
1248+
"projectv2itemarchivedstate": "projects",
12481249
"projectv2itemfieldvalueorderfield": "projects",
12491250
"projectv2itemorderfield": "projects",
12501251
"projectv2itemtype": "projects",

src/graphql/data/ghec/schema-projects.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,6 +1372,15 @@
13721372
"href": "/graphql/reference/other#scalar-string"
13731373
}
13741374
},
1375+
{
1376+
"name": "archivedStates",
1377+
"description": "<p>Filter items by their archived state. Defaults to only returning items that are not archived.</p>",
1378+
"type": {
1379+
"name": "[ProjectV2ItemArchivedState!]",
1380+
"id": "projectv2itemarchivedstate",
1381+
"href": "/graphql/reference/projects#enum-projectv2itemarchivedstate"
1382+
}
1383+
},
13751384
{
13761385
"name": "before",
13771386
"description": "<p>Returns the elements in the list that come before the specified cursor.</p>",
@@ -5119,6 +5128,24 @@
51195128
],
51205129
"category": "projects"
51215130
},
5131+
{
5132+
"name": "ProjectV2ItemArchivedState",
5133+
"id": "projectv2itemarchivedstate",
5134+
"href": "/graphql/reference/projects#enum-projectv2itemarchivedstate",
5135+
"description": "<p>The possible archived states of a <code>ProjectV2Item</code>.</p>",
5136+
"isDeprecated": false,
5137+
"values": [
5138+
{
5139+
"name": "ARCHIVED",
5140+
"description": "<p>A project item that is archived.</p>"
5141+
},
5142+
{
5143+
"name": "NOT_ARCHIVED",
5144+
"description": "<p>A project item that is not archived.</p>"
5145+
}
5146+
],
5147+
"category": "projects"
5148+
},
51225149
{
51235150
"name": "ProjectV2ItemFieldValueOrderField",
51245151
"id": "projectv2itemfieldvalueorderfield",

src/graphql/data/ghec/schema.docs.graphql

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39602,6 +39602,11 @@ type ProjectV2 implements Closable & Node & Updatable @docsCategory(name: "proje
3960239602
"""
3960339603
after: String
3960439604

39605+
"""
39606+
Filter items by their archived state. Defaults to only returning items that are not archived.
39607+
"""
39608+
archivedStates: [ProjectV2ItemArchivedState!] = [NOT_ARCHIVED]
39609+
3960539610
"""
3960639611
Returns the elements in the list that come before the specified cursor.
3960739612
"""
@@ -40470,6 +40475,21 @@ type ProjectV2Item implements Node @docsCategory(name: "projects") {
4047040475
updatedAt: DateTime!
4047140476
}
4047240477

40478+
"""
40479+
The possible archived states of a `ProjectV2Item`.
40480+
"""
40481+
enum ProjectV2ItemArchivedState @docsCategory(name: "projects") {
40482+
"""
40483+
A project item that is archived
40484+
"""
40485+
ARCHIVED
40486+
40487+
"""
40488+
A project item that is not archived
40489+
"""
40490+
NOT_ARCHIVED
40491+
}
40492+
4047340493
"""
4047440494
The connection type for ProjectV2Item.
4047540495
"""

0 commit comments

Comments
 (0)