@carlonicora/nextjs-jsonapi 1.3.1 → 1.4.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/dist/{BlockNoteEditor-7WYPN34K.js → BlockNoteEditor-QV6ESIQA.js} +5 -5
- package/dist/{BlockNoteEditor-7WYPN34K.js.map → BlockNoteEditor-QV6ESIQA.js.map} +1 -1
- package/dist/{BlockNoteEditor-V625C23O.mjs → BlockNoteEditor-U2IHUVUF.mjs} +3 -3
- package/dist/chunk-3UELCPIN.js +46 -0
- package/dist/chunk-3UELCPIN.js.map +1 -0
- package/dist/{chunk-K2ANOT66.js → chunk-E2HRC2OG.js} +37 -35
- package/dist/chunk-E2HRC2OG.js.map +1 -0
- package/dist/{chunk-5QC7A6BL.mjs → chunk-R2ONK22M.mjs} +20 -18
- package/dist/chunk-R2ONK22M.mjs.map +1 -0
- package/dist/chunk-SZZYEG3P.mjs +46 -0
- package/dist/chunk-SZZYEG3P.mjs.map +1 -0
- package/dist/client/index.js +3 -3
- package/dist/client/index.mjs +2 -2
- package/dist/components/index.js +3 -3
- package/dist/components/index.mjs +2 -2
- package/dist/contexts/index.js +3 -3
- package/dist/contexts/index.mjs +2 -2
- package/dist/features/index.js +1 -1
- package/dist/features/index.mjs +1 -1
- package/dist/hooks/index.js +3 -3
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/roles/index.d.mts +7 -1
- package/dist/roles/index.d.ts +7 -1
- package/dist/roles/index.js +8 -2
- package/dist/roles/index.js.map +1 -1
- package/dist/roles/index.mjs +7 -1
- package/package.json +1 -1
- package/src/features/auth/components/details/LandingComponent.tsx +27 -29
- package/src/roles/config.ts +15 -0
- package/src/roles/index.ts +9 -1
- package/dist/chunk-4HCRAOS5.js +0 -28
- package/dist/chunk-4HCRAOS5.js.map +0 -1
- package/dist/chunk-5QC7A6BL.mjs.map +0 -1
- package/dist/chunk-BLWVZK6J.mjs +0 -28
- package/dist/chunk-BLWVZK6J.mjs.map +0 -1
- package/dist/chunk-K2ANOT66.js.map +0 -1
- /package/dist/{BlockNoteEditor-V625C23O.mjs.map → BlockNoteEditor-U2IHUVUF.mjs.map} +0 -0
|
@@ -123,8 +123,10 @@ import {
|
|
|
123
123
|
getTrackablePages
|
|
124
124
|
} from "./chunk-IKBA4AHN.mjs";
|
|
125
125
|
import {
|
|
126
|
-
getRoleId
|
|
127
|
-
|
|
126
|
+
getRoleId,
|
|
127
|
+
isDiscordConfigured,
|
|
128
|
+
isInternalAuthConfigured
|
|
129
|
+
} from "./chunk-SZZYEG3P.mjs";
|
|
128
130
|
import {
|
|
129
131
|
recentPagesAtom
|
|
130
132
|
} from "./chunk-Q2N6SQYW.mjs";
|
|
@@ -1985,7 +1987,7 @@ __name(AllowedUsersDetails, "AllowedUsersDetails");
|
|
|
1985
1987
|
import dynamic from "next/dynamic";
|
|
1986
1988
|
import React3 from "react";
|
|
1987
1989
|
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
1988
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
1990
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-U2IHUVUF.mjs"), {
|
|
1989
1991
|
ssr: false
|
|
1990
1992
|
});
|
|
1991
1993
|
var BlockNoteEditorContainer = React3.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -4940,20 +4942,20 @@ function LandingComponent() {
|
|
|
4940
4942
|
] }),
|
|
4941
4943
|
/* @__PURE__ */ jsx69(CardDescription, { className: "flex w-full justify-center text-center text-sm", children: t(`generic.description`) })
|
|
4942
4944
|
] }),
|
|
4943
|
-
/* @__PURE__ */ jsxs46(CardFooter, { className: "mt-4 flex w-full flex-col justify-between", children: [
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
}
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
)
|
|
4945
|
+
/* @__PURE__ */ jsxs46(CardFooter, { className: "mt-4 flex w-full flex-col justify-between gap-y-4", children: [
|
|
4946
|
+
isInternalAuthConfigured() && /* @__PURE__ */ jsxs46(Fragment13, { children: [
|
|
4947
|
+
/* @__PURE__ */ jsx69(
|
|
4948
|
+
Link,
|
|
4949
|
+
{
|
|
4950
|
+
href: "#",
|
|
4951
|
+
className: "flex w-full justify-start",
|
|
4952
|
+
onClick: () => setComponentType(5 /* Register */),
|
|
4953
|
+
children: /* @__PURE__ */ jsx69(Button, { className: "w-full", variant: `default`, children: t(`foundations.auth.buttons.register`) })
|
|
4954
|
+
}
|
|
4955
|
+
),
|
|
4956
|
+
/* @__PURE__ */ jsx69(Link, { href: "#", className: "flex w-full justify-end", onClick: () => setComponentType(0 /* Login */), children: /* @__PURE__ */ jsx69(Button, { className: "w-full", variant: `outline`, "data-testid": "page-login-button-initial-login", children: t(`foundations.auth.buttons.login`) }) })
|
|
4957
|
+
] }),
|
|
4958
|
+
isDiscordConfigured() && /* @__PURE__ */ jsx69(Link, { href: `${getApiUrl()}auth/discord`, className: "flex w-full justify-end", children: /* @__PURE__ */ jsx69(Button, { className: "w-full", variant: `outline`, "data-testid": "page-login-button-initial-login", children: "Login with Discord" }) })
|
|
4957
4959
|
] })
|
|
4958
4960
|
] });
|
|
4959
4961
|
}
|
|
@@ -7980,4 +7982,4 @@ export {
|
|
|
7980
7982
|
RolesList,
|
|
7981
7983
|
UserRolesList
|
|
7982
7984
|
};
|
|
7983
|
-
//# sourceMappingURL=chunk-
|
|
7985
|
+
//# sourceMappingURL=chunk-R2ONK22M.mjs.map
|