@saltcorn/data 1.3.1-beta.0 → 1.3.1-beta.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.
Files changed (72) hide show
  1. package/dist/base-plugin/actions.d.ts +318 -187
  2. package/dist/base-plugin/actions.d.ts.map +1 -1
  3. package/dist/base-plugin/actions.js +173 -1
  4. package/dist/base-plugin/actions.js.map +1 -1
  5. package/dist/base-plugin/index.d.ts +21 -1
  6. package/dist/base-plugin/index.d.ts.map +1 -1
  7. package/dist/base-plugin/types.d.ts +39 -28
  8. package/dist/base-plugin/types.d.ts.map +1 -1
  9. package/dist/base-plugin/types.js +46 -11
  10. package/dist/base-plugin/types.js.map +1 -1
  11. package/dist/base-plugin/viewtemplates/edit.d.ts +12 -1
  12. package/dist/base-plugin/viewtemplates/edit.d.ts.map +1 -1
  13. package/dist/base-plugin/viewtemplates/edit.js +88 -4
  14. package/dist/base-plugin/viewtemplates/edit.js.map +1 -1
  15. package/dist/base-plugin/viewtemplates/filter.js +1 -1
  16. package/dist/base-plugin/viewtemplates/filter.js.map +1 -1
  17. package/dist/base-plugin/viewtemplates/list.js +1 -1
  18. package/dist/base-plugin/viewtemplates/list.js.map +1 -1
  19. package/dist/base-plugin/viewtemplates/show.js +1 -1
  20. package/dist/base-plugin/viewtemplates/show.js.map +1 -1
  21. package/dist/db/fixtures.d.ts.map +1 -1
  22. package/dist/db/fixtures.js +1 -0
  23. package/dist/db/fixtures.js.map +1 -1
  24. package/dist/db/state.d.ts +0 -1
  25. package/dist/db/state.d.ts.map +1 -1
  26. package/dist/db/state.js +0 -5
  27. package/dist/db/state.js.map +1 -1
  28. package/dist/index.d.ts +1 -1
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +1 -1
  31. package/dist/index.js.map +1 -1
  32. package/dist/models/config.d.ts.map +1 -1
  33. package/dist/models/config.js +62 -0
  34. package/dist/models/config.js.map +1 -1
  35. package/dist/models/model_instance.d.ts.map +1 -1
  36. package/dist/models/model_instance.js +31 -11
  37. package/dist/models/model_instance.js.map +1 -1
  38. package/dist/models/notification.d.ts.map +1 -1
  39. package/dist/models/notification.js +4 -3
  40. package/dist/models/notification.js.map +1 -1
  41. package/dist/models/table.d.ts.map +1 -1
  42. package/dist/models/table.js +2 -0
  43. package/dist/models/table.js.map +1 -1
  44. package/dist/models/trigger.d.ts +7 -0
  45. package/dist/models/trigger.d.ts.map +1 -1
  46. package/dist/models/trigger.js +32 -1
  47. package/dist/models/trigger.js.map +1 -1
  48. package/dist/models/user.d.ts +3 -1
  49. package/dist/models/user.d.ts.map +1 -1
  50. package/dist/models/user.js +35 -4
  51. package/dist/models/user.js.map +1 -1
  52. package/dist/models/view.d.ts.map +1 -1
  53. package/dist/models/view.js +3 -5
  54. package/dist/models/view.js.map +1 -1
  55. package/dist/models/workflow_run.d.ts.map +1 -1
  56. package/dist/models/workflow_run.js +11 -5
  57. package/dist/models/workflow_run.js.map +1 -1
  58. package/dist/models/workflow_step.d.ts +15 -0
  59. package/dist/models/workflow_step.d.ts.map +1 -1
  60. package/dist/models/workflow_step.js +15 -0
  61. package/dist/models/workflow_step.js.map +1 -1
  62. package/dist/tests/auxtest.test.js +1 -0
  63. package/dist/tests/auxtest.test.js.map +1 -1
  64. package/dist/tests/user.test.js +4 -0
  65. package/dist/tests/user.test.js.map +1 -1
  66. package/dist/tests/workflow.test.js +4 -0
  67. package/dist/tests/workflow.test.js.map +1 -1
  68. package/dist/utils.d.ts +2 -0
  69. package/dist/utils.d.ts.map +1 -1
  70. package/dist/utils.js +18 -1
  71. package/dist/utils.js.map +1 -1
  72. package/package.json +11 -10
@@ -71,10 +71,83 @@ export namespace emit_event {
71
71
  let namespace_1: string;
72
72
  export { namespace_1 as namespace };
73
73
  }
