Current section

Files

Jump to
caffeine_lang src caffeine_lang@types@ast.erl
Raw

src/caffeine_lang@types@ast.erl

-module(caffeine_lang@types@ast).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/caffeine_lang/types/ast.gleam").
-export_type([organization/0, team/0, slo/0, service/0, sli_type/0, query_template_type/0, basic_type/0]).
-type organization() :: {organization, list(team()), list(service())}.
-type team() :: {team, binary(), list(slo())}.
-type slo() :: {slo,
caffeine_lang@types@generic_dictionary:generic_dictionary(),
float(),
binary(),
binary(),
integer()}.
-type service() :: {service, binary(), list(sli_type())}.
-type sli_type() :: {sli_type,
binary(),
query_template_type(),
caffeine_lang@types@generic_dictionary:generic_dictionary(),
list(basic_type())}.
-type query_template_type() :: {query_template_type,
list(basic_type()),
binary()}.
-type basic_type() :: {basic_type,
binary(),
caffeine_lang@types@accepted_types:accepted_types()}.