yt-gen-app/example.yml
2023-07-19 16:02:07 +03:00

54 lines
1.6 KiB
YAML

name: test
title: Example
version: "1.0"
description: Example project
termsOfServices: https://ymnuktech.ru/privacy-policy/
contactName: API Support
contactUrl: ymnuktech.ru
contactEmail: ymnuktech@mail.ru
licenseName: Apache 2.0
licenseUrl: http://www.apache.org/licenses/LICENSE-2.0.html
host: example.com
basePath: /api
db:
sqlite: true
tables:
- id: 5fb86d34-aada-409a-ac9d-29fd1f7c2d1b
name: test___test_1
pk: uuid
fields:
- id: f9943e51-ff94-4e61-a857-4bbfd4c55575
name: F1
type: text
recursive: true
- id: 181418d3-8d28-45de-b2a7-d1df72d556b3
name: test2
pk: int
fields:
- id: f919a13e-1454-4872-b7e0-d62ded372661
name: F1
type: text
- id: 197b88ea-0b8b-4c0d-a552-54effe03b066
name: F2
type: text
fks:
- id: 041f1b2b-0511-493a-8386-2ccf2246a7d2
name: test___test_1
idTable: 5fb86d34-aada-409a-ac9d-29fd1f7c2d1b
tableName: test___test_1
roles:
- id: 0ef16d57-deba-4b09-a147-cb311d20b383
name: APP_ADMIN
display: Администратор приложения
- id: 2a2d0412-45e4-4131-9a0d-34c908e5a206
name: SEC_ADMIN
display: Администратор безопасности
backend:
config:
- name: nominatim
type: string
help: Nominatim server for geocoding
- name: tile_server
type: string
help: Tile server for download tiles map