@diphyx/harlemify 5.4.1 → 5.4.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/module.json
CHANGED
|
@@ -23,7 +23,7 @@ export interface ViewMergeDefinition<MD extends ModelDefinitions, K extends read
|
|
|
23
23
|
resolver: ViewMergeDefinitionResolver<MD, K, R>;
|
|
24
24
|
options?: ViewDefinitionOptions;
|
|
25
25
|
}
|
|
26
|
-
export type ViewDefinition<MD extends ModelDefinitions> = ViewFromDefinition<MD,
|
|
26
|
+
export type ViewDefinition<MD extends ModelDefinitions> = ViewFromDefinition<MD, any, any> | ViewMergeDefinition<MD, any, any>;
|
|
27
27
|
export type ViewDefinitions<MD extends ModelDefinitions> = Record<string, ViewDefinition<MD>>;
|
|
28
28
|
export type ViewDefinitionInfer<MD extends ModelDefinitions, VD extends ViewDefinition<MD>> = VD extends ViewFromDefinition<MD, infer _K, infer R> ? R : VD extends ViewMergeDefinition<MD, infer _K, infer R> ? R : never;
|
|
29
29
|
export interface ViewFactory<MD extends ModelDefinitions> {
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export { ViewClone } from "./core/types/view.js";
|
|
|
8
8
|
export type { ViewDefinitionOptions } from "./core/types/view.js";
|
|
9
9
|
export { ActionStatus, ActionConcurrent, ActionType, ActionApiMethod } from "./core/types/action.js";
|
|
10
10
|
export type { ActionCall, ActionApiCall, ActionHandlerCall, ActionCallOptions, ActionCallBaseOptions, ActionApiCallOptions, ActionHandlerCallOptions, ActionCallTransformerOptions, ActionCallBindOptions, ActionCallCommitOptions, ActionHandlerOptions, ActionResolvedApi, } from "./core/types/action.js";
|
|
11
|
-
export { ActionApiError, ActionHandlerError, ActionCommitError, ActionConcurrentError } from "./core/utils/error.js";
|
|
11
|
+
export { ActionApiError, ActionHandlerError, ActionCommitError, ActionConcurrentError, isError, toError } from "./core/utils/error.js";
|
|
12
12
|
export type { ComposeCallback, ComposeCall, ComposeDefinitions, ComposeContext, StoreCompose, } from "./core/types/compose.js";
|
|
13
13
|
export { useStoreCompose } from "./composables/compose.js";
|
|
14
14
|
export type { UseStoreCompose } from "./composables/compose.js";
|
package/dist/runtime/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { shape } from "./core/layers/shape.js";
|
|
|
3
3
|
export { ModelType, ModelManyKind, ModelOneMode, ModelManyMode, ModelSilent } from "./core/types/model.js";
|
|
4
4
|
export { ViewClone } from "./core/types/view.js";
|
|
5
5
|
export { ActionStatus, ActionConcurrent, ActionType, ActionApiMethod } from "./core/types/action.js";
|
|
6
|
-
export { ActionApiError, ActionHandlerError, ActionCommitError, ActionConcurrentError } from "./core/utils/error.js";
|
|
6
|
+
export { ActionApiError, ActionHandlerError, ActionCommitError, ActionConcurrentError, isError, toError } from "./core/utils/error.js";
|
|
7
7
|
export { useStoreCompose } from "./composables/compose.js";
|
|
8
8
|
export { useIsolatedActionStatus, useIsolatedActionError, useStoreAction } from "./composables/action.js";
|
|
9
9
|
export { useStoreModel } from "./composables/model.js";
|