Change compliance update modals
- Merge new and edit modals design - Create a send modal Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<458f30b721ecd9df210621a8853008c3>>
|
||||
* @generated SignedSource<<2cec7e8ca8209de4cb2d007ad8bfe9fa>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -15,11 +15,11 @@ export type CreateMailingListUpdateInput = {
|
||||
mailingListId: string;
|
||||
title: string;
|
||||
};
|
||||
export type NewComplianceUpdateDialogMutation$variables = {
|
||||
export type ComplianceUpdateFormDialogCreateMutation$variables = {
|
||||
connections: ReadonlyArray<string>;
|
||||
input: CreateMailingListUpdateInput;
|
||||
};
|
||||
export type NewComplianceUpdateDialogMutation$data = {
|
||||
export type ComplianceUpdateFormDialogCreateMutation$data = {
|
||||
readonly createMailingListUpdate: {
|
||||
readonly mailingListUpdate: {
|
||||
readonly body: string;
|
||||
@@ -31,9 +31,9 @@ export type NewComplianceUpdateDialogMutation$data = {
|
||||
};
|
||||
};
|
||||
};
|
||||
export type NewComplianceUpdateDialogMutation = {
|
||||
response: NewComplianceUpdateDialogMutation$data;
|
||||
variables: NewComplianceUpdateDialogMutation$variables;
|
||||
export type ComplianceUpdateFormDialogCreateMutation = {
|
||||
response: ComplianceUpdateFormDialogCreateMutation$data;
|
||||
variables: ComplianceUpdateFormDialogCreateMutation$variables;
|
||||
};
|
||||
|
||||
const node: ConcreteRequest = (function(){
|
||||
@@ -115,7 +115,7 @@ return {
|
||||
],
|
||||
"kind": "Fragment",
|
||||
"metadata": null,
|
||||
"name": "NewComplianceUpdateDialogMutation",
|
||||
"name": "ComplianceUpdateFormDialogCreateMutation",
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
@@ -140,7 +140,7 @@ return {
|
||||
(v0/*: any*/)
|
||||
],
|
||||
"kind": "Operation",
|
||||
"name": "NewComplianceUpdateDialogMutation",
|
||||
"name": "ComplianceUpdateFormDialogCreateMutation",
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
@@ -178,16 +178,16 @@ return {
|
||||
]
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "33fc392100d93803de3a189e75961a75",
|
||||
"cacheID": "52d07d51ab21154cf26f8a932aba5e77",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "NewComplianceUpdateDialogMutation",
|
||||
"name": "ComplianceUpdateFormDialogCreateMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation NewComplianceUpdateDialogMutation(\n $input: CreateMailingListUpdateInput!\n) {\n createMailingListUpdate(input: $input) {\n mailingListUpdate {\n id\n title\n body\n status\n createdAt\n updatedAt\n }\n }\n}\n"
|
||||
"text": "mutation ComplianceUpdateFormDialogCreateMutation(\n $input: CreateMailingListUpdateInput!\n) {\n createMailingListUpdate(input: $input) {\n mailingListUpdate {\n id\n title\n body\n status\n createdAt\n updatedAt\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "bf02b571efaf38d4f4a8fde50b311832";
|
||||
(node as any).hash = "6e8c7b014c850c90bcfb876d6e504f4d";
|
||||
|
||||
export default node;
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<622eccc63036573a8e38ffc8dd36e7d7>>
|
||||
* @generated SignedSource<<160a29eaaba4b3db2c1b7aca34164dd7>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -15,10 +15,10 @@ export type UpdateMailingListUpdateInput = {
|
||||
id: string;
|
||||
title: string;
|
||||
};
|
||||
export type EditComplianceUpdateDialogMutation$variables = {
|
||||
export type ComplianceUpdateFormDialogUpdateMutation$variables = {
|
||||
input: UpdateMailingListUpdateInput;
|
||||
};
|
||||
export type EditComplianceUpdateDialogMutation$data = {
|
||||
export type ComplianceUpdateFormDialogUpdateMutation$data = {
|
||||
readonly updateMailingListUpdate: {
|
||||
readonly mailingListUpdate: {
|
||||
readonly body: string;
|
||||
@@ -29,9 +29,9 @@ export type EditComplianceUpdateDialogMutation$data = {
|
||||
};
|
||||
};
|
||||
};
|
||||
export type EditComplianceUpdateDialogMutation = {
|
||||
response: EditComplianceUpdateDialogMutation$data;
|
||||
variables: EditComplianceUpdateDialogMutation$variables;
|
||||
export type ComplianceUpdateFormDialogUpdateMutation = {
|
||||
response: ComplianceUpdateFormDialogUpdateMutation$data;
|
||||
variables: ComplianceUpdateFormDialogUpdateMutation$variables;
|
||||
};
|
||||
|
||||
const node: ConcreteRequest = (function(){
|
||||
@@ -112,7 +112,7 @@ return {
|
||||
"argumentDefinitions": (v0/*: any*/),
|
||||
"kind": "Fragment",
|
||||
"metadata": null,
|
||||
"name": "EditComplianceUpdateDialogMutation",
|
||||
"name": "ComplianceUpdateFormDialogUpdateMutation",
|
||||
"selections": (v1/*: any*/),
|
||||
"type": "Mutation",
|
||||
"abstractKey": null
|
||||
@@ -121,20 +121,20 @@ return {
|
||||
"operation": {
|
||||
"argumentDefinitions": (v0/*: any*/),
|
||||
"kind": "Operation",
|
||||
"name": "EditComplianceUpdateDialogMutation",
|
||||
"name": "ComplianceUpdateFormDialogUpdateMutation",
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "49b4c9f194a0bf6ebe01408ae6387f2e",
|
||||
"cacheID": "49b5feb2a9a2e157568ad2431e032425",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "EditComplianceUpdateDialogMutation",
|
||||
"name": "ComplianceUpdateFormDialogUpdateMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation EditComplianceUpdateDialogMutation(\n $input: UpdateMailingListUpdateInput!\n) {\n updateMailingListUpdate(input: $input) {\n mailingListUpdate {\n id\n title\n body\n status\n updatedAt\n }\n }\n}\n"
|
||||
"text": "mutation ComplianceUpdateFormDialogUpdateMutation(\n $input: UpdateMailingListUpdateInput!\n) {\n updateMailingListUpdate(input: $input) {\n mailingListUpdate {\n id\n title\n body\n status\n updatedAt\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "8b2246ab3bddba658cc488610afcd80f";
|
||||
(node as any).hash = "3737c127b41a55df71e09d64aaa3da9e";
|
||||
|
||||
export default node;
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<f5323e8e7bd73882c9169eb01318a21c>>
|
||||
* @generated SignedSource<<7eced414e0638e806b52e86afcb6cca4>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -13,10 +13,10 @@ export type MailingListUpdateStatus = "DRAFT" | "ENQUEUED" | "PROCESSING" | "SEN
|
||||
export type SendMailingListUpdateInput = {
|
||||
id: string;
|
||||
};
|
||||
export type CompliancePageUpdatesListSendMutation$variables = {
|
||||
export type SendUpdateDialogMutation$variables = {
|
||||
input: SendMailingListUpdateInput;
|
||||
};
|
||||
export type CompliancePageUpdatesListSendMutation$data = {
|
||||
export type SendUpdateDialogMutation$data = {
|
||||
readonly sendMailingListUpdate: {
|
||||
readonly mailingListUpdate: {
|
||||
readonly body: string;
|
||||
@@ -27,9 +27,9 @@ export type CompliancePageUpdatesListSendMutation$data = {
|
||||
};
|
||||
};
|
||||
};
|
||||
export type CompliancePageUpdatesListSendMutation = {
|
||||
response: CompliancePageUpdatesListSendMutation$data;
|
||||
variables: CompliancePageUpdatesListSendMutation$variables;
|
||||
export type SendUpdateDialogMutation = {
|
||||
response: SendUpdateDialogMutation$data;
|
||||
variables: SendUpdateDialogMutation$variables;
|
||||
};
|
||||
|
||||
const node: ConcreteRequest = (function(){
|
||||
@@ -110,7 +110,7 @@ return {
|
||||
"argumentDefinitions": (v0/*: any*/),
|
||||
"kind": "Fragment",
|
||||
"metadata": null,
|
||||
"name": "CompliancePageUpdatesListSendMutation",
|
||||
"name": "SendUpdateDialogMutation",
|
||||
"selections": (v1/*: any*/),
|
||||
"type": "Mutation",
|
||||
"abstractKey": null
|
||||
@@ -119,20 +119,20 @@ return {
|
||||
"operation": {
|
||||
"argumentDefinitions": (v0/*: any*/),
|
||||
"kind": "Operation",
|
||||
"name": "CompliancePageUpdatesListSendMutation",
|
||||
"name": "SendUpdateDialogMutation",
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "23fee99a4999d2c9cbeecd6fa9863b67",
|
||||
"cacheID": "714c7cc9cdb06cb384690e17cdaa9958",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "CompliancePageUpdatesListSendMutation",
|
||||
"name": "SendUpdateDialogMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation CompliancePageUpdatesListSendMutation(\n $input: SendMailingListUpdateInput!\n) {\n sendMailingListUpdate(input: $input) {\n mailingListUpdate {\n id\n title\n body\n status\n updatedAt\n }\n }\n}\n"
|
||||
"text": "mutation SendUpdateDialogMutation(\n $input: SendMailingListUpdateInput!\n) {\n sendMailingListUpdate(input: $input) {\n mailingListUpdate {\n id\n title\n body\n status\n updatedAt\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "37c68b46d761280e2ff16f5bff08b249";
|
||||
(node as any).hash = "9ec6f363395b934616b97fe50b83d328";
|
||||
|
||||
export default node;
|
||||
Reference in New Issue
Block a user