@huggingface/hub
Version:
Utilities to interact with the Hugging Face hub
20 lines (19 loc) • 428 B
text/typescript
export interface ApiCreateCollectionPayload {
/**
* Title of the collection to create.
*/
title: string;
/**
* Namespace of the collection to create (username or org).
*/
namespace: string;
/**
* Description of the collection to create.
*/
description?: string;
/**
* Whether the collection should be private or not. Defaults to False (i.e. public collection).
* @default false
*/
private?: boolean;
}