mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 20:24:47 +00:00
feat: Basic to username
This commit is contained in:
@@ -21,7 +21,7 @@ export class NetworkInterfaceBuilder {
|
||||
id: string
|
||||
description: string
|
||||
ui: boolean
|
||||
basic: null | { username: string }
|
||||
username: null | string
|
||||
path: string
|
||||
search: Record<string, string>
|
||||
},
|
||||
@@ -36,10 +36,10 @@ export class NetworkInterfaceBuilder {
|
||||
* @returns
|
||||
*/
|
||||
async export(origins: Iterable<Origin>) {
|
||||
const { name, description, id, ui, basic, path, search } = this.options
|
||||
const { name, description, id, ui, username, path, search } = this.options
|
||||
|
||||
const addresses = Array.from(origins).map((o) =>
|
||||
o.build({ basic, path, search }),
|
||||
o.build({ username, path, search }),
|
||||
)
|
||||
|
||||
await this.options.effects.exportNetworkInterface({
|
||||
|
||||
Reference in New Issue
Block a user