Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jsconfig.json

# LWC Jest coverage reports
coverage/
.vim-force.com
.vscode

# Logs
logs
Expand Down
21 changes: 21 additions & 0 deletions delta/.forceignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# List files or directories below to ignore them when running force:source:push, force:source:pull, and force:source:status
# More information: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_exclude_source.htm
#

# Standard metadata
package.xml
**appMenu
**appSwitcher
**objectTranslations
**profiles
**settings

# LWC configuration files
**/jsconfig.json
**/.eslintrc.json

# LWC Jest
**/__tests__/**

# For the pubsub README
**/pubsub/**
63 changes: 63 additions & 0 deletions delta/diff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
[
{
"action": "Deploy",
"metadataType": "CustomLabel",
"componentName": "TRIGGER_AFTERDELETE",
"path": "delta\\force-app\\main\\default\\labels\\CustomLabels.labels-meta.xml"
},
{
"action": "Deploy",
"metadataType": "CustomLabel",
"componentName": "TRIGGER_AFTERINSERT",
"path": "delta\\force-app\\main\\default\\labels\\CustomLabels.labels-meta.xml"
},
{
"action": "Deploy",
"metadataType": "CustomLabel",
"componentName": "TRIGGER_AFTERUNDELETE",
"path": "delta\\force-app\\main\\default\\labels\\CustomLabels.labels-meta.xml"
},
{
"action": "Deploy",
"metadataType": "CustomLabel",
"componentName": "TRIGGER_AFTERUPDATE",
"path": "delta\\force-app\\main\\default\\labels\\CustomLabels.labels-meta.xml"
},
{
"action": "Deploy",
"metadataType": "CustomLabel",
"componentName": "TRIGGER_BEFOREDELETE",
"path": "delta\\force-app\\main\\default\\labels\\CustomLabels.labels-meta.xml"
},
{
"action": "Deploy",
"metadataType": "CustomLabel",
"componentName": "TRIGGER_BEFOREINSERT",
"path": "delta\\force-app\\main\\default\\labels\\CustomLabels.labels-meta.xml"
},
{
"action": "Deploy",
"metadataType": "CustomLabel",
"componentName": "TRIGGER_BEFOREUPDATE",
"path": "delta\\force-app\\main\\default\\labels\\CustomLabels.labels-meta.xml"
},
{
"action": "Deploy",
"metadataType": "CustomLabel",
"componentName": "TRIGGER_NEWLIST",
"path": "delta\\force-app\\main\\default\\labels\\CustomLabels.labels-meta.xml"
},
{
"action": "Deploy",
"metadataType": "CustomLabel",
"componentName": "TRIGGER_OLDLIST",
"path": "delta\\force-app\\main\\default\\labels\\CustomLabels.labels-meta.xml"
},
{
"action": "Deploy",
"metadataType": "ApexClass",
"componentName": "CalculatorService",
"message": "",
"path": "delta\\force-app\\main\\default\\classes\\CalculatorService.cls-meta.xml"
}
]
8 changes: 8 additions & 0 deletions delta/force-app/main/default/classes/CalculatorService.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
public with sharing class CalculatorService {
public static Integer add(Integer a, integer b) {
return a+b;
}
public static Integer sub(Integer a, integer b) {
return a-b;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>50.0</apiVersion>
<status>Active</status>
</ApexClass>
75 changes: 75 additions & 0 deletions delta/force-app/main/default/labels/CustomLabels.labels-meta.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomLabels xmlns="http://soap.sforce.com/2006/04/metadata">
<labels>
<fullName>TRIGGER_AFTERDELETE</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_AFTERDELETE</shortDescription>
<value>TRIGGER_AFTERDELETE</value>
</labels>
<labels>
<fullName>TRIGGER_AFTERINSERT</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_AFTERINSERT</shortDescription>
<value>TRIGGER_AFTERINSERT</value>
</labels>
<labels>
<fullName>TRIGGER_AFTERUNDELETE</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_AFTERUNDELETE</shortDescription>
<value>TRIGGER_AFTERUNDELETE</value>
</labels>
<labels>
<fullName>TRIGGER_AFTERUPDATE</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_AFTERUPDATE</shortDescription>
<value>TRIGGER_AFTERUPDATE</value>
</labels>
<labels>
<fullName>TRIGGER_BEFOREDELETE</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_BEFOREDELETE</shortDescription>
<value>TRIGGER_BEFOREDELETE</value>
</labels>
<labels>
<fullName>TRIGGER_BEFOREINSERT</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_BEFOREINSERT</shortDescription>
<value>TRIGGER_BEFOREINSERT</value>
</labels>
<labels>
<fullName>TRIGGER_BEFOREUPDATE</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_BEFOREUPDATE</shortDescription>
<value>TRIGGER_BEFOREUPDATE</value>
</labels>
<labels>
<fullName>TRIGGER_NEWLIST</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_NEWLIST</shortDescription>
<value>newList</value>
</labels>
<labels>
<fullName>TRIGGER_OLDLIST</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_OLDLIST</shortDescription>
<value>oldList</value>
</labels>
</CustomLabels>
1 change: 1 addition & 0 deletions delta/sfdx-project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"packageDirectories":[{"path":"force-app","default":true,"package":"LWCRecipes","versionName":"Winter '21","versionNumber":"50.0.0.NEXT"}],"namespace":"","sourceApiVersion":"50.0","sfdcLoginUrl":"https://login.salesforce.com","packageAliases":{"LWCRecipes":"0Ho3t000000KywNCAS","LWCRecipes@50.0.0-1":"04t3t000002kqGUAAY","LWCRecipes@50.0.0-5":"04t3t000002kqK7AAI","LWCRecipes@50.0.0-8":"04t3t000002kqPSAAY","LWCRecipes@50.0.0-11":"04t3t000002kqRdAAI","LWCRecipes@50.0.0-12":"04t3t000002kqvvAAA"}}
8 changes: 8 additions & 0 deletions force-app/main/default/classes/CalculatorService.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
public with sharing class CalculatorService {
public static Integer add(Integer a, integer b) {
return a+b;
}
public static Integer sub(Integer a, integer b) {
return a-b;
}
}
5 changes: 5 additions & 0 deletions force-app/main/default/classes/CalculatorService.cls-meta.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>50.0</apiVersion>
<status>Active</status>
</ApexClass>
75 changes: 75 additions & 0 deletions force-app/main/default/labels/CustomLabels.labels-meta.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomLabels xmlns="http://soap.sforce.com/2006/04/metadata">
<labels>
<fullName>TRIGGER_AFTERDELETE</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_AFTERDELETE</shortDescription>
<value>TRIGGER_AFTERDELETE</value>
</labels>
<labels>
<fullName>TRIGGER_AFTERINSERT</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_AFTERINSERT</shortDescription>
<value>TRIGGER_AFTERINSERT</value>
</labels>
<labels>
<fullName>TRIGGER_AFTERUNDELETE</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_AFTERUNDELETE</shortDescription>
<value>TRIGGER_AFTERUNDELETE</value>
</labels>
<labels>
<fullName>TRIGGER_AFTERUPDATE</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_AFTERUPDATE</shortDescription>
<value>TRIGGER_AFTERUPDATE</value>
</labels>
<labels>
<fullName>TRIGGER_BEFOREDELETE</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_BEFOREDELETE</shortDescription>
<value>TRIGGER_BEFOREDELETE</value>
</labels>
<labels>
<fullName>TRIGGER_BEFOREINSERT</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_BEFOREINSERT</shortDescription>
<value>TRIGGER_BEFOREINSERT</value>
</labels>
<labels>
<fullName>TRIGGER_BEFOREUPDATE</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_BEFOREUPDATE</shortDescription>
<value>TRIGGER_BEFOREUPDATE</value>
</labels>
<labels>
<fullName>TRIGGER_NEWLIST</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_NEWLIST</shortDescription>
<value>newList</value>
</labels>
<labels>
<fullName>TRIGGER_OLDLIST</fullName>
<categories>Trigger framework</categories>
<language>en_US</language>
<protected>false</protected>
<shortDescription>TRIGGER_OLDLIST</shortDescription>
<value>oldList</value>
</labels>
</CustomLabels>