mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-03 21:56:02 +08:00
Directory renames: webapplications/ → uiBundles/, samples dirs drop -experimental suffix File renames: *.webapplication-meta.xml → *.uibundle-meta.xml, webapplication.json → ui-bundle.json XML metadata: <WebApplication> → <UIBundle> NPM packages: @salesforce/webapp-* → @salesforce/ui-bundle-* Skill names: *-webapplication-* → *-salesforce-ui-bundle-* CLI references: sf webapp → sf ui-bundle Source code: function/variable/type names, import paths, string literals updated ESLint config: Added .worktrees/** to ignores CHANGELOG repo URLs preserved
9 lines
342 B
Plaintext
9 lines
342 B
Plaintext
trigger TenantTrigger on Tenant__c (after insert, after update) {
|
|
if (Trigger.isAfter && Trigger.isInsert) {
|
|
TenantTriggerHandler.assignTenantMaintenanceAccess(Trigger.new, null);
|
|
}
|
|
if (Trigger.isAfter && Trigger.isUpdate) {
|
|
TenantTriggerHandler.assignTenantMaintenanceAccess(Trigger.new, Trigger.oldMap);
|
|
}
|
|
}
|