gitx.do 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/commands/blame.d.ts +259 -0
- package/dist/cli/commands/blame.d.ts.map +1 -0
- package/dist/cli/commands/blame.js +609 -0
- package/dist/cli/commands/blame.js.map +1 -0
- package/dist/cli/commands/branch.d.ts +249 -0
- package/dist/cli/commands/branch.d.ts.map +1 -0
- package/dist/cli/commands/branch.js +693 -0
- package/dist/cli/commands/branch.js.map +1 -0
- package/dist/cli/commands/commit.d.ts +182 -0
- package/dist/cli/commands/commit.d.ts.map +1 -0
- package/dist/cli/commands/commit.js +437 -0
- package/dist/cli/commands/commit.js.map +1 -0
- package/dist/cli/commands/diff.d.ts +464 -0
- package/dist/cli/commands/diff.d.ts.map +1 -0
- package/dist/cli/commands/diff.js +958 -0
- package/dist/cli/commands/diff.js.map +1 -0
- package/dist/cli/commands/log.d.ts +239 -0
- package/dist/cli/commands/log.d.ts.map +1 -0
- package/dist/cli/commands/log.js +535 -0
- package/dist/cli/commands/log.js.map +1 -0
- package/dist/cli/commands/review.d.ts +457 -0
- package/dist/cli/commands/review.d.ts.map +1 -0
- package/dist/cli/commands/review.js +533 -0
- package/dist/cli/commands/review.js.map +1 -0
- package/dist/cli/commands/status.d.ts +269 -0
- package/dist/cli/commands/status.d.ts.map +1 -0
- package/dist/cli/commands/status.js +493 -0
- package/dist/cli/commands/status.js.map +1 -0
- package/dist/cli/commands/web.d.ts +199 -0
- package/dist/cli/commands/web.d.ts.map +1 -0
- package/dist/cli/commands/web.js +696 -0
- package/dist/cli/commands/web.js.map +1 -0
- package/dist/cli/fs-adapter.d.ts +656 -0
- package/dist/cli/fs-adapter.d.ts.map +1 -0
- package/dist/cli/fs-adapter.js +1179 -0
- package/dist/cli/fs-adapter.js.map +1 -0
- package/dist/cli/index.d.ts +387 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +523 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/ui/components/DiffView.d.ts +7 -0
- package/dist/cli/ui/components/DiffView.d.ts.map +1 -0
- package/dist/cli/ui/components/DiffView.js +11 -0
- package/dist/cli/ui/components/DiffView.js.map +1 -0
- package/dist/cli/ui/components/ErrorDisplay.d.ts +6 -0
- package/dist/cli/ui/components/ErrorDisplay.d.ts.map +1 -0
- package/dist/cli/ui/components/ErrorDisplay.js +11 -0
- package/dist/cli/ui/components/ErrorDisplay.js.map +1 -0
- package/dist/cli/ui/components/FuzzySearch.d.ts +9 -0
- package/dist/cli/ui/components/FuzzySearch.d.ts.map +1 -0
- package/dist/cli/ui/components/FuzzySearch.js +12 -0
- package/dist/cli/ui/components/FuzzySearch.js.map +1 -0
- package/dist/cli/ui/components/LoadingSpinner.d.ts +6 -0
- package/dist/cli/ui/components/LoadingSpinner.d.ts.map +1 -0
- package/dist/cli/ui/components/LoadingSpinner.js +10 -0
- package/dist/cli/ui/components/LoadingSpinner.js.map +1 -0
- package/dist/cli/ui/components/NavigationList.d.ts +9 -0
- package/dist/cli/ui/components/NavigationList.d.ts.map +1 -0
- package/dist/cli/ui/components/NavigationList.js +11 -0
- package/dist/cli/ui/components/NavigationList.js.map +1 -0
- package/dist/cli/ui/components/ScrollableContent.d.ts +8 -0
- package/dist/cli/ui/components/ScrollableContent.d.ts.map +1 -0
- package/dist/cli/ui/components/ScrollableContent.js +11 -0
- package/dist/cli/ui/components/ScrollableContent.js.map +1 -0
- package/dist/cli/ui/components/index.d.ts +7 -0
- package/dist/cli/ui/components/index.d.ts.map +1 -0
- package/dist/cli/ui/components/index.js +9 -0
- package/dist/cli/ui/components/index.js.map +1 -0
- package/dist/cli/ui/terminal-ui.d.ts +52 -0
- package/dist/cli/ui/terminal-ui.d.ts.map +1 -0
- package/dist/cli/ui/terminal-ui.js +121 -0
- package/dist/cli/ui/terminal-ui.js.map +1 -0
- package/dist/durable-object/object-store.d.ts +401 -23
- package/dist/durable-object/object-store.d.ts.map +1 -1
- package/dist/durable-object/object-store.js +414 -25
- package/dist/durable-object/object-store.js.map +1 -1
- package/dist/durable-object/schema.d.ts +188 -0
- package/dist/durable-object/schema.d.ts.map +1 -1
- package/dist/durable-object/schema.js +160 -0
- package/dist/durable-object/schema.js.map +1 -1
- package/dist/durable-object/wal.d.ts +336 -31
- package/dist/durable-object/wal.d.ts.map +1 -1
- package/dist/durable-object/wal.js +272 -27
- package/dist/durable-object/wal.js.map +1 -1
- package/dist/index.d.ts +379 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +379 -7
- package/dist/index.js.map +1 -1
- package/dist/mcp/adapter.d.ts +579 -38
- package/dist/mcp/adapter.d.ts.map +1 -1
- package/dist/mcp/adapter.js +426 -33
- package/dist/mcp/adapter.js.map +1 -1
- package/dist/mcp/sandbox.d.ts +532 -29
- package/dist/mcp/sandbox.d.ts.map +1 -1
- package/dist/mcp/sandbox.js +389 -22
- package/dist/mcp/sandbox.js.map +1 -1
- package/dist/mcp/sdk-adapter.d.ts +478 -56
- package/dist/mcp/sdk-adapter.d.ts.map +1 -1
- package/dist/mcp/sdk-adapter.js +346 -44
- package/dist/mcp/sdk-adapter.js.map +1 -1
- package/dist/mcp/tools.d.ts +445 -30
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +363 -33
- package/dist/mcp/tools.js.map +1 -1
- package/dist/ops/blame.d.ts +424 -21
- package/dist/ops/blame.d.ts.map +1 -1
- package/dist/ops/blame.js +303 -20
- package/dist/ops/blame.js.map +1 -1
- package/dist/ops/branch.d.ts +583 -32
- package/dist/ops/branch.d.ts.map +1 -1
- package/dist/ops/branch.js +365 -23
- package/dist/ops/branch.js.map +1 -1
- package/dist/ops/commit-traversal.d.ts +164 -24
- package/dist/ops/commit-traversal.d.ts.map +1 -1
- package/dist/ops/commit-traversal.js +68 -2
- package/dist/ops/commit-traversal.js.map +1 -1
- package/dist/ops/commit.d.ts +387 -53
- package/dist/ops/commit.d.ts.map +1 -1
- package/dist/ops/commit.js +249 -29
- package/dist/ops/commit.js.map +1 -1
- package/dist/ops/merge-base.d.ts +195 -21
- package/dist/ops/merge-base.d.ts.map +1 -1
- package/dist/ops/merge-base.js +122 -12
- package/dist/ops/merge-base.js.map +1 -1
- package/dist/ops/merge.d.ts +600 -130
- package/dist/ops/merge.d.ts.map +1 -1
- package/dist/ops/merge.js +408 -60
- package/dist/ops/merge.js.map +1 -1
- package/dist/ops/tag.d.ts +67 -2
- package/dist/ops/tag.d.ts.map +1 -1
- package/dist/ops/tag.js +42 -1
- package/dist/ops/tag.js.map +1 -1
- package/dist/ops/tree-builder.d.ts +102 -6
- package/dist/ops/tree-builder.d.ts.map +1 -1
- package/dist/ops/tree-builder.js +30 -5
- package/dist/ops/tree-builder.js.map +1 -1
- package/dist/ops/tree-diff.d.ts +50 -2
- package/dist/ops/tree-diff.d.ts.map +1 -1
- package/dist/ops/tree-diff.js +50 -2
- package/dist/ops/tree-diff.js.map +1 -1
- package/dist/pack/delta.d.ts +211 -39
- package/dist/pack/delta.d.ts.map +1 -1
- package/dist/pack/delta.js +232 -46
- package/dist/pack/delta.js.map +1 -1
- package/dist/pack/format.d.ts +390 -28
- package/dist/pack/format.d.ts.map +1 -1
- package/dist/pack/format.js +344 -33
- package/dist/pack/format.js.map +1 -1
- package/dist/pack/full-generation.d.ts +313 -28
- package/dist/pack/full-generation.d.ts.map +1 -1
- package/dist/pack/full-generation.js +238 -19
- package/dist/pack/full-generation.js.map +1 -1
- package/dist/pack/generation.d.ts +346 -23
- package/dist/pack/generation.d.ts.map +1 -1
- package/dist/pack/generation.js +269 -21
- package/dist/pack/generation.js.map +1 -1
- package/dist/pack/index.d.ts +407 -86
- package/dist/pack/index.d.ts.map +1 -1
- package/dist/pack/index.js +351 -70
- package/dist/pack/index.js.map +1 -1
- package/dist/refs/branch.d.ts +517 -71
- package/dist/refs/branch.d.ts.map +1 -1
- package/dist/refs/branch.js +410 -26
- package/dist/refs/branch.js.map +1 -1
- package/dist/refs/storage.d.ts +610 -57
- package/dist/refs/storage.d.ts.map +1 -1
- package/dist/refs/storage.js +481 -29
- package/dist/refs/storage.js.map +1 -1
- package/dist/refs/tag.d.ts +677 -67
- package/dist/refs/tag.d.ts.map +1 -1
- package/dist/refs/tag.js +497 -30
- package/dist/refs/tag.js.map +1 -1
- package/dist/storage/lru-cache.d.ts +556 -53
- package/dist/storage/lru-cache.d.ts.map +1 -1
- package/dist/storage/lru-cache.js +439 -36
- package/dist/storage/lru-cache.js.map +1 -1
- package/dist/storage/object-index.d.ts +483 -38
- package/dist/storage/object-index.d.ts.map +1 -1
- package/dist/storage/object-index.js +388 -22
- package/dist/storage/object-index.js.map +1 -1
- package/dist/storage/r2-pack.d.ts +957 -94
- package/dist/storage/r2-pack.d.ts.map +1 -1
- package/dist/storage/r2-pack.js +756 -48
- package/dist/storage/r2-pack.js.map +1 -1
- package/dist/tiered/cdc-pipeline.d.ts +1610 -38
- package/dist/tiered/cdc-pipeline.d.ts.map +1 -1
- package/dist/tiered/cdc-pipeline.js +1131 -22
- package/dist/tiered/cdc-pipeline.js.map +1 -1
- package/dist/tiered/migration.d.ts +903 -41
- package/dist/tiered/migration.d.ts.map +1 -1
- package/dist/tiered/migration.js +646 -24
- package/dist/tiered/migration.js.map +1 -1
- package/dist/tiered/parquet-writer.d.ts +944 -47
- package/dist/tiered/parquet-writer.d.ts.map +1 -1
- package/dist/tiered/parquet-writer.js +667 -39
- package/dist/tiered/parquet-writer.js.map +1 -1
- package/dist/tiered/read-path.d.ts +728 -34
- package/dist/tiered/read-path.d.ts.map +1 -1
- package/dist/tiered/read-path.js +310 -27
- package/dist/tiered/read-path.js.map +1 -1
- package/dist/types/objects.d.ts +457 -0
- package/dist/types/objects.d.ts.map +1 -1
- package/dist/types/objects.js +305 -4
- package/dist/types/objects.js.map +1 -1
- package/dist/types/storage.d.ts +407 -35
- package/dist/types/storage.d.ts.map +1 -1
- package/dist/types/storage.js +27 -3
- package/dist/types/storage.js.map +1 -1
- package/dist/utils/hash.d.ts +133 -12
- package/dist/utils/hash.d.ts.map +1 -1
- package/dist/utils/hash.js +133 -12
- package/dist/utils/hash.js.map +1 -1
- package/dist/utils/sha1.d.ts +102 -9
- package/dist/utils/sha1.d.ts.map +1 -1
- package/dist/utils/sha1.js +114 -11
- package/dist/utils/sha1.js.map +1 -1
- package/dist/wire/capabilities.d.ts +896 -88
- package/dist/wire/capabilities.d.ts.map +1 -1
- package/dist/wire/capabilities.js +566 -62
- package/dist/wire/capabilities.js.map +1 -1
- package/dist/wire/pkt-line.d.ts +293 -15
- package/dist/wire/pkt-line.d.ts.map +1 -1
- package/dist/wire/pkt-line.js +251 -15
- package/dist/wire/pkt-line.js.map +1 -1
- package/dist/wire/receive-pack.d.ts +814 -64
- package/dist/wire/receive-pack.d.ts.map +1 -1
- package/dist/wire/receive-pack.js +542 -41
- package/dist/wire/receive-pack.js.map +1 -1
- package/dist/wire/smart-http.d.ts +575 -97
- package/dist/wire/smart-http.d.ts.map +1 -1
- package/dist/wire/smart-http.js +337 -46
- package/dist/wire/smart-http.js.map +1 -1
- package/dist/wire/upload-pack.d.ts +492 -98
- package/dist/wire/upload-pack.d.ts.map +1 -1
- package/dist/wire/upload-pack.js +347 -59
- package/dist/wire/upload-pack.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Git Web Command - Shareable Diff Preview URLs
|
|
3
|
+
*
|
|
4
|
+
* This module implements the `gitx web` command which generates shareable
|
|
5
|
+
* HTML previews of diffs. Features include:
|
|
6
|
+
* - Converting diff output to styled HTML with syntax highlighting
|
|
7
|
+
* - Uploading to a preview service and returning a shareable URL
|
|
8
|
+
* - Configurable expiration times (minutes, hours, days)
|
|
9
|
+
* - Progress callbacks for upload status
|
|
10
|
+
* - ANSI escape code to HTML conversion for terminal output
|
|
11
|
+
*
|
|
12
|
+
* @module cli/commands/web
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* // Generate HTML from diff
|
|
16
|
+
* const html = await generateHTML(diffResult)
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* // Upload and get shareable URL
|
|
20
|
+
* const result = await uploadPreview(html, { expires: '24h' })
|
|
21
|
+
* console.log(`Share this URL: ${result.url}`)
|
|
22
|
+
* console.log(`Expires: ${result.expiresAt}`)
|
|
23
|
+
*/
|
|
24
|
+
import type { CommandContext } from '../index';
|
|
25
|
+
import type { DiffResult } from './diff';
|
|
26
|
+
/**
|
|
27
|
+
* Options for the web command.
|
|
28
|
+
*
|
|
29
|
+
* @description Configuration options controlling the upload behavior,
|
|
30
|
+
* expiration, and progress tracking.
|
|
31
|
+
*
|
|
32
|
+
* @property expires - Expiration duration (e.g., '30m', '1h', '7d')
|
|
33
|
+
* @property open - Open URL in default browser after upload
|
|
34
|
+
* @property endpoint - Custom upload endpoint URL
|
|
35
|
+
* @property timeout - Upload timeout in milliseconds
|
|
36
|
+
* @property onProgress - Callback for upload progress updates
|
|
37
|
+
*/
|
|
38
|
+
export interface WebOptions {
|
|
39
|
+
/** Expiration time for the preview (e.g., '1h', '24h', '7d') */
|
|
40
|
+
expires?: string;
|
|
41
|
+
/** Open the URL in browser after upload */
|
|
42
|
+
open?: boolean;
|
|
43
|
+
/** Custom upload endpoint */
|
|
44
|
+
endpoint?: string;
|
|
45
|
+
/** Upload timeout in milliseconds */
|
|
46
|
+
timeout?: number;
|
|
47
|
+
/** Progress callback */
|
|
48
|
+
onProgress?: ProgressCallback;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Result of the web command.
|
|
52
|
+
*
|
|
53
|
+
* @description Contains the shareable URL and expiration information
|
|
54
|
+
* returned after a successful upload.
|
|
55
|
+
*
|
|
56
|
+
* @property url - The shareable preview URL
|
|
57
|
+
* @property expiresAt - When the preview will expire
|
|
58
|
+
* @property openedInBrowser - Whether the browser was opened to the URL
|
|
59
|
+
*/
|
|
60
|
+
export interface WebResult {
|
|
61
|
+
/** The shareable URL */
|
|
62
|
+
url: string;
|
|
63
|
+
/** When the preview expires */
|
|
64
|
+
expiresAt: Date | string;
|
|
65
|
+
/** Whether browser was opened */
|
|
66
|
+
openedInBrowser?: boolean;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Result of an upload operation.
|
|
70
|
+
*
|
|
71
|
+
* @description Contains the URL, expiration, and unique ID for the
|
|
72
|
+
* uploaded preview content.
|
|
73
|
+
*
|
|
74
|
+
* @property url - The shareable preview URL
|
|
75
|
+
* @property expiresAt - When the preview will expire (Date or ISO string)
|
|
76
|
+
* @property id - Unique identifier for the upload
|
|
77
|
+
*/
|
|
78
|
+
export interface UploadResult {
|
|
79
|
+
/** The shareable URL */
|
|
80
|
+
url: string;
|
|
81
|
+
/** When the preview expires */
|
|
82
|
+
expiresAt: Date | string;
|
|
83
|
+
/** Unique ID of the upload */
|
|
84
|
+
id: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Callback for upload progress updates.
|
|
88
|
+
*
|
|
89
|
+
* @description Called during upload with progress percentage (0-100).
|
|
90
|
+
*
|
|
91
|
+
* @param progress - Upload progress as percentage (0-100)
|
|
92
|
+
*/
|
|
93
|
+
export type ProgressCallback = (progress: number) => void;
|
|
94
|
+
/**
|
|
95
|
+
* Execute the web command from the CLI.
|
|
96
|
+
*
|
|
97
|
+
* @description Main entry point for the `gitx web` command. Gets the current
|
|
98
|
+
* diff, converts it to HTML, uploads it, and returns the shareable URL.
|
|
99
|
+
*
|
|
100
|
+
* @param ctx - Command context with cwd, options, and output functions
|
|
101
|
+
* @returns Promise resolving to web result with URL and expiration
|
|
102
|
+
* @throws {Error} If upload fails
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* // CLI usage
|
|
106
|
+
* // gitx web - Upload current diff with 24h expiry
|
|
107
|
+
* // gitx web --expires 7d - Upload with 7 day expiry
|
|
108
|
+
* // gitx web --open - Upload and open in browser
|
|
109
|
+
*/
|
|
110
|
+
export declare function webCommand(ctx: CommandContext): Promise<WebResult>;
|
|
111
|
+
/**
|
|
112
|
+
* Generate HTML document from diff result.
|
|
113
|
+
*
|
|
114
|
+
* @description Converts a diff result into a styled HTML document ready
|
|
115
|
+
* for viewing in a browser. Delegates to generateStandaloneHTML.
|
|
116
|
+
*
|
|
117
|
+
* @param diff - Diff result with entries and stats
|
|
118
|
+
* @returns Promise resolving to complete HTML document string
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* const html = await generateHTML(diffResult)
|
|
122
|
+
* // Returns full HTML document with CSS and navigation
|
|
123
|
+
*/
|
|
124
|
+
export declare function generateHTML(diff: DiffResult): Promise<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Generate standalone HTML with no external dependencies.
|
|
127
|
+
*
|
|
128
|
+
* @description Creates a complete HTML document with inline CSS that can be
|
|
129
|
+
* viewed without any external resources. Includes:
|
|
130
|
+
* - GitHub-style dark theme styling
|
|
131
|
+
* - File navigation sidebar
|
|
132
|
+
* - Syntax-highlighted diff content
|
|
133
|
+
* - Summary statistics
|
|
134
|
+
*
|
|
135
|
+
* @param diff - Diff result with entries and stats
|
|
136
|
+
* @returns Promise resolving to complete HTML document string
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* const html = await generateStandaloneHTML(diffResult)
|
|
140
|
+
* await fs.writeFile('preview.html', html)
|
|
141
|
+
* // Open preview.html in browser - works offline
|
|
142
|
+
*/
|
|
143
|
+
export declare function generateStandaloneHTML(diff: DiffResult): Promise<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Convert ANSI escape codes to HTML spans with appropriate classes.
|
|
146
|
+
*
|
|
147
|
+
* @description Parses ANSI escape sequences (color codes) in terminal output
|
|
148
|
+
* and converts them to HTML `<span>` elements with CSS classes for styling.
|
|
149
|
+
* Supports:
|
|
150
|
+
* - Basic 16 ANSI colors (30-37, 90-97)
|
|
151
|
+
* - 256-color mode (38;5;N)
|
|
152
|
+
* - 24-bit RGB color (38;2;R;G;B)
|
|
153
|
+
* - Reset code (0)
|
|
154
|
+
*
|
|
155
|
+
* @param ansiText - Text containing ANSI escape sequences
|
|
156
|
+
* @returns HTML string with escape sequences converted to spans
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* const html = convertAnsiToHTML('\x1b[32mgreen text\x1b[0m')
|
|
160
|
+
* // '<span class="ansi-green ansi-addition">green text</span>'
|
|
161
|
+
*/
|
|
162
|
+
export declare function convertAnsiToHTML(ansiText: string): string;
|
|
163
|
+
/**
|
|
164
|
+
* Upload HTML preview and return shareable URL.
|
|
165
|
+
*
|
|
166
|
+
* @description Uploads the HTML content to a preview service and returns
|
|
167
|
+
* a shareable URL. Supports custom endpoints, timeouts, and progress tracking.
|
|
168
|
+
*
|
|
169
|
+
* If no endpoint is provided, returns a mock URL for local/testing use.
|
|
170
|
+
*
|
|
171
|
+
* @param html - HTML content to upload
|
|
172
|
+
* @param options - Upload options (expires, endpoint, timeout, onProgress)
|
|
173
|
+
* @returns Promise resolving to upload result with URL and expiration
|
|
174
|
+
* @throws {Error} If request times out
|
|
175
|
+
* @throws {Error} If server returns an error (5xx)
|
|
176
|
+
* @throws {Error} If authentication fails (401, 403)
|
|
177
|
+
* @throws {Error} If network error occurs
|
|
178
|
+
*
|
|
179
|
+
* @example
|
|
180
|
+
* // Basic upload with default expiration (24h)
|
|
181
|
+
* const result = await uploadPreview(html)
|
|
182
|
+
* console.log(result.url)
|
|
183
|
+
*
|
|
184
|
+
* @example
|
|
185
|
+
* // Upload with custom options
|
|
186
|
+
* const result = await uploadPreview(html, {
|
|
187
|
+
* expires: '7d',
|
|
188
|
+
* timeout: 30000,
|
|
189
|
+
* onProgress: (p) => console.log(`${p}% uploaded`)
|
|
190
|
+
* })
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
* // Upload to custom endpoint
|
|
194
|
+
* const result = await uploadPreview(html, {
|
|
195
|
+
* endpoint: 'https://my-server.com/upload'
|
|
196
|
+
* })
|
|
197
|
+
*/
|
|
198
|
+
export declare function uploadPreview(html: string, options?: WebOptions): Promise<UploadResult>;
|
|
199
|
+
//# sourceMappingURL=web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/web.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAiC,MAAM,QAAQ,CAAA;AAQvE;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,UAAU;IACzB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,qCAAqC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,wBAAwB;IACxB,UAAU,CAAC,EAAE,gBAAgB,CAAA;CAC9B;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,SAAS;IACxB,wBAAwB;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,+BAA+B;IAC/B,SAAS,EAAE,IAAI,GAAG,MAAM,CAAA;IACxB,iCAAiC;IACjC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,YAAY;IAC3B,wBAAwB;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,+BAA+B;IAC/B,SAAS,EAAE,IAAI,GAAG,MAAM,CAAA;IACxB,8BAA8B;IAC9B,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;AAazD;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,UAAU,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC,CAqCxE;AAMD;;;;;;;;;;;;GAYG;AACH,wBAAsB,YAAY,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAEpE;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAqO9E;AAiCD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAiC1D;AA0FD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAsB,aAAa,CACjC,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,UAAU,GACnB,OAAO,CAAC,YAAY,CAAC,CAiIvB"}
|