vue-fn 0.1.0-rc.5 → 0.2.0-rc
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/domain/event.d.ts +3 -3
- package/domain/index.mjs +272 -272
- package/domain/index.mjs.map +1 -1
- package/domain-server/event.d.ts +3 -3
- package/domain-server/index.mjs +272 -272
- package/domain-server/index.mjs.map +1 -1
- package/package.json +1 -1
package/domain/event.d.ts
CHANGED
|
@@ -36,8 +36,8 @@ export type DomainBroadcastEventListener<DATA> = (param: {
|
|
|
36
36
|
}) => void;
|
|
37
37
|
export type DomainDestroyedEventApi = DomainBroadcastEvent<{}>['api'];
|
|
38
38
|
export type DomainEvent<DATA, REPLY_DATA> = DomainRequestEvent<DATA, REPLY_DATA> | DomainBroadcastEvent<DATA>;
|
|
39
|
-
export declare function createRequestEvent<
|
|
40
|
-
options: <ON_REPLY extends (replyData:
|
|
39
|
+
export declare function createRequestEvent<EVT_DATA extends object = never, REPLY_DATA = void>(): {
|
|
40
|
+
options: <ON_REPLY extends (replyData: REPLY_DATA) => void>(options: DomainRequestEventOptions<EVT_DATA, ON_REPLY>) => DomainRequestEvent<EVT_DATA, REPLY_DATA>;
|
|
41
41
|
};
|
|
42
|
-
export declare function createBroadcastEvent<
|
|
42
|
+
export declare function createBroadcastEvent<EVT_DATA extends object = never>(): DomainBroadcastEvent<EVT_DATA>;
|
|
43
43
|
export declare function largeNumberIncrease(num1: string): string;
|