Skip to content

Commit 19e3620

Browse files
committed
Build source files
1 parent d7b8ba6 commit 19e3620

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+2002
-672
lines changed

dist/actions.d.ts

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
import { VuexModule } from "./module";
1+
import { ActionDescriptor, ActionOption, VuexModule } from "./interfaces";
22
import { ActionContext } from 'vuex';
3-
export declare type ActionDescriptor = TypedPropertyDescriptor<(payload?: any) => Promise<any>>;
4-
export interface ActionRegister {
5-
name: string;
6-
descriptor: ActionDescriptor;
7-
}
8-
export interface ActionOption {
9-
mode?: "mutate" | "raw";
10-
}
11-
export declare function action(options?: ActionOption): any;
3+
export declare const internalAction: (state: any, context: any) => undefined;
4+
export declare function action(options?: ActionOption): (target: any, key: string, descriptor: ActionDescriptor) => any;
125
export declare function action(target: any, key: string, descriptor: ActionDescriptor): any;
136
export declare function getRawActionContext<T extends VuexModule, R>(thisArg: ThisType<T>): ActionContext<T, R>;
14-
export declare function getMutatedActions(cls: typeof VuexModule): Record<any, any>;

dist/actions.js

Lines changed: 30 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/actions.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/getters.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export declare function getter(target: any, propertyKey: string): void;
1+
export declare const internalGetter: (state: any, context: any) => (field: string) => any;

dist/getters.js

Lines changed: 28 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/getters.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/getters.legacy.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export declare const getter: (target: any, propertyKey: string) => void;

dist/getters.legacy.js

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/getters.legacy.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.d.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
export { VuexModule, Module } from "./module";
2-
export { mutation } from "./mutations";
1+
export { extractVuexModule, createModule } from "./module";
2+
export { createSubModule } from "./submodule";
3+
export { createProxy, clearProxyCache } from "./proxy";
34
export { action, getRawActionContext } from "./actions";
4-
export { getter } from "./getters";
5+
export { mutation } from "./mutations";
6+
export { Module, LegacyVuexModule as VuexModule } from "./module.legacy";
7+
export { getter } from "./getters.legacy";

0 commit comments

Comments
 (0)