aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/core/types/query.tl13
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 @@
1local type Constraint = require("luarocks.core.types.version").Constraint
2
3local record query
4 record Query
5 name: string
6 namespace: string
7 constraints: {Constraint}
8 substring: boolean
9 arch: {string: boolean}
10 end
11end
12
13return query