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
    • 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

      Returns Workspace

  • decode:function
    • Parameters

      • input: Uint8Array | Reader
      • Optional length: number

      Returns Workspace

  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns Workspace

  • fromPartial:function
    • 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

      Returns Workspace

  • toJSON:function
    • Parameters

      Returns unknown

Generated using TypeDoc