Workspace: { create(base?): Workspace; decode(input,
length?): Workspace; encode(message,
writer?): Writer; fromJSON(object): Workspace; fromPartial(object): Workspace; toJSON(message): unknown; } Type declaration
create:function
- create(base?): Workspace
Parameters
Optional
base: {
isWatched?: boolean;
programs?: {
deployablePath?: string;
idlPath?: string;
package?: string;
programId?: string;
}[];
root?: string;
}
Optional
isWatched?: boolean
Optional
programs?: {
deployablePath?: string;
idlPath?: string;
package?: string;
programId?: string;
}[]
Optional
root?: string
decode:function
- decode(input, length?): Workspace
Parameters
input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
- fromJSON(object): Workspace
fromPartial:function
- fromPartial(object): Workspace
Parameters
object: {
isWatched?: boolean;
programs?: {
deployablePath?: string;
idlPath?: string;
package?: string;
programId?: string;
}[];
root?: string;
}
Optional
isWatched?: boolean
Optional
programs?: {
deployablePath?: string;
idlPath?: string;
package?: string;
programId?: string;
}[]
Optional
root?: string
toJSON:function
- toJSON(message): unknown
Returns unknown