@saltcorn/data 1.3.1-beta.1 → 1.3.1-beta.10
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 +289 -195
- package/dist/base-plugin/actions.d.ts.map +1 -1
- package/dist/base-plugin/actions.js +132 -2
- package/dist/base-plugin/actions.js.map +1 -1
- package/dist/base-plugin/fieldviews.d.ts.map +1 -1
- package/dist/base-plugin/fieldviews.js +12 -3
- package/dist/base-plugin/fieldviews.js.map +1 -1
- package/dist/base-plugin/index.d.ts +5 -3
- package/dist/base-plugin/index.d.ts.map +1 -1
- package/dist/base-plugin/types.d.ts +5 -3
- package/dist/base-plugin/types.d.ts.map +1 -1
- package/dist/base-plugin/types.js +61 -14
- package/dist/base-plugin/types.js.map +1 -1
- package/dist/base-plugin/viewtemplates/edit.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/edit.js +38 -18
- 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 +3 -1
- package/dist/base-plugin/viewtemplates/filter.js.map +1 -1
- package/dist/base-plugin/viewtemplates/list.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/list.js +14 -2
- package/dist/base-plugin/viewtemplates/list.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.map +1 -1
- package/dist/base-plugin/viewtemplates/viewable_fields.js +20 -7
- package/dist/base-plugin/viewtemplates/viewable_fields.js.map +1 -1
- package/dist/db/connect.d.ts.map +1 -1
- package/dist/db/connect.js +4 -0
- package/dist/db/connect.js.map +1 -1
- package/dist/db/connect_mobile.d.ts +1 -0
- package/dist/db/connect_mobile.d.ts.map +1 -1
- package/dist/db/connect_mobile.js +1 -0
- package/dist/db/connect_mobile.js.map +1 -1
- package/dist/db/fixtures.d.ts.map +1 -1
- package/dist/db/fixtures.js +48 -0
- package/dist/db/fixtures.js.map +1 -1
- package/dist/db/state.d.ts +22 -1
- package/dist/db/state.d.ts.map +1 -1
- package/dist/db/state.js +75 -14
- package/dist/db/state.js.map +1 -1
- package/dist/migrations/202508011455.d.ts +2 -0
- package/dist/migrations/202508011455.d.ts.map +1 -0
- package/dist/migrations/202508011455.js +27 -0
- package/dist/migrations/202508011455.js.map +1 -0
- package/dist/models/config.d.ts.map +1 -1
- package/dist/models/config.js +63 -0
- package/dist/models/config.js.map +1 -1
- package/dist/models/field.d.ts.map +1 -1
- package/dist/models/field.js +5 -1
- package/dist/models/field.js.map +1 -1
- package/dist/models/fieldrepeat.js +1 -1
- package/dist/models/fieldrepeat.js.map +1 -1
- package/dist/models/notification.d.ts.map +1 -1
- package/dist/models/notification.js +14 -3
- package/dist/models/notification.js.map +1 -1
- package/dist/models/table.d.ts.map +1 -1
- package/dist/models/table.js +7 -4
- package/dist/models/table.js.map +1 -1
- package/dist/models/trigger.d.ts +10 -1
- package/dist/models/trigger.d.ts.map +1 -1
- package/dist/models/trigger.js +35 -2
- 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 +1 -1
- package/dist/models/view.js.map +1 -1
- package/dist/models/workflow.d.ts.map +1 -1
- package/dist/models/workflow.js +2 -1
- package/dist/models/workflow.js.map +1 -1
- package/dist/models/workflow_run.d.ts.map +1 -1
- package/dist/models/workflow_run.js +32 -12
- package/dist/models/workflow_run.js.map +1 -1
- package/dist/plugin-helper.d.ts.map +1 -1
- package/dist/plugin-helper.js +67 -15
- package/dist/plugin-helper.js.map +1 -1
- package/dist/standard-menu.d.ts +3 -0
- package/dist/standard-menu.d.ts.map +1 -0
- package/dist/standard-menu.js +330 -0
- package/dist/standard-menu.js.map +1 -0
- package/dist/tests/auxtest.test.js +29 -2
- package/dist/tests/auxtest.test.js.map +1 -1
- package/dist/tests/exact_views.test.js +13 -13
- package/dist/tests/exact_views.test.js.map +1 -1
- package/dist/tests/field.test.js +14 -2
- package/dist/tests/field.test.js.map +1 -1
- package/dist/tests/mocks.d.ts +1 -1
- package/dist/tests/mocks.js +1 -1
- package/dist/tests/mocks.js.map +1 -1
- package/dist/tests/table.test.js +23 -0
- package/dist/tests/table.test.js.map +1 -1
- package/dist/tests/user.test.js +4 -0
- package/dist/tests/user.test.js.map +1 -1
- package/dist/tests/view.test.js +1 -1
- package/dist/tests/view.test.js.map +1 -1
- package/dist/tests/workflow_run.test.js +65 -15
- package/dist/tests/workflow_run.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/dist/web-mobile-commons.d.ts.map +1 -1
- package/dist/web-mobile-commons.js +85 -7
- package/dist/web-mobile-commons.js.map +1 -1
- package/package.json +10 -8
|
@@ -71,10 +71,96 @@ 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
|
+
min?: undefined;
|
|
111
|
+
};
|
|
112
|
+
sublabel?: undefined;
|
|
113
|
+
input_type?: undefined;
|
|
114
|
+
options?: undefined;
|
|
115
|
+
class?: undefined;
|
|
116
|
+
} | {
|
|
117
|
+
name: string;
|
|
118
|
+
label: string;
|
|
119
|
+
type: string;
|
|
120
|
+
sublabel?: undefined;
|
|
121
|
+
input_type?: undefined;
|
|
122
|
+
options?: undefined;
|
|
123
|
+
class?: undefined;
|
|
124
|
+
attributes?: undefined;
|
|
125
|
+
} | {
|
|
126
|
+
name: string;
|
|
127
|
+
label: string;
|
|
128
|
+
sublabel: string;
|
|
129
|
+
type: string;
|
|
130
|
+
attributes: {
|
|
131
|
+
min: number;
|
|
132
|
+
calcOptions?: undefined;
|
|
133
|
+
};
|
|
134
|
+
input_type?: undefined;
|
|
135
|
+
options?: undefined;
|
|
136
|
+
class?: undefined;
|
|
137
|
+
} | {
|
|
138
|
+
name: string;
|
|
139
|
+
label: string;
|
|
140
|
+
sublabel: string;
|
|
141
|
+
input_type: string;
|
|
142
|
+
options: {
|
|
143
|
+
label: string | undefined;
|
|
144
|
+
value: number | null | undefined;
|
|
145
|
+
}[];
|
|
146
|
+
type?: undefined;
|
|
147
|
+
class?: undefined;
|
|
148
|
+
attributes?: undefined;
|
|
149
|
+
})[]>;
|
|
150
|
+
export { configFields_2 as configFields };
|
|
151
|
+
export function run_1({ row, configuration: { table_name, where, limit, orderBy, orderDesc, trigger_id, interval, }, user, ...rest }: {
|
|
152
|
+
row: object;
|
|
153
|
+
configuration: object;
|
|
154
|
+
user: object;
|
|
155
|
+
}): Promise<void>;
|
|
156
|
+
export { run_1 as run };
|
|
157
|
+
let namespace_2: string;
|
|
158
|
+
export { namespace_2 as namespace };
|
|
159
|
+
}
|
|
160
|
+
export namespace webhook {
|
|
161
|
+
let description_3: string;
|
|
162
|
+
export { description_3 as description };
|
|
163
|
+
export function configFields_3({ table, mode }: {
|
|
78
164
|
table: any;
|
|
79
165
|
mode: any;
|
|
80
166
|
}): Promise<({
|
|
@@ -120,38 +206,38 @@ export namespace webhook {
|
|
|
120
206
|
fieldview?: undefined;
|
|
121
207
|
showIf?: undefined;
|
|
122
208
|
})[]>;
|
|
123
|
-
export {
|
|
124
|
-
export function
|
|
209
|
+
export { configFields_3 as configFields };
|
|
210
|
+
export function run_2({ row, user, table, configuration: { url, body, authorization, response_field, response_var, method, }, }: {
|
|
125
211
|
url: string;
|
|
126
212
|
body: object;
|
|
127
213
|
}): Promise<object>;
|
|
128
|
-
export {
|
|
214
|
+
export { run_2 as run };
|
|
129
215
|
}
|
|
130
216
|
export namespace find_or_create_dm_room {
|
|
131
|
-
let
|
|
132
|
-
export {
|
|
133
|
-
export function
|
|
217
|
+
let description_4: string;
|
|
218
|
+
export { description_4 as description };
|
|
219
|
+
export function configFields_4(): Promise<{
|
|
134
220
|
name: string;
|
|
135
221
|
label: string;
|
|
136
222
|
sublabel: string;
|
|
137
223
|
input_type: string;
|
|
138
224
|
options: string[];
|
|
139
225
|
}[]>;
|
|
140
|
-
export {
|
|
141
|
-
export function
|
|
226
|
+
export { configFields_4 as configFields };
|
|
227
|
+
export function run_3({ row, table, configuration: { viewname }, user }: {
|
|
142
228
|
row: object;
|
|
143
229
|
table: any;
|
|
144
230
|
configuration: object;
|
|
145
231
|
user: object;
|
|
146
232
|
}): Promise<object>;
|
|
147
|
-
export {
|
|
148
|
-
let
|
|
149
|
-
export {
|
|
233
|
+
export { run_3 as run };
|
|
234
|
+
let namespace_3: string;
|
|
235
|
+
export { namespace_3 as namespace };
|
|
150
236
|
}
|
|
151
237
|
export namespace send_email {
|
|
152
|
-
let
|
|
153
|
-
export {
|
|
154
|
-
export function
|
|
238
|
+
let description_5: string;
|
|
239
|
+
export { description_5 as description };
|
|
240
|
+
export function configFields_5({ table, mode }: {
|
|
155
241
|
table: any;
|
|
156
242
|
mode: any;
|
|
157
243
|
}): Promise<({
|
|
@@ -338,22 +424,22 @@ export namespace send_email {
|
|
|
338
424
|
class?: undefined;
|
|
339
425
|
default?: undefined;
|
|
340
426
|
})[]>;
|
|
341
|
-
export {
|
|
427
|
+
export { configFields_5 as configFields };
|
|
342
428
|
export let requireRow: boolean;
|
|
343
|
-
export function
|
|
429
|
+
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
430
|
row: object;
|
|
345
431
|
table: object;
|
|
346
432
|
configuration: object;
|
|
347
433
|
user: object;
|
|
348
434
|
}): Promise<object>;
|
|
349
|
-
export {
|
|
350
|
-
let
|
|
351
|
-
export {
|
|
435
|
+
export { run_4 as run };
|
|
436
|
+
let namespace_4: string;
|
|
437
|
+
export { namespace_4 as namespace };
|
|
352
438
|
}
|
|
353
439
|
export namespace insert_joined_row {
|
|
354
|
-
let
|
|
355
|
-
export {
|
|
356
|
-
export function
|
|
440
|
+
let description_6: string;
|
|
441
|
+
export { description_6 as description };
|
|
442
|
+
export function configFields_6({ table }: {
|
|
357
443
|
table: any;
|
|
358
444
|
}): Promise<{
|
|
359
445
|
name: string;
|
|
@@ -362,43 +448,43 @@ export namespace insert_joined_row {
|
|
|
362
448
|
input_type: string;
|
|
363
449
|
options: any;
|
|
364
450
|
}[]>;
|
|
365
|
-
export {
|
|
451
|
+
export { configFields_6 as configFields };
|
|
366
452
|
let disableInWorkflow_1: boolean;
|
|
367
453
|
export { disableInWorkflow_1 as disableInWorkflow };
|
|
368
454
|
let requireRow_1: boolean;
|
|
369
455
|
export { requireRow_1 as requireRow };
|
|
370
|
-
export function
|
|
456
|
+
export function run_5({ row, table, configuration: { joined_table }, user }: {
|
|
371
457
|
row: object;
|
|
372
458
|
table: object;
|
|
373
459
|
configuration: object;
|
|
374
460
|
user: object;
|
|
375
461
|
}): Promise<object>;
|
|
376
|
-
export {
|
|
377
|
-
let
|
|
378
|
-
export {
|
|
462
|
+
export { run_5 as run };
|
|
463
|
+
let namespace_5: string;
|
|
464
|
+
export { namespace_5 as namespace };
|
|
379
465
|
}
|
|
380
466
|
export namespace duplicate_row {
|
|
381
|
-
let
|
|
382
|
-
export {
|
|
383
|
-
export function
|
|
384
|
-
export {
|
|
467
|
+
let description_7: string;
|
|
468
|
+
export { description_7 as description };
|
|
469
|
+
export function configFields_7(): never[];
|
|
470
|
+
export { configFields_7 as configFields };
|
|
385
471
|
let disableInWorkflow_2: boolean;
|
|
386
472
|
export { disableInWorkflow_2 as disableInWorkflow };
|
|
387
473
|
let requireRow_2: boolean;
|
|
388
474
|
export { requireRow_2 as requireRow };
|
|
389
|
-
export function
|
|
475
|
+
export function run_6({ row, table, user }: {
|
|
390
476
|
row: object;
|
|
391
477
|
table: object;
|
|
392
478
|
user: any;
|
|
393
479
|
}): Promise<object>;
|
|
394
|
-
export {
|
|
395
|
-
let
|
|
396
|
-
export {
|
|
480
|
+
export { run_6 as run };
|
|
481
|
+
let namespace_6: string;
|
|
482
|
+
export { namespace_6 as namespace };
|
|
397
483
|
}
|
|
398
484
|
export namespace recalculate_stored_fields {
|
|
399
|
-
let
|
|
400
|
-
export {
|
|
401
|
-
export function
|
|
485
|
+
let description_8: string;
|
|
486
|
+
export { description_8 as description };
|
|
487
|
+
export function configFields_8({ table }: {
|
|
402
488
|
table: any;
|
|
403
489
|
}): Promise<({
|
|
404
490
|
name: string;
|
|
@@ -432,18 +518,18 @@ export namespace recalculate_stored_fields {
|
|
|
432
518
|
options?: undefined;
|
|
433
519
|
showIf?: undefined;
|
|
434
520
|
})[]>;
|
|
435
|
-
export {
|
|
436
|
-
export function
|
|
521
|
+
export { configFields_8 as configFields };
|
|
522
|
+
export function run_7({ table, row, configuration, user }: {
|
|
437
523
|
configuration: object;
|
|
438
524
|
}): Promise<void>;
|
|
439
|
-
export {
|
|
440
|
-
let
|
|
441
|
-
export {
|
|
525
|
+
export { run_7 as run };
|
|
526
|
+
let namespace_7: string;
|
|
527
|
+
export { namespace_7 as namespace };
|
|
442
528
|
}
|
|
443
529
|
export namespace insert_any_row {
|
|
444
|
-
let
|
|
445
|
-
export {
|
|
446
|
-
export function
|
|
530
|
+
let description_9: string;
|
|
531
|
+
export { description_9 as description };
|
|
532
|
+
export function configFields_9({ mode }: {
|
|
447
533
|
mode: any;
|
|
448
534
|
}): Promise<({
|
|
449
535
|
name: string;
|
|
@@ -470,22 +556,22 @@ export namespace insert_any_row {
|
|
|
470
556
|
options?: undefined;
|
|
471
557
|
fieldview?: undefined;
|
|
472
558
|
})[]>;
|
|
473
|
-
export {
|
|
474
|
-
export function
|
|
559
|
+
export { configFields_9 as configFields };
|
|
560
|
+
export function run_8({ row, table, configuration, user, referrer, ...rest }: {
|
|
475
561
|
row: object;
|
|
476
562
|
table?: object | undefined;
|
|
477
563
|
configuration: object;
|
|
478
564
|
user: object;
|
|
479
565
|
rest?: any;
|
|
480
566
|
}): Promise<boolean | object>;
|
|
481
|
-
export {
|
|
482
|
-
let
|
|
483
|
-
export {
|
|
567
|
+
export { run_8 as run };
|
|
568
|
+
let namespace_8: string;
|
|
569
|
+
export { namespace_8 as namespace };
|
|
484
570
|
}
|
|
485
571
|
export namespace modify_row {
|
|
486
|
-
let
|
|
487
|
-
export {
|
|
488
|
-
export function
|
|
572
|
+
let description_10: string;
|
|
573
|
+
export { description_10 as description };
|
|
574
|
+
export function configFields_10({ mode, when_trigger }: {
|
|
489
575
|
mode: any;
|
|
490
576
|
when_trigger: any;
|
|
491
577
|
}): Promise<({
|
|
@@ -541,10 +627,10 @@ export namespace modify_row {
|
|
|
541
627
|
input_type?: undefined;
|
|
542
628
|
attributes?: undefined;
|
|
543
629
|
})[]>;
|
|
544
|
-
export {
|
|
630
|
+
export { configFields_10 as configFields };
|
|
545
631
|
let requireRow_3: boolean;
|
|
546
632
|
export { requireRow_3 as requireRow };
|
|
547
|
-
export function
|
|
633
|
+
export function run_9({ row, table, configuration: { row_expr, where, select_table, query }, user, ...rest }: {
|
|
548
634
|
[x: string]: any;
|
|
549
635
|
row: any;
|
|
550
636
|
table: any;
|
|
@@ -556,14 +642,14 @@ export namespace modify_row {
|
|
|
556
642
|
};
|
|
557
643
|
user: any;
|
|
558
644
|
}): Promise<any>;
|
|
559
|
-
export {
|
|
560
|
-
let
|
|
561
|
-
export {
|
|
645
|
+
export { run_9 as run };
|
|
646
|
+
let namespace_9: string;
|
|
647
|
+
export { namespace_9 as namespace };
|
|
562
648
|
}
|
|
563
649
|
export namespace delete_rows {
|
|
564
|
-
let
|
|
565
|
-
export {
|
|
566
|
-
export function
|
|
650
|
+
let description_11: string;
|
|
651
|
+
export { description_11 as description };
|
|
652
|
+
export function configFields_11({ mode, when_trigger }: {
|
|
567
653
|
mode: any;
|
|
568
654
|
when_trigger: any;
|
|
569
655
|
}): Promise<({
|
|
@@ -601,8 +687,8 @@ export namespace delete_rows {
|
|
|
601
687
|
input_type?: undefined;
|
|
602
688
|
options?: undefined;
|
|
603
689
|
})[]>;
|
|
604
|
-
export {
|
|
605
|
-
export function
|
|
690
|
+
export { configFields_11 as configFields };
|
|
691
|
+
export function run_10({ row, table, configuration: { delete_triggering_row, delete_where, table_name }, user, ...rest }: {
|
|
606
692
|
[x: string]: any;
|
|
607
693
|
row: any;
|
|
608
694
|
table: any;
|
|
@@ -613,14 +699,14 @@ export namespace delete_rows {
|
|
|
613
699
|
};
|
|
614
700
|
user: any;
|
|
615
701
|
}): Promise<void>;
|
|
616
|
-
export {
|
|
617
|
-
let
|
|
618
|
-
export {
|
|
702
|
+
export { run_10 as run };
|
|
703
|
+
let namespace_10: string;
|
|
704
|
+
export { namespace_10 as namespace };
|
|
619
705
|
}
|
|
620
706
|
export namespace navigate {
|
|
621
|
-
let
|
|
622
|
-
export {
|
|
623
|
-
let
|
|
707
|
+
let description_12: string;
|
|
708
|
+
export { description_12 as description };
|
|
709
|
+
let configFields_12: ({
|
|
624
710
|
name: string;
|
|
625
711
|
label: string;
|
|
626
712
|
type: string;
|
|
@@ -639,8 +725,8 @@ export namespace navigate {
|
|
|
639
725
|
};
|
|
640
726
|
attributes?: undefined;
|
|
641
727
|
})[];
|
|
642
|
-
export {
|
|
643
|
-
export function
|
|
728
|
+
export { configFields_12 as configFields };
|
|
729
|
+
export function run_11({ row, user, configuration: { nav_action, url }, req }: {
|
|
644
730
|
row: any;
|
|
645
731
|
user: any;
|
|
646
732
|
configuration: {
|
|
@@ -669,16 +755,16 @@ export namespace navigate {
|
|
|
669
755
|
popup?: undefined;
|
|
670
756
|
eval_js?: undefined;
|
|
671
757
|
} | undefined>;
|
|
672
|
-
export {
|
|
673
|
-
let
|
|
674
|
-
export {
|
|
758
|
+
export { run_11 as run };
|
|
759
|
+
let namespace_11: string;
|
|
760
|
+
export { namespace_11 as namespace };
|
|
675
761
|
}
|
|
676
762
|
export namespace step_control_flow {
|
|
677
|
-
let
|
|
678
|
-
export {
|
|
763
|
+
let description_13: string;
|
|
764
|
+
export { description_13 as description };
|
|
679
765
|
let disableInWorkflow_3: boolean;
|
|
680
766
|
export { disableInWorkflow_3 as disableInWorkflow };
|
|
681
|
-
let
|
|
767
|
+
let configFields_13: ({
|
|
682
768
|
name: string;
|
|
683
769
|
label: string;
|
|
684
770
|
type: string;
|
|
@@ -697,8 +783,8 @@ export namespace step_control_flow {
|
|
|
697
783
|
};
|
|
698
784
|
attributes?: undefined;
|
|
699
785
|
})[];
|
|
700
|
-
export {
|
|
701
|
-
export function
|
|
786
|
+
export { configFields_13 as configFields };
|
|
787
|
+
export function run_12({ row, user, configuration: { control_action, step } }: {
|
|
702
788
|
row: any;
|
|
703
789
|
user: any;
|
|
704
790
|
configuration: {
|
|
@@ -718,16 +804,16 @@ export namespace step_control_flow {
|
|
|
718
804
|
halt_steps?: undefined;
|
|
719
805
|
goto_step?: undefined;
|
|
720
806
|
} | undefined>;
|
|
721
|
-
export {
|
|
722
|
-
let
|
|
723
|
-
export {
|
|
807
|
+
export { run_12 as run };
|
|
808
|
+
let namespace_12: string;
|
|
809
|
+
export { namespace_12 as namespace };
|
|
724
810
|
}
|
|
725
811
|
export namespace form_action {
|
|
726
|
-
let
|
|
727
|
-
export {
|
|
812
|
+
let description_14: string;
|
|
813
|
+
export { description_14 as description };
|
|
728
814
|
let requireRow_4: boolean;
|
|
729
815
|
export { requireRow_4 as requireRow };
|
|
730
|
-
let
|
|
816
|
+
let configFields_14: {
|
|
731
817
|
name: string;
|
|
732
818
|
label: string;
|
|
733
819
|
type: string;
|
|
@@ -736,8 +822,8 @@ export namespace form_action {
|
|
|
736
822
|
options: string[];
|
|
737
823
|
};
|
|
738
824
|
}[];
|
|
739
|
-
export {
|
|
740
|
-
export function
|
|
825
|
+
export { configFields_14 as configFields };
|
|
826
|
+
export function run_13({ row, table, user, req, configuration: { form_action } }: {
|
|
741
827
|
row: any;
|
|
742
828
|
table: any;
|
|
743
829
|
user: any;
|
|
@@ -756,14 +842,14 @@ export namespace form_action {
|
|
|
756
842
|
};
|
|
757
843
|
eval_js?: undefined;
|
|
758
844
|
}>;
|
|
759
|
-
export {
|
|
760
|
-
let
|
|
761
|
-
export {
|
|
845
|
+
export { run_13 as run };
|
|
846
|
+
let namespace_13: string;
|
|
847
|
+
export { namespace_13 as namespace };
|
|
762
848
|
}
|
|
763
849
|
export namespace toast {
|
|
764
|
-
let
|
|
765
|
-
export {
|
|
766
|
-
let
|
|
850
|
+
let description_15: string;
|
|
851
|
+
export { description_15 as description };
|
|
852
|
+
let configFields_15: ({
|
|
767
853
|
name: string;
|
|
768
854
|
label: string;
|
|
769
855
|
type: string;
|
|
@@ -786,9 +872,16 @@ export namespace toast {
|
|
|
786
872
|
type: string;
|
|
787
873
|
required?: undefined;
|
|
788
874
|
attributes?: undefined;
|
|
875
|
+
} | {
|
|
876
|
+
name: string;
|
|
877
|
+
label: string;
|
|
878
|
+
type: string;
|
|
879
|
+
required?: undefined;
|
|
880
|
+
attributes?: undefined;
|
|
881
|
+
sublabel?: undefined;
|
|
789
882
|
})[];
|
|
790
|
-
export {
|
|
791
|
-
export function
|
|
883
|
+
export { configFields_15 as configFields };
|
|
884
|
+
export function run_14({ row, user, configuration: { type, notify_type, text, title, remove_delay }, }: {
|
|
792
885
|
row: any;
|
|
793
886
|
user: any;
|
|
794
887
|
configuration: {
|
|
@@ -796,6 +889,7 @@ export namespace toast {
|
|
|
796
889
|
notify_type: any;
|
|
797
890
|
text: any;
|
|
798
891
|
title: any;
|
|
892
|
+
remove_delay: any;
|
|
799
893
|
};
|
|
800
894
|
}): Promise<{
|
|
801
895
|
toast_title: string;
|
|
@@ -816,17 +910,17 @@ export namespace toast {
|
|
|
816
910
|
toast_title?: undefined;
|
|
817
911
|
notify: string;
|
|
818
912
|
}>;
|
|
819
|
-
export {
|
|
820
|
-
let
|
|
821
|
-
export {
|
|
913
|
+
export { run_14 as run };
|
|
914
|
+
let namespace_14: string;
|
|
915
|
+
export { namespace_14 as namespace };
|
|
822
916
|
}
|
|
823
917
|
export namespace run_js_code {
|
|
824
|
-
let
|
|
825
|
-
export {
|
|
918
|
+
let description_16: string;
|
|
919
|
+
export { description_16 as description };
|
|
826
920
|
export namespace configFormOptions {
|
|
827
921
|
let formStyle: string;
|
|
828
922
|
}
|
|
829
|
-
export function
|
|
923
|
+
export function configFields_16({ table }: {
|
|
830
924
|
table: any;
|
|
831
925
|
}): Promise<({
|
|
832
926
|
name: string;
|
|
@@ -872,15 +966,15 @@ export namespace run_js_code {
|
|
|
872
966
|
help?: undefined;
|
|
873
967
|
showIf?: undefined;
|
|
874
968
|
})[]>;
|
|
875
|
-
export {
|
|
969
|
+
export { configFields_16 as configFields };
|
|
876
970
|
export { run_code as run };
|
|
877
|
-
let
|
|
878
|
-
export {
|
|
971
|
+
let namespace_15: string;
|
|
972
|
+
export { namespace_15 as namespace };
|
|
879
973
|
}
|
|
880
974
|
export namespace run_js_code_in_field {
|
|
881
|
-
let
|
|
882
|
-
export {
|
|
883
|
-
export function
|
|
975
|
+
let description_17: string;
|
|
976
|
+
export { description_17 as description };
|
|
977
|
+
export function configFields_17({ table, mode }: {
|
|
884
978
|
table: any;
|
|
885
979
|
mode: any;
|
|
886
980
|
}): Promise<({
|
|
@@ -920,24 +1014,24 @@ export namespace run_js_code_in_field {
|
|
|
920
1014
|
required?: undefined;
|
|
921
1015
|
attributes?: undefined;
|
|
922
1016
|
})[]>;
|
|
923
|
-
export {
|
|
1017
|
+
export { configFields_17 as configFields };
|
|
924
1018
|
let requireRow_5: boolean;
|
|
925
1019
|
export { requireRow_5 as requireRow };
|
|
926
|
-
let
|
|
927
|
-
export {
|
|
928
|
-
let
|
|
929
|
-
export {
|
|
1020
|
+
let run_15: base;
|
|
1021
|
+
export { run_15 as run };
|
|
1022
|
+
let namespace_16: string;
|
|
1023
|
+
export { namespace_16 as namespace };
|
|
930
1024
|
}
|
|
931
1025
|
export namespace duplicate_row_prefill_edit {
|
|
932
|
-
export function
|
|
1026
|
+
export function configFields_18({ table }: {
|
|
933
1027
|
table: any;
|
|
934
1028
|
}): Promise<any[]>;
|
|
935
|
-
export {
|
|
1029
|
+
export { configFields_18 as configFields };
|
|
936
1030
|
let disableInWorkflow_4: boolean;
|
|
937
1031
|
export { disableInWorkflow_4 as disableInWorkflow };
|
|
938
1032
|
let requireRow_6: boolean;
|
|
939
1033
|
export { requireRow_6 as requireRow };
|
|
940
|
-
export function
|
|
1034
|
+
export function run_16({ row, table, configuration: { viewname, ...flds }, user }: {
|
|
941
1035
|
row: any;
|
|
942
1036
|
table: any;
|
|
943
1037
|
configuration: {
|
|
@@ -948,14 +1042,14 @@ export namespace duplicate_row_prefill_edit {
|
|
|
948
1042
|
}): Promise<{
|
|
949
1043
|
goto: string;
|
|
950
1044
|
}>;
|
|
951
|
-
export {
|
|
952
|
-
let
|
|
953
|
-
export {
|
|
1045
|
+
export { run_16 as run };
|
|
1046
|
+
let namespace_17: string;
|
|
1047
|
+
export { namespace_17 as namespace };
|
|
954
1048
|
}
|
|
955
1049
|
export namespace set_user_language {
|
|
956
|
-
let
|
|
957
|
-
export {
|
|
958
|
-
export function
|
|
1050
|
+
let description_18: string;
|
|
1051
|
+
export { description_18 as description };
|
|
1052
|
+
export function configFields_19({ table }: {
|
|
959
1053
|
table: any;
|
|
960
1054
|
}): Promise<{
|
|
961
1055
|
name: string;
|
|
@@ -968,8 +1062,8 @@ export namespace set_user_language {
|
|
|
968
1062
|
}[];
|
|
969
1063
|
};
|
|
970
1064
|
}[]>;
|
|
971
|
-
export {
|
|
972
|
-
export function
|
|
1065
|
+
export { configFields_19 as configFields };
|
|
1066
|
+
export function run_17({ configuration: { language }, user, req, res }: {
|
|
973
1067
|
configuration: {
|
|
974
1068
|
language: any;
|
|
975
1069
|
};
|
|
@@ -979,14 +1073,14 @@ export namespace set_user_language {
|
|
|
979
1073
|
}): Promise<{
|
|
980
1074
|
reload_page: boolean;
|
|
981
1075
|
}>;
|
|
982
|
-
export {
|
|
983
|
-
let
|
|
984
|
-
export {
|
|
1076
|
+
export { run_17 as run };
|
|
1077
|
+
let namespace_18: string;
|
|
1078
|
+
export { namespace_18 as namespace };
|
|
985
1079
|
}
|
|
986
1080
|
export namespace sync_table_from_external {
|
|
987
|
-
let
|
|
988
|
-
export {
|
|
989
|
-
export function
|
|
1081
|
+
let description_19: string;
|
|
1082
|
+
export { description_19 as description };
|
|
1083
|
+
export function configFields_20({ table }: {
|
|
990
1084
|
table: any;
|
|
991
1085
|
}): Promise<({
|
|
992
1086
|
name: string;
|
|
@@ -1058,21 +1152,21 @@ export namespace sync_table_from_external {
|
|
|
1058
1152
|
attributes?: undefined;
|
|
1059
1153
|
default?: undefined;
|
|
1060
1154
|
})[]>;
|
|
1061
|
-
export {
|
|
1062
|
-
export function
|
|
1155
|
+
export { configFields_20 as configFields };
|
|
1156
|
+
export function run_18({ configuration: { row_expr, table_src, table_dest, pk_field, delete_rows, match_field_names, where, }, user, ...rest }: {
|
|
1063
1157
|
row: object;
|
|
1064
1158
|
configuration: object;
|
|
1065
1159
|
user: object;
|
|
1066
1160
|
rest: any;
|
|
1067
1161
|
}): Promise<boolean | object>;
|
|
1068
|
-
export {
|
|
1069
|
-
let
|
|
1070
|
-
export {
|
|
1162
|
+
export { run_18 as run };
|
|
1163
|
+
let namespace_19: string;
|
|
1164
|
+
export { namespace_19 as namespace };
|
|
1071
1165
|
}
|
|
1072
1166
|
export namespace reload_embedded_view {
|
|
1073
|
-
let
|
|
1074
|
-
export {
|
|
1075
|
-
export function
|
|
1167
|
+
let description_20: string;
|
|
1168
|
+
export { description_20 as description };
|
|
1169
|
+
export function configFields_21(): Promise<({
|
|
1076
1170
|
name: string;
|
|
1077
1171
|
label: string;
|
|
1078
1172
|
class: string;
|
|
@@ -1099,8 +1193,8 @@ export namespace reload_embedded_view {
|
|
|
1099
1193
|
required?: undefined;
|
|
1100
1194
|
attributes?: undefined;
|
|
1101
1195
|
})[]>;
|
|
1102
|
-
export {
|
|
1103
|
-
export function
|
|
1196
|
+
export { configFields_21 as configFields };
|
|
1197
|
+
export function run_19({ row, user, configuration: { view, new_state_fml, interval }, }: {
|
|
1104
1198
|
row: any;
|
|
1105
1199
|
user: any;
|
|
1106
1200
|
configuration: {
|
|
@@ -1111,14 +1205,14 @@ export namespace reload_embedded_view {
|
|
|
1111
1205
|
}): Promise<{
|
|
1112
1206
|
eval_js: string;
|
|
1113
1207
|
}>;
|
|
1114
|
-
export {
|
|
1115
|
-
let
|
|
1116
|
-
export {
|
|
1208
|
+
export { run_19 as run };
|
|
1209
|
+
let namespace_20: string;
|
|
1210
|
+
export { namespace_20 as namespace };
|
|
1117
1211
|
}
|
|
1118
1212
|
export namespace sleep {
|
|
1119
|
-
let
|
|
1120
|
-
export {
|
|
1121
|
-
let
|
|
1213
|
+
let description_21: string;
|
|
1214
|
+
export { description_21 as description };
|
|
1215
|
+
let configFields_22: ({
|
|
1122
1216
|
name: string;
|
|
1123
1217
|
label: string;
|
|
1124
1218
|
type: string;
|
|
@@ -1133,8 +1227,8 @@ export namespace sleep {
|
|
|
1133
1227
|
type?: undefined;
|
|
1134
1228
|
required?: undefined;
|
|
1135
1229
|
})[];
|
|
1136
|
-
export {
|
|
1137
|
-
export function
|
|
1230
|
+
export { configFields_22 as configFields };
|
|
1231
|
+
export function run_20({ configuration: { seconds, sleep_where } }: {
|
|
1138
1232
|
configuration: {
|
|
1139
1233
|
seconds: any;
|
|
1140
1234
|
sleep_where: any;
|
|
@@ -1142,25 +1236,25 @@ export namespace sleep {
|
|
|
1142
1236
|
}): Promise<{
|
|
1143
1237
|
eval_js: string;
|
|
1144
1238
|
} | undefined>;
|
|
1145
|
-
export {
|
|
1146
|
-
let
|
|
1147
|
-
export {
|
|
1239
|
+
export { run_20 as run };
|
|
1240
|
+
let namespace_21: string;
|
|
1241
|
+
export { namespace_21 as namespace };
|
|
1148
1242
|
}
|
|
1149
1243
|
export namespace refresh_user_session {
|
|
1150
|
-
let
|
|
1151
|
-
export {
|
|
1152
|
-
export function
|
|
1244
|
+
let description_22: string;
|
|
1245
|
+
export { description_22 as description };
|
|
1246
|
+
export function run_21({ user, req }: {
|
|
1153
1247
|
user: any;
|
|
1154
1248
|
req: any;
|
|
1155
1249
|
}): Promise<void>;
|
|
1156
|
-
export {
|
|
1157
|
-
let
|
|
1158
|
-
export {
|
|
1250
|
+
export { run_21 as run };
|
|
1251
|
+
let namespace_22: string;
|
|
1252
|
+
export { namespace_22 as namespace };
|
|
1159
1253
|
}
|
|
1160
1254
|
export namespace notify_user {
|
|
1161
|
-
let
|
|
1162
|
-
export {
|
|
1163
|
-
export function
|
|
1255
|
+
let description_23: string;
|
|
1256
|
+
export { description_23 as description };
|
|
1257
|
+
export function configFields_23(): ({
|
|
1164
1258
|
name: string;
|
|
1165
1259
|
label: string;
|
|
1166
1260
|
type: string;
|
|
@@ -1171,20 +1265,20 @@ export namespace notify_user {
|
|
|
1171
1265
|
required: boolean;
|
|
1172
1266
|
type: string;
|
|
1173
1267
|
})[];
|
|
1174
|
-
export {
|
|
1175
|
-
export function
|
|
1268
|
+
export { configFields_23 as configFields };
|
|
1269
|
+
export function run_22({ row, user, configuration: { title, body, link, user_spec }, }: {
|
|
1176
1270
|
row: object;
|
|
1177
1271
|
configuration: object;
|
|
1178
1272
|
user: object;
|
|
1179
1273
|
}): Promise<void>;
|
|
1180
|
-
export {
|
|
1181
|
-
let
|
|
1182
|
-
export {
|
|
1274
|
+
export { run_22 as run };
|
|
1275
|
+
let namespace_23: string;
|
|
1276
|
+
export { namespace_23 as namespace };
|
|
1183
1277
|
}
|
|
1184
1278
|
export namespace convert_session_to_user {
|
|
1185
|
-
let
|
|
1186
|
-
export {
|
|
1187
|
-
export function
|
|
1279
|
+
let description_24: string;
|
|
1280
|
+
export { description_24 as description };
|
|
1281
|
+
export function configFields_24({ table }: {
|
|
1188
1282
|
table: any;
|
|
1189
1283
|
}): Promise<({
|
|
1190
1284
|
name: string;
|
|
@@ -1205,8 +1299,8 @@ export namespace convert_session_to_user {
|
|
|
1205
1299
|
input_type?: undefined;
|
|
1206
1300
|
options?: undefined;
|
|
1207
1301
|
})[]>;
|
|
1208
|
-
export {
|
|
1209
|
-
export function
|
|
1302
|
+
export { configFields_24 as configFields };
|
|
1303
|
+
export function run_23({ row, configuration: { table_name, session_field, user_field }, user, }: {
|
|
1210
1304
|
row: any;
|
|
1211
1305
|
configuration: {
|
|
1212
1306
|
table_name: any;
|
|
@@ -1215,15 +1309,15 @@ export namespace convert_session_to_user {
|
|
|
1215
1309
|
};
|
|
1216
1310
|
user: any;
|
|
1217
1311
|
}): Promise<void>;
|
|
1218
|
-
export {
|
|
1219
|
-
let
|
|
1220
|
-
export {
|
|
1312
|
+
export { run_23 as run };
|
|
1313
|
+
let namespace_24: string;
|
|
1314
|
+
export { namespace_24 as namespace };
|
|
1221
1315
|
}
|
|
1222
1316
|
export namespace train_model_instance {
|
|
1223
|
-
let
|
|
1224
|
-
export {
|
|
1317
|
+
let description_25: string;
|
|
1318
|
+
export { description_25 as description };
|
|
1225
1319
|
export function disableIf(): boolean;
|
|
1226
|
-
export function
|
|
1320
|
+
export function configFields_25(): Promise<({
|
|
1227
1321
|
name: string;
|
|
1228
1322
|
label: string;
|
|
1229
1323
|
input_type: string;
|
|
@@ -1262,8 +1356,8 @@ export namespace train_model_instance {
|
|
|
1262
1356
|
options?: undefined;
|
|
1263
1357
|
attributes?: undefined;
|
|
1264
1358
|
})[]>;
|
|
1265
|
-
export {
|
|
1266
|
-
export function
|
|
1359
|
+
export { configFields_25 as configFields };
|
|
1360
|
+
export function run_24({ row, configuration: { model_id, instance_name, where, hyperparameters }, user, }: {
|
|
1267
1361
|
row: any;
|
|
1268
1362
|
configuration: {
|
|
1269
1363
|
model_id: any;
|
|
@@ -1273,14 +1367,14 @@ export namespace train_model_instance {
|
|
|
1273
1367
|
};
|
|
1274
1368
|
user: any;
|
|
1275
1369
|
}): Promise<void>;
|
|
1276
|
-
export {
|
|
1277
|
-
let
|
|
1278
|
-
export {
|
|
1370
|
+
export { run_24 as run };
|
|
1371
|
+
let namespace_25: string;
|
|
1372
|
+
export { namespace_25 as namespace };
|
|
1279
1373
|
}
|
|
1280
1374
|
export namespace download_file_to_browser {
|
|
1281
|
-
let
|
|
1282
|
-
export {
|
|
1283
|
-
export function
|
|
1375
|
+
let description_26: string;
|
|
1376
|
+
export { description_26 as description };
|
|
1377
|
+
export function configFields_26({ table, mode }: {
|
|
1284
1378
|
table: any;
|
|
1285
1379
|
mode: any;
|
|
1286
1380
|
}): Promise<{
|
|
@@ -1298,8 +1392,8 @@ export namespace download_file_to_browser {
|
|
|
1298
1392
|
options: any;
|
|
1299
1393
|
};
|
|
1300
1394
|
}[]>;
|
|
1301
|
-
export {
|
|
1302
|
-
export function
|
|
1395
|
+
export { configFields_26 as configFields };
|
|
1396
|
+
export function run_25({ row, configuration: { filepath_expr, file_field }, user, mode, }: {
|
|
1303
1397
|
row: any;
|
|
1304
1398
|
configuration: {
|
|
1305
1399
|
filepath_expr: any;
|
|
@@ -1314,14 +1408,14 @@ export namespace download_file_to_browser {
|
|
|
1314
1408
|
blob: Buffer;
|
|
1315
1409
|
};
|
|
1316
1410
|
} | undefined>;
|
|
1317
|
-
export {
|
|
1411
|
+
export { run_25 as run };
|
|
1318
1412
|
}
|
|
1319
1413
|
export namespace install_progressive_web_app {
|
|
1320
|
-
let
|
|
1321
|
-
export {
|
|
1322
|
-
export function
|
|
1323
|
-
export {
|
|
1324
|
-
export function
|
|
1414
|
+
let description_27: string;
|
|
1415
|
+
export { description_27 as description };
|
|
1416
|
+
export function configFields_27(): never[];
|
|
1417
|
+
export { configFields_27 as configFields };
|
|
1418
|
+
export function run_26({ req }: {
|
|
1325
1419
|
req: any;
|
|
1326
1420
|
}): Promise<{
|
|
1327
1421
|
eval_js: string;
|
|
@@ -1330,7 +1424,7 @@ export namespace install_progressive_web_app {
|
|
|
1330
1424
|
error: any;
|
|
1331
1425
|
eval_js?: undefined;
|
|
1332
1426
|
}>;
|
|
1333
|
-
export {
|
|
1427
|
+
export { run_26 as run };
|
|
1334
1428
|
}
|
|
1335
1429
|
export {};
|
|
1336
1430
|
//# sourceMappingURL=actions.d.ts.map
|