feat!(builtins): srv.info, dist.get_blueprint (#34)

This commit is contained in:
folex 2023-02-15 19:07:33 +07:00 committed by GitHub
parent f9ff829413
commit 94ff99be24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ data Service:
blueprint_id: string
owner_id: string
aliases: []string
worker_id: string
data FunctionSignature:
arguments: []Argument
@ -253,6 +254,10 @@ service Srv("srv"):
-- 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
service Dist("dist"):
-- Constructs a ModuleConfig structure
-- Arguments:
@ -306,6 +311,9 @@ service Dist("dist"):
-- A blueprint is an object of the following structure
list_blueprints() -> []Blueprint
-- Get a single blueprint
get_blueprint(blueprint_id: string) -> Blueprint
service Script("script"):
-- Adds the given script to a node
-- Arguments: