@rbxts/app-forge 0.7.2-prototype.8 → 0.7.2-prototype.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,6 @@ export declare abstract class Args {
18
18
  readonly forge: AppForge;
19
19
  readonly group: AppGroups;
20
20
  readonly name: AppNames;
21
- constructor(props: Types.Props.Main, name: AppNames, group: AppGroups);
21
+ constructor(props: Types.Props.Main, name: AppNames, group?: AppGroups);
22
22
  abstract render(): Vide.Node;
23
23
  }
@@ -66,7 +66,11 @@ do
66
66
  local _binding = props
67
67
  local forge = _binding.forge
68
68
  self.forge = forge
69
- self.group = group
69
+ local _condition = group
70
+ if not (_condition ~= "" and _condition) then
71
+ _condition = "None"
72
+ end
73
+ self.group = _condition
70
74
  self.name = name
71
75
  local _object = table.clone(props.props)
72
76
  setmetatable(_object, nil)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.7.2-prototype.8",
3
+ "version": "0.7.2-prototype.9",
4
4
  "description": "An App Manager for Vide",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",