mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-03-15 15:31:05 +00:00
update libs
This commit is contained in:
parent
6b3adfe1ea
commit
c3dbe23e89
24
aqua/examples/aliases.aqua
Normal file
24
aqua/examples/aliases.aqua
Normal file
@ -0,0 +1,24 @@
|
||||
data SomeData:
|
||||
value: string
|
||||
otherValue: u64
|
||||
|
||||
data SubData:
|
||||
someStr: string
|
||||
someNum: i32
|
||||
|
||||
data SecondData:
|
||||
value: string
|
||||
complex: SubData
|
||||
|
||||
data ThirdData:
|
||||
value: string
|
||||
complex: SomeData
|
||||
|
||||
service ComplexService("op-ha"):
|
||||
call(d: SomeData, sd: SecondData) -> SubData
|
||||
identity() -> SecondData
|
||||
|
||||
func doSmth(d: SomeData, d2: SomeData, sd: SecondData, c: SubData, SecondData -> ThirdData) -> ThirdData:
|
||||
res <- ComplexService.call(d, sd)
|
||||
res2 <- c(res, sd)
|
||||
<- res2
|
4985
package-lock.json
generated
4985
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -26,7 +26,7 @@
|
||||
"prettify-compiled": "prettier --write src/compiled"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fluencelabs/aqua": "^0.3.0-222",
|
||||
"@fluencelabs/aqua": "0.3.1-231",
|
||||
"@fluencelabs/aqua-dht": "0.1.36",
|
||||
"@fluencelabs/aqua-lib": "0.1.14",
|
||||
"ts-node": "^9.1.1",
|
||||
@ -34,7 +34,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluencelabs/aqua-dht-ts": "0.1.36",
|
||||
"@fluencelabs/fluence": "0.12.1",
|
||||
"@fluencelabs/fluence": "0.13.0",
|
||||
"@fluencelabs/fluence-network-environment": "^1.0.10",
|
||||
"deep-equal": "^2.0.5"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user