aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV1K1NGbg <victor@ilchev.com>2024-08-22 17:49:09 -0300
committerHisham Muhammad <hisham@gobolinux.org>2024-10-21 13:30:51 -0300
commit58401ac31c7c7dcc1e4b5949867b7a251ac56f6c (patch)
tree2ffd543c14474b96ac161509a018321c118d0775
parent344f31faf58bab439e5b8178104269b1e867b0ab (diff)
downloadluarocks-58401ac31c7c7dcc1e4b5949867b7a251ac56f6c.tar.gz
luarocks-58401ac31c7c7dcc1e4b5949867b7a251ac56f6c.tar.bz2
luarocks-58401ac31c7c7dcc1e4b5949867b7a251ac56f6c.zip
Teal: add type definition module luarocks.core.types.manifest
-rw-r--r--src/luarocks/core/types/manifest.d.tl27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/luarocks/core/types/manifest.d.tl b/src/luarocks/core/types/manifest.d.tl
new file mode 100644
index 00000000..e562c7cf
--- /dev/null
+++ b/src/luarocks/core/types/manifest.d.tl
@@ -0,0 +1,27 @@
1local type Query = require("luarocks.core.types.query").Query
2
3local type Tree = require("luarocks.core.types.tree").Tree
4
5local record manifest
6 record Manifest
7 record Entry
8 arch: string
9 commands: {string: string}
10 dependencies: {string: string}
11 modules: {string: string}
12 end
13
14 arch: string
15 commands: {string: {string}}
16 dependencies: {string: {string: {Query}}}
17 modules: {string: {string}}
18 repository: {string: {string: {Entry}}}
19 end
20
21 record Tree_manifest
22 tree: Tree
23 manifest: Manifest
24 end
25end
26
27return manifest \ No newline at end of file