@bentoforge/umami-iam 0.5.0 → 0.6.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.
- package/dist/types.d.ts +6 -0
- package/package.json +1 -1
- package/src/types.ts +6 -0
package/dist/types.d.ts
CHANGED
|
@@ -242,6 +242,12 @@ export interface CustomFieldDef {
|
|
|
242
242
|
export interface CustomFieldsSchema {
|
|
243
243
|
user: CustomFieldDef[];
|
|
244
244
|
tenant: CustomFieldDef[];
|
|
245
|
+
/** Languages the deployment can actually answer in — the message catalogue, narrowed by
|
|
246
|
+
* `config.locales`. Render the language picker from this, never from a list of your own: a
|
|
247
|
+
* UI-side list offers languages the server will then answer in English. */
|
|
248
|
+
locales: string[];
|
|
249
|
+
/** Used when a user expresses no preference. */
|
|
250
|
+
defaultLocale: string;
|
|
245
251
|
}
|
|
246
252
|
export interface SecuritySettings {
|
|
247
253
|
minPasswordLength: number;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -277,6 +277,12 @@ export interface CustomFieldDef {
|
|
|
277
277
|
export interface CustomFieldsSchema {
|
|
278
278
|
user: CustomFieldDef[];
|
|
279
279
|
tenant: CustomFieldDef[];
|
|
280
|
+
/** Languages the deployment can actually answer in — the message catalogue, narrowed by
|
|
281
|
+
* `config.locales`. Render the language picker from this, never from a list of your own: a
|
|
282
|
+
* UI-side list offers languages the server will then answer in English. */
|
|
283
|
+
locales: string[];
|
|
284
|
+
/** Used when a user expresses no preference. */
|
|
285
|
+
defaultLocale: string;
|
|
280
286
|
}
|
|
281
287
|
export interface SecuritySettings {
|
|
282
288
|
minPasswordLength: number;
|