Skip to content

Commit 7eeb826

Browse files
committed
Use type
1 parent eacb15a commit 7eeb826

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/cloud/src/CloudService.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
import * as vscode from "vscode"
22

3-
import type { CloudUserInfo, TelemetryEvent, OrganizationAllowList, ClineMessage } from "@roo-code/types"
3+
import type {
4+
CloudUserInfo,
5+
TelemetryEvent,
6+
OrganizationAllowList,
7+
ClineMessage,
8+
ShareVisibility,
9+
} from "@roo-code/types"
410
import { TelemetryService } from "@roo-code/telemetry"
511

612
import { CloudServiceCallbacks } from "./types"
@@ -160,7 +166,7 @@ export class CloudService {
160166

161167
public async shareTask(
162168
taskId: string,
163-
visibility: "organization" | "public" = "organization",
169+
visibility: ShareVisibility = "organization",
164170
clineMessages?: ClineMessage[],
165171
) {
166172
this.ensureInitialized()

0 commit comments

Comments
 (0)