Skip to content

Commit

Permalink
feat: add new GenAI metadata definition (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon authored Oct 8, 2024
1 parent f190319 commit 8e0e4bd
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/migrating-to-v6.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Migrating to `v6.0.0`

- breaking changes

-errors
-warnings
-exists

-
21 changes: 21 additions & 0 deletions src/metadata/v60.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "genAiPlugins",
"inFolder": false,
"metaFile": false,
"suffix": "genAiPlugin",
"xmlName": "GenAiPlugin"
},
{
"directoryName": "genAiFunctions",
"inFolder": false,
"metaFile": false,
"suffix": "genAiFunction",
"xmlName": "GenAiFunction"
},
{
"directoryName": "genAiPlanners",
"inFolder": false,
"metaFile": false,
"suffix": "genAiPlanner",
"xmlName": "GenAiPlanner"
},
{
"directoryName": "briefcaseDefinitions",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v61.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "genAiPlugins",
"inFolder": false,
"metaFile": false,
"suffix": "genAiPlugin",
"xmlName": "GenAiPlugin"
},
{
"directoryName": "genAiFunctions",
"inFolder": false,
"metaFile": false,
"suffix": "genAiFunction",
"xmlName": "GenAiFunction"
},
{
"directoryName": "genAiPlanners",
"inFolder": false,
"metaFile": false,
"suffix": "genAiPlanner",
"xmlName": "GenAiPlanner"
},
{
"directoryName": "briefcaseDefinitions",
"inFolder": false,
Expand Down
21 changes: 21 additions & 0 deletions src/metadata/v62.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
[
{
"directoryName": "genAiPlugins",
"inFolder": false,
"metaFile": false,
"suffix": "genAiPlugin",
"xmlName": "GenAiPlugin"
},
{
"directoryName": "genAiFunctions",
"inFolder": false,
"metaFile": false,
"suffix": "genAiFunction",
"xmlName": "GenAiFunction"
},
{
"directoryName": "genAiPlanners",
"inFolder": false,
"metaFile": false,
"suffix": "genAiPlanner",
"xmlName": "GenAiPlanner"
},
{
"directoryName": "briefcaseDefinitions",
"inFolder": false,
Expand Down
1 change: 1 addition & 0 deletions src/service/typeHandlerFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const handlerMap = {
ExperienceBundle: InResource,
FieldSet: Decomposed,
Flow: FlowHandler,
GenAiFunction: Lwc,
GlobalValueSetTranslation: InFile,
Index: Decomposed,
LightningComponentBundle: Lwc,
Expand Down

0 comments on commit 8e0e4bd

Please sign in to comment.