@jsonresume/types 0.3.0 → 0.4.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 +34 -4
- 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
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsonresume/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.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.5.0",
|
|
22
|
+
"tsconfig": "0.0.0"
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|
|
25
25
|
"resume",
|