Skip to content

Commit 5b25606

Browse files
committed
poc(biome): run biome check/fix on graph-framework-space-events
1 parent bd8333d commit 5b25606

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

packages/graph-framework-space-events/src/create-invitation.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { expect, it } from 'vitest';
2+
23
import { applyEvent } from './apply-event.js';
34
import { createInvitation } from './create-invitation.js';
45
import { createSpace } from './create-space.js';

packages/graph-framework-space-events/src/create-space.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { expect, it } from 'vitest';
2+
23
import { applyEvent } from './apply-event.js';
34
import { createSpace } from './create-space.js';
45

packages/graph-framework-space-events/src/create-space.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
import { generateId } from "graph-framework-utils";
2-
import type { Author, SpaceEvent } from "./types.js";
1+
import { generateId } from 'graph-framework-utils';
2+
3+
import type { Author, SpaceEvent } from './types.js';
34

45
type Params = {
56
author: Author;
67
};
78

89
export const createSpace = ({ author }: Params): SpaceEvent => {
910
const transaction = {
10-
type: "create-space" as const,
11+
type: 'create-space' as const,
1112
id: generateId(),
1213
creatorSignaturePublicKey: author.signaturePublicKey,
1314
creatorEncryptionPublicKey: author.encryptionPublicKey,
1415
};
1516
// TODO canonicalize, hash and sign the transaction
16-
const signature = "";
17+
const signature = '';
1718

1819
return {
1920
transaction,

packages/graph-framework-space-events/src/delete-space.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { expect, it } from 'vitest';
2+
23
import { applyEvent } from './apply-event.js';
34
import { createSpace } from './create-space.js';
45
import { deleteSpace } from './delete-space.js';

0 commit comments

Comments
 (0)