Type Alias CodeSource

CodeSource: Message<"virtufin.CodeSource"> & {
    credential?: SourceCredential;
    source:
        | { case: "url"; value: string }
        | { case: "content"; value: Uint8Array }
        | { case: undefined; value?: undefined };
}

Type declaration

  • Optionalcredential?: SourceCredential

    Optional. Used only when source is url; ignored for inline content. See SourceCredential.

    from field: virtufin.SourceCredential credential = 3;

  • source:
        | { case: "url"; value: string }
        | { case: "content"; value: Uint8Array }
        | { case: undefined; value?: undefined }

    from oneof virtufin.CodeSource.source

from message virtufin.CodeSource