From 8d67cffdbb585d8349e657131548810420f46831 Mon Sep 17 00:00:00 2001 From: rijkvanzanten Date: Wed, 24 Feb 2021 09:24:58 -0500 Subject: [PATCH] Add note on interface groups Ref #4256 --- docs/guides/interfaces.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/guides/interfaces.md b/docs/guides/interfaces.md index 817c36baba..47e3136ef6 100644 --- a/docs/guides/interfaces.md +++ b/docs/guides/interfaces.md @@ -1,6 +1,7 @@ # Custom Interfaces -> Custom Interfaces allow you to create new ways of viewing or interacting with field data on the Item Detail page. [Learn more about Interfaces](/concepts/interfaces/). +> Custom Interfaces allow you to create new ways of viewing or interacting with field data on the Item Detail page. +> [Learn more about Interfaces](/concepts/interfaces/). ## 1. Setup the Boilerplate @@ -33,7 +34,9 @@ export default { - `description` — A short description (<80 characters) of this interface shown in the App. - `icon` — An icon name from the material icon set, or the extended list of Directus custom icons. - `component` — A reference to your Vue component. -- `types` — A CSV of supported [types](/concepts/types/). +- `types` — An array of supported [types](/concepts/types/). +- `groups` — An array of field-groups. Accepts `standard`, `file`, `files`, `m2o`, `o2m`, `m2a`, `translations`. + Defaults to `standard`. ::: tip TypeScript