@saltcorn/data 1.1.1 → 1.1.2-beta.1
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 +78 -78
- package/dist/base-plugin/actions.d.ts.map +1 -1
- package/dist/base-plugin/actions.js +1 -1
- package/dist/base-plugin/actions.js.map +1 -1
- package/dist/base-plugin/fieldviews.d.ts +31 -31
- package/dist/base-plugin/fieldviews.d.ts.map +1 -1
- package/dist/base-plugin/fieldviews.js.map +1 -1
- package/dist/base-plugin/fileviews.js.map +1 -1
- package/dist/base-plugin/index.d.ts +28 -28
- package/dist/base-plugin/index.d.ts.map +1 -1
- package/dist/base-plugin/types.d.ts +164 -164
- package/dist/base-plugin/types.d.ts.map +1 -1
- package/dist/base-plugin/types.js.map +1 -1
- package/dist/base-plugin/viewtemplates/edit.d.ts +5 -5
- package/dist/base-plugin/viewtemplates/edit.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/edit.js +21 -5
- package/dist/base-plugin/viewtemplates/edit.js.map +1 -1
- package/dist/base-plugin/viewtemplates/feed.d.ts +3 -3
- package/dist/base-plugin/viewtemplates/feed.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/feed.js.map +1 -1
- package/dist/base-plugin/viewtemplates/filter.d.ts +3 -3
- package/dist/base-plugin/viewtemplates/filter.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/filter.js +1 -1
- package/dist/base-plugin/viewtemplates/filter.js.map +1 -1
- package/dist/base-plugin/viewtemplates/list.d.ts +4 -4
- package/dist/base-plugin/viewtemplates/list.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/list.js +2 -2
- package/dist/base-plugin/viewtemplates/list.js.map +1 -1
- package/dist/base-plugin/viewtemplates/listshowlist.d.ts +2 -2
- package/dist/base-plugin/viewtemplates/listshowlist.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/listshowlist.js.map +1 -1
- package/dist/base-plugin/viewtemplates/room.d.ts +4 -4
- package/dist/base-plugin/viewtemplates/room.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/room.js +1 -1
- package/dist/base-plugin/viewtemplates/room.js.map +1 -1
- package/dist/base-plugin/viewtemplates/show.d.ts +3 -3
- package/dist/base-plugin/viewtemplates/show.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/show.js +1 -1
- package/dist/base-plugin/viewtemplates/show.js.map +1 -1
- package/dist/base-plugin/viewtemplates/viewable_fields.d.ts +2 -2
- package/dist/base-plugin/viewtemplates/viewable_fields.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/viewable_fields.js +1 -1
- package/dist/base-plugin/viewtemplates/viewable_fields.js.map +1 -1
- package/dist/base-plugin/viewtemplates/workflow-room.d.ts +5 -5
- package/dist/base-plugin/viewtemplates/workflow-room.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/workflow-room.js +1 -1
- package/dist/base-plugin/viewtemplates/workflow-room.js.map +1 -1
- package/dist/db/connect.d.ts +13 -37
- package/dist/db/connect.d.ts.map +1 -1
- package/dist/db/connect.js +24 -24
- package/dist/db/connect.js.map +1 -1
- package/dist/db/fixtures.d.ts.map +1 -1
- package/dist/db/fixtures.js +1 -1
- package/dist/db/fixtures.js.map +1 -1
- package/dist/db/index.js.map +1 -1
- package/dist/db/reset_schema.d.ts.map +1 -1
- package/dist/db/reset_schema.js.map +1 -1
- package/dist/db/state.d.ts +1 -1
- package/dist/db/state.d.ts.map +1 -1
- package/dist/db/state.js +18 -8
- package/dist/db/state.js.map +1 -1
- package/dist/diagram/cy_generate_utils.js +2 -3
- package/dist/diagram/cy_generate_utils.js.map +1 -1
- package/dist/diagram/cy_raster.js.map +1 -1
- package/dist/diagram/node_extract_utils.js +4 -5
- package/dist/diagram/node_extract_utils.js.map +1 -1
- package/dist/diagram/nodes/table_node.js.map +1 -1
- package/dist/index.js +19 -9
- package/dist/index.js.map +1 -1
- package/dist/migrate.d.ts.map +1 -1
- package/dist/migrate.js.map +1 -1
- package/dist/migrations/202007091707.d.ts.map +1 -1
- package/dist/migrations/202007202144.d.ts.map +1 -1
- package/dist/migrations/202008031500.d.ts.map +1 -1
- package/dist/migrations/202009221105.d.ts.map +1 -1
- package/dist/migrations/202009231331.d.ts.map +1 -1
- package/dist/migrations/202010231444.d.ts.map +1 -1
- package/dist/migrations/202011021749.d.ts.map +1 -1
- package/dist/migrations/202012011203.d.ts.map +1 -1
- package/dist/migrations/202012100841.d.ts.map +1 -1
- package/dist/migrations/202012281835.d.ts.map +1 -1
- package/dist/migrations/202101061051.d.ts.map +1 -1
- package/dist/migrations/202101141128.d.ts.map +1 -1
- package/dist/migrations/202102091312.d.ts.map +1 -1
- package/dist/migrations/202102091312.js.map +1 -1
- package/dist/migrations/202102172148.d.ts.map +1 -1
- package/dist/migrations/202106102347.d.ts.map +1 -1
- package/dist/migrations/202106112120.d.ts.map +1 -1
- package/dist/migrations/202106120012.d.ts.map +1 -1
- package/dist/migrations/202106120220.d.ts.map +1 -1
- package/dist/migrations/202106121701.d.ts.map +1 -1
- package/dist/migrations/202107281619.d.ts.map +1 -1
- package/dist/migrations/202109201624.d.ts.map +1 -1
- package/dist/migrations/202207022002.d.ts.map +1 -1
- package/dist/migrations/202210051058.js.map +1 -1
- package/dist/migrations/202210101540.js.map +1 -1
- package/dist/migrations/202301130917.d.ts.map +1 -1
- package/dist/migrations/202304281224.js.map +1 -1
- package/dist/migrations/202307211459.js.map +1 -1
- package/dist/migrations/202308211648.d.ts.map +1 -1
- package/dist/migrations/202402071125.d.ts.map +1 -1
- package/dist/migrations/202501081226.d.ts.map +1 -1
- package/dist/migrations/202501181439.js.map +1 -1
- package/dist/mobile-mocks/node/fs/promises.js +5 -6
- package/dist/mobile-mocks/node/fs/promises.js.map +1 -1
- package/dist/mobile-mocks/node/fs.js +3 -4
- package/dist/mobile-mocks/node/fs.js.map +1 -1
- package/dist/mobile-mocks/node/latest-version.js +1 -1
- package/dist/mobile-mocks/node/latest-version.js.map +1 -1
- package/dist/mobile-mocks/node/v8.js +2 -3
- package/dist/mobile-mocks/node/v8.js.map +1 -1
- package/dist/model-helper.d.ts +2 -2
- package/dist/model-helper.js.map +1 -1
- package/dist/models/config.d.ts.map +1 -1
- package/dist/models/config.js +21 -11
- package/dist/models/config.js.map +1 -1
- package/dist/models/crash.js +18 -8
- package/dist/models/crash.js.map +1 -1
- package/dist/models/discovery.d.ts +5 -5
- package/dist/models/discovery.d.ts.map +1 -1
- package/dist/models/discovery.js +4 -4
- package/dist/models/discovery.js.map +1 -1
- package/dist/models/email.d.ts +3 -3
- package/dist/models/email.d.ts.map +1 -1
- package/dist/models/email.js +17 -7
- package/dist/models/email.js.map +1 -1
- package/dist/models/eventlog.js.map +1 -1
- package/dist/models/expression.d.ts +2 -2
- package/dist/models/expression.d.ts.map +1 -1
- package/dist/models/expression.js +1 -1
- package/dist/models/expression.js.map +1 -1
- package/dist/models/field.js.map +1 -1
- package/dist/models/fieldrepeat.js.map +1 -1
- package/dist/models/file.d.ts +0 -2
- package/dist/models/file.d.ts.map +1 -1
- package/dist/models/file.js.map +1 -1
- package/dist/models/form.js.map +1 -1
- package/dist/models/index.d.ts +23 -16
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +7 -7
- package/dist/models/index.js.map +1 -1
- package/dist/models/internal/query.d.ts.map +1 -1
- package/dist/models/internal/query.js.map +1 -1
- package/dist/models/internal/table_helper.js.map +1 -1
- package/dist/models/layout.d.ts +1 -1
- package/dist/models/layout.d.ts.map +1 -1
- package/dist/models/layout.js.map +1 -1
- package/dist/models/model.js.map +1 -1
- package/dist/models/model_instance.d.ts +0 -2
- package/dist/models/model_instance.d.ts.map +1 -1
- package/dist/models/model_instance.js +17 -7
- package/dist/models/model_instance.js.map +1 -1
- package/dist/models/notification.js.map +1 -1
- package/dist/models/page.js +17 -7
- package/dist/models/page.js.map +1 -1
- package/dist/models/page_group.js +17 -7
- package/dist/models/page_group.js.map +1 -1
- package/dist/models/page_group_member.js.map +1 -1
- package/dist/models/plugin.js.map +1 -1
- package/dist/models/random.d.ts.map +1 -1
- package/dist/models/random.js.map +1 -1
- package/dist/models/scheduler.d.ts +10 -3
- package/dist/models/scheduler.d.ts.map +1 -1
- package/dist/models/scheduler.js.map +1 -1
- package/dist/models/table.d.ts +1 -0
- package/dist/models/table.d.ts.map +1 -1
- package/dist/models/table.js +57 -11
- package/dist/models/table.js.map +1 -1
- package/dist/models/table_constraints.d.ts.map +1 -1
- package/dist/models/table_constraints.js +3 -0
- package/dist/models/table_constraints.js.map +1 -1
- package/dist/models/tag.js.map +1 -1
- package/dist/models/trigger.js +17 -7
- package/dist/models/trigger.js.map +1 -1
- package/dist/models/user.js.map +1 -1
- package/dist/models/view.js +17 -7
- package/dist/models/view.js.map +1 -1
- package/dist/models/workflow.js +17 -7
- package/dist/models/workflow.js.map +1 -1
- package/dist/models/workflow_run.js +17 -7
- package/dist/models/workflow_run.js.map +1 -1
- package/dist/models/workflow_step.js.map +1 -1
- package/dist/plugin-helper.d.ts +2 -2
- package/dist/plugin-helper.d.ts.map +1 -1
- package/dist/plugin-helper.js.map +1 -1
- package/dist/plugin-testing.d.ts +1 -1
- package/dist/plugin-testing.d.ts.map +1 -1
- package/dist/plugin-testing.js.map +1 -1
- package/dist/tests/actions.test.js +17 -7
- package/dist/tests/actions.test.js.map +1 -1
- package/dist/tests/assertions.js +6 -7
- package/dist/tests/assertions.js.map +1 -1
- package/dist/tests/auth.test.js.map +1 -1
- package/dist/tests/auxtest.test.js.map +1 -1
- package/dist/tests/calc.test.js.map +1 -1
- package/dist/tests/common_helpers.js +7 -8
- package/dist/tests/common_helpers.js.map +1 -1
- package/dist/tests/db.test.js.map +1 -1
- package/dist/tests/discover.test.js.map +1 -1
- package/dist/tests/exact_views.test.js.map +1 -1
- package/dist/tests/field.test.js.map +1 -1
- package/dist/tests/fieldviews.test.js.map +1 -1
- package/dist/tests/file.test.js.map +1 -1
- package/dist/tests/mocks.d.ts.map +1 -1
- package/dist/tests/mocks.js.map +1 -1
- package/dist/tests/page_group.test.js.map +1 -1
- package/dist/tests/table.test.js +20 -1
- package/dist/tests/table.test.js.map +1 -1
- package/dist/tests/table_history.test.js.map +1 -1
- package/dist/tests/tag.test.js.map +1 -1
- package/dist/tests/user.test.js.map +1 -1
- package/dist/tests/view.test.js.map +1 -1
- package/dist/utils.d.ts +7 -7
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +3 -3
- package/dist/utils.js.map +1 -1
- package/dist/web-mobile-commons.d.ts +1 -1
- package/dist/web-mobile-commons.d.ts.map +1 -1
- package/dist/web-mobile-commons.js +1 -1
- package/dist/web-mobile-commons.js.map +1 -1
- package/package.json +32 -30
|
@@ -84,7 +84,7 @@ export const types: ({
|
|
|
84
84
|
}[];
|
|
85
85
|
isEdit: boolean;
|
|
86
86
|
description: string;
|
|
87
|
-
run: (v: any, req: any, attrs?: {}) =>
|
|
87
|
+
run: (v: any, req: any, attrs?: {}) => string;
|
|
88
88
|
};
|
|
89
89
|
edit: {
|
|
90
90
|
isEdit: boolean;
|
|
@@ -250,7 +250,7 @@ export const types: ({
|
|
|
250
250
|
req: object;
|
|
251
251
|
}) => object;
|
|
252
252
|
};
|
|
253
|
-
validate: ({ min_length, max_length, regexp, re_invalid_error }: object) =>
|
|
253
|
+
validate: ({ min_length, max_length, regexp, re_invalid_error }: object) => object | true;
|
|
254
254
|
validate_attributes: ({ min_length, max_length, regexp }: object) => object;
|
|
255
255
|
} | {
|
|
256
256
|
name: string;
|
|
@@ -447,7 +447,7 @@ export const types: ({
|
|
|
447
447
|
}[];
|
|
448
448
|
isEdit: boolean;
|
|
449
449
|
description: string;
|
|
450
|
-
run: (v: any, req: any, attrs?: {}) =>
|
|
450
|
+
run: (v: any, req: any, attrs?: {}) => string;
|
|
451
451
|
};
|
|
452
452
|
show_star_rating: {
|
|
453
453
|
description: string;
|
|
@@ -569,7 +569,7 @@ export const types: ({
|
|
|
569
569
|
}[];
|
|
570
570
|
isEdit: boolean;
|
|
571
571
|
description: string;
|
|
572
|
-
run: (v: any, req: any, attrs?: {}) =>
|
|
572
|
+
run: (v: any, req: any, attrs?: {}) => string;
|
|
573
573
|
};
|
|
574
574
|
edit: {
|
|
575
575
|
isEdit: boolean;
|
|
@@ -822,12 +822,12 @@ export const types: ({
|
|
|
822
822
|
}[];
|
|
823
823
|
isEdit: boolean;
|
|
824
824
|
description: string;
|
|
825
|
-
run: (v: any, req: any, attrs?: {}) =>
|
|
825
|
+
run: (v: any, req: any, attrs?: {}) => string;
|
|
826
826
|
};
|
|
827
827
|
};
|
|
828
828
|
attributes: object[];
|
|
829
|
-
read: (v: object) =>
|
|
830
|
-
validate: ({ min, max }: object) =>
|
|
829
|
+
read: (v: object) => number | string | undefined;
|
|
830
|
+
validate: ({ min, max }: object) => object | boolean;
|
|
831
831
|
} | {
|
|
832
832
|
name: string;
|
|
833
833
|
description: string;
|
|
@@ -882,7 +882,7 @@ export const types: ({
|
|
|
882
882
|
}[];
|
|
883
883
|
isEdit: boolean;
|
|
884
884
|
description: string;
|
|
885
|
-
run: (v: any, req: any, attrs?: {}) =>
|
|
885
|
+
run: (v: any, req: any, attrs?: {}) => string;
|
|
886
886
|
};
|
|
887
887
|
edit: {
|
|
888
888
|
isEdit: boolean;
|
|
@@ -960,7 +960,7 @@ export const types: ({
|
|
|
960
960
|
}[];
|
|
961
961
|
isEdit: boolean;
|
|
962
962
|
description: string;
|
|
963
|
-
run: (v: any, req: any, attrs?: {}) =>
|
|
963
|
+
run: (v: any, req: any, attrs?: {}) => string;
|
|
964
964
|
};
|
|
965
965
|
tristate: {
|
|
966
966
|
isEdit: boolean;
|
|
@@ -983,7 +983,7 @@ export const types: ({
|
|
|
983
983
|
export const viewtemplates: ({
|
|
984
984
|
name: string;
|
|
985
985
|
description: string;
|
|
986
|
-
configuration_workflow: (req: object) => import("../models
|
|
986
|
+
configuration_workflow: (req: object) => import("../models").Workflow;
|
|
987
987
|
run: (table_id: string | number, viewname: string, { columns, layout, view_to_create, create_view_display, create_view_label, default_state, create_view_location, create_link_style, create_link_size, create_view_showif, }: {
|
|
988
988
|
columns: object[];
|
|
989
989
|
view_to_create?: string | undefined;
|
|
@@ -991,7 +991,7 @@ export const viewtemplates: ({
|
|
|
991
991
|
create_view_label?: string | undefined;
|
|
992
992
|
default_state?: object | undefined;
|
|
993
993
|
create_view_location?: string | undefined;
|
|
994
|
-
}, stateWithId?: object
|
|
994
|
+
}, stateWithId?: object, extraOpts: object, { listQuery }: {
|
|
995
995
|
listQuery: any;
|
|
996
996
|
}) => Promise<any>;
|
|
997
997
|
view_quantity: string;
|
|
@@ -1044,13 +1044,13 @@ export const viewtemplates: ({
|
|
|
1044
1044
|
} | {
|
|
1045
1045
|
name: string;
|
|
1046
1046
|
description: string;
|
|
1047
|
-
configuration_workflow: (req: object) => import("../models
|
|
1047
|
+
configuration_workflow: (req: object) => import("../models").Workflow;
|
|
1048
1048
|
run: (table_id: number, viewname: string, cfg: any, state: string, { res, req, isPreview }: {
|
|
1049
1049
|
req: object;
|
|
1050
1050
|
res: object;
|
|
1051
1051
|
}, { editQuery }: {
|
|
1052
1052
|
editQuery: any;
|
|
1053
|
-
}) => Promise<import("../models
|
|
1053
|
+
}) => Promise<import("../models").Form>;
|
|
1054
1054
|
runMany: (table_id: number, viewname: string, { columns, layout, auto_save, split_paste, confirm_leave }: {
|
|
1055
1055
|
columns: any;
|
|
1056
1056
|
layout: any;
|
|
@@ -1058,7 +1058,7 @@ export const viewtemplates: ({
|
|
|
1058
1058
|
editManyQuery: any;
|
|
1059
1059
|
getRowQuery: any;
|
|
1060
1060
|
optionsQuery: any;
|
|
1061
|
-
}) => Promise<import("../models
|
|
1061
|
+
}) => Promise<import("../models").Form[]>;
|
|
1062
1062
|
runPost: (table_id: number, viewname: string, { columns, layout, fixed, view_when_done, formula_destinations, auto_save, destination_type, dest_url_formula, page_when_done, page_group_when_done, }: {
|
|
1063
1063
|
columns: object[];
|
|
1064
1064
|
layout: Layout;
|
|
@@ -1094,7 +1094,7 @@ export const viewtemplates: ({
|
|
|
1094
1094
|
}) => Promise<boolean>;
|
|
1095
1095
|
authorise_get: ({ query, table_id, req }: {
|
|
1096
1096
|
query: object;
|
|
1097
|
-
rest: any;
|
|
1097
|
+
rest: any[];
|
|
1098
1098
|
}, { authorizeGetQuery }: {
|
|
1099
1099
|
authorizeGetQuery: any;
|
|
1100
1100
|
}) => Promise<boolean>;
|
|
@@ -1119,7 +1119,7 @@ export const viewtemplates: ({
|
|
|
1119
1119
|
req: any;
|
|
1120
1120
|
res: any;
|
|
1121
1121
|
}) => {
|
|
1122
|
-
editQuery(state: any, mobileReferrer: any, isPreview: any): Promise<import("../models
|
|
1122
|
+
editQuery(state: any, mobileReferrer: any, isPreview: any): Promise<import("../models").Form>;
|
|
1123
1123
|
editManyQuery(state: any, { limit, offset, orderBy, orderDesc, where }: {
|
|
1124
1124
|
limit: any;
|
|
1125
1125
|
offset: any;
|
|
@@ -1127,8 +1127,8 @@ export const viewtemplates: ({
|
|
|
1127
1127
|
orderDesc: any;
|
|
1128
1128
|
where: any;
|
|
1129
1129
|
}): Promise<{
|
|
1130
|
-
table: import("../models
|
|
1131
|
-
fields: import("../models
|
|
1130
|
+
table: import("../models").Table | null;
|
|
1131
|
+
fields: import("../models").Field[];
|
|
1132
1132
|
rows: import("@saltcorn/db-common/internal").Row[];
|
|
1133
1133
|
}>;
|
|
1134
1134
|
tryInsertQuery(row: any): Promise<{
|
|
@@ -1195,7 +1195,7 @@ export const viewtemplates: ({
|
|
|
1195
1195
|
getRowByIdQuery: any;
|
|
1196
1196
|
}) => Promise<void>;
|
|
1197
1197
|
};
|
|
1198
|
-
interpolate_title_string(table_id: any, title: any, state: any): Promise<
|
|
1198
|
+
interpolate_title_string(table_id: any, title: any, state: any): Promise<string>;
|
|
1199
1199
|
configCheck: (view: any) => Promise<{
|
|
1200
1200
|
errors: string[];
|
|
1201
1201
|
warnings: string[];
|
|
@@ -1205,7 +1205,7 @@ export const viewtemplates: ({
|
|
|
1205
1205
|
name: string;
|
|
1206
1206
|
description: string;
|
|
1207
1207
|
get_state_fields: () => object[];
|
|
1208
|
-
configuration_workflow: (req: object) => import("../models
|
|
1208
|
+
configuration_workflow: (req: object) => import("../models").Workflow;
|
|
1209
1209
|
run: (table_id: string, viewname: string, { columns, layout, page_title, page_title_formula }: {
|
|
1210
1210
|
columns: object[];
|
|
1211
1211
|
layout: object;
|
|
@@ -1279,7 +1279,7 @@ export const viewtemplates: ({
|
|
|
1279
1279
|
} | {
|
|
1280
1280
|
name: string;
|
|
1281
1281
|
description: string;
|
|
1282
|
-
configuration_workflow: (req: object) => import("../models
|
|
1282
|
+
configuration_workflow: (req: object) => import("../models").Workflow;
|
|
1283
1283
|
run: (table_id: string, viewname: string, { list_view, show_view, list_width, subtables }: {
|
|
1284
1284
|
list_view: string;
|
|
1285
1285
|
show_view: string;
|
|
@@ -1310,12 +1310,12 @@ export const viewtemplates: ({
|
|
|
1310
1310
|
list_view: any;
|
|
1311
1311
|
subtables: any;
|
|
1312
1312
|
}) => Promise<{
|
|
1313
|
-
embeddedViews: import("../models
|
|
1313
|
+
embeddedViews: import("../models").View[];
|
|
1314
1314
|
}>;
|
|
1315
1315
|
} | {
|
|
1316
1316
|
name: string;
|
|
1317
1317
|
description: string;
|
|
1318
|
-
configuration_workflow: (req: object) => import("../models
|
|
1318
|
+
configuration_workflow: (req: object) => import("../models").Workflow;
|
|
1319
1319
|
run: (table_id: number, viewname: string, { show_view, order_field, descending, view_to_create, create_view_display, in_card, view_decoration, initial_open_accordions, title_formula, masonry_columns, rows_per_page, hide_pagination, create_view_label, create_view_location, create_link_style, create_link_size, create_view_showif, always_create_view, include_fml, exclusion_relation, exclusion_where, empty_view, groupby, lazy_accordions, ...cols }: {
|
|
1320
1320
|
show_view: string;
|
|
1321
1321
|
order_field: void;
|
|
@@ -1336,7 +1336,7 @@ export const viewtemplates: ({
|
|
|
1336
1336
|
}) => Promise<div>;
|
|
1337
1337
|
get_state_fields: (table_id: number, viewname: any, { show_view }: {
|
|
1338
1338
|
show_view: any;
|
|
1339
|
-
}) => Promise<import("../models
|
|
1339
|
+
}) => Promise<import("../models").Field>;
|
|
1340
1340
|
display_state_form: boolean;
|
|
1341
1341
|
getStringsForI18n({ create_view_label }: {
|
|
1342
1342
|
create_view_label: any;
|
|
@@ -1361,7 +1361,7 @@ export const viewtemplates: ({
|
|
|
1361
1361
|
name: string;
|
|
1362
1362
|
description: string;
|
|
1363
1363
|
get_state_fields: () => object[];
|
|
1364
|
-
configuration_workflow: () => import("../models
|
|
1364
|
+
configuration_workflow: () => import("../models").Workflow;
|
|
1365
1365
|
run: (table_id: number, viewname: string, { columns, layout }: {
|
|
1366
1366
|
columns: object[];
|
|
1367
1367
|
layout: object;
|
|
@@ -1404,7 +1404,7 @@ export const viewtemplates: ({
|
|
|
1404
1404
|
} | {
|
|
1405
1405
|
name: string;
|
|
1406
1406
|
description: string;
|
|
1407
|
-
configuration_workflow: (req: object) => import("../models
|
|
1407
|
+
configuration_workflow: (req: object) => import("../models").Workflow;
|
|
1408
1408
|
run: (table_id: string, viewname: string, { participant_field, msg_relation, msgsender_field, msgview, msgform, participant_maxread_field, }: {
|
|
1409
1409
|
participant_field: string;
|
|
1410
1410
|
msg_relation: string;
|
|
@@ -1504,7 +1504,7 @@ export const viewtemplates: ({
|
|
|
1504
1504
|
} | {
|
|
1505
1505
|
name: string;
|
|
1506
1506
|
description: string;
|
|
1507
|
-
configuration_workflow: (req: object) => import("../models
|
|
1507
|
+
configuration_workflow: (req: object) => import("../models").Workflow;
|
|
1508
1508
|
run: (table_id: any, viewname: any, { workflow, prev_runs }: {
|
|
1509
1509
|
workflow: any;
|
|
1510
1510
|
prev_runs: any;
|
|
@@ -1548,6 +1548,6 @@ export const viewtemplates: ({
|
|
|
1548
1548
|
import fileviews = require("./fileviews");
|
|
1549
1549
|
import actions = require("./actions");
|
|
1550
1550
|
import fieldviews = require("./fieldviews");
|
|
1551
|
-
export declare
|
|
1551
|
+
export declare let sc_plugin_api_version: number;
|
|
1552
1552
|
export { fileviews, actions, fieldviews };
|
|
1553
1553
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../base-plugin/index.js"],"names":[],"mappings":"AAwCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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