@@ -146,7 +146,7 @@ export type Description20 = string | null
146146 */
147147export type Def = string | null
148148export type ContributeTarget = "result" | "context"
149- export type Value = unknown [ ] | string | LocalizedExpression
149+ export type Value = LocalizedExpression | unknown [ ] | string
150150export type Path = string [ ]
151151export type File = string
152152/**
@@ -660,7 +660,7 @@ export type Kind4 = "read"
660660 * Name of the file to read. If `None`, read the standard input.
661661 *
662662 */
663- export type Read = string | LocalizedExpression | null
663+ export type Read = LocalizedExpression | string | null
664664/**
665665 * Message to prompt the user to enter a value.
666666 *
@@ -1328,13 +1328,13 @@ export type Kind10 = "repeat"
13281328 *
13291329 */
13301330export type For = {
1331- [ k : string ] : unknown [ ] | string | LocalizedExpression
1331+ [ k : string ] : LocalizedExpression | unknown [ ] | string
13321332} | null
13331333/**
13341334 * Condition to stay at the beginning of the loop.
13351335 *
13361336 */
1337- export type While = boolean | string | LocalizedExpression
1337+ export type While = LocalizedExpression | boolean | string
13381338/**
13391339 * Body of the loop.
13401340 *
@@ -1369,12 +1369,12 @@ export type Repeat =
13691369 * Condition to exit at the end of the loop.
13701370 *
13711371 */
1372- export type Until = boolean | string | LocalizedExpression
1372+ export type Until = LocalizedExpression | boolean | string
13731373/**
13741374 * Maximal number of iterations to perform.
13751375 *
13761376 */
1377- export type MaxIterations = number | string | LocalizedExpression | null
1377+ export type MaxIterations = LocalizedExpression | number | string | null
13781378/**
13791379 * Define how to combine the result of each iteration.
13801380 *
@@ -1543,7 +1543,7 @@ export type Anyof = (
15431543 | AnyPattern
15441544 | null
15451545) [ ]
1546- export type If = boolean | string | LocalizedExpression | null
1546+ export type If = LocalizedExpression | boolean | string | null
15471547export type Then =
15481548 | boolean
15491549 | number
@@ -1657,7 +1657,7 @@ export type Kind12 = "if"
16571657 * Condition.
16581658 *
16591659 */
1660- export type If1 = boolean | string | LocalizedExpression
1660+ export type If1 = LocalizedExpression | boolean | string
16611661/**
16621662 * Branch to execute if the condition is true.
16631663 *
@@ -1957,7 +1957,7 @@ export type Lang = "command"
19571957 * The argument vector to spawn.
19581958 *
19591959 */
1960- export type Args = ( string | LocalizedExpression ) [ ]
1960+ export type Args = ( LocalizedExpression | string ) [ ]
19611961/**
19621962 * Name of the variable used to store the result of the execution of the block.
19631963 *
@@ -2195,26 +2195,26 @@ export type Platform = "granite-io"
21952195 *
21962196 */
21972197export type Backend =
2198+ | LocalizedExpression
21982199 | string
21992200 | {
22002201 [ k : string ] : unknown
22012202 }
2202- | LocalizedExpression
22032203/**
22042204 * IO Processor name.
22052205 *
22062206 */
2207- export type Processor = string | LocalizedExpression | null
2207+ export type Processor = LocalizedExpression | string | null
22082208/**
22092209 * Parameters sent to the model.
22102210 *
22112211 */
22122212export type Parameters =
2213+ | LocalizedExpression
22132214 | {
22142215 [ k : string ] : unknown
22152216 }
22162217 | string
2217- | LocalizedExpression
22182218 | null
22192219/**
22202220 * Name of the variable used to store the result of the execution of the block.
@@ -2295,7 +2295,7 @@ export type Kind18 = "model"
22952295 * Name of the model following the LiteLLM convention.
22962296 *
22972297 */
2298- export type Model1 = string | LocalizedExpression
2298+ export type Model1 = LocalizedExpression | string
22992299/**
23002300 * Messages to send to the model.
23012301 *
@@ -2347,11 +2347,11 @@ export type Platform1 = "litellm"
23472347 */
23482348export type Parameters1 =
23492349 | LitellmParameters
2350+ | LocalizedExpression
23502351 | {
23512352 [ k : string ] : unknown
23522353 }
23532354 | string
2354- | LocalizedExpression
23552355 | null
23562356export type Timeout = number | string | null
23572357export type Temperature = number | string | null
0 commit comments