@effect-app/vue 4.0.0-beta.108 → 4.0.0-beta.109
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/CHANGELOG.md +6 -0
- package/dist/commander.d.ts +2 -2
- package/dist/makeUseCommand.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/commander.d.ts
CHANGED
|
@@ -205,9 +205,9 @@ type ErrorRenderer<E, Args extends readonly any[]> = (e: E, action: string, ...a
|
|
|
205
205
|
export declare const CommanderStatic: {
|
|
206
206
|
accessArgs: <In, Out, Arg2, Arg = void>(cb: (a: NoInfer<Arg>, b: NoInfer<Arg2>) => (self: NoInfer<In>) => Out) => (self: In, arg: Arg, arg2: Arg2) => Out;
|
|
207
207
|
/** Version of @see confirmOrInterrupt that automatically includes the action name in the default messages */
|
|
208
|
-
confirmOrInterrupt: (message?: string | undefined) => Effect.Effect<void, never,
|
|
208
|
+
confirmOrInterrupt: (message?: string | undefined) => Effect.Effect<void, never, Confirm | I18n | CommandContext>;
|
|
209
209
|
/** Version of @see confirm that automatically includes the action name in the default messages */
|
|
210
|
-
confirm: (message?: string | undefined) => Effect.Effect<boolean, never,
|
|
210
|
+
confirm: (message?: string | undefined) => Effect.Effect<boolean, never, Confirm | I18n | CommandContext>;
|
|
211
211
|
updateAction: <Args extends Array<unknown>>(update: (currentActionId: string, ...args: Args) => string) => <A, E, R>(_: Effect.Effect<A, E, R>, ...input: Args) => Effect.Effect<A, E, CommandContext | R>;
|
|
212
212
|
defaultFailureMessageHandler: <E, Args extends Array<unknown>, AME, AMR>(actionMaker: string | ((o: Option.Option<E>, ...args: Args) => string) | ((o: Option.Option<E>, ...args: Args) => Effect.Effect<string, AME, AMR>), errorRenderer?: ErrorRenderer<E, Args>) => (o: Option.Option<E>, ...args: Args) => Effect.Effect<string | {
|
|
213
213
|
level: "warn";
|
package/dist/makeUseCommand.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ import { Commander, type CommanderImpl, CommanderStatic } from "./commander.js";
|
|
|
3
3
|
type X<X> = X;
|
|
4
4
|
export interface CommanderResolved<RT, RTHooks> extends X<typeof CommanderStatic>, Pick<CommanderImpl<RT, RTHooks>, "fn" | "wrap" | "alt" | "alt2"> {
|
|
5
5
|
}
|
|
6
|
-
export declare const makeUseCommand: <R = never, RTHooks = never>(rtHooks: Layer.Layer<RTHooks, never, R>) => Effect.Effect<CommanderResolved<R, RTHooks>, never,
|
|
6
|
+
export declare const makeUseCommand: <R = never, RTHooks = never>(rtHooks: Layer.Layer<RTHooks, never, R>) => Effect.Effect<CommanderResolved<R, RTHooks>, never, Commander | R>;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=makeUseCommand.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/vue",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.109",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/effect-ts-app/libs/tree/main/packages/vue",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@vueuse/core": "^14.2.1",
|
|
12
12
|
"change-case": "^5.4.4",
|
|
13
13
|
"query-string": "^9.3.1",
|
|
14
|
-
"effect-app": "4.0.0-beta.
|
|
14
|
+
"effect-app": "4.0.0-beta.109"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@effect/atom-vue": "^4.0.0-beta.47",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"typescript": "~6.0.2",
|
|
31
31
|
"vite": "^8.0.6",
|
|
32
32
|
"vitest": "^4.1.3",
|
|
33
|
-
"@effect-app/eslint-shared-config": "0.
|
|
33
|
+
"@effect-app/eslint-shared-config": "0.6.0-beta.10"
|
|
34
34
|
},
|
|
35
35
|
"typesVersions": {
|
|
36
36
|
"*": {
|