jsonresume-theme-cjean 1.1.1 → 1.1.2
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/index.d.ts +243 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,249 @@
|
|
|
1
|
+
import { z } from "zod/v4/mini";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
*
|
|
3
5
|
* @param resumeData
|
|
4
6
|
* @returns
|
|
5
7
|
*/
|
|
6
8
|
export declare function render(resumeData: unknown): Promise<string>;
|
|
9
|
+
|
|
10
|
+
export declare type Resume = z.infer<typeof ResumeSchema>;
|
|
11
|
+
|
|
12
|
+
declare const ResumeSchema: z.ZodMiniObject<
|
|
13
|
+
{
|
|
14
|
+
meta: z.ZodMiniPrefault<
|
|
15
|
+
z.ZodMiniObject<
|
|
16
|
+
{
|
|
17
|
+
lang: z.ZodMiniDefault<
|
|
18
|
+
z.ZodMiniCatch<
|
|
19
|
+
z.ZodMiniEnum<{
|
|
20
|
+
en: "en";
|
|
21
|
+
fr: "fr";
|
|
22
|
+
}>
|
|
23
|
+
>
|
|
24
|
+
>;
|
|
25
|
+
lastModified: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
26
|
+
themeConfig: z.ZodMiniPrefault<
|
|
27
|
+
z.ZodMiniObject<
|
|
28
|
+
{
|
|
29
|
+
ui: z.ZodMiniPrefault<
|
|
30
|
+
z.ZodMiniObject<
|
|
31
|
+
{
|
|
32
|
+
primary: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
33
|
+
headerFrom: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
34
|
+
headerTo: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
35
|
+
footerFrom: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
36
|
+
footerTo: z.ZodMiniDefault<z.ZodMiniString<string>>;
|
|
37
|
+
backgroundTilesSeed: z.ZodMiniDefault<
|
|
38
|
+
z.ZodMiniNumber<number>
|
|
39
|
+
>;
|
|
40
|
+
showLogos: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
41
|
+
cta: z.ZodMiniOptional<
|
|
42
|
+
z.ZodMiniObject<
|
|
43
|
+
{
|
|
44
|
+
text: z.ZodMiniString<string>;
|
|
45
|
+
url: z.ZodMiniString<string>;
|
|
46
|
+
icon: z.ZodMiniDefault<
|
|
47
|
+
z.ZodMiniOptional<z.ZodMiniString<string>>
|
|
48
|
+
>;
|
|
49
|
+
},
|
|
50
|
+
z.core.$strip
|
|
51
|
+
>
|
|
52
|
+
>;
|
|
53
|
+
links: z.ZodMiniDefault<
|
|
54
|
+
z.ZodMiniArray<z.ZodMiniString<string>>
|
|
55
|
+
>;
|
|
56
|
+
},
|
|
57
|
+
z.core.$strip
|
|
58
|
+
>
|
|
59
|
+
>;
|
|
60
|
+
seo: z.ZodMiniPrefault<
|
|
61
|
+
z.ZodMiniObject<
|
|
62
|
+
{
|
|
63
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
64
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
65
|
+
canonical: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
66
|
+
favicon: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
67
|
+
ogImage: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
68
|
+
twitterImage: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
69
|
+
firstName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
70
|
+
lastName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
71
|
+
robots: z.ZodMiniDefault<
|
|
72
|
+
z.ZodMiniOptional<z.ZodMiniString<string>>
|
|
73
|
+
>;
|
|
74
|
+
},
|
|
75
|
+
z.core.$strip
|
|
76
|
+
>
|
|
77
|
+
>;
|
|
78
|
+
modest: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
79
|
+
},
|
|
80
|
+
z.core.$strip
|
|
81
|
+
>
|
|
82
|
+
>;
|
|
83
|
+
},
|
|
84
|
+
z.core.$loose
|
|
85
|
+
>
|
|
86
|
+
>;
|
|
87
|
+
work: z.ZodMiniDefault<
|
|
88
|
+
z.ZodMiniOptional<
|
|
89
|
+
z.ZodMiniArray<
|
|
90
|
+
z.ZodMiniPipe<
|
|
91
|
+
z.ZodMiniObject<
|
|
92
|
+
{
|
|
93
|
+
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
94
|
+
company: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
95
|
+
location: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
96
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
97
|
+
position: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
98
|
+
url: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
99
|
+
website: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
100
|
+
startDate: z.ZodMiniString<string>;
|
|
101
|
+
endDate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
102
|
+
summary: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
103
|
+
highlights: z.ZodMiniOptional<
|
|
104
|
+
z.ZodMiniArray<z.ZodMiniString<string>>
|
|
105
|
+
>;
|
|
106
|
+
logo: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
107
|
+
},
|
|
108
|
+
z.core.$loose
|
|
109
|
+
>,
|
|
110
|
+
z.ZodMiniTransform<
|
|
111
|
+
{
|
|
112
|
+
url?: string | undefined;
|
|
113
|
+
name: string | undefined;
|
|
114
|
+
startDate: string;
|
|
115
|
+
location?: string | undefined;
|
|
116
|
+
description?: string | undefined;
|
|
117
|
+
position?: string | undefined;
|
|
118
|
+
endDate?: string | undefined;
|
|
119
|
+
summary?: string | undefined;
|
|
120
|
+
highlights?: string[] | undefined;
|
|
121
|
+
logo?: string | undefined;
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
[x: string]: unknown;
|
|
125
|
+
startDate: string;
|
|
126
|
+
name?: string | undefined;
|
|
127
|
+
company?: string | undefined;
|
|
128
|
+
location?: string | undefined;
|
|
129
|
+
description?: string | undefined;
|
|
130
|
+
position?: string | undefined;
|
|
131
|
+
url?: string | undefined;
|
|
132
|
+
website?: string | undefined;
|
|
133
|
+
endDate?: string | undefined;
|
|
134
|
+
summary?: string | undefined;
|
|
135
|
+
highlights?: string[] | undefined;
|
|
136
|
+
logo?: string | undefined;
|
|
137
|
+
}
|
|
138
|
+
>
|
|
139
|
+
>
|
|
140
|
+
>
|
|
141
|
+
>
|
|
142
|
+
>;
|
|
143
|
+
basics: z.ZodMiniObject<
|
|
144
|
+
{
|
|
145
|
+
name: z.ZodMiniString<string>;
|
|
146
|
+
label: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
147
|
+
image: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
148
|
+
email: z.ZodMiniOptional<z.ZodMiniEmail>;
|
|
149
|
+
phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
150
|
+
birthDate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
151
|
+
url: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
152
|
+
summary: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
153
|
+
location: z.ZodMiniOptional<
|
|
154
|
+
z.ZodMiniObject<
|
|
155
|
+
{
|
|
156
|
+
address: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
157
|
+
postalCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
158
|
+
city: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
159
|
+
countryCode: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
160
|
+
region: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
161
|
+
},
|
|
162
|
+
z.core.$loose
|
|
163
|
+
>
|
|
164
|
+
>;
|
|
165
|
+
profiles: z.ZodMiniOptional<
|
|
166
|
+
z.ZodMiniArray<
|
|
167
|
+
z.ZodMiniObject<
|
|
168
|
+
{
|
|
169
|
+
network: z.ZodMiniString<string>;
|
|
170
|
+
username: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
171
|
+
url: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
172
|
+
},
|
|
173
|
+
z.core.$loose
|
|
174
|
+
>
|
|
175
|
+
>
|
|
176
|
+
>;
|
|
177
|
+
},
|
|
178
|
+
z.core.$loose
|
|
179
|
+
>;
|
|
180
|
+
education: z.ZodMiniDefault<
|
|
181
|
+
z.ZodMiniOptional<
|
|
182
|
+
z.ZodMiniArray<
|
|
183
|
+
z.ZodMiniObject<
|
|
184
|
+
{
|
|
185
|
+
institution: z.ZodMiniString<string>;
|
|
186
|
+
url: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
187
|
+
area: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
188
|
+
studyType: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
189
|
+
startDate: z.ZodMiniString<string>;
|
|
190
|
+
endDate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
191
|
+
score: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
192
|
+
courses: z.ZodMiniOptional<
|
|
193
|
+
z.ZodMiniArray<z.ZodMiniString<string>>
|
|
194
|
+
>;
|
|
195
|
+
},
|
|
196
|
+
z.core.$strip
|
|
197
|
+
>
|
|
198
|
+
>
|
|
199
|
+
>
|
|
200
|
+
>;
|
|
201
|
+
certificates: z.ZodMiniDefault<
|
|
202
|
+
z.ZodMiniOptional<
|
|
203
|
+
z.ZodMiniArray<
|
|
204
|
+
z.ZodMiniObject<
|
|
205
|
+
{
|
|
206
|
+
name: z.ZodMiniString<string>;
|
|
207
|
+
date: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
208
|
+
url: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
209
|
+
issuer: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
210
|
+
},
|
|
211
|
+
z.core.$strip
|
|
212
|
+
>
|
|
213
|
+
>
|
|
214
|
+
>
|
|
215
|
+
>;
|
|
216
|
+
skills: z.ZodMiniDefault<
|
|
217
|
+
z.ZodMiniOptional<
|
|
218
|
+
z.ZodMiniArray<
|
|
219
|
+
z.ZodMiniObject<
|
|
220
|
+
{
|
|
221
|
+
name: z.ZodMiniString<string>;
|
|
222
|
+
level: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
223
|
+
keywords: z.ZodMiniOptional<
|
|
224
|
+
z.ZodMiniArray<z.ZodMiniString<string>>
|
|
225
|
+
>;
|
|
226
|
+
},
|
|
227
|
+
z.core.$strip
|
|
228
|
+
>
|
|
229
|
+
>
|
|
230
|
+
>
|
|
231
|
+
>;
|
|
232
|
+
languages: z.ZodMiniDefault<
|
|
233
|
+
z.ZodMiniOptional<
|
|
234
|
+
z.ZodMiniArray<
|
|
235
|
+
z.ZodMiniObject<
|
|
236
|
+
{
|
|
237
|
+
language: z.ZodMiniString<string>;
|
|
238
|
+
fluency: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
239
|
+
},
|
|
240
|
+
z.core.$loose
|
|
241
|
+
>
|
|
242
|
+
>
|
|
243
|
+
>
|
|
244
|
+
>;
|
|
245
|
+
},
|
|
246
|
+
z.core.$strip
|
|
247
|
+
>;
|
|
248
|
+
|
|
249
|
+
export {};
|
package/package.json
CHANGED