fix(plugin): add env parameter to WorkspaceAdaptor.create type (#23235)

This commit is contained in:
James Murdza
2026-04-20 10:41:38 -07:00
committed by GitHub
parent 7e576eea41
commit 3406f18746

View File

@@ -49,7 +49,11 @@ export type WorkspaceAdaptor = {
name: string
description: string
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>
target(config: WorkspaceInfo): WorkspaceTarget | Promise<WorkspaceTarget>
}