@xano/developer-mcp 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/xanoscript_docs/run.md +16 -24
- package/dist/xanoscript_docs/types.md +11 -0
- package/package.json +1 -1
|
@@ -15,16 +15,10 @@ Define job and service configurations for the Xano Job Runner.
|
|
|
15
15
|
|
|
16
16
|
### Directory Structure
|
|
17
17
|
```
|
|
18
|
-
run
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
│ └── functions/
|
|
23
|
-
└── my-service/
|
|
24
|
-
├── run.xs
|
|
25
|
-
├── tables/
|
|
26
|
-
├── functions/
|
|
27
|
-
└── apis/
|
|
18
|
+
run.xs
|
|
19
|
+
tables/
|
|
20
|
+
functions/
|
|
21
|
+
apis/
|
|
28
22
|
```
|
|
29
23
|
|
|
30
24
|
---
|
|
@@ -203,12 +197,11 @@ function "process_data" {
|
|
|
203
197
|
## Complete Job Example
|
|
204
198
|
|
|
205
199
|
```
|
|
206
|
-
run
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
└──
|
|
211
|
-
└── migrate_users.xs
|
|
200
|
+
run.xs
|
|
201
|
+
tables/
|
|
202
|
+
└── users.xs
|
|
203
|
+
functions/
|
|
204
|
+
└── migrate_users.xs
|
|
212
205
|
```
|
|
213
206
|
|
|
214
207
|
### run.xs
|
|
@@ -275,14 +268,13 @@ function "migrate_users" {
|
|
|
275
268
|
## Complete Service Example
|
|
276
269
|
|
|
277
270
|
```
|
|
278
|
-
run
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
└── add.xs
|
|
271
|
+
run.xs
|
|
272
|
+
tables/
|
|
273
|
+
└── event.xs
|
|
274
|
+
apis/
|
|
275
|
+
├── api_group.xs
|
|
276
|
+
├── list.xs
|
|
277
|
+
└── add.xs
|
|
286
278
|
```
|
|
287
279
|
|
|
288
280
|
### run.xs
|
|
@@ -60,6 +60,17 @@ input {
|
|
|
60
60
|
}
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
+
**Empty Input Blocks:** When an input block has no parameters, the braces must be on separate lines:
|
|
64
|
+
|
|
65
|
+
```xs
|
|
66
|
+
// Correct
|
|
67
|
+
input {
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Incorrect - will cause errors
|
|
71
|
+
input {}
|
|
72
|
+
```
|
|
73
|
+
|
|
63
74
|
Access inputs in stack: `$input.username`, `$input.age`
|
|
64
75
|
|
|
65
76
|
---
|