@magiclabs.ai/magicbook-client 0.7.22-canary → 0.7.23-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 +1 -1
- package/index.cjs.map +1 -1
- package/index.d.cts +1 -16
- package/index.d.ts +1 -16
- package/index.iife.js +1 -1
- package/index.iife.min.js +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.cts
CHANGED
|
@@ -4572,22 +4572,7 @@ declare class SpreadsEndpoints {
|
|
|
4572
4572
|
metadata?: unknown;
|
|
4573
4573
|
background?: unknown;
|
|
4574
4574
|
}>;
|
|
4575
|
-
render(spreadId: string, bookId: string, size?: number): Promise<
|
|
4576
|
-
state: string;
|
|
4577
|
-
book_id: string;
|
|
4578
|
-
spread_type: string;
|
|
4579
|
-
sequence: number;
|
|
4580
|
-
wells: unknown[];
|
|
4581
|
-
laid_out_at: string | null;
|
|
4582
|
-
embellished_at: string | null;
|
|
4583
|
-
polished_at: string | null;
|
|
4584
|
-
id?: string | undefined;
|
|
4585
|
-
url?: string | null | undefined;
|
|
4586
|
-
width?: number | undefined;
|
|
4587
|
-
height?: number | undefined;
|
|
4588
|
-
metadata?: unknown;
|
|
4589
|
-
background?: unknown;
|
|
4590
|
-
}>;
|
|
4575
|
+
render(spreadId: string, bookId: string, size?: number): Promise<any>;
|
|
4591
4576
|
update(spreadId: string, bookId: string, spread: SpreadServer): Promise<{
|
|
4592
4577
|
state: string;
|
|
4593
4578
|
book_id: string;
|
package/index.d.ts
CHANGED
|
@@ -4572,22 +4572,7 @@ declare class SpreadsEndpoints {
|
|
|
4572
4572
|
metadata?: unknown;
|
|
4573
4573
|
background?: unknown;
|
|
4574
4574
|
}>;
|
|
4575
|
-
render(spreadId: string, bookId: string, size?: number): Promise<
|
|
4576
|
-
state: string;
|
|
4577
|
-
book_id: string;
|
|
4578
|
-
spread_type: string;
|
|
4579
|
-
sequence: number;
|
|
4580
|
-
wells: unknown[];
|
|
4581
|
-
laid_out_at: string | null;
|
|
4582
|
-
embellished_at: string | null;
|
|
4583
|
-
polished_at: string | null;
|
|
4584
|
-
id?: string | undefined;
|
|
4585
|
-
url?: string | null | undefined;
|
|
4586
|
-
width?: number | undefined;
|
|
4587
|
-
height?: number | undefined;
|
|
4588
|
-
metadata?: unknown;
|
|
4589
|
-
background?: unknown;
|
|
4590
|
-
}>;
|
|
4575
|
+
render(spreadId: string, bookId: string, size?: number): Promise<any>;
|
|
4591
4576
|
update(spreadId: string, bookId: string, spread: SpreadServer): Promise<{
|
|
4592
4577
|
state: string;
|
|
4593
4578
|
book_id: string;
|
package/index.iife.js
CHANGED
|
@@ -6469,7 +6469,7 @@ var MagicLabs = (() => {
|
|
|
6469
6469
|
const res = await this.engineAPI.fetcher.call({
|
|
6470
6470
|
path: `/v1/spreads/${spreadId}/book/${bookId}/render/${size}`
|
|
6471
6471
|
});
|
|
6472
|
-
return
|
|
6472
|
+
return res;
|
|
6473
6473
|
});
|
|
6474
6474
|
}
|
|
6475
6475
|
update(spreadId, bookId, spread) {
|