@punks/backend-entity-manager 0.0.505 → 0.0.508
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/cjs/index.js +41 -13
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/extensions/authentication/handlers/user-create/types.d.ts +6 -1
- package/dist/cjs/types/platforms/nest/plugins/email/aws-ses/provider/email/index.d.ts +1 -0
- package/dist/cjs/types/platforms/nest/plugins/email/aws-ses/settings/index.d.ts +2 -0
- package/dist/esm/index.js +41 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/extensions/authentication/handlers/user-create/types.d.ts +6 -1
- package/dist/esm/types/platforms/nest/plugins/email/aws-ses/provider/email/index.d.ts +1 -0
- package/dist/esm/types/platforms/nest/plugins/email/aws-ses/settings/index.d.ts +2 -0
- package/dist/index.d.ts +8 -1
- package/package.json +2 -2
package/dist/esm/types/platforms/nest/extensions/authentication/handlers/user-create/types.d.ts
CHANGED
|
@@ -5,7 +5,12 @@ export declare enum UserCreationError {
|
|
|
5
5
|
export type UserCreationInput<TUserRegistrationInfo, TUserContext extends IAuthUserContext> = {
|
|
6
6
|
email: string;
|
|
7
7
|
userName: string;
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Password for the user account.
|
|
10
|
+
* - Required for standard email/password authentication
|
|
11
|
+
* - Should be omitted (undefined) when using passwordless OAuth login
|
|
12
|
+
*/
|
|
13
|
+
password?: string;
|
|
9
14
|
registrationInfo: TUserRegistrationInfo;
|
|
10
15
|
context?: TUserContext;
|
|
11
16
|
verified?: boolean;
|
|
@@ -5,4 +5,5 @@ export declare class AwsSesEmailProvider implements IEmailProvider<AwsSesEmailTe
|
|
|
5
5
|
constructor();
|
|
6
6
|
sendTemplatedEmail<TPayload, TAugmentedPayload>(input: TemplatedEmailInput<TPayload>, template: IEmailTemplate<AwsSesEmailTemplateData, TPayload, TAugmentedPayload>, options?: EmailSendOptions): Promise<void>;
|
|
7
7
|
sendHtmlEmail<TPayload>(input: HtmlEmailInput<TPayload>, options?: EmailSendOptions): Promise<void>;
|
|
8
|
+
private invokeEmailSend;
|
|
8
9
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -2085,7 +2085,12 @@ declare enum UserCreationError {
|
|
|
2085
2085
|
type UserCreationInput<TUserRegistrationInfo, TUserContext extends IAuthUserContext> = {
|
|
2086
2086
|
email: string;
|
|
2087
2087
|
userName: string;
|
|
2088
|
-
|
|
2088
|
+
/**
|
|
2089
|
+
* Password for the user account.
|
|
2090
|
+
* - Required for standard email/password authentication
|
|
2091
|
+
* - Should be omitted (undefined) when using passwordless OAuth login
|
|
2092
|
+
*/
|
|
2093
|
+
password?: string;
|
|
2089
2094
|
registrationInfo: TUserRegistrationInfo;
|
|
2090
2095
|
context?: TUserContext;
|
|
2091
2096
|
verified?: boolean;
|
|
@@ -3659,6 +3664,8 @@ type AwsSesSettings = {
|
|
|
3659
3664
|
defaultSender: string;
|
|
3660
3665
|
defaultCc?: string[];
|
|
3661
3666
|
defaultBcc?: string[];
|
|
3667
|
+
sandboxMode?: boolean;
|
|
3668
|
+
sandboxAddresses?: string[];
|
|
3662
3669
|
};
|
|
3663
3670
|
|
|
3664
3671
|
declare class AwsEmailModule {
|
package/package.json
CHANGED