@lilaquadrat/interfaces 1.5.0 → 1.7.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/CHANGELOG.md +14 -0
- package/lib/cjs/MailFrom.d.ts +5 -0
- package/lib/cjs/Publish.d.ts +1 -0
- package/lib/cjs/PublishMethod.d.ts +3 -1
- package/lib/cjs/PublishMethodEmail.d.ts +5 -0
- package/lib/cjs/StudioIframeMessage.d.ts +4 -4
- package/lib/cjs/index.d.ts +2 -0
- package/lib/esm/MailFrom.d.ts +5 -0
- package/lib/esm/MailFrom.js +2 -0
- package/lib/esm/MailFrom.js.map +1 -0
- package/lib/esm/Publish.d.ts +1 -0
- package/lib/esm/PublishMethod.d.ts +3 -1
- package/lib/esm/PublishMethodEmail.d.ts +5 -0
- package/lib/esm/PublishMethodEmail.js +2 -0
- package/lib/esm/PublishMethodEmail.js.map +1 -0
- package/lib/esm/StudioIframeMessage.d.ts +4 -4
- package/lib/esm/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/MailFrom.ts +7 -0
- package/src/Publish.ts +2 -0
- package/src/PublishMethod.ts +5 -2
- package/src/PublishMethodEmail.ts +9 -0
- package/src/StudioIframeMessage.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.7.0](https://github.com/lilaquadrat/interfaces/compare/v1.6.0...v1.7.0) (2024-03-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **mailfrom:** added support for mailFrom ([c0eb5f8](https://github.com/lilaquadrat/interfaces/commit/c0eb5f87a85cbace9551d84f37f4afb11c357339))
|
|
11
|
+
|
|
12
|
+
## [1.6.0](https://github.com/lilaquadrat/interfaces/compare/v1.5.0...v1.6.0) (2024-03-11)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **publish methods:** added support for publish methods ([2487872](https://github.com/lilaquadrat/interfaces/commit/248787278607722f9a7f0dbc35669c8707f5b029))
|
|
18
|
+
|
|
5
19
|
## [1.5.0](https://github.com/lilaquadrat/interfaces/compare/v1.4.0...v1.5.0) (2024-02-23)
|
|
6
20
|
|
|
7
21
|
|
package/lib/cjs/Publish.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { ObjectId } from "mongodb";
|
|
1
2
|
import { Content } from "./Content";
|
|
2
3
|
import { PublishContentGroup } from "./PublishContentGroup";
|
|
3
4
|
export interface PublishMethod {
|
|
4
|
-
type: 'ftp' | 'webhook' | 'internal' | 'pdf';
|
|
5
|
+
type: 'ftp' | 'webhook' | 'internal' | 'pdf' | 'email';
|
|
5
6
|
active: boolean;
|
|
6
7
|
label: string;
|
|
7
8
|
availableForApps: string[];
|
|
8
9
|
availableForContentGroups: PublishContentGroup[];
|
|
10
|
+
contextData: ObjectId[];
|
|
9
11
|
affectedStates?: Content['state'][];
|
|
10
12
|
[key: string]: any;
|
|
11
13
|
}
|
|
@@ -5,9 +5,6 @@ export interface StudioIframeMessage {
|
|
|
5
5
|
data: {
|
|
6
6
|
type: 'studio-cookie-reset';
|
|
7
7
|
data: undefined;
|
|
8
|
-
} | {
|
|
9
|
-
type: 'studio-editor-settings';
|
|
10
|
-
data: AppEditorConfiguration;
|
|
11
8
|
} | {
|
|
12
9
|
type: 'studio-active';
|
|
13
10
|
data: EditorActiveModule;
|
|
@@ -15,7 +12,10 @@ export interface StudioIframeMessage {
|
|
|
15
12
|
type: 'studio-content';
|
|
16
13
|
data: Content['modules'];
|
|
17
14
|
} | {
|
|
18
|
-
type: 'studio-settings';
|
|
15
|
+
type: 'studio-editor-settings';
|
|
19
16
|
data: Omit<Content, 'modules' | 'genericData' | 'childData'>;
|
|
17
|
+
} | {
|
|
18
|
+
type: 'studio-settings';
|
|
19
|
+
data: AppEditorConfiguration;
|
|
20
20
|
};
|
|
21
21
|
}
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export * from './ListParticipantWithUser';
|
|
|
74
74
|
export * from './ListParticipants';
|
|
75
75
|
export * from './ListParticipantsDetails';
|
|
76
76
|
export * from './Location';
|
|
77
|
+
export * from './MailFrom';
|
|
77
78
|
export * from './Me';
|
|
78
79
|
export * from './MePermissions';
|
|
79
80
|
export * from './MePermissionsProject';
|
|
@@ -98,6 +99,7 @@ export * from './ProjectDomain';
|
|
|
98
99
|
export * from './Publish';
|
|
99
100
|
export * from './PublishContentGroup';
|
|
100
101
|
export * from './PublishMethod';
|
|
102
|
+
export * from './PublishMethodEmail';
|
|
101
103
|
export * from './PublishMethodFtp';
|
|
102
104
|
export * from './PublishMethodInternal';
|
|
103
105
|
export * from './PublishMethodPdf';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MailFrom.js","sourceRoot":"","sources":["../../src/MailFrom.ts"],"names":[],"mappings":""}
|
package/lib/esm/Publish.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { ObjectId } from "mongodb";
|
|
1
2
|
import { Content } from "./Content";
|
|
2
3
|
import { PublishContentGroup } from "./PublishContentGroup";
|
|
3
4
|
export interface PublishMethod {
|
|
4
|
-
type: 'ftp' | 'webhook' | 'internal' | 'pdf';
|
|
5
|
+
type: 'ftp' | 'webhook' | 'internal' | 'pdf' | 'email';
|
|
5
6
|
active: boolean;
|
|
6
7
|
label: string;
|
|
7
8
|
availableForApps: string[];
|
|
8
9
|
availableForContentGroups: PublishContentGroup[];
|
|
10
|
+
contextData: ObjectId[];
|
|
9
11
|
affectedStates?: Content['state'][];
|
|
10
12
|
[key: string]: any;
|
|
11
13
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PublishMethodEmail.js","sourceRoot":"","sources":["../../src/PublishMethodEmail.ts"],"names":[],"mappings":""}
|
|
@@ -5,9 +5,6 @@ export interface StudioIframeMessage {
|
|
|
5
5
|
data: {
|
|
6
6
|
type: 'studio-cookie-reset';
|
|
7
7
|
data: undefined;
|
|
8
|
-
} | {
|
|
9
|
-
type: 'studio-editor-settings';
|
|
10
|
-
data: AppEditorConfiguration;
|
|
11
8
|
} | {
|
|
12
9
|
type: 'studio-active';
|
|
13
10
|
data: EditorActiveModule;
|
|
@@ -15,7 +12,10 @@ export interface StudioIframeMessage {
|
|
|
15
12
|
type: 'studio-content';
|
|
16
13
|
data: Content['modules'];
|
|
17
14
|
} | {
|
|
18
|
-
type: 'studio-settings';
|
|
15
|
+
type: 'studio-editor-settings';
|
|
19
16
|
data: Omit<Content, 'modules' | 'genericData' | 'childData'>;
|
|
17
|
+
} | {
|
|
18
|
+
type: 'studio-settings';
|
|
19
|
+
data: AppEditorConfiguration;
|
|
20
20
|
};
|
|
21
21
|
}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export * from './ListParticipantWithUser';
|
|
|
74
74
|
export * from './ListParticipants';
|
|
75
75
|
export * from './ListParticipantsDetails';
|
|
76
76
|
export * from './Location';
|
|
77
|
+
export * from './MailFrom';
|
|
77
78
|
export * from './Me';
|
|
78
79
|
export * from './MePermissions';
|
|
79
80
|
export * from './MePermissionsProject';
|
|
@@ -98,6 +99,7 @@ export * from './ProjectDomain';
|
|
|
98
99
|
export * from './Publish';
|
|
99
100
|
export * from './PublishContentGroup';
|
|
100
101
|
export * from './PublishMethod';
|
|
102
|
+
export * from './PublishMethodEmail';
|
|
101
103
|
export * from './PublishMethodFtp';
|
|
102
104
|
export * from './PublishMethodInternal';
|
|
103
105
|
export * from './PublishMethodPdf';
|
package/package.json
CHANGED
package/src/MailFrom.ts
ADDED
package/src/Publish.ts
CHANGED
package/src/PublishMethod.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ObjectId } from "mongodb"
|
|
2
|
+
import { Content } from "./Content"
|
|
2
3
|
import { PublishContentGroup } from "./PublishContentGroup"
|
|
3
4
|
|
|
4
5
|
export interface PublishMethod {
|
|
5
6
|
|
|
6
|
-
type: 'ftp' | 'webhook' | 'internal' | 'pdf'
|
|
7
|
+
type: 'ftp' | 'webhook' | 'internal' | 'pdf' | 'email'
|
|
7
8
|
|
|
8
9
|
active: boolean
|
|
9
10
|
|
|
@@ -13,6 +14,8 @@ export interface PublishMethod {
|
|
|
13
14
|
|
|
14
15
|
availableForContentGroups: PublishContentGroup[]
|
|
15
16
|
|
|
17
|
+
contextData: ObjectId[]
|
|
18
|
+
|
|
16
19
|
affectedStates?: Content['state'][]
|
|
17
20
|
|
|
18
21
|
[key: string]: any
|
|
@@ -5,9 +5,9 @@ import { EditorActiveModule } from "./EditorActiveModule"
|
|
|
5
5
|
export interface StudioIframeMessage {
|
|
6
6
|
data:
|
|
7
7
|
{ type: 'studio-cookie-reset', data: undefined }
|
|
8
|
-
| { type: 'studio-editor-settings', data: AppEditorConfiguration }
|
|
9
8
|
| { type: 'studio-active', data: EditorActiveModule }
|
|
10
9
|
| { type: 'studio-content', data: Content['modules'] }
|
|
11
|
-
| { type: 'studio-settings', data: Omit<Content, 'modules' | 'genericData' | 'childData'> }
|
|
10
|
+
| { type: 'studio-editor-settings', data: Omit<Content, 'modules' | 'genericData' | 'childData'> }
|
|
11
|
+
| { type: 'studio-settings', data: AppEditorConfiguration }
|
|
12
12
|
|
|
13
13
|
}
|