@mocanvas/mocanvas · type

EmbedConfig

type EmbedConfig = Readonly<Record<string, EmbedSettings>>

Per-service settings, keyed by EmbedDefinition.type.

``ts EmbedShapeUtil.configure({ embedConfig: { maps: { apiKey: MAPS_KEY } } }) ``

This is the *only* route a secret takes into an embed url. See EmbedDefinition.toEmbedUrl.

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.