@lilaquadrat/interfaces 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/CHANGELOG.md +7 -0
- package/lib/cjs/AppEditorConfiguration.d.ts +10 -0
- package/lib/cjs/AppEditorTitleDescription.d.ts +4 -0
- package/lib/cjs/Content.d.ts +1 -0
- package/lib/cjs/MePermissions.d.ts +8 -0
- package/lib/cjs/MePermissionsProject.d.ts +8 -0
- package/lib/cjs/StudioIframeMessage.d.ts +18 -3
- package/lib/cjs/index.d.ts +4 -0
- package/lib/esm/AppEditorConfiguration.d.ts +10 -0
- package/lib/esm/AppEditorConfiguration.js +2 -0
- package/lib/esm/AppEditorConfiguration.js.map +1 -0
- package/lib/esm/AppEditorTitleDescription.d.ts +4 -0
- package/lib/esm/AppEditorTitleDescription.js +2 -0
- package/lib/esm/AppEditorTitleDescription.js.map +1 -0
- package/lib/esm/Content.d.ts +1 -0
- package/lib/esm/MePermissions.d.ts +8 -0
- package/lib/esm/MePermissions.js +2 -0
- package/lib/esm/MePermissions.js.map +1 -0
- package/lib/esm/MePermissionsProject.d.ts +8 -0
- package/lib/esm/MePermissionsProject.js +2 -0
- package/lib/esm/MePermissionsProject.js.map +1 -0
- package/lib/esm/StudioIframeMessage.d.ts +18 -3
- package/lib/esm/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/AppEditorConfiguration.ts +11 -0
- package/src/AppEditorTitleDescription.ts +4 -0
- package/src/Content.ts +1 -0
- package/src/MePermissions.ts +9 -0
- package/src/MePermissionsProject.ts +11 -0
- package/src/StudioIframeMessage.ts +12 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.4.0](https://github.com/lilaquadrat/interfaces/compare/v1.3.1...v1.4.0) (2024-02-21)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **mepermissions & content:** added target to content and added me permissions ([bb6141f](https://github.com/lilaquadrat/interfaces/commit/bb6141f3425f370a0de0baf669ce1ae97d90a721))
|
|
11
|
+
|
|
5
12
|
### [1.3.1](https://github.com/lilaquadrat/interfaces/compare/v1.3.0...v1.3.1) (2024-02-17)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AppEditorTitleDescription } from "./AppEditorTitleDescription";
|
|
2
|
+
export interface AppEditorConfiguration {
|
|
3
|
+
editorUrl: string;
|
|
4
|
+
breakpointTablet: string;
|
|
5
|
+
breakpointDesktop: string;
|
|
6
|
+
breakpointWide: string;
|
|
7
|
+
preloadImages: boolean;
|
|
8
|
+
title: AppEditorTitleDescription;
|
|
9
|
+
description: AppEditorTitleDescription;
|
|
10
|
+
}
|
package/lib/cjs/Content.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import { AppEditorConfiguration } from "./AppEditorConfiguration";
|
|
2
|
+
import { Content } from "./Content";
|
|
3
|
+
import { EditorActiveModule } from "./EditorActiveModule";
|
|
4
|
+
export interface StudioIframeMessage {
|
|
2
5
|
data: {
|
|
3
|
-
type: 'studio-
|
|
4
|
-
data:
|
|
6
|
+
type: 'studio-cookie-reset';
|
|
7
|
+
data: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
type: 'studio-editor-settings';
|
|
10
|
+
data: AppEditorConfiguration;
|
|
11
|
+
} | {
|
|
12
|
+
type: 'studio-active';
|
|
13
|
+
data: EditorActiveModule;
|
|
14
|
+
} | {
|
|
15
|
+
type: 'studio-content';
|
|
16
|
+
data: Content['modules'];
|
|
17
|
+
} | {
|
|
18
|
+
type: 'studio-settings';
|
|
19
|
+
data: Omit<Content, 'modules' | 'genericData' | 'childData'>;
|
|
5
20
|
};
|
|
6
21
|
}
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export * from './Agreement';
|
|
|
6
6
|
export * from './AgreementResponse';
|
|
7
7
|
export * from './ApiResponses';
|
|
8
8
|
export * from './App';
|
|
9
|
+
export * from './AppEditorConfiguration';
|
|
10
|
+
export * from './AppEditorTitleDescription';
|
|
9
11
|
export * from './AppFilter';
|
|
10
12
|
export * from './AppPermissions';
|
|
11
13
|
export * from './Auth0ProjectSettings';
|
|
@@ -72,6 +74,8 @@ export * from './ListParticipants';
|
|
|
72
74
|
export * from './ListParticipantsDetails';
|
|
73
75
|
export * from './Location';
|
|
74
76
|
export * from './Me';
|
|
77
|
+
export * from './MePermissions';
|
|
78
|
+
export * from './MePermissionsProject';
|
|
75
79
|
export * from './Media';
|
|
76
80
|
export * from './MediaContentFiles';
|
|
77
81
|
export * from './MediaInfo';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AppEditorTitleDescription } from "./AppEditorTitleDescription";
|
|
2
|
+
export interface AppEditorConfiguration {
|
|
3
|
+
editorUrl: string;
|
|
4
|
+
breakpointTablet: string;
|
|
5
|
+
breakpointDesktop: string;
|
|
6
|
+
breakpointWide: string;
|
|
7
|
+
preloadImages: boolean;
|
|
8
|
+
title: AppEditorTitleDescription;
|
|
9
|
+
description: AppEditorTitleDescription;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppEditorConfiguration.js","sourceRoot":"","sources":["../../src/AppEditorConfiguration.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppEditorTitleDescription.js","sourceRoot":"","sources":["../../src/AppEditorTitleDescription.ts"],"names":[],"mappings":""}
|
package/lib/esm/Content.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MePermissions.js","sourceRoot":"","sources":["../../src/MePermissions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MePermissionsProject.js","sourceRoot":"","sources":["../../src/MePermissionsProject.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import { AppEditorConfiguration } from "./AppEditorConfiguration";
|
|
2
|
+
import { Content } from "./Content";
|
|
3
|
+
import { EditorActiveModule } from "./EditorActiveModule";
|
|
4
|
+
export interface StudioIframeMessage {
|
|
2
5
|
data: {
|
|
3
|
-
type: 'studio-
|
|
4
|
-
data:
|
|
6
|
+
type: 'studio-cookie-reset';
|
|
7
|
+
data: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
type: 'studio-editor-settings';
|
|
10
|
+
data: AppEditorConfiguration;
|
|
11
|
+
} | {
|
|
12
|
+
type: 'studio-active';
|
|
13
|
+
data: EditorActiveModule;
|
|
14
|
+
} | {
|
|
15
|
+
type: 'studio-content';
|
|
16
|
+
data: Content['modules'];
|
|
17
|
+
} | {
|
|
18
|
+
type: 'studio-settings';
|
|
19
|
+
data: Omit<Content, 'modules' | 'genericData' | 'childData'>;
|
|
5
20
|
};
|
|
6
21
|
}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export * from './Agreement';
|
|
|
6
6
|
export * from './AgreementResponse';
|
|
7
7
|
export * from './ApiResponses';
|
|
8
8
|
export * from './App';
|
|
9
|
+
export * from './AppEditorConfiguration';
|
|
10
|
+
export * from './AppEditorTitleDescription';
|
|
9
11
|
export * from './AppFilter';
|
|
10
12
|
export * from './AppPermissions';
|
|
11
13
|
export * from './Auth0ProjectSettings';
|
|
@@ -72,6 +74,8 @@ export * from './ListParticipants';
|
|
|
72
74
|
export * from './ListParticipantsDetails';
|
|
73
75
|
export * from './Location';
|
|
74
76
|
export * from './Me';
|
|
77
|
+
export * from './MePermissions';
|
|
78
|
+
export * from './MePermissionsProject';
|
|
75
79
|
export * from './Media';
|
|
76
80
|
export * from './MediaContentFiles';
|
|
77
81
|
export * from './MediaInfo';
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AppEditorTitleDescription } from "./AppEditorTitleDescription"
|
|
2
|
+
|
|
3
|
+
export interface AppEditorConfiguration {
|
|
4
|
+
editorUrl: string
|
|
5
|
+
breakpointTablet: string
|
|
6
|
+
breakpointDesktop: string
|
|
7
|
+
breakpointWide: string
|
|
8
|
+
preloadImages: boolean
|
|
9
|
+
title: AppEditorTitleDescription
|
|
10
|
+
description: AppEditorTitleDescription
|
|
11
|
+
}
|
package/src/Content.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { AppEditorConfiguration } from "./AppEditorConfiguration"
|
|
2
|
+
import { Content } from "./Content"
|
|
3
|
+
import { EditorActiveModule } from "./EditorActiveModule"
|
|
4
|
+
|
|
5
|
+
export interface StudioIframeMessage {
|
|
6
|
+
data:
|
|
7
|
+
{ type: 'studio-cookie-reset', data: undefined }
|
|
8
|
+
| { type: 'studio-editor-settings', data: AppEditorConfiguration }
|
|
9
|
+
| { type: 'studio-active', data: EditorActiveModule }
|
|
10
|
+
| { type: 'studio-content', data: Content['modules'] }
|
|
11
|
+
| { type: 'studio-settings', data: Omit<Content, 'modules' | 'genericData' | 'childData'> }
|
|
12
|
+
|
|
6
13
|
}
|