Skip to content

Commit 49df727

Browse files
authored
[tools] Use the latest version of versioned-d.ts-tools (#2344)
* Use .d.ts tooling from npm * Update to use the latest version of the versioned-d.ts-tools
1 parent b554112 commit 49df727

23 files changed

+361
-815
lines changed

generate-docs/GenerateDocs.sh

Lines changed: 148 additions & 162 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"replacements": [
3+
{
4+
"find": "content: CommentRichContent | string,",
5+
"replace": "content: string,",
6+
"description": "Address CommentRichContent reference for when removing ExcelApi 1.11"
7+
}
8+
]
9+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"replacements": [
3+
{
4+
"find": "type CardLayoutSection = CardLayoutListSection | CardLayoutTableSection | CardLayoutTwoColumnSection;",
5+
"replace": "type CardLayoutSection = CardLayoutListSection | CardLayoutTableSection;",
6+
"description": "Address CardLayoutTwoColumnSection reference for when removing ExcelApi 1.19"
7+
},
8+
{
9+
"find": "icon?: string | EntityCompactLayoutIcons;",
10+
"replace": "icon?: string;",
11+
"description": "Address EntityCompactLayoutIcons reference for when removing ExcelApi 1.19"
12+
},
13+
{
14+
"find": "type CellValue = (ArrayCellValue | BooleanCellValue | DoubleCellValue | EntityCellValue | EmptyCellValue | ErrorCellValue | FormattedNumberCellValue | FunctionCellValue | LinkedEntityCellValue | ReferenceCellValue | StringCellValue | ValueTypeNotAvailableCellValue | WebImageCellValue) & CellValueExtraProperties;",
15+
"replace": "type CellValue = (ArrayCellValue | BooleanCellValue | DoubleCellValue | EntityCellValue | EmptyCellValue | ErrorCellValue | LinkedEntityCellValue | ReferenceCellValue | StringCellValue | ValueTypeNotAvailableCellValue | WebImageCellValue) & CellValueExtraProperties;",
16+
"description": "Remove FormattedNumberCellValue from CellValue union type"
17+
}
18+
]
19+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"replacements": [
3+
{
4+
"find": "/outlook/requirement-set-1.[\\d]*/",
5+
"replace": "/outlook/requirement-set-1.1/",
6+
"isRegex": true,
7+
"description": "Update Outlook requirement set URL references to version 1.1"
8+
}
9+
]
10+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"replacements": [
3+
{
4+
"find": "outlook/requirement-set-1.11",
5+
"replace": "outlook/requirement-set-1.10",
6+
"description": "Fix requirement set references in outlook_1_10 baseline to match filename"
7+
}
8+
]
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"replacements": [
3+
{
4+
"find": "outlook/requirement-set-1.12",
5+
"replace": "outlook/requirement-set-1.11",
6+
"description": "Fix requirement set references in outlook_1_11 baseline to match filename"
7+
}
8+
]
9+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"replacements": [
3+
{
4+
"find": "outlook/requirement-set-1.13",
5+
"replace": "outlook/requirement-set-1.12",
6+
"description": "Fix requirement set references in outlook_1_12 baseline to match filename"
7+
},
8+
{
9+
"find": "options?: SmartAlertsEventCompletedOptions",
10+
"replace": "",
11+
"description": "Address SmartAlertsEventCompletedOptions reference when removing Mailbox 1.12"
12+
},
13+
{
14+
"find": "@param options - Optional. An object that specifies the behavior of an event-based or spam-reporting add-in when it completes processing an event.",
15+
"replace": "",
16+
"description": "Remove @param options documentation when removing Mailbox 1.12"
17+
}
18+
]
19+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"replacements": [
3+
{
4+
"find": "outlook/requirement-set-1.14",
5+
"replace": "outlook/requirement-set-1.13",
6+
"description": "Fix requirement set references in outlook_1_13 baseline to match filename"
7+
}
8+
]
9+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"replacements": [
3+
{
4+
"find": "outlook/requirement-set-1.15",
5+
"replace": "outlook/requirement-set-1.14",
6+
"description": "Fix requirement set references in outlook_1_14 baseline to match filename"
7+
},
8+
{
9+
"find": "options?: SmartAlertsEventCompletedOptions | SpamReportingEventCompletedOptions",
10+
"replace": "options?: SmartAlertsEventCompletedOptions",
11+
"description": "Address SpamReportingEventCompletedOptions reference when removing Mailbox 1.14"
12+
}
13+
]
14+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"replacements": [
3+
{
4+
"find": "outlook/requirement-set-1.3",
5+
"replace": "outlook/requirement-set-1.2",
6+
"description": "Fix requirement set references in outlook_1_2 baseline to match filename"
7+
}
8+
]
9+
}

0 commit comments

Comments
 (0)