@shopware-ag/dive
Version:
Shopware Spatial Framework
19 lines (17 loc) • 489 B
text/typescript
import { Vector3Like } from 'three';
export default interface GENERATE_MEDIA {
DESCRIPTION: 'Generates a screenshot, stores it in a Blob and returns a Promise of a valid URI.';
PAYLOAD: (
| {
position: Vector3Like;
target: Vector3Like;
}
| {
id: string;
}
) & {
width: number; // image width in pixels
height: number; // image height in pixels
};
RETURN: Promise<string>;
}