base/schema: Fix instructions schema

Without the `...` prefix, CUE interprets a type enclosed in square
brackets as a list of exactly one of that type.  The ellipsis changes it
to mean a list of any number of that type.
master
Dustin 2024-01-17 17:10:23 -06:00
parent 86f6943f5b
commit 0bcbcbd199
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ package instructions
} }
#Hooks: { #Hooks: {
changed?: [#Hook] changed?: [...#Hook]
} }
#RenderInstruction: { #RenderInstruction: {
@ -19,5 +19,5 @@ package instructions
} }
#Instructions: { #Instructions: {
render: [#RenderInstruction] render: [...#RenderInstruction]
} }