@lilaquadrat/interfaces 1.7.0 → 1.9.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,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.9.0](https://github.com/lilaquadrat/interfaces/compare/v1.8.0...v1.9.0) (2024-04-11)
6
+
7
+
8
+ ### Features
9
+
10
+ * **list:** extended list with listContent ([042c31e](https://github.com/lilaquadrat/interfaces/commit/042c31e0070fafa5ff012ca98cb7e2026554fdca))
11
+
12
+ ## [1.8.0](https://github.com/lilaquadrat/interfaces/compare/v1.7.0...v1.8.0) (2024-03-26)
13
+
14
+
15
+ ### Features
16
+
17
+ * **editorbase:** added version to editorBase ([b0b7c56](https://github.com/lilaquadrat/interfaces/commit/b0b7c56bb8d1d75cfc88b725deaad9f64b273747))
18
+
5
19
  ## [1.7.0](https://github.com/lilaquadrat/interfaces/compare/v1.6.0...v1.7.0) (2024-03-18)
6
20
 
7
21
 
@@ -4,4 +4,5 @@ export interface EditorBase {
4
4
  type: 'app' | 'server';
5
5
  date: Date;
6
6
  custom?: boolean;
7
+ version: string;
7
8
  }
package/lib/cjs/List.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { ObjectId } from "mongodb";
2
2
  import { Agreement } from "./Agreement";
3
3
  import { ListCategory } from "./ListCategory";
4
+ import { ListContent } from "./ListContent";
4
5
  export interface List {
5
6
  _id?: ObjectId;
6
7
  company: string;
@@ -22,4 +23,5 @@ export interface List {
22
23
  state: 'open' | 'closed' | 'waiting';
23
24
  agreements: Agreement[];
24
25
  categories: ListCategory[];
26
+ content: ListContent;
25
27
  }
@@ -0,0 +1,7 @@
1
+ export interface ListContent {
2
+ pre: string;
3
+ open: string;
4
+ waiting: string;
5
+ active: string;
6
+ post: string;
7
+ }
@@ -68,6 +68,7 @@ export * from './Id';
68
68
  export * from './IdentifiersEntity';
69
69
  export * from './List';
70
70
  export * from './ListCategory';
71
+ export * from './ListContent';
71
72
  export * from './ListCustomQueries';
72
73
  export * from './ListOfModels';
73
74
  export * from './ListParticipantWithUser';
@@ -4,4 +4,5 @@ export interface EditorBase {
4
4
  type: 'app' | 'server';
5
5
  date: Date;
6
6
  custom?: boolean;
7
+ version: string;
7
8
  }
package/lib/esm/List.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { ObjectId } from "mongodb";
2
2
  import { Agreement } from "./Agreement";
3
3
  import { ListCategory } from "./ListCategory";
4
+ import { ListContent } from "./ListContent";
4
5
  export interface List {
5
6
  _id?: ObjectId;
6
7
  company: string;
@@ -22,4 +23,5 @@ export interface List {
22
23
  state: 'open' | 'closed' | 'waiting';
23
24
  agreements: Agreement[];
24
25
  categories: ListCategory[];
26
+ content: ListContent;
25
27
  }
@@ -0,0 +1,7 @@
1
+ export interface ListContent {
2
+ pre: string;
3
+ open: string;
4
+ waiting: string;
5
+ active: string;
6
+ post: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ListContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListContent.js","sourceRoot":"","sources":["../../src/ListContent.ts"],"names":[],"mappings":""}
@@ -68,6 +68,7 @@ export * from './Id';
68
68
  export * from './IdentifiersEntity';
69
69
  export * from './List';
70
70
  export * from './ListCategory';
71
+ export * from './ListContent';
71
72
  export * from './ListCustomQueries';
72
73
  export * from './ListOfModels';
73
74
  export * from './ListParticipantWithUser';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilaquadrat/interfaces",
3
- "version": "1.7.0",
3
+ "version": "1.9.0",
4
4
  "description": "interfaces in context of lilaquadrat STUDIO",
5
5
  "author": {
6
6
  "email": "m.schuebel@lila2.de",
package/src/EditorBase.ts CHANGED
@@ -4,4 +4,5 @@ export interface EditorBase {
4
4
  type: 'app' | 'server'
5
5
  date: Date
6
6
  custom?: boolean
7
+ version: string
7
8
  }
package/src/List.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  import { ObjectId } from "mongodb";
2
2
  import {Agreement} from "./Agreement";
3
3
  import { ListCategory } from "./ListCategory";
4
+ import { ListContent } from "./ListContent";
4
5
 
5
6
  export interface List {
6
- _id?: ObjectId;
7
+ _id?: ObjectId
7
8
 
8
9
  company: string
9
10
  project: string
@@ -31,4 +32,6 @@ export interface List {
31
32
  agreements: Agreement[]
32
33
 
33
34
  categories: ListCategory[]
35
+
36
+ content: ListContent
34
37
  }
@@ -0,0 +1,17 @@
1
+ export interface ListContent {
2
+
3
+ // list not active for enrollment
4
+ pre: string
5
+
6
+ // user is able to enlist
7
+ open: string
8
+
9
+ // the user is reserved but not confirmed
10
+ waiting: string
11
+
12
+ // the user is confirmed
13
+ active: string
14
+
15
+ // the usage/event is fulfilled
16
+ post: string
17
+ }