dotvvm-types 4.1.0-preview13-final → 4.1.0-preview14-final
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/package.json +1 -1
- package/types/index.d.ts +6 -5
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -19,10 +19,11 @@ declare module "shared-classes" {
|
|
|
19
19
|
declare module "utils/logging" {
|
|
20
20
|
type LogLevel = "normal" | "verbose";
|
|
21
21
|
export const level: LogLevel;
|
|
22
|
-
export
|
|
23
|
-
export function
|
|
24
|
-
export function
|
|
25
|
-
export function
|
|
22
|
+
export type DotvvmLoggingArea = ("debug" | "configuration" | "postback" | "spa" | "static-command" | "binding-handler" | "resource-loader" | "coercer" | "state-manager" | "validation" | "events" | "rest-api");
|
|
23
|
+
export function logInfoVerbose(area: DotvvmLoggingArea, ...args: any[]): void;
|
|
24
|
+
export function logInfo(area: DotvvmLoggingArea, ...args: any[]): void;
|
|
25
|
+
export function logWarning(area: DotvvmLoggingArea, ...args: any[]): void;
|
|
26
|
+
export function logError(area: DotvvmLoggingArea, ...args: any[]): void;
|
|
26
27
|
export function logPostBackScriptError(err: any): void;
|
|
27
28
|
/** puts the string in quotes, escaping weird characters if it is more complex than just letters */
|
|
28
29
|
export function debugQuoteString(s: string): string;
|
|
@@ -665,7 +666,7 @@ declare module "api/eventHub" {
|
|
|
665
666
|
}
|
|
666
667
|
declare module "api/api" {
|
|
667
668
|
type ApiComputed<T> = KnockoutObservable<T | null> & {
|
|
668
|
-
refreshValue: (
|
|
669
|
+
refreshValue: () => PromiseLike<any>;
|
|
669
670
|
};
|
|
670
671
|
export function invoke<T>(target: any, methodName: string, argsProvider: () => any[], refreshTriggers: (args: any[]) => Array<KnockoutObservable<any> | string>, notifyTriggers: (args: any[]) => string[], element: HTMLElement, sharingKeyProvider: (args: any[]) => string[]): ApiComputed<T>;
|
|
671
672
|
export function refreshOn<T>(value: ApiComputed<T>, watch: KnockoutObservable<any>): ApiComputed<T>;
|