Packages > @fluidframework/tree >
InsertableObjectFromSchemaRecord
Helper used to produce types for:
-
Insertable content which can be used to construct an object node.
-
Insertable content which is an unhydrated object node.
-
Union of 1 and 2.
Signature
export type InsertableObjectFromSchemaRecord<T extends RestrictiveReadonlyRecord<string, ImplicitFieldSchema>> = {
readonly [Property in keyof T]: InsertableTreeFieldFromImplicitField<T[Property]>;
};
Type Parameters
Parameter | Constraint | Description |
---|---|---|
T | RestrictiveReadonlyRecord<string, ImplicitFieldSchema> |