@saltcorn/data 1.3.1-beta.1 → 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.
- package/dist/base-plugin/actions.d.ts +268 -195
- package/dist/base-plugin/actions.d.ts.map +1 -1
- package/dist/base-plugin/actions.js +92 -1
- package/dist/base-plugin/actions.js.map +1 -1
- package/dist/base-plugin/viewtemplates/edit.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/edit.js +3 -0
- package/dist/base-plugin/viewtemplates/edit.js.map +1 -1
- package/dist/models/config.d.ts.map +1 -1
- package/dist/models/config.js +57 -0
- package/dist/models/config.js.map +1 -1
- package/dist/models/table.d.ts.map +1 -1
- package/dist/models/table.js +2 -0
- package/dist/models/table.js.map +1 -1
- package/dist/models/trigger.d.ts +7 -0
- package/dist/models/trigger.d.ts.map +1 -1
- package/dist/models/trigger.js +29 -0
- package/dist/models/trigger.js.map +1 -1
- package/dist/models/user.d.ts +3 -1
- package/dist/models/user.d.ts.map +1 -1
- package/dist/models/user.js +35 -4
- package/dist/models/user.js.map +1 -1
- package/dist/models/view.d.ts.map +1 -1
- package/dist/models/view.js.map +1 -1
- package/dist/tests/auxtest.test.js +1 -0
- package/dist/tests/auxtest.test.js.map +1 -1
- package/dist/tests/user.test.js +4 -0
- package/dist/tests/user.test.js.map +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +3 -1
- package/dist/utils.js.map +1 -1
- package/package.json +8 -8
|
@@ -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
|
|
74
|
+
export namespace loop_rows {
|
|
75
75
|
let description_2: string;
|
|
76
76
|
export { description_2 as description };
|
|
77
|
-
export function configFields_2(
|
|
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 {
|
|
124
|
-
export function
|
|
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 {
|
|
201
|
+
export { run_2 as run };
|
|
129
202
|
}
|
|
130
203
|
export namespace find_or_create_dm_room {
|
|
131
|
-
let
|
|
132
|
-
export {
|
|
133
|
-
export function
|
|
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 {
|
|
141
|
-
export function
|
|
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 {
|
|
148
|
-
let
|
|
149
|
-
export {
|
|
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
|
|
153
|
-
export {
|
|
154
|
-
export function
|
|
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 {
|
|
414
|
+
export { configFields_5 as configFields };
|
|
342
415
|
export let requireRow: boolean;
|
|
343
|
-
export function
|
|
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 {
|
|
350
|
-
let
|
|
351
|
-
export {
|
|
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
|
|
355
|
-
export {
|
|
356
|
-
export function
|
|
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 {
|
|
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
|
|
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 {
|
|
377
|
-
let
|
|
378
|
-
export {
|
|
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
|
|
382
|
-
export {
|
|
383
|
-
export function
|
|
384
|
-
export {
|
|
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
|
|
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 {
|
|
395
|
-
let
|
|
396
|
-
export {
|
|
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
|
|
400
|
-
export {
|
|
401
|
-
export function
|
|
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 {
|
|
436
|
-
export function
|
|
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 {
|
|
440
|
-
let
|
|
441
|
-
export {
|
|
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
|
|
445
|
-
export {
|
|
446
|
-
export function
|
|
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 {
|
|
474
|
-
export function
|
|
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 {
|
|
482
|
-
let
|
|
483
|
-
export {
|
|
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
|
|
487
|
-
export {
|
|
488
|
-
export function
|
|
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 {
|
|
617
|
+
export { configFields_10 as configFields };
|
|
545
618
|
let requireRow_3: boolean;
|
|
546
619
|
export { requireRow_3 as requireRow };
|
|
547
|
-
export function
|
|
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 {
|
|
560
|
-
let
|
|
561
|
-
export {
|
|
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
|
|
565
|
-
export {
|
|
566
|
-
export function
|
|
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 {
|
|
605
|
-
export function
|
|
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 {
|
|
617
|
-
let
|
|
618
|
-
export {
|
|
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
|
|
622
|
-
export {
|
|
623
|
-
let
|
|
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 {
|
|
643
|
-
export function
|
|
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 {
|
|
673
|
-
let
|
|
674
|
-
export {
|
|
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
|
|
678
|
-
export {
|
|
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
|
|
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 {
|
|
701
|
-
export function
|
|
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 {
|
|
722
|
-
let
|
|
723
|
-
export {
|
|
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
|
|
727
|
-
export {
|
|
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
|
|
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 {
|
|
740
|
-
export function
|
|
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 {
|
|
760
|
-
let
|
|
761
|
-
export {
|
|
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
|
|
765
|
-
export {
|
|
766
|
-
let
|
|
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 {
|
|
791
|
-
export function
|
|
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 {
|
|
820
|
-
let
|
|
821
|
-
export {
|
|
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
|
|
825
|
-
export {
|
|
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
|
|
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 {
|
|
948
|
+
export { configFields_16 as configFields };
|
|
876
949
|
export { run_code as run };
|
|
877
|
-
let
|
|
878
|
-
export {
|
|
950
|
+
let namespace_15: string;
|
|
951
|
+
export { namespace_15 as namespace };
|
|
879
952
|
}
|
|
880
953
|
export namespace run_js_code_in_field {
|
|
881
|
-
let
|
|
882
|
-
export {
|
|
883
|
-
export function
|
|
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 {
|
|
996
|
+
export { configFields_17 as configFields };
|
|
924
997
|
let requireRow_5: boolean;
|
|
925
998
|
export { requireRow_5 as requireRow };
|
|
926
|
-
let
|
|
927
|
-
export {
|
|
928
|
-
let
|
|
929
|
-
export {
|
|
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
|
|
1005
|
+
export function configFields_18({ table }: {
|
|
933
1006
|
table: any;
|
|
934
1007
|
}): Promise<any[]>;
|
|
935
|
-
export {
|
|
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
|
|
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 {
|
|
952
|
-
let
|
|
953
|
-
export {
|
|
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
|
|
957
|
-
export {
|
|
958
|
-
export function
|
|
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 {
|
|
972
|
-
export function
|
|
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 {
|
|
983
|
-
let
|
|
984
|
-
export {
|
|
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
|
|
988
|
-
export {
|
|
989
|
-
export function
|
|
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 {
|
|
1062
|
-
export function
|
|
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 {
|
|
1069
|
-
let
|
|
1070
|
-
export {
|
|
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
|
|
1074
|
-
export {
|
|
1075
|
-
export function
|
|
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 {
|
|
1103
|
-
export function
|
|
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 {
|
|
1115
|
-
let
|
|
1116
|
-
export {
|
|
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
|
|
1120
|
-
export {
|
|
1121
|
-
let
|
|
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 {
|
|
1137
|
-
export function
|
|
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 {
|
|
1146
|
-
let
|
|
1147
|
-
export {
|
|
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
|
|
1151
|
-
export {
|
|
1152
|
-
export function
|
|
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 {
|
|
1157
|
-
let
|
|
1158
|
-
export {
|
|
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
|
|
1162
|
-
export {
|
|
1163
|
-
export function
|
|
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 {
|
|
1175
|
-
export function
|
|
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 {
|
|
1181
|
-
let
|
|
1182
|
-
export {
|
|
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
|
|
1186
|
-
export {
|
|
1187
|
-
export function
|
|
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 {
|
|
1209
|
-
export function
|
|
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,15 +1288,15 @@ export namespace convert_session_to_user {
|
|
|
1215
1288
|
};
|
|
1216
1289
|
user: any;
|
|
1217
1290
|
}): Promise<void>;
|
|
1218
|
-
export {
|
|
1219
|
-
let
|
|
1220
|
-
export {
|
|
1291
|
+
export { run_23 as run };
|
|
1292
|
+
let namespace_24: string;
|
|
1293
|
+
export { namespace_24 as namespace };
|
|
1221
1294
|
}
|
|
1222
1295
|
export namespace train_model_instance {
|
|
1223
|
-
let
|
|
1224
|
-
export {
|
|
1296
|
+
let description_25: string;
|
|
1297
|
+
export { description_25 as description };
|
|
1225
1298
|
export function disableIf(): boolean;
|
|
1226
|
-
export function
|
|
1299
|
+
export function configFields_25(): Promise<({
|
|
1227
1300
|
name: string;
|
|
1228
1301
|
label: string;
|
|
1229
1302
|
input_type: string;
|
|
@@ -1262,8 +1335,8 @@ export namespace train_model_instance {
|
|
|
1262
1335
|
options?: undefined;
|
|
1263
1336
|
attributes?: undefined;
|
|
1264
1337
|
})[]>;
|
|
1265
|
-
export {
|
|
1266
|
-
export function
|
|
1338
|
+
export { configFields_25 as configFields };
|
|
1339
|
+
export function run_24({ row, configuration: { model_id, instance_name, where, hyperparameters }, user, }: {
|
|
1267
1340
|
row: any;
|
|
1268
1341
|
configuration: {
|
|
1269
1342
|
model_id: any;
|
|
@@ -1273,14 +1346,14 @@ export namespace train_model_instance {
|
|
|
1273
1346
|
};
|
|
1274
1347
|
user: any;
|
|
1275
1348
|
}): Promise<void>;
|
|
1276
|
-
export {
|
|
1277
|
-
let
|
|
1278
|
-
export {
|
|
1349
|
+
export { run_24 as run };
|
|
1350
|
+
let namespace_25: string;
|
|
1351
|
+
export { namespace_25 as namespace };
|
|
1279
1352
|
}
|
|
1280
1353
|
export namespace download_file_to_browser {
|
|
1281
|
-
let
|
|
1282
|
-
export {
|
|
1283
|
-
export function
|
|
1354
|
+
let description_26: string;
|
|
1355
|
+
export { description_26 as description };
|
|
1356
|
+
export function configFields_26({ table, mode }: {
|
|
1284
1357
|
table: any;
|
|
1285
1358
|
mode: any;
|
|
1286
1359
|
}): Promise<{
|
|
@@ -1298,8 +1371,8 @@ export namespace download_file_to_browser {
|
|
|
1298
1371
|
options: any;
|
|
1299
1372
|
};
|
|
1300
1373
|
}[]>;
|
|
1301
|
-
export {
|
|
1302
|
-
export function
|
|
1374
|
+
export { configFields_26 as configFields };
|
|
1375
|
+
export function run_25({ row, configuration: { filepath_expr, file_field }, user, mode, }: {
|
|
1303
1376
|
row: any;
|
|
1304
1377
|
configuration: {
|
|
1305
1378
|
filepath_expr: any;
|
|
@@ -1314,14 +1387,14 @@ export namespace download_file_to_browser {
|
|
|
1314
1387
|
blob: Buffer;
|
|
1315
1388
|
};
|
|
1316
1389
|
} | undefined>;
|
|
1317
|
-
export {
|
|
1390
|
+
export { run_25 as run };
|
|
1318
1391
|
}
|
|
1319
1392
|
export namespace install_progressive_web_app {
|
|
1320
|
-
let
|
|
1321
|
-
export {
|
|
1322
|
-
export function
|
|
1323
|
-
export {
|
|
1324
|
-
export function
|
|
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 }: {
|
|
1325
1398
|
req: any;
|
|
1326
1399
|
}): Promise<{
|
|
1327
1400
|
eval_js: string;
|
|
@@ -1330,7 +1403,7 @@ export namespace install_progressive_web_app {
|
|
|
1330
1403
|
error: any;
|
|
1331
1404
|
eval_js?: undefined;
|
|
1332
1405
|
}>;
|
|
1333
|
-
export {
|
|
1406
|
+
export { run_26 as run };
|
|
1334
1407
|
}
|
|
1335
1408
|
export {};
|
|
1336
1409
|
//# sourceMappingURL=actions.d.ts.map
|