Private
apiAccess to the collections API
Private
contextAccess to the permissions API
Gets a collection interface (API access to the specified collection)
The name of the collection to create the interface for.
Optional
collectionOptions: CollectionOptionsAn optional object for specifying an onCreate hook. The onCreate hook sets up a collection when it is created (e.g., to set up permissions)
The primary class of the Bazaar JS SDK to help you more easily build web apps with Bazaar.