-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkey.ts
39 lines (32 loc) · 826 Bytes
/
key.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { KeyValue } from '@/types/key-value';
export type Key = {
/**
* Key ID.
*/
id: string;
/**
* Nested keys are stored as array entries. Simple keys are arrays containing single item.
*/
key: string[];
value: KeyValue;
/**
* Associated comment for translators.
* Only available when extra_info=true.
*/
comment?: string;
/**
* Information about the deprecation state of the key (-1 = not deprecated).
* Only available when extra_info=true.
*/
deprecated?: number;
/**
* Information about whether the key is marked as hidden or visible on Localazy.
* Only available when extra_info=true.
*/
hidden?: boolean;
/**
* Information about the character limit (-1 = no limit specified).
* Only available when extra_info=true.
*/
limit?: number;
};