@laboratoria/sdk-js 2.0.0-alpha.0 → 2.0.0-alpha.1

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/lib/core.js CHANGED
@@ -71,7 +71,9 @@ const extended = {
71
71
  'name',
72
72
  'start',
73
73
  'end',
74
- 'legacySlug',
74
+ 'vacancies',
75
+ 'placementStart',
76
+ 'placementDuration',
75
77
  ],
76
78
  searchProps: ['name'],
77
79
  getOptionLabel: ({ id, name, stage }) => (
@@ -80,7 +82,7 @@ const extended = {
80
82
  properties: {},
81
83
  parse: (props) => {
82
84
  const now = Date.now();
83
- // TODO: Handle case where start and/or end have not been selected in query
85
+ // TODO: Handle case where start and/or end have not been selected in query
84
86
  const status = (
85
87
  props.start > now
86
88
  ? 'upcoming'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laboratoria/sdk-js",
3
- "version": "2.0.0-alpha.0",
3
+ "version": "2.0.0-alpha.1",
4
4
  "description": "Laboratoria JavaScript (browser) SDK",
5
5
  "scripts": {
6
6
  "test": "jest --verbose --coverage",
@@ -30,4 +30,4 @@
30
30
  }
31
31
  }
32
32
  }
33
- }
33
+ }
package/schemas/core.json CHANGED
@@ -120,7 +120,7 @@
120
120
  ],
121
121
  "enum": [
122
122
  "student",
123
- "internship",
123
+ "intern",
124
124
  "unemployed",
125
125
  "fulltime",
126
126
  "partime",
@@ -580,7 +580,7 @@
580
580
  ],
581
581
  "enum": [
582
582
  "student",
583
- "internship",
583
+ "intern",
584
584
  "unemployed",
585
585
  "fulltime",
586
586
  "partime",