Fix Ref reification (#462)

* Update ApiValue type to use new value format

* Use new value format for Ref reification
This commit is contained in:
Kenneth Loeffler
2021-08-05 00:03:13 -07:00
committed by GitHub
parent 5d62bf9b60
commit e1f9eaefa9
2 changed files with 9 additions and 12 deletions

View File

@@ -5,10 +5,7 @@ local strict = require(script.Parent.strict)
local RbxId = t.string
local ApiValue = t.interface({
Type = t.string,
Value = t.optional(t.any),
})
local ApiValue = t.keys(t.string)
local ApiInstanceMetadata = t.interface({
ignoreUnknownInstances = t.optional(t.boolean),
@@ -96,4 +93,4 @@ return strict("Types", {
VirtualInstance = ApiInstance,
VirtualMetadata = ApiInstanceMetadata,
VirtualValue = ApiValue,
})
})