diff --git a/.forceignore b/.forceignore new file mode 100644 index 0000000..7b5b5a7 --- /dev/null +++ b/.forceignore @@ -0,0 +1,12 @@ +# 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 +# + +package.xml + +# LWC configuration files +**/jsconfig.json +**/.eslintrc.json + +# LWC Jest +**/__tests__/** \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..98edca6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.sfdx +.vscode +.DS_Store +assets/mdapi diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..bc14cbb --- /dev/null +++ b/.prettierignore @@ -0,0 +1,5 @@ +# List files or directories below to ignore them when running prettier +# More information: https://prettier.io/docs/en/ignore.html +# + +.sfdx \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..15683b6 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,13 @@ +{ + "trailingComma": "none", + "overrides": [ + { + "files": "**/lwc/**/*.html", + "options": { "parser": "lwc" } + }, + { + "files": "*.{cmp,page,component}", + "options": { "parser": "html" } + } + ] +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..2feb0e3 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# SFDX App + +## Dev, Build and Test + +## Resources + +## Description of Files and Directories + +## Issues diff --git a/assets/data/Broker__c-Property__c.json b/assets/data/Broker__c-Property__c.json new file mode 100644 index 0000000..4cbe20f --- /dev/null +++ b/assets/data/Broker__c-Property__c.json @@ -0,0 +1,420 @@ +{ + "records": [ + { + "attributes": { + "type": "Broker__c", + "referenceId": "Broker__cRef1" + }, + "Name": "Caroline Kingsley", + "Email__c": "caroline@dreamhouse.demo", + "Phone__c": "617-244-3672", + "Mobile_Phone__c": "617-244-3672", + "Title__c": "Senior Broker", + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/caroline_kingsley.jpg", + "Properties__r": { + "records": [ + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef1" + }, + "Address__c": "121 Harborwalk Drive", + "Assessed_Value__c": 333000, + "Baths__c": 3, + "Beds__c": 3, + "City__c": "Boston", + "Date_Listed__c": "2019-04-22", + "Description__c": "Anim iPhone eiusmod non normcore, ugh officia. Blog ullamco stumptown, microdosing put a bird on it nihil farm-to-table pour-over squid chillwave seitan activated charcoal. Offal nesciunt lyft odio banjo. Pabst assumenda biodiesel, iPhone ethical veniam paleo in kale chips art party vaporware butcher.", + "Location__Longitude__s": -71.049327, + "Location__Latitude__s": 42.35695, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house09.jpg", + "Price__c": 450000, + "Name": "121 Harborwalk Drive", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Modern", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house09sq.jpg", + "Title__c": "Seaport District Retreat", + "Zip__c": "02420" + }, + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef2" + }, + "Address__c": "95 Gloucester St", + "Assessed_Value__c": 489900, + "Baths__c": 3, + "Beds__c": 3, + "City__c": "Boston", + "Date_Listed__c": "2019-05-03", + "Description__c": "Aesthetic neutra raclette retro tofu, laborum hexagon YOLO 3 wolf moon banh mi man braid slow-carb single-origin coffee kale chips. Mustache XOXO authentic 90's keffiyeh, jianbing kinfolk chillwave duis small batch prism.", + "Location__Longitude__s": -71.084407, + "Location__Latitude__s": 42.349693, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house11.jpg", + "Price__c": 690000, + "Name": "95 Gloucester St", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Contemporary", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house11sq.jpg", + "Title__c": "Architectural Details", + "Zip__c": "02420" + }, + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef3" + }, + "Address__c": "18 Henry St", + "Assessed_Value__c": 663000, + "Baths__c": 3, + "Beds__c": 4, + "City__c": "Cambridge", + "Date_Listed__c": "2019-04-19", + "Description__c": "Bacon ipsum dolor amet ribeye meatball ham hock swine sausage frankfurter tail cow ball tip pork chop leberkas brisket turkey beef. Landjaeger boudin beef ribs leberkas. Prosciutto beef ribs sirloin, capicola short ribs frankfurter bacon. Picanha filet mignon boudin, bacon jerky meatball turkey.", + "Location__Longitude__s": -71.11095, + "Location__Latitude__s": 42.35663, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house01.jpg", + "Price__c": 975000, + "Name": "18 Henry St", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Colonial", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house01sq.jpg", + "Title__c": "Stunning Colonial", + "Zip__c": "01742" + } + ] + } + }, + { + "attributes": { + "type": "Broker__c", + "referenceId": "Broker__cRef2" + }, + "Name": "Michael Jones", + "Email__c": "michael@dreamhouse.demo", + "Phone__c": "617-244-3672", + "Mobile_Phone__c": "617-244-3672", + "Title__c": "Senior Broker", + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/michael_jones.jpg", + "Properties__r": { + "records": [ + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef4" + }, + "Address__c": "503 Park Drive", + "Assessed_Value__c": 585000, + "Baths__c": 2, + "Beds__c": 2, + "City__c": "Boston", + "Date_Listed__c": "2019-04-15", + "Description__c": "Cray kogi small batch edison bulb. Ugh you probably haven't heard of them cold-pressed art party. Nostrud you probably haven't heard of them waistcoat poke cardigan.", + "Location__Longitude__s": -71.105475, + "Location__Latitude__s": 42.3474, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house08.jpg", + "Price__c": 650000, + "Name": "503 Park Drive", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Modern", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house08sq.jpg", + "Title__c": "City Living", + "Zip__c": "02420" + }, + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef5" + }, + "Address__c": "145 Commonwealth Ave", + "Assessed_Value__c": 616850, + "Baths__c": 3, + "Beds__c": 4, + "City__c": "Boston", + "Date_Listed__c": "2019-04-19", + "Description__c": "Tunguska event two ghostly white figures in coveralls and helmets are soflty dancing vanquish the impossible kindling the energy hidden in matter brain is the seed of intelligence. A very small stage in a vast cosmic arena rich in mystery hearts of the stars a mote of dust suspended in a sunbeam.", + "Location__Longitude__s": -71.075311, + "Location__Latitude__s": 42.352466, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house12.jpg", + "Price__c": 845000, + "Name": "145 Commonwealth Ave", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Victorian", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house12sq.jpg", + "Title__c": "Contemporary Luxury", + "Zip__c": "02420" + }, + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef6" + }, + "Address__c": "24 Pearl St", + "Assessed_Value__c": 1068000, + "Baths__c": 4, + "Beds__c": 5, + "City__c": "Cambridge", + "Date_Listed__c": "2019-05-20", + "Description__c": "Carouser Blimey main sheet lad bounty brig piracy aft sloop log. Run a rig furl Nelsons folly measured fer yer chains ho chandler hulk prow mutiny wench. Bilge water wherry lanyard piracy port rum cackle fruit topgallant trysail bilge.", + "Location__Longitude__s": -71.10869, + "Location__Latitude__s": 42.359103, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house02.jpg", + "Price__c": 1200000, + "Name": "24 Pearl St", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Victorian", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house02sq.jpg", + "Title__c": "Ultimate Sophistication", + "Zip__c": "02420" + } + ] + } + }, + { + "attributes": { + "type": "Broker__c", + "referenceId": "Broker__cRef3" + }, + "Name": "Jonathan Bradley", + "Email__c": "jonathan@dreamhouse.demo", + "Phone__c": "617-244-3672", + "Mobile_Phone__c": "617-244-3672", + "Title__c": "Senior Broker", + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/jonathan_bradley.jpg", + "Properties__r": { + "records": [ + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef7" + }, + "Address__c": "61 West Cedar St", + "Assessed_Value__c": 701250, + "Baths__c": 4, + "Beds__c": 5, + "City__c": "Boston", + "Date_Listed__c": "2019-05-02", + "Description__c": "Pulling teeth this proposal is a win-win situation which will cause a stellar paradigm shift, and produce a multi-fold increase in deliverables for turd polishing, and first-order optimal strategies at the end of the day UI great plan! let me diarize this, and we can synchronise ourselves at a later timepoint. When does this sunset? future-proof.", + "Location__Longitude__s": -71.070061, + "Location__Latitude__s": 42.359986, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house03.jpg", + "Price__c": 825000, + "Name": "61 West Cedar St", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Modern", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house03sq.jpg", + "Title__c": "Modern City Living", + "Zip__c": "02420" + } + ] + } + }, + { + "attributes": { + "type": "Broker__c", + "referenceId": "Broker__cRef4" + }, + "Name": "Jennifer Wu", + "Email__c": "jen@dreamhouse.demo", + "Phone__c": "617-244-3672", + "Mobile_Phone__c": "617-244-3672", + "Title__c": "Senior Broker", + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/jennifer_wu.jpg", + "Properties__r": { + "records": [ + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef8" + }, + "Address__c": "32 Prince st", + "Assessed_Value__c": 706800, + "Baths__c": 4, + "Beds__c": 5, + "City__c": "Cambridge", + "Date_Listed__c": "2019-04-13", + "Description__c": "Distillery meditation before they sold out umami. Typewriter craft beer actually, raw denim gluten-free roof party before they sold out quinoa bitters dreamcatcher tousled ennui vice small batch sartorial.", + "Location__Longitude__s": -71.110448, + "Location__Latitude__s": 42.360642, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house04.jpg", + "Price__c": 930000, + "Name": "32 Prince st", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Contemporary", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house04sq.jpg", + "Title__c": "Live in the Trees", + "Zip__c": "02420" + } + ] + } + }, + { + "attributes": { + "type": "Broker__c", + "referenceId": "Broker__cRef5" + }, + "Name": "Olivia Green", + "Email__c": "olivia@dreamhouse.demo", + "Phone__c": "617-244-3672", + "Mobile_Phone__c": "617-244-3672", + "Title__c": "Senior Broker", + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/olivia_green.jpg", + "Properties__r": { + "records": [ + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef9" + }, + "Address__c": "211 Charles Street", + "Assessed_Value__c": 714000, + "Baths__c": 2, + "Beds__c": 3, + "City__c": "Boston", + "Date_Listed__c": "2019-04-28", + "Description__c": "Green juice 8-bit scenester cupidatat venmo, ramps eu pickled ea cornhole. Odio veniam trust fund, marfa normcore mlkshk kitsch anim culpa distillery vexillologist pinterest consequat. Microdosing commodo stumptown, tote bag pour-over normcore kickstarter.", + "Location__Longitude__s": -71.084454, + "Location__Latitude__s": 42.368168, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house05.jpg", + "Price__c": 850000, + "Name": "211 Charles Street", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Modern", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house05sq.jpg", + "Title__c": "Waterfront in the City", + "Zip__c": "02420" + } + ] + } + }, + { + "attributes": { + "type": "Broker__c", + "referenceId": "Broker__cRef6" + }, + "Name": "Miriam Aupont", + "Email__c": "miriam@dreamhouse.demo", + "Phone__c": "617-244-3672", + "Mobile_Phone__c": "617-244-3672", + "Title__c": "Senior Broker", + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/miriam_aupont.jpg", + "Properties__r": { + "records": [ + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef10" + }, + "Address__c": "448 Hanover St", + "Assessed_Value__c": 543750, + "Baths__c": 2, + "Beds__c": 4, + "City__c": "Boston", + "Date_Listed__c": "2019-04-29", + "Description__c": "Blimey Admiral of the Black Jolly Roger pirate Buccaneer line ballast spirits chantey topmast. Plate Fleet heave down booty Chain Shot nipper spike cutlass furl pinnace bounty. Gabion ahoy piracy coffer killick schooner main sheet holystone careen barque.", + "Location__Longitude__s": -71.052617, + "Location__Latitude__s": 42.366855, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house06.jpg", + "Price__c": 725000, + "Name": "448 Hanover St", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Colonial", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house06sq.jpg", + "Title__c": "Quiet Retreat", + "Zip__c": "02420" + } + ] + } + }, + { + "attributes": { + "type": "Broker__c", + "referenceId": "Broker__cRef7" + }, + "Name": "Michelle Lambert", + "Email__c": "michelle@dreamhouse.demo", + "Phone__c": "617-244-3672", + "Mobile_Phone__c": "617-244-3672", + "Title__c": "Senior Broker", + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/michelle_lambert.jpg", + "Properties__r": { + "records": [ + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef11" + }, + "Address__c": "127 Endicott St", + "Assessed_Value__c": 364500, + "Baths__c": 1, + "Beds__c": 3, + "City__c": "Boston", + "Date_Listed__c": "2019-05-10", + "Description__c": "Ad placeat sartorial, qui celiac ramps fap lumbersexual cray truffaut meh small batch godard. Single-origin coffee dolore gastropub pickled blue bottle, master cleanse migas cupidatat.", + "Location__Longitude__s": -71.057352, + "Location__Latitude__s": 42.365003, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house07.jpg", + "Price__c": 450000, + "Name": "127 Endicott St", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Victorian", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house07sq.jpg", + "Title__c": "City Living", + "Zip__c": "02420" + } + ] + } + }, + { + "attributes": { + "type": "Broker__c", + "referenceId": "Broker__cRef8" + }, + "Name": "Victor Ochoa", + "Email__c": "victor@dreamhouse.demo", + "Phone__c": "617-244-3672", + "Mobile_Phone__c": "617-244-3672", + "Title__c": "Senior Broker", + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/people/victor_ochoa.jpg", + "Properties__r": { + "records": [ + { + "attributes": { + "type": "Property__c", + "referenceId": "Property__cRef12" + }, + "Address__c": "48 Brattle St", + "Assessed_Value__c": 396000, + "Baths__c": 4, + "Beds__c": 5, + "City__c": "Cambridge", + "Date_Listed__c": "2019-04-24", + "Description__c": "Can you ballpark the cost per unit for me market-facing. Going forward put a record on and see who dances, yet powerpoint Bunny. Moving the goalposts paddle on both sides, or future-proof, yet move the needle Q1 strategic fit, for usabiltiy.", + "Location__Longitude__s": -71.121653, + "Location__Latitude__s": 42.374117, + "Picture__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house10.jpg", + "Price__c": 450000, + "Name": "48 Brattle St", + "State__c": "MA", + "Status__c": "Available", + "Tags__c": "Colonial", + "Thumbnail__c": "https://s3-us-west-1.amazonaws.com/sfdc-demo/realty/house10sq.jpg", + "Title__c": "Heart of Harvard Square", + "Zip__c": "02420" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/assets/package.xml b/assets/package.xml new file mode 100644 index 0000000..c5be9f5 --- /dev/null +++ b/assets/package.xml @@ -0,0 +1,90 @@ + + + + DreamHouseSampleDataController + DreamHouseSampleDataControllerTest + ApexClass + + + DreamHouseSampleData + ApexPage + + + Broker__c.Broker_Compact + Property__c.Property_Compact_Layout + CompactLayout + + + DreamhouseLogo + ContentAsset + + + Dreamhouse + CustomApplication + + + Broker__c.Email__c + Broker__c.Mobile_Phone__c + Broker__c.Phone__c + Broker__c.Picture_IMG__c + Broker__c.Picture__c + Broker__c.Title__c + Property__c.Address__c + Property__c.Assessed_Value__c + Property__c.Baths__c + Property__c.Beds__c + Property__c.Broker__c + Property__c.City__c + Property__c.Date_Agreement__c + Property__c.Date_Closed__c + Property__c.Date_Contracted__c + Property__c.Date_Listed__c + Property__c.Date_Pre_Market__c + Property__c.Days_On_Market__c + Property__c.Description__c + Property__c.Location__c + Property__c.Picture_IMG__c + Property__c.Picture__c + Property__c.Price__c + Property__c.Record_Link__c + Property__c.RemoveMe__c + Property__c.State__c + Property__c.Status__c + Property__c.Tags__c + Property__c.Thumbnail_IMG__c + Property__c.Thumbnail__c + Property__c.Title__c + Property__c.Zip__c + CustomField + + + Broker__c + Property__c + CustomObject + + + Broker__c + Property__c + Sample_Data_Import + CustomTab + + + Property_Record_Page + FlexiPage + + + Broker__c-Broker Layout + Property__c-Property Layout + Layout + + + Broker__c.All + Property__c.All + ListView + + + Dreamhouse + PermissionSet + + 43.0 + diff --git a/config/project-scratch-def.json b/config/project-scratch-def.json new file mode 100644 index 0000000..e14521a --- /dev/null +++ b/config/project-scratch-def.json @@ -0,0 +1,10 @@ +{ + "orgName": "Company", + "edition": "Developer", + "settings": { + "orgPreferenceSettings": { + "s1DesktopEnabled": true, + "s1EncryptedStoragePref2": false + } + } +} \ No newline at end of file diff --git a/force-app/main/default/applications/Dreamhouse.app-meta.xml b/force-app/main/default/applications/Dreamhouse.app-meta.xml new file mode 100644 index 0000000..9efd9c8 --- /dev/null +++ b/force-app/main/default/applications/Dreamhouse.app-meta.xml @@ -0,0 +1,30 @@ + + + + View + Action override created by Lightning App Builder during activation. + Property_Record_Page + Large + false + Flexipage + Property__c + + + #0070D2 + DreamhouseLogo + 1 + false + + DreamHouse helps you connect with your customers in a whole new way. + Large + false + false + Dreamhouse + Standard + standard-home + Property__c + Broker__c + standard-Contact + Sample_Data_Import + Lightning + diff --git a/force-app/main/default/classes/DreamHouseSampleDataController.cls b/force-app/main/default/classes/DreamHouseSampleDataController.cls new file mode 100644 index 0000000..807740b --- /dev/null +++ b/force-app/main/default/classes/DreamHouseSampleDataController.cls @@ -0,0 +1,8 @@ +global with sharing class DreamHouseSampleDataController { + + @RemoteAction + global static void deleteAll() { + DELETE [SELECT ID FROM property__c]; + DELETE [SELECT ID FROM broker__c]; + } +} \ No newline at end of file diff --git a/force-app/main/default/classes/DreamHouseSampleDataController.cls-meta.xml b/force-app/main/default/classes/DreamHouseSampleDataController.cls-meta.xml new file mode 100644 index 0000000..800e53c --- /dev/null +++ b/force-app/main/default/classes/DreamHouseSampleDataController.cls-meta.xml @@ -0,0 +1,5 @@ + + + 43.0 + Active + diff --git a/force-app/main/default/classes/DreamHouseSampleDataControllerTest.cls b/force-app/main/default/classes/DreamHouseSampleDataControllerTest.cls new file mode 100644 index 0000000..60e75b4 --- /dev/null +++ b/force-app/main/default/classes/DreamHouseSampleDataControllerTest.cls @@ -0,0 +1,27 @@ +@isTest +private class DreamHouseSampleDataControllerTest { + + @isTest + static void test_deleteAll() { + + Property__c property = new Property__c(); + Broker__c broker = new Broker__c(); + + insert property; + insert broker; + + System.assertEquals( 1, [ SELECT count() FROM Property__c ] ); + System.assertEquals( 1, [ SELECT count() FROM Broker__c ] ); + + Test.startTest(); + + DreamHouseSampleDataController.deleteAll(); + + Test.stopTest(); + + System.assertEquals( 0, [ SELECT count() FROM Property__c ] ); + System.assertEquals( 0, [ SELECT count() FROM Broker__c ] ); + + } + +} \ No newline at end of file diff --git a/force-app/main/default/classes/DreamHouseSampleDataControllerTest.cls-meta.xml b/force-app/main/default/classes/DreamHouseSampleDataControllerTest.cls-meta.xml new file mode 100644 index 0000000..800e53c --- /dev/null +++ b/force-app/main/default/classes/DreamHouseSampleDataControllerTest.cls-meta.xml @@ -0,0 +1,5 @@ + + + 43.0 + Active + diff --git a/force-app/main/default/contentassets/DreamhouseLogo.asset b/force-app/main/default/contentassets/DreamhouseLogo.asset new file mode 100644 index 0000000..cc2bcf4 Binary files /dev/null and b/force-app/main/default/contentassets/DreamhouseLogo.asset differ diff --git a/force-app/main/default/contentassets/DreamhouseLogo.asset-meta.xml b/force-app/main/default/contentassets/DreamhouseLogo.asset-meta.xml new file mode 100644 index 0000000..38598d0 --- /dev/null +++ b/force-app/main/default/contentassets/DreamhouseLogo.asset-meta.xml @@ -0,0 +1,17 @@ + + + false + en_US + DreamhouseLogo + + + VIEWER + + + + + 1 + DreamhouseLogo.png + + + diff --git a/force-app/main/default/flexipages/Property_Record_Page.flexipage-meta.xml b/force-app/main/default/flexipages/Property_Record_Page.flexipage-meta.xml new file mode 100644 index 0000000..600c7d4 --- /dev/null +++ b/force-app/main/default/flexipages/Property_Record_Page.flexipage-meta.xml @@ -0,0 +1,140 @@ + + + + + + collapsed + false + + force:highlightsPanel + + Replace + header + Region + + + + force:relatedListContainer + + Replace + relatedTabContent + Facet + + + + force:detailPanel + + Replace + detailTabContent + Facet + + + + + body + relatedTabContent + + + title + Standard.Tab.relatedLists + + flexipage:tab + + + + active + true + + + body + detailTabContent + + + title + Standard.Tab.detail + + flexipage:tab + + Replace + maintabs + Facet + + + + + tabs + maintabs + + flexipage:tabset + + Replace + main + Region + + + + runtime_sales_activities:activityPanel + + Replace + activityTabContent + Facet + + + + forceChatter:recordFeedContainer + + Replace + feedTabContent + Facet + + + + + active + true + + + body + activityTabContent + + + title + Standard.Tab.activity + + flexipage:tab + + + + body + feedTabContent + + + title + Standard.Tab.collaborate + + flexipage:tab + + Replace + sidebartabs + Facet + + + + + tabs + sidebartabs + + flexipage:tabset + + Replace + sidebar + Region + + Property Record Page + flexipage__default_rec_L + Property__c + + flexipage:recordHomeTemplateDesktop + + RecordPage + diff --git a/force-app/main/default/layouts/Broker__c-Broker Layout.layout-meta.xml b/force-app/main/default/layouts/Broker__c-Broker Layout.layout-meta.xml new file mode 100644 index 0000000..02288f1 --- /dev/null +++ b/force-app/main/default/layouts/Broker__c-Broker Layout.layout-meta.xml @@ -0,0 +1,97 @@ + + + Submit + + true + true + true + Picture + + + Readonly + Picture_IMG__c + + + + + + false + false + true + Information + + + Required + Name + + + Edit + Title__c + + + Edit + Email__c + + + + + Edit + OwnerId + + + Edit + Phone__c + + + Edit + Mobile_Phone__c + + + + + + false + false + true + System Information + + + Readonly + CreatedById + + + + + Readonly + LastModifiedById + + + + + + true + false + true + Custom Links + + + + + + + NAME + Price__c + Property__c.Broker__c + + false + false + false + false + false + + 00h36000000O5GM + 4 + 0 + Default + + diff --git a/force-app/main/default/layouts/Property__c-Property Layout.layout-meta.xml b/force-app/main/default/layouts/Property__c-Property Layout.layout-meta.xml new file mode 100644 index 0000000..6831683 --- /dev/null +++ b/force-app/main/default/layouts/Property__c-Property Layout.layout-meta.xml @@ -0,0 +1,127 @@ + + + Submit + + false + false + true + Information + + + Edit + Title__c + + + Edit + Address__c + + + Edit + State__c + + + Edit + Beds__c + + + Edit + Price__c + + + Edit + Status__c + + + Edit + Tags__c + + + + + Required + Name + + + Edit + City__c + + + Edit + Zip__c + + + Edit + Baths__c + + + Edit + Assessed_Value__c + + + Edit + Date_Listed__c + + + Edit + Broker__c + + + + + + true + true + true + Pictures + + + Readonly + Picture_IMG__c + + + + + Readonly + Thumbnail_IMG__c + + + + + + true + false + true + Custom Links + + + + + + + true + true + true + Description + + + Edit + Description__c + + + + + + false + false + true + System Information + + + + + false + false + false + false + false + diff --git a/force-app/main/default/lwc/.eslintrc.json b/force-app/main/default/lwc/.eslintrc.json new file mode 100644 index 0000000..961d192 --- /dev/null +++ b/force-app/main/default/lwc/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": ["@salesforce/eslint-config-lwc/recommended"] +} diff --git a/force-app/main/default/lwc/jsconfig.json b/force-app/main/default/lwc/jsconfig.json new file mode 100644 index 0000000..5c657bd --- /dev/null +++ b/force-app/main/default/lwc/jsconfig.json @@ -0,0 +1,16 @@ +{ + "compilerOptions": { + "experimentalDecorators": true, + "baseUrl": ".", + "paths": {} + }, + "include": [ + "**/*", + "../../../../.sfdx/typings/lwc/**/*.d.ts" + ], + "typeAcquisition": { + "include": [ + "jest" + ] + } +} diff --git a/force-app/main/default/objects/Broker__c/Broker__c.object-meta.xml b/force-app/main/default/objects/Broker__c/Broker__c.object-meta.xml new file mode 100644 index 0000000..e4a7974 --- /dev/null +++ b/force-app/main/default/objects/Broker__c/Broker__c.object-meta.xml @@ -0,0 +1,64 @@ + + + + Accept + Default + + + CancelEdit + Default + + + Clone + Default + + + Delete + Default + + + Edit + Default + + + List + Default + + + New + Default + + + SaveEdit + Default + + + Tab + Default + + + View + Default + + false + Broker_Compact + Deployed + false + true + false + false + false + true + true + true + true + Broker + + Broker Name + Text + + Brokers + + ReadWrite + Public + diff --git a/force-app/main/default/objects/Broker__c/compactLayouts/Broker_Compact.compactLayout-meta.xml b/force-app/main/default/objects/Broker__c/compactLayouts/Broker_Compact.compactLayout-meta.xml new file mode 100644 index 0000000..1975fa1 --- /dev/null +++ b/force-app/main/default/objects/Broker__c/compactLayouts/Broker_Compact.compactLayout-meta.xml @@ -0,0 +1,10 @@ + + + Broker_Compact + Name + Title__c + Phone__c + Mobile_Phone__c + Email__c + Broker Compact + diff --git a/force-app/main/default/objects/Broker__c/fields/Email__c.field-meta.xml b/force-app/main/default/objects/Broker__c/fields/Email__c.field-meta.xml new file mode 100644 index 0000000..515967f --- /dev/null +++ b/force-app/main/default/objects/Broker__c/fields/Email__c.field-meta.xml @@ -0,0 +1,10 @@ + + + Email__c + false + Email + false + false + Email + false + diff --git a/force-app/main/default/objects/Broker__c/fields/Mobile_Phone__c.field-meta.xml b/force-app/main/default/objects/Broker__c/fields/Mobile_Phone__c.field-meta.xml new file mode 100644 index 0000000..16d1912 --- /dev/null +++ b/force-app/main/default/objects/Broker__c/fields/Mobile_Phone__c.field-meta.xml @@ -0,0 +1,9 @@ + + + Mobile_Phone__c + false + Mobile Phone + false + false + Phone + diff --git a/force-app/main/default/objects/Broker__c/fields/Phone__c.field-meta.xml b/force-app/main/default/objects/Broker__c/fields/Phone__c.field-meta.xml new file mode 100644 index 0000000..151b876 --- /dev/null +++ b/force-app/main/default/objects/Broker__c/fields/Phone__c.field-meta.xml @@ -0,0 +1,9 @@ + + + Phone__c + false + Phone + false + false + Phone + diff --git a/force-app/main/default/objects/Broker__c/fields/Picture_IMG__c.field-meta.xml b/force-app/main/default/objects/Broker__c/fields/Picture_IMG__c.field-meta.xml new file mode 100644 index 0000000..1ee98c4 --- /dev/null +++ b/force-app/main/default/objects/Broker__c/fields/Picture_IMG__c.field-meta.xml @@ -0,0 +1,12 @@ + + + Picture_IMG__c + false + IMAGE( Picture__c , "picture" , 150, 150) + BlankAsZero + Picture + false + false + Text + false + diff --git a/force-app/main/default/objects/Broker__c/fields/Picture__c.field-meta.xml b/force-app/main/default/objects/Broker__c/fields/Picture__c.field-meta.xml new file mode 100644 index 0000000..87d9beb --- /dev/null +++ b/force-app/main/default/objects/Broker__c/fields/Picture__c.field-meta.xml @@ -0,0 +1,9 @@ + + + Picture__c + false + Picture + false + false + Url + diff --git a/force-app/main/default/objects/Broker__c/fields/Title__c.field-meta.xml b/force-app/main/default/objects/Broker__c/fields/Title__c.field-meta.xml new file mode 100644 index 0000000..88d88c8 --- /dev/null +++ b/force-app/main/default/objects/Broker__c/fields/Title__c.field-meta.xml @@ -0,0 +1,11 @@ + + + Title__c + false + Title + 30 + false + false + Text + false + diff --git a/force-app/main/default/objects/Broker__c/listViews/All.listView-meta.xml b/force-app/main/default/objects/Broker__c/listViews/All.listView-meta.xml new file mode 100644 index 0000000..f957a40 --- /dev/null +++ b/force-app/main/default/objects/Broker__c/listViews/All.listView-meta.xml @@ -0,0 +1,7 @@ + + + All + NAME + Everything + All + diff --git a/force-app/main/default/objects/Property__c/Property__c.object-meta.xml b/force-app/main/default/objects/Property__c/Property__c.object-meta.xml new file mode 100644 index 0000000..1449a3f --- /dev/null +++ b/force-app/main/default/objects/Property__c/Property__c.object-meta.xml @@ -0,0 +1,79 @@ + + + + Accept + Default + + + CancelEdit + Default + + + Clone + Default + + + Delete + Default + + + Edit + Default + + + List + Default + + + New + Default + + + SaveEdit + Default + + + Tab + Default + + + View + Default + + false + Property_Compact_Layout + Deployed + true + true + false + true + true + true + true + true + true + Property + + Property Name + false + false + Text + + Properties + + City__c + Beds__c + Price__c + City__c + Beds__c + Price__c + City__c + Beds__c + Price__c + City__c + Beds__c + Price__c + + ReadWrite + Public + diff --git a/force-app/main/default/objects/Property__c/compactLayouts/Property_Compact_Layout.compactLayout-meta.xml b/force-app/main/default/objects/Property__c/compactLayouts/Property_Compact_Layout.compactLayout-meta.xml new file mode 100644 index 0000000..bbe1071 --- /dev/null +++ b/force-app/main/default/objects/Property__c/compactLayouts/Property_Compact_Layout.compactLayout-meta.xml @@ -0,0 +1,10 @@ + + + Property_Compact_Layout + Name + City__c + Price__c + Beds__c + Baths__c + Property Compact Layout + diff --git a/force-app/main/default/objects/Property__c/fields/Address__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Address__c.field-meta.xml new file mode 100644 index 0000000..5fbb048 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Address__c.field-meta.xml @@ -0,0 +1,13 @@ + + + Address__c + false + Address + 100 + false + false + false + false + Text + false + diff --git a/force-app/main/default/objects/Property__c/fields/Assessed_Value__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Assessed_Value__c.field-meta.xml new file mode 100644 index 0000000..e98b7fd --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Assessed_Value__c.field-meta.xml @@ -0,0 +1,13 @@ + + + Assessed_Value__c + false + Assessed Value + 18 + false + 0 + false + false + false + Currency + diff --git a/force-app/main/default/objects/Property__c/fields/Baths__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Baths__c.field-meta.xml new file mode 100644 index 0000000..107b031 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Baths__c.field-meta.xml @@ -0,0 +1,14 @@ + + + Baths__c + false + Baths + 2 + false + 0 + false + false + false + Number + false + diff --git a/force-app/main/default/objects/Property__c/fields/Beds__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Beds__c.field-meta.xml new file mode 100644 index 0000000..3adbb35 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Beds__c.field-meta.xml @@ -0,0 +1,14 @@ + + + Beds__c + false + Beds + 2 + false + 0 + false + false + false + Number + false + diff --git a/force-app/main/default/objects/Property__c/fields/Broker__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Broker__c.field-meta.xml new file mode 100644 index 0000000..cd7ed18 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Broker__c.field-meta.xml @@ -0,0 +1,15 @@ + + + Broker__c + SetNull + false + Broker + Broker__c + Properties + Properties + false + false + false + false + Lookup + diff --git a/force-app/main/default/objects/Property__c/fields/City__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/City__c.field-meta.xml new file mode 100644 index 0000000..c3ccc00 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/City__c.field-meta.xml @@ -0,0 +1,13 @@ + + + City__c + false + City + 50 + false + false + false + false + Text + false + diff --git a/force-app/main/default/objects/Property__c/fields/Date_Agreement__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Date_Agreement__c.field-meta.xml new file mode 100644 index 0000000..43d134a --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Date_Agreement__c.field-meta.xml @@ -0,0 +1,11 @@ + + + Date_Agreement__c + false + Date Agreement + false + false + false + false + Date + diff --git a/force-app/main/default/objects/Property__c/fields/Date_Closed__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Date_Closed__c.field-meta.xml new file mode 100644 index 0000000..bcc7545 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Date_Closed__c.field-meta.xml @@ -0,0 +1,11 @@ + + + Date_Closed__c + false + Date Closed + false + false + false + false + Date + diff --git a/force-app/main/default/objects/Property__c/fields/Date_Contracted__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Date_Contracted__c.field-meta.xml new file mode 100644 index 0000000..5702f74 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Date_Contracted__c.field-meta.xml @@ -0,0 +1,11 @@ + + + Date_Contracted__c + false + Date Contracted + false + false + false + false + Date + diff --git a/force-app/main/default/objects/Property__c/fields/Date_Listed__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Date_Listed__c.field-meta.xml new file mode 100644 index 0000000..aaa5d9c --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Date_Listed__c.field-meta.xml @@ -0,0 +1,12 @@ + + + Date_Listed__c + TODAY() - 10 + false + Date Listed + false + false + false + false + Date + diff --git a/force-app/main/default/objects/Property__c/fields/Date_Pre_Market__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Date_Pre_Market__c.field-meta.xml new file mode 100644 index 0000000..40f8633 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Date_Pre_Market__c.field-meta.xml @@ -0,0 +1,11 @@ + + + Date_Pre_Market__c + false + Date Pre Market + false + false + false + false + Date + diff --git a/force-app/main/default/objects/Property__c/fields/Days_On_Market__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Days_On_Market__c.field-meta.xml new file mode 100644 index 0000000..43095ad --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Days_On_Market__c.field-meta.xml @@ -0,0 +1,15 @@ + + + Days_On_Market__c + false + TODAY() - Date_Listed__c + BlankAsZero + Days On Market + 18 + false + 0 + false + false + Number + false + diff --git a/force-app/main/default/objects/Property__c/fields/Description__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Description__c.field-meta.xml new file mode 100644 index 0000000..006d77a --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Description__c.field-meta.xml @@ -0,0 +1,12 @@ + + + Description__c + false + Description + 500 + false + false + false + LongTextArea + 3 + diff --git a/force-app/main/default/objects/Property__c/fields/Location__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Location__c.field-meta.xml new file mode 100644 index 0000000..e828444 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Location__c.field-meta.xml @@ -0,0 +1,13 @@ + + + Location__c + true + false + Location + false + 7 + false + false + false + Location + diff --git a/force-app/main/default/objects/Property__c/fields/Picture_IMG__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Picture_IMG__c.field-meta.xml new file mode 100644 index 0000000..aeb6d86 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Picture_IMG__c.field-meta.xml @@ -0,0 +1,13 @@ + + + Picture_IMG__c + false + if(ISBLANK(Picture__c), '', IMAGE(Picture__c, "Picture")) + BlankAsZero + Main Picture + false + false + false + Text + false + diff --git a/force-app/main/default/objects/Property__c/fields/Picture__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Picture__c.field-meta.xml new file mode 100644 index 0000000..64bd40a --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Picture__c.field-meta.xml @@ -0,0 +1,11 @@ + + + Picture__c + false + Picture + false + false + false + false + Url + diff --git a/force-app/main/default/objects/Property__c/fields/Price__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Price__c.field-meta.xml new file mode 100644 index 0000000..a082b03 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Price__c.field-meta.xml @@ -0,0 +1,13 @@ + + + Price__c + false + Price + 8 + false + 0 + true + true + false + Currency + diff --git a/force-app/main/default/objects/Property__c/fields/Record_Link__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Record_Link__c.field-meta.xml new file mode 100644 index 0000000..c587e1f --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Record_Link__c.field-meta.xml @@ -0,0 +1,13 @@ + + + Record_Link__c + false + LEFT($Api.Partner_Server_URL_260, FIND( '/services', $Api.Partner_Server_URL_260))+ Id + BlankAsZero + Record Link + false + false + false + Text + false + diff --git a/force-app/main/default/objects/Property__c/fields/RemoveMe__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/RemoveMe__c.field-meta.xml new file mode 100644 index 0000000..6b1837f --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/RemoveMe__c.field-meta.xml @@ -0,0 +1,13 @@ + + + RemoveMe__c + false + RemoveMe + 30 + false + false + false + false + Text + false + diff --git a/force-app/main/default/objects/Property__c/fields/State__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/State__c.field-meta.xml new file mode 100644 index 0000000..286d042 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/State__c.field-meta.xml @@ -0,0 +1,13 @@ + + + State__c + false + State + 20 + false + false + false + false + Text + false + diff --git a/force-app/main/default/objects/Property__c/fields/Status__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Status__c.field-meta.xml new file mode 100644 index 0000000..c7b6861 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Status__c.field-meta.xml @@ -0,0 +1,41 @@ + + + Status__c + false + Status + false + true + false + false + Picklist + + + false + + Contracted + false + Contracted + + + Pre Market + false + Pre Market + + + Available + false + Available + + + Under Agreement + false + Under Agreement + + + Closed + false + Closed + + + + diff --git a/force-app/main/default/objects/Property__c/fields/Tags__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Tags__c.field-meta.xml new file mode 100644 index 0000000..8fc32b7 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Tags__c.field-meta.xml @@ -0,0 +1,13 @@ + + + Tags__c + false + Tags + 255 + false + false + false + false + Text + false + diff --git a/force-app/main/default/objects/Property__c/fields/Thumbnail_IMG__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Thumbnail_IMG__c.field-meta.xml new file mode 100644 index 0000000..2882ef9 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Thumbnail_IMG__c.field-meta.xml @@ -0,0 +1,13 @@ + + + Thumbnail_IMG__c + false + if(ISBLANK(Thumbnail__c), "", IMAGE(Thumbnail__c, "Picture", 200, 200)) + BlankAsZero + Main Thumbnail + false + false + false + Text + false + diff --git a/force-app/main/default/objects/Property__c/fields/Thumbnail__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Thumbnail__c.field-meta.xml new file mode 100644 index 0000000..e575f86 --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Thumbnail__c.field-meta.xml @@ -0,0 +1,11 @@ + + + Thumbnail__c + false + Thumbnail + false + false + false + false + Url + diff --git a/force-app/main/default/objects/Property__c/fields/Title__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Title__c.field-meta.xml new file mode 100644 index 0000000..bf039dd --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Title__c.field-meta.xml @@ -0,0 +1,13 @@ + + + Title__c + false + Title + 100 + false + false + false + false + Text + false + diff --git a/force-app/main/default/objects/Property__c/fields/Zip__c.field-meta.xml b/force-app/main/default/objects/Property__c/fields/Zip__c.field-meta.xml new file mode 100644 index 0000000..283915b --- /dev/null +++ b/force-app/main/default/objects/Property__c/fields/Zip__c.field-meta.xml @@ -0,0 +1,13 @@ + + + Zip__c + false + Zip + 10 + false + false + false + false + Text + false + diff --git a/force-app/main/default/objects/Property__c/listViews/All.listView-meta.xml b/force-app/main/default/objects/Property__c/listViews/All.listView-meta.xml new file mode 100644 index 0000000..6b1d602 --- /dev/null +++ b/force-app/main/default/objects/Property__c/listViews/All.listView-meta.xml @@ -0,0 +1,10 @@ + + + All + NAME + City__c + Beds__c + Price__c + Everything + All + diff --git a/force-app/main/default/pages/DreamHouseSampleData.page b/force-app/main/default/pages/DreamHouseSampleData.page new file mode 100644 index 0000000..af423b8 --- /dev/null +++ b/force-app/main/default/pages/DreamHouseSampleData.page @@ -0,0 +1,388 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DreamHouse Sample Data + Sample data for the DreamHouse Application + + + + + Click the button below to iinitialize the Property, Broker, and Favorite objects with sample data. + All existing records in these objects will be deleted. + + Initialize Sample Data + + + + + + + + \ No newline at end of file diff --git a/force-app/main/default/pages/DreamHouseSampleData.page-meta.xml b/force-app/main/default/pages/DreamHouseSampleData.page-meta.xml new file mode 100644 index 0000000..6b84108 --- /dev/null +++ b/force-app/main/default/pages/DreamHouseSampleData.page-meta.xml @@ -0,0 +1,7 @@ + + + 43.0 + false + false + DreamHouseSampleData + diff --git a/force-app/main/default/permissionsets/Dreamhouse.permissionset-meta.xml b/force-app/main/default/permissionsets/Dreamhouse.permissionset-meta.xml new file mode 100644 index 0000000..2a9f3cd --- /dev/null +++ b/force-app/main/default/permissionsets/Dreamhouse.permissionset-meta.xml @@ -0,0 +1,199 @@ + + + + Dreamhouse + true + + + true + Broker__c.Email__c + true + + + true + Broker__c.Mobile_Phone__c + true + + + true + Broker__c.Phone__c + true + + + false + Broker__c.Picture_IMG__c + true + + + true + Broker__c.Picture__c + true + + + true + Broker__c.Title__c + true + + + true + Property__c.Address__c + true + + + true + Property__c.Assessed_Value__c + true + + + true + Property__c.Baths__c + true + + + true + Property__c.Beds__c + true + + + true + Property__c.Broker__c + true + + + true + Property__c.City__c + true + + + true + Property__c.Date_Agreement__c + true + + + true + Property__c.Date_Closed__c + true + + + true + Property__c.Date_Contracted__c + true + + + true + Property__c.Date_Listed__c + true + + + true + Property__c.Date_Pre_Market__c + true + + + false + Property__c.Days_On_Market__c + true + + + true + Property__c.Description__c + true + + + true + Property__c.Location__c + true + + + false + Property__c.Picture_IMG__c + true + + + true + Property__c.Picture__c + true + + + true + Property__c.Price__c + true + + + false + Property__c.Record_Link__c + true + + + false + Property__c.RemoveMe__c + false + + + true + Property__c.State__c + true + + + true + Property__c.Status__c + true + + + true + Property__c.Tags__c + true + + + false + Property__c.Thumbnail_IMG__c + true + + + true + Property__c.Thumbnail__c + true + + + true + Property__c.Title__c + true + + + true + Property__c.Zip__c + true + + false + Dreamhouse + + true + true + true + true + true + Broker__c + true + + + true + true + true + true + true + Property__c + true + + + Broker__c + Visible + + + Property__c + Visible + + + Sample_Data_Import + Visible + + diff --git a/force-app/main/default/tabs/Broker__c.tab-meta.xml b/force-app/main/default/tabs/Broker__c.tab-meta.xml new file mode 100644 index 0000000..c62ea0c --- /dev/null +++ b/force-app/main/default/tabs/Broker__c.tab-meta.xml @@ -0,0 +1,6 @@ + + + true + false + Custom84: Presenter + diff --git a/force-app/main/default/tabs/Property__c.tab-meta.xml b/force-app/main/default/tabs/Property__c.tab-meta.xml new file mode 100644 index 0000000..bb38485 --- /dev/null +++ b/force-app/main/default/tabs/Property__c.tab-meta.xml @@ -0,0 +1,6 @@ + + + true + false + Custom85: Real Estate Sign + diff --git a/force-app/main/default/tabs/Sample_Data_Import.tab-meta.xml b/force-app/main/default/tabs/Sample_Data_Import.tab-meta.xml new file mode 100644 index 0000000..d32a22b --- /dev/null +++ b/force-app/main/default/tabs/Sample_Data_Import.tab-meta.xml @@ -0,0 +1,7 @@ + + + Data Import + false + Custom19: Wrench + DreamHouseSampleData + diff --git a/sfdx-project.json b/sfdx-project.json new file mode 100644 index 0000000..1476f4a --- /dev/null +++ b/sfdx-project.json @@ -0,0 +1,11 @@ +{ + "packageDirectories": [ + { + "path": "force-app", + "default": true + } + ], + "namespace": "", + "sfdcLoginUrl": "https://login.salesforce.com", + "sourceApiVersion": "45.0" +}
DreamHouse Sample Data
Sample data for the DreamHouse Application