@lokalise/tm-sdk 3.0.0 → 5.0.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,8 +1,8 @@
|
|
|
1
1
|
import type { MandatoryPaginationParams } from '@lokalise/api-common';
|
|
2
2
|
import type { RequestContext } from '@lokalise/fastify-extras';
|
|
3
|
-
import type
|
|
3
|
+
import { type ErrorReporter } from '@lokalise/node-core';
|
|
4
4
|
import type { RetryConfig } from 'undici-retry';
|
|
5
|
-
import type { BulkTranslationMemoryMatches,
|
|
5
|
+
import type { BulkTranslationMemoryMatches, TranslationMemoryRecord, TranslationMemoryRecordsResponse, UpsertRecordDto } from './types/models.js';
|
|
6
6
|
import type { BulkFindMatchesRequest, FindMatchesRequest } from './types/requests.js';
|
|
7
7
|
export type TranslationMemoryClientConfig = {
|
|
8
8
|
baseUrl: string;
|
|
@@ -23,7 +23,7 @@ export declare class TranslationMemoryClient {
|
|
|
23
23
|
private readonly retryConfig;
|
|
24
24
|
private readonly errorReporter?;
|
|
25
25
|
constructor(config: TranslationMemoryClientConfig);
|
|
26
|
-
findMatches(groupId: string, request: FindMatchesRequest, context?: TranslationMemoryClientContext): Promise<
|
|
26
|
+
findMatches(groupId: string, request: FindMatchesRequest, context?: TranslationMemoryClientContext): Promise<TranslationMemoryRecord[]>;
|
|
27
27
|
bulkFindMatches(groupId: string, { filters, options }: BulkFindMatchesRequest, context?: TranslationMemoryClientContext): Promise<BulkTranslationMemoryMatches[]>;
|
|
28
28
|
bulkFindMatchesIterative(groupId: string, { filters, options }: BulkFindMatchesRequest, context?: TranslationMemoryClientContext): AsyncGenerator<BulkTranslationMemoryMatches[]>;
|
|
29
29
|
getRecords(groupId: string, pagination?: MandatoryPaginationParams, context?: TranslationMemoryClientContext): Promise<TranslationMemoryRecordsResponse>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { buildClient, isResponseStatusError, sendGet, sendPost, sendPut, } from '@lokalise/backend-http-client';
|
|
2
|
-
import { InternalError
|
|
2
|
+
import { InternalError } from '@lokalise/node-core';
|
|
3
|
+
import { chunk, transformToKebabCase } from '@lokalise/universal-ts-utils/node';
|
|
3
4
|
import { z } from 'zod';
|
|
4
5
|
import { TranslationMemoryClientError } from './errors/TranslationMemoryClientError.js';
|
|
5
6
|
const ANY_SCHEMA = z.any();
|
|
6
7
|
export class TranslationMemoryClient {
|
|
7
|
-
maxFindMatchesRequestSize = 20;
|
|
8
|
+
maxFindMatchesRequestSize = 20;
|
|
8
9
|
isEnabled;
|
|
9
10
|
httpClient;
|
|
10
11
|
headers;
|
|
@@ -86,10 +87,7 @@ export class TranslationMemoryClient {
|
|
|
86
87
|
requestLabel: '(tm-sdk) Get records',
|
|
87
88
|
query: pagination,
|
|
88
89
|
});
|
|
89
|
-
return {
|
|
90
|
-
records: response.result.body.data,
|
|
91
|
-
meta: response.result.body.meta,
|
|
92
|
-
};
|
|
90
|
+
return { records: response.result.body.data, meta: response.result.body.meta };
|
|
93
91
|
}
|
|
94
92
|
catch (e) {
|
|
95
93
|
throw this.handleError(e, context);
|
|
@@ -125,12 +123,8 @@ export class TranslationMemoryClient {
|
|
|
125
123
|
}
|
|
126
124
|
if (request.options?.ignoreEmptyFilters) {
|
|
127
125
|
const { emptyFilters, nonEmptyFilters } = request.filters.reduce((acc, filter) => {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
else {
|
|
132
|
-
acc.nonEmptyFilters.push(filter);
|
|
133
|
-
}
|
|
126
|
+
const list = filter.sourceText.trim().length === 0 ? acc.emptyFilters : acc.nonEmptyFilters;
|
|
127
|
+
list.push(filter);
|
|
134
128
|
return acc;
|
|
135
129
|
}, {
|
|
136
130
|
emptyFilters: [],
|
|
@@ -138,7 +132,7 @@ export class TranslationMemoryClient {
|
|
|
138
132
|
});
|
|
139
133
|
result.push(...emptyFilters.map((filter) => ({
|
|
140
134
|
filterId: filter.filterId,
|
|
141
|
-
matches: [
|
|
135
|
+
matches: [],
|
|
142
136
|
})));
|
|
143
137
|
request.filters = nonEmptyFilters;
|
|
144
138
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TranslationMemoryClient.js","sourceRoot":"","sources":["../../src/sdk/TranslationMemoryClient.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,qBAAqB,EACrB,OAAO,EACP,QAAQ,EACR,OAAO,GACR,MAAM,+BAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"TranslationMemoryClient.js","sourceRoot":"","sources":["../../src/sdk/TranslationMemoryClient.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,qBAAqB,EACrB,OAAO,EACP,QAAQ,EACR,OAAO,GACR,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAsB,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAA;AAG/E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAA;AA+BvF,MAAM,UAAU,GAAG,CAAC,CAAC,GAAG,EAAE,CAAA;AAE1B,MAAM,OAAO,uBAAuB;IACjB,yBAAyB,GAAG,EAAE,CAAA;IAE9B,SAAS,CAAS;IAClB,UAAU,CAAQ;IAClB,OAAO,CAAyB;IAChC,WAAW,CAAa;IAExB,aAAa,CAAgB;IAE9C,YAAY,MAAqC;QAC/C,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,IAAI,IAAI,CAAA;QACzC,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;QAC7C,IAAI,CAAC,OAAO,GAAG;YACb,cAAc,EAAE,kBAAkB;YAClC,aAAa,EAAE,UAAU,MAAM,CAAC,QAAQ,EAAE;SAC3C,CAAA;QACD,IAAI,CAAC,WAAW,GAAG;YACjB,cAA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,IAAI,CAAC,IAAI,CAAC,CAAA;YACzC,OAAO,MAAM,CAAA;QACf,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,CAAC,WAAW,CAAC,CAAC,EAAE,OAAO,CAAC,CAAA;QACpC,CAAC;IACH,CAAC;IAEO,WAAW,CAAC,CAAU,EAAE,OAAuC;QACrE,IAAI,KAAwB,CAAA;QAC5B,IAAI,CAAC,YAAY,KAAK,EAAE,CAAC;YACvB,KAAK,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QAC5E,CAAC;aAAM,CAAC;YACN,KAAK,GAAG,IAAI,aAAa,CAAC;gBACxB,OAAO,EAAE,eAAe;gBACxB,SAAS,EAAE,eAAe;gBAC1B,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE;aACtC,CAAC,CAAA;QACJ,CAAC;QAED,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC;YACzB,KAAK;YACL,OAAO,EAAE;gBACP,KAAK,EAAE,OAAO,CAAC,UAAU,EAAE,KAAK;gBAChC,GAAG,OAAO,CAAC,QAAQ;aACpB;SACF,CAAC,CAAA;QACF,OAAO,KAAK,CAAA;IACd,CAAC;CACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PaginationMeta } from '@lokalise/api-common';
|
|
2
|
-
import type { BulkTranslationMemoryMatches,
|
|
2
|
+
import type { BulkTranslationMemoryMatches, TranslationMemoryRecord } from './models.js';
|
|
3
3
|
export type GetFindMatchesResponse = {
|
|
4
|
-
data:
|
|
4
|
+
data: TranslationMemoryRecord[];
|
|
5
5
|
};
|
|
6
6
|
export type PostBulkFindMatchesResponse = {
|
|
7
7
|
data: BulkTranslationMemoryMatches[];
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import type { PaginationMeta } from '@lokalise/api-common';
|
|
2
2
|
import type { MayOmit } from '@lokalise/node-core';
|
|
3
|
-
export type TranslationMemoryMatch = {
|
|
4
|
-
sourceText: string;
|
|
5
|
-
targetText: string;
|
|
6
|
-
};
|
|
7
|
-
export type BulkTranslationMemoryMatches = {
|
|
8
|
-
filterId?: string;
|
|
9
|
-
matches: TranslationMemoryMatch[];
|
|
10
|
-
};
|
|
11
3
|
export type TranslationMemoryRecord = {
|
|
12
4
|
id: string;
|
|
13
5
|
groupId: string;
|
|
@@ -19,9 +11,14 @@ export type TranslationMemoryRecord = {
|
|
|
19
11
|
sourcePrevContent?: string;
|
|
20
12
|
sourceNextContent?: string;
|
|
21
13
|
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
};
|
|
16
|
+
export type UpsertRecordDto = Omit<MayOmit<TranslationMemoryRecord, 'id'>, 'groupId' | 'createdAt' | 'updatedAt'>;
|
|
17
|
+
export type BulkTranslationMemoryMatches = {
|
|
18
|
+
filterId?: string;
|
|
19
|
+
matches: TranslationMemoryRecord[];
|
|
22
20
|
};
|
|
23
21
|
export type TranslationMemoryRecordsResponse = {
|
|
24
22
|
records: TranslationMemoryRecord[];
|
|
25
23
|
meta: PaginationMeta;
|
|
26
24
|
};
|
|
27
|
-
export type UpsertRecordDto = Omit<MayOmit<TranslationMemoryRecord, 'id'>, 'groupId' | 'createdAt'>;
|
package/package.json
CHANGED
|
@@ -1,57 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/tm-sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Lokalise",
|
|
7
7
|
"url": "https://lokalise.com/"
|
|
8
8
|
},
|
|
9
9
|
"description": "REST API client for the Lokalise Translation Memory service",
|
|
10
|
-
"files": [
|
|
11
|
-
"dist/**"
|
|
12
|
-
],
|
|
10
|
+
"files": ["dist/**"],
|
|
13
11
|
"license": "Apache-2.0",
|
|
14
12
|
"repository": {
|
|
15
13
|
"type": "git",
|
|
16
14
|
"url": "git://github.com/lokalise/tm-service.git"
|
|
17
15
|
},
|
|
18
16
|
"main": "dist/index.js",
|
|
19
|
-
"
|
|
17
|
+
"exports": {
|
|
18
|
+
".": "./dist/index.js",
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
20
21
|
"publishConfig": {
|
|
21
22
|
"access": "public"
|
|
22
23
|
},
|
|
23
24
|
"scripts": {
|
|
24
|
-
"build": "
|
|
25
|
-
"
|
|
26
|
-
"lint": "biome check && tsc
|
|
25
|
+
"build": "npm run clean && tsc --project tsconfig.build.json",
|
|
26
|
+
"clean": "rimraf dist",
|
|
27
|
+
"lint": "biome check && tsc",
|
|
27
28
|
"lint:fix": "biome check --write",
|
|
28
29
|
"test": "vitest",
|
|
29
|
-
"test:coverage": "
|
|
30
|
-
"test:ci": "
|
|
30
|
+
"test:coverage": "node --run test -- --coverage",
|
|
31
|
+
"test:ci": "node --run test:coverage",
|
|
31
32
|
"package-version": "echo $npm_package_version",
|
|
32
|
-
"prepublishOnly": "
|
|
33
|
+
"prepublishOnly": "node --run build",
|
|
34
|
+
"postversion": "biome check --write package.json"
|
|
33
35
|
},
|
|
34
36
|
"dependencies": {
|
|
35
|
-
"@lokalise/api-common": "^
|
|
36
|
-
"@lokalise/backend-http-client": "^
|
|
37
|
-
"@lokalise/id-utils": "^
|
|
38
|
-
"@lokalise/node-core": "^13.0
|
|
39
|
-
"
|
|
40
|
-
"undici
|
|
37
|
+
"@lokalise/api-common": "^4.0.0",
|
|
38
|
+
"@lokalise/backend-http-client": "^5.0.0",
|
|
39
|
+
"@lokalise/id-utils": "^3.0.0",
|
|
40
|
+
"@lokalise/node-core": "^13.5.0",
|
|
41
|
+
"@lokalise/universal-ts-utils": "^4.2.3",
|
|
42
|
+
"undici": "^7.3.0",
|
|
43
|
+
"undici-retry": "^6.0.0"
|
|
41
44
|
},
|
|
42
45
|
"peerDependencies": {
|
|
43
|
-
"zod": "^3.
|
|
46
|
+
"zod": "^3.24.2"
|
|
44
47
|
},
|
|
45
48
|
"devDependencies": {
|
|
46
49
|
"@biomejs/biome": "^1.9.4",
|
|
47
|
-
"@lokalise/biome-config": "^1.
|
|
48
|
-
"@lokalise/
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"
|
|
50
|
+
"@lokalise/biome-config": "^1.6.1",
|
|
51
|
+
"@lokalise/tsconfig": "^1.0.2",
|
|
52
|
+
"@lokalise/fastify-extras": "^27.3.0",
|
|
53
|
+
"@types/node": "22.13.14",
|
|
54
|
+
"@vitest/coverage-v8": "^3.0.9",
|
|
55
|
+
"mockttp": "^3.17.0",
|
|
56
|
+
"rimraf": "^6.0.1",
|
|
52
57
|
"shx": "^0.3.4",
|
|
53
|
-
"typescript": "5.
|
|
54
|
-
"vitest": "^
|
|
55
|
-
"zod": "^3.
|
|
58
|
+
"typescript": "5.8.2",
|
|
59
|
+
"vitest": "^3.0.2",
|
|
60
|
+
"zod": "^3.24.2"
|
|
56
61
|
}
|
|
57
62
|
}
|