@xyd-js/plugins 0.0.0-build-c7bdbdb-20251129215505 → 0.0.0-build-11974d8-20251130234931
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/CHANGELOG.md +3 -3
- package/dist/index.d.ts +47 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @xyd-js/plugins
|
|
2
2
|
|
|
3
|
-
## 0.0.0-build-
|
|
3
|
+
## 0.0.0-build-11974d8-20251130234931
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- update all packages
|
|
8
8
|
- Updated dependencies
|
|
9
|
-
- @xyd-js/framework@0.0.0-build-
|
|
10
|
-
- @xyd-js/uniform@0.0.0-build-
|
|
9
|
+
- @xyd-js/framework@0.0.0-build-11974d8-20251130234931
|
|
10
|
+
- @xyd-js/uniform@0.0.0-build-11974d8-20251130234931
|
package/dist/index.d.ts
CHANGED
|
@@ -764,10 +764,11 @@ interface Integrations {
|
|
|
764
764
|
abtesting?: IntegrationABTesting;
|
|
765
765
|
/**
|
|
766
766
|
* Diagrams configuration
|
|
767
|
+
* - `true`: Enable all diagram types with default settings
|
|
768
|
+
* - `['mermaid', 'graphviz']`: Enable specific diagram types with defaults
|
|
769
|
+
* - `{ mermaid: { strategy: 'img-svg' }, graphviz: true }`: Per-type configuration
|
|
767
770
|
*/
|
|
768
|
-
diagrams?: boolean |
|
|
769
|
-
strategy?: 'img-png' | 'img-svg' | 'inline-svg' | 'pre-mermaid';
|
|
770
|
-
};
|
|
771
|
+
diagrams?: boolean | DiagramType[] | DiagramsConfig;
|
|
771
772
|
/**
|
|
772
773
|
* Edit link configuration
|
|
773
774
|
*/
|
|
@@ -903,6 +904,49 @@ interface IntegrationABTestingLaunchDarkly {
|
|
|
903
904
|
*/
|
|
904
905
|
env: string;
|
|
905
906
|
}
|
|
907
|
+
/**
|
|
908
|
+
* Supported diagram types
|
|
909
|
+
*/
|
|
910
|
+
type DiagramType = 'mermaid' | 'graphviz';
|
|
911
|
+
/**
|
|
912
|
+
* Mermaid diagram rendering strategy
|
|
913
|
+
*/
|
|
914
|
+
type MermaidStrategy = 'img-png' | 'img-svg' | 'inline-svg' | 'pre-mermaid';
|
|
915
|
+
/**
|
|
916
|
+
* Mermaid diagram configuration
|
|
917
|
+
*/
|
|
918
|
+
interface DiagramMermaidConfig {
|
|
919
|
+
/**
|
|
920
|
+
* Rendering strategy for Mermaid diagrams
|
|
921
|
+
* - `img-png`: Render as PNG image
|
|
922
|
+
* - `img-svg`: Render as SVG image
|
|
923
|
+
* - `inline-svg`: Inline SVG in HTML
|
|
924
|
+
* - `pre-mermaid`: Keep as pre-formatted Mermaid code
|
|
925
|
+
*/
|
|
926
|
+
strategy?: MermaidStrategy;
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* Graphviz diagram configuration
|
|
930
|
+
*/
|
|
931
|
+
interface DiagramGraphvizConfig {
|
|
932
|
+
}
|
|
933
|
+
/**
|
|
934
|
+
* Diagrams configuration object
|
|
935
|
+
*/
|
|
936
|
+
interface DiagramsConfig {
|
|
937
|
+
/**
|
|
938
|
+
* Mermaid diagram configuration
|
|
939
|
+
* - `true`: Enable with default settings
|
|
940
|
+
* - `{ strategy: 'img-svg' }`: Enable with custom settings
|
|
941
|
+
*/
|
|
942
|
+
mermaid?: boolean | DiagramMermaidConfig;
|
|
943
|
+
/**
|
|
944
|
+
* Graphviz diagram configuration
|
|
945
|
+
* - `true`: Enable with default settings
|
|
946
|
+
* - `{ engine: 'neato' }`: Enable with custom settings
|
|
947
|
+
*/
|
|
948
|
+
graphviz?: boolean | DiagramGraphvizConfig;
|
|
949
|
+
}
|
|
906
950
|
interface AppsDirectory {
|
|
907
951
|
/**
|
|
908
952
|
* Github star app configuration.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyd-js/plugins",
|
|
3
|
-
"version": "0.0.0-build-
|
|
3
|
+
"version": "0.0.0-build-11974d8-20251130234931",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@xyd-js/uniform": "0.0.0-build-
|
|
14
|
+
"@xyd-js/uniform": "0.0.0-build-11974d8-20251130234931"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@xyd-js/framework": "0.0.0-build-
|
|
17
|
+
"@xyd-js/framework": "0.0.0-build-11974d8-20251130234931"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@vitest/coverage-v8": "^1.3.1",
|