@saltcorn/data 1.0.0-beta.15 → 1.0.0-beta.16

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.
@@ -1,153 +1,4 @@
1
1
  export const types: ({
2
- name: string;
3
- description: string;
4
- sql_name: string;
5
- js_type: string;
6
- contract: () => Function;
7
- fieldviews: {
8
- show: {
9
- isEdit: boolean;
10
- description: string;
11
- run: (v: any, req: any) => any;
12
- };
13
- checkboxes: {
14
- isEdit: boolean;
15
- description: string;
16
- run: (v: any) => any;
17
- };
18
- TrueFalse: {
19
- isEdit: boolean;
20
- description: string;
21
- run: (v: any) => "" | "True" | "False";
22
- };
23
- edit: {
24
- isEdit: boolean;
25
- description: string;
26
- configFields: ({
27
- name: string;
28
- label: string;
29
- type: string;
30
- attributes: {
31
- options: string[];
32
- };
33
- } | {
34
- name: string;
35
- label: string;
36
- type: string;
37
- attributes?: undefined;
38
- })[];
39
- run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
40
- };
41
- switch: {
42
- isEdit: boolean;
43
- description: string;
44
- run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
45
- };
46
- show_with_html: {
47
- configFields: {
48
- input_type: string;
49
- name: string;
50
- label: string;
51
- sublabel: string;
52
- default: string;
53
- attributes: {
54
- mode: string;
55
- };
56
- }[];
57
- isEdit: boolean;
58
- description: string;
59
- run: (v: any, req: any, attrs?: {}) => any;
60
- };
61
- tristate: {
62
- isEdit: boolean;
63
- description: string;
64
- configFields: {
65
- name: string;
66
- label: string;
67
- type: string;
68
- }[];
69
- run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
70
- };
71
- };
72
- attributes: object[];
73
- readFromFormRecord: (rec: any, name: string) => boolean | null;
74
- read: (v: object) => boolean | null;
75
- readFromDB: (v: object) => object;
76
- listAs: (v: object) => object;
77
- validate: () => boolean;
78
- } | {
79
- name: string;
80
- description: string;
81
- sql_name: string;
82
- js_type: string;
83
- contract: () => Function;
84
- attributes: object[];
85
- fieldviews: {
86
- show: {
87
- isEdit: boolean;
88
- description: string;
89
- run: (d: any, req: any, attrs?: {}) => any;
90
- };
91
- showDay: {
92
- isEdit: boolean;
93
- description: string;
94
- run: (d: any, req: any) => any;
95
- };
96
- format: {
97
- isEdit: boolean;
98
- description: string;
99
- configFields: {
100
- name: string;
101
- label: string;
102
- type: string;
103
- sublabel: string;
104
- }[];
105
- run: (d: any, req: any, options: any) => any;
106
- };
107
- relative: {
108
- isEdit: boolean;
109
- description: string;
110
- run: (d: any, req: any) => string;
111
- };
112
- yearsAgo: {
113
- isEdit: boolean;
114
- description: string;
115
- run: (d: any, req: any) => string;
116
- };
117
- show_with_html: {
118
- configFields: {
119
- input_type: string;
120
- name: string;
121
- label: string;
122
- sublabel: string;
123
- default: string;
124
- attributes: {
125
- mode: string;
126
- };
127
- }[];
128
- isEdit: boolean;
129
- description: string;
130
- run: (v: any, req: any, attrs?: {}) => any;
131
- };
132
- edit: {
133
- isEdit: boolean;
134
- blockDisplay: boolean;
135
- description: string;
136
- run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
137
- };
138
- editDay: {
139
- isEdit: boolean;
140
- blockDisplay: boolean;
141
- description: string;
142
- run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
143
- };
144
- };
145
- presets: {
146
- Now: () => Date;
147
- };
148
- read: (v: object, attrs: object) => object;
149
- validate: () => boolean;
150
- } | {
151
2
  name: string;
152
3
  description: string;
153
4
  sql_name: string;
@@ -977,50 +828,159 @@ export const types: ({
977
828
  attributes: object[];
978
829
  read: (v: object) => string | number | undefined;
979
830
  validate: ({ min, max }: object) => boolean | object;
980
- })[];
981
- export const viewtemplates: ({
831
+ } | {
982
832
  name: string;
983
833
  description: string;
984
- get_state_fields: () => object[];
985
- configuration_workflow: () => import("../models/workflow");
986
- run: (table_id: number, viewname: string, { columns, layout }: {
987
- columns: object[];
988
- layout: object;
989
- }, state: object, extra: object, { distinctValuesQuery }: {
990
- distinctValuesQuery: any;
991
- }) => Promise<Layout>;
992
- initial_config: () => Promise<object>;
993
- display_state_form: boolean;
994
- getStringsForI18n({ layout }: {
995
- layout: any;
996
- }): string[];
997
- routes: {
998
- run_action: (table_id: any, viewname: any, config: any, body: any, { req, res }: {
999
- req: any;
1000
- res: any;
1001
- }, { actionQuery }: {
1002
- actionQuery: any;
1003
- }) => Promise<any>;
1004
- };
1005
- queries: ({ table_id, viewname, configuration: { columns }, req, res, exttable_name, }: {
1006
- table_id: any;
1007
- viewname: any;
1008
- configuration: {
1009
- columns: any;
834
+ sql_name: string;
835
+ js_type: string;
836
+ contract: () => Function;
837
+ attributes: object[];
838
+ fieldviews: {
839
+ show: {
840
+ isEdit: boolean;
841
+ description: string;
842
+ run: (d: any, req: any, attrs?: {}) => any;
1010
843
  };
1011
- req: any;
1012
- res: any;
1013
- exttable_name: any;
1014
- }) => {
1015
- actionQuery(state: any, rndid: any): Promise<{
1016
- json: any;
1017
- }>;
1018
- distinctValuesQuery(state: any): Promise<{
1019
- distinct_values: {};
1020
- role: any;
1021
- }>;
844
+ showDay: {
845
+ isEdit: boolean;
846
+ description: string;
847
+ run: (d: any, req: any) => any;
848
+ };
849
+ format: {
850
+ isEdit: boolean;
851
+ description: string;
852
+ configFields: {
853
+ name: string;
854
+ label: string;
855
+ type: string;
856
+ help: {
857
+ topic: string;
858
+ };
859
+ }[];
860
+ run: (d: any, req: any, options: any) => any;
861
+ };
862
+ relative: {
863
+ isEdit: boolean;
864
+ description: string;
865
+ run: (d: any, req: any) => string;
866
+ };
867
+ yearsAgo: {
868
+ isEdit: boolean;
869
+ description: string;
870
+ run: (d: any, req: any) => string;
871
+ };
872
+ show_with_html: {
873
+ configFields: {
874
+ input_type: string;
875
+ name: string;
876
+ label: string;
877
+ sublabel: string;
878
+ default: string;
879
+ attributes: {
880
+ mode: string;
881
+ };
882
+ }[];
883
+ isEdit: boolean;
884
+ description: string;
885
+ run: (v: any, req: any, attrs?: {}) => any;
886
+ };
887
+ edit: {
888
+ isEdit: boolean;
889
+ blockDisplay: boolean;
890
+ description: string;
891
+ run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
892
+ };
893
+ editDay: {
894
+ isEdit: boolean;
895
+ blockDisplay: boolean;
896
+ description: string;
897
+ run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
898
+ };
899
+ };
900
+ presets: {
901
+ Now: () => Date;
1022
902
  };
903
+ read: (v: object, attrs: object) => object;
904
+ validate: () => boolean;
1023
905
  } | {
906
+ name: string;
907
+ description: string;
908
+ sql_name: string;
909
+ js_type: string;
910
+ contract: () => Function;
911
+ fieldviews: {
912
+ show: {
913
+ isEdit: boolean;
914
+ description: string;
915
+ run: (v: any, req: any) => any;
916
+ };
917
+ checkboxes: {
918
+ isEdit: boolean;
919
+ description: string;
920
+ run: (v: any) => any;
921
+ };
922
+ TrueFalse: {
923
+ isEdit: boolean;
924
+ description: string;
925
+ run: (v: any) => "" | "True" | "False";
926
+ };
927
+ edit: {
928
+ isEdit: boolean;
929
+ description: string;
930
+ configFields: ({
931
+ name: string;
932
+ label: string;
933
+ type: string;
934
+ attributes: {
935
+ options: string[];
936
+ };
937
+ } | {
938
+ name: string;
939
+ label: string;
940
+ type: string;
941
+ attributes?: undefined;
942
+ })[];
943
+ run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
944
+ };
945
+ switch: {
946
+ isEdit: boolean;
947
+ description: string;
948
+ run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
949
+ };
950
+ show_with_html: {
951
+ configFields: {
952
+ input_type: string;
953
+ name: string;
954
+ label: string;
955
+ sublabel: string;
956
+ default: string;
957
+ attributes: {
958
+ mode: string;
959
+ };
960
+ }[];
961
+ isEdit: boolean;
962
+ description: string;
963
+ run: (v: any, req: any, attrs?: {}) => any;
964
+ };
965
+ tristate: {
966
+ isEdit: boolean;
967
+ description: string;
968
+ configFields: {
969
+ name: string;
970
+ label: string;
971
+ type: string;
972
+ }[];
973
+ run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
974
+ };
975
+ };
976
+ attributes: object[];
977
+ readFromFormRecord: (rec: any, name: string) => boolean | null;
978
+ read: (v: object) => boolean | null;
979
+ readFromDB: (v: object) => object;
980
+ listAs: (v: object) => object;
981
+ validate: () => boolean;
982
+ })[];
983
+ export const viewtemplates: ({
1024
984
  name: string;
1025
985
  description: string;
1026
986
  configuration_workflow: (req: object) => import("../models/workflow");
@@ -1177,151 +1137,6 @@ export const viewtemplates: ({
1177
1137
  warnings: string[];
1178
1138
  }>;
1179
1139
  connectedObjects: (configuration: any) => Promise<import("@saltcorn/types/base_types").ConnectedObjects>;
1180
- } | {
1181
- name: string;
1182
- description: string;
1183
- configuration_workflow: (req: object) => import("../models/workflow");
1184
- run: (table_id: string, viewname: string, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: {
1185
- participant_field: string;
1186
- msg_relation: string;
1187
- msgsender_field: any;
1188
- msgview: string;
1189
- msgform: string;
1190
- participant_maxread_field: string;
1191
- }, state: object, { req, res }: {
1192
- req: object;
1193
- res: object;
1194
- }, { getRowQuery, updateQuery, optionsQuery }: {
1195
- getRowQuery: any;
1196
- updateQuery: any;
1197
- optionsQuery: any;
1198
- }) => Promise<div>;
1199
- get_state_fields: () => object[];
1200
- display_state_form: boolean;
1201
- routes: {
1202
- submit_msg_ajax: (table_id: any, viewname: string, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: {
1203
- participant_field: string;
1204
- msg_relation: string;
1205
- msgsender_field: any;
1206
- msgview: string;
1207
- msgform: string;
1208
- participant_maxread_field: string;
1209
- }, body: any, { req, res }: {
1210
- req: object;
1211
- res: object;
1212
- }, { submitAjaxQuery }: {
1213
- submitAjaxQuery: any;
1214
- }) => Promise<object>;
1215
- ack_read: (table_id: any, viewname: any, { participant_field, participant_maxread_field }: {
1216
- participant_field: string;
1217
- participant_maxread_field: string;
1218
- }, body: any, { req, res }: {
1219
- req: object;
1220
- res: object;
1221
- }, { ackReadQuery }: {
1222
- ackReadQuery: any;
1223
- }) => Promise<void>;
1224
- fetch_older_msg: (table_id: any, viewname: any, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: object, body: object, { req, res }: string, { fetchOlderMsgQuery }: any) => Promise<object>;
1225
- };
1226
- noAutoTest: boolean;
1227
- authorize_join: ({ table_id, min_role, configuration: { participant_field } }: {
1228
- participant_field: object;
1229
- }, room_id: string, user: object) => Promise<object>;
1230
- virtual_triggers: (table_id: any, viewname: string, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: {
1231
- participant_field: any;
1232
- msg_relation: string;
1233
- msgsender_field: string;
1234
- msgview: string;
1235
- msgform: any;
1236
- participant_maxread_field: any;
1237
- }) => object[];
1238
- getStringsForI18n(): object[];
1239
- queries: ({ table_id, viewname, configuration: { columns, default_state }, req, }: {
1240
- table_id: any;
1241
- viewname: any;
1242
- configuration: {
1243
- columns: any;
1244
- default_state: any;
1245
- };
1246
- req: any;
1247
- }) => {
1248
- getRowQuery(state_id: any, part_table_name: any, part_user_field: any, part_key_to_room: any): Promise<import("@saltcorn/db-common/internal").Row | null>;
1249
- updateQuery(partRow: any, part_table_name: any, max_read_id: any, part_maxread_field: any): Promise<void>;
1250
- submitAjaxQuery(msg_relation: any, participant_field: any, body: any, msgform: any, msgsender_field: any, participant_maxread_field: any): Promise<{
1251
- json: {
1252
- msgid: {
1253
- error: string;
1254
- } | {
1255
- success: any;
1256
- };
1257
- error?: undefined;
1258
- };
1259
- } | {
1260
- json: {
1261
- error: any;
1262
- msgid?: undefined;
1263
- };
1264
- }>;
1265
- ackReadQuery(participant_field: any, participant_maxread_field: any, body: any): Promise<{
1266
- json: {
1267
- error: string;
1268
- success?: undefined;
1269
- };
1270
- } | {
1271
- json: {
1272
- success: string;
1273
- error?: undefined;
1274
- };
1275
- }>;
1276
- fetchOlderMsgQuery(participant_field: any, body: any): Promise<import("@saltcorn/db-common/internal").Row | null>;
1277
- optionsQuery(reftable_name: any, type: any, attributes: any, where: any): Promise<any>;
1278
- };
1279
- connectedObjects: (configuration: any) => Promise<import("@saltcorn/types/base_types").ConnectedObjects>;
1280
- } | {
1281
- name: string;
1282
- description: string;
1283
- configuration_workflow: (req: object) => import("../models/workflow");
1284
- run: (table_id: number, viewname: string, { show_view, order_field, descending, view_to_create, create_view_display, in_card, view_decoration, initial_open_accordions, title_formula, masonry_columns, rows_per_page, hide_pagination, create_view_label, create_view_location, create_link_style, create_link_size, create_view_showif, always_create_view, include_fml, exclusion_relation, exclusion_where, empty_view, groupby, lazy_accordions, ...cols }: {
1285
- show_view: string;
1286
- order_field: void;
1287
- descending: boolean;
1288
- view_to_create?: string | undefined;
1289
- create_view_display: string;
1290
- in_card: boolean;
1291
- masonry_columns: string;
1292
- rows_per_page?: number | undefined;
1293
- hide_pagination: boolean;
1294
- create_view_label?: string | undefined;
1295
- create_view_location?: string | undefined;
1296
- always_create_view: boolean;
1297
- cols: any;
1298
- }, state: object, extraArgs: any, { countRowsQuery, runManyQuery }: {
1299
- countRowsQuery: any;
1300
- runManyQuery: any;
1301
- }) => Promise<div>;
1302
- get_state_fields: (table_id: number, viewname: any, { show_view }: {
1303
- show_view: any;
1304
- }) => Promise<import("../models/field")>;
1305
- display_state_form: boolean;
1306
- getStringsForI18n({ create_view_label }: {
1307
- create_view_label: any;
1308
- }): string[] | Object[];
1309
- queries: ({ table_id, viewname, configuration: { show_view }, req, res, }: {
1310
- table_id: any;
1311
- viewname: any;
1312
- configuration: {
1313
- show_view: any;
1314
- };
1315
- req: any;
1316
- res: any;
1317
- }) => {
1318
- countRowsQuery(state: any): Promise<number>;
1319
- runManyQuery(state: any, qextra: any, selectOpts: any): Promise<string[] | {
1320
- html: string;
1321
- row: any;
1322
- }[]>;
1323
- };
1324
- connectedObjects: (configuration: any) => Promise<import("@saltcorn/types/base_types").ConnectedObjects>;
1325
1140
  } | {
1326
1141
  name: string;
1327
1142
  description: string;
@@ -1494,6 +1309,193 @@ export const viewtemplates: ({
1494
1309
  }) => Promise<{
1495
1310
  embeddedViews: import("../models/view")[];
1496
1311
  }>;
1312
+ } | {
1313
+ name: string;
1314
+ description: string;
1315
+ configuration_workflow: (req: object) => import("../models/workflow");
1316
+ run: (table_id: number, viewname: string, { show_view, order_field, descending, view_to_create, create_view_display, in_card, view_decoration, initial_open_accordions, title_formula, masonry_columns, rows_per_page, hide_pagination, create_view_label, create_view_location, create_link_style, create_link_size, create_view_showif, always_create_view, include_fml, exclusion_relation, exclusion_where, empty_view, groupby, lazy_accordions, ...cols }: {
1317
+ show_view: string;
1318
+ order_field: void;
1319
+ descending: boolean;
1320
+ view_to_create?: string | undefined;
1321
+ create_view_display: string;
1322
+ in_card: boolean;
1323
+ masonry_columns: string;
1324
+ rows_per_page?: number | undefined;
1325
+ hide_pagination: boolean;
1326
+ create_view_label?: string | undefined;
1327
+ create_view_location?: string | undefined;
1328
+ always_create_view: boolean;
1329
+ cols: any;
1330
+ }, state: object, extraArgs: any, { countRowsQuery, runManyQuery }: {
1331
+ countRowsQuery: any;
1332
+ runManyQuery: any;
1333
+ }) => Promise<div>;
1334
+ get_state_fields: (table_id: number, viewname: any, { show_view }: {
1335
+ show_view: any;
1336
+ }) => Promise<import("../models/field")>;
1337
+ display_state_form: boolean;
1338
+ getStringsForI18n({ create_view_label }: {
1339
+ create_view_label: any;
1340
+ }): string[] | Object[];
1341
+ queries: ({ table_id, viewname, configuration: { show_view }, req, res, }: {
1342
+ table_id: any;
1343
+ viewname: any;
1344
+ configuration: {
1345
+ show_view: any;
1346
+ };
1347
+ req: any;
1348
+ res: any;
1349
+ }) => {
1350
+ countRowsQuery(state: any): Promise<number>;
1351
+ runManyQuery(state: any, qextra: any, selectOpts: any): Promise<string[] | {
1352
+ html: string;
1353
+ row: any;
1354
+ }[]>;
1355
+ };
1356
+ connectedObjects: (configuration: any) => Promise<import("@saltcorn/types/base_types").ConnectedObjects>;
1357
+ } | {
1358
+ name: string;
1359
+ description: string;
1360
+ get_state_fields: () => object[];
1361
+ configuration_workflow: () => import("../models/workflow");
1362
+ run: (table_id: number, viewname: string, { columns, layout }: {
1363
+ columns: object[];
1364
+ layout: object;
1365
+ }, state: object, extra: object, { distinctValuesQuery }: {
1366
+ distinctValuesQuery: any;
1367
+ }) => Promise<Layout>;
1368
+ initial_config: () => Promise<object>;
1369
+ display_state_form: boolean;
1370
+ getStringsForI18n({ layout }: {
1371
+ layout: any;
1372
+ }): string[];
1373
+ routes: {
1374
+ run_action: (table_id: any, viewname: any, config: any, body: any, { req, res }: {
1375
+ req: any;
1376
+ res: any;
1377
+ }, { actionQuery }: {
1378
+ actionQuery: any;
1379
+ }) => Promise<any>;
1380
+ };
1381
+ queries: ({ table_id, viewname, configuration: { columns }, req, res, exttable_name, }: {
1382
+ table_id: any;
1383
+ viewname: any;
1384
+ configuration: {
1385
+ columns: any;
1386
+ };
1387
+ req: any;
1388
+ res: any;
1389
+ exttable_name: any;
1390
+ }) => {
1391
+ actionQuery(state: any, rndid: any): Promise<{
1392
+ json: any;
1393
+ }>;
1394
+ distinctValuesQuery(state: any): Promise<{
1395
+ distinct_values: {};
1396
+ role: any;
1397
+ }>;
1398
+ };
1399
+ } | {
1400
+ name: string;
1401
+ description: string;
1402
+ configuration_workflow: (req: object) => import("../models/workflow");
1403
+ run: (table_id: string, viewname: string, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: {
1404
+ participant_field: string;
1405
+ msg_relation: string;
1406
+ msgsender_field: any;
1407
+ msgview: string;
1408
+ msgform: string;
1409
+ participant_maxread_field: string;
1410
+ }, state: object, { req, res }: {
1411
+ req: object;
1412
+ res: object;
1413
+ }, { getRowQuery, updateQuery, optionsQuery }: {
1414
+ getRowQuery: any;
1415
+ updateQuery: any;
1416
+ optionsQuery: any;
1417
+ }) => Promise<div>;
1418
+ get_state_fields: () => object[];
1419
+ display_state_form: boolean;
1420
+ routes: {
1421
+ submit_msg_ajax: (table_id: any, viewname: string, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: {
1422
+ participant_field: string;
1423
+ msg_relation: string;
1424
+ msgsender_field: any;
1425
+ msgview: string;
1426
+ msgform: string;
1427
+ participant_maxread_field: string;
1428
+ }, body: any, { req, res }: {
1429
+ req: object;
1430
+ res: object;
1431
+ }, { submitAjaxQuery }: {
1432
+ submitAjaxQuery: any;
1433
+ }) => Promise<object>;
1434
+ ack_read: (table_id: any, viewname: any, { participant_field, participant_maxread_field }: {
1435
+ participant_field: string;
1436
+ participant_maxread_field: string;
1437
+ }, body: any, { req, res }: {
1438
+ req: object;
1439
+ res: object;
1440
+ }, { ackReadQuery }: {
1441
+ ackReadQuery: any;
1442
+ }) => Promise<void>;
1443
+ fetch_older_msg: (table_id: any, viewname: any, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: object, body: object, { req, res }: string, { fetchOlderMsgQuery }: any) => Promise<object>;
1444
+ };
1445
+ noAutoTest: boolean;
1446
+ authorize_join: ({ table_id, min_role, configuration: { participant_field } }: {
1447
+ participant_field: object;
1448
+ }, room_id: string, user: object) => Promise<object>;
1449
+ virtual_triggers: (table_id: any, viewname: string, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: {
1450
+ participant_field: any;
1451
+ msg_relation: string;
1452
+ msgsender_field: string;
1453
+ msgview: string;
1454
+ msgform: any;
1455
+ participant_maxread_field: any;
1456
+ }) => object[];
1457
+ getStringsForI18n(): object[];
1458
+ queries: ({ table_id, viewname, configuration: { columns, default_state }, req, }: {
1459
+ table_id: any;
1460
+ viewname: any;
1461
+ configuration: {
1462
+ columns: any;
1463
+ default_state: any;
1464
+ };
1465
+ req: any;
1466
+ }) => {
1467
+ getRowQuery(state_id: any, part_table_name: any, part_user_field: any, part_key_to_room: any): Promise<import("@saltcorn/db-common/internal").Row | null>;
1468
+ updateQuery(partRow: any, part_table_name: any, max_read_id: any, part_maxread_field: any): Promise<void>;
1469
+ submitAjaxQuery(msg_relation: any, participant_field: any, body: any, msgform: any, msgsender_field: any, participant_maxread_field: any): Promise<{
1470
+ json: {
1471
+ msgid: {
1472
+ error: string;
1473
+ } | {
1474
+ success: any;
1475
+ };
1476
+ error?: undefined;
1477
+ };
1478
+ } | {
1479
+ json: {
1480
+ error: any;
1481
+ msgid?: undefined;
1482
+ };
1483
+ }>;
1484
+ ackReadQuery(participant_field: any, participant_maxread_field: any, body: any): Promise<{
1485
+ json: {
1486
+ error: string;
1487
+ success?: undefined;
1488
+ };
1489
+ } | {
1490
+ json: {
1491
+ success: string;
1492
+ error?: undefined;
1493
+ };
1494
+ }>;
1495
+ fetchOlderMsgQuery(participant_field: any, body: any): Promise<import("@saltcorn/db-common/internal").Row | null>;
1496
+ optionsQuery(reftable_name: any, type: any, attributes: any, where: any): Promise<any>;
1497
+ };
1498
+ connectedObjects: (configuration: any) => Promise<import("@saltcorn/types/base_types").ConnectedObjects>;
1497
1499
  })[];
1498
1500
  import fileviews = require("./fileviews");
1499
1501
  import actions = require("./actions");