UNPKG

@seidhr/sanity-plugin-muna-schemas

Version:

Muna or ᛗᚢᚾᚨ means remember in norse. Muna is a schema for the Sanity Studio that enables detailed descriptions of cultural heritage objects and knowledge about their contexts as well as pages about them (or anything else really.)

43 lines (40 loc) 1.01 kB
import React from 'react'; import { BsFillQuestionCircleFill } from 'react-icons/bs'; import { Link } from 'part:@sanity/base/router'; /** * Identified by * P1_is_identified_by */ export const identifiedBy = { name: 'identifiedBy', title: 'Identifisert av', titleEN: 'Identified by', description: ( <span> Gjeldende, alternative, eksterne eller ugyldige identifikatorer.{' '} <Link target="blank" href={'https://muna.xyz/docs/model/properties#identified-by'}> <BsFillQuestionCircleFill /> </Link> </span> ), descriptionEN: ( <span> Current, alternative, external or invalid ifentifiers.{' '} <Link target="blank" href={'https://muna.xyz/docs/model/properties#identified-by'}> <BsFillQuestionCircleFill /> </Link> </span> ), type: 'array', of: [ { type: 'Name' }, { type: 'Identifier' } ], options: { editModal: 'popup', semanticSanity: { '@container': '@list', '@type': '@id' } }, };