@jsonresume/types 0.3.0 → 0.5.0
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 +39 -5
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -101,7 +101,13 @@ export interface ResumeLocation {
|
|
|
101
101
|
* Hinterhaus 5. Etage li.
|
|
102
102
|
*/
|
|
103
103
|
address?: string;
|
|
104
|
+
/**
|
|
105
|
+
* e.g. 12345
|
|
106
|
+
*/
|
|
104
107
|
postalCode?: string;
|
|
108
|
+
/**
|
|
109
|
+
* e.g. Teststadt
|
|
110
|
+
*/
|
|
105
111
|
city?: string;
|
|
106
112
|
/**
|
|
107
113
|
* code as per ISO-3166-1 ALPHA-2, e.g. US, AU, IN
|
|
@@ -139,10 +145,7 @@ export interface WorkItem {
|
|
|
139
145
|
* e.g. Facebook
|
|
140
146
|
*/
|
|
141
147
|
name?: string;
|
|
142
|
-
|
|
143
|
-
* e.g. Menlo Park, CA
|
|
144
|
-
*/
|
|
145
|
-
location?: string;
|
|
148
|
+
location?: string | Location;
|
|
146
149
|
/**
|
|
147
150
|
* e.g. Social Media Company
|
|
148
151
|
*/
|
|
@@ -172,11 +175,37 @@ export interface WorkItem {
|
|
|
172
175
|
custom?: Custom;
|
|
173
176
|
[k: string]: any;
|
|
174
177
|
}
|
|
178
|
+
export interface Location {
|
|
179
|
+
/**
|
|
180
|
+
* To add multiple address lines, use
|
|
181
|
+
* . For example, 1234 Glücklichkeit Straße
|
|
182
|
+
* Hinterhaus 5. Etage li.
|
|
183
|
+
*/
|
|
184
|
+
address?: string;
|
|
185
|
+
/**
|
|
186
|
+
* e.g. 12345
|
|
187
|
+
*/
|
|
188
|
+
postalCode?: string;
|
|
189
|
+
/**
|
|
190
|
+
* e.g. Teststadt
|
|
191
|
+
*/
|
|
192
|
+
city?: string;
|
|
193
|
+
/**
|
|
194
|
+
* code as per ISO-3166-1 ALPHA-2, e.g. US, AU, IN
|
|
195
|
+
*/
|
|
196
|
+
countryCode?: string;
|
|
197
|
+
/**
|
|
198
|
+
* The general region where you live. Can be a US state, or a province, for instance.
|
|
199
|
+
*/
|
|
200
|
+
region?: string;
|
|
201
|
+
[k: string]: any;
|
|
202
|
+
}
|
|
175
203
|
export interface VolunteerItem {
|
|
176
204
|
/**
|
|
177
205
|
* e.g. Facebook
|
|
178
206
|
*/
|
|
179
207
|
organization?: string;
|
|
208
|
+
location?: string | Location;
|
|
180
209
|
/**
|
|
181
210
|
* e.g. Software Engineer
|
|
182
211
|
*/
|
|
@@ -203,6 +232,7 @@ export interface EducationItem {
|
|
|
203
232
|
* e.g. Massachusetts Institute of Technology
|
|
204
233
|
*/
|
|
205
234
|
institution?: string;
|
|
235
|
+
location?: string | Location;
|
|
206
236
|
/**
|
|
207
237
|
* e.g. http://facebook.example.com
|
|
208
238
|
*/
|
|
@@ -355,7 +385,11 @@ export interface ProjectItem {
|
|
|
355
385
|
*/
|
|
356
386
|
name?: string;
|
|
357
387
|
/**
|
|
358
|
-
* Short summary of project. e.g. Collated works of 2017.
|
|
388
|
+
* Short summary of the project, consistent with summary in other sections (#296). e.g. Collated works of 2017.
|
|
389
|
+
*/
|
|
390
|
+
summary?: string;
|
|
391
|
+
/**
|
|
392
|
+
* Deprecated alias of summary, kept for compatibility; when both are set, summary wins (#296). e.g. Collated works of 2017.
|
|
359
393
|
*/
|
|
360
394
|
description?: string;
|
|
361
395
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsonresume/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "TypeScript types for the JSON Resume and Job schemas, generated from @jsonresume/schema",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"json-schema-to-typescript": "^15.0.4",
|
|
20
20
|
"typescript": "^5.9.3",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
21
|
+
"@jsonresume/schema": "1.6.0",
|
|
22
|
+
"tsconfig": "0.0.0"
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|
|
25
25
|
"resume",
|