Initializes the class for communication with the database. The dataSource should point to a database initialized with the model defined in the auth-core package.
https://typeorm.io/data-source
ConnectionNotInitializedError If the dataSource is not initialized.
The typeorm dataSource to use in the class
Private
Readonly
assetPrivate
Readonly
bundlePrivate
Readonly
connectionPrivate
Readonly
dataThe typeorm dataSource to use in the class
Private
Readonly
keyPrivate
getRetrieves the values of the assets, connections and key based on the supplied versions
The requested versions to be retrieved
All the values based on the supplied versions
Private
getPrivate
getRetrieves all the latest assets, connections and key versions based on requested environment
The environment for which to retrieve the versions
An object describing all the latest versions
Saved the metadata of the bundle into the database
The versions of the bundle content
The md5 hash of the created bundle tarball
The ID of the created bundle
Generated using TypeDoc
This class handles all the database interactions required to creating a bundle.