@empathyco/x-archetype-utils
Advanced tools
Comparing version 0.1.0-alpha.15 to 0.1.0-alpha.16
import VueI18n from 'vue-i18n'; | ||
import { DeepPartial } from '@empathyco/x-utils'; | ||
/** Supported locales. */ | ||
export declare type Locale = string; | ||
export type Locale = string; | ||
/** Supported devices. */ | ||
export declare type Device = string; | ||
export type Device = string; | ||
/** Union type containing both eager and lazy messages. */ | ||
export declare type AnyMessages<SomeMessages> = MessagesByDevice<SomeMessages> | LoadLazyMessagesByDevice<SomeMessages>; | ||
export type AnyMessages<SomeMessages> = MessagesByDevice<SomeMessages> | LoadLazyMessagesByDevice<SomeMessages>; | ||
/** A function that loads on demand the messages for a specific locale. */ | ||
export declare type LoadLazyMessagesByDevice<SomeMessages> = () => Promise<{ | ||
export type LoadLazyMessagesByDevice<SomeMessages> = () => Promise<{ | ||
default: MessagesByDevice<SomeMessages>; | ||
@@ -12,0 +12,0 @@ }>; |
{ | ||
"name": "@empathyco/x-archetype-utils", | ||
"version": "0.1.0-alpha.15", | ||
"version": "0.1.0-alpha.16", | ||
"description": "Utilities for x-archetype", | ||
@@ -37,7 +37,7 @@ "author": "Empathy Systems Corporation S.L.", | ||
"dependencies": { | ||
"@empathyco/x-deep-merge": "^1.3.0-alpha.29", | ||
"@empathyco/x-deep-merge": "^1.3.0-alpha.30", | ||
"vue-i18n": "~8.21.0" | ||
}, | ||
"devDependencies": { | ||
"@empathyco/x-utils": "^1.0.0-alpha.14", | ||
"@empathyco/x-utils": "^1.0.0-alpha.15", | ||
"@types/jest": "~27.0.3", | ||
@@ -52,3 +52,3 @@ "@types/node": "~16.4.12", | ||
"ts-jest": "~27.0.7", | ||
"typescript": "~4.6.2", | ||
"typescript": "~4.9.4", | ||
"vue": "~2.7.14" | ||
@@ -63,3 +63,3 @@ }, | ||
}, | ||
"gitHead": "bb92e0826e5b29ddd2a7d95480b88be02e5a761d" | ||
"gitHead": "6fccb9c182fa3bad626901b551006a39a7f47d98" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
235044