chore: fix ContentType usage (#2353)
* chore: fix ContentType usage * chore: fix specs
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import { ContentType } from '@standardnotes/common'
|
||||
|
||||
export interface ServerItemResponse {
|
||||
content_type: ContentType
|
||||
content_type: string
|
||||
content: string | undefined
|
||||
created_at_timestamp: number
|
||||
created_at: Date
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { AnyKeyParamsContent, ContentType } from '@standardnotes/common'
|
||||
import { AnyKeyParamsContent } from '@standardnotes/common'
|
||||
import { DeprecatedHttpResponse } from '../Http/DeprecatedHttpResponse'
|
||||
import { ServerItemResponse } from '../Item/ServerItemResponse'
|
||||
|
||||
export type ActionResponse = DeprecatedHttpResponse & {
|
||||
description: string
|
||||
supported_types: ContentType[]
|
||||
supported_types: string[]
|
||||
deprecation?: string
|
||||
actions: unknown[]
|
||||
item?: ServerItemResponse
|
||||
|
||||
Reference in New Issue
Block a user