Remove unused mutation result fields
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @generated SignedSource<<754086efd418674e8d92f629f7a01736>>
|
* @generated SignedSource<<096c8befe586a961b8ebf410eda0e019>>
|
||||||
* @lightSyntaxTransform
|
* @lightSyntaxTransform
|
||||||
* @nogrep
|
* @nogrep
|
||||||
*/
|
*/
|
||||||
@@ -19,15 +19,6 @@ export type AssumePageMutation$variables = {
|
|||||||
export type AssumePageMutation$data = {
|
export type AssumePageMutation$data = {
|
||||||
readonly assumeOrganizationSession: {
|
readonly assumeOrganizationSession: {
|
||||||
readonly result: {
|
readonly result: {
|
||||||
readonly __typename: "OrganizationSessionCreated";
|
|
||||||
readonly membership: {
|
|
||||||
readonly id: string;
|
|
||||||
readonly lastSession: {
|
|
||||||
readonly expiresAt: string;
|
|
||||||
readonly id: string;
|
|
||||||
} | null | undefined;
|
|
||||||
};
|
|
||||||
} | {
|
|
||||||
readonly __typename: "PasswordRequired";
|
readonly __typename: "PasswordRequired";
|
||||||
readonly reason: ReauthenticationReason;
|
readonly reason: ReauthenticationReason;
|
||||||
} | {
|
} | {
|
||||||
@@ -55,20 +46,13 @@ var v0 = [
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
v1 = {
|
v1 = {
|
||||||
"alias": null,
|
|
||||||
"args": null,
|
|
||||||
"kind": "ScalarField",
|
|
||||||
"name": "id",
|
|
||||||
"storageKey": null
|
|
||||||
},
|
|
||||||
v2 = {
|
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": null,
|
"args": null,
|
||||||
"kind": "ScalarField",
|
"kind": "ScalarField",
|
||||||
"name": "reason",
|
"name": "reason",
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
},
|
},
|
||||||
v3 = [
|
v2 = [
|
||||||
{
|
{
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": [
|
"args": [
|
||||||
@@ -101,45 +85,7 @@ v3 = [
|
|||||||
{
|
{
|
||||||
"kind": "InlineFragment",
|
"kind": "InlineFragment",
|
||||||
"selections": [
|
"selections": [
|
||||||
{
|
(v1/*: any*/)
|
||||||
"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*/)
|
|
||||||
],
|
],
|
||||||
"type": "PasswordRequired",
|
"type": "PasswordRequired",
|
||||||
"abstractKey": null
|
"abstractKey": null
|
||||||
@@ -147,7 +93,7 @@ v3 = [
|
|||||||
{
|
{
|
||||||
"kind": "InlineFragment",
|
"kind": "InlineFragment",
|
||||||
"selections": [
|
"selections": [
|
||||||
(v2/*: any*/),
|
(v1/*: any*/),
|
||||||
{
|
{
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": null,
|
"args": null,
|
||||||
@@ -172,7 +118,7 @@ return {
|
|||||||
"kind": "Fragment",
|
"kind": "Fragment",
|
||||||
"metadata": null,
|
"metadata": null,
|
||||||
"name": "AssumePageMutation",
|
"name": "AssumePageMutation",
|
||||||
"selections": (v3/*: any*/),
|
"selections": (v2/*: any*/),
|
||||||
"type": "Mutation",
|
"type": "Mutation",
|
||||||
"abstractKey": null
|
"abstractKey": null
|
||||||
},
|
},
|
||||||
@@ -181,19 +127,19 @@ return {
|
|||||||
"argumentDefinitions": (v0/*: any*/),
|
"argumentDefinitions": (v0/*: any*/),
|
||||||
"kind": "Operation",
|
"kind": "Operation",
|
||||||
"name": "AssumePageMutation",
|
"name": "AssumePageMutation",
|
||||||
"selections": (v3/*: any*/)
|
"selections": (v2/*: any*/)
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"cacheID": "cc56faddf33aa8f6b84f139f262647f6",
|
"cacheID": "073df17c6a8b470ae74d1d39243b3e30",
|
||||||
"id": null,
|
"id": null,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"name": "AssumePageMutation",
|
"name": "AssumePageMutation",
|
||||||
"operationKind": "mutation",
|
"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;
|
export default node;
|
||||||
|
|||||||
@@ -18,15 +18,6 @@ const assumeMutation = graphql`
|
|||||||
assumeOrganizationSession(input: $input) {
|
assumeOrganizationSession(input: $input) {
|
||||||
result {
|
result {
|
||||||
__typename
|
__typename
|
||||||
... on OrganizationSessionCreated {
|
|
||||||
membership {
|
|
||||||
id
|
|
||||||
lastSession {
|
|
||||||
id
|
|
||||||
expiresAt
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
... on PasswordRequired {
|
... on PasswordRequired {
|
||||||
reason
|
reason
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user