Skip to content

Commit

Permalink
Merge branch 'database' into database-read-write-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintPatrck authored Apr 5, 2024
2 parents 8173e26 + f662ba0 commit 7f3c4e4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"groupName": "kotlin",
"description": "Kotlin and Compose dependencies that must be updated together to maintain compatibility.",
"matchPackagePatterns": [
"androidx.compose.compiler:compiler",
"androidx.compose:compose-bom",
"org.jetbrains.kotlin.*",
"com.google.devtools.ksp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,23 @@ package com.x8bit.bitwarden.authenticator.data.authenticator.repository.model

import com.x8bit.bitwarden.authenticator.data.authenticator.datasource.disk.entity.AuthenticatorItemType

/**
* Models a request to modify an existing authenticator item.
*
* @property type Type of authenticator item.
* @property period Time, in seconds, the authenticator item verification code is valid. Default is
* 30 seconds.
* @property digits Number of digits contained in the verification code for this authenticator item.
* Default is 6 digits.
* @property key Key used to generate verification codes for the authenticator item.
* @property issuer Entity that provided the authenticator item.
* @property label Optional label for this authenticator item.
*/
data class UpdateItemRequest(
val type: AuthenticatorItemType,
val period: Int,
val digits: Int,
val period: Int = 30,
val digits: Int = 6,
val key: String,
val issuer: String,
val label: String,
val issuer: String?,
val label: String?,
)
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ androidx-camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycl
androidx-camera-view = { module = "androidx.camera:camera-view", version.ref = "androidxCamera" }
androidx-compose-animation = { module = "androidx.compose.animation:animation" }
androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "androidxComposeBom" }
# Included so that Renovate tracks updates since Compose Compiler is not referenced directly in `dependency {}` blocks.
androidx-compose-compiler = { module = "androidx.compose.compiler:compiler", version.ref = "kotlinCompilerExtensionVersion" }
androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
androidx-compose-runtime = { module = "androidx.compose.runtime:runtime" }
androidx-compose-ui = { module = "androidx.compose.ui:ui" }
Expand Down

0 comments on commit 7f3c4e4

Please sign in to comment.