mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 14:40:17 +00:00
parent
3472f2016f
commit
1e525fad35
3
.github/workflows/e2e.yml
vendored
3
.github/workflows/e2e.yml
vendored
@ -44,9 +44,10 @@ jobs:
|
||||
|
||||
fcli:
|
||||
needs: aqua
|
||||
uses: fluencelabs/cli/.github/workflows/tests.yml@main
|
||||
uses: fluencelabs/fluence-cli/.github/workflows/tests.yml@use-js-client-0.5.0
|
||||
with:
|
||||
aqua-snapshots: "${{ needs.aqua.outputs.aqua-snapshots }}"
|
||||
ref: use-js-client-0.5.0
|
||||
|
||||
registry:
|
||||
needs:
|
||||
|
@ -115,14 +115,17 @@ object TypeDefinitionJs {
|
||||
|
||||
@JSExportAll
|
||||
case class ServiceDefJs(
|
||||
defaultServiceId: Option[String],
|
||||
defaultServiceId: js.UndefOr[String],
|
||||
functions: LabeledTypeDefJs
|
||||
)
|
||||
|
||||
object ServiceDefJs {
|
||||
|
||||
def apply(sd: ServiceDef): ServiceDefJs = {
|
||||
ServiceDefJs(sd.defaultServiceId, LabeledTypeDefJs(sd.functions))
|
||||
ServiceDefJs(
|
||||
sd.defaultServiceId.getOrElse(()),
|
||||
LabeledTypeDefJs(sd.functions)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user