mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 20:24:47 +00:00
chore: Change the dependencies
This commit is contained in:
@@ -21,7 +21,7 @@ export class NetworkInterfaceBuilder {
|
|||||||
id: string
|
id: string
|
||||||
description: string
|
description: string
|
||||||
ui: boolean
|
ui: boolean
|
||||||
basic: null | { password: null | string; username: string }
|
basic: null | { username: string }
|
||||||
path: string
|
path: string
|
||||||
search: Record<string, string>
|
search: Record<string, string>
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ export class Origin {
|
|||||||
|
|
||||||
build({ basic, path, search }: BuildOptions) {
|
build({ basic, path, search }: BuildOptions) {
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
const urlAuth = !!(basic) ? `${basic.username}${basic.password != null ?`:${basic.password}`:''}@` :
|
const urlAuth = !!(basic) ? `${basic.username}@` :
|
||||||
'';
|
'';
|
||||||
const protocolSection = this.protocol != null ? `${this.protocol}://` : ""
|
const protocolSection = this.protocol != null ? `${this.protocol}://` : ""
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ export class Origin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type BuildOptions = {
|
type BuildOptions = {
|
||||||
basic: { username: string; password: string | null } | null
|
basic: { username: string } | null
|
||||||
path: string
|
path: string
|
||||||
search: Record<string, string>
|
search: Record<string, string>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,10 +72,10 @@ export interface SDKManifest {
|
|||||||
start: string | null
|
start: string | null
|
||||||
stop: string | null
|
stop: string | null
|
||||||
}
|
}
|
||||||
dependencies: Record<string, Dependency>
|
dependencies: Record<string, ManifestDependency>
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Dependency {
|
export interface ManifestDependency {
|
||||||
/** The range of versions that would satisfy the dependency
|
/** The range of versions that would satisfy the dependency
|
||||||
*
|
*
|
||||||
* ie: >=3.4.5 <4.0.0
|
* ie: >=3.4.5 <4.0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user