@saltcorn/data 0.9.0-beta.2 → 0.9.0-beta.4
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/index.d.ts +14 -2
- package/dist/base-plugin/index.d.ts.map +1 -1
- package/dist/base-plugin/types.d.ts +220 -205
- package/dist/base-plugin/types.d.ts.map +1 -1
- package/dist/base-plugin/types.js +19 -0
- package/dist/base-plugin/types.js.map +1 -1
- package/dist/base-plugin/viewtemplates/feed.d.ts +1 -1
- package/dist/base-plugin/viewtemplates/feed.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/feed.js +24 -4
- package/dist/base-plugin/viewtemplates/feed.js.map +1 -1
- package/dist/base-plugin/viewtemplates/show.d.ts +2 -1
- package/dist/base-plugin/viewtemplates/show.d.ts.map +1 -1
- package/dist/base-plugin/viewtemplates/show.js +3 -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 +12 -10
- package/dist/base-plugin/viewtemplates/viewable_fields.js.map +1 -1
- package/dist/db/state.d.ts +2 -1
- package/dist/db/state.d.ts.map +1 -1
- package/dist/db/state.js +9 -2
- package/dist/db/state.js.map +1 -1
- package/dist/models/table.js +1 -1
- package/dist/models/table.js.map +1 -1
- package/dist/models/workflow.js +1 -1
- package/dist/models/workflow.js.map +1 -1
- package/dist/plugin-helper.d.ts.map +1 -1
- package/dist/plugin-helper.js +30 -0
- package/dist/plugin-helper.js.map +1 -1
- package/dist/tests/exact_views.test.js +1 -1
- package/dist/tests/exact_views.test.js.map +1 -1
- package/package.json +7 -7
|
@@ -22,6 +22,17 @@ export const types: ({
|
|
|
22
22
|
description: string;
|
|
23
23
|
run: (s: any) => any;
|
|
24
24
|
};
|
|
25
|
+
ellipsize: {
|
|
26
|
+
isEdit: boolean;
|
|
27
|
+
configFields: {
|
|
28
|
+
name: string;
|
|
29
|
+
label: string;
|
|
30
|
+
type: string;
|
|
31
|
+
default: number;
|
|
32
|
+
}[];
|
|
33
|
+
description: string;
|
|
34
|
+
run: (s: any, req: any, attrs?: {}) => string;
|
|
35
|
+
};
|
|
25
36
|
as_link: {
|
|
26
37
|
configFields: {
|
|
27
38
|
name: string;
|
|
@@ -849,10 +860,11 @@ export const viewtemplates: ({
|
|
|
849
860
|
rows: import("@saltcorn/db-common/internal").Row[];
|
|
850
861
|
message: null;
|
|
851
862
|
}>;
|
|
852
|
-
runManyQuery(state: any, { where, limit, offset, orderBy, orderDesc }: {
|
|
863
|
+
runManyQuery(state: any, { where, limit, offset, joinFieldsExtra, orderBy, orderDesc }: {
|
|
853
864
|
where: any;
|
|
854
865
|
limit: any;
|
|
855
866
|
offset: any;
|
|
867
|
+
joinFieldsExtra: any;
|
|
856
868
|
orderBy: any;
|
|
857
869
|
orderDesc: any;
|
|
858
870
|
}): Promise<import("@saltcorn/db-common/internal").Row[]>;
|
|
@@ -905,7 +917,7 @@ export const viewtemplates: ({
|
|
|
905
917
|
name: string;
|
|
906
918
|
description: string;
|
|
907
919
|
configuration_workflow: (req: object) => import("../models/workflow");
|
|
908
|
-
run: (table_id: number, viewname: string, { show_view, order_field, descending, view_to_create, create_view_display, in_card, view_decoration, title_formula, masonry_columns, rows_per_page, hide_pagination, create_view_label, create_view_location, create_link_style, create_link_size, always_create_view, include_fml, empty_view, ...cols }: {
|
|
920
|
+
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, always_create_view, include_fml, empty_view, ...cols }: {
|
|
909
921
|
show_view: string;
|
|
910
922
|
order_field: name;
|
|
911
923
|
descending: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","s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