Skip to content

Commit e1e6176

Browse files
author
niuweili
committed
feat: add export mapping api
1 parent 40cbf58 commit e1e6176

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

src/en.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ import Templates from "../flashduty/en/1. On-call/4. Configure On-call/4.7 Templ
8484
/** ⬇️⬇️⬇️⬇️ Other ⬇️⬇️⬇️⬇️ */
8585
import Link from "../flashduty/en/1. On-call/8. Integrations/8.6 Other/8.6.1 Link Integration.md?raw";
8686
/** ⬆️⬆️⬆️⬆️ Other ⬆️⬆️⬆️⬆️ */
87-
87+
88+
89+
/** ⬇️⬇️⬇️⬇️ Label Mapping API ⬇️⬇️⬇️⬇️ */
90+
import LabelMappingAPI from '../flashduty/en/1. On-call/8. Integrations/8.1 Alerts integration/8.1.54 Label Mapping API.md?raw';
91+
/** ⬆️⬆️⬆️⬆️ Label Mapping API ⬆️⬆️⬆️⬆️ */
8892

8993
const docs = {
9094
CustomAlert,
@@ -155,6 +159,7 @@ const docs = {
155159
Cloudflare,
156160
WecomAlert,
157161
ServiceDeskPlusSync,
158-
Harbor
162+
Harbor,
163+
LabelMappingAPI
159164
};
160165
export default docs;

src/zh.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ import Templates from "../flashduty/zh/1. On-call/3. 配置管理/4.7 配置通
8484
import Link from "../flashduty/zh/1. On-call/5. 集成引导/8.6 其他集成/8.6.1 Link 集成指引.md?raw";
8585
/** ⬆️⬆️⬆️⬆️ Other ⬆️⬆️⬆️⬆️ */
8686

87+
88+
/** ⬇️⬇️⬇️⬇️ Label Mapping API ⬇️⬇️⬇️⬇️ */
89+
import LabelMappingAPI from "../flashduty/zh/1. On-call/5. 集成引导/8.1 告警集成/8.1.54 标签映射API.md?raw";
90+
/** ⬆️⬆️⬆️⬆️ Label Mapping API ⬆️⬆️⬆️⬆️ */
8791
const docs = {
8892
CustomAlert,
8993
Email,
@@ -153,6 +157,7 @@ const docs = {
153157
Cloudflare,
154158
WecomAlert,
155159
ServiceDeskPlusSync,
156-
Harbor
160+
Harbor,
161+
LabelMappingAPI
157162
};
158163
export default docs;

0 commit comments

Comments
 (0)