troy-foundation
Advanced tools
Comparing version 0.0.8 to 0.0.10
export declare class ManagedError extends Error { | ||
constructor(); | ||
} | ||
export declare type ManagedErrorType<TManagedErrorTypeName extends string> = (typeof ManagedError & { | ||
export type ManagedErrorType<TManagedErrorTypeName extends string> = (typeof ManagedError & { | ||
readonly name: TManagedErrorTypeName; | ||
@@ -6,0 +6,0 @@ readonly namespace?: string; |
import { ManagedErrorType } from "./managed-error"; | ||
export declare type ExecuteManagedSyncFunc = (managedSyncFuncExecArgs: any) => any; | ||
export declare type ExecuteManagedAsyncFunc = (managedAsyncFuncExecArgs: any) => Promise<any>; | ||
export type ExecuteManagedSyncFunc = (managedSyncFuncExecArgs: any) => any; | ||
export type ExecuteManagedAsyncFunc = (managedAsyncFuncExecArgs: any) => Promise<any>; | ||
export interface ManagedFuncDef<TManagedFuncName extends string, TExecuteManageFunc> { | ||
@@ -9,5 +9,5 @@ name: TManagedFuncName; | ||
} | ||
export declare type ExecuteManagedFuncOf<TManagedFuncDef extends ManagedFuncDef<any, any>> = TManagedFuncDef extends ManagedFuncDef<any, infer TExecuteManagedFunc> ? TExecuteManagedFunc : never; | ||
export declare type ManagedSyncFuncDef<TManagedSyncFuncName extends string, TExecuteManagedSyncFunc extends ExecuteManagedSyncFunc> = ManagedFuncDef<TManagedSyncFuncName, TExecuteManagedSyncFunc>; | ||
export declare type ManagedAsyncFuncDef<TManagedAsyncFuncName extends string, TExecuteManagedAsyncFunc extends ExecuteManagedAsyncFunc> = ManagedFuncDef<TManagedAsyncFuncName, TExecuteManagedAsyncFunc>; | ||
export type ExecuteManagedFuncOf<TManagedFuncDef extends ManagedFuncDef<any, any>> = TManagedFuncDef extends ManagedFuncDef<any, infer TExecuteManagedFunc> ? TExecuteManagedFunc : never; | ||
export type ManagedSyncFuncDef<TManagedSyncFuncName extends string, TExecuteManagedSyncFunc extends ExecuteManagedSyncFunc> = ManagedFuncDef<TManagedSyncFuncName, TExecuteManagedSyncFunc>; | ||
export type ManagedAsyncFuncDef<TManagedAsyncFuncName extends string, TExecuteManagedAsyncFunc extends ExecuteManagedAsyncFunc> = ManagedFuncDef<TManagedAsyncFuncName, TExecuteManagedAsyncFunc>; | ||
export declare const defineManagedFunc: () => { | ||
@@ -33,7 +33,7 @@ name: <TManagedFuncName extends string>(managedFuncName: TManagedFuncName) => { | ||
} | ||
export declare type ManagedSyncFunc<TManagedSyncFuncName extends string, TExecuteSyncManagedFunc extends ExecuteManagedSyncFunc> = (TExecuteSyncManagedFunc & { | ||
export type ManagedSyncFunc<TManagedSyncFuncName extends string, TExecuteSyncManagedFunc extends ExecuteManagedSyncFunc> = (TExecuteSyncManagedFunc & { | ||
def: ManagedSyncFuncDef<TManagedSyncFuncName, TExecuteSyncManagedFunc>; | ||
config: ManagedFuncConfig; | ||
}); | ||
export declare type ManagedAsyncFunc<TManagedAsyncFuncName extends string, TExecuteManagedAsyncFunc extends ExecuteManagedAsyncFunc> = (TExecuteManagedAsyncFunc & { | ||
export type ManagedAsyncFunc<TManagedAsyncFuncName extends string, TExecuteManagedAsyncFunc extends ExecuteManagedAsyncFunc> = (TExecuteManagedAsyncFunc & { | ||
def: ManagedAsyncFuncDef<TManagedAsyncFuncName, TExecuteManagedAsyncFunc>; | ||
@@ -40,0 +40,0 @@ config: ManagedFuncConfig; |
@@ -1,2 +0,2 @@ | ||
export declare type ExecuteReportError = (error: unknown) => void; | ||
export type ExecuteReportError = (error: unknown) => void; | ||
export declare const EXECUTE_REPORT_ERROR: { | ||
@@ -3,0 +3,0 @@ value: ExecuteReportError; |
@@ -1,2 +0,2 @@ | ||
export declare type ExecuteWriteErrorLog = (errorLogMsg: unknown) => void; | ||
export type ExecuteWriteErrorLog = (errorLogMsg: unknown) => void; | ||
export declare const EXECUTE_WRITE_ERROR_LOG: { | ||
@@ -3,0 +3,0 @@ value: ExecuteWriteErrorLog; |
@@ -1,2 +0,2 @@ | ||
export declare type ExecuteWriteInfoLog = (infoLogMsg: unknown) => void; | ||
export type ExecuteWriteInfoLog = (infoLogMsg: unknown) => void; | ||
export declare const EXECUTE_WRITE_INFO_LOG: { | ||
@@ -3,0 +3,0 @@ value: ExecuteWriteInfoLog; |
@@ -1,2 +0,2 @@ | ||
export declare type ExecuteWriteTraceLog = (traceLogMsg: unknown) => void; | ||
export type ExecuteWriteTraceLog = (traceLogMsg: unknown) => void; | ||
export declare const EXECUTE_WRITE_TRACE_LOG: { | ||
@@ -3,0 +3,0 @@ value: ExecuteWriteTraceLog; |
{ | ||
"name": "troy-foundation", | ||
"version": "0.0.8", | ||
"version": "0.0.10", | ||
"main": "dist/index.js", | ||
@@ -11,3 +11,3 @@ "types": "dist/index.d.ts", | ||
"@types/node": "^16.0.0", | ||
"troy-package-dev-tools": "0.0.8" | ||
"troy-package-dev-tools": "0.0.10" | ||
}, | ||
@@ -14,0 +14,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
43073