@@ -86,16 +86,31 @@ pub use crate::deprecated::*;
86
86
const SDK_VERSION : & str = "0.25" ;
87
87
88
88
89
- type EmailAddress = String ;
89
+ type UUID = String ;
90
+ type BigInt = String ;
90
91
type DateTime = String ;
92
+ type EmailAddress = String ;
91
93
type Metadata = String ;
92
- type BigInt = String ;
94
+ type JSON = String ;
93
95
type B64JSON = String ;
94
96
type Latitude = f64 ;
95
97
type Longitude = f64 ;
96
- type UUID = String ;
98
+ // type mutationInput_post_startWorker_workerLabel = String;
99
+
100
+ // pub enum mutationInput_post_startWorker_workerLabel {
101
+ // addAffordance_kNNvisual,
102
+ // solveGraph_Wkr,
103
+ // solveGraphParametric_Wkr,
104
+ // runLambda_Wkr,
105
+ // saveDFG_Wkr,
106
+ // loadDFG_Wkr,
107
+ // simulateIMU,
108
+ // runGenericMapper,
109
+ // echo
110
+ // }
97
111
98
112
113
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
99
114
#[ derive( GraphQLQuery ) ]
100
115
#[ graphql(
101
116
schema_path = "src/schema.json" ,
@@ -105,6 +120,7 @@ type UUID = String;
105
120
pub struct GetBlobEntry ;
106
121
107
122
123
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
108
124
#[ derive( GraphQLQuery , Clone ) ]
109
125
#[ graphql(
110
126
schema_path = "src/schema.json" ,
@@ -114,6 +130,7 @@ pub struct GetBlobEntry;
114
130
pub struct ListAgents ;
115
131
116
132
133
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
117
134
#[ derive( GraphQLQuery , Clone ) ]
118
135
#[ graphql(
119
136
schema_path = "src/schema.json" ,
@@ -123,6 +140,7 @@ pub struct ListAgents;
123
140
pub struct UpdateAgentMetadata ;
124
141
125
142
143
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
126
144
#[ derive( GraphQLQuery , Clone ) ]
127
145
#[ graphql(
128
146
schema_path = "src/schema.json" ,
@@ -132,6 +150,7 @@ pub struct UpdateAgentMetadata;
132
150
pub struct GetAgents ;
133
151
134
152
153
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
135
154
#[ derive( GraphQLQuery ) ]
136
155
#[ graphql(
137
156
schema_path = "src/schema.json" ,
@@ -141,6 +160,7 @@ pub struct GetAgents;
141
160
pub struct GetURS ;
142
161
143
162
163
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
144
164
#[ derive( GraphQLQuery ) ]
145
165
#[ graphql(
146
166
schema_path = "src/schema.json" ,
@@ -150,6 +170,7 @@ pub struct GetURS;
150
170
pub struct ListModels ;
151
171
152
172
173
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
153
174
#[ derive( GraphQLQuery ) ]
154
175
#[ graphql(
155
176
schema_path = "src/schema.json" ,
@@ -158,6 +179,8 @@ pub struct ListModels;
158
179
) ]
159
180
pub struct ListModelsGraphs ;
160
181
182
+
183
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
161
184
#[ derive( GraphQLQuery ) ]
162
185
#[ graphql(
163
186
schema_path = "src/schema.json" ,
@@ -166,6 +189,8 @@ pub struct ListModelsGraphs;
166
189
) ]
167
190
pub struct GetAgentEntriesMetadata ;
168
191
192
+
193
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
169
194
#[ derive( GraphQLQuery ) ]
170
195
#[ graphql(
171
196
schema_path = "src/schema.json" ,
@@ -175,6 +200,7 @@ pub struct GetAgentEntriesMetadata;
175
200
pub struct CreateDownload ;
176
201
177
202
203
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
178
204
#[ derive( GraphQLQuery ) ]
179
205
#[ graphql(
180
206
schema_path = "src/schema.json" ,
@@ -184,6 +210,7 @@ pub struct CreateDownload;
184
210
pub struct CreateUpload ;
185
211
186
212
213
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
187
214
#[ derive( GraphQLQuery ) ]
188
215
#[ graphql(
189
216
schema_path = "src/schema.json" ,
@@ -193,6 +220,17 @@ pub struct CreateUpload;
193
220
pub struct CompleteUpload ;
194
221
195
222
223
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
224
+ #[ derive( GraphQLQuery ) ]
225
+ #[ graphql(
226
+ schema_path = "src/schema.json" ,
227
+ query_path = "src/gql/StartWorker.gql" ,
228
+ response_derives = "Debug"
229
+ ) ]
230
+ pub struct StartWorker ;
231
+
232
+
233
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
196
234
#[ derive( GraphQLQuery ) ]
197
235
#[ graphql(
198
236
schema_path = "src/schema.json" ,
@@ -202,6 +240,7 @@ pub struct CompleteUpload;
202
240
pub struct GetVariable ;
203
241
204
242
243
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
205
244
#[ derive( GraphQLQuery ) ]
206
245
#[ graphql(
207
246
schema_path = "src/schema.json" ,
@@ -212,6 +251,7 @@ pub struct ListVariables;
212
251
// Implicit ListWhere due to graphql-client limitation: https://github.com/graphql-rust/graphql-client/issues/508
213
252
214
253
254
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
215
255
#[ derive( GraphQLQuery ) ]
216
256
#[ graphql(
217
257
schema_path = "src/schema.json" ,
@@ -221,6 +261,7 @@ pub struct ListVariables;
221
261
pub struct AddVariable ;
222
262
223
263
264
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
224
265
#[ derive( GraphQLQuery ) ]
225
266
#[ graphql(
226
267
schema_path = "src/schema.json" ,
@@ -230,6 +271,7 @@ pub struct AddVariable;
230
271
pub struct AddBlobEntryAgent ;
231
272
232
273
274
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
233
275
#[ derive( GraphQLQuery ) ]
234
276
#[ graphql(
235
277
schema_path = "src/schema.json" ,
@@ -239,6 +281,7 @@ pub struct AddBlobEntryAgent;
239
281
pub struct AddBlobEntryModel ;
240
282
241
283
284
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
242
285
#[ derive( GraphQLQuery ) ]
243
286
#[ graphql(
244
287
schema_path = "src/schema.json" ,
@@ -247,6 +290,7 @@ pub struct AddBlobEntryModel;
247
290
) ]
248
291
pub struct DeleteBlobEntry ;
249
292
293
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
250
294
#[ derive( GraphQLQuery ) ]
251
295
#[ graphql(
252
296
schema_path = "src/schema.json" ,
@@ -255,6 +299,7 @@ pub struct DeleteBlobEntry;
255
299
) ]
256
300
pub struct DeleteBlob ;
257
301
302
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
258
303
#[ derive( GraphQLQuery ) ]
259
304
#[ graphql(
260
305
schema_path = "src/schema.json" ,
@@ -264,6 +309,7 @@ pub struct DeleteBlob;
264
309
pub struct GetOrg ;
265
310
266
311
312
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
267
313
#[ derive( GraphQLQuery ) ]
268
314
#[ graphql(
269
315
schema_path = "src/schema.json" ,
@@ -273,6 +319,7 @@ pub struct GetOrg;
273
319
pub struct ListGraphs ;
274
320
275
321
322
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
276
323
#[ derive( GraphQLQuery ) ]
277
324
#[ graphql(
278
325
schema_path = "src/schema.json" ,
@@ -281,6 +328,7 @@ pub struct ListGraphs;
281
328
) ]
282
329
pub struct AddAgent ;
283
330
331
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
284
332
#[ derive( GraphQLQuery ) ]
285
333
#[ graphql(
286
334
schema_path = "src/schema.json" ,
@@ -289,6 +337,7 @@ pub struct AddAgent;
289
337
) ]
290
338
pub struct AddModel ;
291
339
340
+ #[ cfg( any( feature = "tokio" , feature = "wasm" , feature = "blocking" ) ) ]
292
341
#[ derive( GraphQLQuery ) ]
293
342
#[ graphql(
294
343
schema_path = "src/schema.json" ,
0 commit comments