mirror of
https://github.com/morluto/rea.git
synced 2026-11-22 14:35:45 +00:00
fix(gpu): preserve omitted metadata in projected views
This commit is contained in:
1 parent
e99b6c2c3b
commit
dfe6aaf6da
3 files changed
+80
-11
No files matched your search
@@ -58,16 +58,24 @@ export const gpuCodeObjectsSummarySchema = gpuCodeObjectsObjectSchema
|
||||
});
|
||||
export const gpuCodeObjectsItemsSchema = z.union([
|
||||
z.array(
|
||||
gpuObjectSchema.partial().required({
|
||||
id: true,
|
||||
kind: true,
|
||||
target: true,
|
||||
location: true,
|
||||
metadata_location: true,
|
||||
payload_target: true,
|
||||
target_consistency: true,
|
||||
inspection: true,
|
||||
}),
|
||||
gpuObjectSchema
|
||||
.partial()
|
||||
.required({
|
||||
id: true,
|
||||
kind: true,
|
||||
target: true,
|
||||
location: true,
|
||||
metadata_location: true,
|
||||
payload_target: true,
|
||||
target_consistency: true,
|
||||
inspection: true,
|
||||
})
|
||||
.extend({
|
||||
// Source defaults qualify historical full rows, never omitted page columns.
|
||||
amd_target_metadata: gpuObjectSchema.shape.amd_target_metadata
|
||||
.removeDefault()
|
||||
.optional(),
|
||||
}),
|
||||
),
|
||||
z.array(
|
||||
gpuKernelSchema.partial().required({
|
||||
|
||||
Reference in new issue
Block a user