74
- export namespace webhook {
74
+ export namespace loop_rows {
75
75
  let description_2: string;
76
76
  export { description_2 as description };
77
- export function configFields_2({ table, mode }: {
77
+ export function configFields_2(): Promise<({
78
+ name: string;
79
+ label: string;
80
+ sublabel: string;
81
+ input_type: string;
82
+ options: string[];
83
+ type?: undefined;
84
+ class?: undefined;
85
+ attributes?: undefined;
86
+ } | {
87
+ name: string;
88
+ label: string;
89
+ sublabel: string;
90
+ type: string;
91
+ class: string;
92
+ input_type?: undefined;
93
+ options?: undefined;
94
+ attributes?: undefined;
95
+ } | {
96
+ name: string;
97
+ label: string;
98
+ type: string;
99
+ sublabel: string;
100
+ input_type?: undefined;
101
+ options?: undefined;
102
+ class?: undefined;
103
+ attributes?: undefined;
104
+ } | {
105
+ name: string;
106
+ label: string;
107
+ type: string;
108
+ attributes: {
109
+ calcOptions: {}[];
110
+ };
111
+ sublabel?: undefined;
112
+ input_type?: undefined;
113
+ options?: undefined;
114
+ class?: undefined;
115
+ } | {
116
+ name: string;
117
+ label: string;
118
+ type: string;
119
+ sublabel?: undefined;
120
+ input_type?: undefined;
121
+ options?: undefined;
122
+ class?: undefined;
123
+ attributes?: undefined;
124
+ } | {
125
+ name: string;
126
+ label: string;
127
+ sublabel: string;
128
+ input_type: string;
129
+ options: {
130
+ label: string | undefined;
131
+ value: number | null | undefined;
132
+ }[];
133
+ type?: undefined;
134
+ class?: undefined;
135
+ attributes?: undefined;
136
+ })[]>;
137
+ export { configFields_2 as configFields };
138
+ export function run_1({ row, configuration: { table_name, where, limit, orderBy, orderDesc, trigger_id, }, user, ...rest }: {
139
+ row: object;
140
+ configuration: object;
141
+ user: object;
142
+ }): Promise<void>;
143
+ export { run_1 as run };
144
+ let namespace_2: string;
145
+ export { namespace_2 as namespace };
146
+ }
147
+ export namespace webhook {
148
+ let description_3: string;
149
+ export { description_3 as description };
150
+ export function configFields_3({ table, mode }: {
78
151
  table: any;
79
152
  mode: any;
80
153
  }): Promise<({
@@ -120,38 +193,38 @@ export namespace webhook {
120
193
  fieldview?: undefined;
121
194
  showIf?: undefined;
122
195
  })[]>;
123
- export { configFields_2 as configFields };
124
- export function run_1({ row, user, table, configuration: { url, body, authorization, response_field, response_var, method, }, }: {
196
+ export { configFields_3 as configFields };
197
+ export function run_2({ row, user, table, configuration: { url, body, authorization, response_field, response_var, method, }, }: {
125
198
  url: string;
126
199
  body: object;
127
200
  }): Promise<object>;
128
- export { run_1 as run };
201
+ export { run_2 as run };
129
202
  }
130
203
  export namespace find_or_create_dm_room {
131
- let description_3: string;
132
- export { description_3 as description };
133
- export function configFields_3(): Promise<{
204
+ let description_4: string;
205
+ export { description_4 as description };
206
+ export function configFields_4(): Promise<{
134
207
  name: string;
135
208
  label: string;
136
209
  sublabel: string;
137
210
  input_type: string;
138
211
  options: string[];
139
212
  }[]>;
140
- export { configFields_3 as configFields };
141
- export function run_2({ row, table, configuration: { viewname }, user }: {
213
+ export { configFields_4 as configFields };
214
+ export function run_3({ row, table, configuration: { viewname }, user }: {
142
215
  row: object;
143
216
  table: any;
144
217
  configuration: object;
145
218
  user: object;
146
219
  }): Promise<object>;
147
- export { run_2 as run };
148
- let namespace_2: string;
149
- export { namespace_2 as namespace };
220
+ export { run_3 as run };
221
+ let namespace_3: string;
222
+ export { namespace_3 as namespace };
150
223
  }
151
224
  export namespace send_email {
152
- let description_4: string;
153
- export { description_4 as description };
154
- export function configFields_4({ table, mode }: {
225
+ let description_5: string;
226
+ export { description_5 as description };
227
+ export function configFields_5({ table, mode }: {
155
228
  table: any;
156
229
  mode: any;
157
230
  }): Promise<({
@@ -338,22 +411,22 @@ export namespace send_email {
338
411
  class?: undefined;
339
412
  default?: undefined;
340
413
  })[]>;
341
- export { configFields_4 as configFields };
414
+ export { configFields_5 as configFields };
342
415
  export let requireRow: boolean;
343
- export function run_3({ row, table, configuration: { body_type, body_field, viewname, subject, subject_formula, to_email, to_email_field, to_email_fixed, cc_email, bcc_email, only_if, attachment_path, disable_notify, confirm_field, body, locale, }, user, mode, }: {
416
+ export function run_4({ row, table, configuration: { body_type, body_field, viewname, subject, subject_formula, to_email, to_email_field, to_email_fixed, cc_email, bcc_email, only_if, attachment_path, disable_notify, confirm_field, body, locale, }, user, mode, }: {
344
417
  row: object;
345
418
  table: object;
346
419
  configuration: object;
347
420
  user: object;
348
421
  }): Promise<object>;
349
- export { run_3 as run };
350
- let namespace_3: string;
351
- export { namespace_3 as namespace };
422
+ export { run_4 as run };
423
+ let namespace_4: string;
424
+ export { namespace_4 as namespace };
352
425
  }
353
426
  export namespace insert_joined_row {
354
- let description_5: string;
355
- export { description_5 as description };
356
- export function configFields_5({ table }: {
427
+ let description_6: string;
428
+ export { description_6 as description };
429
+ export function configFields_6({ table }: {
357
430
  table: any;
358
431
  }): Promise<{
359
432
  name: string;
@@ -362,43 +435,43 @@ export namespace insert_joined_row {
362
435
  input_type: string;
363
436
  options: any;
364
437
  }[]>;
365
- export { configFields_5 as configFields };
438
+ export { configFields_6 as configFields };
366
439
  let disableInWorkflow_1: boolean;
367
440
  export { disableInWorkflow_1 as disableInWorkflow };
368
441
  let requireRow_1: boolean;
369
442
  export { requireRow_1 as requireRow };
370
- export function run_4({ row, table, configuration: { joined_table }, user }: {
443
+ export function run_5({ row, table, configuration: { joined_table }, user }: {
371
444
  row: object;
372
445
  table: object;
373
446
  configuration: object;
374
447
  user: object;
375
448
  }): Promise<object>;
376
- export { run_4 as run };
377
- let namespace_4: string;
378
- export { namespace_4 as namespace };
449
+ export { run_5 as run };
450
+ let namespace_5: string;
451
+ export { namespace_5 as namespace };
379
452
  }
380
453
  export namespace duplicate_row {
381
- let description_6: string;
382
- export { description_6 as description };
383
- export function configFields_6(): never[];
384
- export { configFields_6 as configFields };
454
+ let description_7: string;
455
+ export { description_7 as description };
456
+ export function configFields_7(): never[];
457
+ export { configFields_7 as configFields };
385
458
  let disableInWorkflow_2: boolean;
386
459
  export { disableInWorkflow_2 as disableInWorkflow };
387
460
  let requireRow_2: boolean;
388
461
  export { requireRow_2 as requireRow };
389
- export function run_5({ row, table, user }: {
462
+ export function run_6({ row, table, user }: {
390
463
  row: object;
391
464
  table: object;
392
465
  user: any;
393
466
  }): Promise<object>;
394
- export { run_5 as run };
395
- let namespace_5: string;
396
- export { namespace_5 as namespace };
467
+ export { run_6 as run };
468
+ let namespace_6: string;
469
+ export { namespace_6 as namespace };
397
470
  }
398
471
  export namespace recalculate_stored_fields {
399
- let description_7: string;
400
- export { description_7 as description };
401
- export function configFields_7({ table }: {
472
+ let description_8: string;
473
+ export { description_8 as description };
474
+ export function configFields_8({ table }: {
402
475
  table: any;
403
476
  }): Promise<({
404
477
  name: string;
@@ -432,18 +505,18 @@ export namespace recalculate_stored_fields {
432
505
  options?: undefined;
433
506
  showIf?: undefined;
434
507
  })[]>;
435
- export { configFields_7 as configFields };
436
- export function run_6({ table, row, configuration, user }: {
508
+ export { configFields_8 as configFields };
509
+ export function run_7({ table, row, configuration, user }: {
437
510
  configuration: object;
438
511
  }): Promise<void>;
439
- export { run_6 as run };
440
- let namespace_6: string;
441
- export { namespace_6 as namespace };
512
+ export { run_7 as run };
513
+ let namespace_7: string;
514
+ export { namespace_7 as namespace };
442
515
  }
443
516
  export namespace insert_any_row {
444
- let description_8: string;
445
- export { description_8 as description };
446
- export function configFields_8({ mode }: {
517
+ let description_9: string;
518
+ export { description_9 as description };
519
+ export function configFields_9({ mode }: {
447
520
  mode: any;
448
521
  }): Promise<({
449
522
  name: string;
@@ -470,22 +543,22 @@ export namespace insert_any_row {
470
543
  options?: undefined;
471
544
  fieldview?: undefined;
472
545
  })[]>;
473
- export { configFields_8 as configFields };
474
- export function run_7({ row, table, configuration, user, referrer, ...rest }: {
546
+ export { configFields_9 as configFields };
547
+ export function run_8({ row, table, configuration, user, referrer, ...rest }: {
475
548
  row: object;
476
549
  table?: object | undefined;
477
550
  configuration: object;
478
551
  user: object;
479
552
  rest?: any;
480
553
  }): Promise<boolean | object>;
481
- export { run_7 as run };
482
- let namespace_7: string;
483
- export { namespace_7 as namespace };
554
+ export { run_8 as run };
555
+ let namespace_8: string;
556
+ export { namespace_8 as namespace };
484
557
  }
485
558
  export namespace modify_row {
486
- let description_9: string;
487
- export { description_9 as description };
488
- export function configFields_9({ mode, when_trigger }: {
559
+ let description_10: string;
560
+ export { description_10 as description };
561
+ export function configFields_10({ mode, when_trigger }: {
489
562
  mode: any;
490
563
  when_trigger: any;
491
564
  }): Promise<({
@@ -541,10 +614,10 @@ export namespace modify_row {
541
614
  input_type?: undefined;
542
615
  attributes?: undefined;
543
616
  })[]>;
544
- export { configFields_9 as configFields };
617
+ export { configFields_10 as configFields };
545
618
  let requireRow_3: boolean;
546
619
  export { requireRow_3 as requireRow };
547
- export function run_8({ row, table, configuration: { row_expr, where, select_table, query }, user, ...rest }: {
620
+ export function run_9({ row, table, configuration: { row_expr, where, select_table, query }, user, ...rest }: {
548
621
  [x: string]: any;
549
622
  row: any;
550
623
  table: any;
@@ -556,14 +629,14 @@ export namespace modify_row {
556
629
  };
557
630
  user: any;
558
631
  }): Promise<any>;
559
- export { run_8 as run };
560
- let namespace_8: string;
561
- export { namespace_8 as namespace };
632
+ export { run_9 as run };
633
+ let namespace_9: string;
634
+ export { namespace_9 as namespace };
562
635
  }
563
636
  export namespace delete_rows {
564
- let description_10: string;
565
- export { description_10 as description };
566
- export function configFields_10({ mode, when_trigger }: {
637
+ let description_11: string;
638
+ export { description_11 as description };
639
+ export function configFields_11({ mode, when_trigger }: {
567
640
  mode: any;
568
641
  when_trigger: any;
569
642
  }): Promise<({
@@ -601,8 +674,8 @@ export namespace delete_rows {
601
674
  input_type?: undefined;
602
675
  options?: undefined;
603
676
  })[]>;
604
- export { configFields_10 as configFields };
605
- export function run_9({ row, table, configuration: { delete_triggering_row, delete_where, table_name }, user, ...rest }: {
677
+ export { configFields_11 as configFields };
678
+ export function run_10({ row, table, configuration: { delete_triggering_row, delete_where, table_name }, user, ...rest }: {
606
679
  [x: string]: any;
607
680
  row: any;
608
681
  table: any;
@@ -613,14 +686,14 @@ export namespace delete_rows {
613
686
  };
614
687
  user: any;
615
688
  }): Promise<void>;
616
- export { run_9 as run };
617
- let namespace_9: string;
618
- export { namespace_9 as namespace };
689
+ export { run_10 as run };
690
+ let namespace_10: string;
691
+ export { namespace_10 as namespace };
619
692
  }
620
693
  export namespace navigate {
621
- let description_11: string;
622
- export { description_11 as description };
623
- let configFields_11: ({
694
+ let description_12: string;
695
+ export { description_12 as description };
696
+ let configFields_12: ({
624
697
  name: string;
625
698
  label: string;
626
699
  type: string;
@@ -639,8 +712,8 @@ export namespace navigate {
639
712
  };
640
713
  attributes?: undefined;
641
714
  })[];
642
- export { configFields_11 as configFields };
643
- export function run_10({ row, user, configuration: { nav_action, url }, req }: {
715
+ export { configFields_12 as configFields };
716
+ export function run_11({ row, user, configuration: { nav_action, url }, req }: {
644
717
  row: any;
645
718
  user: any;
646
719
  configuration: {
@@ -669,16 +742,16 @@ export namespace navigate {
669
742
  popup?: undefined;
670
743
  eval_js?: undefined;
671
744
  } | undefined>;
672
- export { run_10 as run };
673
- let namespace_10: string;
674
- export { namespace_10 as namespace };
745
+ export { run_11 as run };
746
+ let namespace_11: string;
747
+ export { namespace_11 as namespace };
675
748
  }
676
749
  export namespace step_control_flow {
677
- let description_12: string;
678
- export { description_12 as description };
750
+ let description_13: string;
751
+ export { description_13 as description };
679
752
  let disableInWorkflow_3: boolean;
680
753
  export { disableInWorkflow_3 as disableInWorkflow };
681
- let configFields_12: ({
754
+ let configFields_13: ({
682
755
  name: string;
683
756
  label: string;
684
757
  type: string;
@@ -697,8 +770,8 @@ export namespace step_control_flow {
697
770
  };
698
771
  attributes?: undefined;
699
772
  })[];
700
- export { configFields_12 as configFields };
701
- export function run_11({ row, user, configuration: { control_action, step } }: {
773
+ export { configFields_13 as configFields };
774
+ export function run_12({ row, user, configuration: { control_action, step } }: {
702
775
  row: any;
703
776
  user: any;
704
777
  configuration: {
@@ -718,16 +791,16 @@ export namespace step_control_flow {
718
791
  halt_steps?: undefined;
719
792
  goto_step?: undefined;
720
793
  } | undefined>;
721
- export { run_11 as run };
722
- let namespace_11: string;
723
- export { namespace_11 as namespace };
794
+ export { run_12 as run };
795
+ let namespace_12: string;
796
+ export { namespace_12 as namespace };
724
797
  }
725
798
  export namespace form_action {
726
- let description_13: string;
727
- export { description_13 as description };
799
+ let description_14: string;
800
+ export { description_14 as description };
728
801
  let requireRow_4: boolean;
729
802
  export { requireRow_4 as requireRow };
730
- let configFields_13: {
803
+ let configFields_14: {
731
804
  name: string;
732
805
  label: string;
733
806
  type: string;
@@ -736,8 +809,8 @@ export namespace form_action {
736
809
  options: string[];
737
810
  };
738
811
  }[];
739
- export { configFields_13 as configFields };
740
- export function run_12({ row, table, user, req, configuration: { form_action } }: {
812
+ export { configFields_14 as configFields };
813
+ export function run_13({ row, table, user, req, configuration: { form_action } }: {
741
814
  row: any;
742
815
  table: any;
743
816
  user: any;
@@ -756,14 +829,14 @@ export namespace form_action {
756
829
  };
757
830
  eval_js?: undefined;
758
831
  }>;
759
- export { run_12 as run };
760
- let namespace_12: string;
761
- export { namespace_12 as namespace };
832
+ export { run_13 as run };
833
+ let namespace_13: string;
834
+ export { namespace_13 as namespace };
762
835
  }
763
836
  export namespace toast {
764
- let description_14: string;
765
- export { description_14 as description };
766
- let configFields_14: ({
837
+ let description_15: string;
838
+ export { description_15 as description };
839
+ let configFields_15: ({
767
840
  name: string;
768
841
  label: string;
769
842
  type: string;
@@ -787,8 +860,8 @@ export namespace toast {
787
860
  required?: undefined;
788
861
  attributes?: undefined;
789
862
  })[];
790
- export { configFields_14 as configFields };
791
- export function run_13({ row, user, configuration: { type, notify_type, text, title }, }: {
863
+ export { configFields_15 as configFields };
864
+ export function run_14({ row, user, configuration: { type, notify_type, text, title }, }: {
792
865
  row: any;
793
866
  user: any;
794
867
  configuration: {
@@ -816,17 +889,17 @@ export namespace toast {
816
889
  toast_title?: undefined;
817
890
  notify: string;
818
891
  }>;
819
- export { run_13 as run };
820
- let namespace_13: string;
821
- export { namespace_13 as namespace };
892
+ export { run_14 as run };
893
+ let namespace_14: string;
894
+ export { namespace_14 as namespace };
822
895
  }
823
896
  export namespace run_js_code {
824
- let description_15: string;
825
- export { description_15 as description };
897
+ let description_16: string;
898
+ export { description_16 as description };
826
899
  export namespace configFormOptions {
827
900
  let formStyle: string;
828
901
  }
829
- export function configFields_15({ table }: {
902
+ export function configFields_16({ table }: {
830
903
  table: any;
831
904
  }): Promise<({
832
905
  name: string;
@@ -872,15 +945,15 @@ export namespace run_js_code {
872
945
  help?: undefined;
873
946
  showIf?: undefined;
874
947
  })[]>;
875
- export { configFields_15 as configFields };
948
+ export { configFields_16 as configFields };
876
949
  export { run_code as run };
877
- let namespace_14: string;
878
- export { namespace_14 as namespace };
950
+ let namespace_15: string;
951
+ export { namespace_15 as namespace };
879
952
  }
880
953
  export namespace run_js_code_in_field {
881
- let description_16: string;
882
- export { description_16 as description };
883
- export function configFields_16({ table, mode }: {
954
+ let description_17: string;
955
+ export { description_17 as description };
956
+ export function configFields_17({ table, mode }: {
884
957
  table: any;
885
958
  mode: any;
886
959
  }): Promise<({
@@ -920,24 +993,24 @@ export namespace run_js_code_in_field {
920
993
  required?: undefined;
921
994
  attributes?: undefined;
922
995
  })[]>;
923
- export { configFields_16 as configFields };
996
+ export { configFields_17 as configFields };
924
997
  let requireRow_5: boolean;
925
998
  export { requireRow_5 as requireRow };
926
- let run_14: base;
927
- export { run_14 as run };
928
- let namespace_15: string;
929
- export { namespace_15 as namespace };
999
+ let run_15: base;
1000
+ export { run_15 as run };
1001
+ let namespace_16: string;
1002
+ export { namespace_16 as namespace };
930
1003
  }
931
1004
  export namespace duplicate_row_prefill_edit {
932
- export function configFields_17({ table }: {
1005
+ export function configFields_18({ table }: {
933
1006
  table: any;
934
1007
  }): Promise<any[]>;
935
- export { configFields_17 as configFields };
1008
+ export { configFields_18 as configFields };
936
1009
  let disableInWorkflow_4: boolean;
937
1010
  export { disableInWorkflow_4 as disableInWorkflow };
938
1011
  let requireRow_6: boolean;
939
1012
  export { requireRow_6 as requireRow };
940
- export function run_15({ row, table, configuration: { viewname, ...flds }, user }: {
1013
+ export function run_16({ row, table, configuration: { viewname, ...flds }, user }: {
941
1014
  row: any;
942
1015
  table: any;
943
1016
  configuration: {
@@ -948,14 +1021,14 @@ export namespace duplicate_row_prefill_edit {
948
1021
  }): Promise<{
949
1022
  goto: string;
950
1023
  }>;
951
- export { run_15 as run };
952
- let namespace_16: string;
953
- export { namespace_16 as namespace };
1024
+ export { run_16 as run };
1025
+ let namespace_17: string;
1026
+ export { namespace_17 as namespace };
954
1027
  }
955
1028
  export namespace set_user_language {
956
- let description_17: string;
957
- export { description_17 as description };
958
- export function configFields_18({ table }: {
1029
+ let description_18: string;
1030
+ export { description_18 as description };
1031
+ export function configFields_19({ table }: {
959
1032
  table: any;
960
1033
  }): Promise<{
961
1034
  name: string;
@@ -968,8 +1041,8 @@ export namespace set_user_language {
968
1041
  }[];
969
1042
  };
970
1043
  }[]>;
971
- export { configFields_18 as configFields };
972
- export function run_16({ configuration: { language }, user, req, res }: {
1044
+ export { configFields_19 as configFields };
1045
+ export function run_17({ configuration: { language }, user, req, res }: {
973
1046
  configuration: {
974
1047
  language: any;
975
1048
  };
@@ -979,14 +1052,14 @@ export namespace set_user_language {
979
1052
  }): Promise<{
980
1053
  reload_page: boolean;
981
1054
  }>;
982
- export { run_16 as run };
983
- let namespace_17: string;
984
- export { namespace_17 as namespace };
1055
+ export { run_17 as run };
1056
+ let namespace_18: string;
1057
+ export { namespace_18 as namespace };
985
1058
  }
986
1059
  export namespace sync_table_from_external {
987
- let description_18: string;
988
- export { description_18 as description };
989
- export function configFields_19({ table }: {
1060
+ let description_19: string;
1061
+ export { description_19 as description };
1062
+ export function configFields_20({ table }: {
990
1063
  table: any;
991
1064
  }): Promise<({
992
1065
  name: string;
@@ -1058,21 +1131,21 @@ export namespace sync_table_from_external {
1058
1131
  attributes?: undefined;
1059
1132
  default?: undefined;
1060
1133
  })[]>;
1061
- export { configFields_19 as configFields };
1062
- export function run_17({ configuration: { row_expr, table_src, table_dest, pk_field, delete_rows, match_field_names, where, }, user, ...rest }: {
1134
+ export { configFields_20 as configFields };
1135
+ export function run_18({ configuration: { row_expr, table_src, table_dest, pk_field, delete_rows, match_field_names, where, }, user, ...rest }: {
1063
1136
  row: object;
1064
1137
  configuration: object;
1065
1138
  user: object;
1066
1139
  rest: any;
1067
1140
  }): Promise<boolean | object>;
1068
- export { run_17 as run };
1069
- let namespace_18: string;
1070
- export { namespace_18 as namespace };
1141
+ export { run_18 as run };
1142
+ let namespace_19: string;
1143
+ export { namespace_19 as namespace };
1071
1144
  }
1072
1145
  export namespace reload_embedded_view {
1073
- let description_19: string;
1074
- export { description_19 as description };
1075
- export function configFields_20(): Promise<({
1146
+ let description_20: string;
1147
+ export { description_20 as description };
1148
+ export function configFields_21(): Promise<({
1076
1149
  name: string;
1077
1150
  label: string;
1078
1151
  class: string;
@@ -1099,8 +1172,8 @@ export namespace reload_embedded_view {
1099
1172
  required?: undefined;
1100
1173
  attributes?: undefined;
1101
1174
  })[]>;
1102
- export { configFields_20 as configFields };
1103
- export function run_18({ row, user, configuration: { view, new_state_fml, interval }, }: {
1175
+ export { configFields_21 as configFields };
1176
+ export function run_19({ row, user, configuration: { view, new_state_fml, interval }, }: {
1104
1177
  row: any;
1105
1178
  user: any;
1106
1179
  configuration: {
@@ -1111,14 +1184,14 @@ export namespace reload_embedded_view {
1111
1184
  }): Promise<{
1112
1185
  eval_js: string;
1113
1186
  }>;
1114
- export { run_18 as run };
1115
- let namespace_19: string;
1116
- export { namespace_19 as namespace };
1187
+ export { run_19 as run };
1188
+ let namespace_20: string;
1189
+ export { namespace_20 as namespace };
1117
1190
  }
1118
1191
  export namespace sleep {
1119
- let description_20: string;
1120
- export { description_20 as description };
1121
- let configFields_21: ({
1192
+ let description_21: string;
1193
+ export { description_21 as description };
1194
+ let configFields_22: ({
1122
1195
  name: string;
1123
1196
  label: string;
1124
1197
  type: string;
@@ -1133,8 +1206,8 @@ export namespace sleep {
1133
1206
  type?: undefined;
1134
1207
  required?: undefined;
1135
1208
  })[];
1136
- export { configFields_21 as configFields };
1137
- export function run_19({ configuration: { seconds, sleep_where } }: {
1209
+ export { configFields_22 as configFields };
1210
+ export function run_20({ configuration: { seconds, sleep_where } }: {
1138
1211
  configuration: {
1139
1212
  seconds: any;
1140
1213
  sleep_where: any;
@@ -1142,25 +1215,25 @@ export namespace sleep {
1142
1215
  }): Promise<{
1143
1216
  eval_js: string;
1144
1217
  } | undefined>;
1145
- export { run_19 as run };
1146
- let namespace_20: string;
1147
- export { namespace_20 as namespace };
1218
+ export { run_20 as run };
1219
+ let namespace_21: string;
1220
+ export { namespace_21 as namespace };
1148
1221
  }
1149
1222
  export namespace refresh_user_session {
1150
- let description_21: string;
1151
- export { description_21 as description };
1152
- export function run_20({ user, req }: {
1223
+ let description_22: string;
1224
+ export { description_22 as description };
1225
+ export function run_21({ user, req }: {
1153
1226
  user: any;
1154
1227
  req: any;
1155
1228
  }): Promise<void>;
1156
- export { run_20 as run };
1157
- let namespace_21: string;
1158
- export { namespace_21 as namespace };
1229
+ export { run_21 as run };
1230
+ let namespace_22: string;
1231
+ export { namespace_22 as namespace };
1159
1232
  }
1160
1233
  export namespace notify_user {
1161
- let description_22: string;
1162
- export { description_22 as description };
1163
- export function configFields_22(): ({
1234
+ let description_23: string;
1235
+ export { description_23 as description };
1236
+ export function configFields_23(): ({
1164
1237
  name: string;
1165
1238
  label: string;
1166
1239
  type: string;
@@ -1171,20 +1244,20 @@ export namespace notify_user {
1171
1244
  required: boolean;
1172
1245
  type: string;
1173
1246
  })[];
1174
- export { configFields_22 as configFields };
1175
- export function run_21({ row, user, configuration: { title, body, link, user_spec }, }: {
1247
+ export { configFields_23 as configFields };
1248
+ export function run_22({ row, user, configuration: { title, body, link, user_spec }, }: {
1176
1249
  row: object;
1177
1250
  configuration: object;
1178
1251
  user: object;
1179
1252
  }): Promise<void>;
1180
- export { run_21 as run };
1181
- let namespace_22: string;
1182
- export { namespace_22 as namespace };
1253
+ export { run_22 as run };
1254
+ let namespace_23: string;
1255
+ export { namespace_23 as namespace };
1183
1256
  }
1184
1257
  export namespace convert_session_to_user {
1185
- let description_23: string;
1186
- export { description_23 as description };
1187
- export function configFields_23({ table }: {
1258
+ let description_24: string;
1259
+ export { description_24 as description };
1260
+ export function configFields_24({ table }: {
1188
1261
  table: any;
1189
1262
  }): Promise<({
1190
1263
  name: string;
@@ -1205,8 +1278,8 @@ export namespace convert_session_to_user {
1205
1278
  input_type?: undefined;
1206
1279
  options?: undefined;
1207
1280
  })[]>;
1208
- export { configFields_23 as configFields };
1209
- export function run_22({ row, configuration: { table_name, session_field, user_field }, user, }: {
1281
+ export { configFields_24 as configFields };
1282
+ export function run_23({ row, configuration: { table_name, session_field, user_field }, user, }: {
1210
1283
  row: any;
1211
1284
  configuration: {
1212
1285
  table_name: any;
@@ -1215,14 +1288,72 @@ export namespace convert_session_to_user {
1215
1288
  };
1216
1289
  user: any;
1217
1290
  }): Promise<void>;
1218
- export { run_22 as run };
1219
- let namespace_23: string;
1220
- export { namespace_23 as namespace };
1291
+ export { run_23 as run };
1292
+ let namespace_24: string;
1293
+ export { namespace_24 as namespace };
1294
+ }
1295
+ export namespace train_model_instance {
1296
+ let description_25: string;
1297
+ export { description_25 as description };
1298
+ export function disableIf(): boolean;
1299
+ export function configFields_25(): Promise<({
1300
+ name: string;
1301
+ label: string;
1302
+ input_type: string;
1303
+ required: boolean;
1304
+ options: {
1305
+ label: string;
1306
+ value: number | undefined;
1307
+ }[];
1308
+ attributes: {
1309
+ explainers: {};
1310
+ };
1311
+ type?: undefined;
1312
+ sublabel?: undefined;
1313
+ fieldview?: undefined;
1314
+ class?: undefined;
1315
+ } | {
1316
+ name: string;
1317
+ label: string;
1318
+ required: boolean;
1319
+ type: string;
1320
+ sublabel: string;
1321
+ input_type?: undefined;
1322
+ options?: undefined;
1323
+ attributes?: undefined;
1324
+ fieldview?: undefined;
1325
+ class?: undefined;
1326
+ } | {
1327
+ name: string;
1328
+ label: string;
1329
+ fieldview: string;
1330
+ sublabel: string;
1331
+ type: string;
1332
+ class: string;
1333
+ input_type?: undefined;
1334
+ required?: undefined;
1335
+ options?: undefined;
1336
+ attributes?: undefined;
1337
+ })[]>;
1338
+ export { configFields_25 as configFields };
1339
+ export function run_24({ row, configuration: { model_id, instance_name, where, hyperparameters }, user, }: {
1340
+ row: any;
1341
+ configuration: {
1342
+ model_id: any;
1343
+ instance_name: any;
1344
+ where: any;
1345
+ hyperparameters: any;
1346
+ };
1347
+ user: any;
1348
+ }): Promise<void>;
1349
+ export { run_24 as run };
1350
+ let namespace_25: string;
1351
+ export { namespace_25 as namespace };
1221
1352
  }
1222
1353
  export namespace download_file_to_browser {
1223
- let description_24: string;
1224
- export { description_24 as description };
1225
- export function configFields_24({ table, mode }: {
1354
+ let description_26: string;
1355
+ export { description_26 as description };
1356
+ export function configFields_26({ table, mode }: {
1226
1357
  table: any;
1227
1358
  mode: any;
1228
1359
  }): Promise<{
@@ -1240,8 +1371,8 @@ export namespace download_file_to_browser {
1240
1371
  options: any;
1241
1372
  };
1242
1373
  }[]>;
1243
- export { configFields_24 as configFields };
1244
- export function run_23({ row, configuration: { filepath_expr, file_field }, user, mode, }: {
1374
+ export { configFields_26 as configFields };
1375
+ export function run_25({ row, configuration: { filepath_expr, file_field }, user, mode, }: {
1245
1376
  row: any;
1246
1377
  configuration: {
1247
1378
  filepath_expr: any;
@@ -1256,14 +1387,14 @@ export namespace download_file_to_browser {
1256
1387
  blob: Buffer;
1257
1388
  };
1258
1389
  } | undefined>;
1259
- export { run_23 as run };
1390
+ export { run_25 as run };
1260
1391
  }
1261
1392
  export namespace install_progressive_web_app {
1262
- let description_25: string;
1263
- export { description_25 as description };
1264
- export function configFields_25(): never[];
1265
- export { configFields_25 as configFields };
1266
- export function run_24({ req }: {
1393
+ let description_27: string;
1394
+ export { description_27 as description };
1395
+ export function configFields_27(): never[];
1396
+ export { configFields_27 as configFields };
1397
+ export function run_26({ req }: {
1267
1398
  req: any;
1268
1399
  }): Promise<{
1269
1400
  eval_js: string;
@@ -1272,7 +1403,7 @@ export namespace install_progressive_web_app {
1272
1403
  error: any;
1273
1404
  eval_js?: undefined;
1274
1405
  }>;
1275
- export { run_24 as run };
1406
+ export { run_26 as run };
1276
1407
  }
1277
1408
  export {};
1278
1409
  //# sourceMappingURL=actions.d.ts.map