Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Re-export types
Browse files Browse the repository at this point in the history
  • Loading branch information
cxmeel committed Feb 7, 2023
1 parent 0f188ad commit 449e359
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
38 changes: 35 additions & 3 deletions src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,46 @@ local Packager = {}
Packager.__index = Packager

--[=[
@prop Types {}
@prop Types Types
@within Packager
A reference to the `Types` module, which contains various
types used within the packager.
A reference to the `Types` module.
]=]
Packager.Types = T

--[=[
@type Package Package
@within Packager
A reference to the `Package` type.
]=]
export type Package = T.Package

--[=[
@type FlatPackage FlatPackage
@within Packager
A reference to the `FlatPackage` type.
]=]
export type FlatPackage = T.FlatPackage

--[=[
@type TreeNode TreeNode
@within Packager
A reference to the `TreeNode` type.
]=]
export type TreeNode = T.TreeNode

--[=[
@type FlatTreeNode FlatTreeNode
@within Packager
A reference to the `FlatTreeNode` type.
]=]
export type FlatTreeNode = T.FlatTreeNode


local REF_KEY = "REF"

local VALUE_TYPE_REMAP = {
Expand Down
2 changes: 1 addition & 1 deletion wally.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "csqrl/packager"
version = "0.1.0"
version = "0.1.1"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
description = "https://github.com/csqrl/packager"
Expand Down

0 comments on commit 449e359

Please sign in to comment.