sass-cms-template-common 0.0.3 → 0.0.4
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/dist/index.d.ts +10 -7
- package/dist/index.js +465 -503
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +10 -0
- package/dist/server.js +2 -2
- package/dist/{services-D9XCHGgK.js → services-DlTJ4HIV.js} +32 -11
- package/dist/services-DlTJ4HIV.js.map +1 -0
- package/package.json +1 -1
- package/dist/services-D9XCHGgK.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { Theme } from '@mui/material/styles';
|
|
|
14
14
|
*/
|
|
15
15
|
export declare const ACCOUNT_NAV_BLOCKS: NavBlock[];
|
|
16
16
|
|
|
17
|
-
export declare function AppShell({ pathname, sites, children, notificationUnreadCount, notifications, profile, primaryLogo, brandLogo, selectedPublicationId, getPublicationHref, resolvePublicationImageUrl, profileAvatarOptions, LinkComponent, permissions, locale, language, messages, }: AppShellProps): JSX.Element;
|
|
17
|
+
export declare function AppShell({ pathname, sites, children, notificationUnreadCount, notifications, profile, primaryLogo, brandLogo, selectedPublicationId, getPublicationHref, resolvePublicationImageUrl, profileAvatarOptions, LinkComponent, permissions, locale, language, messages, baseUrl, }: AppShellProps): JSX.Element;
|
|
18
18
|
|
|
19
19
|
export declare type AppShellProps = {
|
|
20
20
|
pathname: string;
|
|
@@ -25,7 +25,7 @@ export declare type AppShellProps = {
|
|
|
25
25
|
profile: ProfileGetResponse;
|
|
26
26
|
primaryLogo: ReactNode;
|
|
27
27
|
brandLogo?: ReactNode;
|
|
28
|
-
selectedPublicationId
|
|
28
|
+
selectedPublicationId: string;
|
|
29
29
|
getPublicationHref: (publication: Publication) => string;
|
|
30
30
|
resolvePublicationImageUrl?: (imagePath: string) => string;
|
|
31
31
|
profileAvatarOptions?: ProfileAvatarOptions;
|
|
@@ -35,6 +35,7 @@ export declare type AppShellProps = {
|
|
|
35
35
|
/** Alias de `locale`. */
|
|
36
36
|
language?: Locale | string;
|
|
37
37
|
messages?: CmsMessagesOverride;
|
|
38
|
+
baseUrl: string;
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
/** Credenciales de sesión CMS usadas por los servicios HTTP. */
|
|
@@ -153,7 +154,7 @@ export declare const enMessages: {
|
|
|
153
154
|
readonly ANALYTICS: "Analytics";
|
|
154
155
|
readonly TAGS: "Tags";
|
|
155
156
|
readonly TRIVIAS: "Trivia";
|
|
156
|
-
readonly
|
|
157
|
+
readonly OTHERS: "Other";
|
|
157
158
|
readonly NEWSWIRES: "News Wires";
|
|
158
159
|
readonly EVENTS: "Events";
|
|
159
160
|
readonly PAGES: "Pages";
|
|
@@ -221,7 +222,7 @@ export declare const esMessages: {
|
|
|
221
222
|
ANALYTICS: string;
|
|
222
223
|
TAGS: string;
|
|
223
224
|
TRIVIAS: string;
|
|
224
|
-
|
|
225
|
+
OTHERS: string;
|
|
225
226
|
NEWSWIRES: string;
|
|
226
227
|
EVENTS: string;
|
|
227
228
|
PAGES: string;
|
|
@@ -424,7 +425,7 @@ export declare const ptMessages: {
|
|
|
424
425
|
ANALYTICS: string;
|
|
425
426
|
TAGS: string;
|
|
426
427
|
TRIVIAS: string;
|
|
427
|
-
|
|
428
|
+
OTHERS: string;
|
|
428
429
|
NEWSWIRES: string;
|
|
429
430
|
EVENTS: string;
|
|
430
431
|
PAGES: string;
|
|
@@ -549,15 +550,17 @@ export declare function resolveCmsAssetUrl(path: string, cmsOrigin?: string): st
|
|
|
549
550
|
|
|
550
551
|
export declare function resolveCmsOrigin(cmsOrigin?: string): string;
|
|
551
552
|
|
|
552
|
-
export declare function Sidebar({ open, pathname, permissions, LinkComponent, }: SidebarProps): JSX.Element;
|
|
553
|
+
export declare function Sidebar({ open, pathname, permissions, LinkComponent, baseUrl, selectedPublicationId, }: SidebarProps): JSX.Element;
|
|
553
554
|
|
|
554
555
|
export declare type SidebarMessageKey = keyof CmsMessages['sidebar'];
|
|
555
556
|
|
|
556
557
|
export declare type SidebarProps = {
|
|
557
|
-
open
|
|
558
|
+
open?: boolean;
|
|
558
559
|
pathname: string;
|
|
559
560
|
LinkComponent?: CmsLinkComponent;
|
|
560
561
|
permissions: Array<NavItemPermissions>;
|
|
562
|
+
baseUrl: string;
|
|
563
|
+
selectedPublicationId: string;
|
|
561
564
|
};
|
|
562
565
|
|
|
563
566
|
/** Entrada de sitio devuelta por POST /sites/get */
|