diff options
author | V1K1NGbg <victor@ilchev.com> | 2024-08-22 17:49:06 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-10-21 13:30:51 -0300 |
commit | bc3cd84240da057e8785b88122ca6e80fa1fa4b8 (patch) | |
tree | 4291b1ce8bbcc3c1f5230885f9b13e67ca61e1fa | |
parent | 9c9252f3873a89f9642aa6c7ff9d5e914c4042cd (diff) | |
download | luarocks-bc3cd84240da057e8785b88122ca6e80fa1fa4b8.tar.gz luarocks-bc3cd84240da057e8785b88122ca6e80fa1fa4b8.tar.bz2 luarocks-bc3cd84240da057e8785b88122ca6e80fa1fa4b8.zip |
Teal: convert luarocks.core.types.query
-rw-r--r-- | src/luarocks/core/types/query.tl | 13 |
1 files changed, 13 insertions, 0 deletions
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 @@ | |||
1 | local type Constraint = require("luarocks.core.types.version").Constraint | ||
2 | |||
3 | local record query | ||
4 | record Query | ||
5 | name: string | ||
6 | namespace: string | ||
7 | constraints: {Constraint} | ||
8 | substring: boolean | ||
9 | arch: {string: boolean} | ||
10 | end | ||
11 | end | ||
12 | |||
13 | return query | ||