@carbonorm/carbonreact 1.3.1 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CarbonReact.d.ts +6 -13
- package/dist/hoc/deleteRestfulObjectArrays.d.ts +3 -2
- package/dist/hoc/getStyles.d.ts +3 -3
- package/dist/hoc/updateRestfulObjectArrays.d.ts +3 -2
- package/dist/index.cjs.js +1519 -2650
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.esm.js +1517 -2636
- package/dist/index.esm.js.map +1 -1
- package/dist/variables/C6.d.ts +33 -564
- package/package.json +4 -3
- package/src/CarbonReact.tsx +17 -28
- package/src/hoc/axiosInstance.tsx +1 -1
- package/src/hoc/deleteRestfulObjectArrays.tsx +7 -5
- package/src/hoc/getStyles.tsx +4 -4
- package/src/hoc/setUrl.tsx +1 -1
- package/src/hoc/updateRestfulObjectArrays.tsx +6 -6
- package/src/index.ts +0 -2
- package/src/variables/C6.tsx +1170 -2651
- package/dist/components/Errors/Localhost.d.ts +0 -1
- package/src/components/Errors/Localhost.tsx +0 -38
package/src/variables/C6.tsx
CHANGED
|
@@ -14,7 +14,7 @@ export interface RegExpMap {
|
|
|
14
14
|
export interface complexMap {
|
|
15
15
|
[key: string]: stringMap | stringNumberMap | stringMap[] | RegExpMap;
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
export interface iTypeValidation {
|
|
19
19
|
MYSQL_TYPE: string,
|
|
20
20
|
MAX_LENGTH: string,
|
|
@@ -23,68 +23,42 @@ export interface iTypeValidation {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export type RestTableNames = 'carbon_carbons'
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
| 'carbon_users'
|
|
44
|
-
| 'carbon_wp_commentmeta'
|
|
45
|
-
| 'carbon_wp_comments'
|
|
46
|
-
| 'carbon_wp_links'
|
|
47
|
-
| 'carbon_wp_options'
|
|
48
|
-
| 'carbon_wp_postmeta'
|
|
49
|
-
| 'carbon_wp_posts'
|
|
50
|
-
| 'carbon_wp_term_relationships'
|
|
51
|
-
| 'carbon_wp_term_taxonomy'
|
|
52
|
-
| 'carbon_wp_termmeta'
|
|
53
|
-
| 'carbon_wp_terms'
|
|
54
|
-
| 'carbon_wp_usermeta'
|
|
55
|
-
| 'carbon_wp_users';
|
|
26
|
+
| 'carbon_comments'
|
|
27
|
+
| 'carbon_documentation'
|
|
28
|
+
| 'carbon_feature_group_references'
|
|
29
|
+
| 'carbon_features'
|
|
30
|
+
| 'carbon_group_references'
|
|
31
|
+
| 'carbon_groups'
|
|
32
|
+
| 'carbon_history_logs'
|
|
33
|
+
| 'carbon_location_references'
|
|
34
|
+
| 'carbon_locations'
|
|
35
|
+
| 'carbon_photos'
|
|
36
|
+
| 'carbon_reports'
|
|
37
|
+
| 'carbon_user_followers'
|
|
38
|
+
| 'carbon_user_groups'
|
|
39
|
+
| 'carbon_user_messages'
|
|
40
|
+
| 'carbon_user_sessions'
|
|
41
|
+
| 'carbon_user_tasks'
|
|
42
|
+
| 'carbon_users';
|
|
56
43
|
|
|
57
44
|
export type RestShortTableNames = 'carbons'
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
| 'users'
|
|
76
|
-
| 'wp_commentmeta'
|
|
77
|
-
| 'wp_comments'
|
|
78
|
-
| 'wp_links'
|
|
79
|
-
| 'wp_options'
|
|
80
|
-
| 'wp_postmeta'
|
|
81
|
-
| 'wp_posts'
|
|
82
|
-
| 'wp_term_relationships'
|
|
83
|
-
| 'wp_term_taxonomy'
|
|
84
|
-
| 'wp_termmeta'
|
|
85
|
-
| 'wp_terms'
|
|
86
|
-
| 'wp_usermeta'
|
|
87
|
-
| 'wp_users';
|
|
45
|
+
| 'comments'
|
|
46
|
+
| 'documentation'
|
|
47
|
+
| 'feature_group_references'
|
|
48
|
+
| 'features'
|
|
49
|
+
| 'group_references'
|
|
50
|
+
| 'groups'
|
|
51
|
+
| 'history_logs'
|
|
52
|
+
| 'location_references'
|
|
53
|
+
| 'locations'
|
|
54
|
+
| 'photos'
|
|
55
|
+
| 'reports'
|
|
56
|
+
| 'user_followers'
|
|
57
|
+
| 'user_groups'
|
|
58
|
+
| 'user_messages'
|
|
59
|
+
| 'user_sessions'
|
|
60
|
+
| 'user_tasks'
|
|
61
|
+
| 'users';
|
|
88
62
|
|
|
89
63
|
export interface C6RestfulModel {
|
|
90
64
|
TABLE_NAME: RestShortTableNames,
|
|
@@ -97,15 +71,15 @@ export interface C6RestfulModel {
|
|
|
97
71
|
|
|
98
72
|
|
|
99
73
|
export interface iCarbons {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
74
|
+
'entity_pk'?: string;
|
|
75
|
+
'entity_fk'?: string;
|
|
76
|
+
'entity_tag'?: string;
|
|
103
77
|
}
|
|
104
78
|
|
|
105
79
|
interface iDefineCarbons {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
80
|
+
'ENTITY_PK': string;
|
|
81
|
+
'ENTITY_FK': string;
|
|
82
|
+
'ENTITY_TAG': string;
|
|
109
83
|
}
|
|
110
84
|
|
|
111
85
|
export const carbons : C6RestfulModel & iDefineCarbons = {
|
|
@@ -117,28 +91,28 @@ export const carbons : C6RestfulModel & iDefineCarbons = {
|
|
|
117
91
|
'carbon_carbons.entity_pk',
|
|
118
92
|
],
|
|
119
93
|
COLUMNS: {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
94
|
+
'carbon_carbons.entity_pk':'entity_pk',
|
|
95
|
+
'carbon_carbons.entity_fk':'entity_fk',
|
|
96
|
+
'carbon_carbons.entity_tag':'entity_tag',
|
|
123
97
|
},
|
|
124
98
|
TYPE_VALIDATION: {
|
|
125
|
-
'carbon_carbons.entity_pk': {
|
|
126
|
-
MYSQL_TYPE: 'binary',
|
|
127
|
-
MAX_LENGTH: '16',
|
|
128
|
-
AUTO_INCREMENT: false,
|
|
129
|
-
SKIP_COLUMN_IN_POST: false
|
|
130
|
-
},
|
|
131
|
-
'carbon_carbons.entity_fk': {
|
|
132
|
-
MYSQL_TYPE: 'binary',
|
|
133
|
-
MAX_LENGTH: '16',
|
|
134
|
-
AUTO_INCREMENT: false,
|
|
135
|
-
SKIP_COLUMN_IN_POST: true
|
|
136
|
-
},
|
|
137
|
-
'carbon_carbons.entity_tag': {
|
|
138
|
-
MYSQL_TYPE: 'varchar',
|
|
139
|
-
MAX_LENGTH: '100',
|
|
140
|
-
AUTO_INCREMENT: false,
|
|
141
|
-
SKIP_COLUMN_IN_POST: true
|
|
99
|
+
'carbon_carbons.entity_pk': {
|
|
100
|
+
MYSQL_TYPE: 'binary',
|
|
101
|
+
MAX_LENGTH: '16',
|
|
102
|
+
AUTO_INCREMENT: false,
|
|
103
|
+
SKIP_COLUMN_IN_POST: false
|
|
104
|
+
},
|
|
105
|
+
'carbon_carbons.entity_fk': {
|
|
106
|
+
MYSQL_TYPE: 'binary',
|
|
107
|
+
MAX_LENGTH: '16',
|
|
108
|
+
AUTO_INCREMENT: false,
|
|
109
|
+
SKIP_COLUMN_IN_POST: true
|
|
110
|
+
},
|
|
111
|
+
'carbon_carbons.entity_tag': {
|
|
112
|
+
MYSQL_TYPE: 'varchar',
|
|
113
|
+
MAX_LENGTH: '100',
|
|
114
|
+
AUTO_INCREMENT: false,
|
|
115
|
+
SKIP_COLUMN_IN_POST: true
|
|
142
116
|
},
|
|
143
117
|
},
|
|
144
118
|
REGEX_VALIDATION: {
|
|
@@ -146,20 +120,20 @@ export const carbons : C6RestfulModel & iDefineCarbons = {
|
|
|
146
120
|
|
|
147
121
|
}
|
|
148
122
|
|
|
149
|
-
|
|
123
|
+
|
|
150
124
|
|
|
151
125
|
export interface iComments {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
126
|
+
'parent_id'?: string;
|
|
127
|
+
'comment_id'?: string;
|
|
128
|
+
'user_id'?: string;
|
|
129
|
+
'comment'?: string;
|
|
156
130
|
}
|
|
157
131
|
|
|
158
132
|
interface iDefineComments {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
133
|
+
'PARENT_ID': string;
|
|
134
|
+
'COMMENT_ID': string;
|
|
135
|
+
'USER_ID': string;
|
|
136
|
+
'COMMENT': string;
|
|
163
137
|
}
|
|
164
138
|
|
|
165
139
|
export const comments : C6RestfulModel & iDefineComments = {
|
|
@@ -172,35 +146,35 @@ export const comments : C6RestfulModel & iDefineComments = {
|
|
|
172
146
|
'carbon_comments.comment_id',
|
|
173
147
|
],
|
|
174
148
|
COLUMNS: {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
149
|
+
'carbon_comments.parent_id':'parent_id',
|
|
150
|
+
'carbon_comments.comment_id':'comment_id',
|
|
151
|
+
'carbon_comments.user_id':'user_id',
|
|
152
|
+
'carbon_comments.comment':'comment',
|
|
179
153
|
},
|
|
180
154
|
TYPE_VALIDATION: {
|
|
181
|
-
'carbon_comments.parent_id': {
|
|
182
|
-
MYSQL_TYPE: 'binary',
|
|
183
|
-
MAX_LENGTH: '16',
|
|
184
|
-
AUTO_INCREMENT: false,
|
|
185
|
-
SKIP_COLUMN_IN_POST: false
|
|
186
|
-
},
|
|
187
|
-
'carbon_comments.comment_id': {
|
|
188
|
-
MYSQL_TYPE: 'binary',
|
|
189
|
-
MAX_LENGTH: '16',
|
|
190
|
-
AUTO_INCREMENT: false,
|
|
191
|
-
SKIP_COLUMN_IN_POST: false
|
|
192
|
-
},
|
|
193
|
-
'carbon_comments.user_id': {
|
|
194
|
-
MYSQL_TYPE: 'binary',
|
|
195
|
-
MAX_LENGTH: '16',
|
|
196
|
-
AUTO_INCREMENT: false,
|
|
197
|
-
SKIP_COLUMN_IN_POST: false
|
|
198
|
-
},
|
|
199
|
-
'carbon_comments.comment': {
|
|
200
|
-
MYSQL_TYPE: 'blob',
|
|
201
|
-
MAX_LENGTH: '',
|
|
202
|
-
AUTO_INCREMENT: false,
|
|
203
|
-
SKIP_COLUMN_IN_POST: false
|
|
155
|
+
'carbon_comments.parent_id': {
|
|
156
|
+
MYSQL_TYPE: 'binary',
|
|
157
|
+
MAX_LENGTH: '16',
|
|
158
|
+
AUTO_INCREMENT: false,
|
|
159
|
+
SKIP_COLUMN_IN_POST: false
|
|
160
|
+
},
|
|
161
|
+
'carbon_comments.comment_id': {
|
|
162
|
+
MYSQL_TYPE: 'binary',
|
|
163
|
+
MAX_LENGTH: '16',
|
|
164
|
+
AUTO_INCREMENT: false,
|
|
165
|
+
SKIP_COLUMN_IN_POST: false
|
|
166
|
+
},
|
|
167
|
+
'carbon_comments.user_id': {
|
|
168
|
+
MYSQL_TYPE: 'binary',
|
|
169
|
+
MAX_LENGTH: '16',
|
|
170
|
+
AUTO_INCREMENT: false,
|
|
171
|
+
SKIP_COLUMN_IN_POST: false
|
|
172
|
+
},
|
|
173
|
+
'carbon_comments.comment': {
|
|
174
|
+
MYSQL_TYPE: 'blob',
|
|
175
|
+
MAX_LENGTH: '',
|
|
176
|
+
AUTO_INCREMENT: false,
|
|
177
|
+
SKIP_COLUMN_IN_POST: false
|
|
204
178
|
},
|
|
205
179
|
},
|
|
206
180
|
REGEX_VALIDATION: {
|
|
@@ -208,20 +182,20 @@ export const comments : C6RestfulModel & iDefineComments = {
|
|
|
208
182
|
|
|
209
183
|
}
|
|
210
184
|
|
|
211
|
-
|
|
185
|
+
|
|
212
186
|
|
|
213
187
|
export interface iDocumentation {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
188
|
+
'documentation_uri'?: string;
|
|
189
|
+
'documentation_data'?: string;
|
|
190
|
+
'documentation_version'?: string;
|
|
191
|
+
'documentation_active'?: number;
|
|
218
192
|
}
|
|
219
193
|
|
|
220
194
|
interface iDefineDocumentation {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
195
|
+
'DOCUMENTATION_URI': string;
|
|
196
|
+
'DOCUMENTATION_DATA': string;
|
|
197
|
+
'DOCUMENTATION_VERSION': string;
|
|
198
|
+
'DOCUMENTATION_ACTIVE': string;
|
|
225
199
|
}
|
|
226
200
|
|
|
227
201
|
export const documentation : C6RestfulModel & iDefineDocumentation = {
|
|
@@ -233,35 +207,35 @@ export const documentation : C6RestfulModel & iDefineDocumentation = {
|
|
|
233
207
|
PRIMARY: [
|
|
234
208
|
],
|
|
235
209
|
COLUMNS: {
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
210
|
+
'carbon_documentation.documentation_uri':'documentation_uri',
|
|
211
|
+
'carbon_documentation.documentation_data':'documentation_data',
|
|
212
|
+
'carbon_documentation.documentation_version':'documentation_version',
|
|
213
|
+
'carbon_documentation.documentation_active':'documentation_active',
|
|
240
214
|
},
|
|
241
215
|
TYPE_VALIDATION: {
|
|
242
|
-
'carbon_documentation.documentation_uri': {
|
|
243
|
-
MYSQL_TYPE: 'varchar',
|
|
244
|
-
MAX_LENGTH: '255',
|
|
245
|
-
AUTO_INCREMENT: false,
|
|
246
|
-
SKIP_COLUMN_IN_POST: false
|
|
247
|
-
},
|
|
248
|
-
'carbon_documentation.documentation_data': {
|
|
249
|
-
MYSQL_TYPE: 'longblob',
|
|
250
|
-
MAX_LENGTH: '',
|
|
251
|
-
AUTO_INCREMENT: false,
|
|
252
|
-
SKIP_COLUMN_IN_POST: false
|
|
253
|
-
},
|
|
254
|
-
'carbon_documentation.documentation_version': {
|
|
255
|
-
MYSQL_TYPE: 'varchar',
|
|
256
|
-
MAX_LENGTH: '40',
|
|
257
|
-
AUTO_INCREMENT: false,
|
|
258
|
-
SKIP_COLUMN_IN_POST: false
|
|
259
|
-
},
|
|
260
|
-
'carbon_documentation.documentation_active': {
|
|
261
|
-
MYSQL_TYPE: 'tinyint',
|
|
262
|
-
MAX_LENGTH: '',
|
|
263
|
-
AUTO_INCREMENT: false,
|
|
264
|
-
SKIP_COLUMN_IN_POST: false
|
|
216
|
+
'carbon_documentation.documentation_uri': {
|
|
217
|
+
MYSQL_TYPE: 'varchar',
|
|
218
|
+
MAX_LENGTH: '255',
|
|
219
|
+
AUTO_INCREMENT: false,
|
|
220
|
+
SKIP_COLUMN_IN_POST: false
|
|
221
|
+
},
|
|
222
|
+
'carbon_documentation.documentation_data': {
|
|
223
|
+
MYSQL_TYPE: 'longblob',
|
|
224
|
+
MAX_LENGTH: '',
|
|
225
|
+
AUTO_INCREMENT: false,
|
|
226
|
+
SKIP_COLUMN_IN_POST: false
|
|
227
|
+
},
|
|
228
|
+
'carbon_documentation.documentation_version': {
|
|
229
|
+
MYSQL_TYPE: 'varchar',
|
|
230
|
+
MAX_LENGTH: '40',
|
|
231
|
+
AUTO_INCREMENT: false,
|
|
232
|
+
SKIP_COLUMN_IN_POST: false
|
|
233
|
+
},
|
|
234
|
+
'carbon_documentation.documentation_active': {
|
|
235
|
+
MYSQL_TYPE: 'tinyint',
|
|
236
|
+
MAX_LENGTH: '',
|
|
237
|
+
AUTO_INCREMENT: false,
|
|
238
|
+
SKIP_COLUMN_IN_POST: false
|
|
265
239
|
},
|
|
266
240
|
},
|
|
267
241
|
REGEX_VALIDATION: {
|
|
@@ -269,16 +243,16 @@ export const documentation : C6RestfulModel & iDefineDocumentation = {
|
|
|
269
243
|
|
|
270
244
|
}
|
|
271
245
|
|
|
272
|
-
|
|
246
|
+
|
|
273
247
|
|
|
274
248
|
export interface iFeature_Group_References {
|
|
275
|
-
|
|
276
|
-
|
|
249
|
+
'feature_entity_id'?: string;
|
|
250
|
+
'group_entity_id'?: string;
|
|
277
251
|
}
|
|
278
252
|
|
|
279
253
|
interface iDefineFeature_Group_References {
|
|
280
|
-
|
|
281
|
-
|
|
254
|
+
'FEATURE_ENTITY_ID': string;
|
|
255
|
+
'GROUP_ENTITY_ID': string;
|
|
282
256
|
}
|
|
283
257
|
|
|
284
258
|
export const feature_group_references : C6RestfulModel & iDefineFeature_Group_References = {
|
|
@@ -288,21 +262,21 @@ export const feature_group_references : C6RestfulModel & iDefineFeature_Group_Re
|
|
|
288
262
|
PRIMARY: [
|
|
289
263
|
],
|
|
290
264
|
COLUMNS: {
|
|
291
|
-
|
|
292
|
-
|
|
265
|
+
'carbon_feature_group_references.feature_entity_id':'feature_entity_id',
|
|
266
|
+
'carbon_feature_group_references.group_entity_id':'group_entity_id',
|
|
293
267
|
},
|
|
294
268
|
TYPE_VALIDATION: {
|
|
295
|
-
'carbon_feature_group_references.feature_entity_id': {
|
|
296
|
-
MYSQL_TYPE: 'binary',
|
|
297
|
-
MAX_LENGTH: '16',
|
|
298
|
-
AUTO_INCREMENT: false,
|
|
299
|
-
SKIP_COLUMN_IN_POST: true
|
|
300
|
-
},
|
|
301
|
-
'carbon_feature_group_references.group_entity_id': {
|
|
302
|
-
MYSQL_TYPE: 'binary',
|
|
303
|
-
MAX_LENGTH: '16',
|
|
304
|
-
AUTO_INCREMENT: false,
|
|
305
|
-
SKIP_COLUMN_IN_POST: true
|
|
269
|
+
'carbon_feature_group_references.feature_entity_id': {
|
|
270
|
+
MYSQL_TYPE: 'binary',
|
|
271
|
+
MAX_LENGTH: '16',
|
|
272
|
+
AUTO_INCREMENT: false,
|
|
273
|
+
SKIP_COLUMN_IN_POST: true
|
|
274
|
+
},
|
|
275
|
+
'carbon_feature_group_references.group_entity_id': {
|
|
276
|
+
MYSQL_TYPE: 'binary',
|
|
277
|
+
MAX_LENGTH: '16',
|
|
278
|
+
AUTO_INCREMENT: false,
|
|
279
|
+
SKIP_COLUMN_IN_POST: true
|
|
306
280
|
},
|
|
307
281
|
},
|
|
308
282
|
REGEX_VALIDATION: {
|
|
@@ -310,18 +284,18 @@ export const feature_group_references : C6RestfulModel & iDefineFeature_Group_Re
|
|
|
310
284
|
|
|
311
285
|
}
|
|
312
286
|
|
|
313
|
-
|
|
287
|
+
|
|
314
288
|
|
|
315
289
|
export interface iFeatures {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
290
|
+
'feature_entity_id'?: string;
|
|
291
|
+
'feature_code'?: string;
|
|
292
|
+
'feature_creation_date'?: string;
|
|
319
293
|
}
|
|
320
294
|
|
|
321
295
|
interface iDefineFeatures {
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
296
|
+
'FEATURE_ENTITY_ID': string;
|
|
297
|
+
'FEATURE_CODE': string;
|
|
298
|
+
'FEATURE_CREATION_DATE': string;
|
|
325
299
|
}
|
|
326
300
|
|
|
327
301
|
export const features : C6RestfulModel & iDefineFeatures = {
|
|
@@ -333,28 +307,28 @@ export const features : C6RestfulModel & iDefineFeatures = {
|
|
|
333
307
|
'carbon_features.feature_entity_id',
|
|
334
308
|
],
|
|
335
309
|
COLUMNS: {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
310
|
+
'carbon_features.feature_entity_id':'feature_entity_id',
|
|
311
|
+
'carbon_features.feature_code':'feature_code',
|
|
312
|
+
'carbon_features.feature_creation_date':'feature_creation_date',
|
|
339
313
|
},
|
|
340
314
|
TYPE_VALIDATION: {
|
|
341
|
-
'carbon_features.feature_entity_id': {
|
|
342
|
-
MYSQL_TYPE: 'binary',
|
|
343
|
-
MAX_LENGTH: '16',
|
|
344
|
-
AUTO_INCREMENT: false,
|
|
345
|
-
SKIP_COLUMN_IN_POST: false
|
|
346
|
-
},
|
|
347
|
-
'carbon_features.feature_code': {
|
|
348
|
-
MYSQL_TYPE: 'varchar',
|
|
349
|
-
MAX_LENGTH: '30',
|
|
350
|
-
AUTO_INCREMENT: false,
|
|
351
|
-
SKIP_COLUMN_IN_POST: false
|
|
352
|
-
},
|
|
353
|
-
'carbon_features.feature_creation_date': {
|
|
354
|
-
MYSQL_TYPE: 'datetime',
|
|
355
|
-
MAX_LENGTH: '',
|
|
356
|
-
AUTO_INCREMENT: false,
|
|
357
|
-
SKIP_COLUMN_IN_POST: true
|
|
315
|
+
'carbon_features.feature_entity_id': {
|
|
316
|
+
MYSQL_TYPE: 'binary',
|
|
317
|
+
MAX_LENGTH: '16',
|
|
318
|
+
AUTO_INCREMENT: false,
|
|
319
|
+
SKIP_COLUMN_IN_POST: false
|
|
320
|
+
},
|
|
321
|
+
'carbon_features.feature_code': {
|
|
322
|
+
MYSQL_TYPE: 'varchar',
|
|
323
|
+
MAX_LENGTH: '30',
|
|
324
|
+
AUTO_INCREMENT: false,
|
|
325
|
+
SKIP_COLUMN_IN_POST: false
|
|
326
|
+
},
|
|
327
|
+
'carbon_features.feature_creation_date': {
|
|
328
|
+
MYSQL_TYPE: 'datetime',
|
|
329
|
+
MAX_LENGTH: '',
|
|
330
|
+
AUTO_INCREMENT: false,
|
|
331
|
+
SKIP_COLUMN_IN_POST: true
|
|
358
332
|
},
|
|
359
333
|
},
|
|
360
334
|
REGEX_VALIDATION: {
|
|
@@ -362,16 +336,16 @@ export const features : C6RestfulModel & iDefineFeatures = {
|
|
|
362
336
|
|
|
363
337
|
}
|
|
364
338
|
|
|
365
|
-
|
|
339
|
+
|
|
366
340
|
|
|
367
341
|
export interface iGroup_References {
|
|
368
|
-
|
|
369
|
-
|
|
342
|
+
'group_id'?: string;
|
|
343
|
+
'allowed_to_grant_group_id'?: string;
|
|
370
344
|
}
|
|
371
345
|
|
|
372
346
|
interface iDefineGroup_References {
|
|
373
|
-
|
|
374
|
-
|
|
347
|
+
'GROUP_ID': string;
|
|
348
|
+
'ALLOWED_TO_GRANT_GROUP_ID': string;
|
|
375
349
|
}
|
|
376
350
|
|
|
377
351
|
export const group_references : C6RestfulModel & iDefineGroup_References = {
|
|
@@ -381,21 +355,21 @@ export const group_references : C6RestfulModel & iDefineGroup_References = {
|
|
|
381
355
|
PRIMARY: [
|
|
382
356
|
],
|
|
383
357
|
COLUMNS: {
|
|
384
|
-
|
|
385
|
-
|
|
358
|
+
'carbon_group_references.group_id':'group_id',
|
|
359
|
+
'carbon_group_references.allowed_to_grant_group_id':'allowed_to_grant_group_id',
|
|
386
360
|
},
|
|
387
361
|
TYPE_VALIDATION: {
|
|
388
|
-
'carbon_group_references.group_id': {
|
|
389
|
-
MYSQL_TYPE: 'binary',
|
|
390
|
-
MAX_LENGTH: '16',
|
|
391
|
-
AUTO_INCREMENT: false,
|
|
392
|
-
SKIP_COLUMN_IN_POST: true
|
|
393
|
-
},
|
|
394
|
-
'carbon_group_references.allowed_to_grant_group_id': {
|
|
395
|
-
MYSQL_TYPE: 'binary',
|
|
396
|
-
MAX_LENGTH: '16',
|
|
397
|
-
AUTO_INCREMENT: false,
|
|
398
|
-
SKIP_COLUMN_IN_POST: true
|
|
362
|
+
'carbon_group_references.group_id': {
|
|
363
|
+
MYSQL_TYPE: 'binary',
|
|
364
|
+
MAX_LENGTH: '16',
|
|
365
|
+
AUTO_INCREMENT: false,
|
|
366
|
+
SKIP_COLUMN_IN_POST: true
|
|
367
|
+
},
|
|
368
|
+
'carbon_group_references.allowed_to_grant_group_id': {
|
|
369
|
+
MYSQL_TYPE: 'binary',
|
|
370
|
+
MAX_LENGTH: '16',
|
|
371
|
+
AUTO_INCREMENT: false,
|
|
372
|
+
SKIP_COLUMN_IN_POST: true
|
|
399
373
|
},
|
|
400
374
|
},
|
|
401
375
|
REGEX_VALIDATION: {
|
|
@@ -403,20 +377,20 @@ export const group_references : C6RestfulModel & iDefineGroup_References = {
|
|
|
403
377
|
|
|
404
378
|
}
|
|
405
379
|
|
|
406
|
-
|
|
380
|
+
|
|
407
381
|
|
|
408
382
|
export interface iGroups {
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
383
|
+
'group_name'?: string;
|
|
384
|
+
'entity_id'?: string;
|
|
385
|
+
'created_by'?: string;
|
|
386
|
+
'creation_date'?: string;
|
|
413
387
|
}
|
|
414
388
|
|
|
415
389
|
interface iDefineGroups {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
390
|
+
'GROUP_NAME': string;
|
|
391
|
+
'ENTITY_ID': string;
|
|
392
|
+
'CREATED_BY': string;
|
|
393
|
+
'CREATION_DATE': string;
|
|
420
394
|
}
|
|
421
395
|
|
|
422
396
|
export const groups : C6RestfulModel & iDefineGroups = {
|
|
@@ -429,35 +403,35 @@ export const groups : C6RestfulModel & iDefineGroups = {
|
|
|
429
403
|
'carbon_groups.entity_id',
|
|
430
404
|
],
|
|
431
405
|
COLUMNS: {
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
406
|
+
'carbon_groups.group_name':'group_name',
|
|
407
|
+
'carbon_groups.entity_id':'entity_id',
|
|
408
|
+
'carbon_groups.created_by':'created_by',
|
|
409
|
+
'carbon_groups.creation_date':'creation_date',
|
|
436
410
|
},
|
|
437
411
|
TYPE_VALIDATION: {
|
|
438
|
-
'carbon_groups.group_name': {
|
|
439
|
-
MYSQL_TYPE: 'varchar',
|
|
440
|
-
MAX_LENGTH: '20',
|
|
441
|
-
AUTO_INCREMENT: false,
|
|
442
|
-
SKIP_COLUMN_IN_POST: false
|
|
443
|
-
},
|
|
444
|
-
'carbon_groups.entity_id': {
|
|
445
|
-
MYSQL_TYPE: 'binary',
|
|
446
|
-
MAX_LENGTH: '16',
|
|
447
|
-
AUTO_INCREMENT: false,
|
|
448
|
-
SKIP_COLUMN_IN_POST: false
|
|
449
|
-
},
|
|
450
|
-
'carbon_groups.created_by': {
|
|
451
|
-
MYSQL_TYPE: 'binary',
|
|
452
|
-
MAX_LENGTH: '16',
|
|
453
|
-
AUTO_INCREMENT: false,
|
|
454
|
-
SKIP_COLUMN_IN_POST: false
|
|
455
|
-
},
|
|
456
|
-
'carbon_groups.creation_date': {
|
|
457
|
-
MYSQL_TYPE: 'datetime',
|
|
458
|
-
MAX_LENGTH: '',
|
|
459
|
-
AUTO_INCREMENT: false,
|
|
460
|
-
SKIP_COLUMN_IN_POST: true
|
|
412
|
+
'carbon_groups.group_name': {
|
|
413
|
+
MYSQL_TYPE: 'varchar',
|
|
414
|
+
MAX_LENGTH: '20',
|
|
415
|
+
AUTO_INCREMENT: false,
|
|
416
|
+
SKIP_COLUMN_IN_POST: false
|
|
417
|
+
},
|
|
418
|
+
'carbon_groups.entity_id': {
|
|
419
|
+
MYSQL_TYPE: 'binary',
|
|
420
|
+
MAX_LENGTH: '16',
|
|
421
|
+
AUTO_INCREMENT: false,
|
|
422
|
+
SKIP_COLUMN_IN_POST: false
|
|
423
|
+
},
|
|
424
|
+
'carbon_groups.created_by': {
|
|
425
|
+
MYSQL_TYPE: 'binary',
|
|
426
|
+
MAX_LENGTH: '16',
|
|
427
|
+
AUTO_INCREMENT: false,
|
|
428
|
+
SKIP_COLUMN_IN_POST: false
|
|
429
|
+
},
|
|
430
|
+
'carbon_groups.creation_date': {
|
|
431
|
+
MYSQL_TYPE: 'datetime',
|
|
432
|
+
MAX_LENGTH: '',
|
|
433
|
+
AUTO_INCREMENT: false,
|
|
434
|
+
SKIP_COLUMN_IN_POST: true
|
|
461
435
|
},
|
|
462
436
|
},
|
|
463
437
|
REGEX_VALIDATION: {
|
|
@@ -465,24 +439,24 @@ export const groups : C6RestfulModel & iDefineGroups = {
|
|
|
465
439
|
|
|
466
440
|
}
|
|
467
441
|
|
|
468
|
-
|
|
442
|
+
|
|
469
443
|
|
|
470
444
|
export interface iHistory_Logs {
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
445
|
+
'history_uuid'?: string;
|
|
446
|
+
'history_table'?: string;
|
|
447
|
+
'history_type'?: string;
|
|
448
|
+
'history_data'?: string;
|
|
449
|
+
'history_original_query'?: string;
|
|
450
|
+
'history_time'?: string;
|
|
477
451
|
}
|
|
478
452
|
|
|
479
453
|
interface iDefineHistory_Logs {
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
454
|
+
'HISTORY_UUID': string;
|
|
455
|
+
'HISTORY_TABLE': string;
|
|
456
|
+
'HISTORY_TYPE': string;
|
|
457
|
+
'HISTORY_DATA': string;
|
|
458
|
+
'HISTORY_ORIGINAL_QUERY': string;
|
|
459
|
+
'HISTORY_TIME': string;
|
|
486
460
|
}
|
|
487
461
|
|
|
488
462
|
export const history_logs : C6RestfulModel & iDefineHistory_Logs = {
|
|
@@ -496,49 +470,49 @@ export const history_logs : C6RestfulModel & iDefineHistory_Logs = {
|
|
|
496
470
|
PRIMARY: [
|
|
497
471
|
],
|
|
498
472
|
COLUMNS: {
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
473
|
+
'carbon_history_logs.history_uuid':'history_uuid',
|
|
474
|
+
'carbon_history_logs.history_table':'history_table',
|
|
475
|
+
'carbon_history_logs.history_type':'history_type',
|
|
476
|
+
'carbon_history_logs.history_data':'history_data',
|
|
477
|
+
'carbon_history_logs.history_original_query':'history_original_query',
|
|
478
|
+
'carbon_history_logs.history_time':'history_time',
|
|
505
479
|
},
|
|
506
480
|
TYPE_VALIDATION: {
|
|
507
|
-
'carbon_history_logs.history_uuid': {
|
|
508
|
-
MYSQL_TYPE: 'binary',
|
|
509
|
-
MAX_LENGTH: '16',
|
|
510
|
-
AUTO_INCREMENT: false,
|
|
511
|
-
SKIP_COLUMN_IN_POST: false
|
|
512
|
-
},
|
|
513
|
-
'carbon_history_logs.history_table': {
|
|
514
|
-
MYSQL_TYPE: 'varchar',
|
|
515
|
-
MAX_LENGTH: '255',
|
|
516
|
-
AUTO_INCREMENT: false,
|
|
517
|
-
SKIP_COLUMN_IN_POST: true
|
|
518
|
-
},
|
|
519
|
-
'carbon_history_logs.history_type': {
|
|
520
|
-
MYSQL_TYPE: 'varchar',
|
|
521
|
-
MAX_LENGTH: '20',
|
|
522
|
-
AUTO_INCREMENT: false,
|
|
523
|
-
SKIP_COLUMN_IN_POST: true
|
|
524
|
-
},
|
|
525
|
-
'carbon_history_logs.history_data': {
|
|
526
|
-
MYSQL_TYPE: 'json',
|
|
527
|
-
MAX_LENGTH: '',
|
|
528
|
-
AUTO_INCREMENT: false,
|
|
529
|
-
SKIP_COLUMN_IN_POST: true
|
|
530
|
-
},
|
|
531
|
-
'carbon_history_logs.history_original_query': {
|
|
532
|
-
MYSQL_TYPE: 'varchar',
|
|
533
|
-
MAX_LENGTH: '1024',
|
|
534
|
-
AUTO_INCREMENT: false,
|
|
535
|
-
SKIP_COLUMN_IN_POST: true
|
|
536
|
-
},
|
|
537
|
-
'carbon_history_logs.history_time': {
|
|
538
|
-
MYSQL_TYPE: 'datetime',
|
|
539
|
-
MAX_LENGTH: '',
|
|
540
|
-
AUTO_INCREMENT: false,
|
|
541
|
-
SKIP_COLUMN_IN_POST: true
|
|
481
|
+
'carbon_history_logs.history_uuid': {
|
|
482
|
+
MYSQL_TYPE: 'binary',
|
|
483
|
+
MAX_LENGTH: '16',
|
|
484
|
+
AUTO_INCREMENT: false,
|
|
485
|
+
SKIP_COLUMN_IN_POST: false
|
|
486
|
+
},
|
|
487
|
+
'carbon_history_logs.history_table': {
|
|
488
|
+
MYSQL_TYPE: 'varchar',
|
|
489
|
+
MAX_LENGTH: '255',
|
|
490
|
+
AUTO_INCREMENT: false,
|
|
491
|
+
SKIP_COLUMN_IN_POST: true
|
|
492
|
+
},
|
|
493
|
+
'carbon_history_logs.history_type': {
|
|
494
|
+
MYSQL_TYPE: 'varchar',
|
|
495
|
+
MAX_LENGTH: '20',
|
|
496
|
+
AUTO_INCREMENT: false,
|
|
497
|
+
SKIP_COLUMN_IN_POST: true
|
|
498
|
+
},
|
|
499
|
+
'carbon_history_logs.history_data': {
|
|
500
|
+
MYSQL_TYPE: 'json',
|
|
501
|
+
MAX_LENGTH: '',
|
|
502
|
+
AUTO_INCREMENT: false,
|
|
503
|
+
SKIP_COLUMN_IN_POST: true
|
|
504
|
+
},
|
|
505
|
+
'carbon_history_logs.history_original_query': {
|
|
506
|
+
MYSQL_TYPE: 'varchar',
|
|
507
|
+
MAX_LENGTH: '1024',
|
|
508
|
+
AUTO_INCREMENT: false,
|
|
509
|
+
SKIP_COLUMN_IN_POST: true
|
|
510
|
+
},
|
|
511
|
+
'carbon_history_logs.history_time': {
|
|
512
|
+
MYSQL_TYPE: 'datetime',
|
|
513
|
+
MAX_LENGTH: '',
|
|
514
|
+
AUTO_INCREMENT: false,
|
|
515
|
+
SKIP_COLUMN_IN_POST: true
|
|
542
516
|
},
|
|
543
517
|
},
|
|
544
518
|
REGEX_VALIDATION: {
|
|
@@ -546,18 +520,18 @@ export const history_logs : C6RestfulModel & iDefineHistory_Logs = {
|
|
|
546
520
|
|
|
547
521
|
}
|
|
548
522
|
|
|
549
|
-
|
|
523
|
+
|
|
550
524
|
|
|
551
525
|
export interface iLocation_References {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
526
|
+
'entity_reference'?: string;
|
|
527
|
+
'location_reference'?: string;
|
|
528
|
+
'location_time'?: string;
|
|
555
529
|
}
|
|
556
530
|
|
|
557
531
|
interface iDefineLocation_References {
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
532
|
+
'ENTITY_REFERENCE': string;
|
|
533
|
+
'LOCATION_REFERENCE': string;
|
|
534
|
+
'LOCATION_TIME': string;
|
|
561
535
|
}
|
|
562
536
|
|
|
563
537
|
export const location_references : C6RestfulModel & iDefineLocation_References = {
|
|
@@ -568,28 +542,28 @@ export const location_references : C6RestfulModel & iDefineLocation_References =
|
|
|
568
542
|
PRIMARY: [
|
|
569
543
|
],
|
|
570
544
|
COLUMNS: {
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
545
|
+
'carbon_location_references.entity_reference':'entity_reference',
|
|
546
|
+
'carbon_location_references.location_reference':'location_reference',
|
|
547
|
+
'carbon_location_references.location_time':'location_time',
|
|
574
548
|
},
|
|
575
549
|
TYPE_VALIDATION: {
|
|
576
|
-
'carbon_location_references.entity_reference': {
|
|
577
|
-
MYSQL_TYPE: 'binary',
|
|
578
|
-
MAX_LENGTH: '16',
|
|
579
|
-
AUTO_INCREMENT: false,
|
|
580
|
-
SKIP_COLUMN_IN_POST: false
|
|
581
|
-
},
|
|
582
|
-
'carbon_location_references.location_reference': {
|
|
583
|
-
MYSQL_TYPE: 'binary',
|
|
584
|
-
MAX_LENGTH: '16',
|
|
585
|
-
AUTO_INCREMENT: false,
|
|
586
|
-
SKIP_COLUMN_IN_POST: false
|
|
587
|
-
},
|
|
588
|
-
'carbon_location_references.location_time': {
|
|
589
|
-
MYSQL_TYPE: 'datetime',
|
|
590
|
-
MAX_LENGTH: '',
|
|
591
|
-
AUTO_INCREMENT: false,
|
|
592
|
-
SKIP_COLUMN_IN_POST: true
|
|
550
|
+
'carbon_location_references.entity_reference': {
|
|
551
|
+
MYSQL_TYPE: 'binary',
|
|
552
|
+
MAX_LENGTH: '16',
|
|
553
|
+
AUTO_INCREMENT: false,
|
|
554
|
+
SKIP_COLUMN_IN_POST: false
|
|
555
|
+
},
|
|
556
|
+
'carbon_location_references.location_reference': {
|
|
557
|
+
MYSQL_TYPE: 'binary',
|
|
558
|
+
MAX_LENGTH: '16',
|
|
559
|
+
AUTO_INCREMENT: false,
|
|
560
|
+
SKIP_COLUMN_IN_POST: false
|
|
561
|
+
},
|
|
562
|
+
'carbon_location_references.location_time': {
|
|
563
|
+
MYSQL_TYPE: 'datetime',
|
|
564
|
+
MAX_LENGTH: '',
|
|
565
|
+
AUTO_INCREMENT: false,
|
|
566
|
+
SKIP_COLUMN_IN_POST: true
|
|
593
567
|
},
|
|
594
568
|
},
|
|
595
569
|
REGEX_VALIDATION: {
|
|
@@ -597,28 +571,28 @@ export const location_references : C6RestfulModel & iDefineLocation_References =
|
|
|
597
571
|
|
|
598
572
|
}
|
|
599
573
|
|
|
600
|
-
|
|
574
|
+
|
|
601
575
|
|
|
602
576
|
export interface iLocations {
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
577
|
+
'entity_id'?: string;
|
|
578
|
+
'latitude'?: string;
|
|
579
|
+
'longitude'?: string;
|
|
580
|
+
'street'?: string;
|
|
581
|
+
'city'?: string;
|
|
582
|
+
'state'?: string;
|
|
583
|
+
'elevation'?: string;
|
|
584
|
+
'zip'?: number;
|
|
611
585
|
}
|
|
612
586
|
|
|
613
587
|
interface iDefineLocations {
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
588
|
+
'ENTITY_ID': string;
|
|
589
|
+
'LATITUDE': string;
|
|
590
|
+
'LONGITUDE': string;
|
|
591
|
+
'STREET': string;
|
|
592
|
+
'CITY': string;
|
|
593
|
+
'STATE': string;
|
|
594
|
+
'ELEVATION': string;
|
|
595
|
+
'ZIP': string;
|
|
622
596
|
}
|
|
623
597
|
|
|
624
598
|
export const locations : C6RestfulModel & iDefineLocations = {
|
|
@@ -635,63 +609,63 @@ export const locations : C6RestfulModel & iDefineLocations = {
|
|
|
635
609
|
'carbon_locations.entity_id',
|
|
636
610
|
],
|
|
637
611
|
COLUMNS: {
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
612
|
+
'carbon_locations.entity_id':'entity_id',
|
|
613
|
+
'carbon_locations.latitude':'latitude',
|
|
614
|
+
'carbon_locations.longitude':'longitude',
|
|
615
|
+
'carbon_locations.street':'street',
|
|
616
|
+
'carbon_locations.city':'city',
|
|
617
|
+
'carbon_locations.state':'state',
|
|
618
|
+
'carbon_locations.elevation':'elevation',
|
|
619
|
+
'carbon_locations.zip':'zip',
|
|
646
620
|
},
|
|
647
621
|
TYPE_VALIDATION: {
|
|
648
|
-
'carbon_locations.entity_id': {
|
|
649
|
-
MYSQL_TYPE: 'binary',
|
|
650
|
-
MAX_LENGTH: '16',
|
|
651
|
-
AUTO_INCREMENT: false,
|
|
652
|
-
SKIP_COLUMN_IN_POST: false
|
|
653
|
-
},
|
|
654
|
-
'carbon_locations.latitude': {
|
|
655
|
-
MYSQL_TYPE: 'varchar',
|
|
656
|
-
MAX_LENGTH: '225',
|
|
657
|
-
AUTO_INCREMENT: false,
|
|
658
|
-
SKIP_COLUMN_IN_POST: true
|
|
659
|
-
},
|
|
660
|
-
'carbon_locations.longitude': {
|
|
661
|
-
MYSQL_TYPE: 'varchar',
|
|
662
|
-
MAX_LENGTH: '225',
|
|
663
|
-
AUTO_INCREMENT: false,
|
|
664
|
-
SKIP_COLUMN_IN_POST: true
|
|
665
|
-
},
|
|
666
|
-
'carbon_locations.street': {
|
|
667
|
-
MYSQL_TYPE: 'varchar',
|
|
668
|
-
MAX_LENGTH: '225',
|
|
669
|
-
AUTO_INCREMENT: false,
|
|
670
|
-
SKIP_COLUMN_IN_POST: true
|
|
671
|
-
},
|
|
672
|
-
'carbon_locations.city': {
|
|
673
|
-
MYSQL_TYPE: 'varchar',
|
|
674
|
-
MAX_LENGTH: '40',
|
|
675
|
-
AUTO_INCREMENT: false,
|
|
676
|
-
SKIP_COLUMN_IN_POST: true
|
|
677
|
-
},
|
|
678
|
-
'carbon_locations.state': {
|
|
679
|
-
MYSQL_TYPE: 'varchar',
|
|
680
|
-
MAX_LENGTH: '10',
|
|
681
|
-
AUTO_INCREMENT: false,
|
|
682
|
-
SKIP_COLUMN_IN_POST: true
|
|
683
|
-
},
|
|
684
|
-
'carbon_locations.elevation': {
|
|
685
|
-
MYSQL_TYPE: 'varchar',
|
|
686
|
-
MAX_LENGTH: '40',
|
|
687
|
-
AUTO_INCREMENT: false,
|
|
688
|
-
SKIP_COLUMN_IN_POST: true
|
|
689
|
-
},
|
|
690
|
-
'carbon_locations.zip': {
|
|
691
|
-
MYSQL_TYPE: 'int',
|
|
692
|
-
MAX_LENGTH: '',
|
|
693
|
-
AUTO_INCREMENT: false,
|
|
694
|
-
SKIP_COLUMN_IN_POST: true
|
|
622
|
+
'carbon_locations.entity_id': {
|
|
623
|
+
MYSQL_TYPE: 'binary',
|
|
624
|
+
MAX_LENGTH: '16',
|
|
625
|
+
AUTO_INCREMENT: false,
|
|
626
|
+
SKIP_COLUMN_IN_POST: false
|
|
627
|
+
},
|
|
628
|
+
'carbon_locations.latitude': {
|
|
629
|
+
MYSQL_TYPE: 'varchar',
|
|
630
|
+
MAX_LENGTH: '225',
|
|
631
|
+
AUTO_INCREMENT: false,
|
|
632
|
+
SKIP_COLUMN_IN_POST: true
|
|
633
|
+
},
|
|
634
|
+
'carbon_locations.longitude': {
|
|
635
|
+
MYSQL_TYPE: 'varchar',
|
|
636
|
+
MAX_LENGTH: '225',
|
|
637
|
+
AUTO_INCREMENT: false,
|
|
638
|
+
SKIP_COLUMN_IN_POST: true
|
|
639
|
+
},
|
|
640
|
+
'carbon_locations.street': {
|
|
641
|
+
MYSQL_TYPE: 'varchar',
|
|
642
|
+
MAX_LENGTH: '225',
|
|
643
|
+
AUTO_INCREMENT: false,
|
|
644
|
+
SKIP_COLUMN_IN_POST: true
|
|
645
|
+
},
|
|
646
|
+
'carbon_locations.city': {
|
|
647
|
+
MYSQL_TYPE: 'varchar',
|
|
648
|
+
MAX_LENGTH: '40',
|
|
649
|
+
AUTO_INCREMENT: false,
|
|
650
|
+
SKIP_COLUMN_IN_POST: true
|
|
651
|
+
},
|
|
652
|
+
'carbon_locations.state': {
|
|
653
|
+
MYSQL_TYPE: 'varchar',
|
|
654
|
+
MAX_LENGTH: '10',
|
|
655
|
+
AUTO_INCREMENT: false,
|
|
656
|
+
SKIP_COLUMN_IN_POST: true
|
|
657
|
+
},
|
|
658
|
+
'carbon_locations.elevation': {
|
|
659
|
+
MYSQL_TYPE: 'varchar',
|
|
660
|
+
MAX_LENGTH: '40',
|
|
661
|
+
AUTO_INCREMENT: false,
|
|
662
|
+
SKIP_COLUMN_IN_POST: true
|
|
663
|
+
},
|
|
664
|
+
'carbon_locations.zip': {
|
|
665
|
+
MYSQL_TYPE: 'int',
|
|
666
|
+
MAX_LENGTH: '',
|
|
667
|
+
AUTO_INCREMENT: false,
|
|
668
|
+
SKIP_COLUMN_IN_POST: true
|
|
695
669
|
},
|
|
696
670
|
},
|
|
697
671
|
REGEX_VALIDATION: {
|
|
@@ -699,22 +673,22 @@ export const locations : C6RestfulModel & iDefineLocations = {
|
|
|
699
673
|
|
|
700
674
|
}
|
|
701
675
|
|
|
702
|
-
|
|
676
|
+
|
|
703
677
|
|
|
704
678
|
export interface iPhotos {
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
679
|
+
'parent_id'?: string;
|
|
680
|
+
'photo_id'?: string;
|
|
681
|
+
'user_id'?: string;
|
|
682
|
+
'photo_path'?: string;
|
|
683
|
+
'photo_description'?: string;
|
|
710
684
|
}
|
|
711
685
|
|
|
712
686
|
interface iDefinePhotos {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
687
|
+
'PARENT_ID': string;
|
|
688
|
+
'PHOTO_ID': string;
|
|
689
|
+
'USER_ID': string;
|
|
690
|
+
'PHOTO_PATH': string;
|
|
691
|
+
'PHOTO_DESCRIPTION': string;
|
|
718
692
|
}
|
|
719
693
|
|
|
720
694
|
export const photos : C6RestfulModel & iDefinePhotos = {
|
|
@@ -728,42 +702,42 @@ export const photos : C6RestfulModel & iDefinePhotos = {
|
|
|
728
702
|
'carbon_photos.parent_id',
|
|
729
703
|
],
|
|
730
704
|
COLUMNS: {
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
705
|
+
'carbon_photos.parent_id':'parent_id',
|
|
706
|
+
'carbon_photos.photo_id':'photo_id',
|
|
707
|
+
'carbon_photos.user_id':'user_id',
|
|
708
|
+
'carbon_photos.photo_path':'photo_path',
|
|
709
|
+
'carbon_photos.photo_description':'photo_description',
|
|
736
710
|
},
|
|
737
711
|
TYPE_VALIDATION: {
|
|
738
|
-
'carbon_photos.parent_id': {
|
|
739
|
-
MYSQL_TYPE: 'binary',
|
|
740
|
-
MAX_LENGTH: '16',
|
|
741
|
-
AUTO_INCREMENT: false,
|
|
742
|
-
SKIP_COLUMN_IN_POST: false
|
|
743
|
-
},
|
|
744
|
-
'carbon_photos.photo_id': {
|
|
745
|
-
MYSQL_TYPE: 'binary',
|
|
746
|
-
MAX_LENGTH: '16',
|
|
747
|
-
AUTO_INCREMENT: false,
|
|
748
|
-
SKIP_COLUMN_IN_POST: false
|
|
749
|
-
},
|
|
750
|
-
'carbon_photos.user_id': {
|
|
751
|
-
MYSQL_TYPE: 'binary',
|
|
752
|
-
MAX_LENGTH: '16',
|
|
753
|
-
AUTO_INCREMENT: false,
|
|
754
|
-
SKIP_COLUMN_IN_POST: false
|
|
755
|
-
},
|
|
756
|
-
'carbon_photos.photo_path': {
|
|
757
|
-
MYSQL_TYPE: 'varchar',
|
|
758
|
-
MAX_LENGTH: '225',
|
|
759
|
-
AUTO_INCREMENT: false,
|
|
760
|
-
SKIP_COLUMN_IN_POST: false
|
|
761
|
-
},
|
|
762
|
-
'carbon_photos.photo_description': {
|
|
763
|
-
MYSQL_TYPE: 'text',
|
|
764
|
-
MAX_LENGTH: '',
|
|
765
|
-
AUTO_INCREMENT: false,
|
|
766
|
-
SKIP_COLUMN_IN_POST: false
|
|
712
|
+
'carbon_photos.parent_id': {
|
|
713
|
+
MYSQL_TYPE: 'binary',
|
|
714
|
+
MAX_LENGTH: '16',
|
|
715
|
+
AUTO_INCREMENT: false,
|
|
716
|
+
SKIP_COLUMN_IN_POST: false
|
|
717
|
+
},
|
|
718
|
+
'carbon_photos.photo_id': {
|
|
719
|
+
MYSQL_TYPE: 'binary',
|
|
720
|
+
MAX_LENGTH: '16',
|
|
721
|
+
AUTO_INCREMENT: false,
|
|
722
|
+
SKIP_COLUMN_IN_POST: false
|
|
723
|
+
},
|
|
724
|
+
'carbon_photos.user_id': {
|
|
725
|
+
MYSQL_TYPE: 'binary',
|
|
726
|
+
MAX_LENGTH: '16',
|
|
727
|
+
AUTO_INCREMENT: false,
|
|
728
|
+
SKIP_COLUMN_IN_POST: false
|
|
729
|
+
},
|
|
730
|
+
'carbon_photos.photo_path': {
|
|
731
|
+
MYSQL_TYPE: 'varchar',
|
|
732
|
+
MAX_LENGTH: '225',
|
|
733
|
+
AUTO_INCREMENT: false,
|
|
734
|
+
SKIP_COLUMN_IN_POST: false
|
|
735
|
+
},
|
|
736
|
+
'carbon_photos.photo_description': {
|
|
737
|
+
MYSQL_TYPE: 'text',
|
|
738
|
+
MAX_LENGTH: '',
|
|
739
|
+
AUTO_INCREMENT: false,
|
|
740
|
+
SKIP_COLUMN_IN_POST: false
|
|
767
741
|
},
|
|
768
742
|
},
|
|
769
743
|
REGEX_VALIDATION: {
|
|
@@ -771,20 +745,20 @@ export const photos : C6RestfulModel & iDefinePhotos = {
|
|
|
771
745
|
|
|
772
746
|
}
|
|
773
747
|
|
|
774
|
-
|
|
748
|
+
|
|
775
749
|
|
|
776
750
|
export interface iReports {
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
751
|
+
'log_level'?: string;
|
|
752
|
+
'report'?: string;
|
|
753
|
+
'date'?: string;
|
|
754
|
+
'call_trace'?: string;
|
|
781
755
|
}
|
|
782
756
|
|
|
783
757
|
interface iDefineReports {
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
758
|
+
'LOG_LEVEL': string;
|
|
759
|
+
'REPORT': string;
|
|
760
|
+
'DATE': string;
|
|
761
|
+
'CALL_TRACE': string;
|
|
788
762
|
}
|
|
789
763
|
|
|
790
764
|
export const reports : C6RestfulModel & iDefineReports = {
|
|
@@ -796,35 +770,35 @@ export const reports : C6RestfulModel & iDefineReports = {
|
|
|
796
770
|
PRIMARY: [
|
|
797
771
|
],
|
|
798
772
|
COLUMNS: {
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
773
|
+
'carbon_reports.log_level':'log_level',
|
|
774
|
+
'carbon_reports.report':'report',
|
|
775
|
+
'carbon_reports.date':'date',
|
|
776
|
+
'carbon_reports.call_trace':'call_trace',
|
|
803
777
|
},
|
|
804
778
|
TYPE_VALIDATION: {
|
|
805
|
-
'carbon_reports.log_level': {
|
|
806
|
-
MYSQL_TYPE: 'varchar',
|
|
807
|
-
MAX_LENGTH: '20',
|
|
808
|
-
AUTO_INCREMENT: false,
|
|
809
|
-
SKIP_COLUMN_IN_POST: true
|
|
810
|
-
},
|
|
811
|
-
'carbon_reports.report': {
|
|
812
|
-
MYSQL_TYPE: 'text',
|
|
813
|
-
MAX_LENGTH: '',
|
|
814
|
-
AUTO_INCREMENT: false,
|
|
815
|
-
SKIP_COLUMN_IN_POST: false
|
|
816
|
-
},
|
|
817
|
-
'carbon_reports.date': {
|
|
818
|
-
MYSQL_TYPE: 'datetime',
|
|
819
|
-
MAX_LENGTH: '',
|
|
820
|
-
AUTO_INCREMENT: false,
|
|
821
|
-
SKIP_COLUMN_IN_POST: true
|
|
822
|
-
},
|
|
823
|
-
'carbon_reports.call_trace': {
|
|
824
|
-
MYSQL_TYPE: 'text',
|
|
825
|
-
MAX_LENGTH: '',
|
|
826
|
-
AUTO_INCREMENT: false,
|
|
827
|
-
SKIP_COLUMN_IN_POST: false
|
|
779
|
+
'carbon_reports.log_level': {
|
|
780
|
+
MYSQL_TYPE: 'varchar',
|
|
781
|
+
MAX_LENGTH: '20',
|
|
782
|
+
AUTO_INCREMENT: false,
|
|
783
|
+
SKIP_COLUMN_IN_POST: true
|
|
784
|
+
},
|
|
785
|
+
'carbon_reports.report': {
|
|
786
|
+
MYSQL_TYPE: 'text',
|
|
787
|
+
MAX_LENGTH: '',
|
|
788
|
+
AUTO_INCREMENT: false,
|
|
789
|
+
SKIP_COLUMN_IN_POST: false
|
|
790
|
+
},
|
|
791
|
+
'carbon_reports.date': {
|
|
792
|
+
MYSQL_TYPE: 'datetime',
|
|
793
|
+
MAX_LENGTH: '',
|
|
794
|
+
AUTO_INCREMENT: false,
|
|
795
|
+
SKIP_COLUMN_IN_POST: true
|
|
796
|
+
},
|
|
797
|
+
'carbon_reports.call_trace': {
|
|
798
|
+
MYSQL_TYPE: 'text',
|
|
799
|
+
MAX_LENGTH: '',
|
|
800
|
+
AUTO_INCREMENT: false,
|
|
801
|
+
SKIP_COLUMN_IN_POST: false
|
|
828
802
|
},
|
|
829
803
|
},
|
|
830
804
|
REGEX_VALIDATION: {
|
|
@@ -832,100 +806,18 @@ export const reports : C6RestfulModel & iDefineReports = {
|
|
|
832
806
|
|
|
833
807
|
}
|
|
834
808
|
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
export interface iSessions {
|
|
838
|
-
'user_id'?: string;
|
|
839
|
-
'user_ip'?: string;
|
|
840
|
-
'session_id'?: string;
|
|
841
|
-
'session_expires'?: string;
|
|
842
|
-
'session_data'?: string;
|
|
843
|
-
'user_online_status'?: number;
|
|
844
|
-
}
|
|
845
809
|
|
|
846
|
-
interface iDefineSessions {
|
|
847
|
-
'USER_ID': string;
|
|
848
|
-
'USER_IP': string;
|
|
849
|
-
'SESSION_ID': string;
|
|
850
|
-
'SESSION_EXPIRES': string;
|
|
851
|
-
'SESSION_DATA': string;
|
|
852
|
-
'USER_ONLINE_STATUS': string;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
export const sessions : C6RestfulModel & iDefineSessions = {
|
|
856
|
-
TABLE_NAME:'sessions',
|
|
857
|
-
USER_ID: 'carbon_sessions.user_id',
|
|
858
|
-
USER_IP: 'carbon_sessions.user_ip',
|
|
859
|
-
SESSION_ID: 'carbon_sessions.session_id',
|
|
860
|
-
SESSION_EXPIRES: 'carbon_sessions.session_expires',
|
|
861
|
-
SESSION_DATA: 'carbon_sessions.session_data',
|
|
862
|
-
USER_ONLINE_STATUS: 'carbon_sessions.user_online_status',
|
|
863
|
-
PRIMARY: [
|
|
864
|
-
'carbon_sessions.session_id',
|
|
865
|
-
],
|
|
866
|
-
COLUMNS: {
|
|
867
|
-
'carbon_sessions.user_id':'user_id',
|
|
868
|
-
'carbon_sessions.user_ip':'user_ip',
|
|
869
|
-
'carbon_sessions.session_id':'session_id',
|
|
870
|
-
'carbon_sessions.session_expires':'session_expires',
|
|
871
|
-
'carbon_sessions.session_data':'session_data',
|
|
872
|
-
'carbon_sessions.user_online_status':'user_online_status',
|
|
873
|
-
},
|
|
874
|
-
TYPE_VALIDATION: {
|
|
875
|
-
'carbon_sessions.user_id': {
|
|
876
|
-
MYSQL_TYPE: 'binary',
|
|
877
|
-
MAX_LENGTH: '16',
|
|
878
|
-
AUTO_INCREMENT: false,
|
|
879
|
-
SKIP_COLUMN_IN_POST: false
|
|
880
|
-
},
|
|
881
|
-
'carbon_sessions.user_ip': {
|
|
882
|
-
MYSQL_TYPE: 'varchar',
|
|
883
|
-
MAX_LENGTH: '20',
|
|
884
|
-
AUTO_INCREMENT: false,
|
|
885
|
-
SKIP_COLUMN_IN_POST: true
|
|
886
|
-
},
|
|
887
|
-
'carbon_sessions.session_id': {
|
|
888
|
-
MYSQL_TYPE: 'varchar',
|
|
889
|
-
MAX_LENGTH: '255',
|
|
890
|
-
AUTO_INCREMENT: false,
|
|
891
|
-
SKIP_COLUMN_IN_POST: false
|
|
892
|
-
},
|
|
893
|
-
'carbon_sessions.session_expires': {
|
|
894
|
-
MYSQL_TYPE: 'datetime',
|
|
895
|
-
MAX_LENGTH: '',
|
|
896
|
-
AUTO_INCREMENT: false,
|
|
897
|
-
SKIP_COLUMN_IN_POST: false
|
|
898
|
-
},
|
|
899
|
-
'carbon_sessions.session_data': {
|
|
900
|
-
MYSQL_TYPE: 'text',
|
|
901
|
-
MAX_LENGTH: '',
|
|
902
|
-
AUTO_INCREMENT: false,
|
|
903
|
-
SKIP_COLUMN_IN_POST: false
|
|
904
|
-
},
|
|
905
|
-
'carbon_sessions.user_online_status': {
|
|
906
|
-
MYSQL_TYPE: 'tinyint',
|
|
907
|
-
MAX_LENGTH: '',
|
|
908
|
-
AUTO_INCREMENT: false,
|
|
909
|
-
SKIP_COLUMN_IN_POST: true
|
|
910
|
-
},
|
|
911
|
-
},
|
|
912
|
-
REGEX_VALIDATION: {
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
|
|
918
810
|
|
|
919
811
|
export interface iUser_Followers {
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
812
|
+
'follower_table_id'?: string;
|
|
813
|
+
'follows_user_id'?: string;
|
|
814
|
+
'user_id'?: string;
|
|
923
815
|
}
|
|
924
816
|
|
|
925
817
|
interface iDefineUser_Followers {
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
818
|
+
'FOLLOWER_TABLE_ID': string;
|
|
819
|
+
'FOLLOWS_USER_ID': string;
|
|
820
|
+
'USER_ID': string;
|
|
929
821
|
}
|
|
930
822
|
|
|
931
823
|
export const user_followers : C6RestfulModel & iDefineUser_Followers = {
|
|
@@ -937,28 +829,28 @@ export const user_followers : C6RestfulModel & iDefineUser_Followers = {
|
|
|
937
829
|
'carbon_user_followers.follower_table_id',
|
|
938
830
|
],
|
|
939
831
|
COLUMNS: {
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
832
|
+
'carbon_user_followers.follower_table_id':'follower_table_id',
|
|
833
|
+
'carbon_user_followers.follows_user_id':'follows_user_id',
|
|
834
|
+
'carbon_user_followers.user_id':'user_id',
|
|
943
835
|
},
|
|
944
836
|
TYPE_VALIDATION: {
|
|
945
|
-
'carbon_user_followers.follower_table_id': {
|
|
946
|
-
MYSQL_TYPE: 'binary',
|
|
947
|
-
MAX_LENGTH: '16',
|
|
948
|
-
AUTO_INCREMENT: false,
|
|
949
|
-
SKIP_COLUMN_IN_POST: false
|
|
950
|
-
},
|
|
951
|
-
'carbon_user_followers.follows_user_id': {
|
|
952
|
-
MYSQL_TYPE: 'binary',
|
|
953
|
-
MAX_LENGTH: '16',
|
|
954
|
-
AUTO_INCREMENT: false,
|
|
955
|
-
SKIP_COLUMN_IN_POST: false
|
|
956
|
-
},
|
|
957
|
-
'carbon_user_followers.user_id': {
|
|
958
|
-
MYSQL_TYPE: 'binary',
|
|
959
|
-
MAX_LENGTH: '16',
|
|
960
|
-
AUTO_INCREMENT: false,
|
|
961
|
-
SKIP_COLUMN_IN_POST: false
|
|
837
|
+
'carbon_user_followers.follower_table_id': {
|
|
838
|
+
MYSQL_TYPE: 'binary',
|
|
839
|
+
MAX_LENGTH: '16',
|
|
840
|
+
AUTO_INCREMENT: false,
|
|
841
|
+
SKIP_COLUMN_IN_POST: false
|
|
842
|
+
},
|
|
843
|
+
'carbon_user_followers.follows_user_id': {
|
|
844
|
+
MYSQL_TYPE: 'binary',
|
|
845
|
+
MAX_LENGTH: '16',
|
|
846
|
+
AUTO_INCREMENT: false,
|
|
847
|
+
SKIP_COLUMN_IN_POST: false
|
|
848
|
+
},
|
|
849
|
+
'carbon_user_followers.user_id': {
|
|
850
|
+
MYSQL_TYPE: 'binary',
|
|
851
|
+
MAX_LENGTH: '16',
|
|
852
|
+
AUTO_INCREMENT: false,
|
|
853
|
+
SKIP_COLUMN_IN_POST: false
|
|
962
854
|
},
|
|
963
855
|
},
|
|
964
856
|
REGEX_VALIDATION: {
|
|
@@ -966,16 +858,16 @@ export const user_followers : C6RestfulModel & iDefineUser_Followers = {
|
|
|
966
858
|
|
|
967
859
|
}
|
|
968
860
|
|
|
969
|
-
|
|
861
|
+
|
|
970
862
|
|
|
971
863
|
export interface iUser_Groups {
|
|
972
|
-
|
|
973
|
-
|
|
864
|
+
'group_id'?: string;
|
|
865
|
+
'user_id'?: string;
|
|
974
866
|
}
|
|
975
867
|
|
|
976
868
|
interface iDefineUser_Groups {
|
|
977
|
-
|
|
978
|
-
|
|
869
|
+
'GROUP_ID': string;
|
|
870
|
+
'USER_ID': string;
|
|
979
871
|
}
|
|
980
872
|
|
|
981
873
|
export const user_groups : C6RestfulModel & iDefineUser_Groups = {
|
|
@@ -985,21 +877,21 @@ export const user_groups : C6RestfulModel & iDefineUser_Groups = {
|
|
|
985
877
|
PRIMARY: [
|
|
986
878
|
],
|
|
987
879
|
COLUMNS: {
|
|
988
|
-
|
|
989
|
-
|
|
880
|
+
'carbon_user_groups.group_id':'group_id',
|
|
881
|
+
'carbon_user_groups.user_id':'user_id',
|
|
990
882
|
},
|
|
991
883
|
TYPE_VALIDATION: {
|
|
992
|
-
'carbon_user_groups.group_id': {
|
|
993
|
-
MYSQL_TYPE: 'binary',
|
|
994
|
-
MAX_LENGTH: '16',
|
|
995
|
-
AUTO_INCREMENT: false,
|
|
996
|
-
SKIP_COLUMN_IN_POST: true
|
|
997
|
-
},
|
|
998
|
-
'carbon_user_groups.user_id': {
|
|
999
|
-
MYSQL_TYPE: 'binary',
|
|
1000
|
-
MAX_LENGTH: '16',
|
|
1001
|
-
AUTO_INCREMENT: false,
|
|
1002
|
-
SKIP_COLUMN_IN_POST: true
|
|
884
|
+
'carbon_user_groups.group_id': {
|
|
885
|
+
MYSQL_TYPE: 'binary',
|
|
886
|
+
MAX_LENGTH: '16',
|
|
887
|
+
AUTO_INCREMENT: false,
|
|
888
|
+
SKIP_COLUMN_IN_POST: true
|
|
889
|
+
},
|
|
890
|
+
'carbon_user_groups.user_id': {
|
|
891
|
+
MYSQL_TYPE: 'binary',
|
|
892
|
+
MAX_LENGTH: '16',
|
|
893
|
+
AUTO_INCREMENT: false,
|
|
894
|
+
SKIP_COLUMN_IN_POST: true
|
|
1003
895
|
},
|
|
1004
896
|
},
|
|
1005
897
|
REGEX_VALIDATION: {
|
|
@@ -1007,24 +899,24 @@ export const user_groups : C6RestfulModel & iDefineUser_Groups = {
|
|
|
1007
899
|
|
|
1008
900
|
}
|
|
1009
901
|
|
|
1010
|
-
|
|
902
|
+
|
|
1011
903
|
|
|
1012
904
|
export interface iUser_Messages {
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
905
|
+
'message_id'?: string;
|
|
906
|
+
'from_user_id'?: string;
|
|
907
|
+
'to_user_id'?: string;
|
|
908
|
+
'message'?: string;
|
|
909
|
+
'message_read'?: number;
|
|
910
|
+
'creation_date'?: string;
|
|
1019
911
|
}
|
|
1020
912
|
|
|
1021
913
|
interface iDefineUser_Messages {
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
914
|
+
'MESSAGE_ID': string;
|
|
915
|
+
'FROM_USER_ID': string;
|
|
916
|
+
'TO_USER_ID': string;
|
|
917
|
+
'MESSAGE': string;
|
|
918
|
+
'MESSAGE_READ': string;
|
|
919
|
+
'CREATION_DATE': string;
|
|
1028
920
|
}
|
|
1029
921
|
|
|
1030
922
|
export const user_messages : C6RestfulModel & iDefineUser_Messages = {
|
|
@@ -1039,49 +931,49 @@ export const user_messages : C6RestfulModel & iDefineUser_Messages = {
|
|
|
1039
931
|
'carbon_user_messages.message_id',
|
|
1040
932
|
],
|
|
1041
933
|
COLUMNS: {
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
934
|
+
'carbon_user_messages.message_id':'message_id',
|
|
935
|
+
'carbon_user_messages.from_user_id':'from_user_id',
|
|
936
|
+
'carbon_user_messages.to_user_id':'to_user_id',
|
|
937
|
+
'carbon_user_messages.message':'message',
|
|
938
|
+
'carbon_user_messages.message_read':'message_read',
|
|
939
|
+
'carbon_user_messages.creation_date':'creation_date',
|
|
1048
940
|
},
|
|
1049
941
|
TYPE_VALIDATION: {
|
|
1050
|
-
'carbon_user_messages.message_id': {
|
|
1051
|
-
MYSQL_TYPE: 'binary',
|
|
1052
|
-
MAX_LENGTH: '16',
|
|
1053
|
-
AUTO_INCREMENT: false,
|
|
1054
|
-
SKIP_COLUMN_IN_POST: false
|
|
1055
|
-
},
|
|
1056
|
-
'carbon_user_messages.from_user_id': {
|
|
1057
|
-
MYSQL_TYPE: 'binary',
|
|
1058
|
-
MAX_LENGTH: '16',
|
|
1059
|
-
AUTO_INCREMENT: false,
|
|
1060
|
-
SKIP_COLUMN_IN_POST: false
|
|
1061
|
-
},
|
|
1062
|
-
'carbon_user_messages.to_user_id': {
|
|
1063
|
-
MYSQL_TYPE: 'binary',
|
|
1064
|
-
MAX_LENGTH: '16',
|
|
1065
|
-
AUTO_INCREMENT: false,
|
|
1066
|
-
SKIP_COLUMN_IN_POST: false
|
|
1067
|
-
},
|
|
1068
|
-
'carbon_user_messages.message': {
|
|
1069
|
-
MYSQL_TYPE: 'text',
|
|
1070
|
-
MAX_LENGTH: '',
|
|
1071
|
-
AUTO_INCREMENT: false,
|
|
1072
|
-
SKIP_COLUMN_IN_POST: false
|
|
1073
|
-
},
|
|
1074
|
-
'carbon_user_messages.message_read': {
|
|
1075
|
-
MYSQL_TYPE: 'tinyint',
|
|
1076
|
-
MAX_LENGTH: '',
|
|
1077
|
-
AUTO_INCREMENT: false,
|
|
1078
|
-
SKIP_COLUMN_IN_POST: true
|
|
1079
|
-
},
|
|
1080
|
-
'carbon_user_messages.creation_date': {
|
|
1081
|
-
MYSQL_TYPE: 'datetime',
|
|
1082
|
-
MAX_LENGTH: '',
|
|
1083
|
-
AUTO_INCREMENT: false,
|
|
1084
|
-
SKIP_COLUMN_IN_POST: true
|
|
942
|
+
'carbon_user_messages.message_id': {
|
|
943
|
+
MYSQL_TYPE: 'binary',
|
|
944
|
+
MAX_LENGTH: '16',
|
|
945
|
+
AUTO_INCREMENT: false,
|
|
946
|
+
SKIP_COLUMN_IN_POST: false
|
|
947
|
+
},
|
|
948
|
+
'carbon_user_messages.from_user_id': {
|
|
949
|
+
MYSQL_TYPE: 'binary',
|
|
950
|
+
MAX_LENGTH: '16',
|
|
951
|
+
AUTO_INCREMENT: false,
|
|
952
|
+
SKIP_COLUMN_IN_POST: false
|
|
953
|
+
},
|
|
954
|
+
'carbon_user_messages.to_user_id': {
|
|
955
|
+
MYSQL_TYPE: 'binary',
|
|
956
|
+
MAX_LENGTH: '16',
|
|
957
|
+
AUTO_INCREMENT: false,
|
|
958
|
+
SKIP_COLUMN_IN_POST: false
|
|
959
|
+
},
|
|
960
|
+
'carbon_user_messages.message': {
|
|
961
|
+
MYSQL_TYPE: 'text',
|
|
962
|
+
MAX_LENGTH: '',
|
|
963
|
+
AUTO_INCREMENT: false,
|
|
964
|
+
SKIP_COLUMN_IN_POST: false
|
|
965
|
+
},
|
|
966
|
+
'carbon_user_messages.message_read': {
|
|
967
|
+
MYSQL_TYPE: 'tinyint',
|
|
968
|
+
MAX_LENGTH: '',
|
|
969
|
+
AUTO_INCREMENT: false,
|
|
970
|
+
SKIP_COLUMN_IN_POST: true
|
|
971
|
+
},
|
|
972
|
+
'carbon_user_messages.creation_date': {
|
|
973
|
+
MYSQL_TYPE: 'datetime',
|
|
974
|
+
MAX_LENGTH: '',
|
|
975
|
+
AUTO_INCREMENT: false,
|
|
976
|
+
SKIP_COLUMN_IN_POST: true
|
|
1085
977
|
},
|
|
1086
978
|
},
|
|
1087
979
|
REGEX_VALIDATION: {
|
|
@@ -1089,24 +981,24 @@ export const user_messages : C6RestfulModel & iDefineUser_Messages = {
|
|
|
1089
981
|
|
|
1090
982
|
}
|
|
1091
983
|
|
|
1092
|
-
|
|
984
|
+
|
|
1093
985
|
|
|
1094
986
|
export interface iUser_Sessions {
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
987
|
+
'user_id'?: string;
|
|
988
|
+
'user_ip'?: string;
|
|
989
|
+
'session_id'?: string;
|
|
990
|
+
'session_expires'?: string;
|
|
991
|
+
'session_data'?: string;
|
|
992
|
+
'user_online_status'?: number;
|
|
1101
993
|
}
|
|
1102
994
|
|
|
1103
995
|
interface iDefineUser_Sessions {
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
996
|
+
'USER_ID': string;
|
|
997
|
+
'USER_IP': string;
|
|
998
|
+
'SESSION_ID': string;
|
|
999
|
+
'SESSION_EXPIRES': string;
|
|
1000
|
+
'SESSION_DATA': string;
|
|
1001
|
+
'USER_ONLINE_STATUS': string;
|
|
1110
1002
|
}
|
|
1111
1003
|
|
|
1112
1004
|
export const user_sessions : C6RestfulModel & iDefineUser_Sessions = {
|
|
@@ -1121,49 +1013,49 @@ export const user_sessions : C6RestfulModel & iDefineUser_Sessions = {
|
|
|
1121
1013
|
'carbon_user_sessions.session_id',
|
|
1122
1014
|
],
|
|
1123
1015
|
COLUMNS: {
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1016
|
+
'carbon_user_sessions.user_id':'user_id',
|
|
1017
|
+
'carbon_user_sessions.user_ip':'user_ip',
|
|
1018
|
+
'carbon_user_sessions.session_id':'session_id',
|
|
1019
|
+
'carbon_user_sessions.session_expires':'session_expires',
|
|
1020
|
+
'carbon_user_sessions.session_data':'session_data',
|
|
1021
|
+
'carbon_user_sessions.user_online_status':'user_online_status',
|
|
1130
1022
|
},
|
|
1131
1023
|
TYPE_VALIDATION: {
|
|
1132
|
-
'carbon_user_sessions.user_id': {
|
|
1133
|
-
MYSQL_TYPE: 'binary',
|
|
1134
|
-
MAX_LENGTH: '16',
|
|
1135
|
-
AUTO_INCREMENT: false,
|
|
1136
|
-
SKIP_COLUMN_IN_POST: false
|
|
1137
|
-
},
|
|
1138
|
-
'carbon_user_sessions.user_ip': {
|
|
1139
|
-
MYSQL_TYPE: 'binary',
|
|
1140
|
-
MAX_LENGTH: '16',
|
|
1141
|
-
AUTO_INCREMENT: false,
|
|
1142
|
-
SKIP_COLUMN_IN_POST: true
|
|
1143
|
-
},
|
|
1144
|
-
'carbon_user_sessions.session_id': {
|
|
1145
|
-
MYSQL_TYPE: 'varchar',
|
|
1146
|
-
MAX_LENGTH: '255',
|
|
1147
|
-
AUTO_INCREMENT: false,
|
|
1148
|
-
SKIP_COLUMN_IN_POST: false
|
|
1149
|
-
},
|
|
1150
|
-
'carbon_user_sessions.session_expires': {
|
|
1151
|
-
MYSQL_TYPE: 'datetime',
|
|
1152
|
-
MAX_LENGTH: '',
|
|
1153
|
-
AUTO_INCREMENT: false,
|
|
1154
|
-
SKIP_COLUMN_IN_POST: false
|
|
1155
|
-
},
|
|
1156
|
-
'carbon_user_sessions.session_data': {
|
|
1157
|
-
MYSQL_TYPE: 'text',
|
|
1158
|
-
MAX_LENGTH: '',
|
|
1159
|
-
AUTO_INCREMENT: false,
|
|
1160
|
-
SKIP_COLUMN_IN_POST: false
|
|
1161
|
-
},
|
|
1162
|
-
'carbon_user_sessions.user_online_status': {
|
|
1163
|
-
MYSQL_TYPE: 'tinyint',
|
|
1164
|
-
MAX_LENGTH: '',
|
|
1165
|
-
AUTO_INCREMENT: false,
|
|
1166
|
-
SKIP_COLUMN_IN_POST: true
|
|
1024
|
+
'carbon_user_sessions.user_id': {
|
|
1025
|
+
MYSQL_TYPE: 'binary',
|
|
1026
|
+
MAX_LENGTH: '16',
|
|
1027
|
+
AUTO_INCREMENT: false,
|
|
1028
|
+
SKIP_COLUMN_IN_POST: false
|
|
1029
|
+
},
|
|
1030
|
+
'carbon_user_sessions.user_ip': {
|
|
1031
|
+
MYSQL_TYPE: 'binary',
|
|
1032
|
+
MAX_LENGTH: '16',
|
|
1033
|
+
AUTO_INCREMENT: false,
|
|
1034
|
+
SKIP_COLUMN_IN_POST: true
|
|
1035
|
+
},
|
|
1036
|
+
'carbon_user_sessions.session_id': {
|
|
1037
|
+
MYSQL_TYPE: 'varchar',
|
|
1038
|
+
MAX_LENGTH: '255',
|
|
1039
|
+
AUTO_INCREMENT: false,
|
|
1040
|
+
SKIP_COLUMN_IN_POST: false
|
|
1041
|
+
},
|
|
1042
|
+
'carbon_user_sessions.session_expires': {
|
|
1043
|
+
MYSQL_TYPE: 'datetime',
|
|
1044
|
+
MAX_LENGTH: '',
|
|
1045
|
+
AUTO_INCREMENT: false,
|
|
1046
|
+
SKIP_COLUMN_IN_POST: false
|
|
1047
|
+
},
|
|
1048
|
+
'carbon_user_sessions.session_data': {
|
|
1049
|
+
MYSQL_TYPE: 'text',
|
|
1050
|
+
MAX_LENGTH: '',
|
|
1051
|
+
AUTO_INCREMENT: false,
|
|
1052
|
+
SKIP_COLUMN_IN_POST: false
|
|
1053
|
+
},
|
|
1054
|
+
'carbon_user_sessions.user_online_status': {
|
|
1055
|
+
MYSQL_TYPE: 'tinyint',
|
|
1056
|
+
MAX_LENGTH: '',
|
|
1057
|
+
AUTO_INCREMENT: false,
|
|
1058
|
+
SKIP_COLUMN_IN_POST: true
|
|
1167
1059
|
},
|
|
1168
1060
|
},
|
|
1169
1061
|
REGEX_VALIDATION: {
|
|
@@ -1171,28 +1063,28 @@ export const user_sessions : C6RestfulModel & iDefineUser_Sessions = {
|
|
|
1171
1063
|
|
|
1172
1064
|
}
|
|
1173
1065
|
|
|
1174
|
-
|
|
1066
|
+
|
|
1175
1067
|
|
|
1176
1068
|
export interface iUser_Tasks {
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1069
|
+
'task_id'?: string;
|
|
1070
|
+
'user_id'?: string;
|
|
1071
|
+
'from_id'?: string;
|
|
1072
|
+
'task_name'?: string;
|
|
1073
|
+
'task_description'?: string;
|
|
1074
|
+
'percent_complete'?: number;
|
|
1075
|
+
'start_date'?: string;
|
|
1076
|
+
'end_date'?: string;
|
|
1185
1077
|
}
|
|
1186
1078
|
|
|
1187
1079
|
interface iDefineUser_Tasks {
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1080
|
+
'TASK_ID': string;
|
|
1081
|
+
'USER_ID': string;
|
|
1082
|
+
'FROM_ID': string;
|
|
1083
|
+
'TASK_NAME': string;
|
|
1084
|
+
'TASK_DESCRIPTION': string;
|
|
1085
|
+
'PERCENT_COMPLETE': string;
|
|
1086
|
+
'START_DATE': string;
|
|
1087
|
+
'END_DATE': string;
|
|
1196
1088
|
}
|
|
1197
1089
|
|
|
1198
1090
|
export const user_tasks : C6RestfulModel & iDefineUser_Tasks = {
|
|
@@ -1209,63 +1101,63 @@ export const user_tasks : C6RestfulModel & iDefineUser_Tasks = {
|
|
|
1209
1101
|
'carbon_user_tasks.task_id',
|
|
1210
1102
|
],
|
|
1211
1103
|
COLUMNS: {
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1104
|
+
'carbon_user_tasks.task_id':'task_id',
|
|
1105
|
+
'carbon_user_tasks.user_id':'user_id',
|
|
1106
|
+
'carbon_user_tasks.from_id':'from_id',
|
|
1107
|
+
'carbon_user_tasks.task_name':'task_name',
|
|
1108
|
+
'carbon_user_tasks.task_description':'task_description',
|
|
1109
|
+
'carbon_user_tasks.percent_complete':'percent_complete',
|
|
1110
|
+
'carbon_user_tasks.start_date':'start_date',
|
|
1111
|
+
'carbon_user_tasks.end_date':'end_date',
|
|
1220
1112
|
},
|
|
1221
1113
|
TYPE_VALIDATION: {
|
|
1222
|
-
'carbon_user_tasks.task_id': {
|
|
1223
|
-
MYSQL_TYPE: 'binary',
|
|
1224
|
-
MAX_LENGTH: '16',
|
|
1225
|
-
AUTO_INCREMENT: false,
|
|
1226
|
-
SKIP_COLUMN_IN_POST: false
|
|
1227
|
-
},
|
|
1228
|
-
'carbon_user_tasks.user_id': {
|
|
1229
|
-
MYSQL_TYPE: 'binary',
|
|
1230
|
-
MAX_LENGTH: '16',
|
|
1231
|
-
AUTO_INCREMENT: false,
|
|
1232
|
-
SKIP_COLUMN_IN_POST: false
|
|
1233
|
-
},
|
|
1234
|
-
'carbon_user_tasks.from_id': {
|
|
1235
|
-
MYSQL_TYPE: 'binary',
|
|
1236
|
-
MAX_LENGTH: '16',
|
|
1237
|
-
AUTO_INCREMENT: false,
|
|
1238
|
-
SKIP_COLUMN_IN_POST: true
|
|
1239
|
-
},
|
|
1240
|
-
'carbon_user_tasks.task_name': {
|
|
1241
|
-
MYSQL_TYPE: 'varchar',
|
|
1242
|
-
MAX_LENGTH: '40',
|
|
1243
|
-
AUTO_INCREMENT: false,
|
|
1244
|
-
SKIP_COLUMN_IN_POST: false
|
|
1245
|
-
},
|
|
1246
|
-
'carbon_user_tasks.task_description': {
|
|
1247
|
-
MYSQL_TYPE: 'varchar',
|
|
1248
|
-
MAX_LENGTH: '225',
|
|
1249
|
-
AUTO_INCREMENT: false,
|
|
1250
|
-
SKIP_COLUMN_IN_POST: true
|
|
1251
|
-
},
|
|
1252
|
-
'carbon_user_tasks.percent_complete': {
|
|
1253
|
-
MYSQL_TYPE: 'int',
|
|
1254
|
-
MAX_LENGTH: '',
|
|
1255
|
-
AUTO_INCREMENT: false,
|
|
1256
|
-
SKIP_COLUMN_IN_POST: true
|
|
1257
|
-
},
|
|
1258
|
-
'carbon_user_tasks.start_date': {
|
|
1259
|
-
MYSQL_TYPE: 'datetime',
|
|
1260
|
-
MAX_LENGTH: '',
|
|
1261
|
-
AUTO_INCREMENT: false,
|
|
1262
|
-
SKIP_COLUMN_IN_POST: true
|
|
1263
|
-
},
|
|
1264
|
-
'carbon_user_tasks.end_date': {
|
|
1265
|
-
MYSQL_TYPE: 'datetime',
|
|
1266
|
-
MAX_LENGTH: '',
|
|
1267
|
-
AUTO_INCREMENT: false,
|
|
1268
|
-
SKIP_COLUMN_IN_POST: true
|
|
1114
|
+
'carbon_user_tasks.task_id': {
|
|
1115
|
+
MYSQL_TYPE: 'binary',
|
|
1116
|
+
MAX_LENGTH: '16',
|
|
1117
|
+
AUTO_INCREMENT: false,
|
|
1118
|
+
SKIP_COLUMN_IN_POST: false
|
|
1119
|
+
},
|
|
1120
|
+
'carbon_user_tasks.user_id': {
|
|
1121
|
+
MYSQL_TYPE: 'binary',
|
|
1122
|
+
MAX_LENGTH: '16',
|
|
1123
|
+
AUTO_INCREMENT: false,
|
|
1124
|
+
SKIP_COLUMN_IN_POST: false
|
|
1125
|
+
},
|
|
1126
|
+
'carbon_user_tasks.from_id': {
|
|
1127
|
+
MYSQL_TYPE: 'binary',
|
|
1128
|
+
MAX_LENGTH: '16',
|
|
1129
|
+
AUTO_INCREMENT: false,
|
|
1130
|
+
SKIP_COLUMN_IN_POST: true
|
|
1131
|
+
},
|
|
1132
|
+
'carbon_user_tasks.task_name': {
|
|
1133
|
+
MYSQL_TYPE: 'varchar',
|
|
1134
|
+
MAX_LENGTH: '40',
|
|
1135
|
+
AUTO_INCREMENT: false,
|
|
1136
|
+
SKIP_COLUMN_IN_POST: false
|
|
1137
|
+
},
|
|
1138
|
+
'carbon_user_tasks.task_description': {
|
|
1139
|
+
MYSQL_TYPE: 'varchar',
|
|
1140
|
+
MAX_LENGTH: '225',
|
|
1141
|
+
AUTO_INCREMENT: false,
|
|
1142
|
+
SKIP_COLUMN_IN_POST: true
|
|
1143
|
+
},
|
|
1144
|
+
'carbon_user_tasks.percent_complete': {
|
|
1145
|
+
MYSQL_TYPE: 'int',
|
|
1146
|
+
MAX_LENGTH: '',
|
|
1147
|
+
AUTO_INCREMENT: false,
|
|
1148
|
+
SKIP_COLUMN_IN_POST: true
|
|
1149
|
+
},
|
|
1150
|
+
'carbon_user_tasks.start_date': {
|
|
1151
|
+
MYSQL_TYPE: 'datetime',
|
|
1152
|
+
MAX_LENGTH: '',
|
|
1153
|
+
AUTO_INCREMENT: false,
|
|
1154
|
+
SKIP_COLUMN_IN_POST: true
|
|
1155
|
+
},
|
|
1156
|
+
'carbon_user_tasks.end_date': {
|
|
1157
|
+
MYSQL_TYPE: 'datetime',
|
|
1158
|
+
MAX_LENGTH: '',
|
|
1159
|
+
AUTO_INCREMENT: false,
|
|
1160
|
+
SKIP_COLUMN_IN_POST: true
|
|
1269
1161
|
},
|
|
1270
1162
|
},
|
|
1271
1163
|
REGEX_VALIDATION: {
|
|
@@ -1273,66 +1165,66 @@ export const user_tasks : C6RestfulModel & iDefineUser_Tasks = {
|
|
|
1273
1165
|
|
|
1274
1166
|
}
|
|
1275
1167
|
|
|
1276
|
-
|
|
1168
|
+
|
|
1277
1169
|
|
|
1278
1170
|
export interface iUsers {
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1171
|
+
'user_username'?: string;
|
|
1172
|
+
'user_password'?: string;
|
|
1173
|
+
'user_id'?: string;
|
|
1174
|
+
'user_type'?: string;
|
|
1175
|
+
'user_sport'?: string;
|
|
1176
|
+
'user_session_id'?: string;
|
|
1177
|
+
'user_facebook_id'?: string;
|
|
1178
|
+
'user_first_name'?: string;
|
|
1179
|
+
'user_last_name'?: string;
|
|
1180
|
+
'user_profile_pic'?: string;
|
|
1181
|
+
'user_profile_uri'?: string;
|
|
1182
|
+
'user_cover_photo'?: string;
|
|
1183
|
+
'user_birthday'?: string;
|
|
1184
|
+
'user_gender'?: string;
|
|
1185
|
+
'user_about_me'?: string;
|
|
1186
|
+
'user_rank'?: number;
|
|
1187
|
+
'user_email'?: string;
|
|
1188
|
+
'user_email_code'?: string;
|
|
1189
|
+
'user_email_confirmed'?: number;
|
|
1190
|
+
'user_generated_string'?: string;
|
|
1191
|
+
'user_membership'?: number;
|
|
1192
|
+
'user_deactivated'?: number;
|
|
1193
|
+
'user_last_login'?: string;
|
|
1194
|
+
'user_ip'?: string;
|
|
1195
|
+
'user_education_history'?: string;
|
|
1196
|
+
'user_location'?: string;
|
|
1197
|
+
'user_creation_date'?: string;
|
|
1306
1198
|
}
|
|
1307
1199
|
|
|
1308
1200
|
interface iDefineUsers {
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1201
|
+
'USER_USERNAME': string;
|
|
1202
|
+
'USER_PASSWORD': string;
|
|
1203
|
+
'USER_ID': string;
|
|
1204
|
+
'USER_TYPE': string;
|
|
1205
|
+
'USER_SPORT': string;
|
|
1206
|
+
'USER_SESSION_ID': string;
|
|
1207
|
+
'USER_FACEBOOK_ID': string;
|
|
1208
|
+
'USER_FIRST_NAME': string;
|
|
1209
|
+
'USER_LAST_NAME': string;
|
|
1210
|
+
'USER_PROFILE_PIC': string;
|
|
1211
|
+
'USER_PROFILE_URI': string;
|
|
1212
|
+
'USER_COVER_PHOTO': string;
|
|
1213
|
+
'USER_BIRTHDAY': string;
|
|
1214
|
+
'USER_GENDER': string;
|
|
1215
|
+
'USER_ABOUT_ME': string;
|
|
1216
|
+
'USER_RANK': string;
|
|
1217
|
+
'USER_EMAIL': string;
|
|
1218
|
+
'USER_EMAIL_CODE': string;
|
|
1219
|
+
'USER_EMAIL_CONFIRMED': string;
|
|
1220
|
+
'USER_GENERATED_STRING': string;
|
|
1221
|
+
'USER_MEMBERSHIP': string;
|
|
1222
|
+
'USER_DEACTIVATED': string;
|
|
1223
|
+
'USER_LAST_LOGIN': string;
|
|
1224
|
+
'USER_IP': string;
|
|
1225
|
+
'USER_EDUCATION_HISTORY': string;
|
|
1226
|
+
'USER_LOCATION': string;
|
|
1227
|
+
'USER_CREATION_DATE': string;
|
|
1336
1228
|
}
|
|
1337
1229
|
|
|
1338
1230
|
export const users : C6RestfulModel & iDefineUsers = {
|
|
@@ -1368,430 +1260,196 @@ export const users : C6RestfulModel & iDefineUsers = {
|
|
|
1368
1260
|
'carbon_users.user_id',
|
|
1369
1261
|
],
|
|
1370
1262
|
COLUMNS: {
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
},
|
|
1399
|
-
TYPE_VALIDATION: {
|
|
1400
|
-
'carbon_users.user_username': {
|
|
1401
|
-
MYSQL_TYPE: 'varchar',
|
|
1402
|
-
MAX_LENGTH: '100',
|
|
1403
|
-
AUTO_INCREMENT: false,
|
|
1404
|
-
SKIP_COLUMN_IN_POST: false
|
|
1405
|
-
},
|
|
1406
|
-
'carbon_users.user_password': {
|
|
1407
|
-
MYSQL_TYPE: 'varchar',
|
|
1408
|
-
MAX_LENGTH: '225',
|
|
1409
|
-
AUTO_INCREMENT: false,
|
|
1410
|
-
SKIP_COLUMN_IN_POST: false
|
|
1411
|
-
},
|
|
1412
|
-
'carbon_users.user_id': {
|
|
1413
|
-
MYSQL_TYPE: 'binary',
|
|
1414
|
-
MAX_LENGTH: '16',
|
|
1415
|
-
AUTO_INCREMENT: false,
|
|
1416
|
-
SKIP_COLUMN_IN_POST: false
|
|
1417
|
-
},
|
|
1418
|
-
'carbon_users.user_type': {
|
|
1419
|
-
MYSQL_TYPE: 'varchar',
|
|
1420
|
-
MAX_LENGTH: '20',
|
|
1421
|
-
AUTO_INCREMENT: false,
|
|
1422
|
-
SKIP_COLUMN_IN_POST: true
|
|
1423
|
-
},
|
|
1424
|
-
'carbon_users.user_sport': {
|
|
1425
|
-
MYSQL_TYPE: 'varchar',
|
|
1426
|
-
MAX_LENGTH: '20',
|
|
1427
|
-
AUTO_INCREMENT: false,
|
|
1428
|
-
SKIP_COLUMN_IN_POST: true
|
|
1429
|
-
},
|
|
1430
|
-
'carbon_users.user_session_id': {
|
|
1431
|
-
MYSQL_TYPE: 'varchar',
|
|
1432
|
-
MAX_LENGTH: '225',
|
|
1433
|
-
AUTO_INCREMENT: false,
|
|
1434
|
-
SKIP_COLUMN_IN_POST: true
|
|
1435
|
-
},
|
|
1436
|
-
'carbon_users.user_facebook_id': {
|
|
1437
|
-
MYSQL_TYPE: 'varchar',
|
|
1438
|
-
MAX_LENGTH: '225',
|
|
1439
|
-
AUTO_INCREMENT: false,
|
|
1440
|
-
SKIP_COLUMN_IN_POST: true
|
|
1441
|
-
},
|
|
1442
|
-
'carbon_users.user_first_name': {
|
|
1443
|
-
MYSQL_TYPE: 'varchar',
|
|
1444
|
-
MAX_LENGTH: '25',
|
|
1445
|
-
AUTO_INCREMENT: false,
|
|
1446
|
-
SKIP_COLUMN_IN_POST: false
|
|
1447
|
-
},
|
|
1448
|
-
'carbon_users.user_last_name': {
|
|
1449
|
-
MYSQL_TYPE: 'varchar',
|
|
1450
|
-
MAX_LENGTH: '25',
|
|
1451
|
-
AUTO_INCREMENT: false,
|
|
1452
|
-
SKIP_COLUMN_IN_POST: false
|
|
1453
|
-
},
|
|
1454
|
-
'carbon_users.user_profile_pic': {
|
|
1455
|
-
MYSQL_TYPE: 'varchar',
|
|
1456
|
-
MAX_LENGTH: '225',
|
|
1457
|
-
AUTO_INCREMENT: false,
|
|
1458
|
-
SKIP_COLUMN_IN_POST: true
|
|
1459
|
-
},
|
|
1460
|
-
'carbon_users.user_profile_uri': {
|
|
1461
|
-
MYSQL_TYPE: 'varchar',
|
|
1462
|
-
MAX_LENGTH: '225',
|
|
1463
|
-
AUTO_INCREMENT: false,
|
|
1464
|
-
SKIP_COLUMN_IN_POST: true
|
|
1465
|
-
},
|
|
1466
|
-
'carbon_users.user_cover_photo': {
|
|
1467
|
-
MYSQL_TYPE: 'varchar',
|
|
1468
|
-
MAX_LENGTH: '225',
|
|
1469
|
-
AUTO_INCREMENT: false,
|
|
1470
|
-
SKIP_COLUMN_IN_POST: true
|
|
1471
|
-
},
|
|
1472
|
-
'carbon_users.user_birthday': {
|
|
1473
|
-
MYSQL_TYPE: 'varchar',
|
|
1474
|
-
MAX_LENGTH: '9',
|
|
1475
|
-
AUTO_INCREMENT: false,
|
|
1476
|
-
SKIP_COLUMN_IN_POST: true
|
|
1477
|
-
},
|
|
1478
|
-
'carbon_users.user_gender': {
|
|
1479
|
-
MYSQL_TYPE: 'varchar',
|
|
1480
|
-
MAX_LENGTH: '25',
|
|
1481
|
-
AUTO_INCREMENT: false,
|
|
1482
|
-
SKIP_COLUMN_IN_POST: true
|
|
1483
|
-
},
|
|
1484
|
-
'carbon_users.user_about_me': {
|
|
1485
|
-
MYSQL_TYPE: 'varchar',
|
|
1486
|
-
MAX_LENGTH: '225',
|
|
1487
|
-
AUTO_INCREMENT: false,
|
|
1488
|
-
SKIP_COLUMN_IN_POST: true
|
|
1489
|
-
},
|
|
1490
|
-
'carbon_users.user_rank': {
|
|
1491
|
-
MYSQL_TYPE: 'int',
|
|
1492
|
-
MAX_LENGTH: '',
|
|
1493
|
-
AUTO_INCREMENT: false,
|
|
1494
|
-
SKIP_COLUMN_IN_POST: true
|
|
1495
|
-
},
|
|
1496
|
-
'carbon_users.user_email': {
|
|
1497
|
-
MYSQL_TYPE: 'varchar',
|
|
1498
|
-
MAX_LENGTH: '50',
|
|
1499
|
-
AUTO_INCREMENT: false,
|
|
1500
|
-
SKIP_COLUMN_IN_POST: false
|
|
1501
|
-
},
|
|
1502
|
-
'carbon_users.user_email_code': {
|
|
1503
|
-
MYSQL_TYPE: 'varchar',
|
|
1504
|
-
MAX_LENGTH: '225',
|
|
1505
|
-
AUTO_INCREMENT: false,
|
|
1506
|
-
SKIP_COLUMN_IN_POST: true
|
|
1507
|
-
},
|
|
1508
|
-
'carbon_users.user_email_confirmed': {
|
|
1509
|
-
MYSQL_TYPE: 'tinyint',
|
|
1510
|
-
MAX_LENGTH: '',
|
|
1511
|
-
AUTO_INCREMENT: false,
|
|
1512
|
-
SKIP_COLUMN_IN_POST: true
|
|
1513
|
-
},
|
|
1514
|
-
'carbon_users.user_generated_string': {
|
|
1515
|
-
MYSQL_TYPE: 'varchar',
|
|
1516
|
-
MAX_LENGTH: '200',
|
|
1517
|
-
AUTO_INCREMENT: false,
|
|
1518
|
-
SKIP_COLUMN_IN_POST: true
|
|
1519
|
-
},
|
|
1520
|
-
'carbon_users.user_membership': {
|
|
1521
|
-
MYSQL_TYPE: 'int',
|
|
1522
|
-
MAX_LENGTH: '',
|
|
1523
|
-
AUTO_INCREMENT: false,
|
|
1524
|
-
SKIP_COLUMN_IN_POST: true
|
|
1525
|
-
},
|
|
1526
|
-
'carbon_users.user_deactivated': {
|
|
1527
|
-
MYSQL_TYPE: 'tinyint',
|
|
1528
|
-
MAX_LENGTH: '',
|
|
1529
|
-
AUTO_INCREMENT: false,
|
|
1530
|
-
SKIP_COLUMN_IN_POST: true
|
|
1531
|
-
},
|
|
1532
|
-
'carbon_users.user_last_login': {
|
|
1533
|
-
MYSQL_TYPE: 'datetime',
|
|
1534
|
-
MAX_LENGTH: '',
|
|
1535
|
-
AUTO_INCREMENT: false,
|
|
1536
|
-
SKIP_COLUMN_IN_POST: true
|
|
1537
|
-
},
|
|
1538
|
-
'carbon_users.user_ip': {
|
|
1539
|
-
MYSQL_TYPE: 'varchar',
|
|
1540
|
-
MAX_LENGTH: '20',
|
|
1541
|
-
AUTO_INCREMENT: false,
|
|
1542
|
-
SKIP_COLUMN_IN_POST: false
|
|
1543
|
-
},
|
|
1544
|
-
'carbon_users.user_education_history': {
|
|
1545
|
-
MYSQL_TYPE: 'varchar',
|
|
1546
|
-
MAX_LENGTH: '200',
|
|
1547
|
-
AUTO_INCREMENT: false,
|
|
1548
|
-
SKIP_COLUMN_IN_POST: true
|
|
1549
|
-
},
|
|
1550
|
-
'carbon_users.user_location': {
|
|
1551
|
-
MYSQL_TYPE: 'varchar',
|
|
1552
|
-
MAX_LENGTH: '20',
|
|
1553
|
-
AUTO_INCREMENT: false,
|
|
1554
|
-
SKIP_COLUMN_IN_POST: true
|
|
1555
|
-
},
|
|
1556
|
-
'carbon_users.user_creation_date': {
|
|
1557
|
-
MYSQL_TYPE: 'datetime',
|
|
1558
|
-
MAX_LENGTH: '',
|
|
1559
|
-
AUTO_INCREMENT: false,
|
|
1560
|
-
SKIP_COLUMN_IN_POST: true
|
|
1561
|
-
},
|
|
1562
|
-
},
|
|
1563
|
-
REGEX_VALIDATION: {
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
export interface iWp_Commentmeta {
|
|
1571
|
-
'meta_id'?: number;
|
|
1572
|
-
'comment_id'?: number;
|
|
1573
|
-
'meta_key'?: string;
|
|
1574
|
-
'meta_value'?: string;
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
interface iDefineWp_Commentmeta {
|
|
1578
|
-
'META_ID': string;
|
|
1579
|
-
'COMMENT_ID': string;
|
|
1580
|
-
'META_KEY': string;
|
|
1581
|
-
'META_VALUE': string;
|
|
1582
|
-
}
|
|
1583
|
-
|
|
1584
|
-
export const wp_commentmeta : C6RestfulModel & iDefineWp_Commentmeta = {
|
|
1585
|
-
TABLE_NAME:'wp_commentmeta',
|
|
1586
|
-
META_ID: 'carbon_wp_commentmeta.meta_id',
|
|
1587
|
-
COMMENT_ID: 'carbon_wp_commentmeta.comment_id',
|
|
1588
|
-
META_KEY: 'carbon_wp_commentmeta.meta_key',
|
|
1589
|
-
META_VALUE: 'carbon_wp_commentmeta.meta_value',
|
|
1590
|
-
PRIMARY: [
|
|
1591
|
-
'carbon_wp_commentmeta.meta_id',
|
|
1592
|
-
],
|
|
1593
|
-
COLUMNS: {
|
|
1594
|
-
'carbon_wp_commentmeta.meta_id':'meta_id',
|
|
1595
|
-
'carbon_wp_commentmeta.comment_id':'comment_id',
|
|
1596
|
-
'carbon_wp_commentmeta.meta_key':'meta_key',
|
|
1597
|
-
'carbon_wp_commentmeta.meta_value':'meta_value',
|
|
1598
|
-
},
|
|
1599
|
-
TYPE_VALIDATION: {
|
|
1600
|
-
'carbon_wp_commentmeta.meta_id': {
|
|
1601
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
1602
|
-
MAX_LENGTH: '',
|
|
1603
|
-
AUTO_INCREMENT: true,
|
|
1604
|
-
SKIP_COLUMN_IN_POST: true
|
|
1605
|
-
},
|
|
1606
|
-
'carbon_wp_commentmeta.comment_id': {
|
|
1607
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
1608
|
-
MAX_LENGTH: '',
|
|
1609
|
-
AUTO_INCREMENT: false,
|
|
1610
|
-
SKIP_COLUMN_IN_POST: true
|
|
1611
|
-
},
|
|
1612
|
-
'carbon_wp_commentmeta.meta_key': {
|
|
1613
|
-
MYSQL_TYPE: 'varchar',
|
|
1614
|
-
MAX_LENGTH: '255',
|
|
1615
|
-
AUTO_INCREMENT: false,
|
|
1616
|
-
SKIP_COLUMN_IN_POST: true
|
|
1617
|
-
},
|
|
1618
|
-
'carbon_wp_commentmeta.meta_value': {
|
|
1619
|
-
MYSQL_TYPE: 'longtext',
|
|
1620
|
-
MAX_LENGTH: '',
|
|
1621
|
-
AUTO_INCREMENT: false,
|
|
1622
|
-
SKIP_COLUMN_IN_POST: false
|
|
1623
|
-
},
|
|
1624
|
-
},
|
|
1625
|
-
REGEX_VALIDATION: {
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
export interface iWp_Comments {
|
|
1633
|
-
'comment_ID'?: number;
|
|
1634
|
-
'comment_post_ID'?: number;
|
|
1635
|
-
'comment_author'?: string;
|
|
1636
|
-
'comment_author_email'?: string;
|
|
1637
|
-
'comment_author_url'?: string;
|
|
1638
|
-
'comment_author_IP'?: string;
|
|
1639
|
-
'comment_date'?: string;
|
|
1640
|
-
'comment_date_gmt'?: string;
|
|
1641
|
-
'comment_content'?: string;
|
|
1642
|
-
'comment_karma'?: number;
|
|
1643
|
-
'comment_approved'?: string;
|
|
1644
|
-
'comment_agent'?: string;
|
|
1645
|
-
'comment_type'?: string;
|
|
1646
|
-
'comment_parent'?: number;
|
|
1647
|
-
'user_id'?: number;
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
interface iDefineWp_Comments {
|
|
1651
|
-
'COMMENT_ID': string;
|
|
1652
|
-
'COMMENT_POST_ID': string;
|
|
1653
|
-
'COMMENT_AUTHOR': string;
|
|
1654
|
-
'COMMENT_AUTHOR_EMAIL': string;
|
|
1655
|
-
'COMMENT_AUTHOR_URL': string;
|
|
1656
|
-
'COMMENT_AUTHOR_IP': string;
|
|
1657
|
-
'COMMENT_DATE': string;
|
|
1658
|
-
'COMMENT_DATE_GMT': string;
|
|
1659
|
-
'COMMENT_CONTENT': string;
|
|
1660
|
-
'COMMENT_KARMA': string;
|
|
1661
|
-
'COMMENT_APPROVED': string;
|
|
1662
|
-
'COMMENT_AGENT': string;
|
|
1663
|
-
'COMMENT_TYPE': string;
|
|
1664
|
-
'COMMENT_PARENT': string;
|
|
1665
|
-
'USER_ID': string;
|
|
1666
|
-
}
|
|
1667
|
-
|
|
1668
|
-
export const wp_comments : C6RestfulModel & iDefineWp_Comments = {
|
|
1669
|
-
TABLE_NAME:'wp_comments',
|
|
1670
|
-
COMMENT_ID: 'carbon_wp_comments.comment_ID',
|
|
1671
|
-
COMMENT_POST_ID: 'carbon_wp_comments.comment_post_ID',
|
|
1672
|
-
COMMENT_AUTHOR: 'carbon_wp_comments.comment_author',
|
|
1673
|
-
COMMENT_AUTHOR_EMAIL: 'carbon_wp_comments.comment_author_email',
|
|
1674
|
-
COMMENT_AUTHOR_URL: 'carbon_wp_comments.comment_author_url',
|
|
1675
|
-
COMMENT_AUTHOR_IP: 'carbon_wp_comments.comment_author_IP',
|
|
1676
|
-
COMMENT_DATE: 'carbon_wp_comments.comment_date',
|
|
1677
|
-
COMMENT_DATE_GMT: 'carbon_wp_comments.comment_date_gmt',
|
|
1678
|
-
COMMENT_CONTENT: 'carbon_wp_comments.comment_content',
|
|
1679
|
-
COMMENT_KARMA: 'carbon_wp_comments.comment_karma',
|
|
1680
|
-
COMMENT_APPROVED: 'carbon_wp_comments.comment_approved',
|
|
1681
|
-
COMMENT_AGENT: 'carbon_wp_comments.comment_agent',
|
|
1682
|
-
COMMENT_TYPE: 'carbon_wp_comments.comment_type',
|
|
1683
|
-
COMMENT_PARENT: 'carbon_wp_comments.comment_parent',
|
|
1684
|
-
USER_ID: 'carbon_wp_comments.user_id',
|
|
1685
|
-
PRIMARY: [
|
|
1686
|
-
'carbon_wp_comments.comment_ID',
|
|
1687
|
-
],
|
|
1688
|
-
COLUMNS: {
|
|
1689
|
-
'carbon_wp_comments.comment_ID':'comment_ID',
|
|
1690
|
-
'carbon_wp_comments.comment_post_ID':'comment_post_ID',
|
|
1691
|
-
'carbon_wp_comments.comment_author':'comment_author',
|
|
1692
|
-
'carbon_wp_comments.comment_author_email':'comment_author_email',
|
|
1693
|
-
'carbon_wp_comments.comment_author_url':'comment_author_url',
|
|
1694
|
-
'carbon_wp_comments.comment_author_IP':'comment_author_IP',
|
|
1695
|
-
'carbon_wp_comments.comment_date':'comment_date',
|
|
1696
|
-
'carbon_wp_comments.comment_date_gmt':'comment_date_gmt',
|
|
1697
|
-
'carbon_wp_comments.comment_content':'comment_content',
|
|
1698
|
-
'carbon_wp_comments.comment_karma':'comment_karma',
|
|
1699
|
-
'carbon_wp_comments.comment_approved':'comment_approved',
|
|
1700
|
-
'carbon_wp_comments.comment_agent':'comment_agent',
|
|
1701
|
-
'carbon_wp_comments.comment_type':'comment_type',
|
|
1702
|
-
'carbon_wp_comments.comment_parent':'comment_parent',
|
|
1703
|
-
'carbon_wp_comments.user_id':'user_id',
|
|
1263
|
+
'carbon_users.user_username':'user_username',
|
|
1264
|
+
'carbon_users.user_password':'user_password',
|
|
1265
|
+
'carbon_users.user_id':'user_id',
|
|
1266
|
+
'carbon_users.user_type':'user_type',
|
|
1267
|
+
'carbon_users.user_sport':'user_sport',
|
|
1268
|
+
'carbon_users.user_session_id':'user_session_id',
|
|
1269
|
+
'carbon_users.user_facebook_id':'user_facebook_id',
|
|
1270
|
+
'carbon_users.user_first_name':'user_first_name',
|
|
1271
|
+
'carbon_users.user_last_name':'user_last_name',
|
|
1272
|
+
'carbon_users.user_profile_pic':'user_profile_pic',
|
|
1273
|
+
'carbon_users.user_profile_uri':'user_profile_uri',
|
|
1274
|
+
'carbon_users.user_cover_photo':'user_cover_photo',
|
|
1275
|
+
'carbon_users.user_birthday':'user_birthday',
|
|
1276
|
+
'carbon_users.user_gender':'user_gender',
|
|
1277
|
+
'carbon_users.user_about_me':'user_about_me',
|
|
1278
|
+
'carbon_users.user_rank':'user_rank',
|
|
1279
|
+
'carbon_users.user_email':'user_email',
|
|
1280
|
+
'carbon_users.user_email_code':'user_email_code',
|
|
1281
|
+
'carbon_users.user_email_confirmed':'user_email_confirmed',
|
|
1282
|
+
'carbon_users.user_generated_string':'user_generated_string',
|
|
1283
|
+
'carbon_users.user_membership':'user_membership',
|
|
1284
|
+
'carbon_users.user_deactivated':'user_deactivated',
|
|
1285
|
+
'carbon_users.user_last_login':'user_last_login',
|
|
1286
|
+
'carbon_users.user_ip':'user_ip',
|
|
1287
|
+
'carbon_users.user_education_history':'user_education_history',
|
|
1288
|
+
'carbon_users.user_location':'user_location',
|
|
1289
|
+
'carbon_users.user_creation_date':'user_creation_date',
|
|
1704
1290
|
},
|
|
1705
1291
|
TYPE_VALIDATION: {
|
|
1706
|
-
'
|
|
1707
|
-
MYSQL_TYPE: '
|
|
1708
|
-
MAX_LENGTH: '',
|
|
1709
|
-
AUTO_INCREMENT:
|
|
1710
|
-
SKIP_COLUMN_IN_POST:
|
|
1711
|
-
},
|
|
1712
|
-
'
|
|
1713
|
-
MYSQL_TYPE: '
|
|
1714
|
-
MAX_LENGTH: '',
|
|
1715
|
-
AUTO_INCREMENT: false,
|
|
1716
|
-
SKIP_COLUMN_IN_POST:
|
|
1717
|
-
},
|
|
1718
|
-
'
|
|
1719
|
-
MYSQL_TYPE: '
|
|
1720
|
-
MAX_LENGTH: '',
|
|
1721
|
-
AUTO_INCREMENT: false,
|
|
1722
|
-
SKIP_COLUMN_IN_POST: false
|
|
1723
|
-
},
|
|
1724
|
-
'
|
|
1725
|
-
MYSQL_TYPE: 'varchar',
|
|
1726
|
-
MAX_LENGTH: '
|
|
1727
|
-
AUTO_INCREMENT: false,
|
|
1728
|
-
SKIP_COLUMN_IN_POST: true
|
|
1729
|
-
},
|
|
1730
|
-
'
|
|
1731
|
-
MYSQL_TYPE: 'varchar',
|
|
1732
|
-
MAX_LENGTH: '
|
|
1733
|
-
AUTO_INCREMENT: false,
|
|
1734
|
-
SKIP_COLUMN_IN_POST: true
|
|
1735
|
-
},
|
|
1736
|
-
'
|
|
1737
|
-
MYSQL_TYPE: 'varchar',
|
|
1738
|
-
MAX_LENGTH: '
|
|
1739
|
-
AUTO_INCREMENT: false,
|
|
1740
|
-
SKIP_COLUMN_IN_POST: true
|
|
1741
|
-
},
|
|
1742
|
-
'
|
|
1743
|
-
MYSQL_TYPE: '
|
|
1744
|
-
MAX_LENGTH: '',
|
|
1745
|
-
AUTO_INCREMENT: false,
|
|
1746
|
-
SKIP_COLUMN_IN_POST: true
|
|
1747
|
-
},
|
|
1748
|
-
'
|
|
1749
|
-
MYSQL_TYPE: '
|
|
1750
|
-
MAX_LENGTH: '',
|
|
1751
|
-
AUTO_INCREMENT: false,
|
|
1752
|
-
SKIP_COLUMN_IN_POST:
|
|
1753
|
-
},
|
|
1754
|
-
'
|
|
1755
|
-
MYSQL_TYPE: '
|
|
1756
|
-
MAX_LENGTH: '',
|
|
1757
|
-
AUTO_INCREMENT: false,
|
|
1758
|
-
SKIP_COLUMN_IN_POST: false
|
|
1759
|
-
},
|
|
1760
|
-
'
|
|
1761
|
-
MYSQL_TYPE: '
|
|
1762
|
-
MAX_LENGTH: '',
|
|
1763
|
-
AUTO_INCREMENT: false,
|
|
1764
|
-
SKIP_COLUMN_IN_POST: true
|
|
1765
|
-
},
|
|
1766
|
-
'
|
|
1767
|
-
MYSQL_TYPE: 'varchar',
|
|
1768
|
-
MAX_LENGTH: '
|
|
1769
|
-
AUTO_INCREMENT: false,
|
|
1770
|
-
SKIP_COLUMN_IN_POST: true
|
|
1771
|
-
},
|
|
1772
|
-
'
|
|
1773
|
-
MYSQL_TYPE: 'varchar',
|
|
1774
|
-
MAX_LENGTH: '
|
|
1775
|
-
AUTO_INCREMENT: false,
|
|
1776
|
-
SKIP_COLUMN_IN_POST: true
|
|
1777
|
-
},
|
|
1778
|
-
'
|
|
1779
|
-
MYSQL_TYPE: 'varchar',
|
|
1780
|
-
MAX_LENGTH: '
|
|
1781
|
-
AUTO_INCREMENT: false,
|
|
1782
|
-
SKIP_COLUMN_IN_POST: true
|
|
1783
|
-
},
|
|
1784
|
-
'
|
|
1785
|
-
MYSQL_TYPE: '
|
|
1786
|
-
MAX_LENGTH: '',
|
|
1787
|
-
AUTO_INCREMENT: false,
|
|
1788
|
-
SKIP_COLUMN_IN_POST: true
|
|
1789
|
-
},
|
|
1790
|
-
'
|
|
1791
|
-
MYSQL_TYPE: '
|
|
1792
|
-
MAX_LENGTH: '',
|
|
1793
|
-
AUTO_INCREMENT: false,
|
|
1794
|
-
SKIP_COLUMN_IN_POST: true
|
|
1292
|
+
'carbon_users.user_username': {
|
|
1293
|
+
MYSQL_TYPE: 'varchar',
|
|
1294
|
+
MAX_LENGTH: '100',
|
|
1295
|
+
AUTO_INCREMENT: false,
|
|
1296
|
+
SKIP_COLUMN_IN_POST: false
|
|
1297
|
+
},
|
|
1298
|
+
'carbon_users.user_password': {
|
|
1299
|
+
MYSQL_TYPE: 'varchar',
|
|
1300
|
+
MAX_LENGTH: '225',
|
|
1301
|
+
AUTO_INCREMENT: false,
|
|
1302
|
+
SKIP_COLUMN_IN_POST: false
|
|
1303
|
+
},
|
|
1304
|
+
'carbon_users.user_id': {
|
|
1305
|
+
MYSQL_TYPE: 'binary',
|
|
1306
|
+
MAX_LENGTH: '16',
|
|
1307
|
+
AUTO_INCREMENT: false,
|
|
1308
|
+
SKIP_COLUMN_IN_POST: false
|
|
1309
|
+
},
|
|
1310
|
+
'carbon_users.user_type': {
|
|
1311
|
+
MYSQL_TYPE: 'varchar',
|
|
1312
|
+
MAX_LENGTH: '20',
|
|
1313
|
+
AUTO_INCREMENT: false,
|
|
1314
|
+
SKIP_COLUMN_IN_POST: true
|
|
1315
|
+
},
|
|
1316
|
+
'carbon_users.user_sport': {
|
|
1317
|
+
MYSQL_TYPE: 'varchar',
|
|
1318
|
+
MAX_LENGTH: '20',
|
|
1319
|
+
AUTO_INCREMENT: false,
|
|
1320
|
+
SKIP_COLUMN_IN_POST: true
|
|
1321
|
+
},
|
|
1322
|
+
'carbon_users.user_session_id': {
|
|
1323
|
+
MYSQL_TYPE: 'varchar',
|
|
1324
|
+
MAX_LENGTH: '225',
|
|
1325
|
+
AUTO_INCREMENT: false,
|
|
1326
|
+
SKIP_COLUMN_IN_POST: true
|
|
1327
|
+
},
|
|
1328
|
+
'carbon_users.user_facebook_id': {
|
|
1329
|
+
MYSQL_TYPE: 'varchar',
|
|
1330
|
+
MAX_LENGTH: '225',
|
|
1331
|
+
AUTO_INCREMENT: false,
|
|
1332
|
+
SKIP_COLUMN_IN_POST: true
|
|
1333
|
+
},
|
|
1334
|
+
'carbon_users.user_first_name': {
|
|
1335
|
+
MYSQL_TYPE: 'varchar',
|
|
1336
|
+
MAX_LENGTH: '25',
|
|
1337
|
+
AUTO_INCREMENT: false,
|
|
1338
|
+
SKIP_COLUMN_IN_POST: false
|
|
1339
|
+
},
|
|
1340
|
+
'carbon_users.user_last_name': {
|
|
1341
|
+
MYSQL_TYPE: 'varchar',
|
|
1342
|
+
MAX_LENGTH: '25',
|
|
1343
|
+
AUTO_INCREMENT: false,
|
|
1344
|
+
SKIP_COLUMN_IN_POST: false
|
|
1345
|
+
},
|
|
1346
|
+
'carbon_users.user_profile_pic': {
|
|
1347
|
+
MYSQL_TYPE: 'varchar',
|
|
1348
|
+
MAX_LENGTH: '225',
|
|
1349
|
+
AUTO_INCREMENT: false,
|
|
1350
|
+
SKIP_COLUMN_IN_POST: true
|
|
1351
|
+
},
|
|
1352
|
+
'carbon_users.user_profile_uri': {
|
|
1353
|
+
MYSQL_TYPE: 'varchar',
|
|
1354
|
+
MAX_LENGTH: '225',
|
|
1355
|
+
AUTO_INCREMENT: false,
|
|
1356
|
+
SKIP_COLUMN_IN_POST: true
|
|
1357
|
+
},
|
|
1358
|
+
'carbon_users.user_cover_photo': {
|
|
1359
|
+
MYSQL_TYPE: 'varchar',
|
|
1360
|
+
MAX_LENGTH: '225',
|
|
1361
|
+
AUTO_INCREMENT: false,
|
|
1362
|
+
SKIP_COLUMN_IN_POST: true
|
|
1363
|
+
},
|
|
1364
|
+
'carbon_users.user_birthday': {
|
|
1365
|
+
MYSQL_TYPE: 'varchar',
|
|
1366
|
+
MAX_LENGTH: '9',
|
|
1367
|
+
AUTO_INCREMENT: false,
|
|
1368
|
+
SKIP_COLUMN_IN_POST: true
|
|
1369
|
+
},
|
|
1370
|
+
'carbon_users.user_gender': {
|
|
1371
|
+
MYSQL_TYPE: 'varchar',
|
|
1372
|
+
MAX_LENGTH: '25',
|
|
1373
|
+
AUTO_INCREMENT: false,
|
|
1374
|
+
SKIP_COLUMN_IN_POST: true
|
|
1375
|
+
},
|
|
1376
|
+
'carbon_users.user_about_me': {
|
|
1377
|
+
MYSQL_TYPE: 'varchar',
|
|
1378
|
+
MAX_LENGTH: '225',
|
|
1379
|
+
AUTO_INCREMENT: false,
|
|
1380
|
+
SKIP_COLUMN_IN_POST: true
|
|
1381
|
+
},
|
|
1382
|
+
'carbon_users.user_rank': {
|
|
1383
|
+
MYSQL_TYPE: 'int',
|
|
1384
|
+
MAX_LENGTH: '',
|
|
1385
|
+
AUTO_INCREMENT: false,
|
|
1386
|
+
SKIP_COLUMN_IN_POST: true
|
|
1387
|
+
},
|
|
1388
|
+
'carbon_users.user_email': {
|
|
1389
|
+
MYSQL_TYPE: 'varchar',
|
|
1390
|
+
MAX_LENGTH: '50',
|
|
1391
|
+
AUTO_INCREMENT: false,
|
|
1392
|
+
SKIP_COLUMN_IN_POST: false
|
|
1393
|
+
},
|
|
1394
|
+
'carbon_users.user_email_code': {
|
|
1395
|
+
MYSQL_TYPE: 'varchar',
|
|
1396
|
+
MAX_LENGTH: '225',
|
|
1397
|
+
AUTO_INCREMENT: false,
|
|
1398
|
+
SKIP_COLUMN_IN_POST: true
|
|
1399
|
+
},
|
|
1400
|
+
'carbon_users.user_email_confirmed': {
|
|
1401
|
+
MYSQL_TYPE: 'tinyint',
|
|
1402
|
+
MAX_LENGTH: '',
|
|
1403
|
+
AUTO_INCREMENT: false,
|
|
1404
|
+
SKIP_COLUMN_IN_POST: true
|
|
1405
|
+
},
|
|
1406
|
+
'carbon_users.user_generated_string': {
|
|
1407
|
+
MYSQL_TYPE: 'varchar',
|
|
1408
|
+
MAX_LENGTH: '200',
|
|
1409
|
+
AUTO_INCREMENT: false,
|
|
1410
|
+
SKIP_COLUMN_IN_POST: true
|
|
1411
|
+
},
|
|
1412
|
+
'carbon_users.user_membership': {
|
|
1413
|
+
MYSQL_TYPE: 'int',
|
|
1414
|
+
MAX_LENGTH: '',
|
|
1415
|
+
AUTO_INCREMENT: false,
|
|
1416
|
+
SKIP_COLUMN_IN_POST: true
|
|
1417
|
+
},
|
|
1418
|
+
'carbon_users.user_deactivated': {
|
|
1419
|
+
MYSQL_TYPE: 'tinyint',
|
|
1420
|
+
MAX_LENGTH: '',
|
|
1421
|
+
AUTO_INCREMENT: false,
|
|
1422
|
+
SKIP_COLUMN_IN_POST: true
|
|
1423
|
+
},
|
|
1424
|
+
'carbon_users.user_last_login': {
|
|
1425
|
+
MYSQL_TYPE: 'datetime',
|
|
1426
|
+
MAX_LENGTH: '',
|
|
1427
|
+
AUTO_INCREMENT: false,
|
|
1428
|
+
SKIP_COLUMN_IN_POST: true
|
|
1429
|
+
},
|
|
1430
|
+
'carbon_users.user_ip': {
|
|
1431
|
+
MYSQL_TYPE: 'varchar',
|
|
1432
|
+
MAX_LENGTH: '20',
|
|
1433
|
+
AUTO_INCREMENT: false,
|
|
1434
|
+
SKIP_COLUMN_IN_POST: false
|
|
1435
|
+
},
|
|
1436
|
+
'carbon_users.user_education_history': {
|
|
1437
|
+
MYSQL_TYPE: 'varchar',
|
|
1438
|
+
MAX_LENGTH: '200',
|
|
1439
|
+
AUTO_INCREMENT: false,
|
|
1440
|
+
SKIP_COLUMN_IN_POST: true
|
|
1441
|
+
},
|
|
1442
|
+
'carbon_users.user_location': {
|
|
1443
|
+
MYSQL_TYPE: 'varchar',
|
|
1444
|
+
MAX_LENGTH: '20',
|
|
1445
|
+
AUTO_INCREMENT: false,
|
|
1446
|
+
SKIP_COLUMN_IN_POST: true
|
|
1447
|
+
},
|
|
1448
|
+
'carbon_users.user_creation_date': {
|
|
1449
|
+
MYSQL_TYPE: 'datetime',
|
|
1450
|
+
MAX_LENGTH: '',
|
|
1451
|
+
AUTO_INCREMENT: false,
|
|
1452
|
+
SKIP_COLUMN_IN_POST: true
|
|
1795
1453
|
},
|
|
1796
1454
|
},
|
|
1797
1455
|
REGEX_VALIDATION: {
|
|
@@ -1799,1030 +1457,47 @@ export const wp_comments : C6RestfulModel & iDefineWp_Comments = {
|
|
|
1799
1457
|
|
|
1800
1458
|
}
|
|
1801
1459
|
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
export interface iWp_Links {
|
|
1805
|
-
'link_id'?: number;
|
|
1806
|
-
'link_url'?: string;
|
|
1807
|
-
'link_name'?: string;
|
|
1808
|
-
'link_image'?: string;
|
|
1809
|
-
'link_target'?: string;
|
|
1810
|
-
'link_description'?: string;
|
|
1811
|
-
'link_visible'?: string;
|
|
1812
|
-
'link_owner'?: number;
|
|
1813
|
-
'link_rating'?: number;
|
|
1814
|
-
'link_updated'?: string;
|
|
1815
|
-
'link_rel'?: string;
|
|
1816
|
-
'link_notes'?: string;
|
|
1817
|
-
'link_rss'?: string;
|
|
1818
|
-
}
|
|
1819
|
-
|
|
1820
|
-
interface iDefineWp_Links {
|
|
1821
|
-
'LINK_ID': string;
|
|
1822
|
-
'LINK_URL': string;
|
|
1823
|
-
'LINK_NAME': string;
|
|
1824
|
-
'LINK_IMAGE': string;
|
|
1825
|
-
'LINK_TARGET': string;
|
|
1826
|
-
'LINK_DESCRIPTION': string;
|
|
1827
|
-
'LINK_VISIBLE': string;
|
|
1828
|
-
'LINK_OWNER': string;
|
|
1829
|
-
'LINK_RATING': string;
|
|
1830
|
-
'LINK_UPDATED': string;
|
|
1831
|
-
'LINK_REL': string;
|
|
1832
|
-
'LINK_NOTES': string;
|
|
1833
|
-
'LINK_RSS': string;
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
|
-
export const wp_links : C6RestfulModel & iDefineWp_Links = {
|
|
1837
|
-
TABLE_NAME:'wp_links',
|
|
1838
|
-
LINK_ID: 'carbon_wp_links.link_id',
|
|
1839
|
-
LINK_URL: 'carbon_wp_links.link_url',
|
|
1840
|
-
LINK_NAME: 'carbon_wp_links.link_name',
|
|
1841
|
-
LINK_IMAGE: 'carbon_wp_links.link_image',
|
|
1842
|
-
LINK_TARGET: 'carbon_wp_links.link_target',
|
|
1843
|
-
LINK_DESCRIPTION: 'carbon_wp_links.link_description',
|
|
1844
|
-
LINK_VISIBLE: 'carbon_wp_links.link_visible',
|
|
1845
|
-
LINK_OWNER: 'carbon_wp_links.link_owner',
|
|
1846
|
-
LINK_RATING: 'carbon_wp_links.link_rating',
|
|
1847
|
-
LINK_UPDATED: 'carbon_wp_links.link_updated',
|
|
1848
|
-
LINK_REL: 'carbon_wp_links.link_rel',
|
|
1849
|
-
LINK_NOTES: 'carbon_wp_links.link_notes',
|
|
1850
|
-
LINK_RSS: 'carbon_wp_links.link_rss',
|
|
1851
|
-
PRIMARY: [
|
|
1852
|
-
'carbon_wp_links.link_id',
|
|
1853
|
-
],
|
|
1854
|
-
COLUMNS: {
|
|
1855
|
-
'carbon_wp_links.link_id':'link_id',
|
|
1856
|
-
'carbon_wp_links.link_url':'link_url',
|
|
1857
|
-
'carbon_wp_links.link_name':'link_name',
|
|
1858
|
-
'carbon_wp_links.link_image':'link_image',
|
|
1859
|
-
'carbon_wp_links.link_target':'link_target',
|
|
1860
|
-
'carbon_wp_links.link_description':'link_description',
|
|
1861
|
-
'carbon_wp_links.link_visible':'link_visible',
|
|
1862
|
-
'carbon_wp_links.link_owner':'link_owner',
|
|
1863
|
-
'carbon_wp_links.link_rating':'link_rating',
|
|
1864
|
-
'carbon_wp_links.link_updated':'link_updated',
|
|
1865
|
-
'carbon_wp_links.link_rel':'link_rel',
|
|
1866
|
-
'carbon_wp_links.link_notes':'link_notes',
|
|
1867
|
-
'carbon_wp_links.link_rss':'link_rss',
|
|
1868
|
-
},
|
|
1869
|
-
TYPE_VALIDATION: {
|
|
1870
|
-
'carbon_wp_links.link_id': {
|
|
1871
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
1872
|
-
MAX_LENGTH: '',
|
|
1873
|
-
AUTO_INCREMENT: true,
|
|
1874
|
-
SKIP_COLUMN_IN_POST: true
|
|
1875
|
-
},
|
|
1876
|
-
'carbon_wp_links.link_url': {
|
|
1877
|
-
MYSQL_TYPE: 'varchar',
|
|
1878
|
-
MAX_LENGTH: '255',
|
|
1879
|
-
AUTO_INCREMENT: false,
|
|
1880
|
-
SKIP_COLUMN_IN_POST: true
|
|
1881
|
-
},
|
|
1882
|
-
'carbon_wp_links.link_name': {
|
|
1883
|
-
MYSQL_TYPE: 'varchar',
|
|
1884
|
-
MAX_LENGTH: '255',
|
|
1885
|
-
AUTO_INCREMENT: false,
|
|
1886
|
-
SKIP_COLUMN_IN_POST: true
|
|
1887
|
-
},
|
|
1888
|
-
'carbon_wp_links.link_image': {
|
|
1889
|
-
MYSQL_TYPE: 'varchar',
|
|
1890
|
-
MAX_LENGTH: '255',
|
|
1891
|
-
AUTO_INCREMENT: false,
|
|
1892
|
-
SKIP_COLUMN_IN_POST: true
|
|
1893
|
-
},
|
|
1894
|
-
'carbon_wp_links.link_target': {
|
|
1895
|
-
MYSQL_TYPE: 'varchar',
|
|
1896
|
-
MAX_LENGTH: '25',
|
|
1897
|
-
AUTO_INCREMENT: false,
|
|
1898
|
-
SKIP_COLUMN_IN_POST: true
|
|
1899
|
-
},
|
|
1900
|
-
'carbon_wp_links.link_description': {
|
|
1901
|
-
MYSQL_TYPE: 'varchar',
|
|
1902
|
-
MAX_LENGTH: '255',
|
|
1903
|
-
AUTO_INCREMENT: false,
|
|
1904
|
-
SKIP_COLUMN_IN_POST: true
|
|
1905
|
-
},
|
|
1906
|
-
'carbon_wp_links.link_visible': {
|
|
1907
|
-
MYSQL_TYPE: 'varchar',
|
|
1908
|
-
MAX_LENGTH: '20',
|
|
1909
|
-
AUTO_INCREMENT: false,
|
|
1910
|
-
SKIP_COLUMN_IN_POST: true
|
|
1911
|
-
},
|
|
1912
|
-
'carbon_wp_links.link_owner': {
|
|
1913
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
1914
|
-
MAX_LENGTH: '',
|
|
1915
|
-
AUTO_INCREMENT: false,
|
|
1916
|
-
SKIP_COLUMN_IN_POST: true
|
|
1917
|
-
},
|
|
1918
|
-
'carbon_wp_links.link_rating': {
|
|
1919
|
-
MYSQL_TYPE: 'int',
|
|
1920
|
-
MAX_LENGTH: '',
|
|
1921
|
-
AUTO_INCREMENT: false,
|
|
1922
|
-
SKIP_COLUMN_IN_POST: true
|
|
1923
|
-
},
|
|
1924
|
-
'carbon_wp_links.link_updated': {
|
|
1925
|
-
MYSQL_TYPE: 'datetime',
|
|
1926
|
-
MAX_LENGTH: '',
|
|
1927
|
-
AUTO_INCREMENT: false,
|
|
1928
|
-
SKIP_COLUMN_IN_POST: true
|
|
1929
|
-
},
|
|
1930
|
-
'carbon_wp_links.link_rel': {
|
|
1931
|
-
MYSQL_TYPE: 'varchar',
|
|
1932
|
-
MAX_LENGTH: '255',
|
|
1933
|
-
AUTO_INCREMENT: false,
|
|
1934
|
-
SKIP_COLUMN_IN_POST: true
|
|
1935
|
-
},
|
|
1936
|
-
'carbon_wp_links.link_notes': {
|
|
1937
|
-
MYSQL_TYPE: 'mediumtext',
|
|
1938
|
-
MAX_LENGTH: '',
|
|
1939
|
-
AUTO_INCREMENT: false,
|
|
1940
|
-
SKIP_COLUMN_IN_POST: false
|
|
1941
|
-
},
|
|
1942
|
-
'carbon_wp_links.link_rss': {
|
|
1943
|
-
MYSQL_TYPE: 'varchar',
|
|
1944
|
-
MAX_LENGTH: '255',
|
|
1945
|
-
AUTO_INCREMENT: false,
|
|
1946
|
-
SKIP_COLUMN_IN_POST: true
|
|
1947
|
-
},
|
|
1948
|
-
},
|
|
1949
|
-
REGEX_VALIDATION: {
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
|
-
}
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
export interface iWp_Options {
|
|
1957
|
-
'option_id'?: number;
|
|
1958
|
-
'option_name'?: string;
|
|
1959
|
-
'option_value'?: string;
|
|
1960
|
-
'autoload'?: string;
|
|
1961
|
-
}
|
|
1962
|
-
|
|
1963
|
-
interface iDefineWp_Options {
|
|
1964
|
-
'OPTION_ID': string;
|
|
1965
|
-
'OPTION_NAME': string;
|
|
1966
|
-
'OPTION_VALUE': string;
|
|
1967
|
-
'AUTOLOAD': string;
|
|
1968
|
-
}
|
|
1969
|
-
|
|
1970
|
-
export const wp_options : C6RestfulModel & iDefineWp_Options = {
|
|
1971
|
-
TABLE_NAME:'wp_options',
|
|
1972
|
-
OPTION_ID: 'carbon_wp_options.option_id',
|
|
1973
|
-
OPTION_NAME: 'carbon_wp_options.option_name',
|
|
1974
|
-
OPTION_VALUE: 'carbon_wp_options.option_value',
|
|
1975
|
-
AUTOLOAD: 'carbon_wp_options.autoload',
|
|
1976
|
-
PRIMARY: [
|
|
1977
|
-
'carbon_wp_options.option_id',
|
|
1978
|
-
],
|
|
1979
|
-
COLUMNS: {
|
|
1980
|
-
'carbon_wp_options.option_id':'option_id',
|
|
1981
|
-
'carbon_wp_options.option_name':'option_name',
|
|
1982
|
-
'carbon_wp_options.option_value':'option_value',
|
|
1983
|
-
'carbon_wp_options.autoload':'autoload',
|
|
1984
|
-
},
|
|
1985
|
-
TYPE_VALIDATION: {
|
|
1986
|
-
'carbon_wp_options.option_id': {
|
|
1987
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
1988
|
-
MAX_LENGTH: '',
|
|
1989
|
-
AUTO_INCREMENT: true,
|
|
1990
|
-
SKIP_COLUMN_IN_POST: true
|
|
1991
|
-
},
|
|
1992
|
-
'carbon_wp_options.option_name': {
|
|
1993
|
-
MYSQL_TYPE: 'varchar',
|
|
1994
|
-
MAX_LENGTH: '191',
|
|
1995
|
-
AUTO_INCREMENT: false,
|
|
1996
|
-
SKIP_COLUMN_IN_POST: true
|
|
1997
|
-
},
|
|
1998
|
-
'carbon_wp_options.option_value': {
|
|
1999
|
-
MYSQL_TYPE: 'longtext',
|
|
2000
|
-
MAX_LENGTH: '',
|
|
2001
|
-
AUTO_INCREMENT: false,
|
|
2002
|
-
SKIP_COLUMN_IN_POST: false
|
|
2003
|
-
},
|
|
2004
|
-
'carbon_wp_options.autoload': {
|
|
2005
|
-
MYSQL_TYPE: 'varchar',
|
|
2006
|
-
MAX_LENGTH: '20',
|
|
2007
|
-
AUTO_INCREMENT: false,
|
|
2008
|
-
SKIP_COLUMN_IN_POST: true
|
|
2009
|
-
},
|
|
2010
|
-
},
|
|
2011
|
-
REGEX_VALIDATION: {
|
|
2012
|
-
}
|
|
2013
|
-
|
|
2014
|
-
}
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
1460
|
|
|
2018
|
-
export interface iWp_Postmeta {
|
|
2019
|
-
'meta_id'?: number;
|
|
2020
|
-
'post_id'?: number;
|
|
2021
|
-
'meta_key'?: string;
|
|
2022
|
-
'meta_value'?: string;
|
|
2023
|
-
}
|
|
2024
|
-
|
|
2025
|
-
interface iDefineWp_Postmeta {
|
|
2026
|
-
'META_ID': string;
|
|
2027
|
-
'POST_ID': string;
|
|
2028
|
-
'META_KEY': string;
|
|
2029
|
-
'META_VALUE': string;
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
export const wp_postmeta : C6RestfulModel & iDefineWp_Postmeta = {
|
|
2033
|
-
TABLE_NAME:'wp_postmeta',
|
|
2034
|
-
META_ID: 'carbon_wp_postmeta.meta_id',
|
|
2035
|
-
POST_ID: 'carbon_wp_postmeta.post_id',
|
|
2036
|
-
META_KEY: 'carbon_wp_postmeta.meta_key',
|
|
2037
|
-
META_VALUE: 'carbon_wp_postmeta.meta_value',
|
|
2038
|
-
PRIMARY: [
|
|
2039
|
-
'carbon_wp_postmeta.meta_id',
|
|
2040
|
-
],
|
|
2041
|
-
COLUMNS: {
|
|
2042
|
-
'carbon_wp_postmeta.meta_id':'meta_id',
|
|
2043
|
-
'carbon_wp_postmeta.post_id':'post_id',
|
|
2044
|
-
'carbon_wp_postmeta.meta_key':'meta_key',
|
|
2045
|
-
'carbon_wp_postmeta.meta_value':'meta_value',
|
|
2046
|
-
},
|
|
2047
|
-
TYPE_VALIDATION: {
|
|
2048
|
-
'carbon_wp_postmeta.meta_id': {
|
|
2049
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2050
|
-
MAX_LENGTH: '',
|
|
2051
|
-
AUTO_INCREMENT: true,
|
|
2052
|
-
SKIP_COLUMN_IN_POST: true
|
|
2053
|
-
},
|
|
2054
|
-
'carbon_wp_postmeta.post_id': {
|
|
2055
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2056
|
-
MAX_LENGTH: '',
|
|
2057
|
-
AUTO_INCREMENT: false,
|
|
2058
|
-
SKIP_COLUMN_IN_POST: true
|
|
2059
|
-
},
|
|
2060
|
-
'carbon_wp_postmeta.meta_key': {
|
|
2061
|
-
MYSQL_TYPE: 'varchar',
|
|
2062
|
-
MAX_LENGTH: '255',
|
|
2063
|
-
AUTO_INCREMENT: false,
|
|
2064
|
-
SKIP_COLUMN_IN_POST: true
|
|
2065
|
-
},
|
|
2066
|
-
'carbon_wp_postmeta.meta_value': {
|
|
2067
|
-
MYSQL_TYPE: 'longtext',
|
|
2068
|
-
MAX_LENGTH: '',
|
|
2069
|
-
AUTO_INCREMENT: false,
|
|
2070
|
-
SKIP_COLUMN_IN_POST: false
|
|
2071
|
-
},
|
|
2072
|
-
},
|
|
2073
|
-
REGEX_VALIDATION: {
|
|
2074
|
-
}
|
|
2075
|
-
|
|
2076
|
-
}
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
export interface iWp_Posts {
|
|
2081
|
-
'ID'?: number;
|
|
2082
|
-
'post_author'?: number;
|
|
2083
|
-
'post_date'?: string;
|
|
2084
|
-
'post_date_gmt'?: string;
|
|
2085
|
-
'post_content'?: string;
|
|
2086
|
-
'post_title'?: string;
|
|
2087
|
-
'post_excerpt'?: string;
|
|
2088
|
-
'post_status'?: string;
|
|
2089
|
-
'comment_status'?: string;
|
|
2090
|
-
'ping_status'?: string;
|
|
2091
|
-
'post_password'?: string;
|
|
2092
|
-
'post_name'?: string;
|
|
2093
|
-
'to_ping'?: string;
|
|
2094
|
-
'pinged'?: string;
|
|
2095
|
-
'post_modified'?: string;
|
|
2096
|
-
'post_modified_gmt'?: string;
|
|
2097
|
-
'post_content_filtered'?: string;
|
|
2098
|
-
'post_parent'?: number;
|
|
2099
|
-
'guid'?: string;
|
|
2100
|
-
'menu_order'?: number;
|
|
2101
|
-
'post_type'?: string;
|
|
2102
|
-
'post_mime_type'?: string;
|
|
2103
|
-
'comment_count'?: number;
|
|
2104
|
-
}
|
|
2105
|
-
|
|
2106
|
-
interface iDefineWp_Posts {
|
|
2107
|
-
'ID': string;
|
|
2108
|
-
'POST_AUTHOR': string;
|
|
2109
|
-
'POST_DATE': string;
|
|
2110
|
-
'POST_DATE_GMT': string;
|
|
2111
|
-
'POST_CONTENT': string;
|
|
2112
|
-
'POST_TITLE': string;
|
|
2113
|
-
'POST_EXCERPT': string;
|
|
2114
|
-
'POST_STATUS': string;
|
|
2115
|
-
'COMMENT_STATUS': string;
|
|
2116
|
-
'PING_STATUS': string;
|
|
2117
|
-
'POST_PASSWORD': string;
|
|
2118
|
-
'POST_NAME': string;
|
|
2119
|
-
'TO_PING': string;
|
|
2120
|
-
'PINGED': string;
|
|
2121
|
-
'POST_MODIFIED': string;
|
|
2122
|
-
'POST_MODIFIED_GMT': string;
|
|
2123
|
-
'POST_CONTENT_FILTERED': string;
|
|
2124
|
-
'POST_PARENT': string;
|
|
2125
|
-
'GUID': string;
|
|
2126
|
-
'MENU_ORDER': string;
|
|
2127
|
-
'POST_TYPE': string;
|
|
2128
|
-
'POST_MIME_TYPE': string;
|
|
2129
|
-
'COMMENT_COUNT': string;
|
|
2130
|
-
}
|
|
2131
|
-
|
|
2132
|
-
export const wp_posts : C6RestfulModel & iDefineWp_Posts = {
|
|
2133
|
-
TABLE_NAME:'wp_posts',
|
|
2134
|
-
ID: 'carbon_wp_posts.ID',
|
|
2135
|
-
POST_AUTHOR: 'carbon_wp_posts.post_author',
|
|
2136
|
-
POST_DATE: 'carbon_wp_posts.post_date',
|
|
2137
|
-
POST_DATE_GMT: 'carbon_wp_posts.post_date_gmt',
|
|
2138
|
-
POST_CONTENT: 'carbon_wp_posts.post_content',
|
|
2139
|
-
POST_TITLE: 'carbon_wp_posts.post_title',
|
|
2140
|
-
POST_EXCERPT: 'carbon_wp_posts.post_excerpt',
|
|
2141
|
-
POST_STATUS: 'carbon_wp_posts.post_status',
|
|
2142
|
-
COMMENT_STATUS: 'carbon_wp_posts.comment_status',
|
|
2143
|
-
PING_STATUS: 'carbon_wp_posts.ping_status',
|
|
2144
|
-
POST_PASSWORD: 'carbon_wp_posts.post_password',
|
|
2145
|
-
POST_NAME: 'carbon_wp_posts.post_name',
|
|
2146
|
-
TO_PING: 'carbon_wp_posts.to_ping',
|
|
2147
|
-
PINGED: 'carbon_wp_posts.pinged',
|
|
2148
|
-
POST_MODIFIED: 'carbon_wp_posts.post_modified',
|
|
2149
|
-
POST_MODIFIED_GMT: 'carbon_wp_posts.post_modified_gmt',
|
|
2150
|
-
POST_CONTENT_FILTERED: 'carbon_wp_posts.post_content_filtered',
|
|
2151
|
-
POST_PARENT: 'carbon_wp_posts.post_parent',
|
|
2152
|
-
GUID: 'carbon_wp_posts.guid',
|
|
2153
|
-
MENU_ORDER: 'carbon_wp_posts.menu_order',
|
|
2154
|
-
POST_TYPE: 'carbon_wp_posts.post_type',
|
|
2155
|
-
POST_MIME_TYPE: 'carbon_wp_posts.post_mime_type',
|
|
2156
|
-
COMMENT_COUNT: 'carbon_wp_posts.comment_count',
|
|
2157
|
-
PRIMARY: [
|
|
2158
|
-
'carbon_wp_posts.ID',
|
|
2159
|
-
],
|
|
2160
|
-
COLUMNS: {
|
|
2161
|
-
'carbon_wp_posts.ID':'ID',
|
|
2162
|
-
'carbon_wp_posts.post_author':'post_author',
|
|
2163
|
-
'carbon_wp_posts.post_date':'post_date',
|
|
2164
|
-
'carbon_wp_posts.post_date_gmt':'post_date_gmt',
|
|
2165
|
-
'carbon_wp_posts.post_content':'post_content',
|
|
2166
|
-
'carbon_wp_posts.post_title':'post_title',
|
|
2167
|
-
'carbon_wp_posts.post_excerpt':'post_excerpt',
|
|
2168
|
-
'carbon_wp_posts.post_status':'post_status',
|
|
2169
|
-
'carbon_wp_posts.comment_status':'comment_status',
|
|
2170
|
-
'carbon_wp_posts.ping_status':'ping_status',
|
|
2171
|
-
'carbon_wp_posts.post_password':'post_password',
|
|
2172
|
-
'carbon_wp_posts.post_name':'post_name',
|
|
2173
|
-
'carbon_wp_posts.to_ping':'to_ping',
|
|
2174
|
-
'carbon_wp_posts.pinged':'pinged',
|
|
2175
|
-
'carbon_wp_posts.post_modified':'post_modified',
|
|
2176
|
-
'carbon_wp_posts.post_modified_gmt':'post_modified_gmt',
|
|
2177
|
-
'carbon_wp_posts.post_content_filtered':'post_content_filtered',
|
|
2178
|
-
'carbon_wp_posts.post_parent':'post_parent',
|
|
2179
|
-
'carbon_wp_posts.guid':'guid',
|
|
2180
|
-
'carbon_wp_posts.menu_order':'menu_order',
|
|
2181
|
-
'carbon_wp_posts.post_type':'post_type',
|
|
2182
|
-
'carbon_wp_posts.post_mime_type':'post_mime_type',
|
|
2183
|
-
'carbon_wp_posts.comment_count':'comment_count',
|
|
2184
|
-
},
|
|
2185
|
-
TYPE_VALIDATION: {
|
|
2186
|
-
'carbon_wp_posts.ID': {
|
|
2187
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2188
|
-
MAX_LENGTH: '',
|
|
2189
|
-
AUTO_INCREMENT: true,
|
|
2190
|
-
SKIP_COLUMN_IN_POST: true
|
|
2191
|
-
},
|
|
2192
|
-
'carbon_wp_posts.post_author': {
|
|
2193
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2194
|
-
MAX_LENGTH: '',
|
|
2195
|
-
AUTO_INCREMENT: false,
|
|
2196
|
-
SKIP_COLUMN_IN_POST: true
|
|
2197
|
-
},
|
|
2198
|
-
'carbon_wp_posts.post_date': {
|
|
2199
|
-
MYSQL_TYPE: 'datetime',
|
|
2200
|
-
MAX_LENGTH: '',
|
|
2201
|
-
AUTO_INCREMENT: false,
|
|
2202
|
-
SKIP_COLUMN_IN_POST: true
|
|
2203
|
-
},
|
|
2204
|
-
'carbon_wp_posts.post_date_gmt': {
|
|
2205
|
-
MYSQL_TYPE: 'datetime',
|
|
2206
|
-
MAX_LENGTH: '',
|
|
2207
|
-
AUTO_INCREMENT: false,
|
|
2208
|
-
SKIP_COLUMN_IN_POST: true
|
|
2209
|
-
},
|
|
2210
|
-
'carbon_wp_posts.post_content': {
|
|
2211
|
-
MYSQL_TYPE: 'longtext',
|
|
2212
|
-
MAX_LENGTH: '',
|
|
2213
|
-
AUTO_INCREMENT: false,
|
|
2214
|
-
SKIP_COLUMN_IN_POST: false
|
|
2215
|
-
},
|
|
2216
|
-
'carbon_wp_posts.post_title': {
|
|
2217
|
-
MYSQL_TYPE: 'text',
|
|
2218
|
-
MAX_LENGTH: '',
|
|
2219
|
-
AUTO_INCREMENT: false,
|
|
2220
|
-
SKIP_COLUMN_IN_POST: false
|
|
2221
|
-
},
|
|
2222
|
-
'carbon_wp_posts.post_excerpt': {
|
|
2223
|
-
MYSQL_TYPE: 'text',
|
|
2224
|
-
MAX_LENGTH: '',
|
|
2225
|
-
AUTO_INCREMENT: false,
|
|
2226
|
-
SKIP_COLUMN_IN_POST: false
|
|
2227
|
-
},
|
|
2228
|
-
'carbon_wp_posts.post_status': {
|
|
2229
|
-
MYSQL_TYPE: 'varchar',
|
|
2230
|
-
MAX_LENGTH: '20',
|
|
2231
|
-
AUTO_INCREMENT: false,
|
|
2232
|
-
SKIP_COLUMN_IN_POST: true
|
|
2233
|
-
},
|
|
2234
|
-
'carbon_wp_posts.comment_status': {
|
|
2235
|
-
MYSQL_TYPE: 'varchar',
|
|
2236
|
-
MAX_LENGTH: '20',
|
|
2237
|
-
AUTO_INCREMENT: false,
|
|
2238
|
-
SKIP_COLUMN_IN_POST: true
|
|
2239
|
-
},
|
|
2240
|
-
'carbon_wp_posts.ping_status': {
|
|
2241
|
-
MYSQL_TYPE: 'varchar',
|
|
2242
|
-
MAX_LENGTH: '20',
|
|
2243
|
-
AUTO_INCREMENT: false,
|
|
2244
|
-
SKIP_COLUMN_IN_POST: true
|
|
2245
|
-
},
|
|
2246
|
-
'carbon_wp_posts.post_password': {
|
|
2247
|
-
MYSQL_TYPE: 'varchar',
|
|
2248
|
-
MAX_LENGTH: '255',
|
|
2249
|
-
AUTO_INCREMENT: false,
|
|
2250
|
-
SKIP_COLUMN_IN_POST: true
|
|
2251
|
-
},
|
|
2252
|
-
'carbon_wp_posts.post_name': {
|
|
2253
|
-
MYSQL_TYPE: 'varchar',
|
|
2254
|
-
MAX_LENGTH: '200',
|
|
2255
|
-
AUTO_INCREMENT: false,
|
|
2256
|
-
SKIP_COLUMN_IN_POST: true
|
|
2257
|
-
},
|
|
2258
|
-
'carbon_wp_posts.to_ping': {
|
|
2259
|
-
MYSQL_TYPE: 'text',
|
|
2260
|
-
MAX_LENGTH: '',
|
|
2261
|
-
AUTO_INCREMENT: false,
|
|
2262
|
-
SKIP_COLUMN_IN_POST: false
|
|
2263
|
-
},
|
|
2264
|
-
'carbon_wp_posts.pinged': {
|
|
2265
|
-
MYSQL_TYPE: 'text',
|
|
2266
|
-
MAX_LENGTH: '',
|
|
2267
|
-
AUTO_INCREMENT: false,
|
|
2268
|
-
SKIP_COLUMN_IN_POST: false
|
|
2269
|
-
},
|
|
2270
|
-
'carbon_wp_posts.post_modified': {
|
|
2271
|
-
MYSQL_TYPE: 'datetime',
|
|
2272
|
-
MAX_LENGTH: '',
|
|
2273
|
-
AUTO_INCREMENT: false,
|
|
2274
|
-
SKIP_COLUMN_IN_POST: true
|
|
2275
|
-
},
|
|
2276
|
-
'carbon_wp_posts.post_modified_gmt': {
|
|
2277
|
-
MYSQL_TYPE: 'datetime',
|
|
2278
|
-
MAX_LENGTH: '',
|
|
2279
|
-
AUTO_INCREMENT: false,
|
|
2280
|
-
SKIP_COLUMN_IN_POST: true
|
|
2281
|
-
},
|
|
2282
|
-
'carbon_wp_posts.post_content_filtered': {
|
|
2283
|
-
MYSQL_TYPE: 'longtext',
|
|
2284
|
-
MAX_LENGTH: '',
|
|
2285
|
-
AUTO_INCREMENT: false,
|
|
2286
|
-
SKIP_COLUMN_IN_POST: false
|
|
2287
|
-
},
|
|
2288
|
-
'carbon_wp_posts.post_parent': {
|
|
2289
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2290
|
-
MAX_LENGTH: '',
|
|
2291
|
-
AUTO_INCREMENT: false,
|
|
2292
|
-
SKIP_COLUMN_IN_POST: true
|
|
2293
|
-
},
|
|
2294
|
-
'carbon_wp_posts.guid': {
|
|
2295
|
-
MYSQL_TYPE: 'varchar',
|
|
2296
|
-
MAX_LENGTH: '255',
|
|
2297
|
-
AUTO_INCREMENT: false,
|
|
2298
|
-
SKIP_COLUMN_IN_POST: true
|
|
2299
|
-
},
|
|
2300
|
-
'carbon_wp_posts.menu_order': {
|
|
2301
|
-
MYSQL_TYPE: 'int',
|
|
2302
|
-
MAX_LENGTH: '',
|
|
2303
|
-
AUTO_INCREMENT: false,
|
|
2304
|
-
SKIP_COLUMN_IN_POST: true
|
|
2305
|
-
},
|
|
2306
|
-
'carbon_wp_posts.post_type': {
|
|
2307
|
-
MYSQL_TYPE: 'varchar',
|
|
2308
|
-
MAX_LENGTH: '20',
|
|
2309
|
-
AUTO_INCREMENT: false,
|
|
2310
|
-
SKIP_COLUMN_IN_POST: true
|
|
2311
|
-
},
|
|
2312
|
-
'carbon_wp_posts.post_mime_type': {
|
|
2313
|
-
MYSQL_TYPE: 'varchar',
|
|
2314
|
-
MAX_LENGTH: '100',
|
|
2315
|
-
AUTO_INCREMENT: false,
|
|
2316
|
-
SKIP_COLUMN_IN_POST: true
|
|
2317
|
-
},
|
|
2318
|
-
'carbon_wp_posts.comment_count': {
|
|
2319
|
-
MYSQL_TYPE: 'bigint',
|
|
2320
|
-
MAX_LENGTH: '',
|
|
2321
|
-
AUTO_INCREMENT: false,
|
|
2322
|
-
SKIP_COLUMN_IN_POST: true
|
|
2323
|
-
},
|
|
2324
|
-
},
|
|
2325
|
-
REGEX_VALIDATION: {
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
|
-
}
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
export interface iWp_Term_Relationships {
|
|
2333
|
-
'object_id'?: number;
|
|
2334
|
-
'term_taxonomy_id'?: number;
|
|
2335
|
-
'term_order'?: number;
|
|
2336
|
-
}
|
|
2337
|
-
|
|
2338
|
-
interface iDefineWp_Term_Relationships {
|
|
2339
|
-
'OBJECT_ID': string;
|
|
2340
|
-
'TERM_TAXONOMY_ID': string;
|
|
2341
|
-
'TERM_ORDER': string;
|
|
2342
|
-
}
|
|
2343
|
-
|
|
2344
|
-
export const wp_term_relationships : C6RestfulModel & iDefineWp_Term_Relationships = {
|
|
2345
|
-
TABLE_NAME:'wp_term_relationships',
|
|
2346
|
-
OBJECT_ID: 'carbon_wp_term_relationships.object_id',
|
|
2347
|
-
TERM_TAXONOMY_ID: 'carbon_wp_term_relationships.term_taxonomy_id',
|
|
2348
|
-
TERM_ORDER: 'carbon_wp_term_relationships.term_order',
|
|
2349
|
-
PRIMARY: [
|
|
2350
|
-
'carbon_wp_term_relationships.object_id',
|
|
2351
|
-
'carbon_wp_term_relationships.term_taxonomy_id',
|
|
2352
|
-
],
|
|
2353
|
-
COLUMNS: {
|
|
2354
|
-
'carbon_wp_term_relationships.object_id':'object_id',
|
|
2355
|
-
'carbon_wp_term_relationships.term_taxonomy_id':'term_taxonomy_id',
|
|
2356
|
-
'carbon_wp_term_relationships.term_order':'term_order',
|
|
2357
|
-
},
|
|
2358
|
-
TYPE_VALIDATION: {
|
|
2359
|
-
'carbon_wp_term_relationships.object_id': {
|
|
2360
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2361
|
-
MAX_LENGTH: '',
|
|
2362
|
-
AUTO_INCREMENT: false,
|
|
2363
|
-
SKIP_COLUMN_IN_POST: true
|
|
2364
|
-
},
|
|
2365
|
-
'carbon_wp_term_relationships.term_taxonomy_id': {
|
|
2366
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2367
|
-
MAX_LENGTH: '',
|
|
2368
|
-
AUTO_INCREMENT: false,
|
|
2369
|
-
SKIP_COLUMN_IN_POST: true
|
|
2370
|
-
},
|
|
2371
|
-
'carbon_wp_term_relationships.term_order': {
|
|
2372
|
-
MYSQL_TYPE: 'int',
|
|
2373
|
-
MAX_LENGTH: '',
|
|
2374
|
-
AUTO_INCREMENT: false,
|
|
2375
|
-
SKIP_COLUMN_IN_POST: true
|
|
2376
|
-
},
|
|
2377
|
-
},
|
|
2378
|
-
REGEX_VALIDATION: {
|
|
2379
|
-
}
|
|
2380
|
-
|
|
2381
|
-
}
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
export interface iWp_Term_Taxonomy {
|
|
2386
|
-
'term_taxonomy_id'?: number;
|
|
2387
|
-
'term_id'?: number;
|
|
2388
|
-
'taxonomy'?: string;
|
|
2389
|
-
'description'?: string;
|
|
2390
|
-
'parent'?: number;
|
|
2391
|
-
'count'?: number;
|
|
2392
|
-
}
|
|
2393
|
-
|
|
2394
|
-
interface iDefineWp_Term_Taxonomy {
|
|
2395
|
-
'TERM_TAXONOMY_ID': string;
|
|
2396
|
-
'TERM_ID': string;
|
|
2397
|
-
'TAXONOMY': string;
|
|
2398
|
-
'DESCRIPTION': string;
|
|
2399
|
-
'PARENT': string;
|
|
2400
|
-
'COUNT': string;
|
|
2401
|
-
}
|
|
2402
|
-
|
|
2403
|
-
export const wp_term_taxonomy : C6RestfulModel & iDefineWp_Term_Taxonomy = {
|
|
2404
|
-
TABLE_NAME:'wp_term_taxonomy',
|
|
2405
|
-
TERM_TAXONOMY_ID: 'carbon_wp_term_taxonomy.term_taxonomy_id',
|
|
2406
|
-
TERM_ID: 'carbon_wp_term_taxonomy.term_id',
|
|
2407
|
-
TAXONOMY: 'carbon_wp_term_taxonomy.taxonomy',
|
|
2408
|
-
DESCRIPTION: 'carbon_wp_term_taxonomy.description',
|
|
2409
|
-
PARENT: 'carbon_wp_term_taxonomy.parent',
|
|
2410
|
-
COUNT: 'carbon_wp_term_taxonomy.count',
|
|
2411
|
-
PRIMARY: [
|
|
2412
|
-
'carbon_wp_term_taxonomy.term_taxonomy_id',
|
|
2413
|
-
],
|
|
2414
|
-
COLUMNS: {
|
|
2415
|
-
'carbon_wp_term_taxonomy.term_taxonomy_id':'term_taxonomy_id',
|
|
2416
|
-
'carbon_wp_term_taxonomy.term_id':'term_id',
|
|
2417
|
-
'carbon_wp_term_taxonomy.taxonomy':'taxonomy',
|
|
2418
|
-
'carbon_wp_term_taxonomy.description':'description',
|
|
2419
|
-
'carbon_wp_term_taxonomy.parent':'parent',
|
|
2420
|
-
'carbon_wp_term_taxonomy.count':'count',
|
|
2421
|
-
},
|
|
2422
|
-
TYPE_VALIDATION: {
|
|
2423
|
-
'carbon_wp_term_taxonomy.term_taxonomy_id': {
|
|
2424
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2425
|
-
MAX_LENGTH: '',
|
|
2426
|
-
AUTO_INCREMENT: true,
|
|
2427
|
-
SKIP_COLUMN_IN_POST: true
|
|
2428
|
-
},
|
|
2429
|
-
'carbon_wp_term_taxonomy.term_id': {
|
|
2430
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2431
|
-
MAX_LENGTH: '',
|
|
2432
|
-
AUTO_INCREMENT: false,
|
|
2433
|
-
SKIP_COLUMN_IN_POST: true
|
|
2434
|
-
},
|
|
2435
|
-
'carbon_wp_term_taxonomy.taxonomy': {
|
|
2436
|
-
MYSQL_TYPE: 'varchar',
|
|
2437
|
-
MAX_LENGTH: '32',
|
|
2438
|
-
AUTO_INCREMENT: false,
|
|
2439
|
-
SKIP_COLUMN_IN_POST: true
|
|
2440
|
-
},
|
|
2441
|
-
'carbon_wp_term_taxonomy.description': {
|
|
2442
|
-
MYSQL_TYPE: 'longtext',
|
|
2443
|
-
MAX_LENGTH: '',
|
|
2444
|
-
AUTO_INCREMENT: false,
|
|
2445
|
-
SKIP_COLUMN_IN_POST: false
|
|
2446
|
-
},
|
|
2447
|
-
'carbon_wp_term_taxonomy.parent': {
|
|
2448
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2449
|
-
MAX_LENGTH: '',
|
|
2450
|
-
AUTO_INCREMENT: false,
|
|
2451
|
-
SKIP_COLUMN_IN_POST: true
|
|
2452
|
-
},
|
|
2453
|
-
'carbon_wp_term_taxonomy.count': {
|
|
2454
|
-
MYSQL_TYPE: 'bigint',
|
|
2455
|
-
MAX_LENGTH: '',
|
|
2456
|
-
AUTO_INCREMENT: false,
|
|
2457
|
-
SKIP_COLUMN_IN_POST: true
|
|
2458
|
-
},
|
|
2459
|
-
},
|
|
2460
|
-
REGEX_VALIDATION: {
|
|
2461
|
-
}
|
|
2462
|
-
|
|
2463
|
-
}
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
export interface iWp_Termmeta {
|
|
2468
|
-
'meta_id'?: number;
|
|
2469
|
-
'term_id'?: number;
|
|
2470
|
-
'meta_key'?: string;
|
|
2471
|
-
'meta_value'?: string;
|
|
2472
|
-
}
|
|
2473
|
-
|
|
2474
|
-
interface iDefineWp_Termmeta {
|
|
2475
|
-
'META_ID': string;
|
|
2476
|
-
'TERM_ID': string;
|
|
2477
|
-
'META_KEY': string;
|
|
2478
|
-
'META_VALUE': string;
|
|
2479
|
-
}
|
|
2480
|
-
|
|
2481
|
-
export const wp_termmeta : C6RestfulModel & iDefineWp_Termmeta = {
|
|
2482
|
-
TABLE_NAME:'wp_termmeta',
|
|
2483
|
-
META_ID: 'carbon_wp_termmeta.meta_id',
|
|
2484
|
-
TERM_ID: 'carbon_wp_termmeta.term_id',
|
|
2485
|
-
META_KEY: 'carbon_wp_termmeta.meta_key',
|
|
2486
|
-
META_VALUE: 'carbon_wp_termmeta.meta_value',
|
|
2487
|
-
PRIMARY: [
|
|
2488
|
-
'carbon_wp_termmeta.meta_id',
|
|
2489
|
-
],
|
|
2490
|
-
COLUMNS: {
|
|
2491
|
-
'carbon_wp_termmeta.meta_id':'meta_id',
|
|
2492
|
-
'carbon_wp_termmeta.term_id':'term_id',
|
|
2493
|
-
'carbon_wp_termmeta.meta_key':'meta_key',
|
|
2494
|
-
'carbon_wp_termmeta.meta_value':'meta_value',
|
|
2495
|
-
},
|
|
2496
|
-
TYPE_VALIDATION: {
|
|
2497
|
-
'carbon_wp_termmeta.meta_id': {
|
|
2498
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2499
|
-
MAX_LENGTH: '',
|
|
2500
|
-
AUTO_INCREMENT: true,
|
|
2501
|
-
SKIP_COLUMN_IN_POST: true
|
|
2502
|
-
},
|
|
2503
|
-
'carbon_wp_termmeta.term_id': {
|
|
2504
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2505
|
-
MAX_LENGTH: '',
|
|
2506
|
-
AUTO_INCREMENT: false,
|
|
2507
|
-
SKIP_COLUMN_IN_POST: true
|
|
2508
|
-
},
|
|
2509
|
-
'carbon_wp_termmeta.meta_key': {
|
|
2510
|
-
MYSQL_TYPE: 'varchar',
|
|
2511
|
-
MAX_LENGTH: '255',
|
|
2512
|
-
AUTO_INCREMENT: false,
|
|
2513
|
-
SKIP_COLUMN_IN_POST: true
|
|
2514
|
-
},
|
|
2515
|
-
'carbon_wp_termmeta.meta_value': {
|
|
2516
|
-
MYSQL_TYPE: 'longtext',
|
|
2517
|
-
MAX_LENGTH: '',
|
|
2518
|
-
AUTO_INCREMENT: false,
|
|
2519
|
-
SKIP_COLUMN_IN_POST: false
|
|
2520
|
-
},
|
|
2521
|
-
},
|
|
2522
|
-
REGEX_VALIDATION: {
|
|
2523
|
-
}
|
|
2524
|
-
|
|
2525
|
-
}
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
export interface iWp_Terms {
|
|
2530
|
-
'term_id'?: number;
|
|
2531
|
-
'name'?: string;
|
|
2532
|
-
'slug'?: string;
|
|
2533
|
-
'term_group'?: number;
|
|
2534
|
-
}
|
|
2535
|
-
|
|
2536
|
-
interface iDefineWp_Terms {
|
|
2537
|
-
'TERM_ID': string;
|
|
2538
|
-
'NAME': string;
|
|
2539
|
-
'SLUG': string;
|
|
2540
|
-
'TERM_GROUP': string;
|
|
2541
|
-
}
|
|
2542
|
-
|
|
2543
|
-
export const wp_terms : C6RestfulModel & iDefineWp_Terms = {
|
|
2544
|
-
TABLE_NAME:'wp_terms',
|
|
2545
|
-
TERM_ID: 'carbon_wp_terms.term_id',
|
|
2546
|
-
NAME: 'carbon_wp_terms.name',
|
|
2547
|
-
SLUG: 'carbon_wp_terms.slug',
|
|
2548
|
-
TERM_GROUP: 'carbon_wp_terms.term_group',
|
|
2549
|
-
PRIMARY: [
|
|
2550
|
-
'carbon_wp_terms.term_id',
|
|
2551
|
-
],
|
|
2552
|
-
COLUMNS: {
|
|
2553
|
-
'carbon_wp_terms.term_id':'term_id',
|
|
2554
|
-
'carbon_wp_terms.name':'name',
|
|
2555
|
-
'carbon_wp_terms.slug':'slug',
|
|
2556
|
-
'carbon_wp_terms.term_group':'term_group',
|
|
2557
|
-
},
|
|
2558
|
-
TYPE_VALIDATION: {
|
|
2559
|
-
'carbon_wp_terms.term_id': {
|
|
2560
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2561
|
-
MAX_LENGTH: '',
|
|
2562
|
-
AUTO_INCREMENT: true,
|
|
2563
|
-
SKIP_COLUMN_IN_POST: true
|
|
2564
|
-
},
|
|
2565
|
-
'carbon_wp_terms.name': {
|
|
2566
|
-
MYSQL_TYPE: 'varchar',
|
|
2567
|
-
MAX_LENGTH: '200',
|
|
2568
|
-
AUTO_INCREMENT: false,
|
|
2569
|
-
SKIP_COLUMN_IN_POST: true
|
|
2570
|
-
},
|
|
2571
|
-
'carbon_wp_terms.slug': {
|
|
2572
|
-
MYSQL_TYPE: 'varchar',
|
|
2573
|
-
MAX_LENGTH: '200',
|
|
2574
|
-
AUTO_INCREMENT: false,
|
|
2575
|
-
SKIP_COLUMN_IN_POST: true
|
|
2576
|
-
},
|
|
2577
|
-
'carbon_wp_terms.term_group': {
|
|
2578
|
-
MYSQL_TYPE: 'bigint',
|
|
2579
|
-
MAX_LENGTH: '',
|
|
2580
|
-
AUTO_INCREMENT: false,
|
|
2581
|
-
SKIP_COLUMN_IN_POST: true
|
|
2582
|
-
},
|
|
2583
|
-
},
|
|
2584
|
-
REGEX_VALIDATION: {
|
|
2585
|
-
}
|
|
2586
|
-
|
|
2587
|
-
}
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
export interface iWp_Usermeta {
|
|
2592
|
-
'umeta_id'?: number;
|
|
2593
|
-
'user_id'?: number;
|
|
2594
|
-
'meta_key'?: string;
|
|
2595
|
-
'meta_value'?: string;
|
|
2596
|
-
}
|
|
2597
|
-
|
|
2598
|
-
interface iDefineWp_Usermeta {
|
|
2599
|
-
'UMETA_ID': string;
|
|
2600
|
-
'USER_ID': string;
|
|
2601
|
-
'META_KEY': string;
|
|
2602
|
-
'META_VALUE': string;
|
|
2603
|
-
}
|
|
2604
|
-
|
|
2605
|
-
export const wp_usermeta : C6RestfulModel & iDefineWp_Usermeta = {
|
|
2606
|
-
TABLE_NAME:'wp_usermeta',
|
|
2607
|
-
UMETA_ID: 'carbon_wp_usermeta.umeta_id',
|
|
2608
|
-
USER_ID: 'carbon_wp_usermeta.user_id',
|
|
2609
|
-
META_KEY: 'carbon_wp_usermeta.meta_key',
|
|
2610
|
-
META_VALUE: 'carbon_wp_usermeta.meta_value',
|
|
2611
|
-
PRIMARY: [
|
|
2612
|
-
'carbon_wp_usermeta.umeta_id',
|
|
2613
|
-
],
|
|
2614
|
-
COLUMNS: {
|
|
2615
|
-
'carbon_wp_usermeta.umeta_id':'umeta_id',
|
|
2616
|
-
'carbon_wp_usermeta.user_id':'user_id',
|
|
2617
|
-
'carbon_wp_usermeta.meta_key':'meta_key',
|
|
2618
|
-
'carbon_wp_usermeta.meta_value':'meta_value',
|
|
2619
|
-
},
|
|
2620
|
-
TYPE_VALIDATION: {
|
|
2621
|
-
'carbon_wp_usermeta.umeta_id': {
|
|
2622
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2623
|
-
MAX_LENGTH: '',
|
|
2624
|
-
AUTO_INCREMENT: true,
|
|
2625
|
-
SKIP_COLUMN_IN_POST: true
|
|
2626
|
-
},
|
|
2627
|
-
'carbon_wp_usermeta.user_id': {
|
|
2628
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2629
|
-
MAX_LENGTH: '',
|
|
2630
|
-
AUTO_INCREMENT: false,
|
|
2631
|
-
SKIP_COLUMN_IN_POST: true
|
|
2632
|
-
},
|
|
2633
|
-
'carbon_wp_usermeta.meta_key': {
|
|
2634
|
-
MYSQL_TYPE: 'varchar',
|
|
2635
|
-
MAX_LENGTH: '255',
|
|
2636
|
-
AUTO_INCREMENT: false,
|
|
2637
|
-
SKIP_COLUMN_IN_POST: true
|
|
2638
|
-
},
|
|
2639
|
-
'carbon_wp_usermeta.meta_value': {
|
|
2640
|
-
MYSQL_TYPE: 'longtext',
|
|
2641
|
-
MAX_LENGTH: '',
|
|
2642
|
-
AUTO_INCREMENT: false,
|
|
2643
|
-
SKIP_COLUMN_IN_POST: false
|
|
2644
|
-
},
|
|
2645
|
-
},
|
|
2646
|
-
REGEX_VALIDATION: {
|
|
2647
|
-
}
|
|
2648
|
-
|
|
2649
|
-
}
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
export interface iWp_Users {
|
|
2654
|
-
'ID'?: number;
|
|
2655
|
-
'user_login'?: string;
|
|
2656
|
-
'user_pass'?: string;
|
|
2657
|
-
'user_nicename'?: string;
|
|
2658
|
-
'user_email'?: string;
|
|
2659
|
-
'user_url'?: string;
|
|
2660
|
-
'user_registered'?: string;
|
|
2661
|
-
'user_activation_key'?: string;
|
|
2662
|
-
'user_status'?: number;
|
|
2663
|
-
'display_name'?: string;
|
|
2664
|
-
}
|
|
2665
|
-
|
|
2666
|
-
interface iDefineWp_Users {
|
|
2667
|
-
'ID': string;
|
|
2668
|
-
'USER_LOGIN': string;
|
|
2669
|
-
'USER_PASS': string;
|
|
2670
|
-
'USER_NICENAME': string;
|
|
2671
|
-
'USER_EMAIL': string;
|
|
2672
|
-
'USER_URL': string;
|
|
2673
|
-
'USER_REGISTERED': string;
|
|
2674
|
-
'USER_ACTIVATION_KEY': string;
|
|
2675
|
-
'USER_STATUS': string;
|
|
2676
|
-
'DISPLAY_NAME': string;
|
|
2677
|
-
}
|
|
2678
|
-
|
|
2679
|
-
export const wp_users : C6RestfulModel & iDefineWp_Users = {
|
|
2680
|
-
TABLE_NAME:'wp_users',
|
|
2681
|
-
ID: 'carbon_wp_users.ID',
|
|
2682
|
-
USER_LOGIN: 'carbon_wp_users.user_login',
|
|
2683
|
-
USER_PASS: 'carbon_wp_users.user_pass',
|
|
2684
|
-
USER_NICENAME: 'carbon_wp_users.user_nicename',
|
|
2685
|
-
USER_EMAIL: 'carbon_wp_users.user_email',
|
|
2686
|
-
USER_URL: 'carbon_wp_users.user_url',
|
|
2687
|
-
USER_REGISTERED: 'carbon_wp_users.user_registered',
|
|
2688
|
-
USER_ACTIVATION_KEY: 'carbon_wp_users.user_activation_key',
|
|
2689
|
-
USER_STATUS: 'carbon_wp_users.user_status',
|
|
2690
|
-
DISPLAY_NAME: 'carbon_wp_users.display_name',
|
|
2691
|
-
PRIMARY: [
|
|
2692
|
-
'carbon_wp_users.ID',
|
|
2693
|
-
],
|
|
2694
|
-
COLUMNS: {
|
|
2695
|
-
'carbon_wp_users.ID':'ID',
|
|
2696
|
-
'carbon_wp_users.user_login':'user_login',
|
|
2697
|
-
'carbon_wp_users.user_pass':'user_pass',
|
|
2698
|
-
'carbon_wp_users.user_nicename':'user_nicename',
|
|
2699
|
-
'carbon_wp_users.user_email':'user_email',
|
|
2700
|
-
'carbon_wp_users.user_url':'user_url',
|
|
2701
|
-
'carbon_wp_users.user_registered':'user_registered',
|
|
2702
|
-
'carbon_wp_users.user_activation_key':'user_activation_key',
|
|
2703
|
-
'carbon_wp_users.user_status':'user_status',
|
|
2704
|
-
'carbon_wp_users.display_name':'display_name',
|
|
2705
|
-
},
|
|
2706
|
-
TYPE_VALIDATION: {
|
|
2707
|
-
'carbon_wp_users.ID': {
|
|
2708
|
-
MYSQL_TYPE: 'bigint unsigned',
|
|
2709
|
-
MAX_LENGTH: '',
|
|
2710
|
-
AUTO_INCREMENT: true,
|
|
2711
|
-
SKIP_COLUMN_IN_POST: true
|
|
2712
|
-
},
|
|
2713
|
-
'carbon_wp_users.user_login': {
|
|
2714
|
-
MYSQL_TYPE: 'varchar',
|
|
2715
|
-
MAX_LENGTH: '60',
|
|
2716
|
-
AUTO_INCREMENT: false,
|
|
2717
|
-
SKIP_COLUMN_IN_POST: true
|
|
2718
|
-
},
|
|
2719
|
-
'carbon_wp_users.user_pass': {
|
|
2720
|
-
MYSQL_TYPE: 'varchar',
|
|
2721
|
-
MAX_LENGTH: '255',
|
|
2722
|
-
AUTO_INCREMENT: false,
|
|
2723
|
-
SKIP_COLUMN_IN_POST: true
|
|
2724
|
-
},
|
|
2725
|
-
'carbon_wp_users.user_nicename': {
|
|
2726
|
-
MYSQL_TYPE: 'varchar',
|
|
2727
|
-
MAX_LENGTH: '50',
|
|
2728
|
-
AUTO_INCREMENT: false,
|
|
2729
|
-
SKIP_COLUMN_IN_POST: true
|
|
2730
|
-
},
|
|
2731
|
-
'carbon_wp_users.user_email': {
|
|
2732
|
-
MYSQL_TYPE: 'varchar',
|
|
2733
|
-
MAX_LENGTH: '100',
|
|
2734
|
-
AUTO_INCREMENT: false,
|
|
2735
|
-
SKIP_COLUMN_IN_POST: true
|
|
2736
|
-
},
|
|
2737
|
-
'carbon_wp_users.user_url': {
|
|
2738
|
-
MYSQL_TYPE: 'varchar',
|
|
2739
|
-
MAX_LENGTH: '100',
|
|
2740
|
-
AUTO_INCREMENT: false,
|
|
2741
|
-
SKIP_COLUMN_IN_POST: true
|
|
2742
|
-
},
|
|
2743
|
-
'carbon_wp_users.user_registered': {
|
|
2744
|
-
MYSQL_TYPE: 'datetime',
|
|
2745
|
-
MAX_LENGTH: '',
|
|
2746
|
-
AUTO_INCREMENT: false,
|
|
2747
|
-
SKIP_COLUMN_IN_POST: true
|
|
2748
|
-
},
|
|
2749
|
-
'carbon_wp_users.user_activation_key': {
|
|
2750
|
-
MYSQL_TYPE: 'varchar',
|
|
2751
|
-
MAX_LENGTH: '255',
|
|
2752
|
-
AUTO_INCREMENT: false,
|
|
2753
|
-
SKIP_COLUMN_IN_POST: true
|
|
2754
|
-
},
|
|
2755
|
-
'carbon_wp_users.user_status': {
|
|
2756
|
-
MYSQL_TYPE: 'int',
|
|
2757
|
-
MAX_LENGTH: '',
|
|
2758
|
-
AUTO_INCREMENT: false,
|
|
2759
|
-
SKIP_COLUMN_IN_POST: true
|
|
2760
|
-
},
|
|
2761
|
-
'carbon_wp_users.display_name': {
|
|
2762
|
-
MYSQL_TYPE: 'varchar',
|
|
2763
|
-
MAX_LENGTH: '250',
|
|
2764
|
-
AUTO_INCREMENT: false,
|
|
2765
|
-
SKIP_COLUMN_IN_POST: true
|
|
2766
|
-
},
|
|
2767
|
-
},
|
|
2768
|
-
REGEX_VALIDATION: {
|
|
2769
|
-
}
|
|
2770
|
-
|
|
2771
|
-
}
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
1461
|
|
|
2775
1462
|
export const TABLES = {
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
users: users,
|
|
2796
|
-
wp_commentmeta: wp_commentmeta,
|
|
2797
|
-
wp_comments: wp_comments,
|
|
2798
|
-
wp_links: wp_links,
|
|
2799
|
-
wp_options: wp_options,
|
|
2800
|
-
wp_postmeta: wp_postmeta,
|
|
2801
|
-
wp_posts: wp_posts,
|
|
2802
|
-
wp_term_relationships: wp_term_relationships,
|
|
2803
|
-
wp_term_taxonomy: wp_term_taxonomy,
|
|
2804
|
-
wp_termmeta: wp_termmeta,
|
|
2805
|
-
wp_terms: wp_terms,
|
|
2806
|
-
wp_usermeta: wp_usermeta,
|
|
2807
|
-
wp_users: wp_users,
|
|
1463
|
+
|
|
1464
|
+
carbons: carbons,
|
|
1465
|
+
comments: comments,
|
|
1466
|
+
documentation: documentation,
|
|
1467
|
+
feature_group_references: feature_group_references,
|
|
1468
|
+
features: features,
|
|
1469
|
+
group_references: group_references,
|
|
1470
|
+
groups: groups,
|
|
1471
|
+
history_logs: history_logs,
|
|
1472
|
+
location_references: location_references,
|
|
1473
|
+
locations: locations,
|
|
1474
|
+
photos: photos,
|
|
1475
|
+
reports: reports,
|
|
1476
|
+
user_followers: user_followers,
|
|
1477
|
+
user_groups: user_groups,
|
|
1478
|
+
user_messages: user_messages,
|
|
1479
|
+
user_sessions: user_sessions,
|
|
1480
|
+
user_tasks: user_tasks,
|
|
1481
|
+
users: users,
|
|
2808
1482
|
};
|
|
2809
1483
|
|
|
2810
|
-
export const C6
|
|
2811
|
-
|
|
1484
|
+
export const C6 : { TABLES: { [key: string]: (C6RestfulModel & { [key: string]: any }) } }
|
|
1485
|
+
& { [key: string]: any } = {
|
|
1486
|
+
// try to 1=1 match the Rest abstract class
|
|
2812
1487
|
ADDDATE: 'ADDDATE',
|
|
2813
1488
|
ADDTIME: 'ADDTIME',
|
|
2814
1489
|
AS: 'AS',
|
|
2815
1490
|
ASC: 'ASC',
|
|
2816
|
-
|
|
1491
|
+
|
|
2817
1492
|
BETWEEN: 'BETWEEN',
|
|
2818
|
-
|
|
1493
|
+
|
|
2819
1494
|
CONCAT: 'CONCAT',
|
|
2820
1495
|
CONVERT_TZ: 'CONVERT_TZ',
|
|
2821
1496
|
COUNT: 'COUNT',
|
|
2822
1497
|
COUNT_ALL: 'COUNT_ALL',
|
|
2823
1498
|
CURRENT_DATE: 'CURRENT_DATE',
|
|
2824
1499
|
CURRENT_TIMESTAMP: 'CURRENT_TIMESTAMP',
|
|
2825
|
-
|
|
1500
|
+
|
|
2826
1501
|
DAY: 'DAY',
|
|
2827
1502
|
DAY_HOUR: 'DAY_HOUR',
|
|
2828
1503
|
DAY_MICROSECOND: 'DAY_MICROSECOND',
|
|
@@ -2839,37 +1514,37 @@ export const C6 = {
|
|
|
2839
1514
|
DATE_FORMAT: 'DATE_FORMAT',
|
|
2840
1515
|
DESC: 'DESC',
|
|
2841
1516
|
DISTINCT: 'DISTINCT',
|
|
2842
|
-
|
|
1517
|
+
|
|
2843
1518
|
EXTRACT: 'EXTRACT',
|
|
2844
1519
|
EQUAL: '=',
|
|
2845
1520
|
EQUAL_NULL_SAFE: '<=>',
|
|
2846
|
-
|
|
1521
|
+
|
|
2847
1522
|
FALSE: 'FALSE',
|
|
2848
1523
|
FULL_OUTER: 'FULL_OUTER',
|
|
2849
1524
|
FROM_DAYS: 'FROM_DAYS',
|
|
2850
1525
|
FROM_UNIXTIME: 'FROM_UNIXTIME',
|
|
2851
|
-
|
|
1526
|
+
|
|
2852
1527
|
GET_FORMAT: 'GET_FORMAT',
|
|
2853
1528
|
GREATER_THAN: '>',
|
|
2854
1529
|
GROUP_BY: 'GROUP_BY',
|
|
2855
1530
|
GROUP_CONCAT: 'GROUP_CONCAT',
|
|
2856
1531
|
GREATER_THAN_OR_EQUAL_TO: '>=',
|
|
2857
|
-
|
|
1532
|
+
|
|
2858
1533
|
HAVING: 'HAVING',
|
|
2859
1534
|
HEX: 'HEX',
|
|
2860
1535
|
HOUR: 'HOUR',
|
|
2861
1536
|
HOUR_MICROSECOND: 'HOUR_MICROSECOND',
|
|
2862
1537
|
HOUR_SECOND: 'HOUR_SECOND',
|
|
2863
1538
|
HOUR_MINUTE: 'HOUR_MINUTE',
|
|
2864
|
-
|
|
1539
|
+
|
|
2865
1540
|
IN: 'IN',
|
|
2866
1541
|
IS: 'IS',
|
|
2867
1542
|
IS_NOT: 'IS_NOT',
|
|
2868
1543
|
INNER: 'INNER',
|
|
2869
1544
|
INTERVAL: 'INTERVAL',
|
|
2870
|
-
|
|
1545
|
+
|
|
2871
1546
|
JOIN: 'JOIN',
|
|
2872
|
-
|
|
1547
|
+
|
|
2873
1548
|
LEFT: 'LEFT',
|
|
2874
1549
|
LEFT_OUTER: 'LEFT_OUTER',
|
|
2875
1550
|
LESS_THAN: '<',
|
|
@@ -2878,7 +1553,7 @@ export const C6 = {
|
|
|
2878
1553
|
LIMIT: 'LIMIT',
|
|
2879
1554
|
LOCALTIME: 'LOCALTIME',
|
|
2880
1555
|
LOCALTIMESTAMP: 'LOCALTIMESTAMP',
|
|
2881
|
-
|
|
1556
|
+
|
|
2882
1557
|
MAKEDATE: 'MAKEDATE',
|
|
2883
1558
|
MAKETIME: 'MAKETIME',
|
|
2884
1559
|
MONTHNAME: 'MONTHNAME',
|
|
@@ -2889,19 +1564,19 @@ export const C6 = {
|
|
|
2889
1564
|
MIN: 'MIN',
|
|
2890
1565
|
MAX: 'MAX',
|
|
2891
1566
|
MONTH: 'MONTH',
|
|
2892
|
-
|
|
1567
|
+
|
|
2893
1568
|
NOT_LIKE: 'NOT_LIKE',
|
|
2894
1569
|
NOT_EQUAL: '<>',
|
|
2895
1570
|
NOT_IN: 'NOT_IN',
|
|
2896
1571
|
NOW: 'NOW',
|
|
2897
1572
|
NULL: 'NULL',
|
|
2898
|
-
|
|
1573
|
+
|
|
2899
1574
|
ORDER: 'ORDER',
|
|
2900
|
-
|
|
1575
|
+
|
|
2901
1576
|
PAGE: 'PAGE',
|
|
2902
1577
|
PAGINATION: 'PAGINATION',
|
|
2903
1578
|
RIGHT_OUTER: 'RIGHT_OUTER',
|
|
2904
|
-
|
|
1579
|
+
|
|
2905
1580
|
SECOND: 'SECOND',
|
|
2906
1581
|
SECOND_MICROSECOND: 'SECOND_MICROSECOND',
|
|
2907
1582
|
SELECT: 'SELECT',
|
|
@@ -2910,7 +1585,7 @@ export const C6 = {
|
|
|
2910
1585
|
SUBTIME: 'SUBTIME',
|
|
2911
1586
|
SUM: 'SUM',
|
|
2912
1587
|
SYSDATE: 'SYSDATE',
|
|
2913
|
-
|
|
1588
|
+
|
|
2914
1589
|
TIME: 'TIME',
|
|
2915
1590
|
TIME_FORMAT: 'TIME_FORMAT',
|
|
2916
1591
|
TIME_TO_SEC: 'TIME_TO_SEC',
|
|
@@ -2922,7 +1597,7 @@ export const C6 = {
|
|
|
2922
1597
|
TO_SECONDS: 'TO_SECONDS',
|
|
2923
1598
|
TRANSACTION_TIMESTAMP: 'TRANSACTION_TIMESTAMP',
|
|
2924
1599
|
TRUE: 'TRUE',
|
|
2925
|
-
|
|
1600
|
+
|
|
2926
1601
|
UNIX_TIMESTAMP: 'UNIX_TIMESTAMP',
|
|
2927
1602
|
UNKNOWN: 'UNKNOWN',
|
|
2928
1603
|
UPDATE: 'UPDATE',
|
|
@@ -2930,17 +1605,17 @@ export const C6 = {
|
|
|
2930
1605
|
UTC_DATE: 'UNHEX',
|
|
2931
1606
|
UTC_TIME: 'UNHEX',
|
|
2932
1607
|
UTC_TIMESTAMP: 'UNHEX',
|
|
2933
|
-
|
|
1608
|
+
|
|
2934
1609
|
WHERE: 'WHERE',
|
|
2935
1610
|
WEEKDAY: 'WEEKDAY',
|
|
2936
1611
|
WEEKOFYEAR: 'WEEKOFYEAR',
|
|
2937
|
-
|
|
1612
|
+
|
|
2938
1613
|
YEARWEEK: 'YEARWEEK',
|
|
2939
|
-
|
|
2940
|
-
|
|
1614
|
+
|
|
1615
|
+
|
|
2941
1616
|
// carbon identifiers
|
|
2942
1617
|
DEPENDANT_ON_ENTITY: 'DEPENDANT_ON_ENTITY',
|
|
2943
|
-
|
|
1618
|
+
|
|
2944
1619
|
// PHP validation
|
|
2945
1620
|
OPTIONS: 'OPTIONS',
|
|
2946
1621
|
GET: 'GET',
|
|
@@ -2956,362 +1631,206 @@ export const C6 = {
|
|
|
2956
1631
|
|
|
2957
1632
|
TABLES: TABLES,
|
|
2958
1633
|
...TABLES
|
|
2959
|
-
|
|
1634
|
+
|
|
2960
1635
|
};
|
|
2961
1636
|
|
|
2962
1637
|
export const COLUMNS = {
|
|
2963
|
-
|
|
2964
|
-
'carbon_carbons.entity_pk':'entity_pk',
|
|
2965
|
-
'carbon_carbons.entity_fk':'entity_fk',
|
|
2966
|
-
'carbon_carbons.entity_tag':'entity_tag',
|
|
2967
|
-
|
|
2968
|
-
'carbon_comments.parent_id':'parent_id',
|
|
2969
|
-
'carbon_comments.comment_id':'comment_id',
|
|
2970
|
-
'carbon_comments.user_id':'user_id',
|
|
2971
|
-
'carbon_comments.comment':'comment',
|
|
2972
|
-
|
|
2973
|
-
'carbon_documentation.documentation_uri':'documentation_uri',
|
|
2974
|
-
'carbon_documentation.documentation_data':'documentation_data',
|
|
2975
|
-
'carbon_documentation.documentation_version':'documentation_version',
|
|
2976
|
-
'carbon_documentation.documentation_active':'documentation_active',
|
|
2977
|
-
|
|
2978
|
-
'carbon_feature_group_references.feature_entity_id':'feature_entity_id',
|
|
2979
|
-
'carbon_feature_group_references.group_entity_id':'group_entity_id',
|
|
2980
|
-
|
|
2981
|
-
'carbon_features.feature_entity_id':'feature_entity_id',
|
|
2982
|
-
'carbon_features.feature_code':'feature_code',
|
|
2983
|
-
'carbon_features.feature_creation_date':'feature_creation_date',
|
|
2984
|
-
|
|
2985
|
-
'carbon_group_references.group_id':'group_id',
|
|
2986
|
-
'carbon_group_references.allowed_to_grant_group_id':'allowed_to_grant_group_id',
|
|
2987
|
-
|
|
2988
|
-
'carbon_groups.group_name':'group_name',
|
|
2989
|
-
'carbon_groups.entity_id':'entity_id',
|
|
2990
|
-
'carbon_groups.created_by':'created_by',
|
|
2991
|
-
'carbon_groups.creation_date':'creation_date',
|
|
2992
|
-
|
|
2993
|
-
'carbon_history_logs.history_uuid':'history_uuid',
|
|
2994
|
-
'carbon_history_logs.history_table':'history_table',
|
|
2995
|
-
'carbon_history_logs.history_type':'history_type',
|
|
2996
|
-
'carbon_history_logs.history_data':'history_data',
|
|
2997
|
-
'carbon_history_logs.history_original_query':'history_original_query',
|
|
2998
|
-
'carbon_history_logs.history_time':'history_time',
|
|
2999
|
-
|
|
3000
|
-
'carbon_location_references.entity_reference':'entity_reference',
|
|
3001
|
-
'carbon_location_references.location_reference':'location_reference',
|
|
3002
|
-
'carbon_location_references.location_time':'location_time',
|
|
3003
|
-
|
|
3004
|
-
'carbon_locations.entity_id':'entity_id',
|
|
3005
|
-
'carbon_locations.latitude':'latitude',
|
|
3006
|
-
'carbon_locations.longitude':'longitude',
|
|
3007
|
-
'carbon_locations.street':'street',
|
|
3008
|
-
'carbon_locations.city':'city',
|
|
3009
|
-
'carbon_locations.state':'state',
|
|
3010
|
-
'carbon_locations.elevation':'elevation',
|
|
3011
|
-
'carbon_locations.zip':'zip',
|
|
3012
|
-
|
|
3013
|
-
'carbon_photos.parent_id':'parent_id',
|
|
3014
|
-
'carbon_photos.photo_id':'photo_id',
|
|
3015
|
-
'carbon_photos.user_id':'user_id',
|
|
3016
|
-
'carbon_photos.photo_path':'photo_path',
|
|
3017
|
-
'carbon_photos.photo_description':'photo_description',
|
|
3018
|
-
|
|
3019
|
-
'carbon_reports.log_level':'log_level',
|
|
3020
|
-
'carbon_reports.report':'report',
|
|
3021
|
-
'carbon_reports.date':'date',
|
|
3022
|
-
'carbon_reports.call_trace':'call_trace',
|
|
3023
|
-
|
|
3024
|
-
'
|
|
3025
|
-
'
|
|
3026
|
-
'
|
|
3027
|
-
|
|
3028
|
-
'
|
|
3029
|
-
'
|
|
3030
|
-
|
|
3031
|
-
'
|
|
3032
|
-
'
|
|
3033
|
-
'
|
|
3034
|
-
|
|
3035
|
-
'
|
|
3036
|
-
'
|
|
3037
|
-
|
|
3038
|
-
'
|
|
3039
|
-
'
|
|
3040
|
-
'
|
|
3041
|
-
'
|
|
3042
|
-
'
|
|
3043
|
-
'
|
|
3044
|
-
|
|
3045
|
-
'
|
|
3046
|
-
'
|
|
3047
|
-
'
|
|
3048
|
-
'
|
|
3049
|
-
'
|
|
3050
|
-
'
|
|
3051
|
-
|
|
3052
|
-
'carbon_user_tasks.
|
|
3053
|
-
|
|
3054
|
-
'
|
|
3055
|
-
'
|
|
3056
|
-
'
|
|
3057
|
-
'
|
|
3058
|
-
'
|
|
3059
|
-
'
|
|
3060
|
-
|
|
3061
|
-
'carbon_users.
|
|
3062
|
-
'carbon_users.
|
|
3063
|
-
'carbon_users.
|
|
3064
|
-
'carbon_users.
|
|
3065
|
-
'carbon_users.
|
|
3066
|
-
'carbon_users.
|
|
3067
|
-
'carbon_users.
|
|
3068
|
-
'carbon_users.
|
|
3069
|
-
'carbon_users.
|
|
3070
|
-
'carbon_users.
|
|
3071
|
-
'carbon_users.
|
|
3072
|
-
'carbon_users.
|
|
3073
|
-
'carbon_users.
|
|
3074
|
-
'carbon_users.
|
|
3075
|
-
'carbon_users.
|
|
3076
|
-
'carbon_users.
|
|
3077
|
-
'carbon_users.
|
|
3078
|
-
'carbon_users.
|
|
3079
|
-
'carbon_users.
|
|
3080
|
-
'carbon_users.
|
|
3081
|
-
'carbon_users.user_membership':'user_membership',
|
|
3082
|
-
'carbon_users.user_deactivated':'user_deactivated',
|
|
3083
|
-
'carbon_users.user_last_login':'user_last_login',
|
|
3084
|
-
'carbon_users.user_ip':'user_ip',
|
|
3085
|
-
'carbon_users.user_education_history':'user_education_history',
|
|
3086
|
-
'carbon_users.user_location':'user_location',
|
|
3087
|
-
'carbon_users.user_creation_date':'user_creation_date',
|
|
3088
|
-
|
|
3089
|
-
'carbon_wp_commentmeta.meta_id':'meta_id',
|
|
3090
|
-
'carbon_wp_commentmeta.comment_id':'comment_id',
|
|
3091
|
-
'carbon_wp_commentmeta.meta_key':'meta_key',
|
|
3092
|
-
'carbon_wp_commentmeta.meta_value':'meta_value',
|
|
3093
|
-
|
|
3094
|
-
'carbon_wp_comments.comment_ID':'comment_ID',
|
|
3095
|
-
'carbon_wp_comments.comment_post_ID':'comment_post_ID',
|
|
3096
|
-
'carbon_wp_comments.comment_author':'comment_author',
|
|
3097
|
-
'carbon_wp_comments.comment_author_email':'comment_author_email',
|
|
3098
|
-
'carbon_wp_comments.comment_author_url':'comment_author_url',
|
|
3099
|
-
'carbon_wp_comments.comment_author_IP':'comment_author_IP',
|
|
3100
|
-
'carbon_wp_comments.comment_date':'comment_date',
|
|
3101
|
-
'carbon_wp_comments.comment_date_gmt':'comment_date_gmt',
|
|
3102
|
-
'carbon_wp_comments.comment_content':'comment_content',
|
|
3103
|
-
'carbon_wp_comments.comment_karma':'comment_karma',
|
|
3104
|
-
'carbon_wp_comments.comment_approved':'comment_approved',
|
|
3105
|
-
'carbon_wp_comments.comment_agent':'comment_agent',
|
|
3106
|
-
'carbon_wp_comments.comment_type':'comment_type',
|
|
3107
|
-
'carbon_wp_comments.comment_parent':'comment_parent',
|
|
3108
|
-
'carbon_wp_comments.user_id':'user_id',
|
|
3109
|
-
|
|
3110
|
-
'carbon_wp_links.link_id':'link_id',
|
|
3111
|
-
'carbon_wp_links.link_url':'link_url',
|
|
3112
|
-
'carbon_wp_links.link_name':'link_name',
|
|
3113
|
-
'carbon_wp_links.link_image':'link_image',
|
|
3114
|
-
'carbon_wp_links.link_target':'link_target',
|
|
3115
|
-
'carbon_wp_links.link_description':'link_description',
|
|
3116
|
-
'carbon_wp_links.link_visible':'link_visible',
|
|
3117
|
-
'carbon_wp_links.link_owner':'link_owner',
|
|
3118
|
-
'carbon_wp_links.link_rating':'link_rating',
|
|
3119
|
-
'carbon_wp_links.link_updated':'link_updated',
|
|
3120
|
-
'carbon_wp_links.link_rel':'link_rel',
|
|
3121
|
-
'carbon_wp_links.link_notes':'link_notes',
|
|
3122
|
-
'carbon_wp_links.link_rss':'link_rss',
|
|
3123
|
-
|
|
3124
|
-
'carbon_wp_options.option_id':'option_id',
|
|
3125
|
-
'carbon_wp_options.option_name':'option_name',
|
|
3126
|
-
'carbon_wp_options.option_value':'option_value',
|
|
3127
|
-
'carbon_wp_options.autoload':'autoload',
|
|
3128
|
-
|
|
3129
|
-
'carbon_wp_postmeta.meta_id':'meta_id',
|
|
3130
|
-
'carbon_wp_postmeta.post_id':'post_id',
|
|
3131
|
-
'carbon_wp_postmeta.meta_key':'meta_key',
|
|
3132
|
-
'carbon_wp_postmeta.meta_value':'meta_value',
|
|
3133
|
-
|
|
3134
|
-
'carbon_wp_posts.ID':'ID',
|
|
3135
|
-
'carbon_wp_posts.post_author':'post_author',
|
|
3136
|
-
'carbon_wp_posts.post_date':'post_date',
|
|
3137
|
-
'carbon_wp_posts.post_date_gmt':'post_date_gmt',
|
|
3138
|
-
'carbon_wp_posts.post_content':'post_content',
|
|
3139
|
-
'carbon_wp_posts.post_title':'post_title',
|
|
3140
|
-
'carbon_wp_posts.post_excerpt':'post_excerpt',
|
|
3141
|
-
'carbon_wp_posts.post_status':'post_status',
|
|
3142
|
-
'carbon_wp_posts.comment_status':'comment_status',
|
|
3143
|
-
'carbon_wp_posts.ping_status':'ping_status',
|
|
3144
|
-
'carbon_wp_posts.post_password':'post_password',
|
|
3145
|
-
'carbon_wp_posts.post_name':'post_name',
|
|
3146
|
-
'carbon_wp_posts.to_ping':'to_ping',
|
|
3147
|
-
'carbon_wp_posts.pinged':'pinged',
|
|
3148
|
-
'carbon_wp_posts.post_modified':'post_modified',
|
|
3149
|
-
'carbon_wp_posts.post_modified_gmt':'post_modified_gmt',
|
|
3150
|
-
'carbon_wp_posts.post_content_filtered':'post_content_filtered',
|
|
3151
|
-
'carbon_wp_posts.post_parent':'post_parent',
|
|
3152
|
-
'carbon_wp_posts.guid':'guid',
|
|
3153
|
-
'carbon_wp_posts.menu_order':'menu_order',
|
|
3154
|
-
'carbon_wp_posts.post_type':'post_type',
|
|
3155
|
-
'carbon_wp_posts.post_mime_type':'post_mime_type',
|
|
3156
|
-
'carbon_wp_posts.comment_count':'comment_count',
|
|
3157
|
-
|
|
3158
|
-
'carbon_wp_term_relationships.object_id':'object_id',
|
|
3159
|
-
'carbon_wp_term_relationships.term_taxonomy_id':'term_taxonomy_id',
|
|
3160
|
-
'carbon_wp_term_relationships.term_order':'term_order',
|
|
3161
|
-
|
|
3162
|
-
'carbon_wp_term_taxonomy.term_taxonomy_id':'term_taxonomy_id',
|
|
3163
|
-
'carbon_wp_term_taxonomy.term_id':'term_id',
|
|
3164
|
-
'carbon_wp_term_taxonomy.taxonomy':'taxonomy',
|
|
3165
|
-
'carbon_wp_term_taxonomy.description':'description',
|
|
3166
|
-
'carbon_wp_term_taxonomy.parent':'parent',
|
|
3167
|
-
'carbon_wp_term_taxonomy.count':'count',
|
|
3168
|
-
|
|
3169
|
-
'carbon_wp_termmeta.meta_id':'meta_id',
|
|
3170
|
-
'carbon_wp_termmeta.term_id':'term_id',
|
|
3171
|
-
'carbon_wp_termmeta.meta_key':'meta_key',
|
|
3172
|
-
'carbon_wp_termmeta.meta_value':'meta_value',
|
|
3173
|
-
|
|
3174
|
-
'carbon_wp_terms.term_id':'term_id',
|
|
3175
|
-
'carbon_wp_terms.name':'name',
|
|
3176
|
-
'carbon_wp_terms.slug':'slug',
|
|
3177
|
-
'carbon_wp_terms.term_group':'term_group',
|
|
3178
|
-
|
|
3179
|
-
'carbon_wp_usermeta.umeta_id':'umeta_id',
|
|
3180
|
-
'carbon_wp_usermeta.user_id':'user_id',
|
|
3181
|
-
'carbon_wp_usermeta.meta_key':'meta_key',
|
|
3182
|
-
'carbon_wp_usermeta.meta_value':'meta_value',
|
|
3183
|
-
|
|
3184
|
-
'carbon_wp_users.ID':'ID',
|
|
3185
|
-
'carbon_wp_users.user_login':'user_login',
|
|
3186
|
-
'carbon_wp_users.user_pass':'user_pass',
|
|
3187
|
-
'carbon_wp_users.user_nicename':'user_nicename',
|
|
3188
|
-
'carbon_wp_users.user_email':'user_email',
|
|
3189
|
-
'carbon_wp_users.user_url':'user_url',
|
|
3190
|
-
'carbon_wp_users.user_registered':'user_registered',
|
|
3191
|
-
'carbon_wp_users.user_activation_key':'user_activation_key',
|
|
3192
|
-
'carbon_wp_users.user_status':'user_status',
|
|
3193
|
-
'carbon_wp_users.display_name':'display_name',
|
|
1638
|
+
|
|
1639
|
+
'carbon_carbons.entity_pk':'entity_pk',
|
|
1640
|
+
'carbon_carbons.entity_fk':'entity_fk',
|
|
1641
|
+
'carbon_carbons.entity_tag':'entity_tag',
|
|
1642
|
+
|
|
1643
|
+
'carbon_comments.parent_id':'parent_id',
|
|
1644
|
+
'carbon_comments.comment_id':'comment_id',
|
|
1645
|
+
'carbon_comments.user_id':'user_id',
|
|
1646
|
+
'carbon_comments.comment':'comment',
|
|
1647
|
+
|
|
1648
|
+
'carbon_documentation.documentation_uri':'documentation_uri',
|
|
1649
|
+
'carbon_documentation.documentation_data':'documentation_data',
|
|
1650
|
+
'carbon_documentation.documentation_version':'documentation_version',
|
|
1651
|
+
'carbon_documentation.documentation_active':'documentation_active',
|
|
1652
|
+
|
|
1653
|
+
'carbon_feature_group_references.feature_entity_id':'feature_entity_id',
|
|
1654
|
+
'carbon_feature_group_references.group_entity_id':'group_entity_id',
|
|
1655
|
+
|
|
1656
|
+
'carbon_features.feature_entity_id':'feature_entity_id',
|
|
1657
|
+
'carbon_features.feature_code':'feature_code',
|
|
1658
|
+
'carbon_features.feature_creation_date':'feature_creation_date',
|
|
1659
|
+
|
|
1660
|
+
'carbon_group_references.group_id':'group_id',
|
|
1661
|
+
'carbon_group_references.allowed_to_grant_group_id':'allowed_to_grant_group_id',
|
|
1662
|
+
|
|
1663
|
+
'carbon_groups.group_name':'group_name',
|
|
1664
|
+
'carbon_groups.entity_id':'entity_id',
|
|
1665
|
+
'carbon_groups.created_by':'created_by',
|
|
1666
|
+
'carbon_groups.creation_date':'creation_date',
|
|
1667
|
+
|
|
1668
|
+
'carbon_history_logs.history_uuid':'history_uuid',
|
|
1669
|
+
'carbon_history_logs.history_table':'history_table',
|
|
1670
|
+
'carbon_history_logs.history_type':'history_type',
|
|
1671
|
+
'carbon_history_logs.history_data':'history_data',
|
|
1672
|
+
'carbon_history_logs.history_original_query':'history_original_query',
|
|
1673
|
+
'carbon_history_logs.history_time':'history_time',
|
|
1674
|
+
|
|
1675
|
+
'carbon_location_references.entity_reference':'entity_reference',
|
|
1676
|
+
'carbon_location_references.location_reference':'location_reference',
|
|
1677
|
+
'carbon_location_references.location_time':'location_time',
|
|
1678
|
+
|
|
1679
|
+
'carbon_locations.entity_id':'entity_id',
|
|
1680
|
+
'carbon_locations.latitude':'latitude',
|
|
1681
|
+
'carbon_locations.longitude':'longitude',
|
|
1682
|
+
'carbon_locations.street':'street',
|
|
1683
|
+
'carbon_locations.city':'city',
|
|
1684
|
+
'carbon_locations.state':'state',
|
|
1685
|
+
'carbon_locations.elevation':'elevation',
|
|
1686
|
+
'carbon_locations.zip':'zip',
|
|
1687
|
+
|
|
1688
|
+
'carbon_photos.parent_id':'parent_id',
|
|
1689
|
+
'carbon_photos.photo_id':'photo_id',
|
|
1690
|
+
'carbon_photos.user_id':'user_id',
|
|
1691
|
+
'carbon_photos.photo_path':'photo_path',
|
|
1692
|
+
'carbon_photos.photo_description':'photo_description',
|
|
1693
|
+
|
|
1694
|
+
'carbon_reports.log_level':'log_level',
|
|
1695
|
+
'carbon_reports.report':'report',
|
|
1696
|
+
'carbon_reports.date':'date',
|
|
1697
|
+
'carbon_reports.call_trace':'call_trace',
|
|
1698
|
+
|
|
1699
|
+
'carbon_user_followers.follower_table_id':'follower_table_id',
|
|
1700
|
+
'carbon_user_followers.follows_user_id':'follows_user_id',
|
|
1701
|
+
'carbon_user_followers.user_id':'user_id',
|
|
1702
|
+
|
|
1703
|
+
'carbon_user_groups.group_id':'group_id',
|
|
1704
|
+
'carbon_user_groups.user_id':'user_id',
|
|
1705
|
+
|
|
1706
|
+
'carbon_user_messages.message_id':'message_id',
|
|
1707
|
+
'carbon_user_messages.from_user_id':'from_user_id',
|
|
1708
|
+
'carbon_user_messages.to_user_id':'to_user_id',
|
|
1709
|
+
'carbon_user_messages.message':'message',
|
|
1710
|
+
'carbon_user_messages.message_read':'message_read',
|
|
1711
|
+
'carbon_user_messages.creation_date':'creation_date',
|
|
1712
|
+
|
|
1713
|
+
'carbon_user_sessions.user_id':'user_id',
|
|
1714
|
+
'carbon_user_sessions.user_ip':'user_ip',
|
|
1715
|
+
'carbon_user_sessions.session_id':'session_id',
|
|
1716
|
+
'carbon_user_sessions.session_expires':'session_expires',
|
|
1717
|
+
'carbon_user_sessions.session_data':'session_data',
|
|
1718
|
+
'carbon_user_sessions.user_online_status':'user_online_status',
|
|
1719
|
+
|
|
1720
|
+
'carbon_user_tasks.task_id':'task_id',
|
|
1721
|
+
'carbon_user_tasks.user_id':'user_id',
|
|
1722
|
+
'carbon_user_tasks.from_id':'from_id',
|
|
1723
|
+
'carbon_user_tasks.task_name':'task_name',
|
|
1724
|
+
'carbon_user_tasks.task_description':'task_description',
|
|
1725
|
+
'carbon_user_tasks.percent_complete':'percent_complete',
|
|
1726
|
+
'carbon_user_tasks.start_date':'start_date',
|
|
1727
|
+
'carbon_user_tasks.end_date':'end_date',
|
|
1728
|
+
|
|
1729
|
+
'carbon_users.user_username':'user_username',
|
|
1730
|
+
'carbon_users.user_password':'user_password',
|
|
1731
|
+
'carbon_users.user_id':'user_id',
|
|
1732
|
+
'carbon_users.user_type':'user_type',
|
|
1733
|
+
'carbon_users.user_sport':'user_sport',
|
|
1734
|
+
'carbon_users.user_session_id':'user_session_id',
|
|
1735
|
+
'carbon_users.user_facebook_id':'user_facebook_id',
|
|
1736
|
+
'carbon_users.user_first_name':'user_first_name',
|
|
1737
|
+
'carbon_users.user_last_name':'user_last_name',
|
|
1738
|
+
'carbon_users.user_profile_pic':'user_profile_pic',
|
|
1739
|
+
'carbon_users.user_profile_uri':'user_profile_uri',
|
|
1740
|
+
'carbon_users.user_cover_photo':'user_cover_photo',
|
|
1741
|
+
'carbon_users.user_birthday':'user_birthday',
|
|
1742
|
+
'carbon_users.user_gender':'user_gender',
|
|
1743
|
+
'carbon_users.user_about_me':'user_about_me',
|
|
1744
|
+
'carbon_users.user_rank':'user_rank',
|
|
1745
|
+
'carbon_users.user_email':'user_email',
|
|
1746
|
+
'carbon_users.user_email_code':'user_email_code',
|
|
1747
|
+
'carbon_users.user_email_confirmed':'user_email_confirmed',
|
|
1748
|
+
'carbon_users.user_generated_string':'user_generated_string',
|
|
1749
|
+
'carbon_users.user_membership':'user_membership',
|
|
1750
|
+
'carbon_users.user_deactivated':'user_deactivated',
|
|
1751
|
+
'carbon_users.user_last_login':'user_last_login',
|
|
1752
|
+
'carbon_users.user_ip':'user_ip',
|
|
1753
|
+
'carbon_users.user_education_history':'user_education_history',
|
|
1754
|
+
'carbon_users.user_location':'user_location',
|
|
1755
|
+
'carbon_users.user_creation_date':'user_creation_date',
|
|
3194
1756
|
|
|
3195
1757
|
};
|
|
3196
1758
|
|
|
3197
1759
|
export type RestTableInterfaces = iCarbons
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
if (shortReference in C6[table]) {
|
|
3264
|
-
|
|
3265
|
-
const longName = C6[table][shortReference];
|
|
3266
|
-
|
|
3267
|
-
payload[longName] = restfulObject[value]
|
|
3268
|
-
|
|
3269
|
-
const regexValidations = C6[table].REGEX_VALIDATION[longName]
|
|
3270
|
-
|
|
3271
|
-
if (regexValidations instanceof RegExp) {
|
|
3272
|
-
|
|
3273
|
-
if (false === regexValidations.test(restfulObject[value])) {
|
|
3274
|
-
|
|
3275
|
-
regexErrorHandler('Failed to match regex (' + regexValidations + ') for column (' + longName + ')')
|
|
3276
|
-
|
|
3277
|
-
throw Error('Failed to match regex (' + regexValidations + ') for column (' + longName + ')')
|
|
3278
|
-
|
|
3279
|
-
}
|
|
3280
|
-
|
|
3281
|
-
} else if (typeof regexValidations === 'object' && regexValidations !== null) {
|
|
3282
|
-
|
|
3283
|
-
Object.keys(regexValidations)?.map((errorMessage) => {
|
|
3284
|
-
|
|
3285
|
-
const regex : RegExp = regexValidations[errorMessage];
|
|
3286
|
-
|
|
3287
|
-
if (false === regex.test(restfulObject[value])) {
|
|
3288
|
-
|
|
3289
|
-
const devErrorMessage = 'Failed to match regex (' + regex + ') for column (' + longName + ')';
|
|
3290
|
-
|
|
3291
|
-
regexErrorHandler(errorMessage ?? devErrorMessage)
|
|
3292
|
-
|
|
3293
|
-
throw Error(devErrorMessage)
|
|
3294
|
-
|
|
3295
|
-
}
|
|
3296
|
-
|
|
3297
|
-
})
|
|
3298
|
-
|
|
3299
|
-
}
|
|
3300
|
-
|
|
3301
|
-
}
|
|
3302
|
-
|
|
3303
|
-
})
|
|
3304
|
-
|
|
3305
|
-
return true;
|
|
3306
|
-
|
|
3307
|
-
});
|
|
3308
|
-
|
|
3309
|
-
return Object.keys(payload)
|
|
3310
|
-
.sort()
|
|
3311
|
-
.reduce((acc, key) => ({
|
|
3312
|
-
...acc, [key]: payload[key]
|
|
3313
|
-
}), {})
|
|
3314
|
-
|
|
1760
|
+
| iComments
|
|
1761
|
+
| iDocumentation
|
|
1762
|
+
| iFeature_Group_References
|
|
1763
|
+
| iFeatures
|
|
1764
|
+
| iGroup_References
|
|
1765
|
+
| iGroups
|
|
1766
|
+
| iHistory_Logs
|
|
1767
|
+
| iLocation_References
|
|
1768
|
+
| iLocations
|
|
1769
|
+
| iPhotos
|
|
1770
|
+
| iReports
|
|
1771
|
+
| iUser_Followers
|
|
1772
|
+
| iUser_Groups
|
|
1773
|
+
| iUser_Messages
|
|
1774
|
+
| iUser_Sessions
|
|
1775
|
+
| iUser_Tasks
|
|
1776
|
+
| iUsers;
|
|
1777
|
+
|
|
1778
|
+
|
|
1779
|
+
export type tStatefulApiData<T> = T[] | undefined | null;
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
// this refers to the value types of the keys above, aka values in the state
|
|
1783
|
+
export interface iRestfulObjectArrayTypes {
|
|
1784
|
+
|
|
1785
|
+
carbons: tStatefulApiData<iCarbons>,
|
|
1786
|
+
comments: tStatefulApiData<iComments>,
|
|
1787
|
+
documentation: tStatefulApiData<iDocumentation>,
|
|
1788
|
+
feature_group_references: tStatefulApiData<iFeature_Group_References>,
|
|
1789
|
+
features: tStatefulApiData<iFeatures>,
|
|
1790
|
+
group_references: tStatefulApiData<iGroup_References>,
|
|
1791
|
+
groups: tStatefulApiData<iGroups>,
|
|
1792
|
+
history_logs: tStatefulApiData<iHistory_Logs>,
|
|
1793
|
+
location_references: tStatefulApiData<iLocation_References>,
|
|
1794
|
+
locations: tStatefulApiData<iLocations>,
|
|
1795
|
+
photos: tStatefulApiData<iPhotos>,
|
|
1796
|
+
reports: tStatefulApiData<iReports>,
|
|
1797
|
+
user_followers: tStatefulApiData<iUser_Followers>,
|
|
1798
|
+
user_groups: tStatefulApiData<iUser_Groups>,
|
|
1799
|
+
user_messages: tStatefulApiData<iUser_Messages>,
|
|
1800
|
+
user_sessions: tStatefulApiData<iUser_Sessions>,
|
|
1801
|
+
user_tasks: tStatefulApiData<iUser_Tasks>,
|
|
1802
|
+
users: tStatefulApiData<iUsers>,
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
export const initialRestfulObjectsState: iRestfulObjectArrayTypes = {
|
|
1806
|
+
|
|
1807
|
+
carbons: undefined,
|
|
1808
|
+
comments: undefined,
|
|
1809
|
+
documentation: undefined,
|
|
1810
|
+
feature_group_references: undefined,
|
|
1811
|
+
features: undefined,
|
|
1812
|
+
group_references: undefined,
|
|
1813
|
+
groups: undefined,
|
|
1814
|
+
history_logs: undefined,
|
|
1815
|
+
location_references: undefined,
|
|
1816
|
+
locations: undefined,
|
|
1817
|
+
photos: undefined,
|
|
1818
|
+
reports: undefined,
|
|
1819
|
+
user_followers: undefined,
|
|
1820
|
+
user_groups: undefined,
|
|
1821
|
+
user_messages: undefined,
|
|
1822
|
+
user_sessions: undefined,
|
|
1823
|
+
user_tasks: undefined,
|
|
1824
|
+
users: undefined,
|
|
3315
1825
|
};
|
|
3316
1826
|
|
|
1827
|
+
export type tRestfulObjectArrayKeys = keyof iRestfulObjectArrayTypes
|
|
1828
|
+
|
|
1829
|
+
export type tRestfulObjectArrayValues = iRestfulObjectArrayTypes[tRestfulObjectArrayKeys];
|
|
1830
|
+
|
|
1831
|
+
// @ts-ignore
|
|
1832
|
+
export type tRestfulObjectValues = tRestfulObjectArrayValues[number];
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
|
|
3317
1836
|
|