@opencxh/domain 1.131.0 → 1.132.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.
@@ -30,7 +30,14 @@ export interface InternalSDK<LocalServices extends ServiceMap = {}, TranslationK
30
30
  get<T = any>(appName: string, resourceKey: string): Promise<T>;
31
31
  };
32
32
  readonly localization: {
33
- t(key: TranslationKeys, params?: Record<string, any>): string;
33
+ /**
34
+ * Vertaal een sleutel.
35
+ *
36
+ * Zonder `:` is het een sleutel van deze app zelf. Mét `:` is hij al genamespaced
37
+ * (`"helpdesk:ticket.added.text"`) en wordt hij ongewijzigd opgezocht — nodig om tekst
38
+ * te tonen die een andere app meestuurde bij iets wat wij renderen.
39
+ */
40
+ t(key: TranslationKeys | `${string}:${string}`, params?: Record<string, any>): string;
34
41
  };
35
42
  readonly ui: {
36
43
  modals: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/domain",
3
- "version": "1.131.0",
3
+ "version": "1.132.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",