Files
firecms/website/docs/api/functions/buildproperties.md
2021-06-06 13:36:47 +02:00

781 B

id, title, sidebar_label, sidebar_position, custom_edit_url
id title sidebar_label sidebar_position custom_edit_url
buildproperties Function: buildProperties buildProperties 0 null

buildProperties<Key>(properties): Properties<Key>

Identity function we use to defeat the type system of Typescript and preserve the properties keys. It can be useful if you have entity schemas with the same properties

Type parameters

Name Type
Key Key: string

Parameters

Name Type
properties Properties<Key>

Returns

Properties<Key>

Defined in

models/builders.ts:93