@gooddata/i18n-toolkit 10.35.0-alpha.13 → 10.35.0-alpha.14

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,39 +1,32 @@
1
1
  {
2
2
  "properly.obj": {
3
3
  "value": "test <span class='addon'>test</span>",
4
- "comment": "test",
5
- "limit": 0
4
+ "comment": "test"
6
5
  },
7
6
  "text.without.insight": {
8
7
  "value": "Test text",
9
- "comment": "test",
10
- "limit": 0
8
+ "comment": "test"
11
9
  },
12
10
  "text.with.insight|insight": {
13
11
  "value": "Test text with insight",
14
- "comment": "test",
15
- "limit": 0
12
+ "comment": "test"
16
13
  },
17
14
  "text.with.insight|report": {
18
15
  "value": "Test text with report",
19
16
  "comment": "test",
20
- "limit": 0,
21
17
  "translate": false
22
18
  },
23
19
  "text.with.1": {
24
20
  "value": "Test text 1 2 3",
25
- "comment": "test",
26
- "limit": 0
21
+ "comment": "test"
27
22
  },
28
23
  "text.big.insight|insight": {
29
24
  "value": "Test text with Insight",
30
- "comment": "test",
31
- "limit": 0
25
+ "comment": "test"
32
26
  },
33
27
  "text.big.insight|report": {
34
28
  "value": "Test text with report",
35
29
  "comment": "test",
36
- "limit": 0,
37
30
  "translate": false
38
31
  }
39
32
  }
@@ -1,7 +1,6 @@
1
1
  export type LocalesItem = {
2
2
  value: string;
3
3
  comment: string;
4
- limit: number;
5
4
  translate?: boolean;
6
5
  };
7
6
  export type LocalesStructure = Record<string, LocalesItem | string>;
@@ -23,9 +22,6 @@ export declare const LocalizationSchema: {
23
22
  comment: {
24
23
  type: string;
25
24
  };
26
- limit: {
27
- type: string;
28
- };
29
25
  translate: {
30
26
  type: string;
31
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../src/schema/localization.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAAC,CAAC;AAEpE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqB9B,CAAC"}
1
+ {"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../src/schema/localization.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAAC,CAAC;AAEpE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoB9B,CAAC"}
@@ -1,4 +1,4 @@
1
- // (C) 2020-2022 GoodData Corporation
1
+ // (C) 2020-2025 GoodData Corporation
2
2
  export const LocalizationSchema = {
3
3
  type: "object",
4
4
  patternProperties: {
@@ -10,10 +10,9 @@ export const LocalizationSchema = {
10
10
  properties: {
11
11
  value: { type: "string" },
12
12
  comment: { type: "string" },
13
- limit: { type: "number" },
14
13
  translate: { type: "boolean" },
15
14
  },
16
- required: ["value", "comment", "limit"],
15
+ required: ["value", "comment"],
17
16
  additionalProperties: false,
18
17
  },
19
18
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"localization.js","sourceRoot":"","sources":["../../src/schema/localization.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAUrC,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,iBAAiB,EAAE;QACf,MAAM,EAAE;YACJ,KAAK,EAAE;gBACH,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAClB;oBACI,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACR,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBACzB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBAC3B,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBACzB,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;qBACjC;oBACD,QAAQ,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC;oBACvC,oBAAoB,EAAE,KAAK;iBAC9B;aACJ;SACJ;KACJ;IACD,oBAAoB,EAAE,KAAK;CAC9B,CAAC"}
1
+ {"version":3,"file":"localization.js","sourceRoot":"","sources":["../../src/schema/localization.ts"],"names":[],"mappings":"AAAA,qCAAqC;AASrC,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,iBAAiB,EAAE;QACf,MAAM,EAAE;YACJ,KAAK,EAAE;gBACH,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAClB;oBACI,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACR,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBACzB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBAC3B,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;qBACjC;oBACD,QAAQ,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;oBAC9B,oBAAoB,EAAE,KAAK;iBAC9B;aACJ;SACJ;KACJ;IACD,oBAAoB,EAAE,KAAK;CAC9B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/i18n-toolkit",
3
- "version": "10.35.0-alpha.13",
3
+ "version": "10.35.0-alpha.14",
4
4
  "author": "GoodData",
5
5
  "description": "Localization validator to validate localization complexity and intl and html format.",
6
6
  "repository": {