From bc3cd84240da057e8785b88122ca6e80fa1fa4b8 Mon Sep 17 00:00:00 2001 From: V1K1NGbg Date: Thu, 22 Aug 2024 17:49:06 -0300 Subject: Teal: convert luarocks.core.types.query --- src/luarocks/core/types/query.tl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/luarocks/core/types/query.tl (limited to 'src') diff --git a/src/luarocks/core/types/query.tl b/src/luarocks/core/types/query.tl new file mode 100644 index 00000000..d362b330 --- /dev/null +++ b/src/luarocks/core/types/query.tl @@ -0,0 +1,13 @@ +local type Constraint = require("luarocks.core.types.version").Constraint + +local record query + record Query + name: string + namespace: string + constraints: {Constraint} + substring: boolean + arch: {string: boolean} + end +end + +return query -- cgit v1.2.3-55-g6feb