@cellaware/utils 8.7.3 → 8.7.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/chatwms/cosmos.js
CHANGED
|
@@ -6,7 +6,7 @@ const COSMOS_SQL_ACTION_WORDS_REGEX = /\b(insert|update|delete|create|alter|drop
|
|
|
6
6
|
const COSMOS_SQL_SELECT_REGEX = /\b(select)\b/gmi;
|
|
7
7
|
const COSMOS_SQL_FROM_REGEX = /\b(from)\b/gmi;
|
|
8
8
|
const COSMOS_SQL_WHERE_REGEX = /\b(where)\b/gmi;
|
|
9
|
-
const COSMOS_SQL_APPROVED_TABLES_REGEX = /\b(alert_executions|alert_subscriptions|alerts|client_configs|conversation_details|conversation_feedback|conversation_headers|conversation_metadata|conversation_removed_details|conversation_sampled_details|conversation_sampled_metadata|dashboard_usage|dashboard_widgets|dashboards|notifications|notifications_poll|report_lines|report_schedules|report_usage|reports|user_roles)\b/gmi;
|
|
9
|
+
const COSMOS_SQL_APPROVED_TABLES_REGEX = /\b(alert_executions|alert_subscriptions|alerts|client_configs|conversation_details|conversation_feedback|conversation_headers|conversation_metadata|conversation_removed_details|conversation_sampled_details|conversation_sampled_metadata|dashboard_usage|dashboard_widgets|dashboards|errors_temp|notifications|notifications_poll|report_lines|report_schedules|report_usage|reports|subscription_integrations|user_roles)\b/gmi;
|
|
10
10
|
const _SUBQUERY_QUERY_PLACEHOLDER_UNWRAPPED = '{{query}}';
|
|
11
11
|
const SUBQUERY_QUERY_PLACEHOLDER = `(${_SUBQUERY_QUERY_PLACEHOLDER_UNWRAPPED})`;
|
|
12
12
|
const VARIABLE_COSMOS_USER_ID = '__USER_ID__';
|
|
@@ -116,6 +116,10 @@ const COSMOS_TABLES = [
|
|
|
116
116
|
table_name: 'dashboards',
|
|
117
117
|
table_description: 'Dashboards'
|
|
118
118
|
},
|
|
119
|
+
{
|
|
120
|
+
table_name: 'errors_temp',
|
|
121
|
+
table_description: 'Temporary error collection'
|
|
122
|
+
},
|
|
119
123
|
{
|
|
120
124
|
table_name: 'notifications',
|
|
121
125
|
table_description: 'Notifications'
|
|
@@ -140,6 +144,10 @@ const COSMOS_TABLES = [
|
|
|
140
144
|
table_name: 'reports',
|
|
141
145
|
table_description: 'Reports'
|
|
142
146
|
},
|
|
147
|
+
{
|
|
148
|
+
table_name: 'subscription_integrations',
|
|
149
|
+
table_description: 'Subscription Integrations'
|
|
150
|
+
},
|
|
143
151
|
{
|
|
144
152
|
table_name: 'user_roles',
|
|
145
153
|
table_description: 'User Roles'
|
package/dist/chatwms/report.d.ts
CHANGED