chore: add clipper extension package (#2281)

This commit is contained in:
Aman Harwara
2023-04-11 22:14:02 +05:30
committed by GitHub
parent 0b0466c9fa
commit 4f5e634685
214 changed files with 3163 additions and 355 deletions

View File

@@ -17,6 +17,7 @@ import {
DisplayOptions,
ItemsKeyInterface,
ItemContent,
DecryptedPayload,
} from '@standardnotes/models'
export interface ItemsClientInterface {
@@ -37,6 +38,15 @@ export interface ItemsClientInterface {
createPayloadFromObject(object: DecryptedTransferPayload): DecryptedPayloadInterface
createTemplateItem<
C extends ItemContent = ItemContent,
I extends DecryptedItemInterface<C> = DecryptedItemInterface<C>,
>(
contentType: ContentType,
content?: C,
override?: Partial<DecryptedPayload<C>>,
): I
get trashedItems(): SNNote[]
setPrimaryItemDisplayOptions(options: DisplayOptions): void