feat: implemented focal point picker inside ImageVault
This commit is contained in:
@@ -16,6 +16,11 @@ declare global {
|
||||
}
|
||||
}
|
||||
|
||||
export interface FocalPoint {
|
||||
x: number
|
||||
y: number
|
||||
}
|
||||
|
||||
export declare class InsertMediaWindow {
|
||||
constructor(config: Config, windowOptions: string)
|
||||
openImageVault: () => void
|
||||
@@ -58,6 +63,7 @@ export type ImageVaultAsset = {
|
||||
height: number
|
||||
aspectRatio: number
|
||||
}
|
||||
focalPoint: FocalPoint
|
||||
meta: { alt: string | undefined; caption: string | undefined }
|
||||
}
|
||||
|
||||
@@ -91,6 +97,8 @@ export declare class InsertResponse {
|
||||
AddedBy: string
|
||||
|
||||
Metadata?: MetaData[] | undefined
|
||||
|
||||
FocalPoint: FocalPoint
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user