Skip to content

Commit ad0274b

Browse files
committed
Updates
1 parent a71f105 commit ad0274b

30 files changed

+185
-22
lines changed

cumulusci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ project:
33
package:
44
name: Animal Shelter Starter
55
namespace: animalshelters
6-
api_version: "59.0"
6+
api_version: "60.0"
77
source_format: sfdx
88
git:
99
default_branch: master

force-app/main/default/aura/lightningPrintViewApp/lightningPrintViewApp.app

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
<c:lightningPrintView recordId="{!v.recordid}" fieldSetName="{!v.fieldSetName}" sObjectTypeName="{!v.sObjectTypeName}"
1414
badgefields="{!v.badgefields}" />
1515

16-
</aura:application>
16+
</aura:application>

force-app/main/default/classes/AnimalBadgeController.cls

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
**/
1111
public with sharing class AnimalBadgeController {
1212

13-
@AuraEnabled(Cacheable=true)
13+
@AuraEnabled(cacheable=true)
1414
public static Map<String, Boolean> getRelatedBadges(Id animalId) {
1515
Map<String, Boolean> badges = new Map<String, Boolean>{
1616
'Alert' => false,
@@ -22,24 +22,24 @@ public with sharing class AnimalBadgeController {
2222
};
2323

2424
// Check for Alerts with no end date
25-
if(Schema.SObjectType.animalshelters__Animal_Alert__c.isAccessible() && Schema.SObjectType.animalshelters__Animal_Alert__c.fields.Animalshelters__End_Date_Time__c.isAccessible()) {
25+
if(Schema.sObjectType.animalshelters__Animal_Alert__c.isAccessible() && Schema.sObjectType.animalshelters__Animal_Alert__c.fields.Animalshelters__End_Date_Time__c.isAccessible()) {
2626
List<animalshelters__Animal_Alert__c> alerts = [SELECT Id
2727
FROM animalshelters__Animal_Alert__c
2828
WHERE animalshelters__Animal__c = :animalId
29-
AND animalshelters__End_Date_Time__c = NULL
29+
AND animalshelters__End_Date_Time__c = null
3030
WITH SECURITY_ENFORCED];
3131
// System.debug(alerts);
3232
if(!alerts.isEmpty()) {
3333
badges.put('Alert', true);
3434
}
3535
}
3636

37-
// Check for Conditions that have no end date
38-
if(Schema.SObjectType.animalshelters__Condition__c.isAccessible() && Schema.SObjectType.animalshelters__Condition__c.fields.Animalshelters__End_Date_Time__c.isAccessible()) {
37+
// Check for Condiitons that have no end date
38+
if(Schema.sObjectType.animalshelters__Condition__c.isAccessible() && Schema.sObjectType.animalshelters__Condition__c.fields.Animalshelters__End_Date_Time__c.isAccessible()) {
3939
List<animalshelters__Condition__c> conditions = [SELECT Id
4040
FROM animalshelters__Condition__c
4141
WHERE animalshelters__Animal__c = :animalId
42-
AND animalshelters__End_Date_Time__c = NULL
42+
AND animalshelters__End_Date_Time__c = null
4343
WITH SECURITY_ENFORCED];
4444
// System.debug(conditions);
4545
if(!conditions.isEmpty()) {
@@ -48,11 +48,11 @@ public with sharing class AnimalBadgeController {
4848
}
4949

5050
// Check for Action Records and RecordTypes
51-
if(Schema.SObjectType.animalshelters__Animal_Action__c.isAccessible() && Schema.SObjectType.animalshelters__Animal_Action__c.fields.animalshelters__Treatment_Type__c.isAccessible() && Schema.SObjectType.animalshelters__Animal_Action__c.fields.animalshelters__Action_Completed__c.isAccessible()) {
51+
if(Schema.sObjectType.animalshelters__Animal_Action__c.isAccessible() && Schema.sObjectType.animalshelters__Animal_Action__c.fields.animalshelters__Treatment_Type__c.isAccessible() && Schema.sObjectType.animalshelters__Animal_Action__c.fields.animalshelters__Action_Completed__c.isAccessible()) {
5252
List<animalshelters__Animal_Action__c> actions = [SELECT Id, RecordType.Name, animalshelters__Treatment_Type__c
5353
FROM animalshelters__Animal_Action__c
5454
WHERE animalshelters__Animal__c = :animalId
55-
AND animalshelters__Action_Completed__c = FALSE
55+
AND animalshelters__Action_Completed__c = false
5656
WITH SECURITY_ENFORCED];
5757
// System.debug(actions);
5858
for(animalshelters__Animal_Action__c action : actions) {

force-app/main/default/classes/AnimalBadgeController.cls-meta.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
33
<apiVersion>59.0</apiVersion>
44
<status>Active</status>
5-
</ApexClass>
5+
</ApexClass>

force-app/main/default/classes/AnimalShelterFieldsetController.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ public with sharing class AnimalShelterFieldsetController {
9696
}
9797
return badgeFieldsData;
9898
}
99-
}
99+
}

force-app/main/default/classes/AnimalShelterFieldsetControllerTest.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ private class AnimalShelterFieldsetControllerTest {
4646
System.assertEquals('Anxious', badgeData.get('animalshelters__Behaviours__c')[0], 'The first value should be Anxious');
4747
System.assertEquals('Bad Recall', badgeData.get('animalshelters__Behaviours__c')[1], 'The second value should be Bad Recall');
4848
}
49-
}
49+
}

force-app/main/default/cspTrustedSites/chipndoodle.cspTrustedSite-meta.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<CspTrustedSite xmlns="http://soap.sforce.com/2006/04/metadata">
3+
<canAccessCamera>false</canAccessCamera>
4+
<canAccessMicrophone>false</canAccessMicrophone>
35
<context>All</context>
46
<endpointUrl>https://api.chipndoodle.com</endpointUrl>
57
<isActive>true</isActive>

force-app/main/default/dashboards/AnimalShelterDashboards/dklAwhHHpHBzWUoGiQclJudQrVYlhU.dashboard-meta.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@
174174
<dashboardType>SpecifiedUser</dashboardType>
175175
<description>Default Dashboard for Animal Shelter Starter</description>
176176
<isGridLayout>true</isGridLayout>
177-
<owner>test-tpvqkbctykbo@example.com</owner>
178-
<runningUser>test-tpvqkbctykbo@example.com</runningUser>
177+
<owner>test-hqdi7iuf2chk@example.com</owner>
178+
<runningUser>test-hqdi7iuf2chk@example.com</runningUser>
179179
<textColor>#000000</textColor>
180180
<title>Animal Shelter Dashboard</title>
181181
<titleColor>#000000</titleColor>

force-app/main/default/flows/Adopter_Profile_Create_new_Adopter_Profile.flow-meta.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,7 @@
821821
<dataType>String</dataType>
822822
<fieldText>Local Vet Details</fieldText>
823823
<fieldType>DropdownBox</fieldType>
824+
<inputsOnNextNavToAssocScrn>UseStoredValues</inputsOnNextNavToAssocScrn>
824825
<isRequired>false</isRequired>
825826
<visibilityRule>
826827
<conditionLogic>and</conditionLogic>

force-app/main/default/flows/Adoption_Start_Adoption_Process.flow-meta.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,7 @@
932932
<dataType>String</dataType>
933933
<fieldText>Local Vet Details</fieldText>
934934
<fieldType>DropdownBox</fieldType>
935+
<inputsOnNextNavToAssocScrn>UseStoredValues</inputsOnNextNavToAssocScrn>
935936
<isRequired>false</isRequired>
936937
<visibilityRule>
937938
<conditionLogic>and</conditionLogic>
@@ -1090,6 +1091,7 @@
10901091
<dataType>String</dataType>
10911092
<fieldText>Select a Contact</fieldText>
10921093
<fieldType>DropdownBox</fieldType>
1094+
<inputsOnNextNavToAssocScrn>UseStoredValues</inputsOnNextNavToAssocScrn>
10931095
<isRequired>false</isRequired>
10941096
</fields>
10951097
<showFooter>true</showFooter>

0 commit comments

Comments
 (0)