mirror of
https://github.com/morluto/rea.git
synced 2026-11-03 21:36:13 +00:00
fix(il2cpp): accept names in native type-reference views
This commit is contained in:
1 parent
43c7255dbd
commit
af3f025688
4 files changed
+126
-7
No files matched your search
@@ -227,13 +227,13 @@ export const il2cppMetadataViewRequestSchema = z.discriminatedUnion(
|
||||
}),
|
||||
...(["return_types", "field_types"] as const).map((collection) =>
|
||||
z.strictObject({
|
||||
...indexPage,
|
||||
...page,
|
||||
collection: z.literal(collection),
|
||||
fields: z.array(typeReferenceRowSchema.keyof()).optional(),
|
||||
}),
|
||||
),
|
||||
z.strictObject({
|
||||
...indexPage,
|
||||
...page,
|
||||
collection: z.literal("parameter_types"),
|
||||
// Owners come from the retained parameters collection.
|
||||
method_indices: z.array(indexSchema).optional(),
|
||||
|
||||
Reference in new issue
Block a user