@xano/developer-mcp 1.0.32 → 1.0.33
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/README.md +4 -4
- package/dist/cli_docs/topics/workspace.js +50 -6
- package/dist/xanoscript_docs/README.md +67 -31
- package/dist/xanoscript_docs/addons.md +2 -2
- package/dist/xanoscript_docs/agents.md +2 -2
- package/dist/xanoscript_docs/apis.md +9 -7
- package/dist/xanoscript_docs/branch.md +5 -4
- package/dist/xanoscript_docs/database.md +1 -1
- package/dist/xanoscript_docs/functions.md +2 -2
- package/dist/xanoscript_docs/integrations.md +1 -1
- package/dist/xanoscript_docs/mcp-servers.md +12 -12
- package/dist/xanoscript_docs/performance.md +1 -1
- package/dist/xanoscript_docs/realtime.md +1 -1
- package/dist/xanoscript_docs/run.md +15 -14
- package/dist/xanoscript_docs/schema.md +1 -1
- package/dist/xanoscript_docs/security.md +1 -1
- package/dist/xanoscript_docs/streaming.md +1 -1
- package/dist/xanoscript_docs/tables.md +1 -1
- package/dist/xanoscript_docs/tasks.md +1 -1
- package/dist/xanoscript_docs/testing.md +1 -1
- package/dist/xanoscript_docs/tools.md +1 -1
- package/dist/xanoscript_docs/triggers.md +1 -1
- package/dist/xanoscript_docs/types.md +1 -1
- package/dist/xanoscript_docs/workspace.md +6 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -198,7 +198,7 @@ console.log(overview.documentation);
|
|
|
198
198
|
const syntaxDocs = xanoscriptDocs({ topic: 'syntax' });
|
|
199
199
|
|
|
200
200
|
// Get context-aware docs for a file path
|
|
201
|
-
const apiDocs = xanoscriptDocs({ file_path: '
|
|
201
|
+
const apiDocs = xanoscriptDocs({ file_path: 'api/users/create_post.xs' });
|
|
202
202
|
|
|
203
203
|
// Get compact quick reference
|
|
204
204
|
const quickRef = xanoscriptDocs({ topic: 'database', mode: 'quick_reference' });
|
|
@@ -326,7 +326,7 @@ Retrieves XanoScript programming language documentation with context-aware suppo
|
|
|
326
326
|
| Parameter | Type | Required | Description |
|
|
327
327
|
|-----------|------|----------|-------------|
|
|
328
328
|
| `topic` | string | No | Specific documentation topic to retrieve |
|
|
329
|
-
| `file_path` | string | No | File path being edited for context-aware docs (e.g., `
|
|
329
|
+
| `file_path` | string | No | File path being edited for context-aware docs (e.g., `api/users/create_post.xs`) |
|
|
330
330
|
| `mode` | string | No | `full` (default) or `quick_reference` for compact syntax cheatsheet |
|
|
331
331
|
|
|
332
332
|
**Available Topics:**
|
|
@@ -366,7 +366,7 @@ xanoscript_docs()
|
|
|
366
366
|
xanoscript_docs({ topic: "functions" })
|
|
367
367
|
|
|
368
368
|
// Context-aware: get all docs relevant to file being edited
|
|
369
|
-
xanoscript_docs({ file_path: "
|
|
369
|
+
xanoscript_docs({ file_path: "api/users/create_post.xs" })
|
|
370
370
|
|
|
371
371
|
// Compact quick reference (uses less context)
|
|
372
372
|
xanoscript_docs({ topic: "database", mode: "quick_reference" })
|
|
@@ -667,7 +667,7 @@ Compiles TypeScript to JavaScript in the `dist/` directory.
|
|
|
667
667
|
- Markdown files for XanoScript language reference
|
|
668
668
|
- Configured in `src/index.ts` via `XANOSCRIPT_DOCS_V2` with:
|
|
669
669
|
- **file**: The markdown file containing the documentation
|
|
670
|
-
- **applyTo**: Glob patterns for context-aware matching (e.g., `
|
|
670
|
+
- **applyTo**: Glob patterns for context-aware matching (e.g., `api/**/*.xs`)
|
|
671
671
|
- **description**: Human-readable description of the topic
|
|
672
672
|
|
|
673
673
|
**Meta API Documentation** (`src/meta_api_docs/`):
|
|
@@ -17,16 +17,59 @@ function: refresh_token
|
|
|
17
17
|
...
|
|
18
18
|
\`\`\`
|
|
19
19
|
|
|
20
|
-
When you pull, the CLI splits these into individual \`.xs\` files organized by type
|
|
20
|
+
When you pull, the CLI splits these into individual \`.xs\` files organized by type.
|
|
21
|
+
|
|
22
|
+
## Directory Structure
|
|
23
|
+
|
|
24
|
+
After \`workspace:pull\`, files are organized using snake_case naming:
|
|
25
|
+
|
|
26
|
+
\`\`\`
|
|
27
|
+
./xano-code/
|
|
28
|
+
├── workspace/
|
|
29
|
+
│ ├── my_workspace.xs # Workspace configuration
|
|
30
|
+
│ └── trigger/
|
|
31
|
+
│ └── on_deploy.xs # Workspace triggers
|
|
32
|
+
├── api/
|
|
33
|
+
│ └── users/ # API group folder (snake_case)
|
|
34
|
+
│ ├── api_group.xs # API group definition
|
|
35
|
+
│ ├── get_all.xs # GET /users
|
|
36
|
+
│ ├── get_one_get.xs # GET /users/:id
|
|
37
|
+
│ ├── create_post.xs # POST /users
|
|
38
|
+
│ └── nested/
|
|
39
|
+
│ └── profile_get.xs # GET /users/nested/profile
|
|
40
|
+
├── function/
|
|
41
|
+
│ └── validate_token.xs # Reusable functions
|
|
42
|
+
├── task/
|
|
43
|
+
│ └── daily_cleanup.xs # Scheduled tasks
|
|
44
|
+
├── table/
|
|
45
|
+
│ ├── users.xs # Table schema
|
|
46
|
+
│ └── trigger/
|
|
47
|
+
│ └── on_user_create.xs # Table triggers
|
|
48
|
+
├── agent/
|
|
49
|
+
│ ├── support_bot.xs # AI agents
|
|
50
|
+
│ └── trigger/
|
|
51
|
+
│ └── on_message.xs # Agent triggers
|
|
52
|
+
└── mcp_server/
|
|
53
|
+
├── my_server.xs # MCP server definitions
|
|
54
|
+
└── trigger/
|
|
55
|
+
└── on_connect.xs # MCP server triggers
|
|
56
|
+
\`\`\``,
|
|
21
57
|
ai_hints: `**Key concepts:**
|
|
22
58
|
- \`pull\` downloads workspace code and splits into organized .xs files
|
|
23
59
|
- \`push\` combines .xs files and uploads to Xano
|
|
24
|
-
- Files
|
|
60
|
+
- Files use snake_case naming for folders and filenames
|
|
61
|
+
- API endpoints are nested under their API group folder
|
|
25
62
|
|
|
26
63
|
**Typical workflow:**
|
|
27
64
|
1. \`xano workspace:pull ./xano-code\` - download
|
|
28
|
-
2.
|
|
29
|
-
3.
|
|
65
|
+
2. Navigate to \`api/{group}/\` for API endpoints, \`function/\` for functions, etc.
|
|
66
|
+
3. Edit .xs files with your editor/IDE
|
|
67
|
+
4. \`xano workspace:push ./xano-code\` - deploy
|
|
68
|
+
|
|
69
|
+
**File naming:**
|
|
70
|
+
- All folders and files use snake_case (e.g., \`my_function.xs\`, \`user_profile/\`)
|
|
71
|
+
- API endpoints include verb suffix (e.g., \`create_post.xs\`, \`get_one_get.xs\`)
|
|
72
|
+
- Triggers are nested under \`{type}/trigger/\` folders
|
|
30
73
|
|
|
31
74
|
**Version control:**
|
|
32
75
|
- The pulled directory structure is git-friendly
|
|
@@ -159,13 +202,14 @@ When you pull, the CLI splits these into individual \`.xs\` files organized by t
|
|
|
159
202
|
description: "Edit Xano code locally with your preferred tools",
|
|
160
203
|
steps: [
|
|
161
204
|
"Pull workspace: `xano workspace:pull ./code`",
|
|
162
|
-
"
|
|
205
|
+
"Navigate to organized folders: `api/{group}/`, `function/`, `table/`, etc.",
|
|
206
|
+
"Edit .xs files in your IDE (files use snake_case naming)",
|
|
163
207
|
"Validate changes: Use xanoscript_docs MCP tool",
|
|
164
208
|
"Push changes: `xano workspace:push ./code`",
|
|
165
209
|
"Test in Xano dashboard or via API"
|
|
166
210
|
],
|
|
167
211
|
example: `xano workspace:pull ./my-app
|
|
168
|
-
#
|
|
212
|
+
# Files organized: api/users/create_post.xs, function/validate_token.xs, etc.
|
|
169
213
|
xano workspace:push ./my-app`
|
|
170
214
|
},
|
|
171
215
|
{
|
|
@@ -4,45 +4,81 @@ XanoScript is the declarative scripting language for [Xano](https://xano.com), a
|
|
|
4
4
|
|
|
5
5
|
## Quick Reference
|
|
6
6
|
|
|
7
|
-
| Construct
|
|
8
|
-
|
|
|
9
|
-
| `
|
|
10
|
-
| `
|
|
11
|
-
| `
|
|
12
|
-
| `
|
|
13
|
-
|
|
|
14
|
-
| `
|
|
15
|
-
| `
|
|
16
|
-
| `
|
|
17
|
-
| `
|
|
18
|
-
| `
|
|
19
|
-
| `
|
|
20
|
-
| `
|
|
21
|
-
| `
|
|
7
|
+
| Construct | File Location | Purpose |
|
|
8
|
+
| ------------------- | ------------------------------------ | ----------------------------- |
|
|
9
|
+
| `workspace` | `workspace/{name}.xs` | Workspace-level configuration |
|
|
10
|
+
| `workspace_trigger` | `workspace/trigger/{name}.xs` | Workspace event handlers |
|
|
11
|
+
| `table` | `table/{name}.xs` | Database schema definition |
|
|
12
|
+
| `table_trigger` | `table/trigger/{name}.xs` | Table event handlers |
|
|
13
|
+
| `api_group` | `api/{group}/api_group.xs` | API group definition |
|
|
14
|
+
| `query` | `api/{group}/{endpoint}_{verb}.xs` | HTTP API endpoints |
|
|
15
|
+
| `function` | `function/{name}.xs` | Reusable logic blocks |
|
|
16
|
+
| `task` | `task/{name}.xs` | Scheduled/cron jobs |
|
|
17
|
+
| `agent` | `agent/{name}.xs` | AI-powered agents |
|
|
18
|
+
| `agent_trigger` | `agent/trigger/{name}.xs` | Agent event handlers |
|
|
19
|
+
| `tool` | `tool/{name}.xs` | Tools for AI agents |
|
|
20
|
+
| `mcp_server` | `mcp_server/{name}.xs` | MCP server definitions |
|
|
21
|
+
| `mcp_server_trigger`| `mcp_server/trigger/{name}.xs` | MCP server event handlers |
|
|
22
|
+
| `addon` | `addon/{name}.xs` | Subqueries for related data |
|
|
23
|
+
| `middleware` | `middleware/{name}.xs` | Request/response interceptors |
|
|
24
|
+
| `branch` | `branch.xs` | Branch-level configuration |
|
|
25
|
+
| `realtime_channel` | Configuration | Realtime channel settings |
|
|
26
|
+
|
|
27
|
+
**Naming convention:** All folder and file names use `snake_case` (e.g., `user_profile.xs`, `get_all_users_get.xs`).
|
|
22
28
|
|
|
23
29
|
**Important:** Each `.xs` file must contain exactly one definition. You cannot define multiple tables, functions, queries, or other constructs in a single file.
|
|
24
30
|
|
|
25
31
|
## Workspace Structure
|
|
26
32
|
|
|
33
|
+
After pulling from Xano, files are organized using `snake_case` naming:
|
|
34
|
+
|
|
27
35
|
```
|
|
28
36
|
project/
|
|
29
|
-
├──
|
|
30
|
-
├──
|
|
31
|
-
├──
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
├──
|
|
37
|
-
├──
|
|
38
|
-
├──
|
|
39
|
-
├──
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
├──
|
|
43
|
-
└──
|
|
37
|
+
├── branch.xs # Branch configuration
|
|
38
|
+
├── workspace/
|
|
39
|
+
│ ├── my_workspace.xs # Workspace configuration
|
|
40
|
+
│ └── trigger/
|
|
41
|
+
│ └── on_deploy.xs # Workspace triggers
|
|
42
|
+
├── api/
|
|
43
|
+
│ └── users/ # API group folder
|
|
44
|
+
│ ├── api_group.xs # API group definition
|
|
45
|
+
│ ├── get_all_get.xs # GET /users
|
|
46
|
+
│ ├── get_one_get.xs # GET /users/:id
|
|
47
|
+
│ ├── create_post.xs # POST /users
|
|
48
|
+
│ └── nested/
|
|
49
|
+
│ └── profile_get.xs # Nested endpoint: GET /users/nested/profile
|
|
50
|
+
├── function/
|
|
51
|
+
│ └── validate_token.xs # Reusable functions
|
|
52
|
+
├── task/
|
|
53
|
+
│ └── daily_cleanup.xs # Scheduled jobs
|
|
54
|
+
├── table/
|
|
55
|
+
│ ├── users.xs # Table schema
|
|
56
|
+
│ └── trigger/
|
|
57
|
+
│ └── on_user_create.xs # Table triggers
|
|
58
|
+
├── agent/
|
|
59
|
+
│ ├── support_bot.xs # AI agents
|
|
60
|
+
│ └── trigger/
|
|
61
|
+
│ └── on_message.xs # Agent triggers
|
|
62
|
+
├── tool/
|
|
63
|
+
│ └── search_docs.xs # AI tools
|
|
64
|
+
├── mcp_server/
|
|
65
|
+
│ ├── my_server.xs # MCP server definitions
|
|
66
|
+
│ └── trigger/
|
|
67
|
+
│ └── on_connect.xs # MCP server triggers
|
|
68
|
+
├── middleware/
|
|
69
|
+
│ └── auth_check.xs # Request/response interceptors
|
|
70
|
+
├── addon/
|
|
71
|
+
│ └── user_posts.xs # Query addons
|
|
72
|
+
├── static/ # Frontend files (HTML, CSS, JS)
|
|
73
|
+
└── run/ # Job and service configurations
|
|
44
74
|
```
|
|
45
75
|
|
|
76
|
+
**Key conventions:**
|
|
77
|
+
- All folders and files use `snake_case` naming
|
|
78
|
+
- API endpoints include the HTTP verb suffix (e.g., `create_post.xs`, `get_one_get.xs`)
|
|
79
|
+
- Triggers are nested under `{type}/trigger/` folders
|
|
80
|
+
- Nested API paths become nested folders (e.g., `/users/nested/profile` → `api/users/nested/profile_get.xs`)
|
|
81
|
+
|
|
46
82
|
## Environment Variables
|
|
47
83
|
|
|
48
84
|
Access with `$env.<name>`. Common built-in variables include `$env.$remote_ip`, `$env.$http_headers`, `$env.$request_method`, `$env.$datasource`, and `$env.$branch`. Custom environment variables are set in the Xano dashboard and accessed as `$env.MY_VAR`.
|
|
@@ -100,7 +136,7 @@ Documentation files use frontmatter to specify which file patterns they apply to
|
|
|
100
136
|
|
|
101
137
|
```markdown
|
|
102
138
|
---
|
|
103
|
-
applyTo: "
|
|
139
|
+
applyTo: "function/**/*.xs"
|
|
104
140
|
---
|
|
105
141
|
```
|
|
106
142
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
applyTo: "
|
|
2
|
+
applyTo: "addon/**/*.xs, function/**/*.xs, api/**/*.xs"
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# Addons
|
|
@@ -231,7 +231,7 @@ db.query product {
|
|
|
231
231
|
### File Structure
|
|
232
232
|
|
|
233
233
|
```
|
|
234
|
-
|
|
234
|
+
addon/
|
|
235
235
|
├── comment_count.xs
|
|
236
236
|
├── like_count.xs
|
|
237
237
|
├── author_details.xs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
applyTo: "
|
|
2
|
+
applyTo: "agent/**/*.xs"
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# Agents
|
|
@@ -186,7 +186,7 @@ agent "Classifier" {
|
|
|
186
186
|
|
|
187
187
|
## Tools
|
|
188
188
|
|
|
189
|
-
Reference tools by name from `
|
|
189
|
+
Reference tools by name from `tool/` directory:
|
|
190
190
|
|
|
191
191
|
```xs
|
|
192
192
|
tools = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
applyTo: "
|
|
2
|
+
applyTo: "api/**/*.xs"
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# APIs
|
|
@@ -77,16 +77,18 @@ api_group Authentication {
|
|
|
77
77
|
### File Structure
|
|
78
78
|
|
|
79
79
|
```
|
|
80
|
-
|
|
80
|
+
api/
|
|
81
81
|
├── users/
|
|
82
|
-
│ ├── api_group.xs
|
|
83
|
-
│ ├──
|
|
84
|
-
│ └──
|
|
82
|
+
│ ├── api_group.xs # Defines group (canonical = "myapp-users")
|
|
83
|
+
│ ├── list_get.xs # GET /myapp-users/list
|
|
84
|
+
│ └── by_id_get.xs # GET /myapp-users/{id}
|
|
85
85
|
└── products/
|
|
86
|
-
├── api_group.xs
|
|
87
|
-
└──
|
|
86
|
+
├── api_group.xs # Defines group (canonical = "myapp-products")
|
|
87
|
+
└── search_get.xs # GET /myapp-products/search
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
+
**Naming convention:** Endpoint files use `{name}_{verb}.xs` format (e.g., `list_get.xs`, `create_post.xs`).
|
|
91
|
+
|
|
90
92
|
Full URL: `/<canonical>/<query name>` (e.g., `/myapp-users/profile`)
|
|
91
93
|
|
|
92
94
|
---
|
|
@@ -222,10 +222,11 @@ Branch configuration files are typically named `branch.xs` and placed at the wor
|
|
|
222
222
|
|
|
223
223
|
```
|
|
224
224
|
project/
|
|
225
|
-
├── branch.xs
|
|
226
|
-
├──
|
|
227
|
-
├──
|
|
228
|
-
|
|
225
|
+
├── branch.xs # Branch configuration
|
|
226
|
+
├── workspace/
|
|
227
|
+
├── table/
|
|
228
|
+
├── function/
|
|
229
|
+
└── api/
|
|
229
230
|
```
|
|
230
231
|
|
|
231
232
|
---
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
applyTo: "
|
|
2
|
+
applyTo: "function/**/*.xs"
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# Functions
|
|
@@ -62,7 +62,7 @@ function "calculate_total" {
|
|
|
62
62
|
Functions can be organized in subfolders:
|
|
63
63
|
|
|
64
64
|
```
|
|
65
|
-
|
|
65
|
+
function/
|
|
66
66
|
├── math/
|
|
67
67
|
│ ├── add.xs
|
|
68
68
|
│ └── multiply.xs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
applyTo: "
|
|
2
|
+
applyTo: "mcp_server/**/*.xs"
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
# MCP Servers
|
|
@@ -52,7 +52,7 @@ mcp_server "Customer Support" {
|
|
|
52
52
|
|
|
53
53
|
## Tools Block
|
|
54
54
|
|
|
55
|
-
Reference tools from `
|
|
55
|
+
Reference tools from `tool/` directory by name:
|
|
56
56
|
|
|
57
57
|
```xs
|
|
58
58
|
tools = [
|
|
@@ -62,7 +62,7 @@ tools = [
|
|
|
62
62
|
]
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
Tool names must exactly match `.xs` file names in `
|
|
65
|
+
Tool names must exactly match `.xs` file names in `tool/`.
|
|
66
66
|
|
|
67
67
|
---
|
|
68
68
|
|
|
@@ -146,19 +146,19 @@ mcp_server "CRM" {
|
|
|
146
146
|
|
|
147
147
|
### By Domain
|
|
148
148
|
```
|
|
149
|
-
|
|
150
|
-
├── support.xs
|
|
151
|
-
├── ecommerce.xs
|
|
152
|
-
├── analytics.xs
|
|
153
|
-
└── admin.xs
|
|
149
|
+
mcp_server/
|
|
150
|
+
├── support.xs # Customer support tools
|
|
151
|
+
├── ecommerce.xs # Store management
|
|
152
|
+
├── analytics.xs # Reporting and metrics
|
|
153
|
+
└── admin.xs # Administrative functions
|
|
154
154
|
```
|
|
155
155
|
|
|
156
156
|
### By Access Level
|
|
157
157
|
```
|
|
158
|
-
|
|
159
|
-
├── public.xs
|
|
160
|
-
├── authenticated.xs
|
|
161
|
-
└── admin.xs
|
|
158
|
+
mcp_server/
|
|
159
|
+
├── public.xs # Public-facing tools
|
|
160
|
+
├── authenticated.xs # Requires auth
|
|
161
|
+
└── admin.xs # Admin-only tools
|
|
162
162
|
```
|
|
163
163
|
|
|
164
164
|
---
|
|
@@ -16,9 +16,9 @@ Define job and service configurations for the Xano Job Runner.
|
|
|
16
16
|
### Directory Structure
|
|
17
17
|
```
|
|
18
18
|
run.xs
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
table/
|
|
20
|
+
function/
|
|
21
|
+
api/
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
---
|
|
@@ -216,9 +216,9 @@ function "process_data" {
|
|
|
216
216
|
|
|
217
217
|
```
|
|
218
218
|
run.xs
|
|
219
|
-
|
|
219
|
+
table/
|
|
220
220
|
└── users.xs
|
|
221
|
-
|
|
221
|
+
function/
|
|
222
222
|
└── migrate_users.xs
|
|
223
223
|
```
|
|
224
224
|
|
|
@@ -235,7 +235,7 @@ run.job "Data Migration" {
|
|
|
235
235
|
}
|
|
236
236
|
```
|
|
237
237
|
|
|
238
|
-
###
|
|
238
|
+
### table/users.xs
|
|
239
239
|
```xs
|
|
240
240
|
table users {
|
|
241
241
|
auth = false
|
|
@@ -255,7 +255,7 @@ table users {
|
|
|
255
255
|
}
|
|
256
256
|
```
|
|
257
257
|
|
|
258
|
-
###
|
|
258
|
+
### function/migrate_users.xs
|
|
259
259
|
```xs
|
|
260
260
|
function "migrate_users" {
|
|
261
261
|
input {
|
|
@@ -287,12 +287,13 @@ function "migrate_users" {
|
|
|
287
287
|
|
|
288
288
|
```
|
|
289
289
|
run.xs
|
|
290
|
-
|
|
290
|
+
table/
|
|
291
291
|
└── event.xs
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
├──
|
|
295
|
-
|
|
292
|
+
api/
|
|
293
|
+
└── events/
|
|
294
|
+
├── api_group.xs
|
|
295
|
+
├── list_get.xs
|
|
296
|
+
└── add_post.xs
|
|
296
297
|
```
|
|
297
298
|
|
|
298
299
|
### run.xs
|
|
@@ -306,7 +307,7 @@ run.service "Event Tracker" {
|
|
|
306
307
|
}
|
|
307
308
|
```
|
|
308
309
|
|
|
309
|
-
###
|
|
310
|
+
### table/event.xs
|
|
310
311
|
```xs
|
|
311
312
|
table event {
|
|
312
313
|
auth = false
|
|
@@ -322,7 +323,7 @@ table event {
|
|
|
322
323
|
}
|
|
323
324
|
```
|
|
324
325
|
|
|
325
|
-
###
|
|
326
|
+
### api/events/list_get.xs
|
|
326
327
|
```xs
|
|
327
328
|
query list verb=GET {
|
|
328
329
|
api_group = "events"
|
|
@@ -175,11 +175,12 @@ Workspace configuration is stored in `workspace.xs` at the root of your project.
|
|
|
175
175
|
|
|
176
176
|
```
|
|
177
177
|
project/
|
|
178
|
-
├──
|
|
179
|
-
├──
|
|
180
|
-
|
|
181
|
-
├──
|
|
182
|
-
|
|
178
|
+
├── branch.xs # Branch configuration
|
|
179
|
+
├── workspace/
|
|
180
|
+
│ └── my_workspace.xs # Workspace configuration
|
|
181
|
+
├── table/
|
|
182
|
+
├── function/
|
|
183
|
+
└── api/
|
|
183
184
|
```
|
|
184
185
|
|
|
185
186
|
---
|
package/package.json
CHANGED