@magiclabs.ai/magicbook-client 0.7.11-canary → 0.7.12-canary
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/index.cjs +6 -3
- package/index.cjs.map +1 -1
- package/index.d.cts +15 -6
- package/index.d.ts +15 -6
- package/index.iife.js +6 -3
- package/index.js +6 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -4492,7 +4492,6 @@ var Book = class {
|
|
|
4492
4492
|
|
|
4493
4493
|
// ../../core/models/design-request/image.ts
|
|
4494
4494
|
var Images = class {
|
|
4495
|
-
// eslint-disable-next-line no-unused-vars
|
|
4496
4495
|
constructor(client, parentId, designRequestState) {
|
|
4497
4496
|
this.client = client;
|
|
4498
4497
|
this.parentId = parentId;
|
|
@@ -4527,7 +4526,8 @@ var imageServerSchema = z.object({
|
|
|
4527
4526
|
taken_at: z.string(),
|
|
4528
4527
|
camera_make: z.string().optional(),
|
|
4529
4528
|
camera: z.string().optional(),
|
|
4530
|
-
filename: z.string()
|
|
4529
|
+
filename: z.string(),
|
|
4530
|
+
metadata: z.record(z.unknown()).optional()
|
|
4531
4531
|
});
|
|
4532
4532
|
var ImageServer = class {
|
|
4533
4533
|
handle;
|
|
@@ -4539,6 +4539,7 @@ var ImageServer = class {
|
|
|
4539
4539
|
camera_make;
|
|
4540
4540
|
camera;
|
|
4541
4541
|
filename;
|
|
4542
|
+
metadata;
|
|
4542
4543
|
constructor(image) {
|
|
4543
4544
|
this.handle = image.handle;
|
|
4544
4545
|
this.url = image.url;
|
|
@@ -4549,6 +4550,7 @@ var ImageServer = class {
|
|
|
4549
4550
|
this.camera_make = image.cameraMake;
|
|
4550
4551
|
this.camera = image.cameraModel;
|
|
4551
4552
|
this.filename = image.filename;
|
|
4553
|
+
this.metadata = image.metadata;
|
|
4552
4554
|
}
|
|
4553
4555
|
};
|
|
4554
4556
|
function imageServerToImage(imageServer) {
|
|
@@ -4561,7 +4563,8 @@ function imageServerToImage(imageServer) {
|
|
|
4561
4563
|
captureTime: imageServer.taken_at,
|
|
4562
4564
|
cameraMake: imageServer.camera_make,
|
|
4563
4565
|
cameraModel: imageServer.camera,
|
|
4564
|
-
filename: imageServer.filename
|
|
4566
|
+
filename: imageServer.filename,
|
|
4567
|
+
metadata: imageServer.metadata
|
|
4565
4568
|
};
|
|
4566
4569
|
}
|
|
4567
4570
|
|