Skip to content

feat: add inboxes (wip) #406

feat: add inboxes (wip)

feat: add inboxes (wip) #406

Triggered via push February 12, 2025 15:43
Status Failure
Total duration 44s
Artifacts
Install deps, build required package, typecheck, lint and test
32s
Install deps, build required package, typecheck, lint and test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Install deps, build required package, typecheck, lint and test: packages/hypergraph/src/inboxes/create-inbox.ts#L59
No value exists in scope for the shorthand property 'requiresAuth'. Either declare one or provide an initializer.
Install deps, build required package, typecheck, lint and test: packages/hypergraph/src/inboxes/create-inbox.ts#L69
'"/home/runner/work/hypergraph/hypergraph/packages/hypergraph/src/messages/index"' has no exported member named 'RequestCreateSpaceInbox'. Did you mean 'RequestCreateSpaceEvent'?
Install deps, build required package, typecheck, lint and test: packages/hypergraph/src/inboxes/create-inbox.ts#L75
'encryptedInboxSecretKey' is declared but its value is never read.
Install deps, build required package, typecheck, lint and test: packages/hypergraph/src/inboxes/create-inbox.ts#L91
Value of type 'Struct<{ transaction: Struct<{ type: Literal<["create-space-inbox"]>; id: typeof String$; spaceId: typeof String$; inboxId: typeof String$; encryptionPublicKey: typeof String$; previousEventHash: typeof String$; }>; author: Struct<...>; }>' is not callable. Did you mean to include 'new'?
Install deps, build required package, typecheck, lint and test: packages/hypergraph/src/space-events/apply-event.ts#L51
Type 'Effect<{ id: string; members: { [accountId: string]: { readonly accountId: string; readonly role: "admin" | "member"; }; }; removedMembers: { [accountId: string]: { readonly accountId: string; readonly role: "admin" | "member"; }; }; invitations: { ...; }; lastEventHash: string; }, InvalidIdentityError | ... 1 more ...' is not assignable to type 'Effect<{ readonly id: string; readonly members: { readonly [x: string]: { readonly accountId: string; readonly role: "admin" | "member"; }; }; readonly invitations: { readonly [x: string]: { readonly inviteeAccountId: string; }; }; readonly removedMembers: { ...; }; readonly inboxes: { ...; }; readonly lastEventHash...' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Install deps, build required package, typecheck, lint and test: packages/hypergraph-react/src/HypergraphAppContext.tsx#L551
'createSpaceInboxForContext' is declared but its value is never read.
Install deps, build required package, typecheck, lint and test: packages/hypergraph-react/src/HypergraphAppContext.tsx#L570
Property 'isPublic' does not exist on type 'SpaceStorageEntry'.
Install deps, build required package, typecheck, lint and test: packages/hypergraph-react/src/HypergraphAppContext.tsx#L571
Property 'authPolicy' does not exist on type 'SpaceStorageEntry'.
Install deps, build required package, typecheck, lint and test
Could not determine node version from /home/runner/work/hypergraph/hypergraph/package.json. Falling back