UNPKG

sanity-plugin-computed-field

Version:

Sanity plugin that computes a field's value based on other fields or relationships with its document or external data. In other words, this field memoizes a value in a document using GROQ to lookup and custom javascript to compute the value from those GRO

12 lines (10 loc) 285 B
const {showIncompatiblePluginDialog} = require('@sanity/incompatible-plugin') const {name, version, sanityExchangeUrl} = require('./package.json') export default showIncompatiblePluginDialog({ name: name, versions: { v3: version, v2: '1.0.2', }, sanityExchangeUrl, })