feat(worktree): add managed workspace cloning (#30117)
This commit is contained in:
parent
331bed2469
commit
5661af2034
23 changed files with 2374 additions and 28 deletions
|
|
@ -101,8 +101,8 @@ export class Info extends Schema.Class<Info>("ProviderV2.Info")({
|
|||
endpoint: Endpoint,
|
||||
options: Options,
|
||||
}) {
|
||||
static empty(providerID: ID) {
|
||||
return new Info({
|
||||
static empty(providerID: ID): Info {
|
||||
return {
|
||||
id: providerID,
|
||||
name: providerID,
|
||||
enabled: false,
|
||||
|
|
@ -118,6 +118,6 @@ export class Info extends Schema.Class<Info>("ProviderV2.Info")({
|
|||
request: {},
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue