Change webhook table names
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<cc57c5db0d6374e4941bb0d4f1fb73c2>>
|
||||
* @generated SignedSource<<18c0948adc229a75b1d980e64730b423>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -20,10 +20,10 @@ export type WebhooksSettingsPageQuery$data = {
|
||||
readonly webhookConfigurations: {
|
||||
readonly edges: ReadonlyArray<{
|
||||
readonly node: {
|
||||
readonly calls: {
|
||||
readonly endpointUrl: string;
|
||||
readonly events: {
|
||||
readonly totalCount: number;
|
||||
};
|
||||
readonly endpointUrl: string;
|
||||
readonly id: string;
|
||||
readonly selectedEvents: ReadonlyArray<WebhookEventType>;
|
||||
};
|
||||
@@ -110,9 +110,9 @@ v4 = [
|
||||
"value": 0
|
||||
}
|
||||
],
|
||||
"concreteType": "WebhookCallConnection",
|
||||
"concreteType": "WebhookEventConnection",
|
||||
"kind": "LinkedField",
|
||||
"name": "calls",
|
||||
"name": "events",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
@@ -123,7 +123,7 @@ v4 = [
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": "calls(first:0)"
|
||||
"storageKey": "events(first:0)"
|
||||
},
|
||||
(v2/*: any*/)
|
||||
],
|
||||
@@ -265,7 +265,7 @@ return {
|
||||
]
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "97b7c454586fe958e456fa7929b46686",
|
||||
"cacheID": "b5ca3cf4d05d2cb81c744e760433cb94",
|
||||
"id": null,
|
||||
"metadata": {
|
||||
"connection": [
|
||||
@@ -282,11 +282,11 @@ return {
|
||||
},
|
||||
"name": "WebhooksSettingsPageQuery",
|
||||
"operationKind": "query",
|
||||
"text": "query WebhooksSettingsPageQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n webhookConfigurations(first: 50) {\n edges {\n node {\n id\n endpointUrl\n selectedEvents\n calls(first: 0) {\n totalCount\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n id\n }\n}\n"
|
||||
"text": "query WebhooksSettingsPageQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n webhookConfigurations(first: 50) {\n edges {\n node {\n id\n endpointUrl\n selectedEvents\n events(first: 0) {\n totalCount\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n id\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "58012f55644dae31fe5e18c2c1e193a7";
|
||||
(node as any).hash = "bac1812903d6f495d15bb0e70ce5ed48";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<c53381e72c0d17cff70568af0bbbb6e5>>
|
||||
* @generated SignedSource<<70389123cd52ffd010e2b8f0109aedcd>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -9,22 +9,22 @@
|
||||
// @ts-nocheck
|
||||
|
||||
import { ConcreteRequest } from 'relay-runtime';
|
||||
export type WebhookCallStatus = "FAILED" | "SUCCEEDED";
|
||||
export type WebhooksSettingsPage_callsQuery$variables = {
|
||||
export type WebhookEventStatus = "FAILED" | "SUCCEEDED";
|
||||
export type WebhooksSettingsPage_eventsQuery$variables = {
|
||||
after?: string | null | undefined;
|
||||
first?: number | null | undefined;
|
||||
webhookConfigurationId: string;
|
||||
};
|
||||
export type WebhooksSettingsPage_callsQuery$data = {
|
||||
export type WebhooksSettingsPage_eventsQuery$data = {
|
||||
readonly node: {
|
||||
readonly calls?: {
|
||||
readonly events?: {
|
||||
readonly edges: ReadonlyArray<{
|
||||
readonly node: {
|
||||
readonly createdAt: string;
|
||||
readonly endpointUrl: string;
|
||||
readonly id: string;
|
||||
readonly response: string | null | undefined;
|
||||
readonly status: WebhookCallStatus;
|
||||
readonly status: WebhookEventStatus;
|
||||
};
|
||||
}>;
|
||||
readonly pageInfo: {
|
||||
@@ -35,9 +35,9 @@ export type WebhooksSettingsPage_callsQuery$data = {
|
||||
};
|
||||
};
|
||||
};
|
||||
export type WebhooksSettingsPage_callsQuery = {
|
||||
response: WebhooksSettingsPage_callsQuery$data;
|
||||
variables: WebhooksSettingsPage_callsQuery$variables;
|
||||
export type WebhooksSettingsPage_eventsQuery = {
|
||||
response: WebhooksSettingsPage_eventsQuery$data;
|
||||
variables: WebhooksSettingsPage_eventsQuery$variables;
|
||||
};
|
||||
|
||||
const node: ConcreteRequest = (function(){
|
||||
@@ -87,9 +87,9 @@ v5 = {
|
||||
"variableName": "first"
|
||||
}
|
||||
],
|
||||
"concreteType": "WebhookCallConnection",
|
||||
"concreteType": "WebhookEventConnection",
|
||||
"kind": "LinkedField",
|
||||
"name": "calls",
|
||||
"name": "events",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
@@ -127,7 +127,7 @@ v5 = {
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"concreteType": "WebhookCallEdge",
|
||||
"concreteType": "WebhookEventEdge",
|
||||
"kind": "LinkedField",
|
||||
"name": "edges",
|
||||
"plural": true,
|
||||
@@ -135,7 +135,7 @@ v5 = {
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"concreteType": "WebhookCall",
|
||||
"concreteType": "WebhookEvent",
|
||||
"kind": "LinkedField",
|
||||
"name": "node",
|
||||
"plural": false,
|
||||
@@ -191,7 +191,7 @@ return {
|
||||
],
|
||||
"kind": "Fragment",
|
||||
"metadata": null,
|
||||
"name": "WebhooksSettingsPage_callsQuery",
|
||||
"name": "WebhooksSettingsPage_eventsQuery",
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
@@ -217,7 +217,7 @@ return {
|
||||
(v0/*: any*/)
|
||||
],
|
||||
"kind": "Operation",
|
||||
"name": "WebhooksSettingsPage_callsQuery",
|
||||
"name": "WebhooksSettingsPage_eventsQuery",
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
@@ -242,16 +242,16 @@ return {
|
||||
]
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "9371a8918daebbb2a660b02649ba0241",
|
||||
"cacheID": "507b568e987ce78e58b171810a60bce8",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "WebhooksSettingsPage_callsQuery",
|
||||
"name": "WebhooksSettingsPage_eventsQuery",
|
||||
"operationKind": "query",
|
||||
"text": "query WebhooksSettingsPage_callsQuery(\n $webhookConfigurationId: ID!\n $first: Int\n $after: CursorKey\n) {\n node(id: $webhookConfigurationId) {\n __typename\n ... on WebhookConfiguration {\n calls(first: $first, after: $after) {\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n status\n endpointUrl\n createdAt\n response\n }\n }\n }\n }\n id\n }\n}\n"
|
||||
"text": "query WebhooksSettingsPage_eventsQuery(\n $webhookConfigurationId: ID!\n $first: Int\n $after: CursorKey\n) {\n node(id: $webhookConfigurationId) {\n __typename\n ... on WebhookConfiguration {\n events(first: $first, after: $after) {\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n edges {\n node {\n id\n status\n endpointUrl\n createdAt\n response\n }\n }\n }\n }\n id\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "de18874117b6272fdf2e22871adc4a5d";
|
||||
(node as any).hash = "2e528e16c34c33138858f92215af2ab4";
|
||||
|
||||
export default node;
|
||||
Reference in New Issue
Block a user