forked from YaoApp/demo-app
-
Notifications
You must be signed in to change notification settings - Fork 3
/
app.yao
36 lines (35 loc) · 1.18 KB
/
app.yao
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"xgen": "1.0",
"name": "::Demo Application",
"short": "::Demo",
"description": "::Another yao application",
"version": "1.0.1",
"setup": "scripts.demo.Data",
"afterLoad": "scripts.load.After", // After loading the application, you can do some initialization operations (optional)
"adminRoot": "admin",
"menu": { "process": "flows.app.menu", "args": ["demo"] },
"optional": {
"hideNotification": true,
"hideSetting": false,
/**
* Admin:
* - PATH: {"api":"/neo"}
* - URL: {"api":"http://localhost:5099/api/__yao/neo"}
*
* Studio:
* - Studio PATH: {"api":"/neo", "studio":true }
* - Studio URL: {"api":"http://localhost:5077/neo", "studio":true }
*/
"neo": { "api": "/neo", "studio": true }
},
/**
* If you use the AI computing power channel provided by Moapi,
* you will receive a corresponding commission when a user purchases goods or services in the app store.
* for more information, please visit: https://welcome.moapi.ai
*/
"moapi": {
"channel": "yao-init-application",
"mirrors": ["kr-mirrors.moapi.ai"],
"secret": "sk-LrS8yVX4mYQ6sTbBtP1uV9KjZ6RiXnD3aF5sH9JkL8QwE4Yz"
}
}