Public typealias

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

TLEmbedShapePermissions

Source

packages/tlschema/src/shapes/TLEmbedShape.ts

EMBED_DEFINITIONSembedShapePermissionDefaults