@carbonorm/carbonreact 3.0.1 → 3.0.4

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/index.esm.js CHANGED
@@ -1649,6 +1649,9 @@ var carbons = {
1649
1649
  PRIMARY: [
1650
1650
  'carbon_carbons.entity_pk',
1651
1651
  ],
1652
+ PRIMARY_SHORT: [
1653
+ 'entity_pk',
1654
+ ],
1652
1655
  COLUMNS: {
1653
1656
  'carbon_carbons.entity_pk': 'entity_pk',
1654
1657
  'carbon_carbons.entity_fk': 'entity_fk',
@@ -1685,6 +1688,9 @@ var comments = {
1685
1688
  PRIMARY: [
1686
1689
  'carbon_comments.comment_id',
1687
1690
  ],
1691
+ PRIMARY_SHORT: [
1692
+ 'comment_id',
1693
+ ],
1688
1694
  COLUMNS: {
1689
1695
  'carbon_comments.parent_id': 'parent_id',
1690
1696
  'carbon_comments.comment_id': 'comment_id',
@@ -1726,6 +1732,7 @@ var documentation = {
1726
1732
  DOCUMENTATION_VERSION: 'carbon_documentation.documentation_version',
1727
1733
  DOCUMENTATION_ACTIVE: 'carbon_documentation.documentation_active',
1728
1734
  PRIMARY: [],
1735
+ PRIMARY_SHORT: [],
1729
1736
  COLUMNS: {
1730
1737
  'carbon_documentation.documentation_uri': 'documentation_uri',
1731
1738
  'carbon_documentation.documentation_data': 'documentation_data',
@@ -1765,6 +1772,7 @@ var feature_group_references = {
1765
1772
  FEATURE_ENTITY_ID: 'carbon_feature_group_references.feature_entity_id',
1766
1773
  GROUP_ENTITY_ID: 'carbon_feature_group_references.group_entity_id',
1767
1774
  PRIMARY: [],
1775
+ PRIMARY_SHORT: [],
1768
1776
  COLUMNS: {
1769
1777
  'carbon_feature_group_references.feature_entity_id': 'feature_entity_id',
1770
1778
  'carbon_feature_group_references.group_entity_id': 'group_entity_id',
@@ -1793,6 +1801,9 @@ var features = {
1793
1801
  PRIMARY: [
1794
1802
  'carbon_features.feature_entity_id',
1795
1803
  ],
1804
+ PRIMARY_SHORT: [
1805
+ 'feature_entity_id',
1806
+ ],
1796
1807
  COLUMNS: {
1797
1808
  'carbon_features.feature_entity_id': 'feature_entity_id',
1798
1809
  'carbon_features.feature_code': 'feature_code',
@@ -1825,6 +1836,7 @@ var group_references = {
1825
1836
  GROUP_ID: 'carbon_group_references.group_id',
1826
1837
  ALLOWED_TO_GRANT_GROUP_ID: 'carbon_group_references.allowed_to_grant_group_id',
1827
1838
  PRIMARY: [],
1839
+ PRIMARY_SHORT: [],
1828
1840
  COLUMNS: {
1829
1841
  'carbon_group_references.group_id': 'group_id',
1830
1842
  'carbon_group_references.allowed_to_grant_group_id': 'allowed_to_grant_group_id',
@@ -1854,6 +1866,9 @@ var groups = {
1854
1866
  PRIMARY: [
1855
1867
  'carbon_groups.entity_id',
1856
1868
  ],
1869
+ PRIMARY_SHORT: [
1870
+ 'entity_id',
1871
+ ],
1857
1872
  COLUMNS: {
1858
1873
  'carbon_groups.group_name': 'group_name',
1859
1874
  'carbon_groups.entity_id': 'entity_id',
@@ -1897,6 +1912,7 @@ var history_logs = {
1897
1912
  HISTORY_ORIGINAL_QUERY: 'carbon_history_logs.history_original_query',
1898
1913
  HISTORY_TIME: 'carbon_history_logs.history_time',
1899
1914
  PRIMARY: [],
1915
+ PRIMARY_SHORT: [],
1900
1916
  COLUMNS: {
1901
1917
  'carbon_history_logs.history_uuid': 'history_uuid',
1902
1918
  'carbon_history_logs.history_table': 'history_table',
@@ -1951,6 +1967,7 @@ var location_references = {
1951
1967
  LOCATION_REFERENCE: 'carbon_location_references.location_reference',
1952
1968
  LOCATION_TIME: 'carbon_location_references.location_time',
1953
1969
  PRIMARY: [],
1970
+ PRIMARY_SHORT: [],
1954
1971
  COLUMNS: {
1955
1972
  'carbon_location_references.entity_reference': 'entity_reference',
1956
1973
  'carbon_location_references.location_reference': 'location_reference',
@@ -1991,6 +2008,9 @@ var locations = {
1991
2008
  PRIMARY: [
1992
2009
  'carbon_locations.entity_id',
1993
2010
  ],
2011
+ PRIMARY_SHORT: [
2012
+ 'entity_id',
2013
+ ],
1994
2014
  COLUMNS: {
1995
2015
  'carbon_locations.entity_id': 'entity_id',
1996
2016
  'carbon_locations.latitude': 'latitude',
@@ -2063,6 +2083,9 @@ var photos = {
2063
2083
  PRIMARY: [
2064
2084
  'carbon_photos.parent_id',
2065
2085
  ],
2086
+ PRIMARY_SHORT: [
2087
+ 'parent_id',
2088
+ ],
2066
2089
  COLUMNS: {
2067
2090
  'carbon_photos.parent_id': 'parent_id',
2068
2091
  'carbon_photos.photo_id': 'photo_id',
@@ -2111,6 +2134,7 @@ var reports = {
2111
2134
  DATE: 'carbon_reports.date',
2112
2135
  CALL_TRACE: 'carbon_reports.call_trace',
2113
2136
  PRIMARY: [],
2137
+ PRIMARY_SHORT: [],
2114
2138
  COLUMNS: {
2115
2139
  'carbon_reports.log_level': 'log_level',
2116
2140
  'carbon_reports.report': 'report',
@@ -2153,6 +2177,9 @@ var user_followers = {
2153
2177
  PRIMARY: [
2154
2178
  'carbon_user_followers.follower_table_id',
2155
2179
  ],
2180
+ PRIMARY_SHORT: [
2181
+ 'follower_table_id',
2182
+ ],
2156
2183
  COLUMNS: {
2157
2184
  'carbon_user_followers.follower_table_id': 'follower_table_id',
2158
2185
  'carbon_user_followers.follows_user_id': 'follows_user_id',
@@ -2185,6 +2212,7 @@ var user_groups = {
2185
2212
  GROUP_ID: 'carbon_user_groups.group_id',
2186
2213
  USER_ID: 'carbon_user_groups.user_id',
2187
2214
  PRIMARY: [],
2215
+ PRIMARY_SHORT: [],
2188
2216
  COLUMNS: {
2189
2217
  'carbon_user_groups.group_id': 'group_id',
2190
2218
  'carbon_user_groups.user_id': 'user_id',
@@ -2216,6 +2244,9 @@ var user_messages = {
2216
2244
  PRIMARY: [
2217
2245
  'carbon_user_messages.message_id',
2218
2246
  ],
2247
+ PRIMARY_SHORT: [
2248
+ 'message_id',
2249
+ ],
2219
2250
  COLUMNS: {
2220
2251
  'carbon_user_messages.message_id': 'message_id',
2221
2252
  'carbon_user_messages.from_user_id': 'from_user_id',
@@ -2275,6 +2306,9 @@ var user_sessions = {
2275
2306
  PRIMARY: [
2276
2307
  'carbon_user_sessions.session_id',
2277
2308
  ],
2309
+ PRIMARY_SHORT: [
2310
+ 'session_id',
2311
+ ],
2278
2312
  COLUMNS: {
2279
2313
  'carbon_user_sessions.user_id': 'user_id',
2280
2314
  'carbon_user_sessions.user_ip': 'user_ip',
@@ -2291,8 +2325,8 @@ var user_sessions = {
2291
2325
  SKIP_COLUMN_IN_POST: false
2292
2326
  },
2293
2327
  'carbon_user_sessions.user_ip': {
2294
- MYSQL_TYPE: 'binary',
2295
- MAX_LENGTH: '16',
2328
+ MYSQL_TYPE: 'varchar',
2329
+ MAX_LENGTH: '80',
2296
2330
  AUTO_INCREMENT: false,
2297
2331
  SKIP_COLUMN_IN_POST: true
2298
2332
  },
@@ -2336,6 +2370,9 @@ var user_tasks = {
2336
2370
  PRIMARY: [
2337
2371
  'carbon_user_tasks.task_id',
2338
2372
  ],
2373
+ PRIMARY_SHORT: [
2374
+ 'task_id',
2375
+ ],
2339
2376
  COLUMNS: {
2340
2377
  'carbon_user_tasks.task_id': 'task_id',
2341
2378
  'carbon_user_tasks.user_id': 'user_id',
@@ -2430,6 +2467,9 @@ var users = {
2430
2467
  PRIMARY: [
2431
2468
  'carbon_users.user_id',
2432
2469
  ],
2470
+ PRIMARY_SHORT: [
2471
+ 'user_id',
2472
+ ],
2433
2473
  COLUMNS: {
2434
2474
  'carbon_users.user_username': 'user_username',
2435
2475
  'carbon_users.user_password': 'user_password',
@@ -2625,154 +2665,1193 @@ var users = {
2625
2665
  },
2626
2666
  REGEX_VALIDATION: {}
2627
2667
  };
2628
- var TABLES = {
2629
- carbons: carbons,
2630
- comments: comments,
2631
- documentation: documentation,
2632
- feature_group_references: feature_group_references,
2633
- features: features,
2634
- group_references: group_references,
2635
- groups: groups,
2636
- history_logs: history_logs,
2637
- location_references: location_references,
2638
- locations: locations,
2639
- photos: photos,
2640
- reports: reports,
2641
- user_followers: user_followers,
2642
- user_groups: user_groups,
2643
- user_messages: user_messages,
2644
- user_sessions: user_sessions,
2645
- user_tasks: user_tasks,
2646
- users: users,
2668
+ var wp_commentmeta = {
2669
+ TABLE_NAME: 'wp_commentmeta',
2670
+ META_ID: 'carbon_wp_commentmeta.meta_id',
2671
+ COMMENT_ID: 'carbon_wp_commentmeta.comment_id',
2672
+ META_KEY: 'carbon_wp_commentmeta.meta_key',
2673
+ META_VALUE: 'carbon_wp_commentmeta.meta_value',
2674
+ PRIMARY: [
2675
+ 'carbon_wp_commentmeta.meta_id',
2676
+ ],
2677
+ PRIMARY_SHORT: [
2678
+ 'meta_id',
2679
+ ],
2680
+ COLUMNS: {
2681
+ 'carbon_wp_commentmeta.meta_id': 'meta_id',
2682
+ 'carbon_wp_commentmeta.comment_id': 'comment_id',
2683
+ 'carbon_wp_commentmeta.meta_key': 'meta_key',
2684
+ 'carbon_wp_commentmeta.meta_value': 'meta_value',
2685
+ },
2686
+ TYPE_VALIDATION: {
2687
+ 'carbon_wp_commentmeta.meta_id': {
2688
+ MYSQL_TYPE: 'bigint unsigned',
2689
+ MAX_LENGTH: '',
2690
+ AUTO_INCREMENT: true,
2691
+ SKIP_COLUMN_IN_POST: true
2692
+ },
2693
+ 'carbon_wp_commentmeta.comment_id': {
2694
+ MYSQL_TYPE: 'bigint unsigned',
2695
+ MAX_LENGTH: '',
2696
+ AUTO_INCREMENT: false,
2697
+ SKIP_COLUMN_IN_POST: true
2698
+ },
2699
+ 'carbon_wp_commentmeta.meta_key': {
2700
+ MYSQL_TYPE: 'varchar',
2701
+ MAX_LENGTH: '255',
2702
+ AUTO_INCREMENT: false,
2703
+ SKIP_COLUMN_IN_POST: true
2704
+ },
2705
+ 'carbon_wp_commentmeta.meta_value': {
2706
+ MYSQL_TYPE: 'longtext',
2707
+ MAX_LENGTH: '',
2708
+ AUTO_INCREMENT: false,
2709
+ SKIP_COLUMN_IN_POST: false
2710
+ },
2711
+ },
2712
+ REGEX_VALIDATION: {}
2647
2713
  };
2648
- var C6 = __assign({
2649
- // try to 1=1 match the Rest abstract class
2650
- ADDDATE: 'ADDDATE', ADDTIME: 'ADDTIME', AS: 'AS', ASC: 'ASC', BETWEEN: 'BETWEEN', CONCAT: 'CONCAT', CONVERT_TZ: 'CONVERT_TZ', COUNT: 'COUNT', COUNT_ALL: 'COUNT_ALL', CURRENT_DATE: 'CURRENT_DATE', CURRENT_TIMESTAMP: 'CURRENT_TIMESTAMP', DAY: 'DAY', DAY_HOUR: 'DAY_HOUR', DAY_MICROSECOND: 'DAY_MICROSECOND', DAY_MINUTE: 'DAY_MINUTE', DAY_SECOND: 'DAY_SECOND', DAYNAME: 'DAYNAME', DAYOFMONTH: 'DAYOFMONTH', DAYOFWEEK: 'DAYOFWEEK', DAYOFYEAR: 'DAYOFYEAR', DATE: 'DATE', DATE_ADD: 'DATE_ADD', DATEDIFF: 'DATEDIFF', DATE_SUB: 'DATE_SUB', DATE_FORMAT: 'DATE_FORMAT', DESC: 'DESC', DISTINCT: 'DISTINCT', EXTRACT: 'EXTRACT', EQUAL: '=', EQUAL_NULL_SAFE: '<=>', FALSE: 'FALSE', FULL_OUTER: 'FULL_OUTER', FROM_DAYS: 'FROM_DAYS', FROM_UNIXTIME: 'FROM_UNIXTIME', GET_FORMAT: 'GET_FORMAT', GREATER_THAN: '>', GROUP_BY: 'GROUP_BY', GROUP_CONCAT: 'GROUP_CONCAT', GREATER_THAN_OR_EQUAL_TO: '>=', HAVING: 'HAVING', HEX: 'HEX', HOUR: 'HOUR', HOUR_MICROSECOND: 'HOUR_MICROSECOND', HOUR_SECOND: 'HOUR_SECOND', HOUR_MINUTE: 'HOUR_MINUTE', IN: 'IN', IS: 'IS', IS_NOT: 'IS_NOT', INNER: 'INNER', INTERVAL: 'INTERVAL', JOIN: 'JOIN', LEFT: 'LEFT', LEFT_OUTER: 'LEFT_OUTER', LESS_THAN: '<', LESS_THAN_OR_EQUAL_TO: '<=', LIKE: 'LIKE', LIMIT: 'LIMIT', LOCALTIME: 'LOCALTIME', LOCALTIMESTAMP: 'LOCALTIMESTAMP', MAKEDATE: 'MAKEDATE', MAKETIME: 'MAKETIME', MONTHNAME: 'MONTHNAME', MICROSECOND: 'MICROSECOND', MINUTE: 'MINUTE', MINUTE_MICROSECOND: 'MINUTE_MICROSECOND', MINUTE_SECOND: 'MINUTE_SECOND', MIN: 'MIN', MAX: 'MAX', MONTH: 'MONTH', NOT_LIKE: 'NOT_LIKE', NOT_EQUAL: '<>', NOT_IN: 'NOT_IN', NOW: 'NOW', NULL: 'NULL', ORDER: 'ORDER', PAGE: 'PAGE', PAGINATION: 'PAGINATION', RIGHT_OUTER: 'RIGHT_OUTER', SECOND: 'SECOND', SECOND_MICROSECOND: 'SECOND_MICROSECOND', SELECT: 'SELECT', STR_TO_DATE: 'STR_TO_DATE', SUBDATE: 'SUBDATE', SUBTIME: 'SUBTIME', SUM: 'SUM', SYSDATE: 'SYSDATE', TIME: 'TIME', TIME_FORMAT: 'TIME_FORMAT', TIME_TO_SEC: 'TIME_TO_SEC', TIMEDIFF: 'TIMEDIFF', TIMESTAMP: 'TIMESTAMP', TIMESTAMPADD: 'TIMESTAMPADD', TIMESTAMPDIFF: 'TIMESTAMPDIFF', TO_DAYS: 'TO_DAYS', TO_SECONDS: 'TO_SECONDS', TRANSACTION_TIMESTAMP: 'TRANSACTION_TIMESTAMP', TRUE: 'TRUE', UNIX_TIMESTAMP: 'UNIX_TIMESTAMP', UNKNOWN: 'UNKNOWN', UPDATE: 'UPDATE', UNHEX: 'UNHEX', UTC_DATE: 'UNHEX', UTC_TIME: 'UNHEX', UTC_TIMESTAMP: 'UNHEX', WHERE: 'WHERE', WEEKDAY: 'WEEKDAY', WEEKOFYEAR: 'WEEKOFYEAR', YEARWEEK: 'YEARWEEK',
2651
- // carbon identifiers
2652
- DEPENDANT_ON_ENTITY: 'DEPENDANT_ON_ENTITY',
2653
- // PHP validation
2654
- OPTIONS: 'OPTIONS', GET: 'GET', POST: 'POST', PUT: 'PUT', REPLACE: 'REPLACE INTO', DELETE: 'DELETE', REST_REQUEST_PREPROCESS_CALLBACKS: 'PREPROCESS', PREPROCESS: 'PREPROCESS', REST_REQUEST_FINNISH_CALLBACKS: 'FINISH', FINISH: 'FINISH', VALIDATE_C6_ENTITY_ID_REGEX: '#^([a-fA-F0-9]{20,35})$#', TABLES: TABLES }, TABLES);
2655
- var COLUMNS = {
2656
- 'carbon_carbons.entity_pk': 'entity_pk',
2657
- 'carbon_carbons.entity_fk': 'entity_fk',
2658
- 'carbon_carbons.entity_tag': 'entity_tag',
2659
- 'carbon_comments.parent_id': 'parent_id',
2660
- 'carbon_comments.comment_id': 'comment_id',
2661
- 'carbon_comments.user_id': 'user_id',
2662
- 'carbon_comments.comment': 'comment',
2663
- 'carbon_documentation.documentation_uri': 'documentation_uri',
2664
- 'carbon_documentation.documentation_data': 'documentation_data',
2665
- 'carbon_documentation.documentation_version': 'documentation_version',
2666
- 'carbon_documentation.documentation_active': 'documentation_active',
2667
- 'carbon_feature_group_references.feature_entity_id': 'feature_entity_id',
2668
- 'carbon_feature_group_references.group_entity_id': 'group_entity_id',
2669
- 'carbon_features.feature_entity_id': 'feature_entity_id',
2670
- 'carbon_features.feature_code': 'feature_code',
2671
- 'carbon_features.feature_creation_date': 'feature_creation_date',
2672
- 'carbon_group_references.group_id': 'group_id',
2673
- 'carbon_group_references.allowed_to_grant_group_id': 'allowed_to_grant_group_id',
2674
- 'carbon_groups.group_name': 'group_name',
2675
- 'carbon_groups.entity_id': 'entity_id',
2676
- 'carbon_groups.created_by': 'created_by',
2677
- 'carbon_groups.creation_date': 'creation_date',
2678
- 'carbon_history_logs.history_uuid': 'history_uuid',
2679
- 'carbon_history_logs.history_table': 'history_table',
2680
- 'carbon_history_logs.history_type': 'history_type',
2681
- 'carbon_history_logs.history_data': 'history_data',
2682
- 'carbon_history_logs.history_original_query': 'history_original_query',
2683
- 'carbon_history_logs.history_time': 'history_time',
2684
- 'carbon_location_references.entity_reference': 'entity_reference',
2685
- 'carbon_location_references.location_reference': 'location_reference',
2686
- 'carbon_location_references.location_time': 'location_time',
2687
- 'carbon_locations.entity_id': 'entity_id',
2688
- 'carbon_locations.latitude': 'latitude',
2689
- 'carbon_locations.longitude': 'longitude',
2690
- 'carbon_locations.street': 'street',
2691
- 'carbon_locations.city': 'city',
2692
- 'carbon_locations.state': 'state',
2693
- 'carbon_locations.elevation': 'elevation',
2694
- 'carbon_locations.zip': 'zip',
2695
- 'carbon_photos.parent_id': 'parent_id',
2696
- 'carbon_photos.photo_id': 'photo_id',
2697
- 'carbon_photos.user_id': 'user_id',
2698
- 'carbon_photos.photo_path': 'photo_path',
2699
- 'carbon_photos.photo_description': 'photo_description',
2700
- 'carbon_reports.log_level': 'log_level',
2701
- 'carbon_reports.report': 'report',
2702
- 'carbon_reports.date': 'date',
2703
- 'carbon_reports.call_trace': 'call_trace',
2704
- 'carbon_user_followers.follower_table_id': 'follower_table_id',
2705
- 'carbon_user_followers.follows_user_id': 'follows_user_id',
2706
- 'carbon_user_followers.user_id': 'user_id',
2707
- 'carbon_user_groups.group_id': 'group_id',
2708
- 'carbon_user_groups.user_id': 'user_id',
2709
- 'carbon_user_messages.message_id': 'message_id',
2710
- 'carbon_user_messages.from_user_id': 'from_user_id',
2711
- 'carbon_user_messages.to_user_id': 'to_user_id',
2712
- 'carbon_user_messages.message': 'message',
2713
- 'carbon_user_messages.message_read': 'message_read',
2714
- 'carbon_user_messages.creation_date': 'creation_date',
2715
- 'carbon_user_sessions.user_id': 'user_id',
2716
- 'carbon_user_sessions.user_ip': 'user_ip',
2717
- 'carbon_user_sessions.session_id': 'session_id',
2718
- 'carbon_user_sessions.session_expires': 'session_expires',
2719
- 'carbon_user_sessions.session_data': 'session_data',
2720
- 'carbon_user_sessions.user_online_status': 'user_online_status',
2721
- 'carbon_user_tasks.task_id': 'task_id',
2722
- 'carbon_user_tasks.user_id': 'user_id',
2723
- 'carbon_user_tasks.from_id': 'from_id',
2724
- 'carbon_user_tasks.task_name': 'task_name',
2725
- 'carbon_user_tasks.task_description': 'task_description',
2726
- 'carbon_user_tasks.percent_complete': 'percent_complete',
2727
- 'carbon_user_tasks.start_date': 'start_date',
2728
- 'carbon_user_tasks.end_date': 'end_date',
2729
- 'carbon_users.user_username': 'user_username',
2730
- 'carbon_users.user_password': 'user_password',
2731
- 'carbon_users.user_id': 'user_id',
2732
- 'carbon_users.user_type': 'user_type',
2733
- 'carbon_users.user_sport': 'user_sport',
2734
- 'carbon_users.user_session_id': 'user_session_id',
2735
- 'carbon_users.user_facebook_id': 'user_facebook_id',
2736
- 'carbon_users.user_first_name': 'user_first_name',
2737
- 'carbon_users.user_last_name': 'user_last_name',
2738
- 'carbon_users.user_profile_pic': 'user_profile_pic',
2739
- 'carbon_users.user_profile_uri': 'user_profile_uri',
2740
- 'carbon_users.user_cover_photo': 'user_cover_photo',
2741
- 'carbon_users.user_birthday': 'user_birthday',
2742
- 'carbon_users.user_gender': 'user_gender',
2743
- 'carbon_users.user_about_me': 'user_about_me',
2744
- 'carbon_users.user_rank': 'user_rank',
2745
- 'carbon_users.user_email': 'user_email',
2746
- 'carbon_users.user_email_code': 'user_email_code',
2747
- 'carbon_users.user_email_confirmed': 'user_email_confirmed',
2748
- 'carbon_users.user_generated_string': 'user_generated_string',
2749
- 'carbon_users.user_membership': 'user_membership',
2750
- 'carbon_users.user_deactivated': 'user_deactivated',
2751
- 'carbon_users.user_last_login': 'user_last_login',
2752
- 'carbon_users.user_ip': 'user_ip',
2753
- 'carbon_users.user_education_history': 'user_education_history',
2754
- 'carbon_users.user_location': 'user_location',
2755
- 'carbon_users.user_creation_date': 'user_creation_date',
2714
+ var wp_comments = {
2715
+ TABLE_NAME: 'wp_comments',
2716
+ COMMENT_ID: 'carbon_wp_comments.comment_ID',
2717
+ COMMENT_POST_ID: 'carbon_wp_comments.comment_post_ID',
2718
+ COMMENT_AUTHOR: 'carbon_wp_comments.comment_author',
2719
+ COMMENT_AUTHOR_EMAIL: 'carbon_wp_comments.comment_author_email',
2720
+ COMMENT_AUTHOR_URL: 'carbon_wp_comments.comment_author_url',
2721
+ COMMENT_AUTHOR_IP: 'carbon_wp_comments.comment_author_IP',
2722
+ COMMENT_DATE: 'carbon_wp_comments.comment_date',
2723
+ COMMENT_DATE_GMT: 'carbon_wp_comments.comment_date_gmt',
2724
+ COMMENT_CONTENT: 'carbon_wp_comments.comment_content',
2725
+ COMMENT_KARMA: 'carbon_wp_comments.comment_karma',
2726
+ COMMENT_APPROVED: 'carbon_wp_comments.comment_approved',
2727
+ COMMENT_AGENT: 'carbon_wp_comments.comment_agent',
2728
+ COMMENT_TYPE: 'carbon_wp_comments.comment_type',
2729
+ COMMENT_PARENT: 'carbon_wp_comments.comment_parent',
2730
+ USER_ID: 'carbon_wp_comments.user_id',
2731
+ PRIMARY: [
2732
+ 'carbon_wp_comments.comment_ID',
2733
+ ],
2734
+ PRIMARY_SHORT: [
2735
+ 'comment_ID',
2736
+ ],
2737
+ COLUMNS: {
2738
+ 'carbon_wp_comments.comment_ID': 'comment_ID',
2739
+ 'carbon_wp_comments.comment_post_ID': 'comment_post_ID',
2740
+ 'carbon_wp_comments.comment_author': 'comment_author',
2741
+ 'carbon_wp_comments.comment_author_email': 'comment_author_email',
2742
+ 'carbon_wp_comments.comment_author_url': 'comment_author_url',
2743
+ 'carbon_wp_comments.comment_author_IP': 'comment_author_IP',
2744
+ 'carbon_wp_comments.comment_date': 'comment_date',
2745
+ 'carbon_wp_comments.comment_date_gmt': 'comment_date_gmt',
2746
+ 'carbon_wp_comments.comment_content': 'comment_content',
2747
+ 'carbon_wp_comments.comment_karma': 'comment_karma',
2748
+ 'carbon_wp_comments.comment_approved': 'comment_approved',
2749
+ 'carbon_wp_comments.comment_agent': 'comment_agent',
2750
+ 'carbon_wp_comments.comment_type': 'comment_type',
2751
+ 'carbon_wp_comments.comment_parent': 'comment_parent',
2752
+ 'carbon_wp_comments.user_id': 'user_id',
2753
+ },
2754
+ TYPE_VALIDATION: {
2755
+ 'carbon_wp_comments.comment_ID': {
2756
+ MYSQL_TYPE: 'bigint unsigned',
2757
+ MAX_LENGTH: '',
2758
+ AUTO_INCREMENT: true,
2759
+ SKIP_COLUMN_IN_POST: true
2760
+ },
2761
+ 'carbon_wp_comments.comment_post_ID': {
2762
+ MYSQL_TYPE: 'bigint unsigned',
2763
+ MAX_LENGTH: '',
2764
+ AUTO_INCREMENT: false,
2765
+ SKIP_COLUMN_IN_POST: true
2766
+ },
2767
+ 'carbon_wp_comments.comment_author': {
2768
+ MYSQL_TYPE: 'tinytext',
2769
+ MAX_LENGTH: '',
2770
+ AUTO_INCREMENT: false,
2771
+ SKIP_COLUMN_IN_POST: false
2772
+ },
2773
+ 'carbon_wp_comments.comment_author_email': {
2774
+ MYSQL_TYPE: 'varchar',
2775
+ MAX_LENGTH: '100',
2776
+ AUTO_INCREMENT: false,
2777
+ SKIP_COLUMN_IN_POST: true
2778
+ },
2779
+ 'carbon_wp_comments.comment_author_url': {
2780
+ MYSQL_TYPE: 'varchar',
2781
+ MAX_LENGTH: '200',
2782
+ AUTO_INCREMENT: false,
2783
+ SKIP_COLUMN_IN_POST: true
2784
+ },
2785
+ 'carbon_wp_comments.comment_author_IP': {
2786
+ MYSQL_TYPE: 'varchar',
2787
+ MAX_LENGTH: '100',
2788
+ AUTO_INCREMENT: false,
2789
+ SKIP_COLUMN_IN_POST: true
2790
+ },
2791
+ 'carbon_wp_comments.comment_date': {
2792
+ MYSQL_TYPE: 'datetime',
2793
+ MAX_LENGTH: '',
2794
+ AUTO_INCREMENT: false,
2795
+ SKIP_COLUMN_IN_POST: true
2796
+ },
2797
+ 'carbon_wp_comments.comment_date_gmt': {
2798
+ MYSQL_TYPE: 'datetime',
2799
+ MAX_LENGTH: '',
2800
+ AUTO_INCREMENT: false,
2801
+ SKIP_COLUMN_IN_POST: true
2802
+ },
2803
+ 'carbon_wp_comments.comment_content': {
2804
+ MYSQL_TYPE: 'text',
2805
+ MAX_LENGTH: '',
2806
+ AUTO_INCREMENT: false,
2807
+ SKIP_COLUMN_IN_POST: false
2808
+ },
2809
+ 'carbon_wp_comments.comment_karma': {
2810
+ MYSQL_TYPE: 'int',
2811
+ MAX_LENGTH: '',
2812
+ AUTO_INCREMENT: false,
2813
+ SKIP_COLUMN_IN_POST: true
2814
+ },
2815
+ 'carbon_wp_comments.comment_approved': {
2816
+ MYSQL_TYPE: 'varchar',
2817
+ MAX_LENGTH: '20',
2818
+ AUTO_INCREMENT: false,
2819
+ SKIP_COLUMN_IN_POST: true
2820
+ },
2821
+ 'carbon_wp_comments.comment_agent': {
2822
+ MYSQL_TYPE: 'varchar',
2823
+ MAX_LENGTH: '255',
2824
+ AUTO_INCREMENT: false,
2825
+ SKIP_COLUMN_IN_POST: true
2826
+ },
2827
+ 'carbon_wp_comments.comment_type': {
2828
+ MYSQL_TYPE: 'varchar',
2829
+ MAX_LENGTH: '20',
2830
+ AUTO_INCREMENT: false,
2831
+ SKIP_COLUMN_IN_POST: true
2832
+ },
2833
+ 'carbon_wp_comments.comment_parent': {
2834
+ MYSQL_TYPE: 'bigint unsigned',
2835
+ MAX_LENGTH: '',
2836
+ AUTO_INCREMENT: false,
2837
+ SKIP_COLUMN_IN_POST: true
2838
+ },
2839
+ 'carbon_wp_comments.user_id': {
2840
+ MYSQL_TYPE: 'bigint unsigned',
2841
+ MAX_LENGTH: '',
2842
+ AUTO_INCREMENT: false,
2843
+ SKIP_COLUMN_IN_POST: true
2844
+ },
2845
+ },
2846
+ REGEX_VALIDATION: {}
2756
2847
  };
2757
- var initialRestfulObjectsState = {
2758
- carbons: undefined,
2759
- comments: undefined,
2760
- documentation: undefined,
2761
- feature_group_references: undefined,
2762
- features: undefined,
2763
- group_references: undefined,
2764
- groups: undefined,
2765
- history_logs: undefined,
2766
- location_references: undefined,
2767
- locations: undefined,
2768
- photos: undefined,
2769
- reports: undefined,
2770
- user_followers: undefined,
2848
+ var wp_links = {
2849
+ TABLE_NAME: 'wp_links',
2850
+ LINK_ID: 'carbon_wp_links.link_id',
2851
+ LINK_URL: 'carbon_wp_links.link_url',
2852
+ LINK_NAME: 'carbon_wp_links.link_name',
2853
+ LINK_IMAGE: 'carbon_wp_links.link_image',
2854
+ LINK_TARGET: 'carbon_wp_links.link_target',
2855
+ LINK_DESCRIPTION: 'carbon_wp_links.link_description',
2856
+ LINK_VISIBLE: 'carbon_wp_links.link_visible',
2857
+ LINK_OWNER: 'carbon_wp_links.link_owner',
2858
+ LINK_RATING: 'carbon_wp_links.link_rating',
2859
+ LINK_UPDATED: 'carbon_wp_links.link_updated',
2860
+ LINK_REL: 'carbon_wp_links.link_rel',
2861
+ LINK_NOTES: 'carbon_wp_links.link_notes',
2862
+ LINK_RSS: 'carbon_wp_links.link_rss',
2863
+ PRIMARY: [
2864
+ 'carbon_wp_links.link_id',
2865
+ ],
2866
+ PRIMARY_SHORT: [
2867
+ 'link_id',
2868
+ ],
2869
+ COLUMNS: {
2870
+ 'carbon_wp_links.link_id': 'link_id',
2871
+ 'carbon_wp_links.link_url': 'link_url',
2872
+ 'carbon_wp_links.link_name': 'link_name',
2873
+ 'carbon_wp_links.link_image': 'link_image',
2874
+ 'carbon_wp_links.link_target': 'link_target',
2875
+ 'carbon_wp_links.link_description': 'link_description',
2876
+ 'carbon_wp_links.link_visible': 'link_visible',
2877
+ 'carbon_wp_links.link_owner': 'link_owner',
2878
+ 'carbon_wp_links.link_rating': 'link_rating',
2879
+ 'carbon_wp_links.link_updated': 'link_updated',
2880
+ 'carbon_wp_links.link_rel': 'link_rel',
2881
+ 'carbon_wp_links.link_notes': 'link_notes',
2882
+ 'carbon_wp_links.link_rss': 'link_rss',
2883
+ },
2884
+ TYPE_VALIDATION: {
2885
+ 'carbon_wp_links.link_id': {
2886
+ MYSQL_TYPE: 'bigint unsigned',
2887
+ MAX_LENGTH: '',
2888
+ AUTO_INCREMENT: true,
2889
+ SKIP_COLUMN_IN_POST: true
2890
+ },
2891
+ 'carbon_wp_links.link_url': {
2892
+ MYSQL_TYPE: 'varchar',
2893
+ MAX_LENGTH: '255',
2894
+ AUTO_INCREMENT: false,
2895
+ SKIP_COLUMN_IN_POST: true
2896
+ },
2897
+ 'carbon_wp_links.link_name': {
2898
+ MYSQL_TYPE: 'varchar',
2899
+ MAX_LENGTH: '255',
2900
+ AUTO_INCREMENT: false,
2901
+ SKIP_COLUMN_IN_POST: true
2902
+ },
2903
+ 'carbon_wp_links.link_image': {
2904
+ MYSQL_TYPE: 'varchar',
2905
+ MAX_LENGTH: '255',
2906
+ AUTO_INCREMENT: false,
2907
+ SKIP_COLUMN_IN_POST: true
2908
+ },
2909
+ 'carbon_wp_links.link_target': {
2910
+ MYSQL_TYPE: 'varchar',
2911
+ MAX_LENGTH: '25',
2912
+ AUTO_INCREMENT: false,
2913
+ SKIP_COLUMN_IN_POST: true
2914
+ },
2915
+ 'carbon_wp_links.link_description': {
2916
+ MYSQL_TYPE: 'varchar',
2917
+ MAX_LENGTH: '255',
2918
+ AUTO_INCREMENT: false,
2919
+ SKIP_COLUMN_IN_POST: true
2920
+ },
2921
+ 'carbon_wp_links.link_visible': {
2922
+ MYSQL_TYPE: 'varchar',
2923
+ MAX_LENGTH: '20',
2924
+ AUTO_INCREMENT: false,
2925
+ SKIP_COLUMN_IN_POST: true
2926
+ },
2927
+ 'carbon_wp_links.link_owner': {
2928
+ MYSQL_TYPE: 'bigint unsigned',
2929
+ MAX_LENGTH: '',
2930
+ AUTO_INCREMENT: false,
2931
+ SKIP_COLUMN_IN_POST: true
2932
+ },
2933
+ 'carbon_wp_links.link_rating': {
2934
+ MYSQL_TYPE: 'int',
2935
+ MAX_LENGTH: '',
2936
+ AUTO_INCREMENT: false,
2937
+ SKIP_COLUMN_IN_POST: true
2938
+ },
2939
+ 'carbon_wp_links.link_updated': {
2940
+ MYSQL_TYPE: 'datetime',
2941
+ MAX_LENGTH: '',
2942
+ AUTO_INCREMENT: false,
2943
+ SKIP_COLUMN_IN_POST: true
2944
+ },
2945
+ 'carbon_wp_links.link_rel': {
2946
+ MYSQL_TYPE: 'varchar',
2947
+ MAX_LENGTH: '255',
2948
+ AUTO_INCREMENT: false,
2949
+ SKIP_COLUMN_IN_POST: true
2950
+ },
2951
+ 'carbon_wp_links.link_notes': {
2952
+ MYSQL_TYPE: 'mediumtext',
2953
+ MAX_LENGTH: '',
2954
+ AUTO_INCREMENT: false,
2955
+ SKIP_COLUMN_IN_POST: false
2956
+ },
2957
+ 'carbon_wp_links.link_rss': {
2958
+ MYSQL_TYPE: 'varchar',
2959
+ MAX_LENGTH: '255',
2960
+ AUTO_INCREMENT: false,
2961
+ SKIP_COLUMN_IN_POST: true
2962
+ },
2963
+ },
2964
+ REGEX_VALIDATION: {}
2965
+ };
2966
+ var wp_options = {
2967
+ TABLE_NAME: 'wp_options',
2968
+ OPTION_ID: 'carbon_wp_options.option_id',
2969
+ OPTION_NAME: 'carbon_wp_options.option_name',
2970
+ OPTION_VALUE: 'carbon_wp_options.option_value',
2971
+ AUTOLOAD: 'carbon_wp_options.autoload',
2972
+ PRIMARY: [
2973
+ 'carbon_wp_options.option_id',
2974
+ ],
2975
+ PRIMARY_SHORT: [
2976
+ 'option_id',
2977
+ ],
2978
+ COLUMNS: {
2979
+ 'carbon_wp_options.option_id': 'option_id',
2980
+ 'carbon_wp_options.option_name': 'option_name',
2981
+ 'carbon_wp_options.option_value': 'option_value',
2982
+ 'carbon_wp_options.autoload': 'autoload',
2983
+ },
2984
+ TYPE_VALIDATION: {
2985
+ 'carbon_wp_options.option_id': {
2986
+ MYSQL_TYPE: 'bigint unsigned',
2987
+ MAX_LENGTH: '',
2988
+ AUTO_INCREMENT: true,
2989
+ SKIP_COLUMN_IN_POST: true
2990
+ },
2991
+ 'carbon_wp_options.option_name': {
2992
+ MYSQL_TYPE: 'varchar',
2993
+ MAX_LENGTH: '191',
2994
+ AUTO_INCREMENT: false,
2995
+ SKIP_COLUMN_IN_POST: true
2996
+ },
2997
+ 'carbon_wp_options.option_value': {
2998
+ MYSQL_TYPE: 'longtext',
2999
+ MAX_LENGTH: '',
3000
+ AUTO_INCREMENT: false,
3001
+ SKIP_COLUMN_IN_POST: false
3002
+ },
3003
+ 'carbon_wp_options.autoload': {
3004
+ MYSQL_TYPE: 'varchar',
3005
+ MAX_LENGTH: '20',
3006
+ AUTO_INCREMENT: false,
3007
+ SKIP_COLUMN_IN_POST: true
3008
+ },
3009
+ },
3010
+ REGEX_VALIDATION: {}
3011
+ };
3012
+ var wp_postmeta = {
3013
+ TABLE_NAME: 'wp_postmeta',
3014
+ META_ID: 'carbon_wp_postmeta.meta_id',
3015
+ POST_ID: 'carbon_wp_postmeta.post_id',
3016
+ META_KEY: 'carbon_wp_postmeta.meta_key',
3017
+ META_VALUE: 'carbon_wp_postmeta.meta_value',
3018
+ PRIMARY: [
3019
+ 'carbon_wp_postmeta.meta_id',
3020
+ ],
3021
+ PRIMARY_SHORT: [
3022
+ 'meta_id',
3023
+ ],
3024
+ COLUMNS: {
3025
+ 'carbon_wp_postmeta.meta_id': 'meta_id',
3026
+ 'carbon_wp_postmeta.post_id': 'post_id',
3027
+ 'carbon_wp_postmeta.meta_key': 'meta_key',
3028
+ 'carbon_wp_postmeta.meta_value': 'meta_value',
3029
+ },
3030
+ TYPE_VALIDATION: {
3031
+ 'carbon_wp_postmeta.meta_id': {
3032
+ MYSQL_TYPE: 'bigint unsigned',
3033
+ MAX_LENGTH: '',
3034
+ AUTO_INCREMENT: true,
3035
+ SKIP_COLUMN_IN_POST: true
3036
+ },
3037
+ 'carbon_wp_postmeta.post_id': {
3038
+ MYSQL_TYPE: 'bigint unsigned',
3039
+ MAX_LENGTH: '',
3040
+ AUTO_INCREMENT: false,
3041
+ SKIP_COLUMN_IN_POST: true
3042
+ },
3043
+ 'carbon_wp_postmeta.meta_key': {
3044
+ MYSQL_TYPE: 'varchar',
3045
+ MAX_LENGTH: '255',
3046
+ AUTO_INCREMENT: false,
3047
+ SKIP_COLUMN_IN_POST: true
3048
+ },
3049
+ 'carbon_wp_postmeta.meta_value': {
3050
+ MYSQL_TYPE: 'longtext',
3051
+ MAX_LENGTH: '',
3052
+ AUTO_INCREMENT: false,
3053
+ SKIP_COLUMN_IN_POST: false
3054
+ },
3055
+ },
3056
+ REGEX_VALIDATION: {}
3057
+ };
3058
+ var wp_posts = {
3059
+ TABLE_NAME: 'wp_posts',
3060
+ ID: 'carbon_wp_posts.ID',
3061
+ POST_AUTHOR: 'carbon_wp_posts.post_author',
3062
+ POST_DATE: 'carbon_wp_posts.post_date',
3063
+ POST_DATE_GMT: 'carbon_wp_posts.post_date_gmt',
3064
+ POST_CONTENT: 'carbon_wp_posts.post_content',
3065
+ POST_TITLE: 'carbon_wp_posts.post_title',
3066
+ POST_EXCERPT: 'carbon_wp_posts.post_excerpt',
3067
+ POST_STATUS: 'carbon_wp_posts.post_status',
3068
+ COMMENT_STATUS: 'carbon_wp_posts.comment_status',
3069
+ PING_STATUS: 'carbon_wp_posts.ping_status',
3070
+ POST_PASSWORD: 'carbon_wp_posts.post_password',
3071
+ POST_NAME: 'carbon_wp_posts.post_name',
3072
+ TO_PING: 'carbon_wp_posts.to_ping',
3073
+ PINGED: 'carbon_wp_posts.pinged',
3074
+ POST_MODIFIED: 'carbon_wp_posts.post_modified',
3075
+ POST_MODIFIED_GMT: 'carbon_wp_posts.post_modified_gmt',
3076
+ POST_CONTENT_FILTERED: 'carbon_wp_posts.post_content_filtered',
3077
+ POST_PARENT: 'carbon_wp_posts.post_parent',
3078
+ GUID: 'carbon_wp_posts.guid',
3079
+ MENU_ORDER: 'carbon_wp_posts.menu_order',
3080
+ POST_TYPE: 'carbon_wp_posts.post_type',
3081
+ POST_MIME_TYPE: 'carbon_wp_posts.post_mime_type',
3082
+ COMMENT_COUNT: 'carbon_wp_posts.comment_count',
3083
+ PRIMARY: [
3084
+ 'carbon_wp_posts.ID',
3085
+ ],
3086
+ PRIMARY_SHORT: [
3087
+ 'ID',
3088
+ ],
3089
+ COLUMNS: {
3090
+ 'carbon_wp_posts.ID': 'ID',
3091
+ 'carbon_wp_posts.post_author': 'post_author',
3092
+ 'carbon_wp_posts.post_date': 'post_date',
3093
+ 'carbon_wp_posts.post_date_gmt': 'post_date_gmt',
3094
+ 'carbon_wp_posts.post_content': 'post_content',
3095
+ 'carbon_wp_posts.post_title': 'post_title',
3096
+ 'carbon_wp_posts.post_excerpt': 'post_excerpt',
3097
+ 'carbon_wp_posts.post_status': 'post_status',
3098
+ 'carbon_wp_posts.comment_status': 'comment_status',
3099
+ 'carbon_wp_posts.ping_status': 'ping_status',
3100
+ 'carbon_wp_posts.post_password': 'post_password',
3101
+ 'carbon_wp_posts.post_name': 'post_name',
3102
+ 'carbon_wp_posts.to_ping': 'to_ping',
3103
+ 'carbon_wp_posts.pinged': 'pinged',
3104
+ 'carbon_wp_posts.post_modified': 'post_modified',
3105
+ 'carbon_wp_posts.post_modified_gmt': 'post_modified_gmt',
3106
+ 'carbon_wp_posts.post_content_filtered': 'post_content_filtered',
3107
+ 'carbon_wp_posts.post_parent': 'post_parent',
3108
+ 'carbon_wp_posts.guid': 'guid',
3109
+ 'carbon_wp_posts.menu_order': 'menu_order',
3110
+ 'carbon_wp_posts.post_type': 'post_type',
3111
+ 'carbon_wp_posts.post_mime_type': 'post_mime_type',
3112
+ 'carbon_wp_posts.comment_count': 'comment_count',
3113
+ },
3114
+ TYPE_VALIDATION: {
3115
+ 'carbon_wp_posts.ID': {
3116
+ MYSQL_TYPE: 'bigint unsigned',
3117
+ MAX_LENGTH: '',
3118
+ AUTO_INCREMENT: true,
3119
+ SKIP_COLUMN_IN_POST: true
3120
+ },
3121
+ 'carbon_wp_posts.post_author': {
3122
+ MYSQL_TYPE: 'bigint unsigned',
3123
+ MAX_LENGTH: '',
3124
+ AUTO_INCREMENT: false,
3125
+ SKIP_COLUMN_IN_POST: true
3126
+ },
3127
+ 'carbon_wp_posts.post_date': {
3128
+ MYSQL_TYPE: 'datetime',
3129
+ MAX_LENGTH: '',
3130
+ AUTO_INCREMENT: false,
3131
+ SKIP_COLUMN_IN_POST: true
3132
+ },
3133
+ 'carbon_wp_posts.post_date_gmt': {
3134
+ MYSQL_TYPE: 'datetime',
3135
+ MAX_LENGTH: '',
3136
+ AUTO_INCREMENT: false,
3137
+ SKIP_COLUMN_IN_POST: true
3138
+ },
3139
+ 'carbon_wp_posts.post_content': {
3140
+ MYSQL_TYPE: 'longtext',
3141
+ MAX_LENGTH: '',
3142
+ AUTO_INCREMENT: false,
3143
+ SKIP_COLUMN_IN_POST: false
3144
+ },
3145
+ 'carbon_wp_posts.post_title': {
3146
+ MYSQL_TYPE: 'text',
3147
+ MAX_LENGTH: '',
3148
+ AUTO_INCREMENT: false,
3149
+ SKIP_COLUMN_IN_POST: false
3150
+ },
3151
+ 'carbon_wp_posts.post_excerpt': {
3152
+ MYSQL_TYPE: 'text',
3153
+ MAX_LENGTH: '',
3154
+ AUTO_INCREMENT: false,
3155
+ SKIP_COLUMN_IN_POST: false
3156
+ },
3157
+ 'carbon_wp_posts.post_status': {
3158
+ MYSQL_TYPE: 'varchar',
3159
+ MAX_LENGTH: '20',
3160
+ AUTO_INCREMENT: false,
3161
+ SKIP_COLUMN_IN_POST: true
3162
+ },
3163
+ 'carbon_wp_posts.comment_status': {
3164
+ MYSQL_TYPE: 'varchar',
3165
+ MAX_LENGTH: '20',
3166
+ AUTO_INCREMENT: false,
3167
+ SKIP_COLUMN_IN_POST: true
3168
+ },
3169
+ 'carbon_wp_posts.ping_status': {
3170
+ MYSQL_TYPE: 'varchar',
3171
+ MAX_LENGTH: '20',
3172
+ AUTO_INCREMENT: false,
3173
+ SKIP_COLUMN_IN_POST: true
3174
+ },
3175
+ 'carbon_wp_posts.post_password': {
3176
+ MYSQL_TYPE: 'varchar',
3177
+ MAX_LENGTH: '255',
3178
+ AUTO_INCREMENT: false,
3179
+ SKIP_COLUMN_IN_POST: true
3180
+ },
3181
+ 'carbon_wp_posts.post_name': {
3182
+ MYSQL_TYPE: 'varchar',
3183
+ MAX_LENGTH: '200',
3184
+ AUTO_INCREMENT: false,
3185
+ SKIP_COLUMN_IN_POST: true
3186
+ },
3187
+ 'carbon_wp_posts.to_ping': {
3188
+ MYSQL_TYPE: 'text',
3189
+ MAX_LENGTH: '',
3190
+ AUTO_INCREMENT: false,
3191
+ SKIP_COLUMN_IN_POST: false
3192
+ },
3193
+ 'carbon_wp_posts.pinged': {
3194
+ MYSQL_TYPE: 'text',
3195
+ MAX_LENGTH: '',
3196
+ AUTO_INCREMENT: false,
3197
+ SKIP_COLUMN_IN_POST: false
3198
+ },
3199
+ 'carbon_wp_posts.post_modified': {
3200
+ MYSQL_TYPE: 'datetime',
3201
+ MAX_LENGTH: '',
3202
+ AUTO_INCREMENT: false,
3203
+ SKIP_COLUMN_IN_POST: true
3204
+ },
3205
+ 'carbon_wp_posts.post_modified_gmt': {
3206
+ MYSQL_TYPE: 'datetime',
3207
+ MAX_LENGTH: '',
3208
+ AUTO_INCREMENT: false,
3209
+ SKIP_COLUMN_IN_POST: true
3210
+ },
3211
+ 'carbon_wp_posts.post_content_filtered': {
3212
+ MYSQL_TYPE: 'longtext',
3213
+ MAX_LENGTH: '',
3214
+ AUTO_INCREMENT: false,
3215
+ SKIP_COLUMN_IN_POST: false
3216
+ },
3217
+ 'carbon_wp_posts.post_parent': {
3218
+ MYSQL_TYPE: 'bigint unsigned',
3219
+ MAX_LENGTH: '',
3220
+ AUTO_INCREMENT: false,
3221
+ SKIP_COLUMN_IN_POST: true
3222
+ },
3223
+ 'carbon_wp_posts.guid': {
3224
+ MYSQL_TYPE: 'varchar',
3225
+ MAX_LENGTH: '255',
3226
+ AUTO_INCREMENT: false,
3227
+ SKIP_COLUMN_IN_POST: true
3228
+ },
3229
+ 'carbon_wp_posts.menu_order': {
3230
+ MYSQL_TYPE: 'int',
3231
+ MAX_LENGTH: '',
3232
+ AUTO_INCREMENT: false,
3233
+ SKIP_COLUMN_IN_POST: true
3234
+ },
3235
+ 'carbon_wp_posts.post_type': {
3236
+ MYSQL_TYPE: 'varchar',
3237
+ MAX_LENGTH: '20',
3238
+ AUTO_INCREMENT: false,
3239
+ SKIP_COLUMN_IN_POST: true
3240
+ },
3241
+ 'carbon_wp_posts.post_mime_type': {
3242
+ MYSQL_TYPE: 'varchar',
3243
+ MAX_LENGTH: '100',
3244
+ AUTO_INCREMENT: false,
3245
+ SKIP_COLUMN_IN_POST: true
3246
+ },
3247
+ 'carbon_wp_posts.comment_count': {
3248
+ MYSQL_TYPE: 'bigint',
3249
+ MAX_LENGTH: '',
3250
+ AUTO_INCREMENT: false,
3251
+ SKIP_COLUMN_IN_POST: true
3252
+ },
3253
+ },
3254
+ REGEX_VALIDATION: {}
3255
+ };
3256
+ var wp_term_relationships = {
3257
+ TABLE_NAME: 'wp_term_relationships',
3258
+ OBJECT_ID: 'carbon_wp_term_relationships.object_id',
3259
+ TERM_TAXONOMY_ID: 'carbon_wp_term_relationships.term_taxonomy_id',
3260
+ TERM_ORDER: 'carbon_wp_term_relationships.term_order',
3261
+ PRIMARY: [
3262
+ 'carbon_wp_term_relationships.object_id',
3263
+ 'carbon_wp_term_relationships.term_taxonomy_id',
3264
+ ],
3265
+ PRIMARY_SHORT: [
3266
+ 'object_id', 'term_taxonomy_id',
3267
+ ],
3268
+ COLUMNS: {
3269
+ 'carbon_wp_term_relationships.object_id': 'object_id',
3270
+ 'carbon_wp_term_relationships.term_taxonomy_id': 'term_taxonomy_id',
3271
+ 'carbon_wp_term_relationships.term_order': 'term_order',
3272
+ },
3273
+ TYPE_VALIDATION: {
3274
+ 'carbon_wp_term_relationships.object_id': {
3275
+ MYSQL_TYPE: 'bigint unsigned',
3276
+ MAX_LENGTH: '',
3277
+ AUTO_INCREMENT: false,
3278
+ SKIP_COLUMN_IN_POST: true
3279
+ },
3280
+ 'carbon_wp_term_relationships.term_taxonomy_id': {
3281
+ MYSQL_TYPE: 'bigint unsigned',
3282
+ MAX_LENGTH: '',
3283
+ AUTO_INCREMENT: false,
3284
+ SKIP_COLUMN_IN_POST: true
3285
+ },
3286
+ 'carbon_wp_term_relationships.term_order': {
3287
+ MYSQL_TYPE: 'int',
3288
+ MAX_LENGTH: '',
3289
+ AUTO_INCREMENT: false,
3290
+ SKIP_COLUMN_IN_POST: true
3291
+ },
3292
+ },
3293
+ REGEX_VALIDATION: {}
3294
+ };
3295
+ var wp_term_taxonomy = {
3296
+ TABLE_NAME: 'wp_term_taxonomy',
3297
+ TERM_TAXONOMY_ID: 'carbon_wp_term_taxonomy.term_taxonomy_id',
3298
+ TERM_ID: 'carbon_wp_term_taxonomy.term_id',
3299
+ TAXONOMY: 'carbon_wp_term_taxonomy.taxonomy',
3300
+ DESCRIPTION: 'carbon_wp_term_taxonomy.description',
3301
+ PARENT: 'carbon_wp_term_taxonomy.parent',
3302
+ COUNT: 'carbon_wp_term_taxonomy.count',
3303
+ PRIMARY: [
3304
+ 'carbon_wp_term_taxonomy.term_taxonomy_id',
3305
+ ],
3306
+ PRIMARY_SHORT: [
3307
+ 'term_taxonomy_id',
3308
+ ],
3309
+ COLUMNS: {
3310
+ 'carbon_wp_term_taxonomy.term_taxonomy_id': 'term_taxonomy_id',
3311
+ 'carbon_wp_term_taxonomy.term_id': 'term_id',
3312
+ 'carbon_wp_term_taxonomy.taxonomy': 'taxonomy',
3313
+ 'carbon_wp_term_taxonomy.description': 'description',
3314
+ 'carbon_wp_term_taxonomy.parent': 'parent',
3315
+ 'carbon_wp_term_taxonomy.count': 'count',
3316
+ },
3317
+ TYPE_VALIDATION: {
3318
+ 'carbon_wp_term_taxonomy.term_taxonomy_id': {
3319
+ MYSQL_TYPE: 'bigint unsigned',
3320
+ MAX_LENGTH: '',
3321
+ AUTO_INCREMENT: true,
3322
+ SKIP_COLUMN_IN_POST: true
3323
+ },
3324
+ 'carbon_wp_term_taxonomy.term_id': {
3325
+ MYSQL_TYPE: 'bigint unsigned',
3326
+ MAX_LENGTH: '',
3327
+ AUTO_INCREMENT: false,
3328
+ SKIP_COLUMN_IN_POST: true
3329
+ },
3330
+ 'carbon_wp_term_taxonomy.taxonomy': {
3331
+ MYSQL_TYPE: 'varchar',
3332
+ MAX_LENGTH: '32',
3333
+ AUTO_INCREMENT: false,
3334
+ SKIP_COLUMN_IN_POST: true
3335
+ },
3336
+ 'carbon_wp_term_taxonomy.description': {
3337
+ MYSQL_TYPE: 'longtext',
3338
+ MAX_LENGTH: '',
3339
+ AUTO_INCREMENT: false,
3340
+ SKIP_COLUMN_IN_POST: false
3341
+ },
3342
+ 'carbon_wp_term_taxonomy.parent': {
3343
+ MYSQL_TYPE: 'bigint unsigned',
3344
+ MAX_LENGTH: '',
3345
+ AUTO_INCREMENT: false,
3346
+ SKIP_COLUMN_IN_POST: true
3347
+ },
3348
+ 'carbon_wp_term_taxonomy.count': {
3349
+ MYSQL_TYPE: 'bigint',
3350
+ MAX_LENGTH: '',
3351
+ AUTO_INCREMENT: false,
3352
+ SKIP_COLUMN_IN_POST: true
3353
+ },
3354
+ },
3355
+ REGEX_VALIDATION: {}
3356
+ };
3357
+ var wp_termmeta = {
3358
+ TABLE_NAME: 'wp_termmeta',
3359
+ META_ID: 'carbon_wp_termmeta.meta_id',
3360
+ TERM_ID: 'carbon_wp_termmeta.term_id',
3361
+ META_KEY: 'carbon_wp_termmeta.meta_key',
3362
+ META_VALUE: 'carbon_wp_termmeta.meta_value',
3363
+ PRIMARY: [
3364
+ 'carbon_wp_termmeta.meta_id',
3365
+ ],
3366
+ PRIMARY_SHORT: [
3367
+ 'meta_id',
3368
+ ],
3369
+ COLUMNS: {
3370
+ 'carbon_wp_termmeta.meta_id': 'meta_id',
3371
+ 'carbon_wp_termmeta.term_id': 'term_id',
3372
+ 'carbon_wp_termmeta.meta_key': 'meta_key',
3373
+ 'carbon_wp_termmeta.meta_value': 'meta_value',
3374
+ },
3375
+ TYPE_VALIDATION: {
3376
+ 'carbon_wp_termmeta.meta_id': {
3377
+ MYSQL_TYPE: 'bigint unsigned',
3378
+ MAX_LENGTH: '',
3379
+ AUTO_INCREMENT: true,
3380
+ SKIP_COLUMN_IN_POST: true
3381
+ },
3382
+ 'carbon_wp_termmeta.term_id': {
3383
+ MYSQL_TYPE: 'bigint unsigned',
3384
+ MAX_LENGTH: '',
3385
+ AUTO_INCREMENT: false,
3386
+ SKIP_COLUMN_IN_POST: true
3387
+ },
3388
+ 'carbon_wp_termmeta.meta_key': {
3389
+ MYSQL_TYPE: 'varchar',
3390
+ MAX_LENGTH: '255',
3391
+ AUTO_INCREMENT: false,
3392
+ SKIP_COLUMN_IN_POST: true
3393
+ },
3394
+ 'carbon_wp_termmeta.meta_value': {
3395
+ MYSQL_TYPE: 'longtext',
3396
+ MAX_LENGTH: '',
3397
+ AUTO_INCREMENT: false,
3398
+ SKIP_COLUMN_IN_POST: false
3399
+ },
3400
+ },
3401
+ REGEX_VALIDATION: {}
3402
+ };
3403
+ var wp_terms = {
3404
+ TABLE_NAME: 'wp_terms',
3405
+ TERM_ID: 'carbon_wp_terms.term_id',
3406
+ NAME: 'carbon_wp_terms.name',
3407
+ SLUG: 'carbon_wp_terms.slug',
3408
+ TERM_GROUP: 'carbon_wp_terms.term_group',
3409
+ PRIMARY: [
3410
+ 'carbon_wp_terms.term_id',
3411
+ ],
3412
+ PRIMARY_SHORT: [
3413
+ 'term_id',
3414
+ ],
3415
+ COLUMNS: {
3416
+ 'carbon_wp_terms.term_id': 'term_id',
3417
+ 'carbon_wp_terms.name': 'name',
3418
+ 'carbon_wp_terms.slug': 'slug',
3419
+ 'carbon_wp_terms.term_group': 'term_group',
3420
+ },
3421
+ TYPE_VALIDATION: {
3422
+ 'carbon_wp_terms.term_id': {
3423
+ MYSQL_TYPE: 'bigint unsigned',
3424
+ MAX_LENGTH: '',
3425
+ AUTO_INCREMENT: true,
3426
+ SKIP_COLUMN_IN_POST: true
3427
+ },
3428
+ 'carbon_wp_terms.name': {
3429
+ MYSQL_TYPE: 'varchar',
3430
+ MAX_LENGTH: '200',
3431
+ AUTO_INCREMENT: false,
3432
+ SKIP_COLUMN_IN_POST: true
3433
+ },
3434
+ 'carbon_wp_terms.slug': {
3435
+ MYSQL_TYPE: 'varchar',
3436
+ MAX_LENGTH: '200',
3437
+ AUTO_INCREMENT: false,
3438
+ SKIP_COLUMN_IN_POST: true
3439
+ },
3440
+ 'carbon_wp_terms.term_group': {
3441
+ MYSQL_TYPE: 'bigint',
3442
+ MAX_LENGTH: '',
3443
+ AUTO_INCREMENT: false,
3444
+ SKIP_COLUMN_IN_POST: true
3445
+ },
3446
+ },
3447
+ REGEX_VALIDATION: {}
3448
+ };
3449
+ var wp_usermeta = {
3450
+ TABLE_NAME: 'wp_usermeta',
3451
+ UMETA_ID: 'carbon_wp_usermeta.umeta_id',
3452
+ USER_ID: 'carbon_wp_usermeta.user_id',
3453
+ META_KEY: 'carbon_wp_usermeta.meta_key',
3454
+ META_VALUE: 'carbon_wp_usermeta.meta_value',
3455
+ PRIMARY: [
3456
+ 'carbon_wp_usermeta.umeta_id',
3457
+ ],
3458
+ PRIMARY_SHORT: [
3459
+ 'umeta_id',
3460
+ ],
3461
+ COLUMNS: {
3462
+ 'carbon_wp_usermeta.umeta_id': 'umeta_id',
3463
+ 'carbon_wp_usermeta.user_id': 'user_id',
3464
+ 'carbon_wp_usermeta.meta_key': 'meta_key',
3465
+ 'carbon_wp_usermeta.meta_value': 'meta_value',
3466
+ },
3467
+ TYPE_VALIDATION: {
3468
+ 'carbon_wp_usermeta.umeta_id': {
3469
+ MYSQL_TYPE: 'bigint unsigned',
3470
+ MAX_LENGTH: '',
3471
+ AUTO_INCREMENT: true,
3472
+ SKIP_COLUMN_IN_POST: true
3473
+ },
3474
+ 'carbon_wp_usermeta.user_id': {
3475
+ MYSQL_TYPE: 'bigint unsigned',
3476
+ MAX_LENGTH: '',
3477
+ AUTO_INCREMENT: false,
3478
+ SKIP_COLUMN_IN_POST: true
3479
+ },
3480
+ 'carbon_wp_usermeta.meta_key': {
3481
+ MYSQL_TYPE: 'varchar',
3482
+ MAX_LENGTH: '255',
3483
+ AUTO_INCREMENT: false,
3484
+ SKIP_COLUMN_IN_POST: true
3485
+ },
3486
+ 'carbon_wp_usermeta.meta_value': {
3487
+ MYSQL_TYPE: 'longtext',
3488
+ MAX_LENGTH: '',
3489
+ AUTO_INCREMENT: false,
3490
+ SKIP_COLUMN_IN_POST: false
3491
+ },
3492
+ },
3493
+ REGEX_VALIDATION: {}
3494
+ };
3495
+ var wp_users = {
3496
+ TABLE_NAME: 'wp_users',
3497
+ ID: 'carbon_wp_users.ID',
3498
+ USER_LOGIN: 'carbon_wp_users.user_login',
3499
+ USER_PASS: 'carbon_wp_users.user_pass',
3500
+ USER_NICENAME: 'carbon_wp_users.user_nicename',
3501
+ USER_EMAIL: 'carbon_wp_users.user_email',
3502
+ USER_URL: 'carbon_wp_users.user_url',
3503
+ USER_REGISTERED: 'carbon_wp_users.user_registered',
3504
+ USER_ACTIVATION_KEY: 'carbon_wp_users.user_activation_key',
3505
+ USER_STATUS: 'carbon_wp_users.user_status',
3506
+ DISPLAY_NAME: 'carbon_wp_users.display_name',
3507
+ PRIMARY: [
3508
+ 'carbon_wp_users.ID',
3509
+ ],
3510
+ PRIMARY_SHORT: [
3511
+ 'ID',
3512
+ ],
3513
+ COLUMNS: {
3514
+ 'carbon_wp_users.ID': 'ID',
3515
+ 'carbon_wp_users.user_login': 'user_login',
3516
+ 'carbon_wp_users.user_pass': 'user_pass',
3517
+ 'carbon_wp_users.user_nicename': 'user_nicename',
3518
+ 'carbon_wp_users.user_email': 'user_email',
3519
+ 'carbon_wp_users.user_url': 'user_url',
3520
+ 'carbon_wp_users.user_registered': 'user_registered',
3521
+ 'carbon_wp_users.user_activation_key': 'user_activation_key',
3522
+ 'carbon_wp_users.user_status': 'user_status',
3523
+ 'carbon_wp_users.display_name': 'display_name',
3524
+ },
3525
+ TYPE_VALIDATION: {
3526
+ 'carbon_wp_users.ID': {
3527
+ MYSQL_TYPE: 'bigint unsigned',
3528
+ MAX_LENGTH: '',
3529
+ AUTO_INCREMENT: true,
3530
+ SKIP_COLUMN_IN_POST: true
3531
+ },
3532
+ 'carbon_wp_users.user_login': {
3533
+ MYSQL_TYPE: 'varchar',
3534
+ MAX_LENGTH: '60',
3535
+ AUTO_INCREMENT: false,
3536
+ SKIP_COLUMN_IN_POST: true
3537
+ },
3538
+ 'carbon_wp_users.user_pass': {
3539
+ MYSQL_TYPE: 'varchar',
3540
+ MAX_LENGTH: '255',
3541
+ AUTO_INCREMENT: false,
3542
+ SKIP_COLUMN_IN_POST: true
3543
+ },
3544
+ 'carbon_wp_users.user_nicename': {
3545
+ MYSQL_TYPE: 'varchar',
3546
+ MAX_LENGTH: '50',
3547
+ AUTO_INCREMENT: false,
3548
+ SKIP_COLUMN_IN_POST: true
3549
+ },
3550
+ 'carbon_wp_users.user_email': {
3551
+ MYSQL_TYPE: 'varchar',
3552
+ MAX_LENGTH: '100',
3553
+ AUTO_INCREMENT: false,
3554
+ SKIP_COLUMN_IN_POST: true
3555
+ },
3556
+ 'carbon_wp_users.user_url': {
3557
+ MYSQL_TYPE: 'varchar',
3558
+ MAX_LENGTH: '100',
3559
+ AUTO_INCREMENT: false,
3560
+ SKIP_COLUMN_IN_POST: true
3561
+ },
3562
+ 'carbon_wp_users.user_registered': {
3563
+ MYSQL_TYPE: 'datetime',
3564
+ MAX_LENGTH: '',
3565
+ AUTO_INCREMENT: false,
3566
+ SKIP_COLUMN_IN_POST: true
3567
+ },
3568
+ 'carbon_wp_users.user_activation_key': {
3569
+ MYSQL_TYPE: 'varchar',
3570
+ MAX_LENGTH: '255',
3571
+ AUTO_INCREMENT: false,
3572
+ SKIP_COLUMN_IN_POST: true
3573
+ },
3574
+ 'carbon_wp_users.user_status': {
3575
+ MYSQL_TYPE: 'int',
3576
+ MAX_LENGTH: '',
3577
+ AUTO_INCREMENT: false,
3578
+ SKIP_COLUMN_IN_POST: true
3579
+ },
3580
+ 'carbon_wp_users.display_name': {
3581
+ MYSQL_TYPE: 'varchar',
3582
+ MAX_LENGTH: '250',
3583
+ AUTO_INCREMENT: false,
3584
+ SKIP_COLUMN_IN_POST: true
3585
+ },
3586
+ },
3587
+ REGEX_VALIDATION: {}
3588
+ };
3589
+ var TABLES = {
3590
+ carbons: carbons,
3591
+ comments: comments,
3592
+ documentation: documentation,
3593
+ feature_group_references: feature_group_references,
3594
+ features: features,
3595
+ group_references: group_references,
3596
+ groups: groups,
3597
+ history_logs: history_logs,
3598
+ location_references: location_references,
3599
+ locations: locations,
3600
+ photos: photos,
3601
+ reports: reports,
3602
+ user_followers: user_followers,
3603
+ user_groups: user_groups,
3604
+ user_messages: user_messages,
3605
+ user_sessions: user_sessions,
3606
+ user_tasks: user_tasks,
3607
+ users: users,
3608
+ wp_commentmeta: wp_commentmeta,
3609
+ wp_comments: wp_comments,
3610
+ wp_links: wp_links,
3611
+ wp_options: wp_options,
3612
+ wp_postmeta: wp_postmeta,
3613
+ wp_posts: wp_posts,
3614
+ wp_term_relationships: wp_term_relationships,
3615
+ wp_term_taxonomy: wp_term_taxonomy,
3616
+ wp_termmeta: wp_termmeta,
3617
+ wp_terms: wp_terms,
3618
+ wp_usermeta: wp_usermeta,
3619
+ wp_users: wp_users,
3620
+ };
3621
+ var C6 = __assign({
3622
+ // try to 1=1 match the Rest abstract class
3623
+ ADDDATE: 'ADDDATE', ADDTIME: 'ADDTIME', AS: 'AS', ASC: 'ASC', BETWEEN: 'BETWEEN', CONCAT: 'CONCAT', CONVERT_TZ: 'CONVERT_TZ', COUNT: 'COUNT', COUNT_ALL: 'COUNT_ALL', CURRENT_DATE: 'CURRENT_DATE', CURRENT_TIMESTAMP: 'CURRENT_TIMESTAMP', DAY: 'DAY', DAY_HOUR: 'DAY_HOUR', DAY_MICROSECOND: 'DAY_MICROSECOND', DAY_MINUTE: 'DAY_MINUTE', DAY_SECOND: 'DAY_SECOND', DAYNAME: 'DAYNAME', DAYOFMONTH: 'DAYOFMONTH', DAYOFWEEK: 'DAYOFWEEK', DAYOFYEAR: 'DAYOFYEAR', DATE: 'DATE', DATE_ADD: 'DATE_ADD', DATEDIFF: 'DATEDIFF', DATE_SUB: 'DATE_SUB', DATE_FORMAT: 'DATE_FORMAT', DESC: 'DESC', DISTINCT: 'DISTINCT', EXTRACT: 'EXTRACT', EQUAL: '=', EQUAL_NULL_SAFE: '<=>', FALSE: 'FALSE', FULL_OUTER: 'FULL_OUTER', FROM_DAYS: 'FROM_DAYS', FROM_UNIXTIME: 'FROM_UNIXTIME', GET_FORMAT: 'GET_FORMAT', GREATER_THAN: '>', GROUP_BY: 'GROUP_BY', GROUP_CONCAT: 'GROUP_CONCAT', GREATER_THAN_OR_EQUAL_TO: '>=', HAVING: 'HAVING', HEX: 'HEX', HOUR: 'HOUR', HOUR_MICROSECOND: 'HOUR_MICROSECOND', HOUR_SECOND: 'HOUR_SECOND', HOUR_MINUTE: 'HOUR_MINUTE', IN: 'IN', IS: 'IS', IS_NOT: 'IS_NOT', INNER: 'INNER', INTERVAL: 'INTERVAL', JOIN: 'JOIN', LEFT: 'LEFT', LEFT_OUTER: 'LEFT_OUTER', LESS_THAN: '<', LESS_THAN_OR_EQUAL_TO: '<=', LIKE: 'LIKE', LIMIT: 'LIMIT', LOCALTIME: 'LOCALTIME', LOCALTIMESTAMP: 'LOCALTIMESTAMP', MAKEDATE: 'MAKEDATE', MAKETIME: 'MAKETIME', MONTHNAME: 'MONTHNAME', MICROSECOND: 'MICROSECOND', MINUTE: 'MINUTE', MINUTE_MICROSECOND: 'MINUTE_MICROSECOND', MINUTE_SECOND: 'MINUTE_SECOND', MIN: 'MIN', MAX: 'MAX', MONTH: 'MONTH', NOT_LIKE: 'NOT_LIKE', NOT_EQUAL: '<>', NOT_IN: 'NOT_IN', NOW: 'NOW', NULL: 'NULL', ORDER: 'ORDER', PAGE: 'PAGE', PAGINATION: 'PAGINATION', RIGHT_OUTER: 'RIGHT_OUTER', SECOND: 'SECOND', SECOND_MICROSECOND: 'SECOND_MICROSECOND', SELECT: 'SELECT', STR_TO_DATE: 'STR_TO_DATE', SUBDATE: 'SUBDATE', SUBTIME: 'SUBTIME', SUM: 'SUM', SYSDATE: 'SYSDATE', TIME: 'TIME', TIME_FORMAT: 'TIME_FORMAT', TIME_TO_SEC: 'TIME_TO_SEC', TIMEDIFF: 'TIMEDIFF', TIMESTAMP: 'TIMESTAMP', TIMESTAMPADD: 'TIMESTAMPADD', TIMESTAMPDIFF: 'TIMESTAMPDIFF', TO_DAYS: 'TO_DAYS', TO_SECONDS: 'TO_SECONDS', TRANSACTION_TIMESTAMP: 'TRANSACTION_TIMESTAMP', TRUE: 'TRUE', UNIX_TIMESTAMP: 'UNIX_TIMESTAMP', UNKNOWN: 'UNKNOWN', UPDATE: 'UPDATE', UNHEX: 'UNHEX', UTC_DATE: 'UNHEX', UTC_TIME: 'UNHEX', UTC_TIMESTAMP: 'UNHEX', WHERE: 'WHERE', WEEKDAY: 'WEEKDAY', WEEKOFYEAR: 'WEEKOFYEAR', YEARWEEK: 'YEARWEEK',
3624
+ // carbon identifiers
3625
+ DEPENDANT_ON_ENTITY: 'DEPENDANT_ON_ENTITY',
3626
+ // PHP validation
3627
+ OPTIONS: 'OPTIONS', GET: 'GET', POST: 'POST', PUT: 'PUT', REPLACE: 'REPLACE INTO', DELETE: 'DELETE', REST_REQUEST_PREPROCESS_CALLBACKS: 'PREPROCESS', PREPROCESS: 'PREPROCESS', REST_REQUEST_FINNISH_CALLBACKS: 'FINISH', FINISH: 'FINISH', VALIDATE_C6_ENTITY_ID_REGEX: '#^([a-fA-F0-9]{20,35})$#', TABLES: TABLES }, TABLES);
3628
+ var COLUMNS = {
3629
+ 'carbon_carbons.entity_pk': 'entity_pk',
3630
+ 'carbon_carbons.entity_fk': 'entity_fk',
3631
+ 'carbon_carbons.entity_tag': 'entity_tag',
3632
+ 'carbon_comments.parent_id': 'parent_id',
3633
+ 'carbon_comments.comment_id': 'comment_id',
3634
+ 'carbon_comments.user_id': 'user_id',
3635
+ 'carbon_comments.comment': 'comment',
3636
+ 'carbon_documentation.documentation_uri': 'documentation_uri',
3637
+ 'carbon_documentation.documentation_data': 'documentation_data',
3638
+ 'carbon_documentation.documentation_version': 'documentation_version',
3639
+ 'carbon_documentation.documentation_active': 'documentation_active',
3640
+ 'carbon_feature_group_references.feature_entity_id': 'feature_entity_id',
3641
+ 'carbon_feature_group_references.group_entity_id': 'group_entity_id',
3642
+ 'carbon_features.feature_entity_id': 'feature_entity_id',
3643
+ 'carbon_features.feature_code': 'feature_code',
3644
+ 'carbon_features.feature_creation_date': 'feature_creation_date',
3645
+ 'carbon_group_references.group_id': 'group_id',
3646
+ 'carbon_group_references.allowed_to_grant_group_id': 'allowed_to_grant_group_id',
3647
+ 'carbon_groups.group_name': 'group_name',
3648
+ 'carbon_groups.entity_id': 'entity_id',
3649
+ 'carbon_groups.created_by': 'created_by',
3650
+ 'carbon_groups.creation_date': 'creation_date',
3651
+ 'carbon_history_logs.history_uuid': 'history_uuid',
3652
+ 'carbon_history_logs.history_table': 'history_table',
3653
+ 'carbon_history_logs.history_type': 'history_type',
3654
+ 'carbon_history_logs.history_data': 'history_data',
3655
+ 'carbon_history_logs.history_original_query': 'history_original_query',
3656
+ 'carbon_history_logs.history_time': 'history_time',
3657
+ 'carbon_location_references.entity_reference': 'entity_reference',
3658
+ 'carbon_location_references.location_reference': 'location_reference',
3659
+ 'carbon_location_references.location_time': 'location_time',
3660
+ 'carbon_locations.entity_id': 'entity_id',
3661
+ 'carbon_locations.latitude': 'latitude',
3662
+ 'carbon_locations.longitude': 'longitude',
3663
+ 'carbon_locations.street': 'street',
3664
+ 'carbon_locations.city': 'city',
3665
+ 'carbon_locations.state': 'state',
3666
+ 'carbon_locations.elevation': 'elevation',
3667
+ 'carbon_locations.zip': 'zip',
3668
+ 'carbon_photos.parent_id': 'parent_id',
3669
+ 'carbon_photos.photo_id': 'photo_id',
3670
+ 'carbon_photos.user_id': 'user_id',
3671
+ 'carbon_photos.photo_path': 'photo_path',
3672
+ 'carbon_photos.photo_description': 'photo_description',
3673
+ 'carbon_reports.log_level': 'log_level',
3674
+ 'carbon_reports.report': 'report',
3675
+ 'carbon_reports.date': 'date',
3676
+ 'carbon_reports.call_trace': 'call_trace',
3677
+ 'carbon_user_followers.follower_table_id': 'follower_table_id',
3678
+ 'carbon_user_followers.follows_user_id': 'follows_user_id',
3679
+ 'carbon_user_followers.user_id': 'user_id',
3680
+ 'carbon_user_groups.group_id': 'group_id',
3681
+ 'carbon_user_groups.user_id': 'user_id',
3682
+ 'carbon_user_messages.message_id': 'message_id',
3683
+ 'carbon_user_messages.from_user_id': 'from_user_id',
3684
+ 'carbon_user_messages.to_user_id': 'to_user_id',
3685
+ 'carbon_user_messages.message': 'message',
3686
+ 'carbon_user_messages.message_read': 'message_read',
3687
+ 'carbon_user_messages.creation_date': 'creation_date',
3688
+ 'carbon_user_sessions.user_id': 'user_id',
3689
+ 'carbon_user_sessions.user_ip': 'user_ip',
3690
+ 'carbon_user_sessions.session_id': 'session_id',
3691
+ 'carbon_user_sessions.session_expires': 'session_expires',
3692
+ 'carbon_user_sessions.session_data': 'session_data',
3693
+ 'carbon_user_sessions.user_online_status': 'user_online_status',
3694
+ 'carbon_user_tasks.task_id': 'task_id',
3695
+ 'carbon_user_tasks.user_id': 'user_id',
3696
+ 'carbon_user_tasks.from_id': 'from_id',
3697
+ 'carbon_user_tasks.task_name': 'task_name',
3698
+ 'carbon_user_tasks.task_description': 'task_description',
3699
+ 'carbon_user_tasks.percent_complete': 'percent_complete',
3700
+ 'carbon_user_tasks.start_date': 'start_date',
3701
+ 'carbon_user_tasks.end_date': 'end_date',
3702
+ 'carbon_users.user_username': 'user_username',
3703
+ 'carbon_users.user_password': 'user_password',
3704
+ 'carbon_users.user_id': 'user_id',
3705
+ 'carbon_users.user_type': 'user_type',
3706
+ 'carbon_users.user_sport': 'user_sport',
3707
+ 'carbon_users.user_session_id': 'user_session_id',
3708
+ 'carbon_users.user_facebook_id': 'user_facebook_id',
3709
+ 'carbon_users.user_first_name': 'user_first_name',
3710
+ 'carbon_users.user_last_name': 'user_last_name',
3711
+ 'carbon_users.user_profile_pic': 'user_profile_pic',
3712
+ 'carbon_users.user_profile_uri': 'user_profile_uri',
3713
+ 'carbon_users.user_cover_photo': 'user_cover_photo',
3714
+ 'carbon_users.user_birthday': 'user_birthday',
3715
+ 'carbon_users.user_gender': 'user_gender',
3716
+ 'carbon_users.user_about_me': 'user_about_me',
3717
+ 'carbon_users.user_rank': 'user_rank',
3718
+ 'carbon_users.user_email': 'user_email',
3719
+ 'carbon_users.user_email_code': 'user_email_code',
3720
+ 'carbon_users.user_email_confirmed': 'user_email_confirmed',
3721
+ 'carbon_users.user_generated_string': 'user_generated_string',
3722
+ 'carbon_users.user_membership': 'user_membership',
3723
+ 'carbon_users.user_deactivated': 'user_deactivated',
3724
+ 'carbon_users.user_last_login': 'user_last_login',
3725
+ 'carbon_users.user_ip': 'user_ip',
3726
+ 'carbon_users.user_education_history': 'user_education_history',
3727
+ 'carbon_users.user_location': 'user_location',
3728
+ 'carbon_users.user_creation_date': 'user_creation_date',
3729
+ 'carbon_wp_commentmeta.meta_id': 'meta_id',
3730
+ 'carbon_wp_commentmeta.comment_id': 'comment_id',
3731
+ 'carbon_wp_commentmeta.meta_key': 'meta_key',
3732
+ 'carbon_wp_commentmeta.meta_value': 'meta_value',
3733
+ 'carbon_wp_comments.comment_ID': 'comment_ID',
3734
+ 'carbon_wp_comments.comment_post_ID': 'comment_post_ID',
3735
+ 'carbon_wp_comments.comment_author': 'comment_author',
3736
+ 'carbon_wp_comments.comment_author_email': 'comment_author_email',
3737
+ 'carbon_wp_comments.comment_author_url': 'comment_author_url',
3738
+ 'carbon_wp_comments.comment_author_IP': 'comment_author_IP',
3739
+ 'carbon_wp_comments.comment_date': 'comment_date',
3740
+ 'carbon_wp_comments.comment_date_gmt': 'comment_date_gmt',
3741
+ 'carbon_wp_comments.comment_content': 'comment_content',
3742
+ 'carbon_wp_comments.comment_karma': 'comment_karma',
3743
+ 'carbon_wp_comments.comment_approved': 'comment_approved',
3744
+ 'carbon_wp_comments.comment_agent': 'comment_agent',
3745
+ 'carbon_wp_comments.comment_type': 'comment_type',
3746
+ 'carbon_wp_comments.comment_parent': 'comment_parent',
3747
+ 'carbon_wp_comments.user_id': 'user_id',
3748
+ 'carbon_wp_links.link_id': 'link_id',
3749
+ 'carbon_wp_links.link_url': 'link_url',
3750
+ 'carbon_wp_links.link_name': 'link_name',
3751
+ 'carbon_wp_links.link_image': 'link_image',
3752
+ 'carbon_wp_links.link_target': 'link_target',
3753
+ 'carbon_wp_links.link_description': 'link_description',
3754
+ 'carbon_wp_links.link_visible': 'link_visible',
3755
+ 'carbon_wp_links.link_owner': 'link_owner',
3756
+ 'carbon_wp_links.link_rating': 'link_rating',
3757
+ 'carbon_wp_links.link_updated': 'link_updated',
3758
+ 'carbon_wp_links.link_rel': 'link_rel',
3759
+ 'carbon_wp_links.link_notes': 'link_notes',
3760
+ 'carbon_wp_links.link_rss': 'link_rss',
3761
+ 'carbon_wp_options.option_id': 'option_id',
3762
+ 'carbon_wp_options.option_name': 'option_name',
3763
+ 'carbon_wp_options.option_value': 'option_value',
3764
+ 'carbon_wp_options.autoload': 'autoload',
3765
+ 'carbon_wp_postmeta.meta_id': 'meta_id',
3766
+ 'carbon_wp_postmeta.post_id': 'post_id',
3767
+ 'carbon_wp_postmeta.meta_key': 'meta_key',
3768
+ 'carbon_wp_postmeta.meta_value': 'meta_value',
3769
+ 'carbon_wp_posts.ID': 'ID',
3770
+ 'carbon_wp_posts.post_author': 'post_author',
3771
+ 'carbon_wp_posts.post_date': 'post_date',
3772
+ 'carbon_wp_posts.post_date_gmt': 'post_date_gmt',
3773
+ 'carbon_wp_posts.post_content': 'post_content',
3774
+ 'carbon_wp_posts.post_title': 'post_title',
3775
+ 'carbon_wp_posts.post_excerpt': 'post_excerpt',
3776
+ 'carbon_wp_posts.post_status': 'post_status',
3777
+ 'carbon_wp_posts.comment_status': 'comment_status',
3778
+ 'carbon_wp_posts.ping_status': 'ping_status',
3779
+ 'carbon_wp_posts.post_password': 'post_password',
3780
+ 'carbon_wp_posts.post_name': 'post_name',
3781
+ 'carbon_wp_posts.to_ping': 'to_ping',
3782
+ 'carbon_wp_posts.pinged': 'pinged',
3783
+ 'carbon_wp_posts.post_modified': 'post_modified',
3784
+ 'carbon_wp_posts.post_modified_gmt': 'post_modified_gmt',
3785
+ 'carbon_wp_posts.post_content_filtered': 'post_content_filtered',
3786
+ 'carbon_wp_posts.post_parent': 'post_parent',
3787
+ 'carbon_wp_posts.guid': 'guid',
3788
+ 'carbon_wp_posts.menu_order': 'menu_order',
3789
+ 'carbon_wp_posts.post_type': 'post_type',
3790
+ 'carbon_wp_posts.post_mime_type': 'post_mime_type',
3791
+ 'carbon_wp_posts.comment_count': 'comment_count',
3792
+ 'carbon_wp_term_relationships.object_id': 'object_id',
3793
+ 'carbon_wp_term_relationships.term_taxonomy_id': 'term_taxonomy_id',
3794
+ 'carbon_wp_term_relationships.term_order': 'term_order',
3795
+ 'carbon_wp_term_taxonomy.term_taxonomy_id': 'term_taxonomy_id',
3796
+ 'carbon_wp_term_taxonomy.term_id': 'term_id',
3797
+ 'carbon_wp_term_taxonomy.taxonomy': 'taxonomy',
3798
+ 'carbon_wp_term_taxonomy.description': 'description',
3799
+ 'carbon_wp_term_taxonomy.parent': 'parent',
3800
+ 'carbon_wp_term_taxonomy.count': 'count',
3801
+ 'carbon_wp_termmeta.meta_id': 'meta_id',
3802
+ 'carbon_wp_termmeta.term_id': 'term_id',
3803
+ 'carbon_wp_termmeta.meta_key': 'meta_key',
3804
+ 'carbon_wp_termmeta.meta_value': 'meta_value',
3805
+ 'carbon_wp_terms.term_id': 'term_id',
3806
+ 'carbon_wp_terms.name': 'name',
3807
+ 'carbon_wp_terms.slug': 'slug',
3808
+ 'carbon_wp_terms.term_group': 'term_group',
3809
+ 'carbon_wp_usermeta.umeta_id': 'umeta_id',
3810
+ 'carbon_wp_usermeta.user_id': 'user_id',
3811
+ 'carbon_wp_usermeta.meta_key': 'meta_key',
3812
+ 'carbon_wp_usermeta.meta_value': 'meta_value',
3813
+ 'carbon_wp_users.ID': 'ID',
3814
+ 'carbon_wp_users.user_login': 'user_login',
3815
+ 'carbon_wp_users.user_pass': 'user_pass',
3816
+ 'carbon_wp_users.user_nicename': 'user_nicename',
3817
+ 'carbon_wp_users.user_email': 'user_email',
3818
+ 'carbon_wp_users.user_url': 'user_url',
3819
+ 'carbon_wp_users.user_registered': 'user_registered',
3820
+ 'carbon_wp_users.user_activation_key': 'user_activation_key',
3821
+ 'carbon_wp_users.user_status': 'user_status',
3822
+ 'carbon_wp_users.display_name': 'display_name',
3823
+ };
3824
+ var initialRestfulObjectsState = {
3825
+ carbons: undefined,
3826
+ comments: undefined,
3827
+ documentation: undefined,
3828
+ feature_group_references: undefined,
3829
+ features: undefined,
3830
+ group_references: undefined,
3831
+ groups: undefined,
3832
+ history_logs: undefined,
3833
+ location_references: undefined,
3834
+ locations: undefined,
3835
+ photos: undefined,
3836
+ reports: undefined,
3837
+ user_followers: undefined,
2771
3838
  user_groups: undefined,
2772
3839
  user_messages: undefined,
2773
3840
  user_sessions: undefined,
2774
3841
  user_tasks: undefined,
2775
3842
  users: undefined,
3843
+ wp_commentmeta: undefined,
3844
+ wp_comments: undefined,
3845
+ wp_links: undefined,
3846
+ wp_options: undefined,
3847
+ wp_postmeta: undefined,
3848
+ wp_posts: undefined,
3849
+ wp_term_relationships: undefined,
3850
+ wp_term_taxonomy: undefined,
3851
+ wp_termmeta: undefined,
3852
+ wp_terms: undefined,
3853
+ wp_usermeta: undefined,
3854
+ wp_users: undefined,
2776
3855
  };
2777
3856
 
2778
3857
  var _a;
@@ -3034,6 +4113,7 @@ function addValidSQL$1 (sql) {
3034
4113
  //ObjectType, UniqueIdType extends keyof ObjectType
3035
4114
  // @link https://www.typescriptlang.org/docs/handbook/2/mapped-types.html
3036
4115
  function deleteRestfulObjectArrays(dataOrCallback, stateKey, uniqueObjectId, callback) {
4116
+ var uniqueObjectIds = uniqueObjectId instanceof Array ? uniqueObjectId : [uniqueObjectId];
3037
4117
  return CarbonReact.instance.setState(function (previousBootstrapState, props) {
3038
4118
  var _a;
3039
4119
  var newOrReplacementData = [];
@@ -3041,14 +4121,28 @@ function deleteRestfulObjectArrays(dataOrCallback, stateKey, uniqueObjectId, cal
3041
4121
  newOrReplacementData = dataOrCallback;
3042
4122
  }
3043
4123
  else if (dataOrCallback instanceof Function) {
3044
- newOrReplacementData = dataOrCallback(previousBootstrapState, props);
4124
+ var callbackReturn = dataOrCallback(previousBootstrapState, props);
4125
+ if (null === callbackReturn) {
4126
+ return;
4127
+ }
4128
+ newOrReplacementData = callbackReturn;
3045
4129
  }
3046
4130
  else {
3047
4131
  throw Error('The dataOrCallback parameter was not an array or function');
3048
4132
  }
3049
4133
  var previousStateProperty = previousBootstrapState[stateKey];
3050
4134
  return _a = {},
3051
- _a[stateKey] = __spreadArray([], (previousStateProperty === null || previousStateProperty === void 0 ? void 0 : previousStateProperty.filter(function (item) { return false === ((newOrReplacementData === null || newOrReplacementData === void 0 ? void 0 : newOrReplacementData.find(function (value) { return value[uniqueObjectId] === item[uniqueObjectId]; })) || false); })) || [], true),
4135
+ _a[stateKey] = __spreadArray([], (previousStateProperty === null || previousStateProperty === void 0 ? void 0 : previousStateProperty.filter(function (item) { return false === ((newOrReplacementData === null || newOrReplacementData === void 0 ? void 0 : newOrReplacementData.find(function (value) {
4136
+ var isMatch = true;
4137
+ uniqueObjectIds.find(function (uniqueObjectId) {
4138
+ if (value[uniqueObjectId] !== item[uniqueObjectId]) {
4139
+ isMatch = false;
4140
+ return true;
4141
+ }
4142
+ return false;
4143
+ });
4144
+ return isMatch;
4145
+ })) || false); })) || [], true),
3052
4146
  _a;
3053
4147
  }, callback);
3054
4148
  }
@@ -3139,10 +4233,11 @@ var eUpdateInsertMethod;
3139
4233
  */
3140
4234
  function updateRestfulObjectArrays(dataOrCallback, stateKey, uniqueObjectId, insertUpdateOrder, callback) {
3141
4235
  if (insertUpdateOrder === void 0) { insertUpdateOrder = eUpdateInsertMethod.LAST; }
4236
+ var uniqueObjectIds = uniqueObjectId instanceof Array ? uniqueObjectId : [uniqueObjectId];
3142
4237
  var bootstrap = CarbonReact.instance;
3143
4238
  return bootstrap.setState(function (previousBootstrapState, props) {
3144
4239
  var _a, _b, _c;
3145
- var _d, _e, _f;
4240
+ var _d, _e, _f, _g;
3146
4241
  var newOrReplacementData = [];
3147
4242
  if (dataOrCallback instanceof Array) {
3148
4243
  newOrReplacementData = dataOrCallback;
@@ -3153,31 +4248,41 @@ function updateRestfulObjectArrays(dataOrCallback, stateKey, uniqueObjectId, ins
3153
4248
  else {
3154
4249
  throw Error('The dataOrCallback parameter was not an array or function');
3155
4250
  }
3156
- // @ts-ignore
4251
+ var findUniqueObjectIds = function (item, value) {
4252
+ var isMatch = true;
4253
+ uniqueObjectIds.find(function (uniqueObjectId) {
4254
+ if (value[uniqueObjectId] !== item[uniqueObjectId]) {
4255
+ isMatch = false;
4256
+ return true;
4257
+ }
4258
+ return false;
4259
+ });
4260
+ return isMatch;
4261
+ };
3157
4262
  var previousStateProperty = previousBootstrapState[stateKey];
3158
- var updatedData = newOrReplacementData.map(function (value) {
3159
- return __assign(__assign({}, (previousStateProperty === null || previousStateProperty === void 0 ? void 0 : previousStateProperty.find(function (previousValue) { return previousValue[uniqueObjectId] === value[uniqueObjectId]; })) || {}), value);
3160
- });
4263
+ var updatedData = (_d = newOrReplacementData === null || newOrReplacementData === void 0 ? void 0 : newOrReplacementData.map(function (value) {
4264
+ return __assign(__assign({}, (previousStateProperty === null || previousStateProperty === void 0 ? void 0 : previousStateProperty.find(function (previousValue) { return findUniqueObjectIds(previousValue, value); })) || {}), value);
4265
+ })) !== null && _d !== void 0 ? _d : [];
3161
4266
  switch (insertUpdateOrder) {
3162
4267
  default:
3163
4268
  throw Error('The insertUpdateOrder (eUpdateInsertMethod) was not implemented');
3164
4269
  case eUpdateInsertMethod.LAST:
3165
4270
  return _a = {},
3166
- _a[stateKey] = null === newOrReplacementData ? null : __spreadArray(__spreadArray([], updatedData, true), ((_d = previousStateProperty === null || previousStateProperty === void 0 ? void 0 : previousStateProperty.filter(function (item) { return false === ((newOrReplacementData === null || newOrReplacementData === void 0 ? void 0 : newOrReplacementData.find(function (value) { return value[uniqueObjectId] === item[uniqueObjectId]; })) || false); })) !== null && _d !== void 0 ? _d : []), true),
4271
+ _a[stateKey] = null === newOrReplacementData ? null : __spreadArray(__spreadArray([], updatedData, true), ((_e = previousStateProperty === null || previousStateProperty === void 0 ? void 0 : previousStateProperty.filter(function (item) { return false === ((updatedData === null || updatedData === void 0 ? void 0 : updatedData.find(function (value) { return findUniqueObjectIds(item, value); })) || false); })) !== null && _e !== void 0 ? _e : []), true),
3167
4272
  _a;
3168
4273
  case eUpdateInsertMethod.FIRST:
3169
4274
  return _b = {},
3170
- _b[stateKey] = null === newOrReplacementData ? null : __spreadArray(__spreadArray([], ((_e = previousStateProperty === null || previousStateProperty === void 0 ? void 0 : previousStateProperty.filter(function (item) { return false === ((newOrReplacementData === null || newOrReplacementData === void 0 ? void 0 : newOrReplacementData.find(function (value) { return value[uniqueObjectId] === item[uniqueObjectId]; })) || false); })) !== null && _e !== void 0 ? _e : []), true), updatedData, true),
4275
+ _b[stateKey] = null === newOrReplacementData ? null : __spreadArray(__spreadArray([], ((_f = previousStateProperty === null || previousStateProperty === void 0 ? void 0 : previousStateProperty.filter(function (item) { return false === ((updatedData === null || updatedData === void 0 ? void 0 : updatedData.find(function (value) { return findUniqueObjectIds(item, value); })) || false); })) !== null && _f !== void 0 ? _f : []), true), updatedData, true),
3171
4276
  _b;
3172
4277
  case eUpdateInsertMethod.REPLACE: {
3173
4278
  return _c = {},
3174
- _c[stateKey] = __spreadArray(__spreadArray([], ((_f = previousStateProperty === null || previousStateProperty === void 0 ? void 0 : previousStateProperty.map(function (oldObject) {
3175
- var index = updatedData.findIndex(function (item) { return item[uniqueObjectId] === oldObject[uniqueObjectId]; });
4279
+ _c[stateKey] = __spreadArray(__spreadArray([], ((_g = previousStateProperty === null || previousStateProperty === void 0 ? void 0 : previousStateProperty.map(function (oldObject) {
4280
+ var index = updatedData.findIndex(function (item) { return findUniqueObjectIds(item, oldObject); });
3176
4281
  if (-1 === index) {
3177
4282
  return oldObject;
3178
4283
  }
3179
4284
  return updatedData.splice(index, 1).pop();
3180
- })) !== null && _f !== void 0 ? _f : []), true), updatedData, true),
4285
+ })) !== null && _g !== void 0 ? _g : []), true), updatedData, true),
3181
4286
  _c;
3182
4287
  }
3183
4288
  }
@@ -3303,5 +4408,5 @@ function useWindowDimensions() {
3303
4408
  return windowDimensions;
3304
4409
  }
3305
4410
 
3306
- export { AccessDenied, Alert, BackendThrowable, C6, COLUMNS, CarbonReact, ErrorHttpCode, GlobalHistory, Loading, Nest, PageNotFound, Popup, TABLES, addAlert, addValidSQL$1 as addValidSQL, carbons, changed, comments, deleteRestfulObjectArrays, documentation, eUpdateInsertMethod, feature_group_references, features, getRootStyleValue, getStyles, globalNavigate, group_references, groups, hexToRgb, history_logs, initialCarbonReactState, initialRequiredCarbonORMState, initialRestfulObjectsState, isEdgeBrowser, isProduction, location_references, locations, parseMultipleJson, photos, range, reports, ScrollIntoViewDirective as scrollIntoView, setUrl, toDataURL, updateRestfulObjectArrays, uploadImage, uploadImageChange, user_followers, user_groups, user_messages, user_sessions, user_tasks, users, useWindowDimensions as windowDimensions };
4411
+ export { AccessDenied, Alert, BackendThrowable, C6, COLUMNS, CarbonReact, ErrorHttpCode, GlobalHistory, Loading, Nest, PageNotFound, Popup, TABLES, addAlert, addValidSQL$1 as addValidSQL, carbons, changed, comments, deleteRestfulObjectArrays, documentation, eUpdateInsertMethod, feature_group_references, features, getRootStyleValue, getStyles, globalNavigate, group_references, groups, hexToRgb, history_logs, initialCarbonReactState, initialRequiredCarbonORMState, initialRestfulObjectsState, isEdgeBrowser, isProduction, location_references, locations, parseMultipleJson, photos, range, reports, ScrollIntoViewDirective as scrollIntoView, setUrl, toDataURL, updateRestfulObjectArrays, uploadImage, uploadImageChange, user_followers, user_groups, user_messages, user_sessions, user_tasks, users, useWindowDimensions as windowDimensions, wp_commentmeta, wp_comments, wp_links, wp_options, wp_postmeta, wp_posts, wp_term_relationships, wp_term_taxonomy, wp_termmeta, wp_terms, wp_usermeta, wp_users };
3307
4412
  //# sourceMappingURL=index.esm.js.map