yt-gen-app/example.yml

91 lines
2.7 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: localhost:4200
basePath: /api
db:
sqlite: true
tables:
- id: d62df683-7e0c-4b96-b8e6-11c660f58ff8
name: test1
pk: uuid
fields:
- id: e14d5504-fc3b-4ea1-9b5d-22bfa77fce94
name: F1
type: text
- 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
rest:
/reference/test1:
name: test1
groupName: nogroup
summary: Общее описание
comment: Описание
data:
id: d62df683-7e0c-4b96-b8e6-11c660f58ff8
name: db.test1
filter:
- id: e14d5504-fc3b-4ea1-9b5d-22bfa77fce94
name: f1
editable: true
fieldId:
id: 00000000-0000-0000-0000-000000000000
name: id
roles:
DELETE:
- APP_ADMIN
GET:
- APP_ADMIN
LIST:
- APP_ADMIN
POST:
- APP_ADMIN
PUT:
- APP_ADMIN
frontend:
lang: angular
theme: primeng/resources/themes/mdc-light-indigo/theme.css