@h3ravel/shared 0.30.1 → 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 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +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 { Options, Ora } from "ora";
|
|
7
7
|
|
|
8
8
|
//#region src/Container.d.ts
|
|
9
9
|
declare const INTERNAL_METHODS: unique symbol;
|
|
@@ -62,6 +62,7 @@ type Choice<Value> = {
|
|
|
62
62
|
};
|
|
63
63
|
type ISeparator = Separator;
|
|
64
64
|
type Choices = readonly (string | Separator)[] | readonly (Separator | Choice<string>)[];
|
|
65
|
+
type Spinner = Ora;
|
|
65
66
|
//#endregion
|
|
66
67
|
//#region src/Utils/Console.d.ts
|
|
67
68
|
declare class Console {
|
|
@@ -479,7 +480,7 @@ declare class Prompts extends Logger {
|
|
|
479
480
|
* @param options The spinner options
|
|
480
481
|
* @returns
|
|
481
482
|
*/
|
|
482
|
-
static spinner(options?: string | Options | undefined):
|
|
483
|
+
static spinner(options?: string | Options | undefined): Spinner;
|
|
483
484
|
/**
|
|
484
485
|
* Allows users to select multiple options from a predefined list of choices.
|
|
485
486
|
*
|
|
@@ -570,4 +571,4 @@ declare class TaskManager {
|
|
|
570
571
|
static advancedTaskRunner<R = any>(info: [[string, string], [string, string]] | [[string, string]], task: (() => Promise<R>) | (() => R)): Promise<R | undefined>;
|
|
571
572
|
}
|
|
572
573
|
//#endregion
|
|
573
|
-
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 };
|