@carbonorm/carbonreact 3.4.4 → 3.4.5

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 (105) hide show
  1. package/dist/CarbonReact.d.ts +3 -0
  2. package/dist/index.cjs.js +2133 -5049
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.d.ts +0 -49
  5. package/dist/index.esm.js +2114 -4952
  6. package/dist/index.esm.js.map +1 -1
  7. package/package.json +2 -2
  8. package/src/CarbonReact.tsx +3 -0
  9. package/src/index.ts +0 -49
  10. package/dist/api/rest/C6.d.ts +0 -579
  11. package/dist/api/rest/Carbons.d.ts +0 -88
  12. package/dist/api/rest/Carbons.test.d.ts +0 -14
  13. package/dist/api/rest/Chat_Messages.d.ts +0 -88
  14. package/dist/api/rest/Chat_Messages.test.d.ts +0 -20
  15. package/dist/api/rest/Documentation.d.ts +0 -88
  16. package/dist/api/rest/Documentation.test.d.ts +0 -11
  17. package/dist/api/rest/Feature_Group_References.d.ts +0 -88
  18. package/dist/api/rest/Feature_Group_References.test.d.ts +0 -13
  19. package/dist/api/rest/Features.d.ts +0 -88
  20. package/dist/api/rest/Features.test.d.ts +0 -14
  21. package/dist/api/rest/Group_References.d.ts +0 -88
  22. package/dist/api/rest/Group_References.test.d.ts +0 -13
  23. package/dist/api/rest/Groups.d.ts +0 -88
  24. package/dist/api/rest/Groups.test.d.ts +0 -15
  25. package/dist/api/rest/History_Logs.d.ts +0 -88
  26. package/dist/api/rest/History_Logs.test.d.ts +0 -13
  27. package/dist/api/rest/Likes.d.ts +0 -88
  28. package/dist/api/rest/Likes.test.d.ts +0 -13
  29. package/dist/api/rest/Location_References.d.ts +0 -88
  30. package/dist/api/rest/Location_References.test.d.ts +0 -14
  31. package/dist/api/rest/Locations.d.ts +0 -88
  32. package/dist/api/rest/Locations.test.d.ts +0 -18
  33. package/dist/api/rest/Photos.d.ts +0 -88
  34. package/dist/api/rest/Photos.test.d.ts +0 -20
  35. package/dist/api/rest/Posts.d.ts +0 -88
  36. package/dist/api/rest/Posts.test.d.ts +0 -22
  37. package/dist/api/rest/Projects.d.ts +0 -88
  38. package/dist/api/rest/Projects.test.d.ts +0 -21
  39. package/dist/api/rest/Reports.d.ts +0 -88
  40. package/dist/api/rest/Reports.test.d.ts +0 -11
  41. package/dist/api/rest/Sessions.d.ts +0 -88
  42. package/dist/api/rest/Sessions.test.d.ts +0 -14
  43. package/dist/api/rest/Subscription.d.ts +0 -88
  44. package/dist/api/rest/Subscription.test.d.ts +0 -20
  45. package/dist/api/rest/User_Followers.d.ts +0 -88
  46. package/dist/api/rest/User_Followers.test.d.ts +0 -16
  47. package/dist/api/rest/User_Groups.d.ts +0 -88
  48. package/dist/api/rest/User_Groups.test.d.ts +0 -13
  49. package/dist/api/rest/User_Messages.d.ts +0 -88
  50. package/dist/api/rest/User_Messages.test.d.ts +0 -20
  51. package/dist/api/rest/User_Sessions.d.ts +0 -88
  52. package/dist/api/rest/User_Sessions.test.d.ts +0 -14
  53. package/dist/api/rest/User_Tasks.d.ts +0 -88
  54. package/dist/api/rest/User_Tasks.test.d.ts +0 -22
  55. package/dist/api/rest/Users.d.ts +0 -88
  56. package/dist/api/rest/Users.test.d.ts +0 -44
  57. package/dist/api/rest/WsLiveUpdates.d.ts +0 -3
  58. package/src/api/rest/C6.tsx +0 -2687
  59. package/src/api/rest/Carbons.test.tsx +0 -128
  60. package/src/api/rest/Carbons.tsx +0 -145
  61. package/src/api/rest/Chat_Messages.test.tsx +0 -138
  62. package/src/api/rest/Chat_Messages.tsx +0 -151
  63. package/src/api/rest/Documentation.test.tsx +0 -128
  64. package/src/api/rest/Documentation.tsx +0 -142
  65. package/src/api/rest/Feature_Group_References.test.tsx +0 -126
  66. package/src/api/rest/Feature_Group_References.tsx +0 -144
  67. package/src/api/rest/Features.test.tsx +0 -128
  68. package/src/api/rest/Features.tsx +0 -145
  69. package/src/api/rest/Group_References.test.tsx +0 -126
  70. package/src/api/rest/Group_References.tsx +0 -144
  71. package/src/api/rest/Groups.test.tsx +0 -130
  72. package/src/api/rest/Groups.tsx +0 -146
  73. package/src/api/rest/History_Logs.test.tsx +0 -130
  74. package/src/api/rest/History_Logs.tsx +0 -144
  75. package/src/api/rest/Likes.test.tsx +0 -126
  76. package/src/api/rest/Likes.tsx +0 -144
  77. package/src/api/rest/Location_References.test.tsx +0 -128
  78. package/src/api/rest/Location_References.tsx +0 -145
  79. package/src/api/rest/Locations.test.tsx +0 -137
  80. package/src/api/rest/Locations.tsx +0 -149
  81. package/src/api/rest/Photos.test.tsx +0 -139
  82. package/src/api/rest/Photos.tsx +0 -151
  83. package/src/api/rest/Posts.test.tsx +0 -142
  84. package/src/api/rest/Posts.tsx +0 -153
  85. package/src/api/rest/Projects.test.tsx +0 -144
  86. package/src/api/rest/Projects.tsx +0 -152
  87. package/src/api/rest/Reports.test.tsx +0 -128
  88. package/src/api/rest/Reports.tsx +0 -142
  89. package/src/api/rest/Sessions.test.tsx +0 -133
  90. package/src/api/rest/Sessions.tsx +0 -145
  91. package/src/api/rest/Subscription.test.tsx +0 -138
  92. package/src/api/rest/Subscription.tsx +0 -151
  93. package/src/api/rest/User_Followers.test.tsx +0 -130
  94. package/src/api/rest/User_Followers.tsx +0 -147
  95. package/src/api/rest/User_Groups.test.tsx +0 -126
  96. package/src/api/rest/User_Groups.tsx +0 -144
  97. package/src/api/rest/User_Messages.test.tsx +0 -137
  98. package/src/api/rest/User_Messages.tsx +0 -151
  99. package/src/api/rest/User_Sessions.test.tsx +0 -133
  100. package/src/api/rest/User_Sessions.tsx +0 -145
  101. package/src/api/rest/User_Tasks.test.tsx +0 -141
  102. package/src/api/rest/User_Tasks.tsx +0 -153
  103. package/src/api/rest/Users.test.tsx +0 -193
  104. package/src/api/rest/Users.tsx +0 -175
  105. package/src/api/rest/WsLiveUpdates.tsx +0 -150
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbonorm/carbonreact",
3
- "version": "3.4.4",
3
+ "version": "3.4.5",
4
4
  "browser": "dist/index.umd.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "main": "dist/index.cjs.js",
