Skip to content

Commit

Permalink
feat: add big object index support (#330)
Browse files Browse the repository at this point in the history
* feat: add big object index support

* test: add integration test
  • Loading branch information
scolladon authored Aug 25, 2022
1 parent 2c7df3b commit 2d2ce50
Show file tree
Hide file tree
Showing 13 changed files with 77 additions and 0 deletions.
5 changes: 5 additions & 0 deletions __tests__/unit/lib/service/subCustomObjectHandler.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ const testContext = {
'force-app/main/default/objects/Account/fields/awesome.field-meta.xml',
new Set(['Account.awesome']),
],
[
'indexes',
'force-app/main/default/objects/Account/indexes/awesome.index-meta.xml',
new Set(['Account.awesome']),
],
[
'rules',
'force-app/main/default/territory2Models/EU/rules/Location.territory2Rule-meta.xml',
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/a48.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@
"suffix": "fieldSet",
"xmlName": "FieldSet"
},
{
"directoryName": "indexes",
"inFolder": false,
"metaFile": false,
"suffix": "index",
"xmlName": "Index"
},
{
"directoryName": "listViews",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v46.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,13 @@
"suffix": "fieldSet",
"xmlName": "FieldSet"
},
{
"directoryName": "indexes",
"inFolder": false,
"metaFile": false,
"suffix": "index",
"xmlName": "Index"
},
{
"directoryName": "listViews",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v47.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@
"suffix": "fieldSet",
"xmlName": "FieldSet"
},
{
"directoryName": "indexes",
"inFolder": false,
"metaFile": false,
"suffix": "index",
"xmlName": "Index"
},
{
"directoryName": "listViews",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v49.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@
"suffix": "fieldSet",
"xmlName": "FieldSet"
},
{
"directoryName": "indexes",
"inFolder": false,
"metaFile": false,
"suffix": "index",
"xmlName": "Index"
},
{
"directoryName": "listViews",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v50.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@
"suffix": "fieldSet",
"xmlName": "FieldSet"
},
{
"directoryName": "indexes",
"inFolder": false,
"metaFile": false,
"suffix": "index",
"xmlName": "Index"
},
{
"directoryName": "listViews",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v51.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@
"suffix": "fieldSet",
"xmlName": "FieldSet"
},
{
"directoryName": "indexes",
"inFolder": false,
"metaFile": false,
"suffix": "index",
"xmlName": "Index"
},
{
"directoryName": "listViews",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v52.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@
"suffix": "fieldSet",
"xmlName": "FieldSet"
},
{
"directoryName": "indexes",
"inFolder": false,
"metaFile": false,
"suffix": "index",
"xmlName": "Index"
},
{
"directoryName": "listViews",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v53.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@
"suffix": "fieldSet",
"xmlName": "FieldSet"
},
{
"directoryName": "indexes",
"inFolder": false,
"metaFile": false,
"suffix": "index",
"xmlName": "Index"
},
{
"directoryName": "listViews",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v54.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@
"suffix": "fieldSet",
"xmlName": "FieldSet"
},
{
"directoryName": "indexes",
"inFolder": false,
"metaFile": false,
"suffix": "index",
"xmlName": "Index"
},
{
"directoryName": "listViews",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v55.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,13 @@
"suffix": "fieldSet",
"xmlName": "FieldSet"
},
{
"directoryName": "indexes",
"inFolder": false,
"metaFile": false,
"suffix": "index",
"xmlName": "Index"
},
{
"directoryName": "listViews",
"inFolder": false,
Expand Down
1 change: 1 addition & 0 deletions src/service/typeHandlerFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const classes = {
experiences: InResource,
fieldSets: SubCustomObject,
fields: SubCustomObject,
indexes: SubCustomObject,
labels: InFile,
listViews: SubCustomObject,
lwc: InResource,
Expand Down
1 change: 1 addition & 0 deletions src/utils/metadataConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const SUB_OBJECT_TYPES = [
'compactLayouts',
'fieldSets',
'fields',
'indexes',
'listViews',
'recordTypes',
'rules',
Expand Down

0 comments on commit 2d2ce50

Please sign in to comment.