Fix error when enable SCIM
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @generated SignedSource<<5a8bd03c48696bd6ed7bd5ec80a61045>>
|
* @generated SignedSource<<481d9c3c647c11a95d68ff7e4a489a24>>
|
||||||
* @lightSyntaxTransform
|
* @lightSyntaxTransform
|
||||||
* @nogrep
|
* @nogrep
|
||||||
*/
|
*/
|
||||||
@@ -18,13 +18,13 @@ export type SCIMConfigurationCreateMutation$variables = {
|
|||||||
export type SCIMConfigurationCreateMutation$data = {
|
export type SCIMConfigurationCreateMutation$data = {
|
||||||
readonly createSCIMConfiguration: {
|
readonly createSCIMConfiguration: {
|
||||||
readonly scimConfiguration: {
|
readonly scimConfiguration: {
|
||||||
|
readonly endpointUrl: string;
|
||||||
|
readonly id: string;
|
||||||
readonly organization: {
|
readonly organization: {
|
||||||
readonly id: string;
|
readonly id: string;
|
||||||
readonly scimConfiguration: {
|
readonly scimConfiguration: {
|
||||||
readonly createdAt: string;
|
|
||||||
readonly endpointUrl: string;
|
readonly endpointUrl: string;
|
||||||
readonly id: string;
|
readonly id: string;
|
||||||
readonly updatedAt: string;
|
|
||||||
} | null | undefined;
|
} | null | undefined;
|
||||||
} | null | undefined;
|
} | null | undefined;
|
||||||
};
|
};
|
||||||
@@ -44,82 +44,30 @@ var v0 = [
|
|||||||
"name": "input"
|
"name": "input"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
v1 = [
|
v1 = {
|
||||||
{
|
|
||||||
"kind": "Variable",
|
|
||||||
"name": "input",
|
|
||||||
"variableName": "input"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
v2 = {
|
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": null,
|
"args": null,
|
||||||
"kind": "ScalarField",
|
"kind": "ScalarField",
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
},
|
},
|
||||||
v3 = {
|
v2 = {
|
||||||
"alias": null,
|
|
||||||
"args": null,
|
|
||||||
"concreteType": "Organization",
|
|
||||||
"kind": "LinkedField",
|
|
||||||
"name": "organization",
|
|
||||||
"plural": false,
|
|
||||||
"selections": [
|
|
||||||
(v2/*: any*/),
|
|
||||||
{
|
|
||||||
"alias": null,
|
|
||||||
"args": null,
|
|
||||||
"concreteType": "SCIMConfiguration",
|
|
||||||
"kind": "LinkedField",
|
|
||||||
"name": "scimConfiguration",
|
|
||||||
"plural": false,
|
|
||||||
"selections": [
|
|
||||||
(v2/*: any*/),
|
|
||||||
{
|
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": null,
|
"args": null,
|
||||||
"kind": "ScalarField",
|
"kind": "ScalarField",
|
||||||
"name": "endpointUrl",
|
"name": "endpointUrl",
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
},
|
|
||||||
{
|
|
||||||
"alias": null,
|
|
||||||
"args": null,
|
|
||||||
"kind": "ScalarField",
|
|
||||||
"name": "createdAt",
|
|
||||||
"storageKey": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"alias": null,
|
|
||||||
"args": null,
|
|
||||||
"kind": "ScalarField",
|
|
||||||
"name": "updatedAt",
|
|
||||||
"storageKey": null
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"storageKey": null
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"storageKey": null
|
|
||||||
},
|
},
|
||||||
v4 = {
|
v3 = [
|
||||||
"alias": null,
|
|
||||||
"args": null,
|
|
||||||
"kind": "ScalarField",
|
|
||||||
"name": "token",
|
|
||||||
"storageKey": null
|
|
||||||
};
|
|
||||||
return {
|
|
||||||
"fragment": {
|
|
||||||
"argumentDefinitions": (v0/*: any*/),
|
|
||||||
"kind": "Fragment",
|
|
||||||
"metadata": null,
|
|
||||||
"name": "SCIMConfigurationCreateMutation",
|
|
||||||
"selections": [
|
|
||||||
{
|
{
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": (v1/*: any*/),
|
"args": [
|
||||||
|
{
|
||||||
|
"kind": "Variable",
|
||||||
|
"name": "input",
|
||||||
|
"variableName": "input"
|
||||||
|
}
|
||||||
|
],
|
||||||
"concreteType": "CreateSCIMConfigurationPayload",
|
"concreteType": "CreateSCIMConfigurationPayload",
|
||||||
"kind": "LinkedField",
|
"kind": "LinkedField",
|
||||||
"name": "createSCIMConfiguration",
|
"name": "createSCIMConfiguration",
|
||||||
@@ -133,15 +81,54 @@ return {
|
|||||||
"name": "scimConfiguration",
|
"name": "scimConfiguration",
|
||||||
"plural": false,
|
"plural": false,
|
||||||
"selections": [
|
"selections": [
|
||||||
(v3/*: any*/)
|
(v1/*: any*/),
|
||||||
],
|
(v2/*: any*/),
|
||||||
"storageKey": null
|
{
|
||||||
},
|
"alias": null,
|
||||||
(v4/*: any*/)
|
"args": null,
|
||||||
|
"concreteType": "Organization",
|
||||||
|
"kind": "LinkedField",
|
||||||
|
"name": "organization",
|
||||||
|
"plural": false,
|
||||||
|
"selections": [
|
||||||
|
(v1/*: any*/),
|
||||||
|
{
|
||||||
|
"alias": null,
|
||||||
|
"args": null,
|
||||||
|
"concreteType": "SCIMConfiguration",
|
||||||
|
"kind": "LinkedField",
|
||||||
|
"name": "scimConfiguration",
|
||||||
|
"plural": false,
|
||||||
|
"selections": [
|
||||||
|
(v1/*: any*/),
|
||||||
|
(v2/*: any*/)
|
||||||
],
|
],
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"storageKey": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"storageKey": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"alias": null,
|
||||||
|
"args": null,
|
||||||
|
"kind": "ScalarField",
|
||||||
|
"name": "token",
|
||||||
|
"storageKey": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"storageKey": null
|
||||||
|
}
|
||||||
|
];
|
||||||
|
return {
|
||||||
|
"fragment": {
|
||||||
|
"argumentDefinitions": (v0/*: any*/),
|
||||||
|
"kind": "Fragment",
|
||||||
|
"metadata": null,
|
||||||
|
"name": "SCIMConfigurationCreateMutation",
|
||||||
|
"selections": (v3/*: any*/),
|
||||||
"type": "Mutation",
|
"type": "Mutation",
|
||||||
"abstractKey": null
|
"abstractKey": null
|
||||||
},
|
},
|
||||||
@@ -150,45 +137,19 @@ return {
|
|||||||
"argumentDefinitions": (v0/*: any*/),
|
"argumentDefinitions": (v0/*: any*/),
|
||||||
"kind": "Operation",
|
"kind": "Operation",
|
||||||
"name": "SCIMConfigurationCreateMutation",
|
"name": "SCIMConfigurationCreateMutation",
|
||||||
"selections": [
|
"selections": (v3/*: any*/)
|
||||||
{
|
|
||||||
"alias": null,
|
|
||||||
"args": (v1/*: any*/),
|
|
||||||
"concreteType": "CreateSCIMConfigurationPayload",
|
|
||||||
"kind": "LinkedField",
|
|
||||||
"name": "createSCIMConfiguration",
|
|
||||||
"plural": false,
|
|
||||||
"selections": [
|
|
||||||
{
|
|
||||||
"alias": null,
|
|
||||||
"args": null,
|
|
||||||
"concreteType": "SCIMConfiguration",
|
|
||||||
"kind": "LinkedField",
|
|
||||||
"name": "scimConfiguration",
|
|
||||||
"plural": false,
|
|
||||||
"selections": [
|
|
||||||
(v3/*: any*/),
|
|
||||||
(v2/*: any*/)
|
|
||||||
],
|
|
||||||
"storageKey": null
|
|
||||||
},
|
|
||||||
(v4/*: any*/)
|
|
||||||
],
|
|
||||||
"storageKey": null
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"cacheID": "24fe7551556768ace60e5c1ee357deda",
|
"cacheID": "c4a8c2c34586e55c6dca0b5e4a0f4642",
|
||||||
"id": null,
|
"id": null,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"name": "SCIMConfigurationCreateMutation",
|
"name": "SCIMConfigurationCreateMutation",
|
||||||
"operationKind": "mutation",
|
"operationKind": "mutation",
|
||||||
"text": "mutation SCIMConfigurationCreateMutation(\n $input: CreateSCIMConfigurationInput!\n) {\n createSCIMConfiguration(input: $input) {\n scimConfiguration {\n organization {\n id\n scimConfiguration {\n id\n endpointUrl\n createdAt\n updatedAt\n }\n }\n id\n }\n token\n }\n}\n"
|
"text": "mutation SCIMConfigurationCreateMutation(\n $input: CreateSCIMConfigurationInput!\n) {\n createSCIMConfiguration(input: $input) {\n scimConfiguration {\n id\n endpointUrl\n organization {\n id\n scimConfiguration {\n id\n endpointUrl\n }\n }\n }\n token\n }\n}\n"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
||||||
(node as any).hash = "3b23015e5a2e1b117317cbfad4e4a64b";
|
(node as any).hash = "b4534941bf2670d13c78cb5ab9e810b1";
|
||||||
|
|
||||||
export default node;
|
export default node;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @generated SignedSource<<24043718fd171f0c9f80df965cbf10eb>>
|
* @generated SignedSource<<aee411254b8e44cfe7387cf500fe4148>>
|
||||||
* @lightSyntaxTransform
|
* @lightSyntaxTransform
|
||||||
* @nogrep
|
* @nogrep
|
||||||
*/
|
*/
|
||||||
@@ -18,7 +18,7 @@ export type SCIMEventListFragment$data = {
|
|||||||
readonly " $fragmentSpreads": FragmentRefs<"SCIMEventListItemFragment">;
|
readonly " $fragmentSpreads": FragmentRefs<"SCIMEventListItemFragment">;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
};
|
} | null | undefined;
|
||||||
readonly id: string;
|
readonly id: string;
|
||||||
readonly " $fragmentType": "SCIMEventListFragment";
|
readonly " $fragmentType": "SCIMEventListFragment";
|
||||||
};
|
};
|
||||||
@@ -98,8 +98,6 @@ return {
|
|||||||
"name": "SCIMEventListFragment",
|
"name": "SCIMEventListFragment",
|
||||||
"selections": [
|
"selections": [
|
||||||
{
|
{
|
||||||
"kind": "RequiredField",
|
|
||||||
"field": {
|
|
||||||
"alias": "events",
|
"alias": "events",
|
||||||
"args": null,
|
"args": null,
|
||||||
"concreteType": "SCIMEventConnection",
|
"concreteType": "SCIMEventConnection",
|
||||||
@@ -108,8 +106,6 @@ return {
|
|||||||
"plural": false,
|
"plural": false,
|
||||||
"selections": [
|
"selections": [
|
||||||
{
|
{
|
||||||
"kind": "RequiredField",
|
|
||||||
"field": {
|
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": null,
|
"args": null,
|
||||||
"concreteType": "SCIMEventEdge",
|
"concreteType": "SCIMEventEdge",
|
||||||
@@ -151,8 +147,6 @@ return {
|
|||||||
],
|
],
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
},
|
},
|
||||||
"action": "THROW"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": null,
|
"args": null,
|
||||||
@@ -195,8 +189,6 @@ return {
|
|||||||
],
|
],
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
},
|
},
|
||||||
"action": "THROW"
|
|
||||||
},
|
|
||||||
(v1/*: any*/)
|
(v1/*: any*/)
|
||||||
],
|
],
|
||||||
"type": "SCIMConfiguration",
|
"type": "SCIMConfiguration",
|
||||||
@@ -204,6 +196,6 @@ return {
|
|||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
||||||
(node as any).hash = "64df3764ea01f7a7153983fabb6202ad";
|
(node as any).hash = "ae2f90b93285c48be6ae1c3f458f3a6e";
|
||||||
|
|
||||||
export default node;
|
export default node;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @generated SignedSource<<0f5b99c931df8d47706342b7715260ef>>
|
* @generated SignedSource<<b32ec8d0912fecc61b56c7b4473e8938>>
|
||||||
* @lightSyntaxTransform
|
* @lightSyntaxTransform
|
||||||
* @nogrep
|
* @nogrep
|
||||||
*/
|
*/
|
||||||
@@ -337,6 +337,6 @@ return {
|
|||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
||||||
(node as any).hash = "64df3764ea01f7a7153983fabb6202ad";
|
(node as any).hash = "ae2f90b93285c48be6ae1c3f458f3a6e";
|
||||||
|
|
||||||
export default node;
|
export default node;
|
||||||
|
|||||||
@@ -29,13 +29,14 @@ const createSCIMConfigurationMutation = graphql`
|
|||||||
) {
|
) {
|
||||||
createSCIMConfiguration(input: $input) {
|
createSCIMConfiguration(input: $input) {
|
||||||
scimConfiguration {
|
scimConfiguration {
|
||||||
|
id
|
||||||
|
endpointUrl
|
||||||
|
|
||||||
organization {
|
organization {
|
||||||
id
|
id
|
||||||
scimConfiguration {
|
scimConfiguration {
|
||||||
id
|
id
|
||||||
endpointUrl
|
endpointUrl
|
||||||
createdAt
|
|
||||||
updatedAt
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,9 +16,8 @@ const SCIMEventListFragment = graphql`
|
|||||||
last: { type: "Int", defaultValue: null }
|
last: { type: "Int", defaultValue: null }
|
||||||
) {
|
) {
|
||||||
events(first: $first, after: $after, last: $last, before: $before)
|
events(first: $first, after: $after, last: $last, before: $before)
|
||||||
@connection(key: "SCIMEventListFragment_events")
|
@connection(key: "SCIMEventListFragment_events") {
|
||||||
@required(action: THROW) {
|
edges {
|
||||||
edges @required(action: THROW) {
|
|
||||||
node {
|
node {
|
||||||
id
|
id
|
||||||
...SCIMEventListItemFragment
|
...SCIMEventListItemFragment
|
||||||
@@ -54,7 +53,8 @@ export function SCIMEventList(props: { fKey: SCIMEventListFragment$key }) {
|
|||||||
</Tr>
|
</Tr>
|
||||||
</Thead>
|
</Thead>
|
||||||
<Tbody>
|
<Tbody>
|
||||||
{eventsPagination.data.events.edges.length === 0 ? (
|
{!eventsPagination.data.events?.edges ||
|
||||||
|
eventsPagination.data.events.edges.length === 0 ? (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td colSpan={4} className="text-center text-txt-secondary">
|
<Td colSpan={4} className="text-center text-txt-secondary">
|
||||||
{__("No SCIM events recorded yet.")}
|
{__("No SCIM events recorded yet.")}
|
||||||
|
|||||||
Reference in New Issue
Block a user