From d7bc270d361c25ac087f989d9eb2c6c86d7fba6b Mon Sep 17 00:00:00 2001 From: Aleksey Proshutisnkiy Date: Fri, 24 Feb 2023 14:43:36 +0400 Subject: [PATCH] feat: update Service data structure (#39) --- builtin.aqua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/builtin.aqua b/builtin.aqua index 5d3646a..9694c89 100644 --- a/builtin.aqua +++ b/builtin.aqua @@ -20,6 +20,7 @@ data Service: blueprint_id: string owner_id: string aliases: []string + worker_aliases: []string worker_id: string data FunctionSignature: @@ -253,7 +254,7 @@ service Srv("srv"): -- on the node specified in the service call -- Argument: service_id – ID of the service whose interface you want to retrieve. get_interface(service_id: string) -> Interface - + -- Retrieves information about service -- Argument: service_id – ID or alias of the service info(service_id: string) -> Service @@ -310,7 +311,7 @@ service Dist("dist"): -- Used to get the blueprints available on the node specified in the service call. -- A blueprint is an object of the following structure list_blueprints() -> []Blueprint - + -- Get a single blueprint get_blueprint(blueprint_id: string) -> Blueprint