Public typealias

Signature
type EmbedDefinition = {
  readonly type: string
  readonly title: string
  readonly hostnames: readonly string[]
  readonly minWidth?: number
  readonly minHeight?: number
  readonly width: number
  readonly height: number
  readonly doesResize: boolean
  readonly canUnmount: boolean
  readonly isAspectRatioLocked?: boolean
  readonly overridePermissions?: TLEmbedShapePermissions
  readonly instructionLink?: string
  readonly backgroundColor?: string
  readonly overrideOutlineRadius?: number
  readonly toEmbedUrl: (url: string) => string | undefined
  readonly fromEmbedUrl: (url: string) => string | undefined
}
References

TLEmbedShapePermissions

Source

packages/tlschema/src/shapes/TLEmbedShape.ts

EMBED_DEFINITIONSembedShapePermissionDefaults