@rbxts/app-forge 0.7.2-prototype.19 → 0.7.2-prototype.20

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.
Files changed (2) hide show
  1. package/out/renders.luau +52 -1
  2. package/package.json +1 -1
package/out/renders.luau CHANGED
@@ -82,7 +82,7 @@ do
82
82
  _callback_1(_v, _k - 1, _exp_1)
83
83
  end
84
84
  -- ▲ ReadonlyArray.forEach ▲
85
- print("props.renders.namen", test)
85
+ print("props.renders.names", test)
86
86
  end
87
87
  end
88
88
  for _k, _v in _exp do
@@ -90,6 +90,57 @@ do
90
90
  end
91
91
  -- ▲ ReadonlyArray.forEach ▲
92
92
  end
93
+ local _result_1 = props.renders
94
+ if _result_1 ~= nil then
95
+ _result_1 = _result_1.group
96
+ end
97
+ if _result_1 ~= "" and _result_1 then
98
+ local _group = props.renders
99
+ if _group ~= nil then
100
+ _group = _group.group
101
+ end
102
+ local group = _group
103
+ local groupEntries = self:getGroupEntries(group)
104
+ local _result_2 = props.renders
105
+ if _result_2 ~= nil then
106
+ _result_2 = _result_2.name
107
+ end
108
+ if _result_2 ~= "" and _result_2 then
109
+ local _name = props.renders.name
110
+ local _test = groupEntries[_name]
111
+ if _test ~= nil then
112
+ _test = _test[group]
113
+ end
114
+ local test = _test
115
+ print("props.renders.name", test)
116
+ end
117
+ local _result_3 = props.renders
118
+ if _result_3 ~= nil then
119
+ _result_3 = _result_3.names
120
+ end
121
+ if _result_3 then
122
+ local test = {}
123
+ local _exp = props.renders.names
124
+ -- ▼ ReadonlyArray.forEach ▼
125
+ local _callback = function(name)
126
+ local _name = name
127
+ local _entry = groupEntries[_name]
128
+ if _entry ~= nil then
129
+ _entry = _entry[group]
130
+ end
131
+ local entry = _entry
132
+ if not entry then
133
+ return forge.logger:log("INFO", `Failed to find a Name of {name} searching through group {group}`)
134
+ end
135
+ table.insert(test, entry)
136
+ end
137
+ for _k, _v in _exp do
138
+ _callback(_v, _k - 1, _exp)
139
+ end
140
+ -- ▲ ReadonlyArray.forEach ▲
141
+ print("props.renders.names", test)
142
+ end
143
+ end
93
144
  local rendered = {}
94
145
  local _exp = self.Rendered
95
146
  -- ▼ ReadonlyMap.forEach ▼
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.7.2-prototype.19",
3
+ "version": "0.7.2-prototype.20",
4
4
  "description": "An App Manager for Vide",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",