Type Definitions
CreateNewNoteParams
Type:
- object
Properties:
| Name | Type | Description | 
|---|---|---|
| parentNoteId | string | MANDATORY | 
| title | string | MANDATORY | 
| content | string | buffer | MANDATORY | 
| type | string | text, code, file, image, search, book, relation-map - MANDATORY | 
| mime | string | value is derived from default mimes for type | 
| isProtected | boolean | default is false | 
| isExpanded | boolean | default is false | 
| prefix | string | default is empty string | 
| notePosition | int | default is last existing notePosition in a parent + 10 | 
- Source:
CreateNoteAttribute
Type:
- object
Properties:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| type | string | attribute type - label, relation etc. | |
| name | string | attribute name | |
| value | string | <optional> | attribute value | 
- Source: