@@ -47,15 +47,15 @@ directive @call(
47
47
of the previous step is passed as input to the next step.
48
48
"""
49
49
steps : [Step ]
50
- ) on FIELD_DEFINITION | OBJECT
50
+ ) repeatable on FIELD_DEFINITION | OBJECT
51
51
52
52
"""
53
53
The `@expr` operators allows you to specify an expression that can evaluate to a
54
54
value. The expression can be a static value or built form a Mustache template. schema.
55
55
"""
56
56
directive @expr (
57
57
body : JSON
58
- ) on FIELD_DEFINITION | OBJECT
58
+ ) repeatable on FIELD_DEFINITION | OBJECT
59
59
60
60
"""
61
61
The @graphQL operator allows to specify GraphQL API server request to fetch data
@@ -95,7 +95,7 @@ directive @graphQL(
95
95
This refers URL of the API.
96
96
"""
97
97
url : String !
98
- ) on FIELD_DEFINITION | OBJECT
98
+ ) repeatable on FIELD_DEFINITION | OBJECT
99
99
100
100
"""
101
101
The @grpc operator indicates that a field or node is backed by a gRPC API.For instance,
@@ -149,7 +149,7 @@ directive @grpc(
149
149
This refers to URL of the API.
150
150
"""
151
151
url : String !
152
- ) on FIELD_DEFINITION | OBJECT
152
+ ) repeatable on FIELD_DEFINITION | OBJECT
153
153
154
154
"""
155
155
The @http operator indicates that a field or node is backed by a REST API.For instance,
@@ -229,11 +229,11 @@ directive @http(
229
229
This refers to URL of the API.
230
230
"""
231
231
url : String !
232
- ) on FIELD_DEFINITION | OBJECT
232
+ ) repeatable on FIELD_DEFINITION | OBJECT
233
233
234
234
directive @js (
235
235
name : String !
236
- ) on FIELD_DEFINITION | OBJECT
236
+ ) repeatable on FIELD_DEFINITION | OBJECT
237
237
238
238
"""
239
239
The @link directive allows you to import external resources, such as configuration
@@ -1026,14 +1026,59 @@ enum Method {
1026
1026
}
1027
1027
1028
1028
enum LinkType {
1029
+ """
1030
+ Points to another Tailcall Configuration file. The imported
1031
+ configuration will be merged into the importing configuration.
1032
+ """
1029
1033
Config
1034
+
1035
+ """
1036
+ Points to a Protobuf file. The imported Protobuf file will be used by
1037
+ the `@grpc` directive. If your API exposes a reflection endpoint, you
1038
+ should set the type to `Grpc` instead.
1039
+ """
1030
1040
Protobuf
1041
+
1042
+ """
1043
+ Points to a JS file. The imported JS file will be used by the `@js`
1044
+ directive.
1045
+ """
1031
1046
Script
1047
+
1048
+ """
1049
+ Points to a Cert file. The imported Cert file will be used by the server
1050
+ to serve over HTTPS.
1051
+ """
1032
1052
Cert
1053
+
1054
+ """
1055
+ Points to a Key file. The imported Key file will be used by the server
1056
+ to serve over HTTPS.
1057
+ """
1033
1058
Key
1059
+
1060
+ """
1061
+ A trusted document that contains GraphQL operations (queries, mutations)
1062
+ that can be exposed as a REST API using the `@rest` directive.
1063
+ """
1034
1064
Operation
1065
+
1066
+ """
1067
+ Points to a Htpasswd file. The imported Htpasswd file will be used by
1068
+ the server to authenticate users.
1069
+ """
1035
1070
Htpasswd
1071
+
1072
+ """
1073
+ Points to a Jwks file. The imported Jwks file will be used by the server
1074
+ to authenticate users.
1075
+ """
1036
1076
Jwks
1077
+
1078
+ """
1079
+ Points to a reflection endpoint. The imported reflection endpoint will
1080
+ be used by the `@grpc` directive to resolve data from gRPC services.
1081
+ """
1037
1082
Grpc
1038
1083
}
1039
1084
0 commit comments