@omerlo/omerlo-webkit 0.0.6 → 0.0.8
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.
|
@@ -15,6 +15,7 @@ export interface ContentSeo {
|
|
|
15
15
|
}
|
|
16
16
|
export interface ContentSummary {
|
|
17
17
|
id: string;
|
|
18
|
+
metadata: Record<string, string>;
|
|
18
19
|
template: ContentTemplate;
|
|
19
20
|
canonicalDomain: string | null;
|
|
20
21
|
canonicalUrl: string | null;
|
|
@@ -36,7 +37,6 @@ export interface ContentSummary {
|
|
|
36
37
|
authors: (PersonSummary | OrganizationSummary)[];
|
|
37
38
|
}
|
|
38
39
|
export interface Content extends ContentSummary {
|
|
39
|
-
metadata: Record<string, string>;
|
|
40
40
|
blocks: ContentBlock[];
|
|
41
41
|
}
|
|
42
42
|
export type ContentBlockRichtext = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type LocalesMetadata } from '../utils/response';
|
|
2
2
|
import { type Visual } from './visuals';
|
|
3
3
|
import { type ApiAssocs, type ApiData } from '../utils/api';
|
|
4
|
-
import { type Content } from './contents';
|
|
4
|
+
import { type Content, type ContentSummary } from './contents';
|
|
5
5
|
export declare const magazineFetchers: (f: typeof fetch) => {
|
|
6
6
|
getIssue: (id: string) => Promise<import("../utils/api").ApiResponse<Issue>>;
|
|
7
7
|
getBlocks: (sectionId: string) => Promise<import("../utils/api").ApiResponse<IssueBlock[]>>;
|
|
@@ -100,5 +100,5 @@ export interface IssueBlockConfiguration {
|
|
|
100
100
|
}
|
|
101
101
|
export interface IssueBlockSlot {
|
|
102
102
|
id: string;
|
|
103
|
-
content:
|
|
103
|
+
content: ContentSummary;
|
|
104
104
|
}
|