From e2550e8dddaa9f5524733b962f85c93ea7598051 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 12 Sep 2021 15:48:08 +0900 Subject: [PATCH] add PackedRef --- src/misc/schema.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/misc/schema.ts b/src/misc/schema.ts index 52fbbca43b..f5e13d76d6 100644 --- a/src/misc/schema.ts +++ b/src/misc/schema.ts @@ -47,7 +47,9 @@ export const refs = { GalleryPost: packedGalleryPostSchema, }; -export type Packed = SchemaType +export type Packed = PackRef + +type PackRef = { [x in keyof s['properties']]: SchemaType }; export interface Schema extends SimpleSchema { items?: Schema;