Skip to content

@cyber-eco/typesDocs


JustSplit

Deprecated

Import types directly from '@cyber-eco/types' instead

Interfaces

JustSplitUser

Deprecated

Use BaseUser + User.apps instead

Extends

Properties

balance

balance: number

Defined in

justsplit/types.ts:23

preferredCurrency

preferredCurrency: string

Defined in

justsplit/types.ts:24

friends

friends: string[]

Defined in

justsplit/types.ts:25

friendRequestsSent

friendRequestsSent: string[]

Defined in

justsplit/types.ts:26

friendRequestsReceived

friendRequestsReceived: string[]

Defined in

justsplit/types.ts:27

phoneNumber?

optional phoneNumber: string

Defined in

justsplit/types.ts:28

hubUserId?

optional hubUserId: string

Defined in

justsplit/types.ts:29

permissions?

optional permissions: string[]

Defined in

justsplit/types.ts:30

id

id: string

Inherited from

BaseUser.id

Defined in

user.ts:7

name

name: string

Inherited from

BaseUser.name

Defined in

user.ts:8

email?

optional email: string

Inherited from

BaseUser.email

Defined in

user.ts:9

avatarUrl?

optional avatarUrl: string

Inherited from

BaseUser.avatarUrl

Defined in

user.ts:10

createdAt?

optional createdAt: string

Inherited from

BaseUser.createdAt

Defined in

user.ts:11

updatedAt?

optional updatedAt: string

Inherited from

BaseUser.updatedAt

Defined in

user.ts:12


Event

Event for group activities.

Deprecated

Will be promoted to a universal type or removed.

Properties

id

id: string

Defined in

justsplit/types.ts:48

name

name: string

Defined in

justsplit/types.ts:49

description?

optional description: string

Defined in

justsplit/types.ts:50

date

date: string

Defined in

justsplit/types.ts:51

startDate

startDate: string

Defined in

justsplit/types.ts:52

endDate?

optional endDate: string

Defined in

justsplit/types.ts:53

location?

optional location: string

Defined in

justsplit/types.ts:54

createdAt

createdAt: string

Defined in

justsplit/types.ts:55

updatedAt?

optional updatedAt: string

Defined in

justsplit/types.ts:56

createdBy

createdBy: string

Defined in

justsplit/types.ts:57

members

members: string[]

Defined in

justsplit/types.ts:58

expenseIds

expenseIds: string[]

Defined in

justsplit/types.ts:59

groupId?

optional groupId: string

Defined in

justsplit/types.ts:60

preferredCurrency?

optional preferredCurrency: string

Defined in

justsplit/types.ts:61

memberIds?

optional memberIds: string[]

Denormalized member IDs for Firestore security rule checks. For group events, copied from ExpenseGroup.memberIds. For standalone events, set to the event's own members array.

Defined in

justsplit/types.ts:67

Type Aliases

Group

Group: ExpenseGroup

Deprecated

Use ExpenseGroup from '@cyber-eco/types' instead

Defined in

justsplit/types.ts:36


Expense

Expense: Expense

Deprecated

Use Expense from '@cyber-eco/types' instead

Defined in

justsplit/types.ts:41


Settlement

Settlement: Settlement

Deprecated

Use Settlement from '@cyber-eco/types' instead

Defined in

justsplit/types.ts:73


Participant

Participant: ExpenseSplit

Deprecated

Use ExpenseSplit from '@cyber-eco/types' instead

Defined in

justsplit/types.ts:78