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