Skip to content

Commit

Permalink
Add Packages folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ImAvafe committed Sep 3, 2024
1 parent aad4734 commit 8fb53ca
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Packages
/Packages

*.lock
*.rbxl.lock
Expand Down
5 changes: 5 additions & 0 deletions src/Packages/ColorUtils.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
local OnyxUI = script.Parent.Parent
local PackageIndex = OnyxUI.Parent._Index
local ColorUtilsModule = PackageIndex["[email protected]"]["colour-utils"]

return ColorUtilsModule
29 changes: 29 additions & 0 deletions src/Packages/Fusion.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
local OnyxUI = script.Parent.Parent
local PackageIndex = OnyxUI.Parent._Index
local FusionModule = PackageIndex["[email protected]"].fusion
local Fusion = require(FusionModule)
local Types = require(FusionModule.Types)

type Fusion = Types.Fusion

export type Animatable = Types.Animatable
export type UsedAs<T> = Types.UsedAs<T>
export type Child = Types.Child
export type Computed<T> = Types.Computed<T>
export type Contextual<T> = Types.Contextual<T>
export type GraphObject = Types.GraphObject
export type For<KO, VO> = Types.For<KO, VO>
export type Observer = Types.Observer
export type PropertyTable = Types.PropertyTable
export type Scope<Constructors = Fusion> = Types.Scope<Constructors>
export type ScopedObject = Types.ScopedObject
export type SpecialKey = Types.SpecialKey
export type Spring<T> = Types.Spring<T>
export type StateObject<T> = Types.StateObject<T>
export type Task = Types.Task
export type Tween<T> = Types.Tween<T>
export type Use = Types.Use
export type Value<T, S = T> = Types.Value<T, S>
export type Version = Types.Version

return Fusion

0 comments on commit 8fb53ca

Please sign in to comment.