firstly 0.1.1 → 0.1.2
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# firstly
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e4d8b67`](https://github.com/jycouet/firstly/commit/e4d8b673787beee6d28e36aac1a404f49d690fb8)
|
|
8
|
+
Thanks [@jycouet](https://github.com/jycouet)! - export interface for `changeLog` Module
|
|
9
|
+
|
|
3
10
|
## 0.1.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { Module } from 'remult/server';
|
|
2
|
+
import type { ColumnDeciderArgs } from '..';
|
|
3
|
+
declare module 'remult' {
|
|
4
|
+
interface EntityOptions<entityType> {
|
|
5
|
+
changeLog?: false | ColumnDeciderArgs<entityType>;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
2
8
|
/**
|
|
3
9
|
* We suggest you to create your own `@APP_Entity` decorator and use it instead of `@Entity`.
|
|
4
10
|
* Like this you opt-in to the change log feature Entity by Entity.
|
|
@@ -7,6 +7,11 @@ import type SMTPTransport from 'nodemailer/lib/smtp-transport';
|
|
|
7
7
|
import type StreamTransport from 'nodemailer/lib/stream-transport';
|
|
8
8
|
import { Module } from 'remult/server';
|
|
9
9
|
import { type MailStyle } from './formatMailHelper';
|
|
10
|
+
declare module 'remult' {
|
|
11
|
+
interface RemultContext {
|
|
12
|
+
sendMail?: SendMail;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
10
15
|
export type TransportTypes = SMTPPool | SMTPPool.Options | SendmailTransport | SendmailTransport.Options | StreamTransport | StreamTransport.Options | JSONTransport | JSONTransport.Options | SESTransport | SESTransport.Options | SMTPTransport | SMTPTransport.Options | string;
|
|
11
16
|
export type DefaultOptions = typeNodemailer.SendMailOptions;
|
|
12
17
|
type GlobalEasyOptions = {
|
|
@@ -25,11 +30,6 @@ export type MailOptions = GlobalEasyOptions & {
|
|
|
25
30
|
};
|
|
26
31
|
};
|
|
27
32
|
declare let transporter: ReturnType<typeof typeNodemailer.createTransport>;
|
|
28
|
-
declare module 'remult' {
|
|
29
|
-
interface RemultContext {
|
|
30
|
-
sendMail?: SendMail;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
33
|
export type SendMail = typeof sendMail;
|
|
34
34
|
export declare const sendMail: (
|
|
35
35
|
/** usefull for logs, it has NO impact on the mail itself */
|