Skip to main content

Interface: SCEmbedType

Exports all types

Properties

embed_id

embed_id: number

External id for the embed object

Defined in

embed.ts:21


embed_type

embed_type: string

Type of the embed, can be any string except sc_vimeo, sc_link or sc_shared_object that are used for embedded objects automatically created by the community

Defined in

embed.ts:16


id

id: number

Id of the embed

Defined in

embed.ts:9


metadata

metadata: Record<string, any>

Metadata associated to this embed. It mus be a valid json object. For embed_type sc_vimeo or sc_link it contains metadata associated with the external resource. For embed_type sc_shared_object it contains a field type that is the type of the object (Discussion or Post) and a field id that contains the id of the object shared

Defined in

embed.ts:35


url

Optional url: string

Url for the resource, if any

Defined in

embed.ts:26