chore: add more types fixes
ci/woodpecker/pr/docker-build/2 Pipeline was successful Details
ci/woodpecker/pr/docker-build/1 Pipeline was successful Details
ci/woodpecker/pr/docker-build/3 Pipeline was successful Details
ci/woodpecker/pr/docker-build/4 Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline failed Details
ci/woodpecker/pr/build-and-run Pipeline failed Details
ci/woodpecker/pr/test Pipeline failed Details

This commit is contained in:
Aire-One 2024-02-25 19:32:16 +01:00
parent 35c904c16d
commit 8a97241c67
1 changed files with 3 additions and 0 deletions

View File

@ -15,8 +15,10 @@ local type_map <const>: { string : string } = {
image = "Image",
int = "integer",
Integer = "integer",
keygrabber = "Keygrabber",
layout = "Layout",
["lgi.Pango.FontDescription"] = "any", -- We'll probably never have better support for this one, since it's a GI bindings
matrix = "Matrix",
["naughty.notification_closed_reason"] = "number", -- Teal doesn't support numeric enums
["Pango.FontDescription"] = "any", -- We'll probably never have better support for this one, since it's a GI bindings
placement = "Awful_Placement_Function",
@ -39,6 +41,7 @@ local type_map <const>: { string : string } = {
["gears.opacity"] = "number", -- error in the naughty.notification doc
["gears.margin"] = "number", -- error in the naughty.notification doc
gradient = "string", -- doesn't exist
["N/A"] = "any", -- we shouldn't have to do this, what `N/A` supposed to mean?
pattern = "string", -- doesn't exist
raw_curface = "Cairo_Surface", -- typo
shap = "Gears_Shape_Function", -- typo