@dpuse/dpuse-shared 0.3.767 → 0.3.769
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.
|
@@ -27,15 +27,16 @@ export interface ConnectionDescriptionConfig {
|
|
|
27
27
|
}[];
|
|
28
28
|
}
|
|
29
29
|
export interface ConnectionNodeConfig {
|
|
30
|
+
id: string;
|
|
31
|
+
label: string;
|
|
32
|
+
description: string;
|
|
33
|
+
icon: string | null;
|
|
34
|
+
iconDark: string | null;
|
|
30
35
|
childCount: number | undefined;
|
|
31
36
|
childNodes: ConnectionNodeConfig[];
|
|
32
37
|
extension: string | undefined;
|
|
33
38
|
folderPath: string;
|
|
34
39
|
handle: DPAFileSystemFileHandle | undefined;
|
|
35
|
-
icon: string | null;
|
|
36
|
-
iconDark: string | null;
|
|
37
|
-
id: string;
|
|
38
|
-
label: string;
|
|
39
40
|
lastModifiedAt: number | undefined;
|
|
40
41
|
mimeType: string | undefined;
|
|
41
42
|
name: string;
|
|
@@ -3,6 +3,7 @@ import { LocalisedReference } from '../../../locale';
|
|
|
3
3
|
import { Component, ComponentReferenceConfig } from '../..';
|
|
4
4
|
import { presenterActionNameSchema, presenterConfigSchema } from './presenterConfig.schema';
|
|
5
5
|
export { presenterConfigSchema } from './presenterConfig.schema';
|
|
6
|
+
export type SanitizeHTML = (html: string) => TrustedHTML | string;
|
|
6
7
|
export interface PresenterInterface extends Component {
|
|
7
8
|
readonly config: PresenterConfig;
|
|
8
9
|
list(): ComponentReferenceConfig[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dpuse/dpuse-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.769",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Common constants, types and utilities used across all DPUse projects.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -150,6 +150,7 @@
|
|
|
150
150
|
"@dpuse/dpuse-development": "^0.3.699",
|
|
151
151
|
"@dpuse/eslint-config-dpuse": "^1.0.113",
|
|
152
152
|
"@types/node": "^26.1.2",
|
|
153
|
+
"@types/trusted-types": "^2.0.7",
|
|
153
154
|
"eslint": "^10.8.0",
|
|
154
155
|
"file-type": "^22.0.1",
|
|
155
156
|
"prettier": "^3.9.6",
|