Skip to content

Commit 032f1ff

Browse files
committed
v14.4.0
1 parent 20172a4 commit 032f1ff

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

dist/main.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -819,9 +819,9 @@ type CreateTermsParams = {
819819
translatable: boolean;
820820
forbidden: boolean;
821821
translations?: Array<{
822-
langId: number;
823-
translation: string;
824-
description: string;
822+
langId?: number;
823+
translation?: string;
824+
description?: string;
825825
}>;
826826
tags?: string[];
827827
}>;
@@ -835,9 +835,9 @@ type UpdateTermsParams = {
835835
translatable?: boolean;
836836
forbidden?: boolean;
837837
translations?: Array<{
838-
langId: number;
839-
translation: string;
840-
description: string;
838+
langId?: number;
839+
translation?: string;
840+
description?: string;
841841
}>;
842842
tags?: string[];
843843
}>;
@@ -864,7 +864,7 @@ declare class GlossaryTerms extends BaseCollection<GlossaryTerm> {
864864
create(term_params: CreateTermsParams, request_params: ProjectOnly): Promise<BulkResult<GlossaryTerm>>;
865865
update(term_params: UpdateTermsParams, request_params: ProjectOnly): Promise<BulkResult<GlossaryTerm>>;
866866
delete(term_ids: number[], request_params: ProjectOnly): Promise<TermsDeleted>;
867-
protected populateFromBulkDelete(json: Record<string, unknown>, _headers: Headers): TermsDeleted;
867+
private populateFromBulkDelete;
868868
}
869869

870870
interface Jwt$2 {

dist/main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/additional_info/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## 14.4.0 (18-Apr-2025)
44

55
* Added support for the [Glossary terms endpoint](https://lokalise.github.io/node-lokalise-api/api/glossary-terms)
66

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/collections/glossary_terms.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class GlossaryTerms extends BaseCollection<GlossaryTerm> {
8181
);
8282
}
8383

84-
protected populateFromBulkDelete(
84+
private populateFromBulkDelete(
8585
json: Record<string, unknown>,
8686
_headers: Headers,
8787
): TermsDeleted {

src/types/glossary_terms.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export type CreateTermsParams = {
1111
translatable: boolean;
1212
forbidden: boolean;
1313
translations?: Array<{
14-
langId: number;
15-
translation: string;
16-
description: string;
14+
langId?: number;
15+
translation?: string;
16+
description?: string;
1717
}>;
1818
tags?: string[];
1919
}>;
@@ -28,9 +28,9 @@ export type UpdateTermsParams = {
2828
translatable?: boolean;
2929
forbidden?: boolean;
3030
translations?: Array<{
31-
langId: number;
32-
translation: string;
33-
description: string;
31+
langId?: number;
32+
translation?: string;
33+
description?: string;
3434
}>;
3535
tags?: string[];
3636
}>;

0 commit comments

Comments
 (0)