Module: native/types
Type aliases
AirtableData
Ƭ AirtableData: undefined | string | Image[] | Reply[]
AirtableQuestion
Ƭ AirtableQuestion: Object
Type declaration
| Name | Type |
|---|---|
_id | string |
id | string |
images? | Image[] |
question | string |
replies | string[] |
replyType | string |
AirtableRecord
Ƭ AirtableRecord: Object
Index signature
▪ [key: string]: AirtableData
AirtableReply
Ƭ AirtableReply: Object
Type declaration
| Name | Type |
|---|---|
_id | string |
id | string |
reply | string |
AuthParamList
Ƭ AuthParamList: Object
Type declaration
| Name | Type |
|---|---|
Debug? | Object |
Forgot? | Object |
MultiFactorAuthenticators | Object |
MultiFactorAuthenticators.accept? | boolean |
MultiFactorChallenge | Object |
MultiFactorChallenge.binding_method | string |
MultiFactorChallenge.name? | string |
MultiFactorChallenge.oob_code | string |
MultiFactorEnroll? | Object |
PasswordReset? | Object |
Register? | Object |
SignIn? | Object |
ComposerElement
Ƭ ComposerElement: (props: ComposerProps) => JSX.Element
Type declaration
▸ (props): JSX.Element
Parameters
| Name | Type |
|---|---|
props | ComposerProps |
Returns
JSX.Element
ComposerProps
Ƭ ComposerProps: Object
Type declaration
| Name | Type |
|---|---|
message | Message |
send | SendMethod |
ConversationProps
Ƭ ConversationProps: Object
Type declaration
| Name | Type |
|---|---|
customComponents? | customComponentsMapping |
navigation? | any |
onClose? | Function |
onMessage? | Function |
Image
Ƭ Image: Object
Type declaration
| Name | Type |
|---|---|
doc? | any |
thumbnails | ImageThumbnails |
url | string |
ImageData
Ƭ ImageData: Object
Type declaration
| Name | Type |
|---|---|
height | number |
url | string |
width | number |
ImageThumbnails
Ƭ ImageThumbnails: Object
Type declaration
| Name | Type |
|---|---|
full | ImageData |
large | ImageData |
small | ImageData |
Intake
Ƭ Intake: Object
Type declaration
| Name | Type |
|---|---|
checked_at | string |
count? | number |
datetime | string |
medication | string |
moment | IntakeMoment |
IntakeMoment
Ƭ IntakeMoment: Object
Type declaration
| Name | Type |
|---|---|
count? | number |
name | string |
time | string |
MaybeProject
Ƭ MaybeProject: Project | null
Medication
Ƭ Medication: Object
Type declaration
| Name | Type |
|---|---|
count? | number |
days? | number[] |
dose? | number |
id | string |
moments | IntakeMoment[] |
name | string |
period | string |
type | string |
unit? | string |
Message
Ƭ Message: Object
Type declaration
| Name | Type |
|---|---|
body | string |
doc | MessageDoc |
mid | string |
qid | string | null |
sender | string |
sent_at | string |
thread? | Thread |
tid | string |
user | Pick<Profile, "doc"> |
MessageDoc
Ƭ MessageDoc: Object
Index signature
▪ [key: string]: any
Type declaration
| Name | Type | Description |
|---|---|---|
assessment? | any | System messages |
id? | string | Questions |
images? | Image[] | - |
replies? | Reply[] | - |
reply? | Reply[] | Replies |
replyTo? | string | - |
replyType? | string | - |
startFlow? | string | - |
startFlows? | string[] | Flows |
stopFlow? | string | - |
MessageHelpers
Ƭ MessageHelpers: Object
Type declaration
| Name | Type |
|---|---|
merged? | boolean |
mergedReply? | Message |
rindex? | number |
Project
Ƭ Project: Object
Type declaration
| Name | Type |
|---|---|
config | any |
pid | string |
ProjectContext
Ƭ ProjectContext: Object
Type declaration
| Name | Type |
|---|---|
project | MaybeProject |
reload? | () => Promise<void> |
PushToken
Ƭ PushToken: Object
Type declaration
| Name | Type |
|---|---|
createdAt | string |
deviceId? | string |
deviceName? | string |
token | string |
Question
Ƭ Question: Object
Index signature
▪ [key: string]: AirtableData
Type declaration
| Name | Type |
|---|---|
id | string |
images? | Image[] |
question | string |
replies | Reply[] |
replyType | string |
Reply
Ƭ Reply: Object
Index signature
▪ [key: string]: AirtableData
Type declaration
| Name | Type |
|---|---|
id | string |
reply | string |
SendMethod
Ƭ SendMethod: (msg: SendMessage) => Promise<void>
Type declaration
▸ (msg): Promise<void>
Parameters
| Name | Type |
|---|---|
msg | SendMessage |
Returns
Promise<void>
Thread
Ƭ Thread: Object
Index signature
▪ [key: string]: any
Type declaration
| Name | Type |
|---|---|
messages | Message[] |
tid | string |
customComponentsMapping
Ƭ customComponentsMapping: Object
Index signature
▪ [name: string]: ComposerElement
useThreadData
Ƭ useThreadData: Object
Type declaration
| Name | Type |
|---|---|
error | any |
fullProfile | Object |
loading | boolean |
messages | Message[] |
send | SendMethod |