mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 02:11:56 +00:00
add select spec to union list items
This commit is contained in:
@@ -253,10 +253,21 @@ export default async function makeFileContent(
|
||||
name:${JSON.stringify(value.name || null)},
|
||||
range:${JSON.stringify(value.range || null)},
|
||||
spec: {
|
||||
select: {
|
||||
"name": ${JSON.stringify(
|
||||
value?.spec?.tag?.["name"] || null
|
||||
)},
|
||||
"description": ${JSON.stringify(
|
||||
value?.spec?.tag?.["description"] || null
|
||||
)},
|
||||
"warning": ${JSON.stringify(
|
||||
value?.spec?.tag?.["warning"] || null
|
||||
)},
|
||||
},
|
||||
variants: ${variants},
|
||||
displayAs: ${JSON.stringify(
|
||||
value?.spec?.["display-as"] || null
|
||||
)},
|
||||
value?.spec?.["display-as"] || null
|
||||
)},
|
||||
uniqueBy: ${JSON.stringify(value?.spec?.["unique-by"] || null)},
|
||||
default: ${JSON.stringify(value?.spec?.default || null)},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user