@xyd-js/plugins 0.0.0-build-6675456-20251014012658 → 0.0.0-build-1f6458c-20251015205119
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 +83 -1
- 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-1f6458c-20251015205119
|
|
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-1f6458c-20251015205119
|
|
10
|
+
- @xyd-js/uniform@0.0.0-build-1f6458c-20251015205119
|
package/dist/index.d.ts
CHANGED
|
@@ -44,6 +44,10 @@ interface Settings {
|
|
|
44
44
|
* SEO configuration
|
|
45
45
|
*/
|
|
46
46
|
seo?: SEO;
|
|
47
|
+
/**
|
|
48
|
+
* AI configuration
|
|
49
|
+
*/
|
|
50
|
+
ai?: AI;
|
|
47
51
|
/**
|
|
48
52
|
* Advanced configuration
|
|
49
53
|
*/
|
|
@@ -794,7 +798,7 @@ interface IntegrationAnalytics {
|
|
|
794
798
|
}
|
|
795
799
|
/**
|
|
796
800
|
* LiveSession analytics configuration
|
|
797
|
-
*/
|
|
801
|
+
*/
|
|
798
802
|
interface IntegrationAnalyticsLiveSession {
|
|
799
803
|
/** LiveSession's TrackID */
|
|
800
804
|
trackId: string;
|
|
@@ -1004,6 +1008,84 @@ interface SEO {
|
|
|
1004
1008
|
[tag: string]: string;
|
|
1005
1009
|
};
|
|
1006
1010
|
}
|
|
1011
|
+
/**
|
|
1012
|
+
* AI configuration
|
|
1013
|
+
*/
|
|
1014
|
+
interface AI {
|
|
1015
|
+
/**
|
|
1016
|
+
* LLMs txt configuration
|
|
1017
|
+
*
|
|
1018
|
+
*
|
|
1019
|
+
* @example
|
|
1020
|
+
* ```json
|
|
1021
|
+
* {
|
|
1022
|
+
* "title": "LLMs txt",
|
|
1023
|
+
* "domain": "https://www.example.com",
|
|
1024
|
+
* "summary": "Summary of the LLMs txt",
|
|
1025
|
+
* "sections": { "section1": { "title": "Section 1", "url": "https://www.example.com", "description": "Description of section 1" } }
|
|
1026
|
+
* }
|
|
1027
|
+
* ```
|
|
1028
|
+
*
|
|
1029
|
+
* or
|
|
1030
|
+
* @example
|
|
1031
|
+
* ```json
|
|
1032
|
+
* "llmsTxt": "llms.txt"
|
|
1033
|
+
* ```
|
|
1034
|
+
*
|
|
1035
|
+
* or
|
|
1036
|
+
* @example
|
|
1037
|
+
* ```json
|
|
1038
|
+
* "llmsTxt": "# LLMs txt \n ## Section 1 \n ## Section 2 \n ### Section 2"
|
|
1039
|
+
* ```
|
|
1040
|
+
*
|
|
1041
|
+
*/
|
|
1042
|
+
llmsTxt?: false | LLMsTxt | llmsTxtString;
|
|
1043
|
+
}
|
|
1044
|
+
/**
|
|
1045
|
+
* LLMs txt as a path to a file or a llms.txt content
|
|
1046
|
+
*/
|
|
1047
|
+
type llmsTxtString = string;
|
|
1048
|
+
/**
|
|
1049
|
+
* LLMs txt configuration
|
|
1050
|
+
*/
|
|
1051
|
+
interface LLMsTxt {
|
|
1052
|
+
/**
|
|
1053
|
+
* Title of the LLMs txt
|
|
1054
|
+
* @example "LLMs txt"
|
|
1055
|
+
*/
|
|
1056
|
+
title: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* Base URL of the LLMs txt
|
|
1059
|
+
*/
|
|
1060
|
+
baseUrl: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Description of the LLMs txt
|
|
1063
|
+
*/
|
|
1064
|
+
summary?: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* Sections of the LLMs txt
|
|
1067
|
+
*/
|
|
1068
|
+
sections?: LLMsTxtSectionMap;
|
|
1069
|
+
}
|
|
1070
|
+
type LLMsTxtSectionMap = {
|
|
1071
|
+
[section: string]: {
|
|
1072
|
+
/**
|
|
1073
|
+
* Title of the section
|
|
1074
|
+
* @example "Section 1"
|
|
1075
|
+
*/
|
|
1076
|
+
title: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* URL of the section
|
|
1079
|
+
* @example "https://www.example.com"
|
|
1080
|
+
*/
|
|
1081
|
+
url: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Description of the section
|
|
1084
|
+
* @example "Description of section 1"
|
|
1085
|
+
*/
|
|
1086
|
+
description: string;
|
|
1087
|
+
};
|
|
1088
|
+
};
|
|
1007
1089
|
/**
|
|
1008
1090
|
* Advanced configuration
|
|
1009
1091
|
*/
|
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-1f6458c-20251015205119",
|
|
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-1f6458c-20251015205119"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@xyd-js/framework": "0.0.0-build-
|
|
17
|
+
"@xyd-js/framework": "0.0.0-build-1f6458c-20251015205119"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@vitest/coverage-v8": "^1.3.1",
|