All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.touk.nussknacker.engine.api.dict.DictQueryService.scala Maven / Gradle / Ivy

The newest version!
package pl.touk.nussknacker.engine.api.dict

import cats.data.Validated
import io.circe.generic.JsonCodec

import scala.concurrent.{ExecutionContext, Future}

trait DictQueryService extends AutoCloseable {

  def queryEntriesByLabel(dictId: String, labelPattern: String)(
      implicit ec: ExecutionContext
  ): Validated[DictRegistry.DictNotDeclared, Future[List[DictEntry]]]

}

@JsonCodec case class DictEntry(key: String, label: String)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy