Remove unused mutation result fields

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-02-10 18:24:04 +04:00
parent 0fca372ed4
commit 5254be38cb
2 changed files with 9 additions and 72 deletions

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<754086efd418674e8d92f629f7a01736>>
* @generated SignedSource<<096c8befe586a961b8ebf410eda0e019>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -19,15 +19,6 @@ export type AssumePageMutation$variables = {
export type AssumePageMutation$data = {
readonly assumeOrganizationSession: {
readonly result: {
readonly __typename: "OrganizationSessionCreated";
readonly membership: {
readonly id: string;
readonly lastSession: {
readonly expiresAt: string;
readonly id: string;
} | null | undefined;
};
} | {
readonly __typename: "PasswordRequired";
readonly reason: ReauthenticationReason;
} | {
@@ -55,20 +46,13 @@ var v0 = [
}
],
v1 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "id",
"storageKey": null
},
v2 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "reason",
"storageKey": null
},
v3 = [
v2 = [
{
"alias": null,
"args": [
@@ -101,45 +85,7 @@ v3 = [
{
"kind": "InlineFragment",
"selections": [
{
"alias": null,
"args": null,
"concreteType": "Membership",
"kind": "LinkedField",
"name": "membership",
"plural": false,
"selections": [
(v1/*: any*/),
{
"alias": null,
"args": null,
"concreteType": "Session",
"kind": "LinkedField",
"name": "lastSession",
"plural": false,
"selections": [
(v1/*: any*/),
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "expiresAt",
"storageKey": null
}
],
"storageKey": null
}
],
"storageKey": null
}
],
"type": "OrganizationSessionCreated",
"abstractKey": null
},
{
"kind": "InlineFragment",
"selections": [
(v2/*: any*/)
(v1/*: any*/)
],
"type": "PasswordRequired",
"abstractKey": null
@@ -147,7 +93,7 @@ v3 = [
{
"kind": "InlineFragment",
"selections": [
(v2/*: any*/),
(v1/*: any*/),
{
"alias": null,
"args": null,
@@ -172,7 +118,7 @@ return {
"kind": "Fragment",
"metadata": null,
"name": "AssumePageMutation",
"selections": (v3/*: any*/),
"selections": (v2/*: any*/),
"type": "Mutation",
"abstractKey": null
},
@@ -181,19 +127,19 @@ return {
"argumentDefinitions": (v0/*: any*/),
"kind": "Operation",
"name": "AssumePageMutation",
"selections": (v3/*: any*/)
"selections": (v2/*: any*/)
},
"params": {
"cacheID": "cc56faddf33aa8f6b84f139f262647f6",
"cacheID": "073df17c6a8b470ae74d1d39243b3e30",
"id": null,
"metadata": {},
"name": "AssumePageMutation",
"operationKind": "mutation",
"text": "mutation AssumePageMutation(\n $input: AssumeOrganizationSessionInput!\n) {\n assumeOrganizationSession(input: $input) {\n result {\n __typename\n ... on OrganizationSessionCreated {\n membership {\n id\n lastSession {\n id\n expiresAt\n }\n }\n }\n ... on PasswordRequired {\n reason\n }\n ... on SAMLAuthenticationRequired {\n reason\n redirectUrl\n }\n }\n }\n}\n"
"text": "mutation AssumePageMutation(\n $input: AssumeOrganizationSessionInput!\n) {\n assumeOrganizationSession(input: $input) {\n result {\n __typename\n ... on PasswordRequired {\n reason\n }\n ... on SAMLAuthenticationRequired {\n reason\n redirectUrl\n }\n }\n }\n}\n"
}
};
})();
(node as any).hash = "e5799d78e6d954273c07db7c022b31e7";
(node as any).hash = "e6f39c43ccc7680cd72ad99c84a82780";
export default node;

View File

@@ -18,15 +18,6 @@ const assumeMutation = graphql`
assumeOrganizationSession(input: $input) {
result {
__typename
... on OrganizationSessionCreated {
membership {
id
lastSession {
id
expiresAt
}
}
}
... on PasswordRequired {
reason
}