@lilaquadrat/interfaces 1.4.0 → 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 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.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
+
5
12
  ## [1.4.0](https://github.com/lilaquadrat/interfaces/compare/v1.3.1...v1.4.0) (2024-02-21)
6
13
 
7
14
 
@@ -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
+ }
@@ -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
  }
@@ -1,4 +1,5 @@
1
- export interface Hosting {
1
+ import { AppHostingSettings } from "./AppHostingSettings";
2
+ export interface Hosting extends AppHostingSettings {
2
3
  project: string;
3
4
  company: string;
4
5
  active?: boolean;
@@ -9,6 +9,7 @@ export * from './App';
9
9
  export * from './AppEditorConfiguration';
10
10
  export * from './AppEditorTitleDescription';
11
11
  export * from './AppFilter';
12
+ export * from './AppHostingSettings';
12
13
  export * from './AppPermissions';
13
14
  export * from './Auth0ProjectSettings';
14
15
  export * from './AvailableStorageTypes';
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=AppHostingSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppHostingSettings.js","sourceRoot":"","sources":["../../src/AppHostingSettings.ts"],"names":[],"mappings":""}
@@ -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
  }
@@ -1,4 +1,5 @@
1
- export interface Hosting {
1
+ import { AppHostingSettings } from "./AppHostingSettings";
2
+ export interface Hosting extends AppHostingSettings {
2
3
  project: string;
3
4
  company: string;
4
5
  active?: boolean;
@@ -9,6 +9,7 @@ export * from './App';
9
9
  export * from './AppEditorConfiguration';
10
10
  export * from './AppEditorTitleDescription';
11
11
  export * from './AppFilter';
12
+ export * from './AppHostingSettings';
12
13
  export * from './AppPermissions';
13
14
  export * from './Auth0ProjectSettings';
14
15
  export * from './AvailableStorageTypes';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilaquadrat/interfaces",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "interfaces in context of lilaquadrat STUDIO",
5
5
  "author": {
6
6
  "email": "m.schuebel@lila2.de",
@@ -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/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,4 +1,6 @@
1
- export interface Hosting {
1
+ import { AppHostingSettings } from "./AppHostingSettings";
2
+
3
+ export interface Hosting extends AppHostingSettings {
2
4
  project: string;
3
5
  company: string;
4
6