File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ local content_format = types.string + types.array_of(types.one_of({
1313 }),
1414 types .shape ({
1515 type = " image_url" ,
16- image_url = types .string
16+ image_url = types .string + types .partial ({
17+ url = types .string
18+ })
1719 })
1820}))
1921local test_message = types .one_of ({
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ empty = (types.nil + types.literal(cjson.null))\describe "nullable"
1313
1414content_format = types. string + types. array_of types. one_of {
1515 types. shape { type : " text" , text : types. string }
16- types. shape { type : " image_url" , image_url : types. string }
16+ types. shape { type : " image_url" , image_url : types. string + types. partial {
17+ url : types. string
18+ }}
1719}
1820
1921test_message = types. one_of {
You can’t perform that action at this time.
0 commit comments