mirror of
https://github.com/trailbaseio/trailbase.git
synced 2026-05-02 22:49:36 -05:00
docs: Add config file location and schema reference.
This commit is contained in:
committed by
Sebastian Jeltsch
parent
ca50b8a28b
commit
c464279284
@@ -35,6 +35,8 @@ TrailBase's configuration file.
|
||||
An example API setup for managing user profiles:
|
||||
|
||||
```json
|
||||
# file: <traildepot>/config.textproto
|
||||
# schema-file: <repo>/crates/core/proto/config.proto
|
||||
record_apis: [
|
||||
{
|
||||
name: "profiles"
|
||||
|
||||
@@ -110,6 +110,8 @@ In this tutorial we want to explore more programmatic access and using
|
||||
TrailBase record APIs.
|
||||
|
||||
```json
|
||||
# file: traildepot/config.textproto
|
||||
# schema-file: <repo>/crates/core/proto/config.proto
|
||||
record_apis: [
|
||||
# ...
|
||||
{
|
||||
|
||||
@@ -332,6 +332,8 @@ We simply need to expose the `counter` table through a world-readable record
|
||||
API (using the admin UI or config file):
|
||||
|
||||
```proto
|
||||
# file: traildepot/config.textproto
|
||||
# schema-file: <repo>/crates/core/proto/config.proto
|
||||
record_apis: [
|
||||
# ...
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user