@lilaquadrat/interfaces 1.3.1 → 1.5.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/AppEditorConfiguration.d.ts +10 -0
- package/lib/cjs/AppEditorTitleDescription.d.ts +4 -0
- package/lib/cjs/AppHostingSettings.d.ts +11 -0
- package/lib/cjs/Content.d.ts +1 -0
- package/lib/cjs/DomainConf.d.ts +4 -0
- package/lib/cjs/Hosting.d.ts +2 -1
- 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 +5 -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/AppHostingSettings.d.ts +11 -0
- package/lib/esm/AppHostingSettings.js +2 -0
- package/lib/esm/AppHostingSettings.js.map +1 -0
- package/lib/esm/Content.d.ts +1 -0
- package/lib/esm/DomainConf.d.ts +4 -0
- package/lib/esm/Hosting.d.ts +2 -1
- 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 +5 -0
- package/package.json +1 -1
- package/src/AppEditorConfiguration.ts +11 -0
- package/src/AppEditorTitleDescription.ts +4 -0
- package/src/AppHostingSettings.ts +11 -0
- package/src/Content.ts +1 -0
- package/src/DomainConf.ts +5 -0
- package/src/Hosting.ts +3 -1
- 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,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.5.0](https://github.com/lilaquadrat/interfaces/compare/v1.4.0...v1.5.0) (2024-02-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **hosting:** added new hosting settings interface ([321800a](https://github.com/lilaquadrat/interfaces/commit/321800abc7ecabad1000f69f4e588bce63c79a3b))
|
|
11
|
+
|
|
12
|
+
## [1.4.0](https://github.com/lilaquadrat/interfaces/compare/v1.3.1...v1.4.0) (2024-02-21)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **mepermissions & content:** added target to content and added me permissions ([bb6141f](https://github.com/lilaquadrat/interfaces/commit/bb6141f3425f370a0de0baf669ce1ae97d90a721))
|
|
18
|
+
|
|
5
19
|
### [1.3.1](https://github.com/lilaquadrat/interfaces/compare/v1.3.0...v1.3.1) (2024-02-17)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -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,11 @@
|
|
|
1
|
+
export interface AppHostingSettings {
|
|
2
|
+
/**
|
|
3
|
+
* redirects all configured domains to the main domain
|
|
4
|
+
*/
|
|
5
|
+
redirectToMainDomain?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* enables a catch all route to index.html if the file does not exist.
|
|
8
|
+
* e.g. /content1 will end up at index.html if content1.html does not exist.
|
|
9
|
+
*/
|
|
10
|
+
isApp?: boolean;
|
|
11
|
+
}
|
package/lib/cjs/Content.d.ts
CHANGED
package/lib/cjs/DomainConf.d.ts
CHANGED
|
@@ -8,6 +8,10 @@ export interface DomainConf {
|
|
|
8
8
|
};
|
|
9
9
|
company: string;
|
|
10
10
|
project: string;
|
|
11
|
+
isMain?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* defines if the domain is a default domain that is created by the system for preview purposes
|
|
14
|
+
*/
|
|
11
15
|
defaultDomain?: string;
|
|
12
16
|
certificate?: string;
|
|
13
17
|
}
|
package/lib/cjs/Hosting.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,7 +6,10 @@ 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';
|
|
12
|
+
export * from './AppHostingSettings';
|
|
10
13
|
export * from './AppPermissions';
|
|
11
14
|
export * from './Auth0ProjectSettings';
|
|
12
15
|
export * from './AvailableStorageTypes';
|
|
@@ -72,6 +75,8 @@ export * from './ListParticipants';
|
|
|
72
75
|
export * from './ListParticipantsDetails';
|
|
73
76
|
export * from './Location';
|
|
74
77
|
export * from './Me';
|
|
78
|
+
export * from './MePermissions';
|
|
79
|
+
export * from './MePermissionsProject';
|
|
75
80
|
export * from './Media';
|
|
76
81
|
export * from './MediaContentFiles';
|
|
77
82
|
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":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface AppHostingSettings {
|
|
2
|
+
/**
|
|
3
|
+
* redirects all configured domains to the main domain
|
|
4
|
+
*/
|
|
5
|
+
redirectToMainDomain?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* enables a catch all route to index.html if the file does not exist.
|
|
8
|
+
* e.g. /content1 will end up at index.html if content1.html does not exist.
|
|
9
|
+
*/
|
|
10
|
+
isApp?: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppHostingSettings.js","sourceRoot":"","sources":["../../src/AppHostingSettings.ts"],"names":[],"mappings":""}
|
package/lib/esm/Content.d.ts
CHANGED
package/lib/esm/DomainConf.d.ts
CHANGED
|
@@ -8,6 +8,10 @@ export interface DomainConf {
|
|
|
8
8
|
};
|
|
9
9
|
company: string;
|
|
10
10
|
project: string;
|
|
11
|
+
isMain?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* defines if the domain is a default domain that is created by the system for preview purposes
|
|
14
|
+
*/
|
|
11
15
|
defaultDomain?: string;
|
|
12
16
|
certificate?: string;
|
|
13
17
|
}
|
package/lib/esm/Hosting.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,7 +6,10 @@ 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';
|
|
12
|
+
export * from './AppHostingSettings';
|
|
10
13
|
export * from './AppPermissions';
|
|
11
14
|
export * from './Auth0ProjectSettings';
|
|
12
15
|
export * from './AvailableStorageTypes';
|
|
@@ -72,6 +75,8 @@ export * from './ListParticipants';
|
|
|
72
75
|
export * from './ListParticipantsDetails';
|
|
73
76
|
export * from './Location';
|
|
74
77
|
export * from './Me';
|
|
78
|
+
export * from './MePermissions';
|
|
79
|
+
export * from './MePermissionsProject';
|
|
75
80
|
export * from './Media';
|
|
76
81
|
export * from './MediaContentFiles';
|
|
77
82
|
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
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface AppHostingSettings {
|
|
2
|
+
/**
|
|
3
|
+
* redirects all configured domains to the main domain
|
|
4
|
+
*/
|
|
5
|
+
redirectToMainDomain?: boolean
|
|
6
|
+
/**
|
|
7
|
+
* enables a catch all route to index.html if the file does not exist.
|
|
8
|
+
* e.g. /content1 will end up at index.html if content1.html does not exist.
|
|
9
|
+
*/
|
|
10
|
+
isApp?: boolean
|
|
11
|
+
}
|
package/src/Content.ts
CHANGED
package/src/DomainConf.ts
CHANGED
|
@@ -14,6 +14,11 @@ export interface DomainConf {
|
|
|
14
14
|
company: string
|
|
15
15
|
project: string
|
|
16
16
|
|
|
17
|
+
isMain?: boolean
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* defines if the domain is a default domain that is created by the system for preview purposes
|
|
21
|
+
*/
|
|
17
22
|
defaultDomain?: string
|
|
18
23
|
|
|
19
24
|
certificate?: string
|
package/src/Hosting.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
|
}
|