f2d7493c2a
* stuff copied over, but aint workin * various fixes * vscode settings * trigger deploy * trigger deploy
20 lines
489 B
TypeScript
20 lines
489 B
TypeScript
import type {
|
|
IBinding,
|
|
IBindingSharedEvents
|
|
} from '~~/lib/bindings/definitions/IBinding'
|
|
|
|
export const ISelectionBindingKey = 'selectionBinding'
|
|
|
|
export interface ISelectionBinding extends IBinding<ISelectionBindingHostEvents> {
|
|
getSelection: () => Promise<SelectionInfo>
|
|
}
|
|
|
|
export interface ISelectionBindingHostEvents extends IBindingSharedEvents {
|
|
setSelection: (args: SelectionInfo) => void
|
|
}
|
|
|
|
export type SelectionInfo = {
|
|
summary?: string
|
|
selectedObjectIds: string[]
|
|
}
|