chore: fix ContentType usage (#2353)
* chore: fix ContentType usage * chore: fix specs
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
"typescript": "*"
|
||||
},
|
||||
"dependencies": {
|
||||
"@standardnotes/common": "^1.48.3",
|
||||
"@standardnotes/common": "^1.50.0",
|
||||
"@standardnotes/features": "workspace:*",
|
||||
"@standardnotes/security": "^1.7.6",
|
||||
"reflect-metadata": "^0.1.13"
|
||||
|
||||
@@ -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