@laboratoria/sdk-js 2.0.0-alpha.1 → 2.0.0-alpha.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/index.js +2 -0
- package/package.json +1 -1
- package/schemas/core.json +8 -1
package/index.js
CHANGED
@@ -4,6 +4,7 @@ import {
|
|
4
4
|
onAuthStateChanged,
|
5
5
|
signInWithEmailAndPassword,
|
6
6
|
signOut,
|
7
|
+
sendPasswordResetEmail,
|
7
8
|
} from 'firebase/auth';
|
8
9
|
import { createAPI as createCoreAPI } from './lib/core';
|
9
10
|
import { createAPI as createCurriculumAPI } from './lib/curriculum';
|
@@ -52,6 +53,7 @@ export const createApp = ({
|
|
52
53
|
password,
|
53
54
|
),
|
54
55
|
signOut: () => signOut(firebaseAuth),
|
56
|
+
sendPasswordResetEmail: email => sendPasswordResetEmail(firebaseAuth, email),
|
55
57
|
};
|
56
58
|
|
57
59
|
return {
|
package/package.json
CHANGED
package/schemas/core.json
CHANGED
@@ -365,6 +365,10 @@
|
|
365
365
|
"null"
|
366
366
|
]
|
367
367
|
},
|
368
|
+
"publicAdmission": {
|
369
|
+
"type": "boolean",
|
370
|
+
"default": false
|
371
|
+
},
|
368
372
|
"program": {
|
369
373
|
"$ref": "#/definitions/Program"
|
370
374
|
},
|
@@ -562,7 +566,10 @@
|
|
562
566
|
]
|
563
567
|
},
|
564
568
|
"status": {
|
565
|
-
"type":
|
569
|
+
"type": [
|
570
|
+
"string",
|
571
|
+
"null"
|
572
|
+
],
|
566
573
|
"enum": [
|
567
574
|
"started",
|
568
575
|
"exercisesCompleted",
|