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:
|
fcli:
|
||||||
needs: aqua
|
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:
|
with:
|
||||||
aqua-snapshots: "${{ needs.aqua.outputs.aqua-snapshots }}"
|
aqua-snapshots: "${{ needs.aqua.outputs.aqua-snapshots }}"
|
||||||
|
ref: use-js-client-0.5.0
|
||||||
|
|
||||||
registry:
|
registry:
|
||||||
needs:
|
needs:
|
||||||
|
@ -115,14 +115,17 @@ object TypeDefinitionJs {
|
|||||||
|
|
||||||
@JSExportAll
|
@JSExportAll
|
||||||
case class ServiceDefJs(
|
case class ServiceDefJs(
|
||||||
defaultServiceId: Option[String],
|
defaultServiceId: js.UndefOr[String],
|
||||||
functions: LabeledTypeDefJs
|
functions: LabeledTypeDefJs
|
||||||
)
|
)
|
||||||
|
|
||||||
object ServiceDefJs {
|
object ServiceDefJs {
|
||||||
|
|
||||||
def apply(sd: ServiceDef): 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