From 58401ac31c7c7dcc1e4b5949867b7a251ac56f6c Mon Sep 17 00:00:00 2001 From: V1K1NGbg <victor@ilchev.com> Date: Thu, 22 Aug 2024 17:49:09 -0300 Subject: Teal: add type definition module luarocks.core.types.manifest --- src/luarocks/core/types/manifest.d.tl | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/luarocks/core/types/manifest.d.tl (limited to 'src') 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 @@ +local type Query = require("luarocks.core.types.query").Query + +local type Tree = require("luarocks.core.types.tree").Tree + +local record manifest + record Manifest + record Entry + arch: string + commands: {string: string} + dependencies: {string: string} + modules: {string: string} + end + + arch: string + commands: {string: {string}} + dependencies: {string: {string: {Query}}} + modules: {string: {string}} + repository: {string: {string: {Entry}}} + end + + record Tree_manifest + tree: Tree + manifest: Manifest + end +end + +return manifest \ No newline at end of file -- cgit v1.2.3-55-g6feb