← @mortar-kit/admin

AdminLocationinterface

import { AdminLocation } from '@mortar-kit/admin'

interface AdminLocation

Which collection the admin shows, and which document of it is open (by id); or, with view: 'assets', the asset library (collection is then where the rail goes back to).

Properties

collection: string
id?: string
view?: "assets"