Skip to content

Commit

Permalink
feat: new mdtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed May 6, 2024
1 parent c161881 commit 031c8f3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
20 changes: 19 additions & 1 deletion src/registry/metadataRegistry.json
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,9 @@
"workflowTask": "workflowtask",
"xmd": "wavexmd",
"xml": "emailservicesfunction",
"xorghub": "xorghub"
"xorghub": "xorghub",
"RetrievalSummaryDefinition": "retrievalsummarydefinition",
"recordAlertTemplate": "recordalerttemplate"
},
"types": {
"accesscontrolpolicy": {
Expand Down Expand Up @@ -4384,6 +4386,22 @@
"inFolder": false,
"name": "XOrgHub",
"suffix": "xorghub"
},
"retrievalsummarydefinition": {
"id": "retrievalsummarydefinition",
"name": "RetrievalSummaryDefinition",
"suffix": "RetrievalSummaryDefinition",
"directoryName": "RetrievalSummaryDefinitions",
"inFolder": false,
"strictDirectoryName": false
},
"recordalerttemplate": {
"id": "recordalerttemplate",
"name": "RecordAlertTemplate",
"suffix": "recordAlertTemplate",
"directoryName": "recordAlertTemplates",
"inFolder": false,
"strictDirectoryName": false
}
}
}
8 changes: 7 additions & 1 deletion src/registry/nonSupportedTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const features = [
'FUNDRAISING',
'PARDOTADVANCED', // org:create throws a C-9999 when this is not excluded
'EXTERNALCONNECTIVITY', // for type ExternalAuthIdentityProvider. might work if it were added to a dev hub
'COPILOT', // responds with [Error] EinsteinCopilot : There was an error enabling or disabling a setting \n'
];

export const settings = [
Expand Down Expand Up @@ -79,7 +80,12 @@ export const metadataTypes = [

// spun up org with ASSOCIATIONENGINE, not in describe
'RecAlrtDataSrcExpSetDef',
'RecordAlertTemplate',

// spun up org with EDUCATIONCLOUD:1, not in describe
'LearningAchievementConfig',

// spun up org with CORECPQ, not in describe
'DocumentTemplate',
];

export const hasUnsupportedFeatures = (type: CoverageObjectType): boolean => {
Expand Down

0 comments on commit 031c8f3

Please sign in to comment.