@saltcorn/data 1.5.0-beta.9 → 1.5.0-rc.2
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/actions.d.ts +271 -151
- package/dist/base-plugin/actions.d.ts.map +1 -1
- package/dist/base-plugin/actions.js +158 -40
- package/dist/base-plugin/actions.js.map +1 -1
- package/dist/base-plugin/fileviews.d.ts +3 -3
- package/dist/base-plugin/fileviews.js +20 -9
- package/dist/base-plugin/fileviews.js.map +1 -1
- package/dist/base-plugin/index.d.ts +16 -2
- package/dist/base-plugin/index.d.ts.map +1 -1
- package/dist/base-plugin/types.d.ts +109 -91
- package/dist/base-plugin/types.d.ts.map +1 -1
- package/dist/base-plugin/types.js +75 -10
- package/dist/base-plugin/types.js.map +1 -1
- package/dist/base-plugin/viewtemplates/edit.d.ts +6 -2
- package/dist/base-plugin/viewtemplates/edit.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/edit.js +17 -341
- package/dist/base-plugin/viewtemplates/edit.js.map +1 -1
- package/dist/base-plugin/viewtemplates/filter.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/filter.js +9 -3
- package/dist/base-plugin/viewtemplates/filter.js.map +1 -1
- package/dist/base-plugin/viewtemplates/show.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/show.js +1 -0
- package/dist/base-plugin/viewtemplates/show.js.map +1 -1
- package/dist/base-plugin/viewtemplates/viewable_fields.d.ts +16 -0
- package/dist/base-plugin/viewtemplates/viewable_fields.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/viewable_fields.js +341 -4
- package/dist/base-plugin/viewtemplates/viewable_fields.js.map +1 -1
- package/dist/base-plugin/viewtemplates/workflow-room.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/workflow-room.js +1 -1
- package/dist/base-plugin/viewtemplates/workflow-room.js.map +1 -1
- package/dist/db/connect.d.ts.map +1 -1
- package/dist/db/connect.js +4 -1
- package/dist/db/connect.js.map +1 -1
- package/dist/db/state.d.ts +11 -7
- package/dist/db/state.d.ts.map +1 -1
- package/dist/db/state.js +78 -12
- package/dist/db/state.js.map +1 -1
- package/dist/mobile-mocks/npm/dockerode.d.ts +1 -0
- package/dist/mobile-mocks/npm/dockerode.d.ts.map +1 -0
- package/dist/mobile-mocks/npm/dockerode.js +2 -0
- package/dist/mobile-mocks/npm/dockerode.js.map +1 -0
- package/dist/models/config.d.ts.map +1 -1
- package/dist/models/config.js +55 -12
- package/dist/models/config.js.map +1 -1
- package/dist/models/email.js.map +1 -1
- package/dist/models/expression.d.ts.map +1 -1
- package/dist/models/expression.js +29 -0
- package/dist/models/expression.js.map +1 -1
- package/dist/models/field.d.ts +5 -3
- package/dist/models/field.d.ts.map +1 -1
- package/dist/models/field.js +8 -2
- package/dist/models/field.js.map +1 -1
- package/dist/models/file.d.ts +18 -1
- package/dist/models/file.d.ts.map +1 -1
- package/dist/models/file.js +361 -43
- package/dist/models/file.js.map +1 -1
- package/dist/models/form.d.ts +1 -0
- package/dist/models/form.d.ts.map +1 -1
- package/dist/models/form.js.map +1 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/internal/push_message_helper.d.ts +42 -12
- package/dist/models/internal/push_message_helper.d.ts.map +1 -1
- package/dist/models/internal/push_message_helper.js +117 -50
- package/dist/models/internal/push_message_helper.js.map +1 -1
- package/dist/models/internal/s3_helpers.d.ts +54 -0
- package/dist/models/internal/s3_helpers.d.ts.map +1 -0
- package/dist/models/internal/s3_helpers.js +561 -0
- package/dist/models/internal/s3_helpers.js.map +1 -0
- package/dist/models/model.d.ts +1 -1
- package/dist/models/model.d.ts.map +1 -1
- package/dist/models/model.js.map +1 -1
- package/dist/models/notification.d.ts.map +1 -1
- package/dist/models/notification.js +2 -5
- package/dist/models/notification.js.map +1 -1
- package/dist/models/page.d.ts +1 -0
- package/dist/models/page.d.ts.map +1 -1
- package/dist/models/page.js +27 -24
- package/dist/models/page.js.map +1 -1
- package/dist/models/plugin.d.ts +11 -3
- package/dist/models/plugin.d.ts.map +1 -1
- package/dist/models/plugin.js +51 -12
- package/dist/models/plugin.js.map +1 -1
- package/dist/models/s3_helpers.d.ts +54 -0
- package/dist/models/s3_helpers.d.ts.map +1 -0
- package/dist/models/s3_helpers.js +505 -0
- package/dist/models/s3_helpers.js.map +1 -0
- package/dist/models/scheduler.d.ts.map +1 -1
- package/dist/models/scheduler.js +4 -1
- package/dist/models/scheduler.js.map +1 -1
- package/dist/models/table.d.ts +8 -3
- package/dist/models/table.d.ts.map +1 -1
- package/dist/models/table.js +121 -32
- package/dist/models/table.js.map +1 -1
- package/dist/models/user.d.ts +4 -4
- package/dist/models/user.d.ts.map +1 -1
- package/dist/models/user.js.map +1 -1
- package/dist/models/view.js +1 -1
- package/dist/models/view.js.map +1 -1
- package/dist/models/workflow_run.d.ts +1 -1
- package/dist/models/workflow_run.d.ts.map +1 -1
- package/dist/models/workflow_run.js +8 -2
- package/dist/models/workflow_run.js.map +1 -1
- package/dist/models/workflow_step.d.ts.map +1 -1
- package/dist/models/workflow_step.js +10 -4
- package/dist/models/workflow_step.js.map +1 -1
- package/dist/plugin-helper.d.ts.map +1 -1
- package/dist/plugin-helper.js +139 -15
- package/dist/plugin-helper.js.map +1 -1
- package/dist/standard-menu.js +2 -2
- package/dist/standard-menu.js.map +1 -1
- package/dist/test-utils/mocks.d.ts +203 -0
- package/dist/test-utils/mocks.d.ts.map +1 -0
- package/dist/test-utils/mocks.js +329 -0
- package/dist/test-utils/mocks.js.map +1 -0
- package/dist/tests/assertions.d.ts.map +1 -1
- package/dist/tests/assertions.js +10 -9
- package/dist/tests/assertions.js.map +1 -1
- package/dist/tests/auth.test.js +0 -68
- package/dist/tests/auth.test.js.map +1 -1
- package/dist/tests/calc.test.js +3 -62
- package/dist/tests/calc.test.js.map +1 -1
- package/dist/tests/exact_views.test.js +14 -14
- package/dist/tests/exact_views.test.js.map +1 -1
- package/dist/tests/show.test.js +1 -1
- package/dist/tests/show.test.js.map +1 -1
- package/dist/tests/table.test.js +0 -37
- package/dist/tests/table.test.js.map +1 -1
- package/dist/tests/table_sync_info.test.d.ts +2 -0
- package/dist/tests/table_sync_info.test.d.ts.map +1 -0
- package/dist/tests/table_sync_info.test.js +62 -0
- package/dist/tests/table_sync_info.test.js.map +1 -0
- package/dist/tests/user.test.js +4 -29
- package/dist/tests/user.test.js.map +1 -1
- package/dist/tests/view.test.js +0 -3
- package/dist/tests/view.test.js.map +1 -1
- package/dist/utils.d.ts +11 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +33 -3
- package/dist/utils.js.map +1 -1
- package/dist/viewable_fields.d.ts +172 -0
- package/dist/viewable_fields.d.ts.map +1 -0
- package/dist/viewable_fields.js +1562 -0
- package/dist/viewable_fields.js.map +1 -0
- package/dist/web-mobile-commons.d.ts +1 -1
- package/dist/web-mobile-commons.d.ts.map +1 -1
- package/dist/web-mobile-commons.js +21 -3
- package/dist/web-mobile-commons.js.map +1 -1
- package/package.json +14 -9
- package/webpack.config.js +3 -0
|
@@ -80,18 +80,22 @@ export namespace loop_rows {
|
|
|
80
80
|
sublabel: string;
|
|
81
81
|
input_type: string;
|
|
82
82
|
options: string[];
|
|
83
|
-
type?: undefined;
|
|
84
|
-
class?: undefined;
|
|
85
83
|
attributes?: undefined;
|
|
84
|
+
type?: undefined;
|
|
86
85
|
} | {
|
|
87
86
|
name: string;
|
|
88
87
|
label: string;
|
|
89
88
|
sublabel: string;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
input_type: string;
|
|
90
|
+
attributes: {
|
|
91
|
+
mode: string;
|
|
92
|
+
singleline: boolean;
|
|
93
|
+
expression_type: string;
|
|
94
|
+
calcOptions?: undefined;
|
|
95
|
+
min?: undefined;
|
|
96
|
+
};
|
|
93
97
|
options?: undefined;
|
|
94
|
-
|
|
98
|
+
type?: undefined;
|
|
95
99
|
} | {
|
|
96
100
|
name: string;
|
|
97
101
|
label: string;
|
|
@@ -99,7 +103,6 @@ export namespace loop_rows {
|
|
|
99
103
|
sublabel: string;
|
|
100
104
|
input_type?: undefined;
|
|
101
105
|
options?: undefined;
|
|
102
|
-
class?: undefined;
|
|
103
106
|
attributes?: undefined;
|
|
104
107
|
} | {
|
|
105
108
|
name: string;
|
|
@@ -107,12 +110,14 @@ export namespace loop_rows {
|
|
|
107
110
|
type: string;
|
|
108
111
|
attributes: {
|
|
109
112
|
calcOptions: {}[];
|
|
113
|
+
mode?: undefined;
|
|
114
|
+
singleline?: undefined;
|
|
115
|
+
expression_type?: undefined;
|
|
110
116
|
min?: undefined;
|
|
111
117
|
};
|
|
112
118
|
sublabel?: undefined;
|
|
113
119
|
input_type?: undefined;
|
|
114
120
|
options?: undefined;
|
|
115
|
-
class?: undefined;
|
|
116
121
|
} | {
|
|
117
122
|
name: string;
|
|
118
123
|
label: string;
|
|
@@ -120,7 +125,6 @@ export namespace loop_rows {
|
|
|
120
125
|
sublabel?: undefined;
|
|
121
126
|
input_type?: undefined;
|
|
122
127
|
options?: undefined;
|
|
123
|
-
class?: undefined;
|
|
124
128
|
attributes?: undefined;
|
|
125
129
|
} | {
|
|
126
130
|
name: string;
|
|
@@ -129,11 +133,13 @@ export namespace loop_rows {
|
|
|
129
133
|
type: string;
|
|
130
134
|
attributes: {
|
|
131
135
|
min: number;
|
|
136
|
+
mode?: undefined;
|
|
137
|
+
singleline?: undefined;
|
|
138
|
+
expression_type?: undefined;
|
|
132
139
|
calcOptions?: undefined;
|
|
133
140
|
};
|
|
134
141
|
input_type?: undefined;
|
|
135
142
|
options?: undefined;
|
|
136
|
-
class?: undefined;
|
|
137
143
|
} | {
|
|
138
144
|
name: string;
|
|
139
145
|
label: string;
|
|
@@ -143,9 +149,8 @@ export namespace loop_rows {
|
|
|
143
149
|
label: string | undefined;
|
|
144
150
|
value: number | null | undefined;
|
|
145
151
|
}[];
|
|
146
|
-
type?: undefined;
|
|
147
|
-
class?: undefined;
|
|
148
152
|
attributes?: undefined;
|
|
153
|
+
type?: undefined;
|
|
149
154
|
})[]>;
|
|
150
155
|
export { configFields_2 as configFields };
|
|
151
156
|
export function run_1({ row, configuration: { table_name, where, limit, orderBy, orderDesc, trigger_id, interval, }, user, ...rest }: {
|
|
@@ -494,7 +499,7 @@ export namespace recalculate_stored_fields {
|
|
|
494
499
|
options: string[];
|
|
495
500
|
type?: undefined;
|
|
496
501
|
showIf?: undefined;
|
|
497
|
-
|
|
502
|
+
attributes?: undefined;
|
|
498
503
|
} | {
|
|
499
504
|
name: string;
|
|
500
505
|
label: string;
|
|
@@ -507,15 +512,19 @@ export namespace recalculate_stored_fields {
|
|
|
507
512
|
sublabel?: undefined;
|
|
508
513
|
input_type?: undefined;
|
|
509
514
|
options?: undefined;
|
|
510
|
-
|
|
515
|
+
attributes?: undefined;
|
|
511
516
|
} | {
|
|
512
517
|
name: string;
|
|
513
518
|
label: string;
|
|
514
519
|
sublabel: string;
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
520
|
+
input_type: string;
|
|
521
|
+
attributes: {
|
|
522
|
+
mode: string;
|
|
523
|
+
singleline: boolean;
|
|
524
|
+
expression_type: string;
|
|
525
|
+
};
|
|
518
526
|
options?: undefined;
|
|
527
|
+
type?: undefined;
|
|
519
528
|
showIf?: undefined;
|
|
520
529
|
})[]>;
|
|
521
530
|
export { configFields_8 as configFields };
|
|
@@ -589,9 +598,11 @@ export namespace modify_row {
|
|
|
589
598
|
input_type: string;
|
|
590
599
|
attributes: {
|
|
591
600
|
mode: string;
|
|
601
|
+
compact: boolean;
|
|
592
602
|
expression_type: string;
|
|
593
603
|
options?: undefined;
|
|
594
604
|
showIf?: undefined;
|
|
605
|
+
singleline?: undefined;
|
|
595
606
|
};
|
|
596
607
|
type?: undefined;
|
|
597
608
|
required?: undefined;
|
|
@@ -604,8 +615,10 @@ export namespace modify_row {
|
|
|
604
615
|
attributes: {
|
|
605
616
|
options: string[];
|
|
606
617
|
mode?: undefined;
|
|
618
|
+
compact?: undefined;
|
|
607
619
|
expression_type?: undefined;
|
|
608
620
|
showIf?: undefined;
|
|
621
|
+
singleline?: undefined;
|
|
609
622
|
};
|
|
610
623
|
sublabel?: undefined;
|
|
611
624
|
input_type?: undefined;
|
|
@@ -621,7 +634,9 @@ export namespace modify_row {
|
|
|
621
634
|
where: string;
|
|
622
635
|
};
|
|
623
636
|
mode?: undefined;
|
|
637
|
+
compact?: undefined;
|
|
624
638
|
expression_type?: undefined;
|
|
639
|
+
singleline?: undefined;
|
|
625
640
|
};
|
|
626
641
|
sublabel?: undefined;
|
|
627
642
|
input_type?: undefined;
|
|
@@ -629,14 +644,21 @@ export namespace modify_row {
|
|
|
629
644
|
} | {
|
|
630
645
|
name: string;
|
|
631
646
|
label: string;
|
|
632
|
-
|
|
647
|
+
input_type: string;
|
|
648
|
+
attributes: {
|
|
649
|
+
mode: string;
|
|
650
|
+
singleline: boolean;
|
|
651
|
+
expression_type: string;
|
|
652
|
+
compact?: undefined;
|
|
653
|
+
options?: undefined;
|
|
654
|
+
showIf?: undefined;
|
|
655
|
+
};
|
|
633
656
|
required: boolean;
|
|
634
657
|
showIf: {
|
|
635
658
|
where: string;
|
|
636
659
|
};
|
|
637
660
|
sublabel?: undefined;
|
|
638
|
-
|
|
639
|
-
attributes?: undefined;
|
|
661
|
+
type?: undefined;
|
|
640
662
|
})[]>;
|
|
641
663
|
export { configFields_10 as configFields };
|
|
642
664
|
let requireRow_3: boolean;
|
|
@@ -717,7 +739,7 @@ export namespace delete_rows {
|
|
|
717
739
|
export namespace navigate {
|
|
718
740
|
let description_12: string;
|
|
719
741
|
export { description_12 as description };
|
|
720
|
-
|
|
742
|
+
export function configFields_12(): Promise<({
|
|
721
743
|
name: string;
|
|
722
744
|
label: string;
|
|
723
745
|
type: string;
|
|
@@ -726,6 +748,9 @@ export namespace navigate {
|
|
|
726
748
|
options: string[];
|
|
727
749
|
};
|
|
728
750
|
showIf?: undefined;
|
|
751
|
+
input_type?: undefined;
|
|
752
|
+
options?: undefined;
|
|
753
|
+
class?: undefined;
|
|
729
754
|
} | {
|
|
730
755
|
name: string;
|
|
731
756
|
label: string;
|
|
@@ -735,34 +760,75 @@ export namespace navigate {
|
|
|
735
760
|
nav_action: string[];
|
|
736
761
|
};
|
|
737
762
|
attributes?: undefined;
|
|
738
|
-
|
|
763
|
+
input_type?: undefined;
|
|
764
|
+
options?: undefined;
|
|
765
|
+
class?: undefined;
|
|
766
|
+
} | {
|
|
767
|
+
name: string;
|
|
768
|
+
label: string;
|
|
769
|
+
input_type: string;
|
|
770
|
+
options: string[];
|
|
771
|
+
showIf: {
|
|
772
|
+
nav_action: string;
|
|
773
|
+
};
|
|
774
|
+
type?: undefined;
|
|
775
|
+
required?: undefined;
|
|
776
|
+
attributes?: undefined;
|
|
777
|
+
class?: undefined;
|
|
778
|
+
} | {
|
|
779
|
+
name: string;
|
|
780
|
+
label: string;
|
|
781
|
+
type: string;
|
|
782
|
+
class: string;
|
|
783
|
+
showIf: {
|
|
784
|
+
nav_action: string[];
|
|
785
|
+
};
|
|
786
|
+
required?: undefined;
|
|
787
|
+
attributes?: undefined;
|
|
788
|
+
input_type?: undefined;
|
|
789
|
+
options?: undefined;
|
|
790
|
+
} | {
|
|
791
|
+
name: string;
|
|
792
|
+
label: string;
|
|
793
|
+
type: string;
|
|
794
|
+
showIf: {
|
|
795
|
+
nav_action: string[];
|
|
796
|
+
};
|
|
797
|
+
required?: undefined;
|
|
798
|
+
attributes?: undefined;
|
|
799
|
+
input_type?: undefined;
|
|
800
|
+
options?: undefined;
|
|
801
|
+
class?: undefined;
|
|
802
|
+
})[]>;
|
|
739
803
|
export { configFields_12 as configFields };
|
|
740
|
-
export function run_11({ row, user, configuration: { nav_action, url }, req }: {
|
|
804
|
+
export function run_11({ row, user, configuration: { nav_action, url, state_formula, new_tab, view, page }, req, }: {
|
|
741
805
|
row: any;
|
|
742
806
|
user: any;
|
|
743
807
|
configuration: {
|
|
744
808
|
nav_action: any;
|
|
745
809
|
url: any;
|
|
810
|
+
state_formula: any;
|
|
811
|
+
new_tab: any;
|
|
812
|
+
view: any;
|
|
813
|
+
page: any;
|
|
746
814
|
};
|
|
747
815
|
req: any;
|
|
748
816
|
}): Promise<{
|
|
817
|
+
target?: string | undefined;
|
|
749
818
|
goto: string;
|
|
750
819
|
popup?: undefined;
|
|
751
820
|
eval_js?: undefined;
|
|
752
821
|
reload_page?: undefined;
|
|
753
822
|
} | {
|
|
754
823
|
popup: string;
|
|
755
|
-
goto?: undefined;
|
|
756
824
|
eval_js?: undefined;
|
|
757
825
|
reload_page?: undefined;
|
|
758
826
|
} | {
|
|
759
827
|
eval_js: string;
|
|
760
|
-
goto?: undefined;
|
|
761
828
|
popup?: undefined;
|
|
762
829
|
reload_page?: undefined;
|
|
763
830
|
} | {
|
|
764
831
|
reload_page: boolean;
|
|
765
|
-
goto?: undefined;
|
|
766
832
|
popup?: undefined;
|
|
767
833
|
eval_js?: undefined;
|
|
768
834
|
} | undefined>;
|
|
@@ -862,10 +928,39 @@ export namespace form_action {
|
|
|
862
928
|
let namespace_13: string;
|
|
863
929
|
export { namespace_13 as namespace };
|
|
864
930
|
}
|
|
865
|
-
export namespace
|
|
931
|
+
export namespace copy_to_clipboard {
|
|
866
932
|
let description_15: string;
|
|
867
933
|
export { description_15 as description };
|
|
868
|
-
let
|
|
934
|
+
let requireRow_5: boolean;
|
|
935
|
+
export { requireRow_5 as requireRow };
|
|
936
|
+
let configFields_15: {
|
|
937
|
+
name: string;
|
|
938
|
+
label: string;
|
|
939
|
+
sublabel: string;
|
|
940
|
+
type: string;
|
|
941
|
+
required: boolean;
|
|
942
|
+
}[];
|
|
943
|
+
export { configFields_15 as configFields };
|
|
944
|
+
export function run_14({ row, table, user, req, configuration: { text_template }, ...rest }: {
|
|
945
|
+
[x: string]: any;
|
|
946
|
+
row: any;
|
|
947
|
+
table: any;
|
|
948
|
+
user: any;
|
|
949
|
+
req: any;
|
|
950
|
+
configuration: {
|
|
951
|
+
text_template: any;
|
|
952
|
+
};
|
|
953
|
+
}): Promise<{
|
|
954
|
+
eval_js: string;
|
|
955
|
+
}>;
|
|
956
|
+
export { run_14 as run };
|
|
957
|
+
let namespace_14: string;
|
|
958
|
+
export { namespace_14 as namespace };
|
|
959
|
+
}
|
|
960
|
+
export namespace toast {
|
|
961
|
+
let description_16: string;
|
|
962
|
+
export { description_16 as description };
|
|
963
|
+
let configFields_16: ({
|
|
869
964
|
name: string;
|
|
870
965
|
label: string;
|
|
871
966
|
type: string;
|
|
@@ -896,8 +991,8 @@ export namespace toast {
|
|
|
896
991
|
attributes?: undefined;
|
|
897
992
|
sublabel?: undefined;
|
|
898
993
|
})[];
|
|
899
|
-
export {
|
|
900
|
-
export function
|
|
994
|
+
export { configFields_16 as configFields };
|
|
995
|
+
export function run_15({ row, user, configuration: { type, notify_type, text, title, remove_delay }, }: {
|
|
901
996
|
row: any;
|
|
902
997
|
user: any;
|
|
903
998
|
configuration: {
|
|
@@ -934,19 +1029,20 @@ export namespace toast {
|
|
|
934
1029
|
toast_title?: undefined;
|
|
935
1030
|
notify: string;
|
|
936
1031
|
}>;
|
|
937
|
-
export {
|
|
938
|
-
let
|
|
939
|
-
export {
|
|
1032
|
+
export { run_15 as run };
|
|
1033
|
+
let namespace_15: string;
|
|
1034
|
+
export { namespace_15 as namespace };
|
|
940
1035
|
}
|
|
941
1036
|
export namespace run_js_code {
|
|
942
|
-
let
|
|
943
|
-
export {
|
|
1037
|
+
let description_17: string;
|
|
1038
|
+
export { description_17 as description };
|
|
944
1039
|
export namespace configFormOptions {
|
|
945
1040
|
let formStyle: string;
|
|
946
1041
|
}
|
|
947
|
-
export function
|
|
1042
|
+
export function configFields_17({ table, when_trigger, mode }: {
|
|
948
1043
|
table: any;
|
|
949
1044
|
when_trigger: any;
|
|
1045
|
+
mode: any;
|
|
950
1046
|
}): Promise<({
|
|
951
1047
|
name: string;
|
|
952
1048
|
label: string;
|
|
@@ -955,9 +1051,10 @@ export namespace run_js_code {
|
|
|
955
1051
|
mode: string;
|
|
956
1052
|
table: any;
|
|
957
1053
|
user: string | undefined;
|
|
1054
|
+
workflow: boolean;
|
|
958
1055
|
secondColHoriz?: undefined;
|
|
959
1056
|
};
|
|
960
|
-
class: string;
|
|
1057
|
+
class: (string | false)[];
|
|
961
1058
|
validator(s: any): any;
|
|
962
1059
|
sublabel?: undefined;
|
|
963
1060
|
help?: undefined;
|
|
@@ -978,6 +1075,7 @@ export namespace run_js_code {
|
|
|
978
1075
|
mode?: undefined;
|
|
979
1076
|
table?: undefined;
|
|
980
1077
|
user?: undefined;
|
|
1078
|
+
workflow?: undefined;
|
|
981
1079
|
};
|
|
982
1080
|
name?: undefined;
|
|
983
1081
|
class?: undefined;
|
|
@@ -995,15 +1093,15 @@ export namespace run_js_code {
|
|
|
995
1093
|
help?: undefined;
|
|
996
1094
|
showIf?: undefined;
|
|
997
1095
|
})[]>;
|
|
998
|
-
export {
|
|
1096
|
+
export { configFields_17 as configFields };
|
|
999
1097
|
export { run_code as run };
|
|
1000
|
-
let
|
|
1001
|
-
export {
|
|
1098
|
+
let namespace_16: string;
|
|
1099
|
+
export { namespace_16 as namespace };
|
|
1002
1100
|
}
|
|
1003
1101
|
export namespace run_js_code_in_field {
|
|
1004
|
-
let
|
|
1005
|
-
export {
|
|
1006
|
-
export function
|
|
1102
|
+
let description_18: string;
|
|
1103
|
+
export { description_18 as description };
|
|
1104
|
+
export function configFields_18({ table, mode }: {
|
|
1007
1105
|
table: any;
|
|
1008
1106
|
mode: any;
|
|
1009
1107
|
}): Promise<({
|
|
@@ -1043,24 +1141,24 @@ export namespace run_js_code_in_field {
|
|
|
1043
1141
|
required?: undefined;
|
|
1044
1142
|
attributes?: undefined;
|
|
1045
1143
|
})[]>;
|
|
1046
|
-
export {
|
|
1047
|
-
let
|
|
1048
|
-
export {
|
|
1049
|
-
let
|
|
1050
|
-
export {
|
|
1051
|
-
let
|
|
1052
|
-
export {
|
|
1144
|
+
export { configFields_18 as configFields };
|
|
1145
|
+
let requireRow_6: boolean;
|
|
1146
|
+
export { requireRow_6 as requireRow };
|
|
1147
|
+
let run_16: base;
|
|
1148
|
+
export { run_16 as run };
|
|
1149
|
+
let namespace_17: string;
|
|
1150
|
+
export { namespace_17 as namespace };
|
|
1053
1151
|
}
|
|
1054
1152
|
export namespace duplicate_row_prefill_edit {
|
|
1055
|
-
export function
|
|
1153
|
+
export function configFields_19({ table }: {
|
|
1056
1154
|
table: any;
|
|
1057
1155
|
}): Promise<any[]>;
|
|
1058
|
-
export {
|
|
1156
|
+
export { configFields_19 as configFields };
|
|
1059
1157
|
let disableInWorkflow_4: boolean;
|
|
1060
1158
|
export { disableInWorkflow_4 as disableInWorkflow };
|
|
1061
|
-
let
|
|
1062
|
-
export {
|
|
1063
|
-
export function
|
|
1159
|
+
let requireRow_7: boolean;
|
|
1160
|
+
export { requireRow_7 as requireRow };
|
|
1161
|
+
export function run_17({ row, table, configuration: { viewname, ...flds }, user }: {
|
|
1064
1162
|
row: any;
|
|
1065
1163
|
table: any;
|
|
1066
1164
|
configuration: {
|
|
@@ -1071,14 +1169,14 @@ export namespace duplicate_row_prefill_edit {
|
|
|
1071
1169
|
}): Promise<{
|
|
1072
1170
|
goto: string;
|
|
1073
1171
|
}>;
|
|
1074
|
-
export {
|
|
1075
|
-
let
|
|
1076
|
-
export {
|
|
1172
|
+
export { run_17 as run };
|
|
1173
|
+
let namespace_18: string;
|
|
1174
|
+
export { namespace_18 as namespace };
|
|
1077
1175
|
}
|
|
1078
1176
|
export namespace set_user_language {
|
|
1079
|
-
let
|
|
1080
|
-
export {
|
|
1081
|
-
export function
|
|
1177
|
+
let description_19: string;
|
|
1178
|
+
export { description_19 as description };
|
|
1179
|
+
export function configFields_20({ table }: {
|
|
1082
1180
|
table: any;
|
|
1083
1181
|
}): Promise<{
|
|
1084
1182
|
name: string;
|
|
@@ -1091,8 +1189,8 @@ export namespace set_user_language {
|
|
|
1091
1189
|
}[];
|
|
1092
1190
|
};
|
|
1093
1191
|
}[]>;
|
|
1094
|
-
export {
|
|
1095
|
-
export function
|
|
1192
|
+
export { configFields_20 as configFields };
|
|
1193
|
+
export function run_18({ configuration: { language }, user, req, res }: {
|
|
1096
1194
|
configuration: {
|
|
1097
1195
|
language: any;
|
|
1098
1196
|
};
|
|
@@ -1102,14 +1200,14 @@ export namespace set_user_language {
|
|
|
1102
1200
|
}): Promise<{
|
|
1103
1201
|
reload_page: boolean;
|
|
1104
1202
|
}>;
|
|
1105
|
-
export {
|
|
1106
|
-
let
|
|
1107
|
-
export {
|
|
1203
|
+
export { run_18 as run };
|
|
1204
|
+
let namespace_19: string;
|
|
1205
|
+
export { namespace_19 as namespace };
|
|
1108
1206
|
}
|
|
1109
1207
|
export namespace sync_table_from_external {
|
|
1110
|
-
let
|
|
1111
|
-
export {
|
|
1112
|
-
export function
|
|
1208
|
+
let description_20: string;
|
|
1209
|
+
export { description_20 as description };
|
|
1210
|
+
export function configFields_21({ table }: {
|
|
1113
1211
|
table: any;
|
|
1114
1212
|
}): Promise<({
|
|
1115
1213
|
name: string;
|
|
@@ -1117,10 +1215,9 @@ export namespace sync_table_from_external {
|
|
|
1117
1215
|
sublabel: string;
|
|
1118
1216
|
input_type: string;
|
|
1119
1217
|
options: string[];
|
|
1218
|
+
attributes?: undefined;
|
|
1120
1219
|
type?: undefined;
|
|
1121
|
-
class?: undefined;
|
|
1122
1220
|
required?: undefined;
|
|
1123
|
-
attributes?: undefined;
|
|
1124
1221
|
default?: undefined;
|
|
1125
1222
|
fieldview?: undefined;
|
|
1126
1223
|
showIf?: undefined;
|
|
@@ -1128,12 +1225,16 @@ export namespace sync_table_from_external {
|
|
|
1128
1225
|
name: string;
|
|
1129
1226
|
label: string;
|
|
1130
1227
|
sublabel: string;
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1228
|
+
input_type: string;
|
|
1229
|
+
attributes: {
|
|
1230
|
+
mode: string;
|
|
1231
|
+
singleline: boolean;
|
|
1232
|
+
expression_type: string;
|
|
1233
|
+
calcOptions?: undefined;
|
|
1234
|
+
};
|
|
1134
1235
|
options?: undefined;
|
|
1236
|
+
type?: undefined;
|
|
1135
1237
|
required?: undefined;
|
|
1136
|
-
attributes?: undefined;
|
|
1137
1238
|
default?: undefined;
|
|
1138
1239
|
fieldview?: undefined;
|
|
1139
1240
|
showIf?: undefined;
|
|
@@ -1145,10 +1246,12 @@ export namespace sync_table_from_external {
|
|
|
1145
1246
|
required: boolean;
|
|
1146
1247
|
attributes: {
|
|
1147
1248
|
calcOptions: {}[];
|
|
1249
|
+
mode?: undefined;
|
|
1250
|
+
singleline?: undefined;
|
|
1251
|
+
expression_type?: undefined;
|
|
1148
1252
|
};
|
|
1149
1253
|
input_type?: undefined;
|
|
1150
1254
|
options?: undefined;
|
|
1151
|
-
class?: undefined;
|
|
1152
1255
|
default?: undefined;
|
|
1153
1256
|
fieldview?: undefined;
|
|
1154
1257
|
showIf?: undefined;
|
|
@@ -1160,9 +1263,8 @@ export namespace sync_table_from_external {
|
|
|
1160
1263
|
default: boolean;
|
|
1161
1264
|
input_type?: undefined;
|
|
1162
1265
|
options?: undefined;
|
|
1163
|
-
class?: undefined;
|
|
1164
|
-
required?: undefined;
|
|
1165
1266
|
attributes?: undefined;
|
|
1267
|
+
required?: undefined;
|
|
1166
1268
|
fieldview?: undefined;
|
|
1167
1269
|
showIf?: undefined;
|
|
1168
1270
|
} | {
|
|
@@ -1176,26 +1278,25 @@ export namespace sync_table_from_external {
|
|
|
1176
1278
|
};
|
|
1177
1279
|
input_type?: undefined;
|
|
1178
1280
|
options?: undefined;
|
|
1179
|
-
class?: undefined;
|
|
1180
|
-
required?: undefined;
|
|
1181
1281
|
attributes?: undefined;
|
|
1282
|
+
required?: undefined;
|
|
1182
1283
|
default?: undefined;
|
|
1183
1284
|
})[]>;
|
|
1184
|
-
export {
|
|
1185
|
-
export function
|
|
1285
|
+
export { configFields_21 as configFields };
|
|
1286
|
+
export function run_19({ configuration: { row_expr, table_src, table_dest, pk_field, delete_rows, match_field_names, where, }, user, ...rest }: {
|
|
1186
1287
|
row: object;
|
|
1187
1288
|
configuration: object;
|
|
1188
1289
|
user: object;
|
|
1189
1290
|
rest: any[];
|
|
1190
1291
|
}): Promise<object | boolean>;
|
|
1191
|
-
export {
|
|
1192
|
-
let
|
|
1193
|
-
export {
|
|
1292
|
+
export { run_19 as run };
|
|
1293
|
+
let namespace_20: string;
|
|
1294
|
+
export { namespace_20 as namespace };
|
|
1194
1295
|
}
|
|
1195
1296
|
export namespace reload_embedded_view {
|
|
1196
|
-
let
|
|
1197
|
-
export {
|
|
1198
|
-
export function
|
|
1297
|
+
let description_21: string;
|
|
1298
|
+
export { description_21 as description };
|
|
1299
|
+
export function configFields_22(): Promise<({
|
|
1199
1300
|
name: string;
|
|
1200
1301
|
label: string;
|
|
1201
1302
|
class: string;
|
|
@@ -1222,8 +1323,8 @@ export namespace reload_embedded_view {
|
|
|
1222
1323
|
required?: undefined;
|
|
1223
1324
|
attributes?: undefined;
|
|
1224
1325
|
})[]>;
|
|
1225
|
-
export {
|
|
1226
|
-
export function
|
|
1326
|
+
export { configFields_22 as configFields };
|
|
1327
|
+
export function run_20({ row, user, configuration: { view, new_state_fml, interval }, }: {
|
|
1227
1328
|
row: any;
|
|
1228
1329
|
user: any;
|
|
1229
1330
|
configuration: {
|
|
@@ -1234,14 +1335,14 @@ export namespace reload_embedded_view {
|
|
|
1234
1335
|
}): Promise<{
|
|
1235
1336
|
eval_js: string;
|
|
1236
1337
|
}>;
|
|
1237
|
-
export {
|
|
1238
|
-
let
|
|
1239
|
-
export {
|
|
1338
|
+
export { run_20 as run };
|
|
1339
|
+
let namespace_21: string;
|
|
1340
|
+
export { namespace_21 as namespace };
|
|
1240
1341
|
}
|
|
1241
1342
|
export namespace progress_bar {
|
|
1242
|
-
let
|
|
1243
|
-
export {
|
|
1244
|
-
let
|
|
1343
|
+
let description_22: string;
|
|
1344
|
+
export { description_22 as description };
|
|
1345
|
+
let configFields_23: ({
|
|
1245
1346
|
name: string;
|
|
1246
1347
|
label: string;
|
|
1247
1348
|
sublabel: string;
|
|
@@ -1305,8 +1406,8 @@ export namespace progress_bar {
|
|
|
1305
1406
|
class?: undefined;
|
|
1306
1407
|
required?: undefined;
|
|
1307
1408
|
})[];
|
|
1308
|
-
export {
|
|
1309
|
-
export function
|
|
1409
|
+
export { configFields_23 as configFields };
|
|
1410
|
+
export function run_21({ row, user, configuration: { blocking, id, close, title, message, percent, maxHeight, popupWidth, }, req, }: {
|
|
1310
1411
|
row: any;
|
|
1311
1412
|
user: any;
|
|
1312
1413
|
configuration: {
|
|
@@ -1333,14 +1434,14 @@ export namespace progress_bar {
|
|
|
1333
1434
|
popupWidth: any;
|
|
1334
1435
|
};
|
|
1335
1436
|
}>;
|
|
1336
|
-
export {
|
|
1337
|
-
let
|
|
1338
|
-
export {
|
|
1437
|
+
export { run_21 as run };
|
|
1438
|
+
let namespace_22: string;
|
|
1439
|
+
export { namespace_22 as namespace };
|
|
1339
1440
|
}
|
|
1340
1441
|
export namespace sleep {
|
|
1341
|
-
let
|
|
1342
|
-
export {
|
|
1343
|
-
let
|
|
1442
|
+
let description_23: string;
|
|
1443
|
+
export { description_23 as description };
|
|
1444
|
+
let configFields_24: ({
|
|
1344
1445
|
name: string;
|
|
1345
1446
|
label: string;
|
|
1346
1447
|
type: string;
|
|
@@ -1355,8 +1456,8 @@ export namespace sleep {
|
|
|
1355
1456
|
type?: undefined;
|
|
1356
1457
|
required?: undefined;
|
|
1357
1458
|
})[];
|
|
1358
|
-
export {
|
|
1359
|
-
export function
|
|
1459
|
+
export { configFields_24 as configFields };
|
|
1460
|
+
export function run_22({ configuration: { seconds, sleep_where } }: {
|
|
1360
1461
|
configuration: {
|
|
1361
1462
|
seconds: any;
|
|
1362
1463
|
sleep_where: any;
|
|
@@ -1364,25 +1465,25 @@ export namespace sleep {
|
|
|
1364
1465
|
}): Promise<{
|
|
1365
1466
|
eval_js: string;
|
|
1366
1467
|
} | undefined>;
|
|
1367
|
-
export {
|
|
1368
|
-
let
|
|
1369
|
-
export {
|
|
1468
|
+
export { run_22 as run };
|
|
1469
|
+
let namespace_23: string;
|
|
1470
|
+
export { namespace_23 as namespace };
|
|
1370
1471
|
}
|
|
1371
1472
|
export namespace refresh_user_session {
|
|
1372
|
-
let
|
|
1373
|
-
export {
|
|
1374
|
-
export function
|
|
1473
|
+
let description_24: string;
|
|
1474
|
+
export { description_24 as description };
|
|
1475
|
+
export function run_23({ user, req }: {
|
|
1375
1476
|
user: any;
|
|
1376
1477
|
req: any;
|
|
1377
1478
|
}): Promise<void>;
|
|
1378
|
-
export {
|
|
1379
|
-
let
|
|
1380
|
-
export {
|
|
1479
|
+
export { run_23 as run };
|
|
1480
|
+
let namespace_24: string;
|
|
1481
|
+
export { namespace_24 as namespace };
|
|
1381
1482
|
}
|
|
1382
1483
|
export namespace notify_user {
|
|
1383
|
-
let
|
|
1384
|
-
export {
|
|
1385
|
-
export function
|
|
1484
|
+
let description_25: string;
|
|
1485
|
+
export { description_25 as description };
|
|
1486
|
+
export function configFields_25(): ({
|
|
1386
1487
|
name: string;
|
|
1387
1488
|
label: string;
|
|
1388
1489
|
type: string;
|
|
@@ -1393,20 +1494,20 @@ export namespace notify_user {
|
|
|
1393
1494
|
required: boolean;
|
|
1394
1495
|
type: string;
|
|
1395
1496
|
})[];
|
|
1396
|
-
export {
|
|
1397
|
-
export function
|
|
1497
|
+
export { configFields_25 as configFields };
|
|
1498
|
+
export function run_24({ row, user, configuration: { title, body, link, user_spec }, }: {
|
|
1398
1499
|
row: object;
|
|
1399
1500
|
configuration: object;
|
|
1400
1501
|
user: object;
|
|
1401
1502
|
}): Promise<void>;
|
|
1402
|
-
export {
|
|
1403
|
-
let
|
|
1404
|
-
export {
|
|
1503
|
+
export { run_24 as run };
|
|
1504
|
+
let namespace_25: string;
|
|
1505
|
+
export { namespace_25 as namespace };
|
|
1405
1506
|
}
|
|
1406
1507
|
export namespace convert_session_to_user {
|
|
1407
|
-
let
|
|
1408
|
-
export {
|
|
1409
|
-
export function
|
|
1508
|
+
let description_26: string;
|
|
1509
|
+
export { description_26 as description };
|
|
1510
|
+
export function configFields_26({ table }: {
|
|
1410
1511
|
table: any;
|
|
1411
1512
|
}): Promise<({
|
|
1412
1513
|
name: string;
|
|
@@ -1427,8 +1528,8 @@ export namespace convert_session_to_user {
|
|
|
1427
1528
|
input_type?: undefined;
|
|
1428
1529
|
options?: undefined;
|
|
1429
1530
|
})[]>;
|
|
1430
|
-
export {
|
|
1431
|
-
export function
|
|
1531
|
+
export { configFields_26 as configFields };
|
|
1532
|
+
export function run_25({ row, configuration: { table_name, session_field, user_field }, user, }: {
|
|
1432
1533
|
row: any;
|
|
1433
1534
|
configuration: {
|
|
1434
1535
|
table_name: any;
|
|
@@ -1437,15 +1538,15 @@ export namespace convert_session_to_user {
|
|
|
1437
1538
|
};
|
|
1438
1539
|
user: any;
|
|
1439
1540
|
}): Promise<void>;
|
|
1440
|
-
export {
|
|
1441
|
-
let
|
|
1442
|
-
export {
|
|
1541
|
+
export { run_25 as run };
|
|
1542
|
+
let namespace_26: string;
|
|
1543
|
+
export { namespace_26 as namespace };
|
|
1443
1544
|
}
|
|
1444
1545
|
export namespace train_model_instance {
|
|
1445
|
-
let
|
|
1446
|
-
export {
|
|
1546
|
+
let description_27: string;
|
|
1547
|
+
export { description_27 as description };
|
|
1447
1548
|
export function disableIf(): boolean;
|
|
1448
|
-
export function
|
|
1549
|
+
export function configFields_27(): Promise<({
|
|
1449
1550
|
name: string;
|
|
1450
1551
|
label: string;
|
|
1451
1552
|
input_type: string;
|
|
@@ -1456,6 +1557,9 @@ export namespace train_model_instance {
|
|
|
1456
1557
|
}[];
|
|
1457
1558
|
attributes: {
|
|
1458
1559
|
explainers: {};
|
|
1560
|
+
mode?: undefined;
|
|
1561
|
+
singleline?: undefined;
|
|
1562
|
+
expression_type?: undefined;
|
|
1459
1563
|
};
|
|
1460
1564
|
type?: undefined;
|
|
1461
1565
|
sublabel?: undefined;
|
|
@@ -1477,15 +1581,31 @@ export namespace train_model_instance {
|
|
|
1477
1581
|
label: string;
|
|
1478
1582
|
fieldview: string;
|
|
1479
1583
|
sublabel: string;
|
|
1584
|
+
input_type: string;
|
|
1585
|
+
attributes: {
|
|
1586
|
+
mode: string;
|
|
1587
|
+
singleline: boolean;
|
|
1588
|
+
expression_type: string;
|
|
1589
|
+
explainers?: undefined;
|
|
1590
|
+
};
|
|
1591
|
+
required?: undefined;
|
|
1592
|
+
options?: undefined;
|
|
1593
|
+
type?: undefined;
|
|
1594
|
+
class?: undefined;
|
|
1595
|
+
} | {
|
|
1596
|
+
name: string;
|
|
1597
|
+
label: string;
|
|
1598
|
+
sublabel: string;
|
|
1480
1599
|
type: string;
|
|
1600
|
+
fieldview: string;
|
|
1481
1601
|
class: string;
|
|
1482
1602
|
input_type?: undefined;
|
|
1483
1603
|
required?: undefined;
|
|
1484
1604
|
options?: undefined;
|
|
1485
1605
|
attributes?: undefined;
|
|
1486
1606
|
})[]>;
|
|
1487
|
-
export {
|
|
1488
|
-
export function
|
|
1607
|
+
export { configFields_27 as configFields };
|
|
1608
|
+
export function run_26({ row, configuration: { model_id, instance_name, where, hyperparameters }, user, }: {
|
|
1489
1609
|
row: any;
|
|
1490
1610
|
configuration: {
|
|
1491
1611
|
model_id: any;
|
|
@@ -1495,14 +1615,14 @@ export namespace train_model_instance {
|
|
|
1495
1615
|
};
|
|
1496
1616
|
user: any;
|
|
1497
1617
|
}): Promise<void>;
|
|
1498
|
-
export {
|
|
1499
|
-
let
|
|
1500
|
-
export {
|
|
1618
|
+
export { run_26 as run };
|
|
1619
|
+
let namespace_27: string;
|
|
1620
|
+
export { namespace_27 as namespace };
|
|
1501
1621
|
}
|
|
1502
1622
|
export namespace download_file_to_browser {
|
|
1503
|
-
let
|
|
1504
|
-
export {
|
|
1505
|
-
export function
|
|
1623
|
+
let description_28: string;
|
|
1624
|
+
export { description_28 as description };
|
|
1625
|
+
export function configFields_28({ table, mode }: {
|
|
1506
1626
|
table: any;
|
|
1507
1627
|
mode: any;
|
|
1508
1628
|
}): Promise<{
|
|
@@ -1520,8 +1640,8 @@ export namespace download_file_to_browser {
|
|
|
1520
1640
|
options: any;
|
|
1521
1641
|
};
|
|
1522
1642
|
}[]>;
|
|
1523
|
-
export {
|
|
1524
|
-
export function
|
|
1643
|
+
export { configFields_28 as configFields };
|
|
1644
|
+
export function run_27({ row, configuration: { filepath_expr, file_field }, user, mode, }: {
|
|
1525
1645
|
row: any;
|
|
1526
1646
|
configuration: {
|
|
1527
1647
|
filepath_expr: any;
|
|
@@ -1536,14 +1656,14 @@ export namespace download_file_to_browser {
|
|
|
1536
1656
|
blob: Buffer<ArrayBufferLike>;
|
|
1537
1657
|
};
|
|
1538
1658
|
} | undefined>;
|
|
1539
|
-
export {
|
|
1659
|
+
export { run_27 as run };
|
|
1540
1660
|
}
|
|
1541
1661
|
export namespace install_progressive_web_app {
|
|
1542
|
-
let
|
|
1543
|
-
export {
|
|
1544
|
-
export function
|
|
1545
|
-
export {
|
|
1546
|
-
export function
|
|
1662
|
+
let description_29: string;
|
|
1663
|
+
export { description_29 as description };
|
|
1664
|
+
export function configFields_29(): never[];
|
|
1665
|
+
export { configFields_29 as configFields };
|
|
1666
|
+
export function run_28({ req }: {
|
|
1547
1667
|
req: any;
|
|
1548
1668
|
}): Promise<{
|
|
1549
1669
|
eval_js: string;
|
|
@@ -1552,7 +1672,7 @@ export namespace install_progressive_web_app {
|
|
|
1552
1672
|
error: any;
|
|
1553
1673
|
eval_js?: undefined;
|
|
1554
1674
|
}>;
|
|
1555
|
-
export {
|
|
1675
|
+
export { run_28 as run };
|
|
1556
1676
|
}
|
|
1557
1677
|
export {};
|
|
1558
1678
|
//# sourceMappingURL=actions.d.ts.map
|