@carbonorm/carbonreact 3.4.4 → 3.4.6

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.
Files changed (108) hide show
  1. package/dist/CarbonReact.d.ts +3 -0
  2. package/dist/components/Popup/Popup.d.ts +2 -2
  3. package/dist/index.cjs.js +2134 -5049
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.d.ts +0 -49
  6. package/dist/index.esm.js +2115 -4952
  7. package/dist/index.esm.js.map +1 -1
  8. package/package.json +2 -2
  9. package/src/CarbonReact.tsx +3 -0
  10. package/src/api/hoc/getStatefulObjectWithWhere.tsx +2 -0
  11. package/src/components/Popup/Popup.tsx +3 -3
  12. package/src/index.ts +0 -49
  13. package/dist/api/rest/C6.d.ts +0 -579
  14. package/dist/api/rest/Carbons.d.ts +0 -88
  15. package/dist/api/rest/Carbons.test.d.ts +0 -14
  16. package/dist/api/rest/Chat_Messages.d.ts +0 -88
  17. package/dist/api/rest/Chat_Messages.test.d.ts +0 -20
  18. package/dist/api/rest/Documentation.d.ts +0 -88
  19. package/dist/api/rest/Documentation.test.d.ts +0 -11
  20. package/dist/api/rest/Feature_Group_References.d.ts +0 -88
  21. package/dist/api/rest/Feature_Group_References.test.d.ts +0 -13
  22. package/dist/api/rest/Features.d.ts +0 -88
  23. package/dist/api/rest/Features.test.d.ts +0 -14
  24. package/dist/api/rest/Group_References.d.ts +0 -88
  25. package/dist/api/rest/Group_References.test.d.ts +0 -13
  26. package/dist/api/rest/Groups.d.ts +0 -88
  27. package/dist/api/rest/Groups.test.d.ts +0 -15
  28. package/dist/api/rest/History_Logs.d.ts +0 -88
  29. package/dist/api/rest/History_Logs.test.d.ts +0 -13
  30. package/dist/api/rest/Likes.d.ts +0 -88
  31. package/dist/api/rest/Likes.test.d.ts +0 -13
  32. package/dist/api/rest/Location_References.d.ts +0 -88
  33. package/dist/api/rest/Location_References.test.d.ts +0 -14
  34. package/dist/api/rest/Locations.d.ts +0 -88
  35. package/dist/api/rest/Locations.test.d.ts +0 -18
  36. package/dist/api/rest/Photos.d.ts +0 -88
  37. package/dist/api/rest/Photos.test.d.ts +0 -20
  38. package/dist/api/rest/Posts.d.ts +0 -88
  39. package/dist/api/rest/Posts.test.d.ts +0 -22
  40. package/dist/api/rest/Projects.d.ts +0 -88
  41. package/dist/api/rest/Projects.test.d.ts +0 -21
  42. package/dist/api/rest/Reports.d.ts +0 -88
  43. package/dist/api/rest/Reports.test.d.ts +0 -11
  44. package/dist/api/rest/Sessions.d.ts +0 -88
  45. package/dist/api/rest/Sessions.test.d.ts +0 -14
  46. package/dist/api/rest/Subscription.d.ts +0 -88
  47. package/dist/api/rest/Subscription.test.d.ts +0 -20
  48. package/dist/api/rest/User_Followers.d.ts +0 -88
  49. package/dist/api/rest/User_Followers.test.d.ts +0 -16
  50. package/dist/api/rest/User_Groups.d.ts +0 -88
  51. package/dist/api/rest/User_Groups.test.d.ts +0 -13
  52. package/dist/api/rest/User_Messages.d.ts +0 -88
  53. package/dist/api/rest/User_Messages.test.d.ts +0 -20
  54. package/dist/api/rest/User_Sessions.d.ts +0 -88
  55. package/dist/api/rest/User_Sessions.test.d.ts +0 -14
  56. package/dist/api/rest/User_Tasks.d.ts +0 -88
  57. package/dist/api/rest/User_Tasks.test.d.ts +0 -22
  58. package/dist/api/rest/Users.d.ts +0 -88
  59. package/dist/api/rest/Users.test.d.ts +0 -44
  60. package/dist/api/rest/WsLiveUpdates.d.ts +0 -3
  61. package/src/api/rest/C6.tsx +0 -2687
  62. package/src/api/rest/Carbons.test.tsx +0 -128
  63. package/src/api/rest/Carbons.tsx +0 -145
  64. package/src/api/rest/Chat_Messages.test.tsx +0 -138
  65. package/src/api/rest/Chat_Messages.tsx +0 -151
  66. package/src/api/rest/Documentation.test.tsx +0 -128
  67. package/src/api/rest/Documentation.tsx +0 -142
  68. package/src/api/rest/Feature_Group_References.test.tsx +0 -126
  69. package/src/api/rest/Feature_Group_References.tsx +0 -144
  70. package/src/api/rest/Features.test.tsx +0 -128
  71. package/src/api/rest/Features.tsx +0 -145
  72. package/src/api/rest/Group_References.test.tsx +0 -126
  73. package/src/api/rest/Group_References.tsx +0 -144
  74. package/src/api/rest/Groups.test.tsx +0 -130
  75. package/src/api/rest/Groups.tsx +0 -146
  76. package/src/api/rest/History_Logs.test.tsx +0 -130
  77. package/src/api/rest/History_Logs.tsx +0 -144
  78. package/src/api/rest/Likes.test.tsx +0 -126
  79. package/src/api/rest/Likes.tsx +0 -144
  80. package/src/api/rest/Location_References.test.tsx +0 -128
  81. package/src/api/rest/Location_References.tsx +0 -145
  82. package/src/api/rest/Locations.test.tsx +0 -137
  83. package/src/api/rest/Locations.tsx +0 -149
  84. package/src/api/rest/Photos.test.tsx +0 -139
  85. package/src/api/rest/Photos.tsx +0 -151
  86. package/src/api/rest/Posts.test.tsx +0 -142
  87. package/src/api/rest/Posts.tsx +0 -153
  88. package/src/api/rest/Projects.test.tsx +0 -144
  89. package/src/api/rest/Projects.tsx +0 -152
  90. package/src/api/rest/Reports.test.tsx +0 -128
  91. package/src/api/rest/Reports.tsx +0 -142
  92. package/src/api/rest/Sessions.test.tsx +0 -133
  93. package/src/api/rest/Sessions.tsx +0 -145
  94. package/src/api/rest/Subscription.test.tsx +0 -138
  95. package/src/api/rest/Subscription.tsx +0 -151
  96. package/src/api/rest/User_Followers.test.tsx +0 -130
  97. package/src/api/rest/User_Followers.tsx +0 -147
  98. package/src/api/rest/User_Groups.test.tsx +0 -126
  99. package/src/api/rest/User_Groups.tsx +0 -144
  100. package/src/api/rest/User_Messages.test.tsx +0 -137
  101. package/src/api/rest/User_Messages.tsx +0 -151
  102. package/src/api/rest/User_Sessions.test.tsx +0 -133
  103. package/src/api/rest/User_Sessions.tsx +0 -145
  104. package/src/api/rest/User_Tasks.test.tsx +0 -141
  105. package/src/api/rest/User_Tasks.tsx +0 -153
  106. package/src/api/rest/Users.test.tsx +0 -193
  107. package/src/api/rest/Users.tsx +0 -175
  108. package/src/api/rest/WsLiveUpdates.tsx +0 -150
