forked from coursemos/iModules.modules.push
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
151 lines (151 loc) · 4.71 KB
/
package.json
File metadata and controls
151 lines (151 loc) · 4.71 KB
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
{
"id": "tools.moimz.imodules.modules.push",
"icon": "mi mi-notification",
"title": {
"ko": "알림"
},
"version": "4.0.0",
"description": {
"ko": "알림발송을 위한 모듈입니다."
},
"author": {
"name": "Arzz",
"email": "arzz@arzz.com"
},
"homepage": "https://www.imodules.io",
"versionChecker": "https://api.moimz.com/download/latest",
"dependencies": {
"core": "4.0.0"
},
"language": "ko",
"global": true,
"admin": true,
"context": true,
"configs": {
"template": {
"type": "template",
"label": {
"ko": "템플릿"
},
"component": {
"type": "module",
"name": "push"
},
"default": "default"
}
},
"databases": {
"messages": {
"columns": {
"message_id": {
"type": "char",
"length": 36,
"comment": "알림고유값"
},
"member_id": {
"type": "int",
"comment": "수신자회원고유값"
},
"component_type": {
"type": "varchar",
"length": 10,
"comment": "알림을 전송한 컴포넌트종류"
},
"component_name": {
"type": "varchar",
"length": 50,
"comment": "알림을 전송한 컴포넌트명"
},
"target_type": {
"type": "varchar",
"length": 50,
"comment": "알림대상"
},
"target_id": {
"type": "varchar",
"length": 100,
"comment": "알림대상고유값"
},
"code": {
"type": "varchar",
"length": 20,
"comment": "알림코드"
},
"contents": {
"type": "json",
"comment": "알림내용"
},
"sended_by": {
"type": "int",
"comment": "발송자회원고유값"
},
"sended_at": {
"type": "int",
"comment": "발송시각"
},
"is_checked": {
"type": "enum",
"length": "'TRUE','FALSE'",
"default": "FALSE",
"comment": "알림확인여부"
},
"is_readed": {
"type": "enum",
"length": "'TRUE','FALSE'",
"default": "FALSE",
"comment": "읽음여부"
}
},
"indexes": {
"message_id": "primary_key",
"member_id,component_type,component_name,target_type,target_id,code": "index"
},
"comment": "아이모듈 알림 메시지"
},
"settings": {
"columns": {
"member_id": {
"type": "int",
"comment": "회원고유값"
},
"component_type": {
"type": "varchar",
"length": 10,
"comment": "컴포넌트종류"
},
"component_name": {
"type": "varchar",
"length": 50,
"comment": "컴포넌트명"
},
"code": {
"type": "varchar",
"length": 20,
"comment": "알림코드"
},
"web": {
"type": "enum",
"length": "'TRUE','FALSE'",
"default": "TRUE",
"comment": "웹수신여부"
},
"sms": {
"type": "enum",
"length": "'TRUE','FALSE'",
"default": "FALSE",
"comment": "SMS수신여부"
},
"email": {
"type": "enum",
"length": "'TRUE','FALSE'",
"default": "FALSE",
"comment": "이메일수신여부"
}
},
"indexes": {
"member_id,component_type,component_name,code": "primary_key"
},
"comment": "아이모듈 알림 수신설정"
}
}
}