File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,11 @@ import type { ParsedUrlQuery } from "node:querystring"
7
7
import * as url from "node:url"
8
8
import { Command } from "@effect/cli"
9
9
import { Config , Console , Data , Effect } from "effect"
10
- // BunRuntime might not be needed here if the command doesn't directly use it,
11
- // as index.ts handles the execution context.
12
- // import { BunRuntime } from "@effect/platform-bun";
13
10
import { customAlphabet } from "nanoid"
14
11
15
- // --- Constants ---
16
12
const FILENAME = ".intentui"
17
13
const DOMAIN_CONFIG = Config . succeed ( "https://blocks.intentui.com" )
18
14
19
- // --- Custom Errors ---
20
15
class UserCancellationError extends Data . TaggedError ( "UserCancellationError" ) < {
21
16
message : string
22
17
} > { }
@@ -43,7 +38,6 @@ class ServerError extends Data.TaggedError("ServerError")<{
43
38
cause ?: unknown
44
39
} > { }
45
40
46
- // --- Effects ---
47
41
const nanoid = customAlphabet ( "123456789QAZWSXEDCRFVTGBYHNUJMIKOLP" , 8 )
48
42
49
43
const generateNanoid = Effect . sync ( ( ) => nanoid ( ) )
You can’t perform that action at this time.
0 commit comments