strapi-plugin-firebase-authentication 1.1.12 → 1.2.1
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/_chunks/{App-BqjE8BHb.js → App-CAgq2cOo.js} +369 -288
- package/dist/_chunks/{App-BY1gNGKH.mjs → App-CyeC5fLT.mjs} +291 -210
- package/dist/_chunks/api-BL-wXuSb.js +56776 -0
- package/dist/_chunks/api-Bjer83Qp.mjs +56759 -0
- package/dist/_chunks/index-Bg-lGlji.mjs +2758 -0
- package/dist/_chunks/{index-C4t4JZZ_.js → index-CTenjpqN.js} +285 -172
- package/dist/_chunks/{index-D8pv1Q6h.mjs → index-Kidqhaeq.mjs} +268 -155
- package/dist/_chunks/index-Rervtuh1.js +2757 -0
- package/dist/admin/index.js +1 -3
- package/dist/admin/index.mjs +2 -4
- package/dist/admin/src/components/user-management/ResendVerification/ResendVerification.d.ts +9 -0
- package/dist/admin/src/components/user-management/index.d.ts +1 -0
- package/dist/admin/src/pages/Settings/api.d.ts +4 -0
- package/dist/admin/src/pages/utils/api.d.ts +2 -1
- package/dist/server/index.js +1008 -332
- package/dist/server/index.mjs +1008 -332
- package/dist/server/src/config/index.d.ts +1 -1
- package/dist/server/src/content-types/index.d.ts +16 -0
- package/dist/server/src/controllers/firebaseController.d.ts +16 -1
- package/dist/server/src/controllers/index.d.ts +3 -0
- package/dist/server/src/controllers/userController.d.ts +1 -0
- package/dist/server/src/index.d.ts +51 -5
- package/dist/server/src/policies/index.d.ts +3 -1
- package/dist/server/src/policies/is-authenticated.d.ts +6 -0
- package/dist/server/src/routes/content-api.d.ts +10 -2
- package/dist/server/src/routes/index.d.ts +10 -2
- package/dist/server/src/services/emailService.d.ts +10 -0
- package/dist/server/src/services/firebaseService.d.ts +21 -1
- package/dist/server/src/services/index.d.ts +18 -1
- package/dist/server/src/services/settingsService.d.ts +2 -0
- package/dist/server/src/services/tokenService.d.ts +21 -0
- package/dist/server/src/services/userService.d.ts +5 -0
- package/dist/server/src/templates/defaults/email-verification.d.ts +2 -0
- package/dist/server/src/templates/defaults/index.d.ts +1 -0
- package/dist/server/src/templates/types.d.ts +3 -1
- package/package.json +8 -8
- package/dist/_chunks/api-DQCdqlCd.js +0 -35
- package/dist/_chunks/api-D_4cdJU5.mjs +0 -36
- package/dist/_chunks/index-DlPxMuSK.js +0 -814
- package/dist/_chunks/index-DtGfwf9S.mjs +0 -815
package/dist/admin/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const index = require("../_chunks/index-
|
|
2
|
+
const index = require("../_chunks/index-Rervtuh1.js");
|
|
3
3
|
require("react/jsx-runtime");
|
|
4
4
|
require("@strapi/strapi/admin");
|
|
5
|
-
require("@strapi/design-system");
|
|
6
|
-
require("@strapi/icons");
|
|
7
5
|
require("react-router-dom");
|
|
8
6
|
module.exports = index.index;
|
package/dist/admin/index.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B } from "../_chunks/index-Bg-lGlji.mjs";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "@strapi/strapi/admin";
|
|
4
|
-
import "@strapi/design-system";
|
|
5
|
-
import "@strapi/icons";
|
|
6
4
|
import "react-router-dom";
|
|
7
5
|
export {
|
|
8
|
-
|
|
6
|
+
B as default
|
|
9
7
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface ResendVerificationProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
email: string;
|
|
4
|
+
userId: string;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onSendVerificationEmail: () => Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
export declare const ResendVerification: ({ isOpen, email, userId, onClose, onSendVerificationEmail, }: ResendVerificationProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -8,6 +8,8 @@ export declare const saveFirebaseConfig: (json: string, firebaseWebApiKey?: stri
|
|
|
8
8
|
magicLinkUrl?: string;
|
|
9
9
|
magicLinkEmailSubject?: string;
|
|
10
10
|
magicLinkExpiryHours?: number;
|
|
11
|
+
emailVerificationUrl?: string;
|
|
12
|
+
emailVerificationEmailSubject?: string;
|
|
11
13
|
}) => Promise<any>;
|
|
12
14
|
export declare const getFirebaseConfig: () => Promise<any>;
|
|
13
15
|
export declare const delFirebaseConfig: () => Promise<any>;
|
|
@@ -20,4 +22,6 @@ export declare const savePasswordSettings: (passwordConfig: {
|
|
|
20
22
|
magicLinkUrl?: string;
|
|
21
23
|
magicLinkEmailSubject?: string;
|
|
22
24
|
magicLinkExpiryHours?: number;
|
|
25
|
+
emailVerificationUrl?: string;
|
|
26
|
+
emailVerificationEmailSubject?: string;
|
|
23
27
|
}) => Promise<any>;
|
|
@@ -34,4 +34,5 @@ declare const resetUserPassword: (idToUpdate: string, payload: {
|
|
|
34
34
|
declare const sendResetEmail: (userId: string) => Promise<any>;
|
|
35
35
|
declare const getFirebaseConfig: () => Promise<any>;
|
|
36
36
|
declare const sendPasswordResetEmail: (userId: string) => Promise<any>;
|
|
37
|
-
|
|
37
|
+
declare const sendVerificationEmail: (userId: string) => Promise<any>;
|
|
38
|
+
export { fetchUsers, fetchUserByID, deleteUser, updateUser, createUser, fetchStrapiUsers, fetchStrapiUserById, resetUserPassword, sendResetEmail, getFirebaseConfig, sendPasswordResetEmail, sendVerificationEmail, };
|