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