Skip to content

Commit

Permalink
biome import organising
Browse files Browse the repository at this point in the history
  • Loading branch information
JanLewDev committed Aug 30, 2024
1 parent bd09509 commit be679a8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/crdt/src/cros/AddWinsSet/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
ActionType,
type ResolveConflictsType,
SemanticsType,
type CRO,
type Operation,
type ResolveConflictsType,
SemanticsType,
type Vertex,
} from "@topology-foundation/object";

Expand Down
2 changes: 1 addition & 1 deletion packages/object/src/hashgraph.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as crypto from "node:crypto";
import { linearizePairWise } from "./linearize/pair-wiseSemantics.js";
import { linearizeMultiVertex } from "./linearize/multi-vertexSemantics.js";
import { linearizePairWise } from "./linearize/pair-wiseSemantics.js";

export type Hash = string;
export type Operation<T> = { type: string; value: T | null };
Expand Down
4 changes: 2 additions & 2 deletions packages/object/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import {
type ActionType,
HashGraph,
type Operation,
type Vertex,
type SemanticsType,
type ResolveConflictsType,
type SemanticsType,
type Vertex,
} from "./hashgraph.js";
import type { TopologyObjectBase } from "./proto/object_pb.js";
import { compileWasm } from "./wasm/compiler.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/object/src/linearize/multi-vertexSemantics.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
ActionType,
type Hash,
type HashGraph,
type Operation,
type Hash,
type Vertex,
} from "../hashgraph.js";

Expand Down
2 changes: 1 addition & 1 deletion packages/object/src/linearize/pair-wiseSemantics.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type HashGraph, ActionType, type Operation } from "../hashgraph.js";
import { ActionType, type HashGraph, type Operation } from "../hashgraph.js";

export function linearizePairWise<T>(hashGraph: HashGraph<T>): Operation<T>[] {
const order = hashGraph.topologicalSort();
Expand Down

0 comments on commit be679a8

Please sign in to comment.