@cellaware/utils 8.5.6 → 8.5.8
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|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|notifications|notifications_poll|report_lines|report_schedules|report_usage|reports|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__';
|
|
@@ -120,6 +120,10 @@ const COSMOS_TABLES = [
|
|
|
120
120
|
table_name: 'notifications',
|
|
121
121
|
table_description: 'Notifications'
|
|
122
122
|
},
|
|
123
|
+
{
|
|
124
|
+
table_name: 'notifications_poll',
|
|
125
|
+
table_description: 'Notifications Poll'
|
|
126
|
+
},
|
|
123
127
|
{
|
|
124
128
|
table_name: 'report_lines',
|
|
125
129
|
table_description: 'Report Lines'
|
package/dist/chatwms/report.d.ts
CHANGED