@@ -1,579 +0,0 @@
1
- import { C6RestfulModel, tC6Tables } from "@carbonorm/carbonnode";
2
- export type RestTableNames = 'carbon_carbons' | 'carbon_chat_messages' | 'carbon_documentation' | 'carbon_feature_group_references' | 'carbon_features' | 'carbon_group_references' | 'carbon_groups' | 'carbon_history_logs' | 'carbon_likes' | 'carbon_location_references' | 'carbon_locations' | 'carbon_photos' | 'carbon_posts' | 'carbon_projects' | 'carbon_reports' | 'carbon_sessions' | 'carbon_subscription' | 'carbon_user_followers' | 'carbon_user_groups' | 'carbon_user_messages' | 'carbon_user_sessions' | 'carbon_user_tasks' | 'carbon_users';
3
- export type RestShortTableNames = 'carbons' | 'chat_messages' | 'documentation' | 'feature_group_references' | 'features' | 'group_references' | 'groups' | 'history_logs' | 'likes' | 'location_references' | 'locations' | 'photos' | 'posts' | 'projects' | 'reports' | 'sessions' | 'subscription' | 'user_followers' | 'user_groups' | 'user_messages' | 'user_sessions' | 'user_tasks' | 'users';
4
- export interface iCarbons {
5
- 'entity_pk'?: string;
6
- 'entity_fk'?: string;
7
- 'entity_tag'?: string;
8
- }
9
- interface iDefineCarbons {
10
- 'ENTITY_PK': string;
11
- 'ENTITY_FK': string;
12
- 'ENTITY_TAG': string;
13
- }
14
- export declare const carbons: C6RestfulModel<RestTableNames> & iDefineCarbons;
15
- export interface iChat_Messages {
16
- 'chat_message_id'?: string;
17
- 'chat_message_from_user'?: string;
18
- 'chat_private_group'?: string;
19
- 'chat_message'?: string;
20
- 'chat_message_datetime'?: string;
21
- 'chat_message_advertisement'?: number;
22
- 'chat_message_unfiltered'?: string;
23
- }
24
- interface iDefineChat_Messages {
25
- 'CHAT_MESSAGE_ID': string;
26
- 'CHAT_MESSAGE_FROM_USER': string;
27
- 'CHAT_PRIVATE_GROUP': string;
28
- 'CHAT_MESSAGE': string;
29
- 'CHAT_MESSAGE_DATETIME': string;
30
- 'CHAT_MESSAGE_ADVERTISEMENT': string;
31
- 'CHAT_MESSAGE_UNFILTERED': string;
32
- }
33
- export declare const chat_messages: C6RestfulModel<RestTableNames> & iDefineChat_Messages;
34
- export interface iDocumentation {
35
- 'documentation_uri'?: string;
36
- 'documentation_data'?: string;
37
- 'documentation_version'?: string;
38
- 'documentation_active'?: string;
39
- }
40
- interface iDefineDocumentation {
41
- 'DOCUMENTATION_URI': string;
42
- 'DOCUMENTATION_DATA': string;
43
- 'DOCUMENTATION_VERSION': string;
44
- 'DOCUMENTATION_ACTIVE': string;
45
- }
46
- export declare const documentation: C6RestfulModel<RestTableNames> & iDefineDocumentation;
47
- export interface iFeature_Group_References {
48
- 'feature_entity_id'?: string;
49
- 'group_entity_id'?: string;
50
- }
51
- interface iDefineFeature_Group_References {
52
- 'FEATURE_ENTITY_ID': string;
53
- 'GROUP_ENTITY_ID': string;
54
- }
55
- export declare const feature_group_references: C6RestfulModel<RestTableNames> & iDefineFeature_Group_References;
56
- export interface iFeatures {
57
- 'feature_entity_id'?: string;
58
- 'feature_code'?: string;
59
- 'feature_creation_date'?: string;
60
- }
61
- interface iDefineFeatures {
62
- 'FEATURE_ENTITY_ID': string;
63
- 'FEATURE_CODE': string;
64
- 'FEATURE_CREATION_DATE': string;
65
- }
66
- export declare const features: C6RestfulModel<RestTableNames> & iDefineFeatures;
67
- export interface iGroup_References {
68
- 'group_id'?: string;
69
- 'allowed_to_grant_group_id'?: string;
70
- }
71
- interface iDefineGroup_References {
72
- 'GROUP_ID': string;
73
- 'ALLOWED_TO_GRANT_GROUP_ID': string;
74
- }
75
- export declare const group_references: C6RestfulModel<RestTableNames> & iDefineGroup_References;
76
- export interface iGroups {
77
- 'group_name'?: string;
78
- 'entity_id'?: string;
79
- 'created_by'?: string;
80
- 'creation_date'?: string;
81
- }
82
- interface iDefineGroups {
83
- 'GROUP_NAME': string;
84
- 'ENTITY_ID': string;
85
- 'CREATED_BY': string;
86
- 'CREATION_DATE': string;
87
- }
88
- export declare const groups: C6RestfulModel<RestTableNames> & iDefineGroups;
89
- export interface iHistory_Logs {
90
- 'history_uuid'?: string;
91
- 'history_table'?: string;
92
- 'history_type'?: string;
93
- 'history_data'?: string;
94
- 'history_original_query'?: string;
95
- 'history_time'?: string;
96
- }
97
- interface iDefineHistory_Logs {
98
- 'HISTORY_UUID': string;
99
- 'HISTORY_TABLE': string;
100
- 'HISTORY_TYPE': string;
101
- 'HISTORY_DATA': string;
102
- 'HISTORY_ORIGINAL_QUERY': string;
103
- 'HISTORY_TIME': string;
104
- }
105
- export declare const history_logs: C6RestfulModel<RestTableNames> & iDefineHistory_Logs;
106
- export interface iLikes {
107
- 'like_user_id'?: string;
108
- 'like_entity_id'?: string;
109
- }
110
- interface iDefineLikes {
111
- 'LIKE_USER_ID': string;
112
- 'LIKE_ENTITY_ID': string;
113
- }
114
- export declare const likes: C6RestfulModel<RestTableNames> & iDefineLikes;
115
- export interface iLocation_References {
116
- 'entity_reference'?: string;
117
- 'location_reference'?: string;
118
- 'location_time'?: string;
119
- }
120
- interface iDefineLocation_References {
121
- 'ENTITY_REFERENCE': string;
122
- 'LOCATION_REFERENCE': string;
123
- 'LOCATION_TIME': string;
124
- }
125
- export declare const location_references: C6RestfulModel<RestTableNames> & iDefineLocation_References;
126
- export interface iLocations {
127
- 'entity_id'?: string;
128
- 'latitude'?: string;
129
- 'longitude'?: string;
130
- 'street'?: string;
131
- 'city'?: string;
132
- 'state'?: string;
133
- 'elevation'?: string;
134
- 'zip'?: number;
135
- }
136
- interface iDefineLocations {
137
- 'ENTITY_ID': string;
138
- 'LATITUDE': string;
139
- 'LONGITUDE': string;
140
- 'STREET': string;
141
- 'CITY': string;
142
- 'STATE': string;
143
- 'ELEVATION': string;
144
- 'ZIP': string;
145
- }
146
- export declare const locations: C6RestfulModel<RestTableNames> & iDefineLocations;
147
- export interface iPhotos {
148
- 'parent_id'?: string;
149
- 'photo_id'?: string;
150
- 'user_id'?: string;
151
- 'photo_src'?: string;
152
- 'photo_description'?: string;
153
- 'photo_upload_date'?: string;
154
- }
155
- interface iDefinePhotos {
156
- 'PARENT_ID': string;
157
- 'PHOTO_ID': string;
158
- 'USER_ID': string;
159
- 'PHOTO_SRC': string;
160
- 'PHOTO_DESCRIPTION': string;
161
- 'PHOTO_UPLOAD_DATE': string;
162
- }
163
- export declare const photos: C6RestfulModel<RestTableNames> & iDefinePhotos;
164
- export interface iPosts {
165
- 'post_id'?: string;
166
- 'post_data'?: string;
167
- 'post_author'?: string;
168
- 'post_status'?: string;
169
- 'post_created_datetime'?: string;
170
- 'post_project_id'?: string;
171
- 'post_parent_id'?: string;
172
- }
173
- interface iDefinePosts {
174
- 'POST_ID': string;
175
- 'POST_DATA': string;
176
- 'POST_AUTHOR': string;
177
- 'POST_STATUS': string;
178
- 'POST_CREATED_DATETIME': string;
179
- 'POST_PROJECT_ID': string;
180
- 'POST_PARENT_ID': string;
181
- }
182
- export declare const posts: C6RestfulModel<RestTableNames> & iDefinePosts;
183
- export interface iProjects {
184
- 'project_id'?: string;
185
- 'project_name'?: string;
186
- 'project_start_date'?: string;
187
- 'project_end_date'?: string;
188
- 'project_description'?: string;
189
- 'project_leader'?: string;
190
- 'project_cost'?: number;
191
- 'project_overview_top'?: string;
192
- 'project_overview_bottom'?: string;
193
- 'project_ends'?: string;
194
- }
195
- interface iDefineProjects {
196
- 'PROJECT_ID': string;
197
- 'PROJECT_NAME': string;
198
- 'PROJECT_START_DATE': string;
199
- 'PROJECT_END_DATE': string;
200
- 'PROJECT_DESCRIPTION': string;
201
- 'PROJECT_LEADER': string;
202
- 'PROJECT_COST': string;
203
- 'PROJECT_OVERVIEW_TOP': string;
204
- 'PROJECT_OVERVIEW_BOTTOM': string;
205
- 'PROJECT_ENDS': string;
206
- }
207
- export declare const projects: C6RestfulModel<RestTableNames> & iDefineProjects;
208
- export interface iReports {
209
- 'log_level'?: string;
210
- 'report'?: string;
211
- 'date'?: string;
212
- 'call_trace'?: string;
213
- }
214
- interface iDefineReports {
215
- 'LOG_LEVEL': string;
216
- 'REPORT': string;
217
- 'DATE': string;
218
- 'CALL_TRACE': string;
219
- }
220
- export declare const reports: C6RestfulModel<RestTableNames> & iDefineReports;
221
- export interface iSessions {
222
- 'user_id'?: string;
223
- 'user_ip'?: string;
224
- 'session_id'?: string;
225
- 'session_expires'?: string;
226
- 'session_data'?: string;
227
- 'user_online_status'?: string;
228
- }
229
- interface iDefineSessions {
230
- 'USER_ID': string;
231
- 'USER_IP': string;
232
- 'SESSION_ID': string;
233
- 'SESSION_EXPIRES': string;
234
- 'SESSION_DATA': string;
235
- 'USER_ONLINE_STATUS': string;
236
- }
237
- export declare const sessions: C6RestfulModel<RestTableNames> & iDefineSessions;
238
- export interface iSubscription {
239
- 'subscription_id'?: string;
240
- 'subscription_to_entity_id'?: string;
241
- 'subscription_for_entity_id'?: string;
242
- 'subscription_price'?: string;
243
- 'subscription_start_date'?: string;
244
- 'subscription_end_date'?: string;
245
- 'subscription_transaction_id'?: string;
246
- }
247
- interface iDefineSubscription {
248
- 'SUBSCRIPTION_ID': string;
249
- 'SUBSCRIPTION_TO_ENTITY_ID': string;
250
- 'SUBSCRIPTION_FOR_ENTITY_ID': string;
251
- 'SUBSCRIPTION_PRICE': string;
252
- 'SUBSCRIPTION_START_DATE': string;
253
- 'SUBSCRIPTION_END_DATE': string;
254
- 'SUBSCRIPTION_TRANSACTION_ID': string;
255
- }
256
- export declare const subscription: C6RestfulModel<RestTableNames> & iDefineSubscription;
257
- export interface iUser_Followers {
258
- 'follower_table_id'?: string;
259
- 'follows_user_id'?: string;
260
- 'user_id'?: string;
261
- }
262
- interface iDefineUser_Followers {
263
- 'FOLLOWER_TABLE_ID': string;
264
- 'FOLLOWS_USER_ID': string;
265
- 'USER_ID': string;
266
- }
267
- export declare const user_followers: C6RestfulModel<RestTableNames> & iDefineUser_Followers;
268
- export interface iUser_Groups {
269
- 'group_id'?: string;
270
- 'user_id'?: string;
271
- }
272
- interface iDefineUser_Groups {
273
- 'GROUP_ID': string;
274
- 'USER_ID': string;
275
- }
276
- export declare const user_groups: C6RestfulModel<RestTableNames> & iDefineUser_Groups;
277
- export interface iUser_Messages {
278
- 'message_id'?: string;
279
- 'from_user_id'?: string;
280
- 'to_user_id'?: string;
281
- 'message'?: string;
282
- 'message_read'?: string;
283
- 'creation_date'?: string;
284
- }
285
- interface iDefineUser_Messages {
286
- 'MESSAGE_ID': string;
287
- 'FROM_USER_ID': string;
288
- 'TO_USER_ID': string;
289
- 'MESSAGE': string;
290
- 'MESSAGE_READ': string;
291
- 'CREATION_DATE': string;
292
- }
293
- export declare const user_messages: C6RestfulModel<RestTableNames> & iDefineUser_Messages;
294
- export interface iUser_Sessions {
295
- 'user_id'?: string;
296
- 'user_ip'?: string;
297
- 'session_id'?: string;
298
- 'session_expires'?: string;
299
- 'session_data'?: string;
300
- 'user_online_status'?: string;
301
- }
302
- interface iDefineUser_Sessions {
303
- 'USER_ID': string;
304
- 'USER_IP': string;
305
- 'SESSION_ID': string;
306
- 'SESSION_EXPIRES': string;
307
- 'SESSION_DATA': string;
308
- 'USER_ONLINE_STATUS': string;
309
- }
310
- export declare const user_sessions: C6RestfulModel<RestTableNames> & iDefineUser_Sessions;
311
- export interface iUser_Tasks {
312
- 'task_id'?: string;
313
- 'user_id'?: string;
314
- 'from_id'?: string;
315
- 'task_name'?: string;
316
- 'task_description'?: string;
317
- 'percent_complete'?: number;
318
- 'start_date'?: string;
319
- 'end_date'?: string;
320
- }
321
- interface iDefineUser_Tasks {
322
- 'TASK_ID': string;
323
- 'USER_ID': string;
324
- 'FROM_ID': string;
325
- 'TASK_NAME': string;
326
- 'TASK_DESCRIPTION': string;
327
- 'PERCENT_COMPLETE': string;
328
- 'START_DATE': string;
329
- 'END_DATE': string;
330
- }
331
- export declare const user_tasks: C6RestfulModel<RestTableNames> & iDefineUser_Tasks;
332
- export interface iUsers {
333
- 'user_username'?: string;
334
- 'user_password'?: string;
335
- 'user_id'?: string;
336
- 'user_type'?: string;
337
- 'user_sport'?: string;
338
- 'user_session_id'?: string;
339
- 'user_facebook_id'?: string;
340
- 'user_first_name'?: string;
341
- 'user_last_name'?: string;
342
- 'user_profile_pic'?: string;
343
- 'user_profile_uri'?: string;
344
- 'user_cover_photo'?: string;
345
- 'user_birthday'?: string;
346
- 'user_gender'?: string;
347
- 'user_about_me'?: string;
348
- 'user_rank'?: number;
349
- 'user_email'?: string;
350
- 'user_email_code'?: string;
351
- 'user_email_confirmed'?: string;
352
- 'user_generated_string'?: string;
353
- 'user_membership'?: number;
354
- 'user_deactivated'?: string;
355
- 'user_last_login'?: string;
356
- 'user_ip'?: string;
357
- 'user_education_history'?: string;
358
- 'user_creation_date'?: string;
359
- 'user_education'?: string;
360
- 'user_notes'?: string;
361
- 'user_skills'?: string;
362
- 'user_is_moderator'?: string;
363
- 'user_is_administrator'?: string;
364
- 'user_is_caller'?: string;
365
- }
366
- interface iDefineUsers {
367
- 'USER_USERNAME': string;
368
- 'USER_PASSWORD': string;
369
- 'USER_ID': string;
370
- 'USER_TYPE': string;
371
- 'USER_SPORT': string;
372
- 'USER_SESSION_ID': string;
373
- 'USER_FACEBOOK_ID': string;
374
- 'USER_FIRST_NAME': string;
375
- 'USER_LAST_NAME': string;
376
- 'USER_PROFILE_PIC': string;
377
- 'USER_PROFILE_URI': string;
378
- 'USER_COVER_PHOTO': string;
379
- 'USER_BIRTHDAY': string;
380
- 'USER_GENDER': string;
381
- 'USER_ABOUT_ME': string;
382
- 'USER_RANK': string;
383
- 'USER_EMAIL': string;
384
- 'USER_EMAIL_CODE': string;
385
- 'USER_EMAIL_CONFIRMED': string;
386
- 'USER_GENERATED_STRING': string;
387
- 'USER_MEMBERSHIP': string;
388
- 'USER_DEACTIVATED': string;
389
- 'USER_LAST_LOGIN': string;
390
- 'USER_IP': string;
391
- 'USER_EDUCATION_HISTORY': string;
392
- 'USER_CREATION_DATE': string;
393
- 'USER_EDUCATION': string;
394
- 'USER_NOTES': string;
395
- 'USER_SKILLS': string;
396
- 'USER_IS_MODERATOR': string;
397
- 'USER_IS_ADMINISTRATOR': string;
398
- 'USER_IS_CALLER': string;
399
- }
400
- export declare const users: C6RestfulModel<RestTableNames> & iDefineUsers;
401
- export declare const TABLES: tC6Tables;
402
- export declare const C6: {
403
- TABLES: tC6Tables;
404
- } & {
405
- [key: string]: any;
406
- };
407
- export declare const COLUMNS: {
408
- 'carbon_carbons.entity_pk': string;
409
- 'carbon_carbons.entity_fk': string;
410
- 'carbon_carbons.entity_tag': string;
411
- 'carbon_chat_messages.chat_message_id': string;
412
- 'carbon_chat_messages.chat_message_from_user': string;
413
- 'carbon_chat_messages.chat_private_group': string;
414
- 'carbon_chat_messages.chat_message': string;
415
- 'carbon_chat_messages.chat_message_datetime': string;
416
- 'carbon_chat_messages.chat_message_advertisement': string;
417
- 'carbon_chat_messages.chat_message_unfiltered': string;
418
- 'carbon_documentation.documentation_uri': string;
419
- 'carbon_documentation.documentation_data': string;
420
- 'carbon_documentation.documentation_version': string;
421
- 'carbon_documentation.documentation_active': string;
422
- 'carbon_feature_group_references.feature_entity_id': string;
423
- 'carbon_feature_group_references.group_entity_id': string;
424
- 'carbon_features.feature_entity_id': string;
425
- 'carbon_features.feature_code': string;
426
- 'carbon_features.feature_creation_date': string;
427
- 'carbon_group_references.group_id': string;
428
- 'carbon_group_references.allowed_to_grant_group_id': string;
429
- 'carbon_groups.group_name': string;
430
- 'carbon_groups.entity_id': string;
431
- 'carbon_groups.created_by': string;
432
- 'carbon_groups.creation_date': string;
433
- 'carbon_history_logs.history_uuid': string;
434
- 'carbon_history_logs.history_table': string;
435
- 'carbon_history_logs.history_type': string;
436
- 'carbon_history_logs.history_data': string;
437
- 'carbon_history_logs.history_original_query': string;
438
- 'carbon_history_logs.history_time': string;
439
- 'carbon_likes.like_user_id': string;
440
- 'carbon_likes.like_entity_id': string;
441
- 'carbon_location_references.entity_reference': string;
442
- 'carbon_location_references.location_reference': string;
443
- 'carbon_location_references.location_time': string;
444
- 'carbon_locations.entity_id': string;
445
- 'carbon_locations.latitude': string;
446
- 'carbon_locations.longitude': string;
447
- 'carbon_locations.street': string;
448
- 'carbon_locations.city': string;
449
- 'carbon_locations.state': string;
450
- 'carbon_locations.elevation': string;
451
- 'carbon_locations.zip': string;
452
- 'carbon_photos.parent_id': string;
453
- 'carbon_photos.photo_id': string;
454
- 'carbon_photos.user_id': string;
455
- 'carbon_photos.photo_src': string;
456
- 'carbon_photos.photo_description': string;
457
- 'carbon_photos.photo_upload_date': string;
458
- 'carbon_posts.post_id': string;
459
- 'carbon_posts.post_data': string;
460
- 'carbon_posts.post_author': string;
461
- 'carbon_posts.post_status': string;
462
- 'carbon_posts.post_created_datetime': string;
463
- 'carbon_posts.post_project_id': string;
464
- 'carbon_posts.post_parent_id': string;
465
- 'carbon_projects.project_id': string;
466
- 'carbon_projects.project_name': string;
467
- 'carbon_projects.project_start_date': string;
468
- 'carbon_projects.project_end_date': string;
469
- 'carbon_projects.project_description': string;
470
- 'carbon_projects.project_leader': string;
471
- 'carbon_projects.project_cost': string;
472
- 'carbon_projects.project_overview_top': string;
473
- 'carbon_projects.project_overview_bottom': string;
474
- 'carbon_projects.project_ends': string;
475
- 'carbon_reports.log_level': string;
476
- 'carbon_reports.report': string;
477
- 'carbon_reports.date': string;
478
- 'carbon_reports.call_trace': string;
479
- 'carbon_sessions.user_id': string;
480
- 'carbon_sessions.user_ip': string;
481
- 'carbon_sessions.session_id': string;
482
- 'carbon_sessions.session_expires': string;
483
- 'carbon_sessions.session_data': string;
484
- 'carbon_sessions.user_online_status': string;
485
- 'carbon_subscription.subscription_id': string;
486
- 'carbon_subscription.subscription_to_entity_id': string;
487
- 'carbon_subscription.subscription_for_entity_id': string;
488
- 'carbon_subscription.subscription_price': string;
489
- 'carbon_subscription.subscription_start_date': string;
490
- 'carbon_subscription.subscription_end_date': string;
491
- 'carbon_subscription.subscription_transaction_id': string;
492
- 'carbon_user_followers.follower_table_id': string;
493
- 'carbon_user_followers.follows_user_id': string;
494
- 'carbon_user_followers.user_id': string;
495
- 'carbon_user_groups.group_id': string;
496
- 'carbon_user_groups.user_id': string;
497
- 'carbon_user_messages.message_id': string;
498
- 'carbon_user_messages.from_user_id': string;
499
- 'carbon_user_messages.to_user_id': string;
500
- 'carbon_user_messages.message': string;
501
- 'carbon_user_messages.message_read': string;
502
- 'carbon_user_messages.creation_date': string;
503
- 'carbon_user_sessions.user_id': string;
504
- 'carbon_user_sessions.user_ip': string;
505
- 'carbon_user_sessions.session_id': string;
506
- 'carbon_user_sessions.session_expires': string;
507
- 'carbon_user_sessions.session_data': string;
508
- 'carbon_user_sessions.user_online_status': string;
509
- 'carbon_user_tasks.task_id': string;
510
- 'carbon_user_tasks.user_id': string;
511
- 'carbon_user_tasks.from_id': string;
512
- 'carbon_user_tasks.task_name': string;
513
- 'carbon_user_tasks.task_description': string;
514
- 'carbon_user_tasks.percent_complete': string;
515
- 'carbon_user_tasks.start_date': string;
516
- 'carbon_user_tasks.end_date': string;
517
- 'carbon_users.user_username': string;
518
- 'carbon_users.user_password': string;
519
- 'carbon_users.user_id': string;
520
- 'carbon_users.user_type': string;
521
- 'carbon_users.user_sport': string;
522
- 'carbon_users.user_session_id': string;
523
- 'carbon_users.user_facebook_id': string;
524
- 'carbon_users.user_first_name': string;
525
- 'carbon_users.user_last_name': string;
526
- 'carbon_users.user_profile_pic': string;
527
- 'carbon_users.user_profile_uri': string;
528
- 'carbon_users.user_cover_photo': string;
529
- 'carbon_users.user_birthday': string;
530
- 'carbon_users.user_gender': string;
531
- 'carbon_users.user_about_me': string;
532
- 'carbon_users.user_rank': string;
533
- 'carbon_users.user_email': string;
534
- 'carbon_users.user_email_code': string;
535
- 'carbon_users.user_email_confirmed': string;
536
- 'carbon_users.user_generated_string': string;
537
- 'carbon_users.user_membership': string;
538
- 'carbon_users.user_deactivated': string;
539
- 'carbon_users.user_last_login': string;
540
- 'carbon_users.user_ip': string;
541
- 'carbon_users.user_education_history': string;
542
- 'carbon_users.user_creation_date': string;
543
- 'carbon_users.user_education': string;
544
- 'carbon_users.user_notes': string;
545
- 'carbon_users.user_skills': string;
546
- 'carbon_users.user_is_moderator': string;
547
- 'carbon_users.user_is_administrator': string;
548
- 'carbon_users.user_is_caller': string;
549
- };
550
- export type RestTableInterfaces = iCarbons | iChat_Messages | iDocumentation | iFeature_Group_References | iFeatures | iGroup_References | iGroups | iHistory_Logs | iLikes | iLocation_References | iLocations | iPhotos | iPosts | iProjects | iReports | iSessions | iSubscription | iUser_Followers | iUser_Groups | iUser_Messages | iUser_Sessions | iUser_Tasks | iUsers;
551
- export type tStatefulApiData<T> = T[] | undefined | null;
552
- export interface iRestfulObjectArrayTypes {
553
- carbons: tStatefulApiData<iCarbons>;
554
- chat_messages: tStatefulApiData<iChat_Messages>;
555
- documentation: tStatefulApiData<iDocumentation>;
556
- feature_group_references: tStatefulApiData<iFeature_Group_References>;
557
- features: tStatefulApiData<iFeatures>;
558
- group_references: tStatefulApiData<iGroup_References>;
559
- groups: tStatefulApiData<iGroups>;
560
- history_logs: tStatefulApiData<iHistory_Logs>;
561
- likes: tStatefulApiData<iLikes>;
562
- location_references: tStatefulApiData<iLocation_References>;
563
- locations: tStatefulApiData<iLocations>;
564
- photos: tStatefulApiData<iPhotos>;
565
- posts: tStatefulApiData<iPosts>;
566
- projects: tStatefulApiData<iProjects>;
567
- reports: tStatefulApiData<iReports>;
568
- sessions: tStatefulApiData<iSessions>;
569
- subscription: tStatefulApiData<iSubscription>;
570
- user_followers: tStatefulApiData<iUser_Followers>;
571
- user_groups: tStatefulApiData<iUser_Groups>;
572
- user_messages: tStatefulApiData<iUser_Messages>;
573
- user_sessions: tStatefulApiData<iUser_Sessions>;
574
- user_tasks: tStatefulApiData<iUser_Tasks>;
575
- users: tStatefulApiData<iUsers>;
576
- }
577
- export declare const initialRestfulObjectsState: iRestfulObjectArrayTypes;
578
- export type tRestfulObjectArrayValues = iRestfulObjectArrayTypes[keyof iRestfulObjectArrayTypes];
579
- export {};
@@ -1,88 +0,0 @@
1
- import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
2
- import { AxiosResponse } from "axios";
3
- import { iAPI, Modify } from "restRequest";
4
- import { iCarbons } from "./C6";
5
- export declare const Get: (request?: (Omit<iCarbons, never> & {
6
- dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
7
- cacheResults?: boolean | undefined;
8
- fetchDependencies?: boolean | undefined;
9
- debug?: boolean | undefined;
10
- success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
11
- error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
12
- blocking?: boolean | undefined;
13
- }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iCarbons>>;
14
- type PutCustomAndRequiredFields = {};
15
- type PutRequestTableOverrides = {};
16
- export declare function putStateCarbons(response: AxiosResponse<iPutC6RestResponse<iCarbons>>, request: iAPI<Modify<iCarbons, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
17
- export declare const Put: (request?: (Omit<iCarbons, never> & {
18
- dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
19
- cacheResults?: boolean | undefined;
20
- fetchDependencies?: boolean | undefined;
21
- debug?: boolean | undefined;
22
- success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
23
- error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
24
- blocking?: boolean | undefined;
25
- }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iCarbons, any>>;
26
- type PostCustomAndRequiredFields = {};
27
- type PostRequestTableOverrides = {};
28
- export declare function postStateCarbons(response: AxiosResponse<iPostC6RestResponse<iCarbons>>, request: iAPI<Modify<iCarbons, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
29
- export declare const Post: (request?: (Omit<iCarbons, never> & {
30
- dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
31
- cacheResults?: boolean | undefined;
32
- fetchDependencies?: boolean | undefined;
33
- debug?: boolean | undefined;
34
- success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
35
- error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
36
- blocking?: boolean | undefined;
37
- }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iCarbons>>;
38
- type DeleteCustomAndRequiredFields = {};
39
- type DeleteRequestTableOverrides = {};
40
- export declare function deleteStateCarbons(_response: AxiosResponse<iDeleteC6RestResponse<iCarbons>>, request: iAPI<Modify<iCarbons, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
41
- export declare const Delete: (request?: (Omit<iCarbons, never> & {
42
- dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
43
- cacheResults?: boolean | undefined;
44
- fetchDependencies?: boolean | undefined;
45
- debug?: boolean | undefined;
46
- success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
47
- error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
48
- blocking?: boolean | undefined;
49
- }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iCarbons, any>>;
50
- declare const _default: {
51
- Get: (request?: (Omit<iCarbons, never> & {
52
- dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
53
- cacheResults?: boolean | undefined;
54
- fetchDependencies?: boolean | undefined;
55
- debug?: boolean | undefined;
56
- success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
57
- error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
58
- blocking?: boolean | undefined;
59
- }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iCarbons>>;
60
- Post: (request?: (Omit<iCarbons, never> & {
61
- dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
62
- cacheResults?: boolean | undefined;
63
- fetchDependencies?: boolean | undefined;
64
- debug?: boolean | undefined;
65
- success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
66
- error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
67
- blocking?: boolean | undefined;
68
- }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iCarbons>>;
69
- Put: (request?: (Omit<iCarbons, never> & {
70
- dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
71
- cacheResults?: boolean | undefined;
72
- fetchDependencies?: boolean | undefined;
73
- debug?: boolean | undefined;
74
- success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
75
- error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
76
- blocking?: boolean | undefined;
77
- }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iCarbons, any>>;
78
- Delete: (request?: (Omit<iCarbons, never> & {
79
- dataInsertMultipleRows?: Omit<iCarbons, never>[] | undefined;
80
- cacheResults?: boolean | undefined;
81
- fetchDependencies?: boolean | undefined;
82
- debug?: boolean | undefined;
83
- success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
84
- error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
85
- blocking?: boolean | undefined;
86
- }) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iCarbons, any>>;
87
- };
88
- export default _default;
@@ -1,14 +0,0 @@
1
- import { iCarbons } from "api/rest/C6";
2
- /**
3
- CREATE TABLE `carbon_carbons` (
4
- `entity_pk` binary(16) NOT NULL,
5
- `entity_fk` binary(16) DEFAULT NULL,
6
- `entity_tag` varchar(100) NOT NULL DEFAULT 'manually',
7
- PRIMARY KEY (`entity_pk`),
8
- UNIQUE KEY `entity_entity_pk_uindex` (`entity_pk`),
9
- KEY `entity_entity_entity_pk_fk` (`entity_fk`),
10
- CONSTRAINT `entity_entity_entity_pk_fk` FOREIGN KEY (`entity_fk`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE
11
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
12
- **/
13
- declare const Test_Data: iCarbons;
14
- export default Test_Data;