diff --git a/.gitignore b/.gitignore index d5c28be..4d90a71 100644 --- a/.gitignore +++ b/.gitignore @@ -133,10 +133,6 @@ npm-debug.log* yarn-debug.log* yarn-error.log* -# Only apps should have lockfiles -yarn.lock -package-lock.json - .npm .eslintcache coverage @@ -210,6 +206,8 @@ deploy-options.json .prettierignore **/aura/.eslintrc.json **/lwc/.eslintrc.json +jest.config.cjs +.ci # LWC VS Code autocomplete @@ -375,9 +373,6 @@ debug[-_]* .forceignore.bac -# Should be removed if DIA project starter pack with dia-scripts etc. not used -!package-lock.json - # Anonymous Apex playground files scripts/**/*playground* diff --git a/force-app/main/default/flows/UpdateVIPStatus.flow-meta.xml b/force-app/main/default/flows/UpdateVIPStatus.flow-meta.xml deleted file mode 100644 index dd53929..0000000 --- a/force-app/main/default/flows/UpdateVIPStatus.flow-meta.xml +++ /dev/null @@ -1,191 +0,0 @@ - - - 57.0 - - Account_is_VIP - - 50 - 815 - - GetAccount.IsVIP__c - Assign - - true - - - - UpdateAccountCheckbox - - - - ContactCountAssignment - - 314 - 575 - - NumberOfVIPContacts - AssignCount - - GetContacts - - - - Account_needs_update_if_VIP_Contacts - - - - IsNoVIP - - 314 - 815 - - GetAccount.IsVIP__c - Assign - - false - - - - UpdateAccountCheckbox - - - - Account_needs_update_if_VIP_Contacts - - 314 - 695 - Default Outcome - - AccountHasVIPContacts - and - - NumberOfVIPContacts - GreaterThan - - 0.0 - - - - Account_is_VIP - - - - - AccountHasNoVIPContacts - and - - NumberOfVIPContacts - EqualTo - - 0.0 - - - - IsNoVIP - - - - - Default - UpdateVIPStatus {!$Flow.CurrentDateTime} - - - BuilderType - - LightningFlowBuilder - - - - CanvasMode - - AUTO_LAYOUT_CANVAS - - - - OriginBuilderType - - LightningFlowBuilder - - - AutoLaunchedFlow - - GetAccount - - 314 - 455 - false - - ContactCountAssignment - - and - - Id - EqualTo - - $Record.AccountId - - - true - Account - true - - - GetContacts - - 314 - 335 - false - - GetAccount - - and - - IsVIP__c - EqualTo - - true - - - - AccountId - EqualTo - - $Record.Account.Id - - - false - Contact - true - - - UpdateAccountCheckbox - - 314 - 1031 - GetAccount - - - 188 - 0 - - GetContacts - - ISNEW() || ISCHANGED({!$Record.IsVIP__c}) - Contact - CreateAndUpdate - RecordAfterSave - - Active - - NumberOfVIPContacts - NumberOfVIPContacts - Number - false - false - false - 0 - - 0.0 - - - \ No newline at end of file diff --git a/force-app/main/default/layouts/Account-Account Layout.layout-meta.xml b/force-app/main/default/layouts/Account-Account Layout.layout-meta.xml deleted file mode 100644 index d85d636..0000000 --- a/force-app/main/default/layouts/Account-Account Layout.layout-meta.xml +++ /dev/null @@ -1,267 +0,0 @@ - - - DataDotComAccountInsights - DataDotComClean - DataDotComCompanyHierarchy - Submit - - false - false - true - - - - Edit - OwnerId - - - Required - Name - - - Edit - ParentId - - - - - Edit - IsVIP__c - - - Edit - Phone - - - Edit - Website - - - - - - false - true - true - - - - Edit - Type - - - Edit - Industry - - - - - Edit - NumberOfEmployees - - - Edit - AnnualRevenue - - - - - - false - false - false - - - - Edit - Description - - - - - - false - true - false - - - - Edit - BillingAddress - - - - - Edit - ShippingAddress - - - - - - false - true - true - - - - Readonly - CreatedById - - - - - Readonly - LastModifiedById - - - - - - false - true - false - - - - GoogleSearch - - - HooversProfile - - - - - GoogleMaps - - - - - GoogleNews - - - - - - - FeedItem.TextPost - - - FeedItem.ContentPost - - - NewTask - - - NewContact - - - NewCase - - - LogACall - - - NewOpportunity - - - NewEvent - - - FeedItem.ContentNote - - - FeedItem.RypplePost - - - FeedItem.LinkPost - - - FeedItem.PollPost - - - FeedItem.QuestionPost - - - SendEmail - - - - - - wits:newsPanel - - - - - runtime_sales_social:socialPanel - - - - - FULL_NAME - CONTACT.TITLE - CONTACT.EMAIL - CONTACT.PHONE1 - RelatedContactList - - - TASK.SUBJECT - TASK.WHO_NAME - TASK.WHAT_NAME - ACTIVITY.TASK - TASK.DUE_DATE - TASK.STATUS - TASK.PRIORITY - CORE.USERS.FULL_NAME - RelatedActivityList - - - TASK.SUBJECT - TASK.WHO_NAME - TASK.WHAT_NAME - ACTIVITY.TASK - TASK.DUE_DATE - CORE.USERS.FULL_NAME - TASK.LAST_UPDATE - RelatedHistoryList - - - OPPORTUNITY.NAME - OPPORTUNITY.STAGE_NAME - OPPORTUNITY.AMOUNT - OPPORTUNITY.CLOSE_DATE - RelatedOpportunityList - - - CASES.CASE_NUMBER - NAME - CASES.SUBJECT - CASES.PRIORITY - CASES.CREATED_DATE_DATE_ONLY - CASES.STATUS - OWNER_NAME - RelatedCaseList - - - ACCOUNT.NAME - OPPORTUNITY.NAME - PARTNER.ROLE - RelatedPartnerList - - - RelatedNoteList - - ParentId - false - false - false - false - false - - 00h58000001VOPM - 4 - 0 - Default - - diff --git a/force-app/main/default/layouts/Case-Case Layout.layout-meta.xml b/force-app/main/default/layouts/Case-Case Layout.layout-meta.xml deleted file mode 100644 index 207669b..0000000 --- a/force-app/main/default/layouts/Case-Case Layout.layout-meta.xml +++ /dev/null @@ -1,344 +0,0 @@ - - - false - Submit - - true - true - LeftFixed - - AllUpdates - - - FeedItemType - CallLogPost - - - FeedItemType - TextPost - - - FeedItemType - ChangeStatusPost - - - FeedItemType - ActivityEvent - - true - true - true - - HelpAndToolLinks - - - Following - - - Followers - - - Topics - - - CustomLinks - - - CustomButtons - - true - - - false - false - true - - - - Edit - OwnerId - - - Readonly - CaseNumber - - - Edit - ContactId - - - Readonly - AccountId - - - Readonly - IsVIP__c - - - Readonly - ReturnTrue__c - - - - - Readonly - ContactPhone - - - Readonly - ContactEmail - - - - - - false - true - true - - - - Required - Status - - - Required - Origin - - - Edit - Priority - - - - - Edit - Type - - - Edit - Reason - - - - - - false - false - true - - - - Edit - Subject - - - Edit - Description - - - Edit - Comments - - - - - - false - false - true - - - - Readonly - CreatedDate - - - Readonly - SuppliedEmail - - - Readonly - SuppliedName - - - - - Readonly - ClosedDate - - - Readonly - SuppliedCompany - - - Readonly - SuppliedPhone - - - - - - false - true - true - - - - Readonly - CreatedById - - - - - Readonly - LastModifiedById - - - - - - false - false - false - - - - - - - - - FeedItem.TextPost - - - Case.LogACall - - - Case.ChangeStatus - - - FeedItem.ContentPost - - - FeedItem.LinkPost - - - FeedItem.PollPost - - - - - - Readonly - ContactId - - - - - Readonly - AccountId - - - - - SOLUTION.ISSUE - SOLUTION.SOLUTION_NUMBER - SOLUTION.STATUS - CORE.USERS.ALIAS - RelatedSolutionList - - - TASK.SUBJECT - TASK.WHO_NAME - ACTIVITY.TASK - TASK.DUE_DATE - TASK.STATUS - TASK.PRIORITY - CORE.USERS.FULL_NAME - RelatedActivityList - - - TASK.SUBJECT - TASK.WHO_NAME - ACTIVITY.TASK - TASK.DUE_DATE - CORE.USERS.FULL_NAME - TASK.LAST_UPDATE - RelatedHistoryList - - - RelatedCommentsList - - - RelatedEntityHistoryList - - - RelatedAttachmentList - - ContactId - AccountId - false - true - false - false - false - true - true - - 00h1500000WwbAq - 3 - 4 - - ContactId - 0 - 0 - - - AccountId - 0 - 1 - - - ContactPhone - 0 - 2 - - - CaseNumber - 1 - 0 - - - CreatedDate - 1 - 1 - - - Subject - 1 - 2 - - - Description - 1 - 3 - - - Status - 2 - 0 - - - Priority - 2 - 1 - - - OwnerId - 2 - 2 - - CaseInteraction - - diff --git a/force-app/main/default/layouts/Contact-Contact Layout.layout-meta.xml b/force-app/main/default/layouts/Contact-Contact Layout.layout-meta.xml deleted file mode 100644 index 7c8033d..0000000 --- a/force-app/main/default/layouts/Contact-Contact Layout.layout-meta.xml +++ /dev/null @@ -1,296 +0,0 @@ - - - Submit - - false - false - true - - - - Edit - OwnerId - - - Required - Name - - - Required - AccountId - - - Edit - Title - - - - - Edit - IsVIP__c - - - Edit - Phone - - - Edit - MobilePhone - - - Edit - Email - - - Edit - ReportsToId - - - - - - false - true - true - - - - Edit - MailingAddress - - - - - Edit - OtherAddress - - - - - - false - true - true - - - - Edit - Fax - - - Edit - HomePhone - - - Edit - OtherPhone - - - Edit - AssistantName - - - Edit - AssistantPhone - - - - - Edit - LeadSource - - - Readonly - LastCURequestDate - - - Readonly - LastCUUpdateDate - - - Edit - Birthdate - - - Edit - Department - - - - - - false - false - true - - - - Edit - Description - - - - - - false - true - true - - - - Readonly - CreatedById - - - - - Readonly - LastModifiedById - - - - - - false - false - false - - - - GoogleSearch - - - YahooWeather - - - - - GoogleMaps - - - - - SendGmail - - - - - - - FeedItem.QuestionPost - - - FeedItem.TextPost - - - FeedItem.ContentPost - - - NewTask - - - LogACall - - - NewCase - - - NewEvent - - - FeedItem.ContentNote - - - FeedItem.RypplePost - - - FeedItem.LinkPost - - - FeedItem.PollPost - - - SendEmail - - - - - - Readonly - AccountId - - - - - runtime_sales_social:socialPanel - - - - - TASK.SUBJECT - TASK.WHAT_NAME - ACTIVITY.TASK - TASK.DUE_DATE - TASK.STATUS - TASK.PRIORITY - CORE.USERS.FULL_NAME - RelatedActivityList - - - TASK.SUBJECT - TASK.WHAT_NAME - ACTIVITY.TASK - TASK.DUE_DATE - CORE.USERS.FULL_NAME - TASK.LAST_UPDATE - RelatedHistoryList - - - OPPORTUNITY.NAME - OPPORTUNITY.STAGE_NAME - OPPORTUNITY.AMOUNT - OPPORTUNITY.CLOSE_DATE - RelatedOpportunityList - - - CASES.CASE_NUMBER - CASES.SUBJECT - CASES.PRIORITY - CASES.CREATED_DATE - CASES.STATUS - OWNER_NAME - RelatedCaseList - - - RelatedNoteList - - - ACTIVITY.SUBJECT - EMAIL_STATUS.CREATED_DATE - EMAIL_STATUS.FIRST_OPEN_DATE - EMAIL_STATUS.TIMES_OPENED - EMAIL_STATUS.LAST_OPEN_DATE - RelatedEmailStatusList - - - CAMPAIGN.NAME - CAMPAIGN.START_DATE - CAMPAIGN.CAMPAIGN_TYPE - CM.STATUS - CM.RESPONDED - CM.LAST_UPDATE - RelatedCampaignList - - AccountId - false - false - false - false - false - - 00h58000001VOPR - 4 - 0 - Default - - diff --git a/force-app/main/default/layouts/Global-Global Layout.layout-meta.xml b/force-app/main/default/layouts/Global-Global Layout.layout-meta.xml deleted file mode 100644 index 0ac7149..0000000 --- a/force-app/main/default/layouts/Global-Global Layout.layout-meta.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - FeedItem.TextPost - - - false - false - false - diff --git a/force-app/main/default/objects/Account/fields/ExternalId__c.field-meta.xml b/force-app/main/default/objects/Account/fields/ExternalId__c.field-meta.xml deleted file mode 100644 index 0a906a9..0000000 --- a/force-app/main/default/objects/Account/fields/ExternalId__c.field-meta.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - ExternalId__c - false - An external Id field. - true - - 255 - false - false - Text - true - diff --git a/force-app/main/default/objects/Account/fields/IsVIP__c.field-meta.xml b/force-app/main/default/objects/Account/fields/IsVIP__c.field-meta.xml deleted file mode 100644 index f50b43a..0000000 --- a/force-app/main/default/objects/Account/fields/IsVIP__c.field-meta.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - IsVIP__c - false - VIP is if VIP contacts exist - false - - false - Checkbox - diff --git a/force-app/main/default/objects/Campaign/fields/RichText__c.field-meta.xml b/force-app/main/default/objects/Campaign/fields/RichText__c.field-meta.xml deleted file mode 100644 index 153c9ed..0000000 --- a/force-app/main/default/objects/Campaign/fields/RichText__c.field-meta.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - RichText__c - Description - false - Description - - 32768 - Html - 25 - diff --git a/force-app/main/default/objects/Case/fields/IsVIP__c.field-meta.xml b/force-app/main/default/objects/Case/fields/IsVIP__c.field-meta.xml deleted file mode 100644 index fb6fb31..0000000 --- a/force-app/main/default/objects/Case/fields/IsVIP__c.field-meta.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - IsVIP__c - A case is VIP if Account is VIP. - false - Account.IsVIP__c - BlankAsZero - - false - false - Checkbox - diff --git a/force-app/main/default/objects/Case/fields/ReturnTrue__c.field-meta.xml b/force-app/main/default/objects/Case/fields/ReturnTrue__c.field-meta.xml deleted file mode 100644 index c355d3f..0000000 --- a/force-app/main/default/objects/Case/fields/ReturnTrue__c.field-meta.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - ReturnTrue__c - delete me - false - true - BlankAsZero - delete me - - false - false - Checkbox - diff --git a/force-app/main/default/objects/Case/fields/TextField__c.field-meta.xml b/force-app/main/default/objects/Case/fields/TextField__c.field-meta.xml deleted file mode 100644 index bc55e71..0000000 --- a/force-app/main/default/objects/Case/fields/TextField__c.field-meta.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - TextField__c - Should be detected by gearset - false - Should be detected by gearset - - 255 - false - false - false - false - Text - false - diff --git a/force-app/main/default/objects/Contact/Contact.object-meta.xml b/force-app/main/default/objects/Contact/Contact.object-meta.xml deleted file mode 100644 index 4be2f6c..0000000 --- a/force-app/main/default/objects/Contact/Contact.object-meta.xml +++ /dev/null @@ -1,352 +0,0 @@ - - - - AddCampaign - Default - - - AddCampaign - Large - Default - - - AddCampaign - Small - Default - - - AddToCampaign - Default - - - AddToCampaign - Large - Default - - - AddToCampaign - Small - Default - - - CallHighlightAction - Default - - - CallHighlightAction - Large - Default - - - CallHighlightAction - Small - Default - - - CancelEdit - Default - - - CancelEdit - Large - Default - - - CancelEdit - Small - Default - - - Clone - Default - - - Clone - Large - Default - - - Clone - Small - Default - - - Delete - Default - - - Delete - Large - Default - - - Delete - Small - Default - - - Edit - Default - - - Edit - Large - Default - - - Edit - Small - Default - - - EmailHighlightAction - Default - - - EmailHighlightAction - Large - Default - - - EmailHighlightAction - Small - Default - - - EnableCustomerPortal - Default - - - EnableCustomerPortal - Large - Default - - - EnableCustomerPortal - Small - Default - - - EnablePartnerPortalUser - Default - - - EnablePartnerPortalUser - Large - Default - - - EnablePartnerPortalUser - Small - Default - - - EnableSelfService - Default - - - EnableSelfService - Large - Default - - - EnableSelfService - Small - Default - - - List - Default - - - List - Large - Default - - - List - Small - Default - - - ListClean - Default - - - ListClean - Large - Default - - - ListClean - Small - Default - - - Merge - Default - - - Merge - Large - Default - - - Merge - Small - Default - - - NewContact - Default - - - NewContact - Large - Default - - - NewContact - Small - Default - - - RequestUpdate - Default - - - RequestUpdate - Large - Default - - - RequestUpdate - Small - Default - - - SaveEdit - Default - - - SaveEdit - Large - Default - - - SaveEdit - Small - Default - - - SmsHighlightAction - Default - - - SmsHighlightAction - Large - Default - - - SmsHighlightAction - Small - Default - - - Tab - Default - - - Tab - Large - Default - - - Tab - Small - Default - - - View - Default - - - View - Large - Default - - - View - Small - Default - - - ViewCustomerPortal - Default - - - ViewCustomerPortal - Large - Default - - - ViewCustomerPortal - Small - Default - - - ViewPartnerPortalUser - Default - - - ViewPartnerPortalUser - Large - Default - - - ViewPartnerPortalUser - Small - Default - - - ViewSelfService - Default - - - ViewSelfService - Large - Default - - - ViewSelfService - Small - Default - - ContactCompactLayout - true - false - - FULL_NAME - ACCOUNT.NAME - CONTACT.PHONE1 - FULL_NAME - ACCOUNT.NAME - ACCOUNT.SITE - FULL_NAME - ACCOUNT.NAME - ACCOUNT.SITE - CONTACT.PHONE1 - CONTACT.PHONE3 - CONTACT.PHONE4 - CONTACT.PHONE5 - CONTACT.PHONE6 - ACCOUNT.PHONE1 - FULL_NAME - ACCOUNT.NAME - ACCOUNT.SITE - CONTACT.PHONE1 - CONTACT.EMAIL - CORE.USERS.ALIAS - - ControlledByParent - diff --git a/force-app/main/default/objects/Contact/compactLayouts/ContactCompactLayout.compactLayout-meta.xml b/force-app/main/default/objects/Contact/compactLayouts/ContactCompactLayout.compactLayout-meta.xml deleted file mode 100644 index 67be2e2..0000000 --- a/force-app/main/default/objects/Contact/compactLayouts/ContactCompactLayout.compactLayout-meta.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - ContactCompactLayout - Name - Title - AccountId - Phone - Email - MobilePhone - OwnerId - IsVIP__c - - diff --git a/force-app/main/default/objects/Contact/fields/IsVIP__c.field-meta.xml b/force-app/main/default/objects/Contact/fields/IsVIP__c.field-meta.xml deleted file mode 100644 index 54efd39..0000000 --- a/force-app/main/default/objects/Contact/fields/IsVIP__c.field-meta.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - IsVIP__c - false - Indicates a VIP contact present - false - - false - Checkbox - diff --git a/force-app/main/default/objects/Contact/listViews/AllContacts.listView-meta.xml b/force-app/main/default/objects/Contact/listViews/AllContacts.listView-meta.xml deleted file mode 100644 index 77f7d03..0000000 --- a/force-app/main/default/objects/Contact/listViews/AllContacts.listView-meta.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - AllContacts - FULL_NAME - ACCOUNT.NAME - CONTACT.TITLE - CONTACT.PHONE1 - CONTACT.EMAIL - CORE.USERS.ALIAS - Everything - - en_US - diff --git a/force-app/main/default/objects/Contact/listViews/BirthdaysThisMonth.listView-meta.xml b/force-app/main/default/objects/Contact/listViews/BirthdaysThisMonth.listView-meta.xml deleted file mode 100644 index 35bc349..0000000 --- a/force-app/main/default/objects/Contact/listViews/BirthdaysThisMonth.listView-meta.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - BirthdaysThisMonth - FULL_NAME - ACCOUNT.NAME - CONTACT.TITLE - CONTACT.PHONE1 - CONTACT.EMAIL - CORE.USERS.ALIAS - CONTACT.BIRTHDATE - Everything - - CONTACT.BIRTHDATE - equals - THIS_MONTH - - - diff --git a/force-app/main/default/objects/Contact/listViews/NewThisWeek.listView-meta.xml b/force-app/main/default/objects/Contact/listViews/NewThisWeek.listView-meta.xml deleted file mode 100644 index e16c13f..0000000 --- a/force-app/main/default/objects/Contact/listViews/NewThisWeek.listView-meta.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - NewThisWeek - FULL_NAME - ACCOUNT.NAME - CONTACT.TITLE - CONTACT.PHONE1 - CONTACT.EMAIL - CORE.USERS.ALIAS - Everything - - CONTACT.CREATED_DATE - equals - THIS_WEEK - - - diff --git a/force-app/main/default/objects/Contact/webLinks/GoogleMaps.webLink-meta.xml b/force-app/main/default/objects/Contact/webLinks/GoogleMaps.webLink-meta.xml deleted file mode 100644 index c26de9a..0000000 --- a/force-app/main/default/objects/Contact/webLinks/GoogleMaps.webLink-meta.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - GoogleMaps - online - link - UTF-8 - false - true - false - 600 - true - url - Google Maps - newWindow - none - false - false - false - http://maps.google.com/maps?f=q&hl=en&q={!Contact_MailingStreet}+{!Contact_MailingCity}+{!Contact_MailingState}&om=1 - diff --git a/force-app/main/default/objects/Contact/webLinks/GoogleSearch.webLink-meta.xml b/force-app/main/default/objects/Contact/webLinks/GoogleSearch.webLink-meta.xml deleted file mode 100644 index 4236dc6..0000000 --- a/force-app/main/default/objects/Contact/webLinks/GoogleSearch.webLink-meta.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - GoogleSearch - online - link - UTF-8 - false - true - false - 600 - true - url - Google Search - newWindow - none - false - false - false - http://www.google.com/search?q={!Contact_FirstName} {!Contact_LastName} - diff --git a/force-app/main/default/objects/Contact/webLinks/SendGmail.webLink-meta.xml b/force-app/main/default/objects/Contact/webLinks/SendGmail.webLink-meta.xml deleted file mode 100644 index 87e123a..0000000 --- a/force-app/main/default/objects/Contact/webLinks/SendGmail.webLink-meta.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - SendGmail - online - link - UTF-8 - false - true - false - 600 - true - url - Send Gmail - newWindow - none - false - false - false - https://mail.google.com/mail?view=cm&tf=0&to={!Contact_Email}<{!Contact_LastName}, {!Contact_FirstName}>&tf=1 - diff --git a/force-app/main/default/objects/Contact/webLinks/YahooMaps.webLink-meta.xml b/force-app/main/default/objects/Contact/webLinks/YahooMaps.webLink-meta.xml deleted file mode 100644 index 85e0d21..0000000 --- a/force-app/main/default/objects/Contact/webLinks/YahooMaps.webLink-meta.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - YahooMaps - online - link - UTF-8 - true - true - true - 600 - true - url - Yahoo! Maps - newWindow - none - false - true - true - http://maps.yahoo.com/py/maps.py?cn={!Contact_MailingCountry}&csz={!Contact_MailingCity}+{!Contact_MailingState}+{!Contact_MailingPostalCode}+&addr={!Contact_MailingAddress} - diff --git a/force-app/main/default/objects/Contact/webLinks/YahooWeather.webLink-meta.xml b/force-app/main/default/objects/Contact/webLinks/YahooWeather.webLink-meta.xml deleted file mode 100644 index e52ca36..0000000 --- a/force-app/main/default/objects/Contact/webLinks/YahooWeather.webLink-meta.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - YahooWeather - online - link - UTF-8 - false - true - false - 600 - true - url - Yahoo! Weather - newWindow - none - false - false - false - http://weather.yahoo.com/search/weather2?p={!Contact_MailingPostalCode} - diff --git a/force-app/main/default/objects/Lead/fields/Email.field-meta.xml b/force-app/main/default/objects/Lead/fields/Email.field-meta.xml deleted file mode 100644 index ca07c9c..0000000 --- a/force-app/main/default/objects/Lead/fields/Email.field-meta.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - Email - Active - DSGVO - Lead's Email - Lead's Email - Internal - false - diff --git a/force-app/main/default/profiles/Admin.profile-meta.xml b/force-app/main/default/profiles/Admin.profile-meta.xml deleted file mode 100644 index 0af811e..0000000 --- a/force-app/main/default/profiles/Admin.profile-meta.xml +++ /dev/null @@ -1,741 +0,0 @@ - - - false - - true - Account.IsVIP__c - true - - - false - Case.IsVIP__c - true - - - true - Contact.IsVIP__c - true - - - Account-Account Layout - - - Case-Case Layout - - - Contact-Contact Layout - - - Global-Global Layout - - - global - 250.0.0.0 - 1.1.1.1 - - Salesforce - - true - AIViewInsightObjects - - - true - ActivateContract - - - true - ActivateOrder - - - true - ActivitiesAccess - - - true - AddDirectMessageMembers - - - true - ApexRestServices - - - true - ApiEnabled - - - true - AssignPermissionSets - - - true - AssignTopics - - - true - AuthorApex - - - true - BulkMacrosAllowed - - - true - CanInsertFeedSystemFields - - - true - CanUseNewDashboardBuilder - - - true - CanVerifyComment - - - true - ChangeDashboardColors - - - true - ChatterEditOwnPost - - - true - ChatterEditOwnRecordPost - - - true - ChatterFileLink - - - true - ChatterInternalUser - - - true - ChatterInviteExternalUsers - - - true - ChatterOwnGroups - - - true - ClientSecretRotation - - - true - ConnectOrgToEnvironmentHub - - - true - ConsentApiUpdate - - - true - ContentAdministrator - - - true - ContentWorkspaces - - - true - ConvertLeads - - - true - CreateCustomizeDashboards - - - true - CreateCustomizeFilters - - - true - CreateCustomizeReports - - - true - CreateDashboardFolders - - - true - CreateLtngTempFolder - - - true - CreatePackaging - - - true - CreateReportFolders - - - true - CreateTopics - - - true - CreateWorkBadgeDefinition - - - true - CreateWorkspaces - - - true - CustomizeApplication - - - true - DataExport - - - true - DelegatedTwoFactor - - - true - DeleteActivatedContract - - - true - DeleteTopics - - - true - DistributeFromPersWksp - - - true - EditActivatedOrders - - - true - EditBillingInfo - - - true - EditBrandTemplates - - - true - EditCaseComments - - - true - EditEvent - - - true - EditHtmlTemplates - - - true - EditMyDashboards - - - true - EditMyReports - - - true - EditOppLineItemUnitPrice - - - true - EditPublicDocuments - - - true - EditPublicFilters - - - true - EditPublicTemplates - - - true - EditReadonlyFields - - - true - EditTask - - - true - EditTopics - - - true - EmailMass - - - true - EmailSingle - - - true - EnableCommunityAppLauncher - - - true - EnableNotifications - - - true - ExportReport - - - true - GiveRecognitionBadge - - - true - ImportCustomObjects - - - true - ImportLeads - - - true - ImportPersonal - - - true - InboundMigrationToolsUser - - - true - InstallPackaging - - - true - LightningConsoleAllowedForUser - - - true - LightningExperienceUser - - - true - ListEmailSend - - - true - ManageAnalyticSnapshots - - - true - ManageAuthProviders - - - true - ManageBusinessHourHolidays - - - true - ManageC360AConnections - - - true - ManageCMS - - - true - ManageCallCenters - - - true - ManageCases - - - true - ManageCategories - - - true - ManageCertificates - - - true - ManageContentPermissions - - - true - ManageContentProperties - - - true - ManageContentTypes - - - true - ManageCustomPermissions - - - true - ManageCustomReportTypes - - - true - ManageDashbdsInPubFolders - - - true - ManageDataCategories - - - true - ManageDataIntegrations - - - true - ManageDynamicDashboards - - - true - ManageEmailClientConfig - - - true - ManageExchangeConfig - - - true - ManageHealthCheck - - - true - ManageHubConnections - - - true - ManageInteraction - - - true - ManageInternalUsers - - - true - ManageIpAddresses - - - true - ManageLeads - - - true - ManageLoginAccessPolicies - - - true - ManageMobile - - - true - ManageNetworks - - - true - ManageOrchInstsAndWorkItems - - - true - ManagePackageLicenses - - - true - ManagePasswordPolicies - - - true - ManageProfilesPermissionsets - - - true - ManagePropositions - - - true - ManagePvtRptsAndDashbds - - - true - ManageRecommendationStrategies - - - true - ManageReleaseUpdates - - - true - ManageRemoteAccess - - - true - ManageReportsInPubFolders - - - true - ManageRoles - - - true - ManageSandboxes - - - true - ManageSharing - - - true - ManageSolutions - - - true - ManageSubscriptions - - - true - ManageSynonyms - - - true - ManageTranslation - - - true - ManageTrustMeasures - - - true - ManageUnlistedGroups - - - true - ManageUsers - - - true - MassInlineEdit - - - true - MergeTopics - - - true - ModerateChatter - - - true - ModifyAllData - - - true - ModifyDataClassification - - - true - ModifyMetadata - - - true - NewReportBuilder - - - true - OutboundMigrationToolsUser - - - true - Packaging2 - - - true - Packaging2Delete - - - true - PrivacyDataAccess - - - true - PublishPackaging - - - true - RemoveDirectMessageMembers - - - true - ResetPasswords - - - true - RunReports - - - true - ScheduleJob - - - true - ScheduleReports - - - true - SelectFilesFromSalesforce - - - true - SendCustomNotifications - - - true - SendSitRequests - - - true - ShowCompanyNameAsUserBadge - - - true - SolutionImport - - - true - SubmitMacrosAllowed - - - true - SubscribeDashboardRolesGrps - - - true - SubscribeDashboardToOtherUsers - - - true - SubscribeReportRolesGrps - - - true - SubscribeReportToOtherUsers - - - true - SubscribeReportsRunAsUser - - - true - SubscribeToLightningDashboards - - - true - SubscribeToLightningReports - - - true - TraceXdsQueries - - - true - TransactionalEmailSend - - - true - TransferAnyCase - - - true - TransferAnyEntity - - - true - TransferAnyLead - - - true - UseTeamReassignWizards - - - true - UseWebLink - - - true - ViewAllData - - - true - ViewAllProfiles - - - true - ViewAllUsers - - - true - ViewDataAssessment - - - true - ViewDataCategories - - - true - ViewDeveloperName - - - true - ViewEventLogFiles - - - true - ViewFlowUsageAndFlowEventData - - - true - ViewHealthCheck - - - true - ViewHelpLink - - - true - ViewMLModels - - - true - ViewMyTeamsDashboards - - - true - ViewPublicDashboards - - - true - ViewPublicReports - - - true - ViewRoles - - - true - ViewSetup - - - true - ViewTrustMeasures - - - true - ViewUserPII - - diff --git a/jest.config.cjs b/jest.config.cjs deleted file mode 100644 index f5a9fed..0000000 --- a/jest.config.cjs +++ /dev/null @@ -1,6 +0,0 @@ -const { jestConfig } = require('@salesforce/sfdx-lwc-jest/config'); - -module.exports = { - ...jestConfig, - modulePathIgnorePatterns: ['/.localdevserver'] -}; diff --git a/package-lock.json b/package-lock.json index 4a70e38..abf3495 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "husky": "^7.0.4", "lint-staged": "^12.3.7", "prettier": "2.6.0", - "prettier-plugin-apex": "1.10.0" + "prettier-plugin-apex": "^1.13.0" } }, "node_modules/@actions/core": { @@ -2968,12 +2968,28 @@ } }, "node_modules/axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", + "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", "dev": true, "dependencies": { - "follow-redirects": "^1.14.0" + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/axios/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" } }, "node_modules/babel-jest": { @@ -4677,9 +4693,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "dev": true, "funding": [ { @@ -8824,29 +8840,41 @@ } }, "node_modules/prettier-plugin-apex": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/prettier-plugin-apex/-/prettier-plugin-apex-1.10.0.tgz", - "integrity": "sha512-Kh6kMNq5IfCxlP49wsZbt2Pq/dx4zbwbEdjUcP9GCmXfRLGuoa6mrT26kIv8TJnEjFCPVzUjg1u0qa3qBStLmQ==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-apex/-/prettier-plugin-apex-1.13.0.tgz", + "integrity": "sha512-QeGHrNOR6EXoH0Mto385FDrRC+XSCc/8zvtqNvhEaFovEMC7InDp2Mn5WxjJzQUdgtUYoXL+NYcSm3nxMqsymQ==", "dev": true, "dependencies": { - "axios": "^0.21.0", - "jest-docblock": "^27.0.1", - "wait-on": "^5.2.1", + "axios": "^1.0.0", + "jest-docblock": "^29.0.0", + "wait-on": "^7.0.0", "yargs": "^17.0.0" }, "bin": { "apex-ast-serializer": "vendor/apex-ast-serializer/bin/apex-ast-serializer", "apex-ast-serializer-http": "vendor/apex-ast-serializer/bin/apex-ast-serializer-http", - "start-apex-server": "bin/start-apex-server.js", - "stop-apex-server": "bin/stop-apex-server.js" + "start-apex-server": "dist/bin/start-apex-server.js", + "stop-apex-server": "dist/bin/stop-apex-server.js" }, "engines": { - "node": ">= 12.0.0" + "node": ">= 14.0.0" }, "peerDependencies": { "prettier": "^2.0.0" } }, + "node_modules/prettier-plugin-apex/node_modules/jest-docblock": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", + "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", + "dev": true, + "dependencies": { + "detect-newline": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/pretty-format": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.5.0.tgz", @@ -8886,6 +8914,12 @@ "node": ">= 6" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true + }, "node_modules/psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", @@ -9937,42 +9971,24 @@ } }, "node_modules/wait-on": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-5.3.0.tgz", - "integrity": "sha512-DwrHrnTK+/0QFaB9a8Ol5Lna3k7WvUR4jzSKmz0YaPBpuN2sACyiPVKVfj6ejnjcajAcvn3wlbTyMIn9AZouOg==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-7.2.0.tgz", + "integrity": "sha512-wCQcHkRazgjG5XoAq9jbTMLpNIjoSlZslrJ2+N9MxDsGEv1HnFoVjOCexL0ESva7Y9cu350j+DWADdk54s4AFQ==", "dev": true, "dependencies": { - "axios": "^0.21.1", - "joi": "^17.3.0", + "axios": "^1.6.1", + "joi": "^17.11.0", "lodash": "^4.17.21", - "minimist": "^1.2.5", - "rxjs": "^6.6.3" + "minimist": "^1.2.8", + "rxjs": "^7.8.1" }, "bin": { "wait-on": "bin/wait-on" }, "engines": { - "node": ">=8.9.0" - } - }, - "node_modules/wait-on/node_modules/rxjs": { - "version": "6.6.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", - "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", - "dev": true, - "dependencies": { - "tslib": "^1.9.0" - }, - "engines": { - "npm": ">=2.0.0" + "node": ">=12.0.0" } }, - "node_modules/wait-on/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, "node_modules/walker": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", @@ -12545,12 +12561,27 @@ "dev": true }, "axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", + "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", "dev": true, "requires": { - "follow-redirects": "^1.14.0" + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + }, + "dependencies": { + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + } } }, "babel-jest": { @@ -13842,9 +13873,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "dev": true }, "for-each": { @@ -16880,15 +16911,26 @@ "dev": true }, "prettier-plugin-apex": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/prettier-plugin-apex/-/prettier-plugin-apex-1.10.0.tgz", - "integrity": "sha512-Kh6kMNq5IfCxlP49wsZbt2Pq/dx4zbwbEdjUcP9GCmXfRLGuoa6mrT26kIv8TJnEjFCPVzUjg1u0qa3qBStLmQ==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-apex/-/prettier-plugin-apex-1.13.0.tgz", + "integrity": "sha512-QeGHrNOR6EXoH0Mto385FDrRC+XSCc/8zvtqNvhEaFovEMC7InDp2Mn5WxjJzQUdgtUYoXL+NYcSm3nxMqsymQ==", "dev": true, "requires": { - "axios": "^0.21.0", - "jest-docblock": "^27.0.1", - "wait-on": "^5.2.1", + "axios": "^1.0.0", + "jest-docblock": "^29.0.0", + "wait-on": "^7.0.0", "yargs": "^17.0.0" + }, + "dependencies": { + "jest-docblock": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", + "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", + "dev": true, + "requires": { + "detect-newline": "^3.0.0" + } + } } }, "pretty-format": { @@ -16920,6 +16962,12 @@ "sisteransi": "^1.0.5" } }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true + }, "psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", @@ -17697,33 +17745,16 @@ } }, "wait-on": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-5.3.0.tgz", - "integrity": "sha512-DwrHrnTK+/0QFaB9a8Ol5Lna3k7WvUR4jzSKmz0YaPBpuN2sACyiPVKVfj6ejnjcajAcvn3wlbTyMIn9AZouOg==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-7.2.0.tgz", + "integrity": "sha512-wCQcHkRazgjG5XoAq9jbTMLpNIjoSlZslrJ2+N9MxDsGEv1HnFoVjOCexL0ESva7Y9cu350j+DWADdk54s4AFQ==", "dev": true, "requires": { - "axios": "^0.21.1", - "joi": "^17.3.0", + "axios": "^1.6.1", + "joi": "^17.11.0", "lodash": "^4.17.21", - "minimist": "^1.2.5", - "rxjs": "^6.6.3" - }, - "dependencies": { - "rxjs": { - "version": "6.6.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", - "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", - "dev": true, - "requires": { - "tslib": "^1.9.0" - } - }, - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - } + "minimist": "^1.2.8", + "rxjs": "^7.8.1" } }, "walker": { diff --git a/package.json b/package.json index a0ba0e7..5b532bf 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "husky": "^7.0.4", "lint-staged": "^12.3.7", "prettier": "2.6.0", - "prettier-plugin-apex": "1.10.0" + "prettier-plugin-apex": "^1.13.0" }, "lint-staged": { "**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [