Workitem
: { create
<I>(base
?: I): Workitem; decode
(input
: Uint8Array | Reader, length
?: number): Workitem; encode
(message
: Workitem, writer
?: Writer): Writer; fromJSON
(object
: any): Workitem; fromPartial
<I>(object
: I): Workitem; toJSON
(message
: Workitem): unknown; }
Type declaration
-
create:function
- create<I>(base?: I): Workitem
-
Type Parameters
-
I extends {
_id?: string;
errormessage?: string;
errorsource?: string;
errortype?: string;
failed_wiq?: string;
failed_wiqid?: string;
files?: ({ filename?: string; _id?: string; compressed?: boolean; file?: Uint8Array; })[];
lastrun?: Date;
name?: string;
nextrun?: Date;
payload?: string;
priority?: number;
retries?: number;
state?: string;
success_wiq?: string;
success_wiqid?: string;
username?: string;
wiq?: string;
wiqid?: string;
} & {
_id?: string;
errormessage?: string;
errorsource?: string;
errortype?: string;
failed_wiq?: string;
failed_wiqid?: string;
files?: {
_id?: string;
compressed?: boolean;
file?: Uint8Array;
filename?: string;
}[] & ({
_id?: string;
compressed?: boolean;
file?: Uint8Array;
filename?: string;
} & ({ filename?: string; _id?: string; compressed?: boolean; file?: Uint8Array; }) & { [ K in string | number | symbol]: never })[] & { [ K in string | symbol]: never };
lastrun?: Date;
name?: string;
nextrun?: Date;
payload?: string;
priority?: number;
retries?: number;
state?: string;
success_wiq?: string;
success_wiqid?: string;
username?: string;
wiq?: string;
wiqid?: string;
} & { [ K in string | number | symbol]: never }
-
decode:function
- decode(input: Uint8Array | Reader, length?: number): Workitem
-
Parameters
-
input: Uint8Array | Reader
-
Optional
length: number
-
encode:function
- encode(message: Workitem, writer?: Writer): Writer
-
Returns Writer
-
fromJSON:function
-
fromPartial:function
- fromPartial<I>(object: I): Workitem
-
Type Parameters
-
I extends {
_id?: string;
errormessage?: string;
errorsource?: string;
errortype?: string;
failed_wiq?: string;
failed_wiqid?: string;
files?: ({ filename?: string; _id?: string; compressed?: boolean; file?: Uint8Array; })[];
lastrun?: Date;
name?: string;
nextrun?: Date;
payload?: string;
priority?: number;
retries?: number;
state?: string;
success_wiq?: string;
success_wiqid?: string;
username?: string;
wiq?: string;
wiqid?: string;
} & {
_id?: string;
errormessage?: string;
errorsource?: string;
errortype?: string;
failed_wiq?: string;
failed_wiqid?: string;
files?: {
_id?: string;
compressed?: boolean;
file?: Uint8Array;
filename?: string;
}[] & ({
_id?: string;
compressed?: boolean;
file?: Uint8Array;
filename?: string;
} & ({ filename?: string; _id?: string; compressed?: boolean; file?: Uint8Array; }) & { [ K in string | number | symbol]: never })[] & { [ K in string | symbol]: never };
lastrun?: Date;
name?: string;
nextrun?: Date;
payload?: string;
priority?: number;
retries?: number;
state?: string;
success_wiq?: string;
success_wiqid?: string;
username?: string;
wiq?: string;
wiqid?: string;
} & { [ K in string | number | symbol]: never }
-
toJSON:function
- toJSON(message: Workitem): unknown
-
Returns unknown