chore: type required by plugins (skip e2e)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@standardnotes/models",
|
||||
"version": "1.34.0",
|
||||
"version": "1.34.1",
|
||||
"engines": {
|
||||
"node": ">=16.0.0 <17.0.0"
|
||||
},
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
import { ItemContent } from './../Content/ItemContent'
|
||||
import { ContentType } from '@standardnotes/common'
|
||||
|
||||
export type OutgoingItemMessagePayload = {
|
||||
uuid: string
|
||||
content_type: ContentType
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted?: boolean
|
||||
content?: ItemContent
|
||||
clientData?: Record<string, unknown>
|
||||
|
||||
/**
|
||||
* isMetadataUpdate implies that the extension should make reference of updated
|
||||
* metadata, but not update content values as they may be stale relative to what the
|
||||
* extension currently has.
|
||||
*/
|
||||
isMetadataUpdate: boolean
|
||||
}
|
||||
@@ -5,6 +5,7 @@ export * from './Abstract/Component/ComponentViewerEvent'
|
||||
export * from './Abstract/Component/IncomingComponentItemPayload'
|
||||
export * from './Abstract/Component/KeyboardModifier'
|
||||
export * from './Abstract/Component/MessageData'
|
||||
export * from './Abstract/Component/OutgoingItemMessagePayload'
|
||||
export * from './Abstract/Component/PermissionDialog'
|
||||
export * from './Abstract/Content/ItemContent'
|
||||
export * from './Abstract/Contextual/BackupFile'
|
||||
|
||||
Reference in New Issue
Block a user