-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathvalid-attribute-properties.js
50 lines (44 loc) · 2.29 KB
/
valid-attribute-properties.js
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
// ██╗ ██╗ █████╗ ██╗ ██╗██████╗
// ██║ ██║██╔══██╗██║ ██║██╔══██╗
// ██║ ██║███████║██║ ██║██║ ██║
// ╚██╗ ██╔╝██╔══██║██║ ██║██║ ██║
// ╚████╔╝ ██║ ██║███████╗██║██████╔╝
// ╚═══╝ ╚═╝ ╚═╝╚══════╝╚═╝╚═════╝
//
// ██████╗ ██████╗ ██████╗ ██████╗ ███████╗██████╗ ████████╗██╗███████╗███████╗
// ██╔══██╗██╔══██╗██╔═══██╗██╔══██╗██╔════╝██╔══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██████╔╝██████╔╝██║ ██║██████╔╝█████╗ ██████╔╝ ██║ ██║█████╗ ███████╗
// ██╔═══╝ ██╔══██╗██║ ██║██╔═══╝ ██╔══╝ ██╔══██╗ ██║ ██║██╔══╝ ╚════██║
// ██║ ██║ ██║╚██████╔╝██║ ███████╗██║ ██║ ██║ ██║███████╗███████║
// ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝
//
module.exports = [
// Basic semantics:
'type',
'defaultsTo',
'required',
'allowNull',
'autoUpdatedAt',
'autoCreatedAt',
// Auto-migrations:
'autoMigrations',
// High-level validation rules:
'validations',
// Associations:
'through',
'collection',
'model',
'via',
'dominant',
// Adapter:
'columnName',
'meta',
// At-rest encryption:
'encrypt',
// Advisory
'description',
'extendedDescription',
'moreInfoUrl',
'example',
'protect',
];