Database
Types

Client types

getConfig()

client.db.getConfig(arg: {
  appId: string,
  appEnv: string,
}): Promise<DBConfigSchema>;

setConfig()

client.db.updateConfig(arg: {
  appId: string,
  appEnv: string,
  config: string,
}): Promise<DBConfigSchema>;

createEnv()

client.db.createEnv(arg: {
  appId: string,
  newEnv: string,
  fromEnv?: string | undefined,
}): Promise<{
  appId: string,
  appEnv: string,
  config: DBConfigSchema,
}>;

deleteEnv()

client.db.deleteEnv(arg: {
  appId: string,
  appEnv: string,
}): Promise<{ isDeleted: boolean }>;

Types

DBLevelDiff

Represents a diff between two database configuration schemas.

interface DBLevelDiff {}