@mintlify/common 1.0.647 → 1.0.649
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/fs/index.d.ts +1 -1
- package/dist/fs/index.js +1 -1
- package/dist/fs/{optionallyLeadingSlash.d.ts → optionallySlash.d.ts} +1 -0
- package/dist/fs/{optionallyLeadingSlash.js → optionallySlash.js} +6 -0
- package/dist/rss/constants.d.ts +1 -0
- package/dist/rss/constants.js +1 -0
- package/dist/rss/dates.d.ts +4 -0
- package/dist/rss/dates.js +49 -0
- package/dist/rss/encodeContentAsHtml.d.ts +1 -0
- package/dist/rss/encodeContentAsHtml.js +40 -0
- package/dist/rss/enhanceSnippetsWithImportNames.d.ts +3 -0
- package/dist/rss/enhanceSnippetsWithImportNames.js +28 -0
- package/dist/rss/getV4FeedUpdates.d.ts +2 -0
- package/dist/rss/getV4FeedUpdates.js +53 -0
- package/dist/rss/index.d.ts +7 -2
- package/dist/rss/index.js +86 -10
- package/dist/rss/processUpdateNode.d.ts +6 -0
- package/dist/rss/processUpdateNode.js +10 -0
- package/dist/rss/resolveSnippets.d.ts +3 -0
- package/dist/rss/resolveSnippets.js +60 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/rss.d.ts +23 -1
- package/package.json +6 -3
package/dist/types/rss.d.ts
CHANGED
|
@@ -6,16 +6,38 @@ export type RSSItem = {
|
|
|
6
6
|
categories?: string[];
|
|
7
7
|
};
|
|
8
8
|
export type SavedRssFile = {
|
|
9
|
-
|
|
9
|
+
version?: 'v3';
|
|
10
|
+
rssPath?: string;
|
|
11
|
+
filePath?: string;
|
|
10
12
|
updates: RSSItem[];
|
|
11
13
|
orgName: string;
|
|
12
14
|
orgDescription?: string;
|
|
13
15
|
title?: string;
|
|
14
16
|
description?: string;
|
|
15
17
|
};
|
|
18
|
+
export type SavedRssFileWithContent = SavedRssFile & {
|
|
19
|
+
content?: string | SavedRssFile;
|
|
20
|
+
};
|
|
16
21
|
export type RSSItemV2 = RSSItem & {
|
|
17
22
|
content?: string;
|
|
18
23
|
};
|
|
19
24
|
export type SavedRssFileV2 = SavedRssFile & {
|
|
20
25
|
updates: RSSItemV2[];
|
|
21
26
|
};
|
|
27
|
+
export type RssSnippetFile = {
|
|
28
|
+
path: string;
|
|
29
|
+
content: string;
|
|
30
|
+
importNames?: string[];
|
|
31
|
+
};
|
|
32
|
+
export type SavedRssFileV4 = {
|
|
33
|
+
version: 'v4';
|
|
34
|
+
rssPath: string;
|
|
35
|
+
orgName: string;
|
|
36
|
+
orgDescription?: string;
|
|
37
|
+
title?: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
filePath: string;
|
|
40
|
+
content: string;
|
|
41
|
+
lineBlame: Record<number, string>;
|
|
42
|
+
snippets?: RssSnippetFile[];
|
|
43
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.649",
|
|
4
4
|
"description": "Commonly shared code within Mintlify",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"@mintlify/openapi-parser": "^0.0.8",
|
|
53
53
|
"@mintlify/validation": "0.1.548",
|
|
54
54
|
"@sindresorhus/slugify": "2.2.0",
|
|
55
|
+
"@types/mdast": "4.0.4",
|
|
55
56
|
"acorn": "8.11.2",
|
|
56
57
|
"acorn-jsx": "5.3.2",
|
|
57
58
|
"color-blend": "4.0.0",
|
|
@@ -74,11 +75,14 @@
|
|
|
74
75
|
"micromark-extension-mdxjs": "3.0.0",
|
|
75
76
|
"openapi-types": "12.1.3",
|
|
76
77
|
"postcss": "8.5.6",
|
|
78
|
+
"rehype-stringify": "10.0.1",
|
|
77
79
|
"remark": "15.0.1",
|
|
78
80
|
"remark-frontmatter": "5.0.0",
|
|
79
81
|
"remark-gfm": "4.0.0",
|
|
80
82
|
"remark-math": "6.0.0",
|
|
81
83
|
"remark-mdx": "3.1.0",
|
|
84
|
+
"remark-parse": "11.0.0",
|
|
85
|
+
"remark-rehype": "11.1.1",
|
|
82
86
|
"remark-stringify": "11.0.0",
|
|
83
87
|
"tailwindcss": "3.4.4",
|
|
84
88
|
"unified": "11.0.5",
|
|
@@ -98,7 +102,6 @@
|
|
|
98
102
|
"@types/estree-jsx": "1.0.5",
|
|
99
103
|
"@types/hast": "3.0.4",
|
|
100
104
|
"@types/js-yaml": "4.0.9",
|
|
101
|
-
"@types/mdast": "4.0.4",
|
|
102
105
|
"@typescript-eslint/parser": "6.9.1",
|
|
103
106
|
"eslint": "8.36.0",
|
|
104
107
|
"hast": "1.0.0",
|
|
@@ -108,5 +111,5 @@
|
|
|
108
111
|
"typescript": "5.5.3",
|
|
109
112
|
"vitest": "2.0.4"
|
|
110
113
|
},
|
|
111
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "36017fd53f18df5e3cbbd1714fe8438004cdcb9f"
|
|
112
115
|
}
|