@@ -70,7 +70,7 @@
70
70
  "scripts": {
71
71
  "prepublishOnly": "npm run build",
72
72
  "c6": "wget https://raw.githubusercontent.com/RichardTMiles/CarbonPHP/lts/view/C6.tsx -O src/variables/C6.tsx",
73
- "build": "rm -rf ./dist/ && npm run build:css && npm run build:index && rollup -c && npm run build:compileValidSQL",
73
+ "build": "rm -rf ./dist/ ./src/api/rest/ && npm run build:css && npm run build:index && rollup -c && npm run build:compileValidSQL",
74
74
  "dev": "rollup -c -w",
75
75
  "test": "node test/test.js",
76
76
  "pretest": "npm run build",
@@ -53,6 +53,9 @@ const CarbonReact= class <P = {}, S = {}> extends Component<{
53
53
  } & any, any & iCarbonReactState>;
54
54
 
55
55
  static lastLocation = window.location.pathname;
56
+ static websocketUrl = (window.location.protocol === 'https:' ? 'wss://' : 'ws://') + window.location.host + ':8888/ws';
57
+ static websocketTimeoutSeconds : number = 250;
58
+ static websocketHeartbeatSeconds : number = 250;
56
59
 
57
60
  // @link https://github.com/welldone-software/why-did-you-render
58
61
  // noinspection JSUnusedGlobalSymbols
package/src/index.ts CHANGED
@@ -9,55 +9,6 @@ export * from "./api/hoc/getStatefulObjectWithWhere";
9
9
  export * from "./api/hoc/useEffectOnce";
10
10
  export { default as watchInputElementChangeEvent } from "./api/hoc/watchInputElementChangeEvent";
11
11
  export * from "./api/hoc/watchInputElementChangeEvent";
12
- export * from "./api/rest/C6";
13
- export { default as Carbons } from "./api/rest/Carbons";
14
- export * from "./api/rest/Carbons";
15
- export { default as Chat_Messages } from "./api/rest/Chat_Messages";
16
- export * from "./api/rest/Chat_Messages";
17
- export { default as Documentation } from "./api/rest/Documentation";
18
- export * from "./api/rest/Documentation";
19
- export { default as Feature_Group_References } from "./api/rest/Feature_Group_References";
20
- export * from "./api/rest/Feature_Group_References";
21
- export { default as Features } from "./api/rest/Features";
22
- export * from "./api/rest/Features";
23
- export { default as Group_References } from "./api/rest/Group_References";
24
- export * from "./api/rest/Group_References";
25
- export { default as Groups } from "./api/rest/Groups";
26
- export * from "./api/rest/Groups";
27
- export { default as History_Logs } from "./api/rest/History_Logs";
28
- export * from "./api/rest/History_Logs";
29
- export { default as Likes } from "./api/rest/Likes";
30
- export * from "./api/rest/Likes";
31
- export { default as Location_References } from "./api/rest/Location_References";
32
- export * from "./api/rest/Location_References";
33
- export { default as Locations } from "./api/rest/Locations";
34
- export * from "./api/rest/Locations";
35
- export { default as Photos } from "./api/rest/Photos";
36
- export * from "./api/rest/Photos";
37
- export { default as Posts } from "./api/rest/Posts";
38
- export * from "./api/rest/Posts";
39
- export { default as Projects } from "./api/rest/Projects";
40
- export * from "./api/rest/Projects";
41
- export { default as Reports } from "./api/rest/Reports";
42
- export * from "./api/rest/Reports";
43
- export { default as Sessions } from "./api/rest/Sessions";
44
- export * from "./api/rest/Sessions";
45
- export { default as Subscription } from "./api/rest/Subscription";
46
- export * from "./api/rest/Subscription";
47
- export { default as User_Followers } from "./api/rest/User_Followers";
48
- export * from "./api/rest/User_Followers";
49
- export { default as User_Groups } from "./api/rest/User_Groups";
50
- export * from "./api/rest/User_Groups";
51
- export { default as User_Messages } from "./api/rest/User_Messages";
52
- export * from "./api/rest/User_Messages";
53
- export { default as User_Sessions } from "./api/rest/User_Sessions";
54
- export * from "./api/rest/User_Sessions";
55
- export { default as User_Tasks } from "./api/rest/User_Tasks";
56
- export * from "./api/rest/User_Tasks";
57
- export { default as Users } from "./api/rest/Users";
58
- export * from "./api/rest/Users";
59
- export { default as WsLiveUpdates } from "./api/rest/WsLiveUpdates";
60
- export * from "./api/rest/WsLiveUpdates";
61
12
  export { default as Alert } from "./components/Alert/Alert";
62
13
  export * from "./components/Alert/Alert";
63
14
  export { default as AccessDenied } from "./components/Errors/AccessDenied";
@@ -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 {};