-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanvil.yaml
151 lines (151 loc) · 3.67 KB
/
anvil.yaml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
allow_embedding: false
package_name: P_Shopper
startup: {type: form, module: formLogin}
name: P-Shopper
startup_form: null
runtime_options: {version: 2, client_version: '3', server_version: python3-full, server_spec: null}
metadata: {title: P-Shopper, description: A customisable shopping-list and shopping/spending analysis application., logo_img: 'asset:pshopercomic-logo.png'}
services:
- source: /runtime/services/tables.yml
client_config: {}
server_config: {}
- source: /runtime/services/anvil/users.yml
client_config: {allow_signup: true, enable_automatically: true, use_email: true, confirm_email: false, allow_remember_me: true, remember_me_days: 30}
server_config: {user_table: users}
db_schema:
tbllistitems:
title: tblListItems
client: none
server: full
columns:
- name: list_id
admin_ui: {width: 200}
type: link_single
target: tbllists
- name: item_id
admin_ui: {width: 200}
type: link_single
target: tblitems
- name: list_item_id
admin_ui: {width: 200}
type: number
tblcategories:
title: tblCategories
client: none
server: full
columns:
- name: category_id
admin_ui: {width: 200}
type: number
- name: category_name
admin_ui: {width: 200}
type: string
- name: user
admin_ui: {width: 200, order: 2}
type: link_single
target: users
tbllists:
title: tblLists
client: none
server: full
columns:
- name: list_id
admin_ui: {width: 200}
type: number
- name: list_name
admin_ui: {width: 200}
type: string
- name: user
admin_ui: {width: 200}
type: link_single
target: users
tbllongtermhistory:
title: tblLongTermHistory
client: none
server: full
columns:
- name: long_term_id
admin_ui: {width: 200}
type: number
- name: item_name
admin_ui: {width: 200}
type: string
- name: category_id
admin_ui: {width: 200}
type: link_single
target: tblcategories
- name: quantity
admin_ui: {width: 200}
type: number
- name: price
admin_ui: {width: 200}
type: number
- name: purchase_date
admin_ui: {width: 200}
type: date
- name: expiry_date
admin_ui: {width: 200}
type: date
- name: user
admin_ui: {order: 5, width: 200}
type: link_single
target: users
tblitems:
title: tblItems
client: none
server: full
columns:
- name: item_id
admin_ui: {width: 200}
type: number
- name: item_name
admin_ui: {width: 200}
type: string
- name: category_id
admin_ui: {width: 200}
type: link_single
target: tblcategories
- name: quantity
admin_ui: {width: 200}
type: number
- name: brand
admin_ui: {width: 200}
type: string
- name: store
admin_ui: {width: 200}
type: string
- name: aisle
admin_ui: {width: 200}
type: string
users:
title: Users
client: none
server: full
columns:
- name: email
admin_ui: {width: 200}
type: string
- name: enabled
admin_ui: {width: 200}
type: bool
- name: last_login
admin_ui: {width: 200}
type: datetime
- name: password_hash
admin_ui: {width: 200}
type: string
- name: n_password_failures
admin_ui: {width: 200}
type: number
- name: confirmed_email
admin_ui: {width: 200}
type: bool
- name: remembered_logins
admin_ui: {width: 200}
type: simpleObject
- name: signed_up
admin_ui: {width: 200}
type: datetime
- name: theme
admin_ui: {width: 200, order: 8}
type: string