@lukoweb/apitogo 0.1.144 → 0.1.147
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type Spinner = {
|
|
2
|
+
update(text: string): void;
|
|
3
|
+
log(line: string): void;
|
|
4
|
+
stop(): void;
|
|
5
|
+
};
|
|
6
|
+
type SpinnerOptions = {
|
|
7
|
+
stream?: NodeJS.WriteStream;
|
|
8
|
+
silent?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare function stopAllSpinners(): void;
|
|
11
|
+
export declare function createSpinner(initialText: string, { stream, silent }?: SpinnerOptions): Spinner;
|
|
12
|
+
export declare function withSpinner<T>(text: string, fn: (spinner: Spinner) => Promise<T>, options?: SpinnerOptions): Promise<T>;
|
|
13
|
+
export {};
|
|
@@ -151,6 +151,7 @@ export declare function applyScaffoldManifestPolicy(manifest: DevPortalLocalMani
|
|
|
151
151
|
includeDefaultPlans?: boolean;
|
|
152
152
|
}): DevPortalLocalManifest;
|
|
153
153
|
export declare function mergePlansBySku(existing: ManifestPlanInput[] | undefined, patch: ManifestPlanInput[]): ManifestPlanInput[];
|
|
154
|
+
export declare function resolveBackendSourceDirectory(siteDirectory: string, sourceDirectory: string | undefined): string | undefined;
|
|
154
155
|
export declare function resolveBackendOpenApiPath(openApiPath: string | undefined, options: {
|
|
155
156
|
siteDirectory: string;
|
|
156
157
|
backendSourceDirectory?: string;
|
|
@@ -38,7 +38,10 @@ export declare function buildProgressSummary(options: {
|
|
|
38
38
|
terminalStatus: string;
|
|
39
39
|
};
|
|
40
40
|
export declare function createMcpProgressReporter(extra?: McpToolExtra): ProgressReporter;
|
|
41
|
-
export
|
|
41
|
+
export type ConsoleProgressReporter = ProgressReporter & {
|
|
42
|
+
stop(): void;
|
|
43
|
+
};
|
|
44
|
+
export declare function createConsoleProgressReporter(stream?: NodeJS.WritableStream): ConsoleProgressReporter;
|
|
42
45
|
export interface PollableJobValue {
|
|
43
46
|
status: string;
|
|
44
47
|
messages?: JobLogMessage[];
|