chore: types

This commit is contained in:
Mo
2022-11-03 21:33:58 -05:00
parent b2831963fd
commit 8b9a75530c
2 changed files with 3 additions and 3 deletions

View File

@@ -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"
}, },

View File

@@ -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>
/** /**