mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Fix compile errors in website examples
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
package docspell.website
|
package docspell.website
|
||||||
|
|
||||||
import docspell.common.{IdRef, Ident, Timestamp}
|
import docspell.common.{CollectiveId, IdRef, Ident, Timestamp}
|
||||||
import scodec.bits.ByteVector
|
import scodec.bits.ByteVector
|
||||||
|
|
||||||
import java.time.LocalDate
|
import java.time.LocalDate
|
||||||
@ -12,7 +12,7 @@ trait Helper {
|
|||||||
|
|
||||||
val date20220514 = Timestamp.atUtc(LocalDate.of(2022, 5, 14).atTime(11, 22, 12))
|
val date20220514 = Timestamp.atUtc(LocalDate.of(2022, 5, 14).atTime(11, 22, 12))
|
||||||
|
|
||||||
val cid = id("collective")
|
val cid = CollectiveId(1)
|
||||||
|
|
||||||
implicit final class StringExt(self: String) {
|
implicit final class StringExt(self: String) {
|
||||||
def id: Ident = Ident.unsafe(self)
|
def id: Ident = Ident.unsafe(self)
|
||||||
|
Reference in New Issue
Block a user