diff options
Diffstat (limited to 'src')
| -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 | ||
