import { PrimitiveType } from '../jsonTypeResolution/TypeResolver'; interface SquizLinkShape { text: string; url: string; target?: string; } export const SquizLinkType = PrimitiveType({ title: 'SquizLink', type: 'object', properties: { text: { type: 'string', }, url: { type: 'string', }, target: { type: 'string', enum: ['_blank', '_parent', '_self', '_top'], }, }, required: ['text', 'url'], }); export type SquizLinkType = typeof SquizLinkType;