forked from twentyhq/twenty
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated Campaign trigger with the newly created Object This reverts commit 31f1195. * Updated Campaign Trigger Functionality --------- Co-authored-by: Shubham Pawar <82868470+srp-pawar@users.noreply.github.com>
- Loading branch information
1 parent
31f1195
commit 32201d1
Showing
8 changed files
with
1,055 additions
and
1,007 deletions.
There are no files selected for viewing
589 changes: 298 additions & 291 deletions
589
...ont/src/modules/object-record/record-index/components/RecordIndexTableContainerEffect.tsx
Large diffs are not rendered by default.
Oops, something went wrong.
48 changes: 18 additions & 30 deletions
48
packages/twenty-front/src/modules/users/graphql/queries/getCampaignList.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,38 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export const GET_CAMPAIGN_LISTS = gql` | ||
query FindManyCampaigns($filter: CampaignsFilterInput, $orderBy: CampaignOrderByInput, $lastCursor: String, $limit: Float) { | ||
campaigns( | ||
filter: $filter | ||
orderBy: $orderBy | ||
first: $limit | ||
after: $lastCursor | ||
) { | ||
query FindManyCampaigns($filter: CampaignFilterInput, $orderBy: CampaignOrderByInput, $lastCursor: String, $limit: Float) { | ||
campaigns(filter: $filter, orderBy: $orderBy, first: $limit, after: $lastCursor) { | ||
edges { | ||
node { | ||
id | ||
name | ||
formUrl | ||
description | ||
formNameId | ||
updatedAt | ||
campaignName | ||
segment { | ||
id | ||
segmentDescription | ||
filters | ||
segmentName | ||
name | ||
formTemplate{ | ||
id | ||
name | ||
} | ||
messagingMedia | ||
specialtyType | ||
startDate | ||
lastExecution | ||
id | ||
subSpecialtyType | ||
lastExecutionId | ||
createdAt | ||
segment{ | ||
id | ||
name | ||
} | ||
subspecialty | ||
specialty | ||
messageTemplate{ | ||
id | ||
name | ||
} | ||
segmentId | ||
status | ||
endDate | ||
leads | ||
messageTemplateId | ||
} | ||
} | ||
pageInfo { | ||
hasNextPage | ||
startCursor | ||
endCursor | ||
__typename | ||
} | ||
totalCount | ||
__typename | ||
} | ||
}` |
Oops, something went wrong.