Skip to main content

lightyear.definecollection

Home > @runlightyear/lightyear > defineCollection

defineCollection() function

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

declare function defineCollection(props: DefineCollectionProps): string;

Parameters

Parameter

Type

Description

props

DefineCollectionProps

Returns:

string