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