@saltcorn/data 0.9.5-beta.14 → 0.9.5-beta.15
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/base-plugin/index.d.ts +450 -450
- package/dist/base-plugin/viewtemplates/edit.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/edit.js +10 -2
- package/dist/base-plugin/viewtemplates/edit.js.map +1 -1
- package/dist/db/state.d.ts +4 -1
- package/dist/db/state.d.ts.map +1 -1
- package/dist/db/state.js +53 -8
- package/dist/db/state.js.map +1 -1
- package/dist/models/form.d.ts +3 -1
- package/dist/models/form.d.ts.map +1 -1
- package/dist/models/form.js +1 -0
- package/dist/models/form.js.map +1 -1
- package/dist/models/plugin.d.ts.map +1 -1
- package/dist/models/plugin.js +1 -0
- package/dist/models/plugin.js.map +1 -1
- package/dist/models/table.d.ts.map +1 -1
- package/dist/models/table.js +1 -1
- package/dist/models/table.js.map +1 -1
- package/dist/models/workflow.d.ts +2 -0
- package/dist/models/workflow.d.ts.map +1 -1
- package/dist/models/workflow.js +8 -0
- package/dist/models/workflow.js.map +1 -1
- package/dist/plugin-helper.d.ts +1 -0
- package/dist/utils.d.ts +2 -2
- package/package.json +8 -8
|
@@ -1,4 +1,151 @@
|
|
|
1
1
|
export const types: ({
|
|
2
|
+
name: string;
|
|
3
|
+
sql_name: string;
|
|
4
|
+
js_type: string;
|
|
5
|
+
contract: () => Function;
|
|
6
|
+
fieldviews: {
|
|
7
|
+
show: {
|
|
8
|
+
isEdit: boolean;
|
|
9
|
+
description: string;
|
|
10
|
+
run: (v: any) => any;
|
|
11
|
+
};
|
|
12
|
+
checkboxes: {
|
|
13
|
+
isEdit: boolean;
|
|
14
|
+
description: string;
|
|
15
|
+
run: (v: any) => any;
|
|
16
|
+
};
|
|
17
|
+
TrueFalse: {
|
|
18
|
+
isEdit: boolean;
|
|
19
|
+
description: string;
|
|
20
|
+
run: (v: any) => "" | "True" | "False";
|
|
21
|
+
};
|
|
22
|
+
edit: {
|
|
23
|
+
isEdit: boolean;
|
|
24
|
+
description: string;
|
|
25
|
+
configFields: ({
|
|
26
|
+
name: string;
|
|
27
|
+
label: string;
|
|
28
|
+
type: string;
|
|
29
|
+
attributes: {
|
|
30
|
+
options: string[];
|
|
31
|
+
};
|
|
32
|
+
} | {
|
|
33
|
+
name: string;
|
|
34
|
+
label: string;
|
|
35
|
+
type: string;
|
|
36
|
+
attributes?: undefined;
|
|
37
|
+
})[];
|
|
38
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
39
|
+
};
|
|
40
|
+
switch: {
|
|
41
|
+
isEdit: boolean;
|
|
42
|
+
description: string;
|
|
43
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
44
|
+
};
|
|
45
|
+
show_with_html: {
|
|
46
|
+
configFields: {
|
|
47
|
+
input_type: string;
|
|
48
|
+
name: string;
|
|
49
|
+
label: string;
|
|
50
|
+
sublabel: string;
|
|
51
|
+
default: string;
|
|
52
|
+
attributes: {
|
|
53
|
+
mode: string;
|
|
54
|
+
};
|
|
55
|
+
}[];
|
|
56
|
+
isEdit: boolean;
|
|
57
|
+
description: string;
|
|
58
|
+
run: (v: any, req: any, attrs?: {}) => any;
|
|
59
|
+
};
|
|
60
|
+
tristate: {
|
|
61
|
+
isEdit: boolean;
|
|
62
|
+
description: string;
|
|
63
|
+
configFields: {
|
|
64
|
+
name: string;
|
|
65
|
+
label: string;
|
|
66
|
+
type: string;
|
|
67
|
+
}[];
|
|
68
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
attributes: object[];
|
|
72
|
+
readFromFormRecord: (rec: any, name: string) => boolean | null;
|
|
73
|
+
read: (v: object) => boolean | null;
|
|
74
|
+
readFromDB: (v: object) => object;
|
|
75
|
+
listAs: (v: object) => object;
|
|
76
|
+
validate: () => boolean;
|
|
77
|
+
} | {
|
|
78
|
+
name: string;
|
|
79
|
+
sql_name: string;
|
|
80
|
+
js_type: string;
|
|
81
|
+
contract: () => Function;
|
|
82
|
+
attributes: object[];
|
|
83
|
+
fieldviews: {
|
|
84
|
+
show: {
|
|
85
|
+
isEdit: boolean;
|
|
86
|
+
description: string;
|
|
87
|
+
run: (d: any, req: any, attrs?: {}) => any;
|
|
88
|
+
};
|
|
89
|
+
showDay: {
|
|
90
|
+
isEdit: boolean;
|
|
91
|
+
description: string;
|
|
92
|
+
run: (d: any, req: any) => any;
|
|
93
|
+
};
|
|
94
|
+
format: {
|
|
95
|
+
isEdit: boolean;
|
|
96
|
+
description: string;
|
|
97
|
+
configFields: {
|
|
98
|
+
name: string;
|
|
99
|
+
label: string;
|
|
100
|
+
type: string;
|
|
101
|
+
sublabel: string;
|
|
102
|
+
}[];
|
|
103
|
+
run: (d: any, req: any, options: any) => any;
|
|
104
|
+
};
|
|
105
|
+
relative: {
|
|
106
|
+
isEdit: boolean;
|
|
107
|
+
description: string;
|
|
108
|
+
run: (d: any, req: any) => string;
|
|
109
|
+
};
|
|
110
|
+
yearsAgo: {
|
|
111
|
+
isEdit: boolean;
|
|
112
|
+
description: string;
|
|
113
|
+
run: (d: any, req: any) => string;
|
|
114
|
+
};
|
|
115
|
+
show_with_html: {
|
|
116
|
+
configFields: {
|
|
117
|
+
input_type: string;
|
|
118
|
+
name: string;
|
|
119
|
+
label: string;
|
|
120
|
+
sublabel: string;
|
|
121
|
+
default: string;
|
|
122
|
+
attributes: {
|
|
123
|
+
mode: string;
|
|
124
|
+
};
|
|
125
|
+
}[];
|
|
126
|
+
isEdit: boolean;
|
|
127
|
+
description: string;
|
|
128
|
+
run: (v: any, req: any, attrs?: {}) => any;
|
|
129
|
+
};
|
|
130
|
+
edit: {
|
|
131
|
+
isEdit: boolean;
|
|
132
|
+
blockDisplay: boolean;
|
|
133
|
+
description: string;
|
|
134
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
135
|
+
};
|
|
136
|
+
editDay: {
|
|
137
|
+
isEdit: boolean;
|
|
138
|
+
blockDisplay: boolean;
|
|
139
|
+
description: string;
|
|
140
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
presets: {
|
|
144
|
+
Now: () => Date;
|
|
145
|
+
};
|
|
146
|
+
read: (v: object, attrs: object) => object;
|
|
147
|
+
validate: () => boolean;
|
|
148
|
+
} | {
|
|
2
149
|
name: string;
|
|
3
150
|
sql_name: string;
|
|
4
151
|
js_type: string;
|
|
@@ -464,250 +611,103 @@ export const types: ({
|
|
|
464
611
|
name: string;
|
|
465
612
|
sql_name: string;
|
|
466
613
|
js_type: string;
|
|
467
|
-
contract: (
|
|
614
|
+
contract: ({ min, max }: {
|
|
615
|
+
min: number;
|
|
616
|
+
max: number;
|
|
617
|
+
}) => Function;
|
|
618
|
+
distance_operators: {
|
|
619
|
+
near: {
|
|
620
|
+
type: string;
|
|
621
|
+
name: string;
|
|
622
|
+
args: any[];
|
|
623
|
+
};
|
|
624
|
+
};
|
|
468
625
|
fieldviews: {
|
|
469
626
|
show: {
|
|
470
627
|
isEdit: boolean;
|
|
471
628
|
description: string;
|
|
472
|
-
run: (
|
|
629
|
+
run: (s: any) => string;
|
|
473
630
|
};
|
|
474
|
-
|
|
631
|
+
edit: {
|
|
475
632
|
isEdit: boolean;
|
|
633
|
+
blockDisplay: boolean;
|
|
476
634
|
description: string;
|
|
477
|
-
|
|
635
|
+
configFields: {
|
|
636
|
+
name: string;
|
|
637
|
+
label: string;
|
|
638
|
+
type: string;
|
|
639
|
+
}[];
|
|
640
|
+
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
478
641
|
};
|
|
479
|
-
|
|
642
|
+
number_slider: {
|
|
643
|
+
configFields: (field: any) => {
|
|
644
|
+
name: string;
|
|
645
|
+
type: any;
|
|
646
|
+
required: boolean;
|
|
647
|
+
}[];
|
|
480
648
|
isEdit: boolean;
|
|
481
649
|
description: string;
|
|
482
|
-
|
|
650
|
+
blockDisplay: boolean;
|
|
651
|
+
run: (nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any) => any;
|
|
483
652
|
};
|
|
484
|
-
|
|
653
|
+
range_interval: {
|
|
654
|
+
configFields: (field: any) => {
|
|
655
|
+
name: string;
|
|
656
|
+
type: any;
|
|
657
|
+
required: boolean;
|
|
658
|
+
}[];
|
|
485
659
|
isEdit: boolean;
|
|
660
|
+
isFilter: boolean;
|
|
661
|
+
blockDisplay: boolean;
|
|
486
662
|
description: string;
|
|
487
|
-
|
|
663
|
+
run: (nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}) => any;
|
|
664
|
+
};
|
|
665
|
+
progress_bar: {
|
|
666
|
+
configFields: (field: any) => ({
|
|
488
667
|
name: string;
|
|
489
|
-
label: string;
|
|
490
668
|
type: string;
|
|
491
|
-
|
|
492
|
-
|
|
669
|
+
label: string;
|
|
670
|
+
required?: undefined;
|
|
671
|
+
showIf?: undefined;
|
|
672
|
+
class?: undefined;
|
|
673
|
+
showif?: undefined;
|
|
674
|
+
} | {
|
|
675
|
+
name: string;
|
|
676
|
+
label: string;
|
|
677
|
+
type: any;
|
|
678
|
+
required: boolean;
|
|
679
|
+
showIf: {
|
|
680
|
+
max_min_formula: boolean;
|
|
493
681
|
};
|
|
682
|
+
class?: undefined;
|
|
683
|
+
showif?: undefined;
|
|
494
684
|
} | {
|
|
495
685
|
name: string;
|
|
496
686
|
label: string;
|
|
497
687
|
type: string;
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
506
|
-
};
|
|
507
|
-
show_with_html: {
|
|
508
|
-
configFields: {
|
|
509
|
-
input_type: string;
|
|
688
|
+
class: string;
|
|
689
|
+
showIf: {
|
|
690
|
+
max_min_formula: boolean;
|
|
691
|
+
};
|
|
692
|
+
required?: undefined;
|
|
693
|
+
showif?: undefined;
|
|
694
|
+
} | {
|
|
510
695
|
name: string;
|
|
696
|
+
type: string;
|
|
511
697
|
label: string;
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
attributes: {
|
|
515
|
-
mode: string;
|
|
698
|
+
showif: {
|
|
699
|
+
radial: boolean;
|
|
516
700
|
};
|
|
517
|
-
|
|
701
|
+
required?: undefined;
|
|
702
|
+
showIf?: undefined;
|
|
703
|
+
class?: undefined;
|
|
704
|
+
})[];
|
|
518
705
|
isEdit: boolean;
|
|
519
706
|
description: string;
|
|
520
707
|
run: (v: any, req: any, attrs?: {}) => any;
|
|
521
708
|
};
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
description: string;
|
|
525
|
-
configFields: {
|
|
526
|
-
name: string;
|
|
527
|
-
label: string;
|
|
528
|
-
type: string;
|
|
529
|
-
}[];
|
|
530
|
-
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
|
-
attributes: object[];
|
|
534
|
-
readFromFormRecord: (rec: any, name: string) => boolean | null;
|
|
535
|
-
read: (v: object) => boolean | null;
|
|
536
|
-
readFromDB: (v: object) => object;
|
|
537
|
-
listAs: (v: object) => object;
|
|
538
|
-
validate: () => boolean;
|
|
539
|
-
} | {
|
|
540
|
-
name: string;
|
|
541
|
-
sql_name: string;
|
|
542
|
-
js_type: string;
|
|
543
|
-
contract: () => Function;
|
|
544
|
-
attributes: object[];
|
|
545
|
-
fieldviews: {
|
|
546
|
-
show: {
|
|
547
|
-
isEdit: boolean;
|
|
548
|
-
description: string;
|
|
549
|
-
run: (d: any, req: any, attrs?: {}) => any;
|
|
550
|
-
};
|
|
551
|
-
showDay: {
|
|
552
|
-
isEdit: boolean;
|
|
553
|
-
description: string;
|
|
554
|
-
run: (d: any, req: any) => any;
|
|
555
|
-
};
|
|
556
|
-
format: {
|
|
557
|
-
isEdit: boolean;
|
|
558
|
-
description: string;
|
|
559
|
-
configFields: {
|
|
560
|
-
name: string;
|
|
561
|
-
label: string;
|
|
562
|
-
type: string;
|
|
563
|
-
sublabel: string;
|
|
564
|
-
}[];
|
|
565
|
-
run: (d: any, req: any, options: any) => any;
|
|
566
|
-
};
|
|
567
|
-
relative: {
|
|
568
|
-
isEdit: boolean;
|
|
569
|
-
description: string;
|
|
570
|
-
run: (d: any, req: any) => string;
|
|
571
|
-
};
|
|
572
|
-
yearsAgo: {
|
|
573
|
-
isEdit: boolean;
|
|
574
|
-
description: string;
|
|
575
|
-
run: (d: any, req: any) => string;
|
|
576
|
-
};
|
|
577
|
-
show_with_html: {
|
|
578
|
-
configFields: {
|
|
579
|
-
input_type: string;
|
|
580
|
-
name: string;
|
|
581
|
-
label: string;
|
|
582
|
-
sublabel: string;
|
|
583
|
-
default: string;
|
|
584
|
-
attributes: {
|
|
585
|
-
mode: string;
|
|
586
|
-
};
|
|
587
|
-
}[];
|
|
588
|
-
isEdit: boolean;
|
|
589
|
-
description: string;
|
|
590
|
-
run: (v: any, req: any, attrs?: {}) => any;
|
|
591
|
-
};
|
|
592
|
-
edit: {
|
|
593
|
-
isEdit: boolean;
|
|
594
|
-
blockDisplay: boolean;
|
|
595
|
-
description: string;
|
|
596
|
-
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
597
|
-
};
|
|
598
|
-
editDay: {
|
|
599
|
-
isEdit: boolean;
|
|
600
|
-
blockDisplay: boolean;
|
|
601
|
-
description: string;
|
|
602
|
-
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
603
|
-
};
|
|
604
|
-
};
|
|
605
|
-
presets: {
|
|
606
|
-
Now: () => Date;
|
|
607
|
-
};
|
|
608
|
-
read: (v: object, attrs: object) => object;
|
|
609
|
-
validate: () => boolean;
|
|
610
|
-
} | {
|
|
611
|
-
name: string;
|
|
612
|
-
sql_name: string;
|
|
613
|
-
js_type: string;
|
|
614
|
-
contract: ({ min, max }: {
|
|
615
|
-
min: number;
|
|
616
|
-
max: number;
|
|
617
|
-
}) => Function;
|
|
618
|
-
distance_operators: {
|
|
619
|
-
near: {
|
|
620
|
-
type: string;
|
|
621
|
-
name: string;
|
|
622
|
-
args: any[];
|
|
623
|
-
};
|
|
624
|
-
};
|
|
625
|
-
fieldviews: {
|
|
626
|
-
show: {
|
|
627
|
-
isEdit: boolean;
|
|
628
|
-
description: string;
|
|
629
|
-
run: (s: any) => string;
|
|
630
|
-
};
|
|
631
|
-
edit: {
|
|
632
|
-
isEdit: boolean;
|
|
633
|
-
blockDisplay: boolean;
|
|
634
|
-
description: string;
|
|
635
|
-
configFields: {
|
|
636
|
-
name: string;
|
|
637
|
-
label: string;
|
|
638
|
-
type: string;
|
|
639
|
-
}[];
|
|
640
|
-
run: (nm: any, v: any, attrs: any, cls: any, required: any, field: any) => any;
|
|
641
|
-
};
|
|
642
|
-
number_slider: {
|
|
643
|
-
configFields: (field: any) => {
|
|
644
|
-
name: string;
|
|
645
|
-
type: any;
|
|
646
|
-
required: boolean;
|
|
647
|
-
}[];
|
|
648
|
-
isEdit: boolean;
|
|
649
|
-
description: string;
|
|
650
|
-
blockDisplay: boolean;
|
|
651
|
-
run: (nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any) => any;
|
|
652
|
-
};
|
|
653
|
-
range_interval: {
|
|
654
|
-
configFields: (field: any) => {
|
|
655
|
-
name: string;
|
|
656
|
-
type: any;
|
|
657
|
-
required: boolean;
|
|
658
|
-
}[];
|
|
659
|
-
isEdit: boolean;
|
|
660
|
-
isFilter: boolean;
|
|
661
|
-
blockDisplay: boolean;
|
|
662
|
-
description: string;
|
|
663
|
-
run: (nm: any, v: any, attrs: {} | undefined, cls: any, required: any, field: any, state?: {}) => any;
|
|
664
|
-
};
|
|
665
|
-
progress_bar: {
|
|
666
|
-
configFields: (field: any) => ({
|
|
667
|
-
name: string;
|
|
668
|
-
type: string;
|
|
669
|
-
label: string;
|
|
670
|
-
required?: undefined;
|
|
671
|
-
showIf?: undefined;
|
|
672
|
-
class?: undefined;
|
|
673
|
-
showif?: undefined;
|
|
674
|
-
} | {
|
|
675
|
-
name: string;
|
|
676
|
-
label: string;
|
|
677
|
-
type: any;
|
|
678
|
-
required: boolean;
|
|
679
|
-
showIf: {
|
|
680
|
-
max_min_formula: boolean;
|
|
681
|
-
};
|
|
682
|
-
class?: undefined;
|
|
683
|
-
showif?: undefined;
|
|
684
|
-
} | {
|
|
685
|
-
name: string;
|
|
686
|
-
label: string;
|
|
687
|
-
type: string;
|
|
688
|
-
class: string;
|
|
689
|
-
showIf: {
|
|
690
|
-
max_min_formula: boolean;
|
|
691
|
-
};
|
|
692
|
-
required?: undefined;
|
|
693
|
-
showif?: undefined;
|
|
694
|
-
} | {
|
|
695
|
-
name: string;
|
|
696
|
-
type: string;
|
|
697
|
-
label: string;
|
|
698
|
-
showif: {
|
|
699
|
-
radial: boolean;
|
|
700
|
-
};
|
|
701
|
-
required?: undefined;
|
|
702
|
-
showIf?: undefined;
|
|
703
|
-
class?: undefined;
|
|
704
|
-
})[];
|
|
705
|
-
isEdit: boolean;
|
|
706
|
-
description: string;
|
|
707
|
-
run: (v: any, req: any, attrs?: {}) => any;
|
|
708
|
-
};
|
|
709
|
-
heat_cell: {
|
|
710
|
-
configFields: (field: any) => ({
|
|
709
|
+
heat_cell: {
|
|
710
|
+
configFields: (field: any) => ({
|
|
711
711
|
name: string;
|
|
712
712
|
type: string;
|
|
713
713
|
label: string;
|
|
@@ -834,64 +834,45 @@ export const types: ({
|
|
|
834
834
|
export const viewtemplates: ({
|
|
835
835
|
name: string;
|
|
836
836
|
description: string;
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
view_to_create?: string | undefined;
|
|
841
|
-
create_view_display: string;
|
|
842
|
-
create_view_label?: string | undefined;
|
|
843
|
-
default_state?: object | undefined;
|
|
844
|
-
create_view_location?: string | undefined;
|
|
845
|
-
}, stateWithId?: object | undefined, extraOpts: object, { listQuery }: {
|
|
846
|
-
listQuery: any;
|
|
847
|
-
}) => Promise<any>;
|
|
848
|
-
view_quantity: string;
|
|
849
|
-
get_state_fields: (table_id: string, viewname: any, { columns }: {
|
|
837
|
+
get_state_fields: () => object[];
|
|
838
|
+
configuration_workflow: () => import("../models/workflow");
|
|
839
|
+
run: (table_id: number, viewname: string, { columns, layout }: {
|
|
850
840
|
columns: object[];
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
841
|
+
layout: object;
|
|
842
|
+
}, state: object, extra: object, { distinctValuesQuery }: {
|
|
843
|
+
distinctValuesQuery: any;
|
|
844
|
+
}) => Promise<Layout>;
|
|
845
|
+
initial_config: () => Promise<object>;
|
|
846
|
+
display_state_form: boolean;
|
|
847
|
+
getStringsForI18n({ layout }: {
|
|
848
|
+
layout: any;
|
|
849
|
+
}): string[];
|
|
856
850
|
routes: {
|
|
857
|
-
run_action: (table_id:
|
|
858
|
-
|
|
859
|
-
layout: any;
|
|
860
|
-
}, body: object, { req, res }: {
|
|
861
|
-
req: object;
|
|
851
|
+
run_action: (table_id: any, viewname: any, config: any, body: any, { req, res }: {
|
|
852
|
+
req: any;
|
|
862
853
|
res: any;
|
|
863
|
-
}, {
|
|
864
|
-
|
|
865
|
-
}) => Promise<
|
|
854
|
+
}, { actionQuery }: {
|
|
855
|
+
actionQuery: any;
|
|
856
|
+
}) => Promise<any>;
|
|
866
857
|
};
|
|
867
|
-
|
|
868
|
-
default_state_form: ({ default_state }: object) => boolean;
|
|
869
|
-
getStringsForI18n({ columns, create_view_label }: {
|
|
870
|
-
columns: any;
|
|
871
|
-
create_view_label: any;
|
|
872
|
-
}): string[];
|
|
873
|
-
queries: ({ table_id, exttable_name, name, configuration: { columns, layout, default_state }, req, }: {
|
|
858
|
+
queries: ({ table_id, viewname, configuration: { columns }, req, res, exttable_name, }: {
|
|
874
859
|
table_id: any;
|
|
875
|
-
|
|
876
|
-
name: any;
|
|
860
|
+
viewname: any;
|
|
877
861
|
configuration: {
|
|
878
862
|
columns: any;
|
|
879
|
-
layout: any;
|
|
880
|
-
default_state: any;
|
|
881
863
|
};
|
|
882
864
|
req: any;
|
|
865
|
+
res: any;
|
|
866
|
+
exttable_name: any;
|
|
883
867
|
}) => {
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
868
|
+
actionQuery(state: any, rndid: any): Promise<{
|
|
869
|
+
json: any;
|
|
870
|
+
}>;
|
|
871
|
+
distinctValuesQuery(state: any): Promise<{
|
|
872
|
+
distinct_values: {};
|
|
873
|
+
role: any;
|
|
887
874
|
}>;
|
|
888
|
-
getRowQuery(id: any): Promise<import("@saltcorn/db-common/internal").Row | null>;
|
|
889
875
|
};
|
|
890
|
-
configCheck: (view: any) => Promise<{
|
|
891
|
-
errors: string[];
|
|
892
|
-
warnings: string[];
|
|
893
|
-
}>;
|
|
894
|
-
connectedObjects: (configuration: any) => Promise<import("@saltcorn/types/base_types").ConnectedObjects>;
|
|
895
876
|
} | {
|
|
896
877
|
name: string;
|
|
897
878
|
description: string;
|
|
@@ -1049,12 +1030,152 @@ export const viewtemplates: ({
|
|
|
1049
1030
|
} | {
|
|
1050
1031
|
name: string;
|
|
1051
1032
|
description: string;
|
|
1052
|
-
get_state_fields: () => object[];
|
|
1053
1033
|
configuration_workflow: (req: object) => import("../models/workflow");
|
|
1054
|
-
run: (table_id: string, viewname: string, {
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1034
|
+
run: (table_id: string, viewname: string, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: {
|
|
1035
|
+
participant_field: string;
|
|
1036
|
+
msg_relation: string;
|
|
1037
|
+
msgsender_field: any;
|
|
1038
|
+
msgview: string;
|
|
1039
|
+
msgform: string;
|
|
1040
|
+
participant_maxread_field: string;
|
|
1041
|
+
}, state: object, { req, res }: {
|
|
1042
|
+
req: object;
|
|
1043
|
+
res: object;
|
|
1044
|
+
}, { getRowQuery, updateQuery, optionsQuery }: {
|
|
1045
|
+
getRowQuery: any;
|
|
1046
|
+
updateQuery: any;
|
|
1047
|
+
optionsQuery: any;
|
|
1048
|
+
}) => Promise<div>;
|
|
1049
|
+
get_state_fields: () => object[];
|
|
1050
|
+
display_state_form: boolean;
|
|
1051
|
+
routes: {
|
|
1052
|
+
submit_msg_ajax: (table_id: any, viewname: string, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: {
|
|
1053
|
+
participant_field: string;
|
|
1054
|
+
msg_relation: string;
|
|
1055
|
+
msgsender_field: any;
|
|
1056
|
+
msgview: string;
|
|
1057
|
+
msgform: string;
|
|
1058
|
+
participant_maxread_field: string;
|
|
1059
|
+
}, body: any, { req, res }: {
|
|
1060
|
+
req: object;
|
|
1061
|
+
res: object;
|
|
1062
|
+
}, { submitAjaxQuery }: {
|
|
1063
|
+
submitAjaxQuery: any;
|
|
1064
|
+
}) => Promise<object>;
|
|
1065
|
+
ack_read: (table_id: any, viewname: any, { participant_field, participant_maxread_field }: {
|
|
1066
|
+
participant_field: string;
|
|
1067
|
+
participant_maxread_field: string;
|
|
1068
|
+
}, body: any, { req, res }: {
|
|
1069
|
+
req: object;
|
|
1070
|
+
res: object;
|
|
1071
|
+
}, { ackReadQuery }: {
|
|
1072
|
+
ackReadQuery: any;
|
|
1073
|
+
}) => Promise<void>;
|
|
1074
|
+
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>;
|
|
1075
|
+
};
|
|
1076
|
+
noAutoTest: boolean;
|
|
1077
|
+
authorize_join: ({ table_id, min_role, configuration: { participant_field } }: {
|
|
1078
|
+
participant_field: object;
|
|
1079
|
+
}, room_id: string, user: object) => Promise<object>;
|
|
1080
|
+
virtual_triggers: (table_id: any, viewname: string, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: {
|
|
1081
|
+
participant_field: any;
|
|
1082
|
+
msg_relation: string;
|
|
1083
|
+
msgsender_field: string;
|
|
1084
|
+
msgview: string;
|
|
1085
|
+
msgform: any;
|
|
1086
|
+
participant_maxread_field: any;
|
|
1087
|
+
}) => object[];
|
|
1088
|
+
getStringsForI18n(): object[];
|
|
1089
|
+
queries: ({ table_id, viewname, configuration: { columns, default_state }, req, }: {
|
|
1090
|
+
table_id: any;
|
|
1091
|
+
viewname: any;
|
|
1092
|
+
configuration: {
|
|
1093
|
+
columns: any;
|
|
1094
|
+
default_state: any;
|
|
1095
|
+
};
|
|
1096
|
+
req: any;
|
|
1097
|
+
}) => {
|
|
1098
|
+
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>;
|
|
1099
|
+
updateQuery(partRow: any, part_table_name: any, max_read_id: any, part_maxread_field: any): Promise<void>;
|
|
1100
|
+
submitAjaxQuery(msg_relation: any, participant_field: any, body: any, msgform: any, msgsender_field: any, participant_maxread_field: any): Promise<{
|
|
1101
|
+
json: {
|
|
1102
|
+
msgid: {
|
|
1103
|
+
error: string;
|
|
1104
|
+
} | {
|
|
1105
|
+
success: any;
|
|
1106
|
+
};
|
|
1107
|
+
error?: undefined;
|
|
1108
|
+
};
|
|
1109
|
+
} | {
|
|
1110
|
+
json: {
|
|
1111
|
+
error: any;
|
|
1112
|
+
msgid?: undefined;
|
|
1113
|
+
};
|
|
1114
|
+
}>;
|
|
1115
|
+
ackReadQuery(participant_field: any, participant_maxread_field: any, body: any): Promise<{
|
|
1116
|
+
json: {
|
|
1117
|
+
error: string;
|
|
1118
|
+
success?: undefined;
|
|
1119
|
+
};
|
|
1120
|
+
} | {
|
|
1121
|
+
json: {
|
|
1122
|
+
success: string;
|
|
1123
|
+
error?: undefined;
|
|
1124
|
+
};
|
|
1125
|
+
}>;
|
|
1126
|
+
fetchOlderMsgQuery(participant_field: any, body: any): Promise<import("@saltcorn/db-common/internal").Row | null>;
|
|
1127
|
+
optionsQuery(reftable_name: any, type: any, attributes: any, where: any): Promise<any>;
|
|
1128
|
+
};
|
|
1129
|
+
connectedObjects: (configuration: any) => Promise<import("@saltcorn/types/base_types").ConnectedObjects>;
|
|
1130
|
+
} | {
|
|
1131
|
+
name: string;
|
|
1132
|
+
description: string;
|
|
1133
|
+
configuration_workflow: (req: object) => import("../models/workflow");
|
|
1134
|
+
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, ...cols }: {
|
|
1135
|
+
show_view: string;
|
|
1136
|
+
order_field: void;
|
|
1137
|
+
descending: boolean;
|
|
1138
|
+
view_to_create?: string | undefined;
|
|
1139
|
+
create_view_display: string;
|
|
1140
|
+
in_card: boolean;
|
|
1141
|
+
masonry_columns: string;
|
|
1142
|
+
rows_per_page?: number | undefined;
|
|
1143
|
+
hide_pagination: boolean;
|
|
1144
|
+
create_view_label?: string | undefined;
|
|
1145
|
+
create_view_location?: string | undefined;
|
|
1146
|
+
always_create_view: boolean;
|
|
1147
|
+
cols: any;
|
|
1148
|
+
}, state: object, extraArgs: any, { countRowsQuery }: {
|
|
1149
|
+
countRowsQuery: any;
|
|
1150
|
+
}) => Promise<div>;
|
|
1151
|
+
get_state_fields: (table_id: number, viewname: any, { show_view }: {
|
|
1152
|
+
show_view: any;
|
|
1153
|
+
}) => Promise<import("../models/field")>;
|
|
1154
|
+
display_state_form: boolean;
|
|
1155
|
+
getStringsForI18n({ create_view_label }: {
|
|
1156
|
+
create_view_label: any;
|
|
1157
|
+
}): string[] | Object[];
|
|
1158
|
+
queries: ({ table_id, viewname, configuration: { columns, default_state }, req, }: {
|
|
1159
|
+
table_id: any;
|
|
1160
|
+
viewname: any;
|
|
1161
|
+
configuration: {
|
|
1162
|
+
columns: any;
|
|
1163
|
+
default_state: any;
|
|
1164
|
+
};
|
|
1165
|
+
req: any;
|
|
1166
|
+
}) => {
|
|
1167
|
+
countRowsQuery(state: any): Promise<number>;
|
|
1168
|
+
};
|
|
1169
|
+
connectedObjects: (configuration: any) => Promise<import("@saltcorn/types/base_types").ConnectedObjects>;
|
|
1170
|
+
} | {
|
|
1171
|
+
name: string;
|
|
1172
|
+
description: string;
|
|
1173
|
+
get_state_fields: () => object[];
|
|
1174
|
+
configuration_workflow: (req: object) => import("../models/workflow");
|
|
1175
|
+
run: (table_id: string, viewname: string, { columns, layout, page_title, page_title_formula }: {
|
|
1176
|
+
columns: object[];
|
|
1177
|
+
layout: object;
|
|
1178
|
+
page_title?: string | undefined;
|
|
1058
1179
|
page_title_formula: boolean;
|
|
1059
1180
|
}, state: object, extra: object, { showQuery }: {
|
|
1060
1181
|
showQuery: any;
|
|
@@ -1125,179 +1246,82 @@ export const viewtemplates: ({
|
|
|
1125
1246
|
name: string;
|
|
1126
1247
|
description: string;
|
|
1127
1248
|
configuration_workflow: (req: object) => import("../models/workflow");
|
|
1128
|
-
run: (table_id: string, viewname: string, {
|
|
1129
|
-
|
|
1130
|
-
show_view: string;
|
|
1131
|
-
subtables: object;
|
|
1132
|
-
}, state: any, extraArgs: any, { getRowQuery }: {
|
|
1133
|
-
getRowQuery: any;
|
|
1134
|
-
}) => Promise<div>;
|
|
1135
|
-
get_state_fields: (table_id: any, viewname: any, { list_view, show_view }: {
|
|
1136
|
-
list_view: string;
|
|
1137
|
-
show_view: any;
|
|
1138
|
-
}) => Promise<object[]>;
|
|
1139
|
-
display_state_form: ({ list_view, _omit_state_form }: {
|
|
1140
|
-
list_view: string;
|
|
1141
|
-
_omit_state_form: boolean;
|
|
1142
|
-
}) => boolean;
|
|
1143
|
-
queries: ({ table_id, viewname, configuration: { columns, default_state }, req, }: {
|
|
1144
|
-
table_id: any;
|
|
1145
|
-
viewname: any;
|
|
1146
|
-
configuration: {
|
|
1147
|
-
columns: any;
|
|
1148
|
-
default_state: any;
|
|
1149
|
-
};
|
|
1150
|
-
req: any;
|
|
1151
|
-
}) => {
|
|
1152
|
-
getRowQuery(uniques: any): Promise<import("@saltcorn/db-common/internal").Row | null>;
|
|
1153
|
-
};
|
|
1154
|
-
connectedObjects: ({ list_view, subtables }: {
|
|
1155
|
-
list_view: any;
|
|
1156
|
-
subtables: any;
|
|
1157
|
-
}) => Promise<{
|
|
1158
|
-
embeddedViews: import("../models/view")[];
|
|
1159
|
-
}>;
|
|
1160
|
-
} | {
|
|
1161
|
-
name: string;
|
|
1162
|
-
description: string;
|
|
1163
|
-
configuration_workflow: (req: object) => import("../models/workflow");
|
|
1164
|
-
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, ...cols }: {
|
|
1165
|
-
show_view: string;
|
|
1166
|
-
order_field: void;
|
|
1167
|
-
descending: boolean;
|
|
1249
|
+
run: (table_id: string | number, viewname: string, { columns, layout, view_to_create, create_view_display, create_view_label, default_state, create_view_location, create_link_style, create_link_size, create_view_showif, }: {
|
|
1250
|
+
columns: object[];
|
|
1168
1251
|
view_to_create?: string | undefined;
|
|
1169
1252
|
create_view_display: string;
|
|
1170
|
-
in_card: boolean;
|
|
1171
|
-
masonry_columns: string;
|
|
1172
|
-
rows_per_page?: number | undefined;
|
|
1173
|
-
hide_pagination: boolean;
|
|
1174
1253
|
create_view_label?: string | undefined;
|
|
1254
|
+
default_state?: object | undefined;
|
|
1175
1255
|
create_view_location?: string | undefined;
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
}
|
|
1181
|
-
get_state_fields: (table_id: number, viewname: any, { show_view }: {
|
|
1182
|
-
show_view: any;
|
|
1183
|
-
}) => Promise<import("../models/field")>;
|
|
1184
|
-
display_state_form: boolean;
|
|
1185
|
-
getStringsForI18n({ create_view_label }: {
|
|
1186
|
-
create_view_label: any;
|
|
1187
|
-
}): string[] | Object[];
|
|
1188
|
-
queries: ({ table_id, viewname, configuration: { columns, default_state }, req, }: {
|
|
1189
|
-
table_id: any;
|
|
1190
|
-
viewname: any;
|
|
1191
|
-
configuration: {
|
|
1192
|
-
columns: any;
|
|
1193
|
-
default_state: any;
|
|
1194
|
-
};
|
|
1195
|
-
req: any;
|
|
1196
|
-
}) => {
|
|
1197
|
-
countRowsQuery(state: any): Promise<number>;
|
|
1198
|
-
};
|
|
1199
|
-
connectedObjects: (configuration: any) => Promise<import("@saltcorn/types/base_types").ConnectedObjects>;
|
|
1200
|
-
} | {
|
|
1201
|
-
name: string;
|
|
1202
|
-
description: string;
|
|
1203
|
-
get_state_fields: () => object[];
|
|
1204
|
-
configuration_workflow: () => import("../models/workflow");
|
|
1205
|
-
run: (table_id: number, viewname: string, { columns, layout }: {
|
|
1256
|
+
}, stateWithId?: object | undefined, extraOpts: object, { listQuery }: {
|
|
1257
|
+
listQuery: any;
|
|
1258
|
+
}) => Promise<any>;
|
|
1259
|
+
view_quantity: string;
|
|
1260
|
+
get_state_fields: (table_id: string, viewname: any, { columns }: {
|
|
1206
1261
|
columns: object[];
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
display_state_form: boolean;
|
|
1213
|
-
getStringsForI18n({ layout }: {
|
|
1214
|
-
layout: any;
|
|
1215
|
-
}): string[];
|
|
1262
|
+
}) => Function;
|
|
1263
|
+
initial_config: Function;
|
|
1264
|
+
on_delete: (table_id: any, viewname: string, { default_state }: {
|
|
1265
|
+
default_state: any;
|
|
1266
|
+
}) => Promise<void>;
|
|
1216
1267
|
routes: {
|
|
1217
|
-
run_action: (table_id:
|
|
1218
|
-
|
|
1268
|
+
run_action: (table_id: number, viewname: any, { columns, layout }: {
|
|
1269
|
+
columns: object[];
|
|
1270
|
+
layout: any;
|
|
1271
|
+
}, body: object, { req, res }: {
|
|
1272
|
+
req: object;
|
|
1219
1273
|
res: any;
|
|
1220
|
-
}, {
|
|
1221
|
-
|
|
1222
|
-
}) => Promise<
|
|
1274
|
+
}, { getRowQuery }: {
|
|
1275
|
+
getRowQuery: any;
|
|
1276
|
+
}) => Promise<object>;
|
|
1223
1277
|
};
|
|
1224
|
-
|
|
1278
|
+
display_state_form: (opts: object) => boolean;
|
|
1279
|
+
default_state_form: ({ default_state }: object) => boolean;
|
|
1280
|
+
getStringsForI18n({ columns, create_view_label }: {
|
|
1281
|
+
columns: any;
|
|
1282
|
+
create_view_label: any;
|
|
1283
|
+
}): string[];
|
|
1284
|
+
queries: ({ table_id, exttable_name, name, configuration: { columns, layout, default_state }, req, }: {
|
|
1225
1285
|
table_id: any;
|
|
1226
|
-
|
|
1286
|
+
exttable_name: any;
|
|
1287
|
+
name: any;
|
|
1227
1288
|
configuration: {
|
|
1228
1289
|
columns: any;
|
|
1290
|
+
layout: any;
|
|
1291
|
+
default_state: any;
|
|
1229
1292
|
};
|
|
1230
1293
|
req: any;
|
|
1231
|
-
res: any;
|
|
1232
|
-
exttable_name: any;
|
|
1233
1294
|
}) => {
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
distinctValuesQuery(state: any): Promise<{
|
|
1238
|
-
distinct_values: {};
|
|
1239
|
-
role: any;
|
|
1295
|
+
listQuery(state: any, stateHash: any): Promise<{
|
|
1296
|
+
rows: import("@saltcorn/db-common/internal").Row[];
|
|
1297
|
+
rowCount: number;
|
|
1240
1298
|
}>;
|
|
1299
|
+
getRowQuery(id: any): Promise<import("@saltcorn/db-common/internal").Row | null>;
|
|
1241
1300
|
};
|
|
1301
|
+
configCheck: (view: any) => Promise<{
|
|
1302
|
+
errors: string[];
|
|
1303
|
+
warnings: string[];
|
|
1304
|
+
}>;
|
|
1305
|
+
connectedObjects: (configuration: any) => Promise<import("@saltcorn/types/base_types").ConnectedObjects>;
|
|
1242
1306
|
} | {
|
|
1243
1307
|
name: string;
|
|
1244
1308
|
description: string;
|
|
1245
1309
|
configuration_workflow: (req: object) => import("../models/workflow");
|
|
1246
|
-
run: (table_id: string, viewname: string, {
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
msgform: string;
|
|
1252
|
-
participant_maxread_field: string;
|
|
1253
|
-
}, state: object, { req, res }: {
|
|
1254
|
-
req: object;
|
|
1255
|
-
res: object;
|
|
1256
|
-
}, { getRowQuery, updateQuery, optionsQuery }: {
|
|
1310
|
+
run: (table_id: string, viewname: string, { list_view, show_view, list_width, subtables }: {
|
|
1311
|
+
list_view: string;
|
|
1312
|
+
show_view: string;
|
|
1313
|
+
subtables: object;
|
|
1314
|
+
}, state: any, extraArgs: any, { getRowQuery }: {
|
|
1257
1315
|
getRowQuery: any;
|
|
1258
|
-
updateQuery: any;
|
|
1259
|
-
optionsQuery: any;
|
|
1260
1316
|
}) => Promise<div>;
|
|
1261
|
-
get_state_fields: (
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
msgform: string;
|
|
1270
|
-
participant_maxread_field: string;
|
|
1271
|
-
}, body: any, { req, res }: {
|
|
1272
|
-
req: object;
|
|
1273
|
-
res: object;
|
|
1274
|
-
}, { submitAjaxQuery }: {
|
|
1275
|
-
submitAjaxQuery: any;
|
|
1276
|
-
}) => Promise<object>;
|
|
1277
|
-
ack_read: (table_id: any, viewname: any, { participant_field, participant_maxread_field }: {
|
|
1278
|
-
participant_field: string;
|
|
1279
|
-
participant_maxread_field: string;
|
|
1280
|
-
}, body: any, { req, res }: {
|
|
1281
|
-
req: object;
|
|
1282
|
-
res: object;
|
|
1283
|
-
}, { ackReadQuery }: {
|
|
1284
|
-
ackReadQuery: any;
|
|
1285
|
-
}) => Promise<void>;
|
|
1286
|
-
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>;
|
|
1287
|
-
};
|
|
1288
|
-
noAutoTest: boolean;
|
|
1289
|
-
authorize_join: ({ table_id, min_role, configuration: { participant_field } }: {
|
|
1290
|
-
participant_field: object;
|
|
1291
|
-
}, room_id: string, user: object) => Promise<object>;
|
|
1292
|
-
virtual_triggers: (table_id: any, viewname: string, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: {
|
|
1293
|
-
participant_field: any;
|
|
1294
|
-
msg_relation: string;
|
|
1295
|
-
msgsender_field: string;
|
|
1296
|
-
msgview: string;
|
|
1297
|
-
msgform: any;
|
|
1298
|
-
participant_maxread_field: any;
|
|
1299
|
-
}) => object[];
|
|
1300
|
-
getStringsForI18n(): object[];
|
|
1317
|
+
get_state_fields: (table_id: any, viewname: any, { list_view, show_view }: {
|
|
1318
|
+
list_view: string;
|
|
1319
|
+
show_view: any;
|
|
1320
|
+
}) => Promise<object[]>;
|
|
1321
|
+
display_state_form: ({ list_view, _omit_state_form }: {
|
|
1322
|
+
list_view: string;
|
|
1323
|
+
_omit_state_form: boolean;
|
|
1324
|
+
}) => boolean;
|
|
1301
1325
|
queries: ({ table_id, viewname, configuration: { columns, default_state }, req, }: {
|
|
1302
1326
|
table_id: any;
|
|
1303
1327
|
viewname: any;
|
|
@@ -1307,38 +1331,14 @@ export const viewtemplates: ({
|
|
|
1307
1331
|
};
|
|
1308
1332
|
req: any;
|
|
1309
1333
|
}) => {
|
|
1310
|
-
getRowQuery(
|
|
1311
|
-
updateQuery(partRow: any, part_table_name: any, max_read_id: any, part_maxread_field: any): Promise<void>;
|
|
1312
|
-
submitAjaxQuery(msg_relation: any, participant_field: any, body: any, msgform: any, msgsender_field: any, participant_maxread_field: any): Promise<{
|
|
1313
|
-
json: {
|
|
1314
|
-
msgid: {
|
|
1315
|
-
error: string;
|
|
1316
|
-
} | {
|
|
1317
|
-
success: any;
|
|
1318
|
-
};
|
|
1319
|
-
error?: undefined;
|
|
1320
|
-
};
|
|
1321
|
-
} | {
|
|
1322
|
-
json: {
|
|
1323
|
-
error: any;
|
|
1324
|
-
msgid?: undefined;
|
|
1325
|
-
};
|
|
1326
|
-
}>;
|
|
1327
|
-
ackReadQuery(participant_field: any, participant_maxread_field: any, body: any): Promise<{
|
|
1328
|
-
json: {
|
|
1329
|
-
error: string;
|
|
1330
|
-
success?: undefined;
|
|
1331
|
-
};
|
|
1332
|
-
} | {
|
|
1333
|
-
json: {
|
|
1334
|
-
success: string;
|
|
1335
|
-
error?: undefined;
|
|
1336
|
-
};
|
|
1337
|
-
}>;
|
|
1338
|
-
fetchOlderMsgQuery(participant_field: any, body: any): Promise<import("@saltcorn/db-common/internal").Row | null>;
|
|
1339
|
-
optionsQuery(reftable_name: any, type: any, attributes: any, where: any): Promise<any>;
|
|
1334
|
+
getRowQuery(uniques: any): Promise<import("@saltcorn/db-common/internal").Row | null>;
|
|
1340
1335
|
};
|
|
1341
|
-
connectedObjects: (
|
|
1336
|
+
connectedObjects: ({ list_view, subtables }: {
|
|
1337
|
+
list_view: any;
|
|
1338
|
+
subtables: any;
|
|
1339
|
+
}) => Promise<{
|
|
1340
|
+
embeddedViews: import("../models/view")[];
|
|
1341
|
+
}>;
|
|
1342
1342
|
})[];
|
|
1343
1343
|
import fileviews = require("./fileviews");
|
|
1344
1344
|
import actions = require("./actions");
|