Skip to content

Commit e2938f5

Browse files
committed
moved stuff from utils into actions/helpers
1 parent 7fd1e57 commit e2938f5

File tree

7 files changed

+4
-6
lines changed

7 files changed

+4
-6
lines changed

dashi/src/lib/actions/configureFramework.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { store } from "@/lib/store";
22
import type { FrameworkOptions } from "@/lib/types/state/store";
3-
import { configureLogging } from "@/lib/utils/configureLogging";
3+
import { configureLogging } from "@/lib/actions/helpers/configureLogging";
44
import { handleHostStoreChange } from "./handleHostStoreChange";
55

66
export function configureFramework<S extends object = object>(

dashi/src/lib/actions/helpers/applyStateChangeRequests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type {
1010
import type { ContribPoint } from "@/lib/types/model/extension";
1111
import type { ContributionState } from "@/lib";
1212
import { updateArray } from "@/lib/utils/updateArray";
13-
import { isContainerState } from "@/lib/utils/isContainerState";
13+
import { isContainerState } from "@/lib/actions/helpers/isContainerState";
1414

1515
export function applyStateChangeRequests(
1616
stateChangeRequests: StateChangeRequest[],
File renamed without changes.

dashi/src/lib/actions/helpers/getInputValues.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Input } from "@/lib/types/model/channel";
22
import type { ContributionState } from "@/lib/types/state/contribution";
33
import type { ComponentState } from "@/lib/types/state/component";
44
import { isSubscriptable } from "@/lib/utils/isSubscriptable";
5-
import { isContainerState } from "@/lib/utils/isContainerState";
5+
import { isContainerState } from "@/lib/actions/helpers/isContainerState";
66

77
export function getInputValues<S extends object = object>(
88
inputs: Input[],
File renamed without changes.

dashi/src/lib/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,3 @@ export {
2020
useContributionsResult,
2121
useContributionsRecord,
2222
} from "@/lib/hooks";
23-
// Utilities
24-
export { configureLogging } from "@/lib/utils/configureLogging";

dashi/src/lib/types/state/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type {
66
import type { ApiResult } from "@/lib/utils/fetchApiResult";
77
import type { ContributionState } from "@/lib/types/state/contribution";
88
import type { ApiOptions } from "@/lib/api";
9-
import type { LoggingOptions } from "@/lib/utils/configureLogging";
9+
import type { LoggingOptions } from "@/lib/actions/helpers/configureLogging";
1010
import type { StoreApi } from "zustand";
1111

1212
export interface FrameworkOptions<S extends object = object> {

0 commit comments

Comments
 (0)