chore: types
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@standardnotes/models",
|
||||
"version": "1.34.2",
|
||||
"version": "1.34.3",
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <17.0.0"
|
||||
},
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { ItemContent } from './../Content/ItemContent'
|
||||
import { ContentType } from '@standardnotes/common'
|
||||
|
||||
export type OutgoingItemMessagePayload = {
|
||||
export type OutgoingItemMessagePayload<C extends ItemContent = ItemContent> = {
|
||||
uuid: string
|
||||
content_type: ContentType
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted?: boolean
|
||||
content?: ItemContent
|
||||
content?: C
|
||||
clientData?: Record<string, unknown>
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user