export type CollectionInfoProps = {
collectionId?: string;
collectionIds?: string[];
}
const collection = await assetlayer.collections.info({
collectionId: 'collectionId'
});
const collections = await assetlayer.collections.info({
collectionIds: ['collectionId_1', 'collectionId_2']
});
type ReturnType = Collection | Collection[];