Skip to content

Commit 4ba51d9

Browse files
committed
Fix CI type error
1 parent edf093f commit 4ba51d9

3 files changed

Lines changed: 84 additions & 2 deletions

File tree

.cache/pages.d.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Type declaration for generated pages.json file
3+
* This file is generated during the build process
4+
*/
5+
6+
type PageData =
7+
| string
8+
| { articles: string[] }
9+
| { 'case-studies': string[] }
10+
| { downloads: string[] }
11+
| { services: string[] }
12+
| { 'social-shares': string[] }
13+
| { stories: string[] }
14+
| { tags: string[] }
15+
16+
declare const pagesData: PageData[]
17+
export default pagesData

.cache/pages.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
[
2+
"about",
3+
{
4+
"articles": [
5+
"getting-started-with-astro",
6+
"typescript-best-practices",
7+
"useful-vs-code-extensions",
8+
"writing-library-code"
9+
]
10+
},
11+
{
12+
"case-studies": [
13+
"division-15",
14+
"ecommerce-modernization",
15+
"english-first",
16+
"enterprise-api-platform",
17+
"labcorp",
18+
"us-logistics"
19+
]
20+
},
21+
"contact",
22+
"cookies",
23+
{
24+
"downloads": [
25+
"api-tool-consolidation-whitepaper",
26+
"identity-security-for-dummies",
27+
"lakehouse-analytics-guide",
28+
"observability-benefits-guide",
29+
"ransomware-recovery-kit"
30+
]
31+
},
32+
"offline",
33+
"privacy",
34+
{
35+
"services": [
36+
"create-custom-font-sets",
37+
"overview"
38+
]
39+
},
40+
{
41+
"social-shares": [
42+
"template"
43+
]
44+
},
45+
{
46+
"stories": [
47+
"ISSUES"
48+
]
49+
},
50+
{
51+
"tags": [
52+
"apiDesign",
53+
"cms",
54+
"code",
55+
"crm",
56+
"graphql",
57+
"online-learning",
58+
"react",
59+
"services",
60+
"typescript"
61+
]
62+
}
63+
]

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ npm-debug.log*
3232
# Optional eslint cache
3333
.eslintcache
3434

35-
# Cache
36-
.cache
35+
# Cache - ignore all contents except type declarations and placeholder data
36+
.cache/*
37+
!.cache/*.d.ts
38+
!.cache/pages.json
3739

3840
# Runtime data
3941
pids

0 commit comments

Comments
 (0)