r3f-ify jsCadController

This commit is contained in:
Kurt Hutten
2021-08-21 11:04:01 +10:00
parent ac233a5920
commit b0647171d8
4 changed files with 65 additions and 45 deletions

View File

@@ -21,6 +21,8 @@ export interface RenderArgs {
}
}
export type ArtifactTypes = 'stl' | 'png' | 'geometry' | 'r3f-component'
export interface HealthyResponse {
status: 'healthy'
message: {
@@ -30,7 +32,7 @@ export interface HealthyResponse {
}
objectData: {
data: any
type: 'stl' | 'png' | 'geometry'
type: ArtifactTypes
}
customizerParams?: any[]
currentParameters?: RawCustomizerParams