@oeave/bakery3 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/dist/bake/index.d.ts +3 -3
- package/dist/bake/index.js +4 -4
- package/dist/{bake-DaOlenyx.d.ts → bake-DZ-CJR6f.d.ts} +8 -1
- package/dist/catalog/index.d.ts +5 -5
- package/dist/catalog/index.js +3 -3
- package/dist/{chunk-TGFNQBKC.js → chunk-3T3FJOSD.js} +5 -5
- package/dist/chunk-3T3FJOSD.js.map +1 -0
- package/dist/{chunk-V3QINEEG.js → chunk-62M6XXNX.js} +58 -3
- package/dist/chunk-62M6XXNX.js.map +1 -0
- package/dist/{chunk-ARMTTZXZ.js → chunk-6FAMQZXB.js} +8 -8
- package/dist/chunk-6FAMQZXB.js.map +1 -0
- package/dist/{chunk-54WJDN5R.js → chunk-CSSJRP5W.js} +9 -6
- package/dist/chunk-CSSJRP5W.js.map +1 -0
- package/dist/{chunk-W6WQ5UP7.js → chunk-EN4ROBYQ.js} +32 -5
- package/dist/chunk-EN4ROBYQ.js.map +1 -0
- package/dist/chunk-KZLVTSBI.js +191 -0
- package/dist/chunk-KZLVTSBI.js.map +1 -0
- package/dist/{chunk-MD2U6S4N.js → chunk-LAKXC4WR.js} +218 -142
- package/dist/chunk-LAKXC4WR.js.map +1 -0
- package/dist/{chunk-HQTUFVMM.js → chunk-NEK5TBEH.js} +3 -3
- package/dist/chunk-NEK5TBEH.js.map +1 -0
- package/dist/chunk-OPM2L63B.js +253 -0
- package/dist/chunk-OPM2L63B.js.map +1 -0
- package/dist/{chunk-APBOWWSV.js → chunk-R5IUPOWI.js} +3 -3
- package/dist/chunk-R5IUPOWI.js.map +1 -0
- package/dist/{chunk-6YVQANMW.js → chunk-STRK4SZN.js} +262 -16
- package/dist/chunk-STRK4SZN.js.map +1 -0
- package/dist/{chunk-CX4WTVGH.js → chunk-WLEFNUOH.js} +411 -371
- package/dist/chunk-WLEFNUOH.js.map +1 -0
- package/dist/{chunk-25ZXSVQ3.js → chunk-X6GW43EX.js} +3 -3
- package/dist/{chunk-25ZXSVQ3.js.map → chunk-X6GW43EX.js.map} +1 -1
- package/dist/{chunk-WBIAFIHV.js → chunk-XK35ANPJ.js} +3 -3
- package/dist/{chunk-WBIAFIHV.js.map → chunk-XK35ANPJ.js.map} +1 -1
- package/dist/devtools/index.d.ts +3 -3
- package/dist/devtools/index.js +10 -9
- package/dist/hotspots/index.d.ts +237 -31
- package/dist/hotspots/index.js +1013 -118
- package/dist/hotspots/index.js.map +1 -1
- package/dist/index.d.ts +39 -8
- package/dist/index.js +11 -10
- package/dist/node/index.cjs +266 -141
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +152 -87
- package/dist/node/index.d.ts +27 -6
- package/dist/node/index.js +52 -3
- package/dist/node/index.js.map +1 -1
- package/dist/{prepare-C5qVvaw4.d.ts → prepare-BtjY4G3q.d.ts} +1 -1
- package/dist/presets/index.d.ts +37 -1
- package/dist/presets/index.js +4 -4
- package/dist/presets/index.js.map +1 -1
- package/dist/r3f/index.d.ts +4 -4
- package/dist/r3f/index.js +13 -12
- package/dist/r3f/index.js.map +1 -1
- package/dist/{room-S5TLCK4F.js → room-BM7Z7NKG.js} +6 -6
- package/dist/{room-S5TLCK4F.js.map → room-BM7Z7NKG.js.map} +1 -1
- package/dist/{rooms.gen-vhj6sFW5.d.ts → rooms.gen-DItzBR9k.d.ts} +112 -84
- package/dist/session-NPVBESWA.js +9 -0
- package/dist/{session-YCQS4MRH.js.map → session-NPVBESWA.js.map} +1 -1
- package/dist/{testRun-BIPXaVPb.d.ts → testRun-20OARnQr.d.ts} +12 -3
- package/dist/tsl/index.d.ts +14 -1
- package/dist/tsl/index.js +8 -2
- package/dist/tsl/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-54WJDN5R.js.map +0 -1
- package/dist/chunk-6YVQANMW.js.map +0 -1
- package/dist/chunk-AF5BIELI.js +0 -70
- package/dist/chunk-AF5BIELI.js.map +0 -1
- package/dist/chunk-APBOWWSV.js.map +0 -1
- package/dist/chunk-ARMTTZXZ.js.map +0 -1
- package/dist/chunk-CX4WTVGH.js.map +0 -1
- package/dist/chunk-HQTUFVMM.js.map +0 -1
- package/dist/chunk-MD2U6S4N.js.map +0 -1
- package/dist/chunk-TGFNQBKC.js.map +0 -1
- package/dist/chunk-V3QINEEG.js.map +0 -1
- package/dist/chunk-W6WQ5UP7.js.map +0 -1
- package/dist/session-YCQS4MRH.js +0 -9
package/dist/node/index.d.cts
CHANGED
|
@@ -315,10 +315,17 @@ type CameraSpec = {
|
|
|
315
315
|
zoom?: number;
|
|
316
316
|
/** Present when the developer named a camera; only ever a label. */
|
|
317
317
|
name?: string;
|
|
318
|
-
/**
|
|
318
|
+
/**
|
|
319
|
+
* Depth of field, off unless present. `fStop` is a full-frame f-number
|
|
320
|
+
* at this `fov`; `focalDistance` is in metres along the view axis.
|
|
321
|
+
* `target` is the world point it was measured to: a worker that reads
|
|
322
|
+
* it keeps that point sharp on every frame of a clip, and one that
|
|
323
|
+
* does not still focuses the first frame right.
|
|
324
|
+
*/
|
|
319
325
|
focus?: {
|
|
320
326
|
fStop: number;
|
|
321
327
|
focalDistance: number;
|
|
328
|
+
target?: Vec3;
|
|
322
329
|
};
|
|
323
330
|
} | {
|
|
324
331
|
type: 'orthographic';
|
|
@@ -1720,7 +1727,7 @@ type RenderError = {
|
|
|
1720
1727
|
*/
|
|
1721
1728
|
attemptsExhausted?: boolean;
|
|
1722
1729
|
};
|
|
1723
|
-
declare const RENDER_ERROR_CODES: readonly ["RenderBudgetExceeded", "UnsupportedMaterial", "SceneTooLarge", "TextureTooLarge", "AssetNotFound", "AssetUploadIncomplete", "ProtocolVersionUnsupported", "RoomPresetUnknown", "RoomPresetBuildMismatch", "CompatibilityPreflightFailed", "OutOfVideoMemory", "RenderTimeout", "WorkerFailure", "WorkerLost", "RendererCrashed", "UploadFailed", "ResultLost", "CapacityUnavailable", "QueueFull", "QueueTimeout", "BatchBudgetExceeded", "BatchClosed", "ImportRefused", "ImportFailed", "PlanRequired", "InsufficientBalance", "QuotaExceeded", "ConcurrencyLimitReached", "RateLimited", "Unauthorized", "TokenExpired", "OriginNotAllowed", "InvalidRequest"];
|
|
1730
|
+
declare const RENDER_ERROR_CODES: readonly ["RenderBudgetExceeded", "UnsupportedMaterial", "SceneTooLarge", "TextureTooLarge", "AssetNotFound", "AssetUploadIncomplete", "ProtocolVersionUnsupported", "RoomPresetUnknown", "RoomPresetBuildMismatch", "CompatibilityPreflightFailed", "OutOfVideoMemory", "RenderTimeout", "WorkerFailure", "WorkerLost", "RendererCrashed", "UploadFailed", "ResultLost", "CapacityUnavailable", "QueueFull", "QueueTimeout", "BatchBudgetExceeded", "BatchClosed", "ImportRefused", "ImportFailed", "PlanRequired", "StorageUnavailable", "InsufficientBalance", "QuotaExceeded", "ConcurrencyLimitReached", "RateLimited", "Unauthorized", "TokenExpired", "OriginNotAllowed", "InvalidRequest"];
|
|
1724
1731
|
type RenderErrorCode = (typeof RENDER_ERROR_CODES)[number];
|
|
1725
1732
|
/** Webhook event names. */
|
|
1726
1733
|
declare const WEBHOOK_EVENTS: readonly ["render.created", "render.started", "render.preview", "render.completed", "render.failed", "render.cancelled", "render.retrying", "video.started", "video.frame.completed", "video.completed", "bake.created", "bake.started", "bake.completed", "bake.failed", "bake.cancelled", "bake.retrying", "batch.progress", "batch.completed", "batch.paused"];
|
|
@@ -1776,6 +1783,15 @@ type AssetCheckResponse = {
|
|
|
1776
1783
|
expiresAt: number;
|
|
1777
1784
|
}>;
|
|
1778
1785
|
};
|
|
1786
|
+
/**
|
|
1787
|
+
* `DELETE /v1/assets/:hash`. Secret key only. The stored file and its
|
|
1788
|
+
* record are gone; the next render that needs it uploads it again.
|
|
1789
|
+
*/
|
|
1790
|
+
type AssetDeleteResponse = {
|
|
1791
|
+
hash: string;
|
|
1792
|
+
/** False when the project held no file with this hash: not an error. */
|
|
1793
|
+
deleted: boolean;
|
|
1794
|
+
};
|
|
1779
1795
|
|
|
1780
1796
|
/**
|
|
1781
1797
|
* What a GLB says about itself, read from its JSON chunk alone.
|
|
@@ -2918,7 +2934,7 @@ declare const ROOM_PRESETS: {
|
|
|
2918
2934
|
readonly atelier_skylight: {
|
|
2919
2935
|
readonly label: "Skylight Atelier";
|
|
2920
2936
|
readonly description: "Concrete floor, tall plaster walls and two roof lights pouring foliage-broken sun straight down onto a low plinth.";
|
|
2921
|
-
readonly build: "
|
|
2937
|
+
readonly build: "6d26daeb0abb";
|
|
2922
2938
|
readonly presetsVersion: 1;
|
|
2923
2939
|
readonly size: {
|
|
2924
2940
|
readonly width: 5.5;
|
|
@@ -2964,22 +2980,24 @@ declare const ROOM_PRESETS: {
|
|
|
2964
2980
|
};
|
|
2965
2981
|
readonly preview: {
|
|
2966
2982
|
readonly glb: "rooms/atelier_skylight/room.glb";
|
|
2967
|
-
readonly bytes:
|
|
2968
|
-
readonly triangles:
|
|
2983
|
+
readonly bytes: 1609624;
|
|
2984
|
+
readonly triangles: 71936;
|
|
2969
2985
|
readonly textures: 21;
|
|
2970
2986
|
};
|
|
2971
2987
|
readonly complexity: {
|
|
2972
2988
|
readonly enclosure: 1;
|
|
2973
|
-
readonly objects:
|
|
2989
|
+
readonly objects: 64;
|
|
2974
2990
|
};
|
|
2975
2991
|
readonly prebaked: readonly [];
|
|
2992
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
2993
|
+
readonly standGlb: "rooms/atelier_skylight/stand.glb";
|
|
2976
2994
|
readonly plants: readonly ["potted_dracaena_01", "potted_monstera_01"];
|
|
2977
2995
|
readonly pictures: readonly [];
|
|
2978
2996
|
readonly previewBrightness: {
|
|
2979
2997
|
readonly day: 0.775;
|
|
2980
|
-
readonly golden: 0.
|
|
2998
|
+
readonly golden: 0.543;
|
|
2981
2999
|
readonly overcast: 0.723;
|
|
2982
|
-
readonly night: 0.
|
|
3000
|
+
readonly night: 0.243;
|
|
2983
3001
|
};
|
|
2984
3002
|
readonly previewFill: {
|
|
2985
3003
|
readonly day: {
|
|
@@ -2987,16 +3005,16 @@ declare const ROOM_PRESETS: {
|
|
|
2987
3005
|
readonly ground: readonly [0.861, 1.012, 1.285];
|
|
2988
3006
|
};
|
|
2989
3007
|
readonly golden: {
|
|
2990
|
-
readonly sky: readonly [
|
|
2991
|
-
readonly ground: readonly [
|
|
3008
|
+
readonly sky: readonly [1.154, 0.972, 0.825];
|
|
3009
|
+
readonly ground: readonly [1.154, 0.972, 0.825];
|
|
2992
3010
|
};
|
|
2993
3011
|
readonly overcast: {
|
|
2994
3012
|
readonly sky: readonly [0.997, 0.997, 1.041];
|
|
2995
3013
|
readonly ground: readonly [0.997, 0.997, 1.041];
|
|
2996
3014
|
};
|
|
2997
3015
|
readonly night: {
|
|
2998
|
-
readonly sky: readonly [1.
|
|
2999
|
-
readonly ground: readonly [1.
|
|
3016
|
+
readonly sky: readonly [1.488, 0.894, 0.616];
|
|
3017
|
+
readonly ground: readonly [1.488, 0.894, 0.616];
|
|
3000
3018
|
};
|
|
3001
3019
|
};
|
|
3002
3020
|
readonly exposure: {
|
|
@@ -3009,7 +3027,11 @@ declare const ROOM_PRESETS: {
|
|
|
3009
3027
|
readonly day: null;
|
|
3010
3028
|
readonly golden: null;
|
|
3011
3029
|
readonly overcast: null;
|
|
3012
|
-
readonly night:
|
|
3030
|
+
readonly night: {
|
|
3031
|
+
readonly name: "moonless_golf";
|
|
3032
|
+
readonly rotationDeg: 0;
|
|
3033
|
+
readonly groundHeight: 1.6;
|
|
3034
|
+
};
|
|
3013
3035
|
};
|
|
3014
3036
|
readonly skyIrradiance: {
|
|
3015
3037
|
readonly day: 8.595;
|
|
@@ -3076,6 +3098,8 @@ declare const ROOM_PRESETS: {
|
|
|
3076
3098
|
readonly objects: 51;
|
|
3077
3099
|
};
|
|
3078
3100
|
readonly prebaked: readonly [];
|
|
3101
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
3102
|
+
readonly standGlb: "rooms/beam_loft/stand.glb";
|
|
3079
3103
|
readonly plants: readonly ["potted_dracaena_01", "potted_plant_01"];
|
|
3080
3104
|
readonly pictures: readonly [];
|
|
3081
3105
|
readonly previewBrightness: {
|
|
@@ -3140,7 +3164,7 @@ declare const ROOM_PRESETS: {
|
|
|
3140
3164
|
readonly conservatory_day: {
|
|
3141
3165
|
readonly label: "Conservatory";
|
|
3142
3166
|
readonly description: "Travertine and white plaster under a foliage-broken roof light, three east windows of morning sun, and all five plants of the set standing around a vase on a marble cylinder.";
|
|
3143
|
-
readonly build: "
|
|
3167
|
+
readonly build: "37c1bf94d793";
|
|
3144
3168
|
readonly presetsVersion: 1;
|
|
3145
3169
|
readonly size: {
|
|
3146
3170
|
readonly width: 5.6;
|
|
@@ -3186,22 +3210,24 @@ declare const ROOM_PRESETS: {
|
|
|
3186
3210
|
};
|
|
3187
3211
|
readonly preview: {
|
|
3188
3212
|
readonly glb: "rooms/conservatory_day/room.glb";
|
|
3189
|
-
readonly bytes:
|
|
3190
|
-
readonly triangles:
|
|
3213
|
+
readonly bytes: 3089392;
|
|
3214
|
+
readonly triangles: 171145;
|
|
3191
3215
|
readonly textures: 35;
|
|
3192
3216
|
};
|
|
3193
3217
|
readonly complexity: {
|
|
3194
3218
|
readonly enclosure: 1;
|
|
3195
|
-
readonly objects:
|
|
3219
|
+
readonly objects: 60;
|
|
3196
3220
|
};
|
|
3197
3221
|
readonly prebaked: readonly [];
|
|
3222
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
3223
|
+
readonly standGlb: "rooms/conservatory_day/stand.glb";
|
|
3198
3224
|
readonly plants: readonly ["potted_bird_of_paradise_01", "potted_monstera_01", "potted_monstera_02", "potted_plant_04"];
|
|
3199
3225
|
readonly pictures: readonly [];
|
|
3200
3226
|
readonly previewBrightness: {
|
|
3201
3227
|
readonly day: 1.551;
|
|
3202
|
-
readonly golden: 1.
|
|
3228
|
+
readonly golden: 1.292;
|
|
3203
3229
|
readonly overcast: 1.447;
|
|
3204
|
-
readonly night:
|
|
3230
|
+
readonly night: 0.196;
|
|
3205
3231
|
};
|
|
3206
3232
|
readonly previewFill: {
|
|
3207
3233
|
readonly day: {
|
|
@@ -3209,16 +3235,16 @@ declare const ROOM_PRESETS: {
|
|
|
3209
3235
|
readonly ground: readonly [0.966, 1, 1.104];
|
|
3210
3236
|
};
|
|
3211
3237
|
readonly golden: {
|
|
3212
|
-
readonly sky: readonly [
|
|
3213
|
-
readonly ground: readonly [
|
|
3238
|
+
readonly sky: readonly [1.22, 0.961, 0.738];
|
|
3239
|
+
readonly ground: readonly [1.22, 0.961, 0.738];
|
|
3214
3240
|
};
|
|
3215
3241
|
readonly overcast: {
|
|
3216
3242
|
readonly sky: readonly [1.001, 0.996, 1.036];
|
|
3217
3243
|
readonly ground: readonly [1.001, 0.996, 1.036];
|
|
3218
3244
|
};
|
|
3219
3245
|
readonly night: {
|
|
3220
|
-
readonly sky: readonly [1.
|
|
3221
|
-
readonly ground: readonly [1.
|
|
3246
|
+
readonly sky: readonly [1.486, 0.894, 0.619];
|
|
3247
|
+
readonly ground: readonly [1.486, 0.894, 0.619];
|
|
3222
3248
|
};
|
|
3223
3249
|
};
|
|
3224
3250
|
readonly exposure: {
|
|
@@ -3235,7 +3261,7 @@ declare const ROOM_PRESETS: {
|
|
|
3235
3261
|
};
|
|
3236
3262
|
readonly golden: {
|
|
3237
3263
|
readonly name: "qwantani_sunset";
|
|
3238
|
-
readonly rotationDeg:
|
|
3264
|
+
readonly rotationDeg: 304;
|
|
3239
3265
|
readonly groundHeight: 1.6;
|
|
3240
3266
|
};
|
|
3241
3267
|
readonly overcast: {
|
|
@@ -3251,7 +3277,7 @@ declare const ROOM_PRESETS: {
|
|
|
3251
3277
|
};
|
|
3252
3278
|
readonly skyIrradiance: {
|
|
3253
3279
|
readonly day: 8.707;
|
|
3254
|
-
readonly golden:
|
|
3280
|
+
readonly golden: 5.273;
|
|
3255
3281
|
readonly overcast: 3.286;
|
|
3256
3282
|
readonly night: 0.011;
|
|
3257
3283
|
};
|
|
@@ -3259,7 +3285,7 @@ declare const ROOM_PRESETS: {
|
|
|
3259
3285
|
readonly dining_golden: {
|
|
3260
3286
|
readonly label: "Golden Hour Dining";
|
|
3261
3287
|
readonly description: "Painted brick and dark planks, low sun through rippled cast glass, a walnut table set for four off to one side and a bird of paradise holding the light.";
|
|
3262
|
-
readonly build: "
|
|
3288
|
+
readonly build: "aaf9e73a653b";
|
|
3263
3289
|
readonly presetsVersion: 1;
|
|
3264
3290
|
readonly size: {
|
|
3265
3291
|
readonly width: 7;
|
|
@@ -3305,27 +3331,29 @@ declare const ROOM_PRESETS: {
|
|
|
3305
3331
|
};
|
|
3306
3332
|
readonly preview: {
|
|
3307
3333
|
readonly glb: "rooms/dining_golden/room.glb";
|
|
3308
|
-
readonly bytes:
|
|
3309
|
-
readonly triangles:
|
|
3334
|
+
readonly bytes: 1020424;
|
|
3335
|
+
readonly triangles: 29323;
|
|
3310
3336
|
readonly textures: 24;
|
|
3311
3337
|
};
|
|
3312
3338
|
readonly complexity: {
|
|
3313
3339
|
readonly enclosure: 1;
|
|
3314
|
-
readonly objects:
|
|
3340
|
+
readonly objects: 60;
|
|
3315
3341
|
};
|
|
3316
3342
|
readonly prebaked: readonly [];
|
|
3343
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
3344
|
+
readonly standGlb: "rooms/dining_golden/stand.glb";
|
|
3317
3345
|
readonly plants: readonly ["potted_bird_of_paradise_01", "potted_plant_04"];
|
|
3318
3346
|
readonly pictures: readonly [];
|
|
3319
3347
|
readonly previewBrightness: {
|
|
3320
|
-
readonly day: 0.
|
|
3348
|
+
readonly day: 0.196;
|
|
3321
3349
|
readonly golden: 0.31;
|
|
3322
3350
|
readonly overcast: 0.289;
|
|
3323
|
-
readonly night: 0.
|
|
3351
|
+
readonly night: 0.154;
|
|
3324
3352
|
};
|
|
3325
3353
|
readonly previewFill: {
|
|
3326
3354
|
readonly day: {
|
|
3327
|
-
readonly sky: readonly [1.
|
|
3328
|
-
readonly ground: readonly [1.
|
|
3355
|
+
readonly sky: readonly [1.074, 0.983, 0.948];
|
|
3356
|
+
readonly ground: readonly [1.074, 0.983, 0.948];
|
|
3329
3357
|
};
|
|
3330
3358
|
readonly golden: {
|
|
3331
3359
|
readonly sky: readonly [1.338, 0.937, 0.63];
|
|
@@ -3336,8 +3364,8 @@ declare const ROOM_PRESETS: {
|
|
|
3336
3364
|
readonly ground: readonly [1.297, 0.934, 0.775];
|
|
3337
3365
|
};
|
|
3338
3366
|
readonly night: {
|
|
3339
|
-
readonly sky: readonly [1.
|
|
3340
|
-
readonly ground: readonly [1.
|
|
3367
|
+
readonly sky: readonly [1.487, 0.894, 0.617];
|
|
3368
|
+
readonly ground: readonly [1.487, 0.894, 0.617];
|
|
3341
3369
|
};
|
|
3342
3370
|
};
|
|
3343
3371
|
readonly exposure: {
|
|
@@ -3349,7 +3377,7 @@ declare const ROOM_PRESETS: {
|
|
|
3349
3377
|
readonly hdri: {
|
|
3350
3378
|
readonly day: {
|
|
3351
3379
|
readonly name: "pergola_walkway";
|
|
3352
|
-
readonly rotationDeg:
|
|
3380
|
+
readonly rotationDeg: 79.7;
|
|
3353
3381
|
readonly groundHeight: 1.6;
|
|
3354
3382
|
};
|
|
3355
3383
|
readonly golden: {
|
|
@@ -3369,7 +3397,7 @@ declare const ROOM_PRESETS: {
|
|
|
3369
3397
|
};
|
|
3370
3398
|
};
|
|
3371
3399
|
readonly skyIrradiance: {
|
|
3372
|
-
readonly day:
|
|
3400
|
+
readonly day: 8.468;
|
|
3373
3401
|
readonly golden: 5.273;
|
|
3374
3402
|
readonly overcast: 3.286;
|
|
3375
3403
|
readonly night: 0.011;
|
|
@@ -3378,7 +3406,7 @@ declare const ROOM_PRESETS: {
|
|
|
3378
3406
|
readonly gallery_day: {
|
|
3379
3407
|
readonly label: "Daylight Gallery";
|
|
3380
3408
|
readonly description: "White plaster and oak, three tall west windows with foliage-dappled midday sun, shelves of ceramics behind the centerpiece.";
|
|
3381
|
-
readonly build: "
|
|
3409
|
+
readonly build: "4b9e7b77b32b";
|
|
3382
3410
|
readonly presetsVersion: 1;
|
|
3383
3411
|
readonly size: {
|
|
3384
3412
|
readonly width: 6;
|
|
@@ -3424,22 +3452,24 @@ declare const ROOM_PRESETS: {
|
|
|
3424
3452
|
};
|
|
3425
3453
|
readonly preview: {
|
|
3426
3454
|
readonly glb: "rooms/gallery_day/room.glb";
|
|
3427
|
-
readonly bytes:
|
|
3428
|
-
readonly triangles:
|
|
3455
|
+
readonly bytes: 2109044;
|
|
3456
|
+
readonly triangles: 119502;
|
|
3429
3457
|
readonly textures: 21;
|
|
3430
3458
|
};
|
|
3431
3459
|
readonly complexity: {
|
|
3432
3460
|
readonly enclosure: 1;
|
|
3433
|
-
readonly objects:
|
|
3461
|
+
readonly objects: 72;
|
|
3434
3462
|
};
|
|
3435
3463
|
readonly prebaked: readonly [];
|
|
3464
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
3465
|
+
readonly standGlb: "rooms/gallery_day/stand.glb";
|
|
3436
3466
|
readonly plants: readonly ["potted_plant_01", "potted_plant_04"];
|
|
3437
3467
|
readonly pictures: readonly [];
|
|
3438
3468
|
readonly previewBrightness: {
|
|
3439
3469
|
readonly day: 0.093;
|
|
3440
|
-
readonly golden: 0.
|
|
3470
|
+
readonly golden: 0.15;
|
|
3441
3471
|
readonly overcast: 0.043;
|
|
3442
|
-
readonly night: 0.
|
|
3472
|
+
readonly night: 0.159;
|
|
3443
3473
|
};
|
|
3444
3474
|
readonly previewFill: {
|
|
3445
3475
|
readonly day: {
|
|
@@ -3447,16 +3477,16 @@ declare const ROOM_PRESETS: {
|
|
|
3447
3477
|
readonly ground: readonly [1.101, 0.978, 0.915];
|
|
3448
3478
|
};
|
|
3449
3479
|
readonly golden: {
|
|
3450
|
-
readonly sky: readonly [1.
|
|
3451
|
-
readonly ground: readonly [1.
|
|
3480
|
+
readonly sky: readonly [1.298, 0.947, 0.643];
|
|
3481
|
+
readonly ground: readonly [1.298, 0.947, 0.643];
|
|
3452
3482
|
};
|
|
3453
3483
|
readonly overcast: {
|
|
3454
3484
|
readonly sky: readonly [1.266, 0.942, 0.791];
|
|
3455
3485
|
readonly ground: readonly [1.266, 0.942, 0.791];
|
|
3456
3486
|
};
|
|
3457
3487
|
readonly night: {
|
|
3458
|
-
readonly sky: readonly [1.
|
|
3459
|
-
readonly ground: readonly [1.
|
|
3488
|
+
readonly sky: readonly [1.488, 0.894, 0.615];
|
|
3489
|
+
readonly ground: readonly [1.488, 0.894, 0.615];
|
|
3460
3490
|
};
|
|
3461
3491
|
};
|
|
3462
3492
|
readonly exposure: {
|
|
@@ -3473,7 +3503,7 @@ declare const ROOM_PRESETS: {
|
|
|
3473
3503
|
};
|
|
3474
3504
|
readonly golden: {
|
|
3475
3505
|
readonly name: "qwantani_sunset";
|
|
3476
|
-
readonly rotationDeg:
|
|
3506
|
+
readonly rotationDeg: 124;
|
|
3477
3507
|
readonly groundHeight: 1.6;
|
|
3478
3508
|
};
|
|
3479
3509
|
readonly overcast: {
|
|
@@ -3489,7 +3519,7 @@ declare const ROOM_PRESETS: {
|
|
|
3489
3519
|
};
|
|
3490
3520
|
readonly skyIrradiance: {
|
|
3491
3521
|
readonly day: 8.212;
|
|
3492
|
-
readonly golden:
|
|
3522
|
+
readonly golden: 5.273;
|
|
3493
3523
|
readonly overcast: 3.286;
|
|
3494
3524
|
readonly night: 0.011;
|
|
3495
3525
|
};
|
|
@@ -3497,7 +3527,7 @@ declare const ROOM_PRESETS: {
|
|
|
3497
3527
|
readonly living_evening: {
|
|
3498
3528
|
readonly label: "Evening Living Room";
|
|
3499
3529
|
readonly description: "Warm greige and hardwood after dark: a channel-tufted sofa under a washed wall, a plaster console opposite, monstera and palm in the corners.";
|
|
3500
|
-
readonly build: "
|
|
3530
|
+
readonly build: "204a81d87141";
|
|
3501
3531
|
readonly presetsVersion: 1;
|
|
3502
3532
|
readonly size: {
|
|
3503
3533
|
readonly width: 6.4;
|
|
@@ -3543,34 +3573,36 @@ declare const ROOM_PRESETS: {
|
|
|
3543
3573
|
};
|
|
3544
3574
|
readonly preview: {
|
|
3545
3575
|
readonly glb: "rooms/living_evening/room.glb";
|
|
3546
|
-
readonly bytes:
|
|
3547
|
-
readonly triangles:
|
|
3576
|
+
readonly bytes: 4367688;
|
|
3577
|
+
readonly triangles: 237432;
|
|
3548
3578
|
readonly textures: 21;
|
|
3549
3579
|
};
|
|
3550
3580
|
readonly complexity: {
|
|
3551
3581
|
readonly enclosure: 1;
|
|
3552
|
-
readonly objects:
|
|
3582
|
+
readonly objects: 102;
|
|
3553
3583
|
};
|
|
3554
3584
|
readonly prebaked: readonly [];
|
|
3585
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
3586
|
+
readonly standGlb: "rooms/living_evening/stand.glb";
|
|
3555
3587
|
readonly plants: readonly ["potted_monstera_02", "potted_palm_01"];
|
|
3556
3588
|
readonly pictures: readonly [{
|
|
3557
3589
|
readonly wall: "north";
|
|
3558
3590
|
readonly size: 0.7;
|
|
3559
3591
|
}];
|
|
3560
3592
|
readonly previewBrightness: {
|
|
3561
|
-
readonly day: 0.
|
|
3562
|
-
readonly golden: 0.
|
|
3593
|
+
readonly day: 0.134;
|
|
3594
|
+
readonly golden: 0.398;
|
|
3563
3595
|
readonly overcast: 0.106;
|
|
3564
3596
|
readonly night: 0.103;
|
|
3565
3597
|
};
|
|
3566
3598
|
readonly previewFill: {
|
|
3567
3599
|
readonly day: {
|
|
3568
|
-
readonly sky: readonly [1.
|
|
3569
|
-
readonly ground: readonly [1.
|
|
3600
|
+
readonly sky: readonly [1.126, 0.972, 0.906];
|
|
3601
|
+
readonly ground: readonly [1.126, 0.972, 0.906];
|
|
3570
3602
|
};
|
|
3571
3603
|
readonly golden: {
|
|
3572
|
-
readonly sky: readonly [1.
|
|
3573
|
-
readonly ground: readonly [1.
|
|
3604
|
+
readonly sky: readonly [1.331, 0.938, 0.637];
|
|
3605
|
+
readonly ground: readonly [1.331, 0.938, 0.637];
|
|
3574
3606
|
};
|
|
3575
3607
|
readonly overcast: {
|
|
3576
3608
|
readonly sky: readonly [1.404, 0.911, 0.688];
|
|
@@ -3595,7 +3627,7 @@ declare const ROOM_PRESETS: {
|
|
|
3595
3627
|
};
|
|
3596
3628
|
readonly golden: {
|
|
3597
3629
|
readonly name: "qwantani_sunset";
|
|
3598
|
-
readonly rotationDeg:
|
|
3630
|
+
readonly rotationDeg: 124;
|
|
3599
3631
|
readonly groundHeight: 1.6;
|
|
3600
3632
|
};
|
|
3601
3633
|
readonly overcast: {
|
|
@@ -3610,7 +3642,7 @@ declare const ROOM_PRESETS: {
|
|
|
3610
3642
|
};
|
|
3611
3643
|
};
|
|
3612
3644
|
readonly skyIrradiance: {
|
|
3613
|
-
readonly day: 8.
|
|
3645
|
+
readonly day: 8.468;
|
|
3614
3646
|
readonly golden: 5.273;
|
|
3615
3647
|
readonly overcast: 3.286;
|
|
3616
3648
|
readonly night: 0.011;
|
|
@@ -3619,7 +3651,7 @@ declare const ROOM_PRESETS: {
|
|
|
3619
3651
|
readonly loft_golden: {
|
|
3620
3652
|
readonly label: "Golden Hour Loft";
|
|
3621
3653
|
readonly description: "Painted brick and dark planks, two big steel-framed windows of rippled cast glass, low warm sun and a hint of haze.";
|
|
3622
|
-
readonly build: "
|
|
3654
|
+
readonly build: "6688f7d07182";
|
|
3623
3655
|
readonly presetsVersion: 1;
|
|
3624
3656
|
readonly size: {
|
|
3625
3657
|
readonly width: 7;
|
|
@@ -3665,27 +3697,29 @@ declare const ROOM_PRESETS: {
|
|
|
3665
3697
|
};
|
|
3666
3698
|
readonly preview: {
|
|
3667
3699
|
readonly glb: "rooms/loft_golden/room.glb";
|
|
3668
|
-
readonly bytes:
|
|
3669
|
-
readonly triangles:
|
|
3700
|
+
readonly bytes: 3578328;
|
|
3701
|
+
readonly triangles: 165919;
|
|
3670
3702
|
readonly textures: 23;
|
|
3671
3703
|
};
|
|
3672
3704
|
readonly complexity: {
|
|
3673
3705
|
readonly enclosure: 1;
|
|
3674
|
-
readonly objects:
|
|
3706
|
+
readonly objects: 64;
|
|
3675
3707
|
};
|
|
3676
3708
|
readonly prebaked: readonly [];
|
|
3709
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
3710
|
+
readonly standGlb: "rooms/loft_golden/stand.glb";
|
|
3677
3711
|
readonly plants: readonly ["potted_monstera_01", "potted_palm_01"];
|
|
3678
3712
|
readonly pictures: readonly [];
|
|
3679
3713
|
readonly previewBrightness: {
|
|
3680
|
-
readonly day:
|
|
3714
|
+
readonly day: 0.584;
|
|
3681
3715
|
readonly golden: 1.034;
|
|
3682
3716
|
readonly overcast: 0.965;
|
|
3683
|
-
readonly night: 0.
|
|
3717
|
+
readonly night: 0.205;
|
|
3684
3718
|
};
|
|
3685
3719
|
readonly previewFill: {
|
|
3686
3720
|
readonly day: {
|
|
3687
|
-
readonly sky: readonly [1.
|
|
3688
|
-
readonly ground: readonly [1.
|
|
3721
|
+
readonly sky: readonly [1.056, 0.998, 0.852];
|
|
3722
|
+
readonly ground: readonly [1.056, 0.998, 0.852];
|
|
3689
3723
|
};
|
|
3690
3724
|
readonly golden: {
|
|
3691
3725
|
readonly sky: readonly [1.414, 0.896, 0.816];
|
|
@@ -3696,8 +3730,8 @@ declare const ROOM_PRESETS: {
|
|
|
3696
3730
|
readonly ground: readonly [0.953, 1.019, 0.947];
|
|
3697
3731
|
};
|
|
3698
3732
|
readonly night: {
|
|
3699
|
-
readonly sky: readonly [1.
|
|
3700
|
-
readonly ground: readonly [1.
|
|
3733
|
+
readonly sky: readonly [1.485, 0.895, 0.614];
|
|
3734
|
+
readonly ground: readonly [1.485, 0.895, 0.614];
|
|
3701
3735
|
};
|
|
3702
3736
|
};
|
|
3703
3737
|
readonly exposure: {
|
|
@@ -3709,7 +3743,7 @@ declare const ROOM_PRESETS: {
|
|
|
3709
3743
|
readonly hdri: {
|
|
3710
3744
|
readonly day: {
|
|
3711
3745
|
readonly name: "pergola_walkway";
|
|
3712
|
-
readonly rotationDeg:
|
|
3746
|
+
readonly rotationDeg: 79.7;
|
|
3713
3747
|
readonly groundHeight: 1.6;
|
|
3714
3748
|
};
|
|
3715
3749
|
readonly golden: {
|
|
@@ -3729,7 +3763,7 @@ declare const ROOM_PRESETS: {
|
|
|
3729
3763
|
};
|
|
3730
3764
|
};
|
|
3731
3765
|
readonly skyIrradiance: {
|
|
3732
|
-
readonly day:
|
|
3766
|
+
readonly day: 8.468;
|
|
3733
3767
|
readonly golden: 5.273;
|
|
3734
3768
|
readonly overcast: 3.286;
|
|
3735
3769
|
readonly night: 0.011;
|
|
@@ -3793,6 +3827,8 @@ declare const ROOM_PRESETS: {
|
|
|
3793
3827
|
readonly objects: 55;
|
|
3794
3828
|
};
|
|
3795
3829
|
readonly prebaked: readonly [];
|
|
3830
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
3831
|
+
readonly standGlb: "rooms/noir_parlour/stand.glb";
|
|
3796
3832
|
readonly plants: readonly ["potted_dracaena_01"];
|
|
3797
3833
|
readonly pictures: readonly [{
|
|
3798
3834
|
readonly wall: "north";
|
|
@@ -3915,6 +3951,8 @@ declare const ROOM_PRESETS: {
|
|
|
3915
3951
|
readonly objects: 37;
|
|
3916
3952
|
};
|
|
3917
3953
|
readonly prebaked: readonly [];
|
|
3954
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
3955
|
+
readonly standGlb: "rooms/plaster_atelier/stand.glb";
|
|
3918
3956
|
readonly plants: readonly ["potted_palm_01", "potted_plant_01"];
|
|
3919
3957
|
readonly pictures: readonly [];
|
|
3920
3958
|
readonly previewBrightness: {
|
|
@@ -4034,6 +4072,8 @@ declare const ROOM_PRESETS: {
|
|
|
4034
4072
|
readonly objects: 77;
|
|
4035
4073
|
};
|
|
4036
4074
|
readonly prebaked: readonly [];
|
|
4075
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
4076
|
+
readonly standGlb: "rooms/slat_lounge/stand.glb";
|
|
4037
4077
|
readonly plants: readonly ["potted_bird_of_paradise_01", "potted_monstera_02"];
|
|
4038
4078
|
readonly pictures: readonly [{
|
|
4039
4079
|
readonly wall: "north";
|
|
@@ -4101,7 +4141,7 @@ declare const ROOM_PRESETS: {
|
|
|
4101
4141
|
readonly studio_night: {
|
|
4102
4142
|
readonly label: "Night Studio";
|
|
4103
4143
|
readonly description: "Warm greige walls after dark: IES downlights, a lit cove channel round the ceiling and one accent spot carrying the centerpiece.";
|
|
4104
|
-
readonly build: "
|
|
4144
|
+
readonly build: "a62ba8b9dc1f";
|
|
4105
4145
|
readonly presetsVersion: 1;
|
|
4106
4146
|
readonly size: {
|
|
4107
4147
|
readonly width: 5;
|
|
@@ -4143,31 +4183,33 @@ declare const ROOM_PRESETS: {
|
|
|
4143
4183
|
};
|
|
4144
4184
|
readonly preview: {
|
|
4145
4185
|
readonly glb: "rooms/studio_night/room.glb";
|
|
4146
|
-
readonly bytes:
|
|
4147
|
-
readonly triangles:
|
|
4186
|
+
readonly bytes: 4251684;
|
|
4187
|
+
readonly triangles: 185457;
|
|
4148
4188
|
readonly textures: 21;
|
|
4149
4189
|
};
|
|
4150
4190
|
readonly complexity: {
|
|
4151
4191
|
readonly enclosure: 1;
|
|
4152
|
-
readonly objects:
|
|
4192
|
+
readonly objects: 63;
|
|
4153
4193
|
};
|
|
4154
4194
|
readonly prebaked: readonly [];
|
|
4195
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
4196
|
+
readonly standGlb: null;
|
|
4155
4197
|
readonly plants: readonly ["potted_palm_01", "potted_plant_04"];
|
|
4156
4198
|
readonly pictures: readonly [];
|
|
4157
4199
|
readonly previewBrightness: {
|
|
4158
|
-
readonly day: 0.
|
|
4159
|
-
readonly golden: 0.
|
|
4200
|
+
readonly day: 0.222;
|
|
4201
|
+
readonly golden: 0.636;
|
|
4160
4202
|
readonly overcast: 0.482;
|
|
4161
4203
|
readonly night: 0.466;
|
|
4162
4204
|
};
|
|
4163
4205
|
readonly previewFill: {
|
|
4164
4206
|
readonly day: {
|
|
4165
|
-
readonly sky: readonly [1.
|
|
4166
|
-
readonly ground: readonly [1.
|
|
4207
|
+
readonly sky: readonly [1.222, 0.951, 0.829];
|
|
4208
|
+
readonly ground: readonly [1.222, 0.951, 0.829];
|
|
4167
4209
|
};
|
|
4168
4210
|
readonly golden: {
|
|
4169
|
-
readonly sky: readonly [1.
|
|
4170
|
-
readonly ground: readonly [1.
|
|
4211
|
+
readonly sky: readonly [1.37, 0.927, 0.632];
|
|
4212
|
+
readonly ground: readonly [1.37, 0.927, 0.632];
|
|
4171
4213
|
};
|
|
4172
4214
|
readonly overcast: {
|
|
4173
4215
|
readonly sky: readonly [1.439, 0.904, 0.657];
|
|
@@ -4187,12 +4229,12 @@ declare const ROOM_PRESETS: {
|
|
|
4187
4229
|
readonly hdri: {
|
|
4188
4230
|
readonly day: {
|
|
4189
4231
|
readonly name: "pergola_walkway";
|
|
4190
|
-
readonly rotationDeg:
|
|
4232
|
+
readonly rotationDeg: 169.7;
|
|
4191
4233
|
readonly groundHeight: 1.6;
|
|
4192
4234
|
};
|
|
4193
4235
|
readonly golden: {
|
|
4194
4236
|
readonly name: "qwantani_sunset";
|
|
4195
|
-
readonly rotationDeg:
|
|
4237
|
+
readonly rotationDeg: 214;
|
|
4196
4238
|
readonly groundHeight: 1.6;
|
|
4197
4239
|
};
|
|
4198
4240
|
readonly overcast: {
|
|
@@ -4207,7 +4249,7 @@ declare const ROOM_PRESETS: {
|
|
|
4207
4249
|
};
|
|
4208
4250
|
};
|
|
4209
4251
|
readonly skyIrradiance: {
|
|
4210
|
-
readonly day: 8.
|
|
4252
|
+
readonly day: 8.468;
|
|
4211
4253
|
readonly golden: 5.273;
|
|
4212
4254
|
readonly overcast: 3.286;
|
|
4213
4255
|
readonly night: 0.011;
|
|
@@ -4271,6 +4313,8 @@ declare const ROOM_PRESETS: {
|
|
|
4271
4313
|
readonly objects: 117;
|
|
4272
4314
|
};
|
|
4273
4315
|
readonly prebaked: readonly [];
|
|
4316
|
+
readonly baked: readonly ["day", "golden", "night"];
|
|
4317
|
+
readonly standGlb: "rooms/walnut_salon/stand.glb";
|
|
4274
4318
|
readonly plants: readonly ["potted_bird_of_paradise_01", "potted_monstera_02"];
|
|
4275
4319
|
readonly pictures: readonly [{
|
|
4276
4320
|
readonly wall: "east";
|
|
@@ -4781,6 +4825,27 @@ declare class AssetsApi {
|
|
|
4781
4825
|
import(url: string, options?: {
|
|
4782
4826
|
kind?: AssetImportKind;
|
|
4783
4827
|
}): Promise<AssetImportResponse>;
|
|
4828
|
+
/**
|
|
4829
|
+
* Delete one uploaded file from the project now, rather than when
|
|
4830
|
+
* retention would. `deleted` is false when the project held no such file,
|
|
4831
|
+
* so deleting twice is not an error. The next render that needs the file
|
|
4832
|
+
* uploads it again; a render still queued that needs it can fail, and a
|
|
4833
|
+
* failed render costs nothing.
|
|
4834
|
+
*
|
|
4835
|
+
* await api.assets.delete('sha256:9f2b…');
|
|
4836
|
+
* // { hash: 'sha256:9f2b…', deleted: true }
|
|
4837
|
+
*/
|
|
4838
|
+
delete(hash: string): Promise<AssetDeleteResponse>;
|
|
4839
|
+
/**
|
|
4840
|
+
* Delete every uploaded file in the project, a page per request until
|
|
4841
|
+
* none is left. Resolves with how many were deleted.
|
|
4842
|
+
*
|
|
4843
|
+
* await api.assets.deleteAll();
|
|
4844
|
+
* // { deleted: 240 }
|
|
4845
|
+
*/
|
|
4846
|
+
deleteAll(): Promise<{
|
|
4847
|
+
deleted: number;
|
|
4848
|
+
}>;
|
|
4784
4849
|
}
|
|
4785
4850
|
type Request = <T>(method: string, path: string, body?: unknown) => Promise<T>;
|
|
4786
4851
|
declare class TokensApi {
|
|
@@ -4859,4 +4924,4 @@ declare class BatchesApi {
|
|
|
4859
4924
|
get(id: string): Promise<Batch>;
|
|
4860
4925
|
}
|
|
4861
4926
|
|
|
4862
|
-
export { type Angle, Bakery3Error, Bakery3Server, type Bakery3ServerOptions, Batch, type BatchAddRequest, type BatchAddResponse, type BatchEnvironment, type BatchExportLine, type BatchItemOutcome, type BatchItemRecord, type BatchItemRequest, type BatchItemsPage, type BatchOpenRequest, BatchPageRefused, type BatchProduct, type BatchProgress, type BatchRecord, type BatchRoom, type BrowserToken, type BrowserTokenOptions, type CostEstimate, type FlushOptions, type FrameSequenceIndex, type ImageShot, type ProductSkip, type Recorded, type RenderBatchOptions, type RenderBatchProgress, type RenderBatchRecorded, type RenderBatchRun, type RenderRecord, RenderSet, type RenderSetFailure, type RenderSetImage, type RenderSpec, type RetryPolicy, type Shot, type ShotSettings, type TestRunOptions, type VideoShot, type View, type ViewWord, type WaitOptions, verifyWebhook };
|
|
4927
|
+
export { type Angle, type AssetDeleteResponse, Bakery3Error, Bakery3Server, type Bakery3ServerOptions, Batch, type BatchAddRequest, type BatchAddResponse, type BatchEnvironment, type BatchExportLine, type BatchItemOutcome, type BatchItemRecord, type BatchItemRequest, type BatchItemsPage, type BatchOpenRequest, BatchPageRefused, type BatchProduct, type BatchProgress, type BatchRecord, type BatchRoom, type BrowserToken, type BrowserTokenOptions, type CostEstimate, type FlushOptions, type FrameSequenceIndex, type ImageShot, type ProductSkip, type Recorded, type RenderBatchOptions, type RenderBatchProgress, type RenderBatchRecorded, type RenderBatchRun, type RenderRecord, RenderSet, type RenderSetFailure, type RenderSetImage, type RenderSpec, type RetryPolicy, type Shot, type ShotSettings, type TestRunOptions, type VideoShot, type View, type ViewWord, type WaitOptions, verifyWebhook };
|