Skip to content

Commit 7f5d131

Browse files
feat(sdk): update schema (#991)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 850364f commit 7f5d131

File tree

6 files changed

+1351
-22
lines changed

6 files changed

+1351
-22
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
"@linear/sdk": minor
3+
---
4+
5+
6+
feat(schema): [dangerous] Input field 'externalUrls' was added to input object type 'AgentSessionCreateOnComment' (AgentSessionCreateOnComment.externalUrls)
7+
8+
feat(schema): [dangerous] Input field 'externalUrls' was added to input object type 'AgentSessionCreateOnIssue' (AgentSessionCreateOnIssue.externalUrls)
9+
10+
feat(schema): [dangerous] Input field 'addedExternalUrls' was added to input object type 'AgentSessionUpdateExternalUrlInput' (AgentSessionUpdateExternalUrlInput.addedExternalUrls)
11+
12+
feat(schema): [dangerous] Input field 'externalUrls' was added to input object type 'AgentSessionUpdateExternalUrlInput' (AgentSessionUpdateExternalUrlInput.externalUrls)
13+
14+
feat(schema): [dangerous] Input field 'removedExternalUrls' was added to input object type 'AgentSessionUpdateExternalUrlInput' (AgentSessionUpdateExternalUrlInput.removedExternalUrls)
15+
16+
feat(schema): [dangerous] Input field 'addedExternalUrls' was added to input object type 'AgentSessionUpdateInput' (AgentSessionUpdateInput.addedExternalUrls)
17+
18+
feat(schema): [dangerous] Input field 'externalUrls' was added to input object type 'AgentSessionUpdateInput' (AgentSessionUpdateInput.externalUrls)
19+
20+
feat(schema): [dangerous] Input field 'removedExternalUrls' was added to input object type 'AgentSessionUpdateInput' (AgentSessionUpdateInput.removedExternalUrls)
21+
22+
feat(schema): [dangerous] Input field 'startDate' was added to input object type 'ReleaseCreateInput' (ReleaseCreateInput.startDate)
23+
24+
feat(schema): [dangerous] Input field 'targetDate' was added to input object type 'ReleaseCreateInput' (ReleaseCreateInput.targetDate)
25+
26+
feat(schema): [dangerous] Input field 'startDate' was added to input object type 'ReleaseUpdateInput' (ReleaseUpdateInput.startDate)
27+
28+
feat(schema): [dangerous] Input field 'targetDate' was added to input object type 'ReleaseUpdateInput' (ReleaseUpdateInput.targetDate)
29+
30+
feat(schema): [dangerous] Input field 'retiredAt' was added to input object type 'TeamUpdateInput' (TeamUpdateInput.retiredAt)
31+
32+
feat(schema): [non_breaking] Type 'AgentSessionExternalUrlInput' was added (AgentSessionExternalUrlInput)
33+
34+
feat(schema): [non_breaking] Type 'AgentSessionToPullRequest' was added (AgentSessionToPullRequest)
35+
36+
feat(schema): [non_breaking] Type 'AgentSessionToPullRequestConnection' was added (AgentSessionToPullRequestConnection)
37+
38+
feat(schema): [non_breaking] Type 'AgentSessionToPullRequestEdge' was added (AgentSessionToPullRequestEdge)
39+
40+
feat(schema): [non_breaking] Type 'AsksWebFormsAuthResponse' was added (AsksWebFormsAuthResponse)
41+
42+
feat(schema): [non_breaking] Field 'externalUrls' was added to object type 'AgentSession' (AgentSession.externalUrls)
43+
44+
feat(schema): [non_breaking] Field 'pullRequests' was added to object type 'AgentSession' (AgentSession.pullRequests)
45+
46+
feat(schema): [non_breaking] Field 'asksWebFormsAuth' was added to object type 'Mutation' (Mutation.asksWebFormsAuth)
47+
48+
feat(schema): [non_breaking] Field 'issueSubGrouping' was added to object type 'ViewPreferencesValues' (ViewPreferencesValues.issueSubGrouping)

packages/sdk/src/_generated_documents.graphql

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2223,6 +2223,8 @@ fragment AgentSession on AgentSession {
22232223
dismissedBy {
22242224
id
22252225
}
2226+
# URLs of external resources associated with this session.
2227+
externalUrls
22262228
}
22272229

22282230
# A set of issues to be resolved in a specified amount of time.
@@ -4808,6 +4810,24 @@ fragment IssueRelationHistoryPayload on IssueRelationHistoryPayload {
48084810
type
48094811
}
48104812

4813+
# Join table between agent sessions and pull requests.
4814+
fragment AgentSessionToPullRequest on AgentSessionToPullRequest {
4815+
__typename
4816+
# The agent session that the pull request is associated with.
4817+
agentSession {
4818+
id
4819+
}
4820+
# The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't
4821+
# been updated after creation.
4822+
updatedAt
4823+
# The time at which the entity was archived. Null if the entity has not been archived.
4824+
archivedAt
4825+
# The time at which the entity was created.
4826+
createdAt
4827+
# The unique identifier of the entity.
4828+
id
4829+
}
4830+
48114831
# Join table between projects and initiatives.
48124832
fragment InitiativeToProject on InitiativeToProject {
48134833
__typename
@@ -7140,6 +7160,16 @@ fragment AgentSessionPayload on AgentSessionPayload {
71407160
success
71417161
}
71427162

7163+
fragment AgentSessionToPullRequestConnection on AgentSessionToPullRequestConnection {
7164+
__typename
7165+
nodes {
7166+
...AgentSessionToPullRequest
7167+
}
7168+
pageInfo {
7169+
...PageInfo
7170+
}
7171+
}
7172+
71437173
fragment AsksChannelConnectPayload on AsksChannelConnectPayload {
71447174
__typename
71457175
# The identifier of the last sync operation.
@@ -7158,6 +7188,14 @@ fragment AsksChannelConnectPayload on AsksChannelConnectPayload {
71587188
success
71597189
}
71607190

7191+
fragment AsksWebFormsAuthResponse on AsksWebFormsAuthResponse {
7192+
__typename
7193+
# User display name.
7194+
name
7195+
# User email.
7196+
email
7197+
}
7198+
71617199
fragment AttachmentConnection on AttachmentConnection {
71627200
__typename
71637201
nodes {
@@ -9342,6 +9380,8 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
93429380
issueGrouping
93439381
# The issue ordering.
93449382
viewOrdering
9383+
# The issue sub grouping.
9384+
issueSubGrouping
93459385
# Whether to show completed issues.
93469386
showCompletedIssues
93479387
}
@@ -15379,6 +15419,15 @@ mutation airbyteIntegrationConnect(
1537915419
...IntegrationPayload
1538015420
}
1538115421
}
15422+
# Authenticate a user to the Asks web forms app.
15423+
mutation asksWebFormsAuth(
15424+
# The magic login code.
15425+
$token: String!
15426+
) {
15427+
asksWebFormsAuth(token: $token) {
15428+
...AsksWebFormsAuthResponse
15429+
}
15430+
}
1538215431
# Creates a new attachment, or updates existing if the same `url` and `issueId` is used.
1538315432
mutation createAttachment(
1538415433
# The attachment object to create.

0 commit comments

Comments
 (0)