From be679a8f4af390a7ef5c0a963cddec95a90dedef Mon Sep 17 00:00:00 2001 From: Jan Lewandowski Date: Fri, 30 Aug 2024 14:47:51 +0900 Subject: [PATCH] biome import organising --- packages/crdt/src/cros/AddWinsSet/index.ts | 4 ++-- packages/object/src/hashgraph.ts | 2 +- packages/object/src/index.ts | 4 ++-- packages/object/src/linearize/multi-vertexSemantics.ts | 2 +- packages/object/src/linearize/pair-wiseSemantics.ts | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/crdt/src/cros/AddWinsSet/index.ts b/packages/crdt/src/cros/AddWinsSet/index.ts index 10713580..4fce7f5c 100644 --- a/packages/crdt/src/cros/AddWinsSet/index.ts +++ b/packages/crdt/src/cros/AddWinsSet/index.ts @@ -1,9 +1,9 @@ import { ActionType, - type ResolveConflictsType, - SemanticsType, type CRO, type Operation, + type ResolveConflictsType, + SemanticsType, type Vertex, } from "@topology-foundation/object"; diff --git a/packages/object/src/hashgraph.ts b/packages/object/src/hashgraph.ts index f6153935..946295ec 100644 --- a/packages/object/src/hashgraph.ts +++ b/packages/object/src/hashgraph.ts @@ -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 = { type: string; value: T | null }; diff --git a/packages/object/src/index.ts b/packages/object/src/index.ts index f67dea19..9b34a10b 100644 --- a/packages/object/src/index.ts +++ b/packages/object/src/index.ts @@ -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"; diff --git a/packages/object/src/linearize/multi-vertexSemantics.ts b/packages/object/src/linearize/multi-vertexSemantics.ts index 95946104..f18654c8 100644 --- a/packages/object/src/linearize/multi-vertexSemantics.ts +++ b/packages/object/src/linearize/multi-vertexSemantics.ts @@ -1,8 +1,8 @@ import { ActionType, + type Hash, type HashGraph, type Operation, - type Hash, type Vertex, } from "../hashgraph.js"; diff --git a/packages/object/src/linearize/pair-wiseSemantics.ts b/packages/object/src/linearize/pair-wiseSemantics.ts index 4a86a29a..d443db5d 100644 --- a/packages/object/src/linearize/pair-wiseSemantics.ts +++ b/packages/object/src/linearize/pair-wiseSemantics.ts @@ -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(hashGraph: HashGraph): Operation[] { const order = hashGraph.topologicalSort();