@laboratoria/sdk-js 3.0.0 → 3.2.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/laboratoria-sdk-esm.js +1 -1
- package/dist/laboratoria-sdk-umd.js +1 -1
- package/lib/core.js +1 -0
- package/package.json +7 -7
- package/schemas/core.json +91 -4
package/lib/core.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@laboratoria/sdk-js",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Laboratoria JavaScript (browser) SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"blueimp-md5": "^2.19.0",
|
|
14
|
-
"firebase": "^9.
|
|
14
|
+
"firebase": "^9.16.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@babel/core": "^7.20.
|
|
18
|
-
"@babel/plugin-transform-modules-commonjs": "^7.
|
|
19
|
-
"babel-jest": "^29.
|
|
20
|
-
"jest": "^29.
|
|
21
|
-
"jest-environment-jsdom": "^29.
|
|
17
|
+
"@babel/core": "^7.20.12",
|
|
18
|
+
"@babel/plugin-transform-modules-commonjs": "^7.20.11",
|
|
19
|
+
"babel-jest": "^29.4.0",
|
|
20
|
+
"jest": "^29.4.0",
|
|
21
|
+
"jest-environment-jsdom": "^29.4.0",
|
|
22
22
|
"webpack": "^5.75.0",
|
|
23
23
|
"webpack-cli": "^5.0.1"
|
|
24
24
|
},
|
package/schemas/core.json
CHANGED
|
@@ -781,6 +781,10 @@
|
|
|
781
781
|
"null"
|
|
782
782
|
]
|
|
783
783
|
},
|
|
784
|
+
"isReady": {
|
|
785
|
+
"type": "boolean",
|
|
786
|
+
"default": false
|
|
787
|
+
},
|
|
784
788
|
"isReturningApplicant": {
|
|
785
789
|
"type": [
|
|
786
790
|
"boolean",
|
|
@@ -807,6 +811,86 @@
|
|
|
807
811
|
},
|
|
808
812
|
"educationLevel": {
|
|
809
813
|
"$ref": "#/definitions/EducationLevel"
|
|
814
|
+
},
|
|
815
|
+
"challengeAssignments": {
|
|
816
|
+
"type": "array",
|
|
817
|
+
"items": {
|
|
818
|
+
"$ref": "#/definitions/ApplicationChallengeAssignment"
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
"ApplicationChallenge": {
|
|
824
|
+
"type": "object",
|
|
825
|
+
"properties": {
|
|
826
|
+
"id": {
|
|
827
|
+
"type": "integer"
|
|
828
|
+
},
|
|
829
|
+
"createdAt": {
|
|
830
|
+
"type": "string",
|
|
831
|
+
"format": "date-time"
|
|
832
|
+
},
|
|
833
|
+
"updatedAt": {
|
|
834
|
+
"type": "string",
|
|
835
|
+
"format": "date-time"
|
|
836
|
+
},
|
|
837
|
+
"createdBy": {
|
|
838
|
+
"type": [
|
|
839
|
+
"string",
|
|
840
|
+
"null"
|
|
841
|
+
]
|
|
842
|
+
},
|
|
843
|
+
"slug": {
|
|
844
|
+
"type": "string"
|
|
845
|
+
},
|
|
846
|
+
"version": {
|
|
847
|
+
"type": "string"
|
|
848
|
+
},
|
|
849
|
+
"trackId": {
|
|
850
|
+
"type": "integer"
|
|
851
|
+
},
|
|
852
|
+
"langs": {
|
|
853
|
+
"type": "array",
|
|
854
|
+
"enum": [
|
|
855
|
+
"en",
|
|
856
|
+
"es",
|
|
857
|
+
"pt"
|
|
858
|
+
]
|
|
859
|
+
},
|
|
860
|
+
"json": {
|
|
861
|
+
"type": "string"
|
|
862
|
+
},
|
|
863
|
+
"archived": {
|
|
864
|
+
"type": "boolean",
|
|
865
|
+
"default": false
|
|
866
|
+
},
|
|
867
|
+
"assignments": {
|
|
868
|
+
"type": "array",
|
|
869
|
+
"items": {
|
|
870
|
+
"$ref": "#/definitions/ApplicationChallengeAssignment"
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
"ApplicationChallengeAssignment": {
|
|
876
|
+
"type": "object",
|
|
877
|
+
"properties": {
|
|
878
|
+
"id": {
|
|
879
|
+
"type": "integer"
|
|
880
|
+
},
|
|
881
|
+
"createdAt": {
|
|
882
|
+
"type": "string",
|
|
883
|
+
"format": "date-time"
|
|
884
|
+
},
|
|
885
|
+
"updatedAt": {
|
|
886
|
+
"type": "string",
|
|
887
|
+
"format": "date-time"
|
|
888
|
+
},
|
|
889
|
+
"application": {
|
|
890
|
+
"$ref": "#/definitions/Application"
|
|
891
|
+
},
|
|
892
|
+
"challenge": {
|
|
893
|
+
"$ref": "#/definitions/ApplicationChallenge"
|
|
810
894
|
}
|
|
811
895
|
}
|
|
812
896
|
},
|
|
@@ -827,10 +911,7 @@
|
|
|
827
911
|
"type": {
|
|
828
912
|
"type": "string",
|
|
829
913
|
"enum": [
|
|
830
|
-
"
|
|
831
|
-
"quiz_start",
|
|
832
|
-
"quiz_end",
|
|
833
|
-
"code_js"
|
|
914
|
+
"challenge"
|
|
834
915
|
]
|
|
835
916
|
},
|
|
836
917
|
"data": {
|
|
@@ -1130,6 +1211,12 @@
|
|
|
1130
1211
|
"application": {
|
|
1131
1212
|
"$ref": "#/definitions/Application"
|
|
1132
1213
|
},
|
|
1214
|
+
"applicationChallenge": {
|
|
1215
|
+
"$ref": "#/definitions/ApplicationChallenge"
|
|
1216
|
+
},
|
|
1217
|
+
"applicationChallengeAssignment": {
|
|
1218
|
+
"$ref": "#/definitions/ApplicationChallengeAssignment"
|
|
1219
|
+
},
|
|
1133
1220
|
"activityLogEntry": {
|
|
1134
1221
|
"$ref": "#/definitions/ActivityLogEntry"
|
|
1135
1222
|
},
|