@h3ravel/shared 0.30.0 → 0.30.2
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/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/// <reference path="./app.globals.d.ts" />
|
|
2
|
+
import { Options, Ora } from "ora";
|
|
2
3
|
import { Separator } from "@inquirer/prompts";
|
|
3
4
|
import { ChoiceOrSeparatorArray, ChoiceOrSeparatorArray as ChoiceOrSeparatorArray$1 } from "inquirer-autocomplete-standalone";
|
|
4
5
|
import { ChalkInstance } from "chalk";
|
|
5
6
|
import { ClassConstructor, IPathName } from "@h3ravel/contracts";
|
|
6
|
-
import * as ora0 from "ora";
|
|
7
|
-
import { Options } from "ora";
|
|
8
7
|
|
|
9
8
|
//#region src/Container.d.ts
|
|
10
9
|
declare const INTERNAL_METHODS: unique symbol;
|
|
@@ -63,6 +62,7 @@ type Choice<Value> = {
|
|
|
63
62
|
};
|
|
64
63
|
type ISeparator = Separator;
|
|
65
64
|
type Choices = readonly (string | Separator)[] | readonly (Separator | Choice<string>)[];
|
|
65
|
+
type Spinner = Ora;
|
|
66
66
|
//#endregion
|
|
67
67
|
//#region src/Utils/Console.d.ts
|
|
68
68
|
declare class Console {
|
|
@@ -480,7 +480,7 @@ declare class Prompts extends Logger {
|
|
|
480
480
|
* @param options The spinner options
|
|
481
481
|
* @returns
|
|
482
482
|
*/
|
|
483
|
-
static spinner(options?: string | Options | undefined):
|
|
483
|
+
static spinner(options?: string | Options | undefined): Spinner;
|
|
484
484
|
/**
|
|
485
485
|
* Allows users to select multiple options from a predefined list of choices.
|
|
486
486
|
*
|
|
@@ -571,4 +571,4 @@ declare class TaskManager {
|
|
|
571
571
|
static advancedTaskRunner<R = any>(info: [[string, string], [string, string]] | [[string, string]], task: (() => Promise<R>) | (() => R)): Promise<R | undefined>;
|
|
572
572
|
}
|
|
573
573
|
//#endregion
|
|
574
|
-
export { Choice, type ChoiceOrSeparatorArray, Choices, Console, Derived, DotFlatten, DotNestedKeys, DotNestedValue, EnvParser, FileSystem, Finalizable, GenericWithNullableStringValues, INTERNAL_METHODS, ISeparator, Logger, LoggerChalk, LoggerLog, LoggerParseSignature, Magic, PathLoader, Prompts, Resolver, TaskManager, Trait, UseMagic, baseTsconfig, crc32, internal, isInternal, mainTsconfig, makeMagic, makeStaticMagic, mix, packageJsonScript, trait, use, uses };
|
|
574
|
+
export { Choice, type ChoiceOrSeparatorArray, Choices, Console, Derived, DotFlatten, DotNestedKeys, DotNestedValue, EnvParser, FileSystem, Finalizable, GenericWithNullableStringValues, INTERNAL_METHODS, ISeparator, Logger, LoggerChalk, LoggerLog, LoggerParseSignature, Magic, PathLoader, Prompts, Resolver, Spinner, TaskManager, Trait, UseMagic, baseTsconfig, crc32, internal, isInternal, mainTsconfig, makeMagic, makeStaticMagic, mix, packageJsonScript, trait, use, uses };
|