Skip to content

Commit

Permalink
feat(mdTypes): add support for genAiFunction, genAiPlanner
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed May 20, 2024
1 parent a6f9aad commit c16a464
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 16 additions & 0 deletions src/registry/metadataRegistry.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@
"function": "functionreference",
"fundraisingConfig": "fundraisingconfig",
"gatewayProviderPaymentMethodType": "gatewayproviderpaymentmethodtype",
"genAiFunction": "genaifunction",
"genAiPlanner": "genaiplanner",
"genAiPromptTemplate": "genaiprompttemplate",
"genAiPromptTemplateActivation": "genaiprompttemplateactv",
"geodata": "eclairgeodata",
Expand Down Expand Up @@ -2582,6 +2584,20 @@
"strictDirectoryName": false,
"suffix": "gatewayProviderPaymentMethodType"
},
"genaifunction": {
"directoryName": "genAiFunction",
"id": "genaifunction",
"inFolder": false,
"name": "GenAiFunction",
"suffix": "genAiFunction"
},
"genaiplanner": {
"directoryName": "genAiPlanner",
"id": "genaiplanner",
"inFolder": false,
"name": "GenAiPlanner",
"suffix": "genAiPlanner"
},
"genaiprompttemplate": {
"directoryName": "genAiPromptTemplates",
"id": "genaiprompttemplate",
Expand Down
1 change: 0 additions & 1 deletion src/registry/nonSupportedTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ 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

2 comments on commit c16a464

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: c16a464 Previous: 10db8fd Ratio
eda-componentSetCreate-linux 176 ms 173 ms 1.02
eda-sourceToMdapi-linux 2019 ms 1968 ms 1.03
eda-sourceToZip-linux 1399 ms 1401 ms 1.00
eda-mdapiToSource-linux 2839 ms 2735 ms 1.04
lotsOfClasses-componentSetCreate-linux 358 ms 345 ms 1.04
lotsOfClasses-sourceToMdapi-linux 3706 ms 3607 ms 1.03
lotsOfClasses-sourceToZip-linux 3029 ms 3119 ms 0.97
lotsOfClasses-mdapiToSource-linux 3520 ms 3496 ms 1.01
lotsOfClassesOneDir-componentSetCreate-linux 615 ms 614 ms 1.00
lotsOfClassesOneDir-sourceToMdapi-linux 6521 ms 6821 ms 0.96
lotsOfClassesOneDir-sourceToZip-linux 5680 ms 5532 ms 1.03
lotsOfClassesOneDir-mdapiToSource-linux 6303 ms 6281 ms 1.00

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: c16a464 Previous: 10db8fd Ratio
eda-componentSetCreate-win32 414 ms 439 ms 0.94
eda-sourceToMdapi-win32 3697 ms 3822 ms 0.97
eda-sourceToZip-win32 2320 ms 2307 ms 1.01
eda-mdapiToSource-win32 5974 ms 6308 ms 0.95
lotsOfClasses-componentSetCreate-win32 917 ms 966 ms 0.95
lotsOfClasses-sourceToMdapi-win32 7972 ms 7737 ms 1.03
lotsOfClasses-sourceToZip-win32 4935 ms 4751 ms 1.04
lotsOfClasses-mdapiToSource-win32 8044 ms 7521 ms 1.07
lotsOfClassesOneDir-componentSetCreate-win32 1467 ms 1466 ms 1.00
lotsOfClassesOneDir-sourceToMdapi-win32 13736 ms 13792 ms 1.00
lotsOfClassesOneDir-sourceToZip-win32 8916 ms 8648 ms 1.03
lotsOfClassesOneDir-mdapiToSource-win32 13433 ms 13431 ms 1.00

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.