@dosgato/templating 1.0.5 → 1.0.6
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/uitemplate.d.ts +5 -1
- package/package.json +3 -3
package/dist/uitemplate.d.ts
CHANGED
|
@@ -163,7 +163,7 @@ export interface UITemplateData extends UITemplateBase {
|
|
|
163
163
|
* Defines the responsive behavior of the list view, given a tree width. Should return an array with the titles of the extra columns that
|
|
164
164
|
* should be shown at the given tree width, or an empty array if none should be shown. The behavior of the default columns is handled by the admin interface.
|
|
165
165
|
*/
|
|
166
|
-
responsiveDataColumns?: (
|
|
166
|
+
responsiveDataColumns?: (treeWidth: number) => string[];
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
169
|
* This is a type for the data that will be passed to dialog Svelte components as
|
|
@@ -318,6 +318,10 @@ export interface UIConfig {
|
|
|
318
318
|
*/
|
|
319
319
|
display?: AssetMetaDisplay | AssetMetaDisplay[];
|
|
320
320
|
};
|
|
321
|
+
trainings?: {
|
|
322
|
+
noEdit?: boolean;
|
|
323
|
+
hide?: boolean;
|
|
324
|
+
};
|
|
321
325
|
tracing?: TracingInterface;
|
|
322
326
|
/** Non-Awaited async call for logging interface interactions if defined.
|
|
323
327
|
* Useful for defining how to log form submissions, interaction clicks, page edits, or state
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dosgato/templating",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "A library to support building templates for dosgato CMS.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"txstate-utils": "^1.8.8"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@types/node": "^
|
|
21
|
-
"eslint-config-standard-with-typescript": "^
|
|
20
|
+
"@types/node": "^20.10.3",
|
|
21
|
+
"eslint-config-standard-with-typescript": "^39.0.0",
|
|
22
22
|
"typescript": "^5.0.4"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|