@lokalise/expert-api-s2s-client 1.8.1 → 1.9.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autopilotProjectUtils.d.ts","sourceRoot":"","sources":["../../src/utils/autopilotProjectUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"autopilotProjectUtils.d.ts","sourceRoot":"","sources":["../../src/utils/autopilotProjectUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AAEnF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAA;AAEjF;;;GAGG;AACH,wBAAgB,6CAA6C,CAC3D,cAAc,EAAE,iCAAiC,GAChD,gBAAgB,CAqBlB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ReviewTypeEnum } from '@lokalise/common-api-schemas';
|
|
2
1
|
import { ProjectStatusEnum } from '@lokalise/workspaces-api-schemas';
|
|
3
2
|
/**
|
|
4
3
|
* Although this is something that is not directly used by clients from this package, this mapping is likely to be needed in multiple services.
|
|
@@ -18,7 +17,6 @@ export function mapExpertGetProjectResponseToAutopilotProject(expertResponse) {
|
|
|
18
17
|
name: expertResponse.name,
|
|
19
18
|
baseContentLanguageId: expertResponse.base_project_language_uuid,
|
|
20
19
|
status: ProjectStatusEnum.ACTIVE, // Expert projects lack explicit status. Defaulting to ACTIVE. (FIXME: reference to a task to address it properly)
|
|
21
|
-
reviewType: ReviewTypeEnum.REVIEW_UNCONFIDENT, // Expert projects lack review type, using a hardcoded one. TODO: to be addressed in https://lokalise.atlassian.net/browse/EXP-254
|
|
22
20
|
createdAt: new Date(expertResponse.created_at_timestamp * 1000).toISOString(),
|
|
23
21
|
updatedAt: null, // Expert API doesn't provide a last updated timestamp.
|
|
24
22
|
deletedAt: null, // No deleted projects are visible through API, null is appropriate. (TODO: Consider whether deletedAt should be internal repository detail, discuss hiding the value with relevant stakeholders (FIXME: task reference))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autopilotProjectUtils.js","sourceRoot":"","sources":["../../src/utils/autopilotProjectUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"autopilotProjectUtils.js","sourceRoot":"","sources":["../../src/utils/autopilotProjectUtils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAGpE;;;GAGG;AACH,MAAM,UAAU,6CAA6C,CAC3D,cAAiD;IAEjD,4EAA4E;IAC5E,mHAAmH;IACnH,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CACb,kBAAkB,cAAc,CAAC,UAAU,+DAA+D,CAC3G,CAAA;IACH,CAAC;IAED,OAAO;QACL,EAAE,EAAE,cAAc,CAAC,IAAI;QACvB,UAAU,EAAE,cAAc,CAAC,UAAU;QACrC,WAAW,EAAE,cAAc,CAAC,SAAS;QACrC,WAAW,EAAE,cAAc,CAAC,WAAW;QACvC,IAAI,EAAE,cAAc,CAAC,IAAI;QACzB,qBAAqB,EAAE,cAAc,CAAC,0BAA0B;QAChE,MAAM,EAAE,iBAAiB,CAAC,MAAM,EAAE,kHAAkH;QACpJ,SAAS,EAAE,IAAI,IAAI,CAAC,cAAc,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAAC,WAAW,EAAE;QAC7E,SAAS,EAAE,IAAI,EAAE,uDAAuD;QACxE,SAAS,EAAE,IAAI,EAAE,yNAAyN;KAC3O,CAAA;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/expert-api-s2s-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist",
|
|
6
6
|
"README.md"
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@lokalise/backend-expert-http-client": "*",
|
|
31
|
-
"@lokalise/backend-http-client": "^
|
|
32
|
-
"@lokalise/node-api": "^15.
|
|
33
|
-
"@lokalise/common-api-schemas": "^
|
|
34
|
-
"@lokalise/workspaces-api-schemas": "^
|
|
31
|
+
"@lokalise/backend-http-client": "^10.0.0",
|
|
32
|
+
"@lokalise/node-api": "^15.4.0",
|
|
33
|
+
"@lokalise/common-api-schemas": "^2.0.0",
|
|
34
|
+
"@lokalise/workspaces-api-schemas": "^4.0.1",
|
|
35
35
|
"@lokalise/id-utils": "^3.0.1",
|
|
36
36
|
"openid-client": "^6.3.4"
|
|
37
37
|
},
|