@shopware-ag/dive
Version:
Shopware Spatial Framework
15 lines (14 loc) • 383 B
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;
height: number;
};
RETURN: Promise<string>;
}