fix(plugin): add env parameter to WorkspaceAdaptor.create type (#23235)
This commit is contained in:
@@ -49,7 +49,11 @@ export type WorkspaceAdaptor = {
|
|||||||
name: string
|
name: string
|
||||||
description: string
|
description: string
|
||||||
configure(config: WorkspaceInfo): WorkspaceInfo | Promise<WorkspaceInfo>
|
configure(config: WorkspaceInfo): WorkspaceInfo | Promise<WorkspaceInfo>
|
||||||
create(config: WorkspaceInfo, from?: WorkspaceInfo): Promise<void>
|
create(
|
||||||
|
config: WorkspaceInfo,
|
||||||
|
env: Record<string, string | undefined>,
|
||||||
|
from?: WorkspaceInfo,
|
||||||
|
): Promise<void>
|
||||||
remove(config: WorkspaceInfo): Promise<void>
|
remove(config: WorkspaceInfo): Promise<void>
|
||||||
target(config: WorkspaceInfo): WorkspaceTarget | Promise<WorkspaceTarget>
|
target(config: WorkspaceInfo): WorkspaceTarget | Promise<WorkspaceTarget>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user