@spacehq/sdk > UserMetadataStore > createBucket
UserMetadataStore.createBucket property
Create a BucketSchema record with dbId belonging to the current user.
It should fail if a bucketSlug with similar dbId already exists.
Signature:
createBucket: (bucketSlug: string, dbId: string, bucketKey: string) => Promise<BucketMetadata>;