@lilaquadrat/interfaces 1.44.0 → 1.46.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.46.0](https://github.com/lilaquadrat/interfaces/compare/v1.45.0...v1.46.0) (2026-07-27)
6
+
7
+
8
+ ### Features
9
+
10
+ * **list:** added location and change date type ([048a889](https://github.com/lilaquadrat/interfaces/commit/048a8890ab260ebb10f3da23420692d407a7ffc5))
11
+
12
+ ## [1.45.0](https://github.com/lilaquadrat/interfaces/compare/v1.44.0...v1.45.0) (2026-07-13)
13
+
14
+
15
+ ### Features
16
+
17
+ * **conversation:** added conversation interface ([8e1e8bc](https://github.com/lilaquadrat/interfaces/commit/8e1e8bc17ed0d95ac8c362df29d0448ff1382e38))
18
+
5
19
  ## [1.44.0](https://github.com/lilaquadrat/interfaces/compare/v1.43.0...v1.44.0) (2026-06-05)
6
20
 
7
21
 
@@ -0,0 +1,15 @@
1
+ import { ObjectId } from 'mongodb';
2
+ export interface Conversation {
3
+ _id?: ObjectId;
4
+ name?: string;
5
+ participantsHash?: string;
6
+ participants?: string[];
7
+ blocked?: string[];
8
+ messagesCount?: number;
9
+ messagesCountSystem?: number;
10
+ createdAt?: string;
11
+ lastActivity?: string;
12
+ /** how the conversation was started. 'support' = backend attaches the support team. */
13
+ operationMode?: 'default' | 'support';
14
+ new?: boolean;
15
+ }
package/lib/cjs/List.d.ts CHANGED
@@ -10,9 +10,9 @@ export interface List {
10
10
  name: string;
11
11
  description?: string;
12
12
  mode: 'contact' | 'content' | 'reservation' | 'shopping';
13
- start?: Date;
14
- end?: Date;
15
- payment?: 'optional' | 'required' | 'free';
13
+ start?: string;
14
+ end?: string;
15
+ location?: string;
16
16
  participants?: {
17
17
  max?: number;
18
18
  confirmed?: number;
@@ -47,6 +47,7 @@ export * from './Content';
47
47
  export * from './ContentOptions';
48
48
  export * from './ContentWithPositions';
49
49
  export * from './Contract';
50
+ export * from './Conversation';
50
51
  export * from './CookiesModule';
51
52
  export * from './CreateResult';
52
53
  export * from './CustomerAccounts';
@@ -0,0 +1,15 @@
1
+ import { ObjectId } from 'mongodb';
2
+ export interface Conversation {
3
+ _id?: ObjectId;
4
+ name?: string;
5
+ participantsHash?: string;
6
+ participants?: string[];
7
+ blocked?: string[];
8
+ messagesCount?: number;
9
+ messagesCountSystem?: number;
10
+ createdAt?: string;
11
+ lastActivity?: string;
12
+ /** how the conversation was started. 'support' = backend attaches the support team. */
13
+ operationMode?: 'default' | 'support';
14
+ new?: boolean;
15
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Conversation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Conversation.js","sourceRoot":"","sources":["../../src/Conversation.ts"],"names":[],"mappings":""}
package/lib/esm/List.d.ts CHANGED
@@ -10,9 +10,9 @@ export interface List {
10
10
  name: string;
11
11
  description?: string;
12
12
  mode: 'contact' | 'content' | 'reservation' | 'shopping';
13
- start?: Date;
14
- end?: Date;
15
- payment?: 'optional' | 'required' | 'free';
13
+ start?: string;
14
+ end?: string;
15
+ location?: string;
16
16
  participants?: {
17
17
  max?: number;
18
18
  confirmed?: number;
@@ -47,6 +47,7 @@ export * from './Content';
47
47
  export * from './ContentOptions';
48
48
  export * from './ContentWithPositions';
49
49
  export * from './Contract';
50
+ export * from './Conversation';
50
51
  export * from './CookiesModule';
51
52
  export * from './CreateResult';
52
53
  export * from './CustomerAccounts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilaquadrat/interfaces",
3
- "version": "1.44.0",
3
+ "version": "1.46.0",
4
4
  "description": "interfaces in context of lilaquadrat STUDIO",
5
5
  "author": {
6
6
  "email": "m.schuebel@lila2.de",
@@ -0,0 +1,16 @@
1
+ import { ObjectId } from 'mongodb';
2
+
3
+ export interface Conversation {
4
+ _id?: ObjectId;
5
+ name?: string;
6
+ participantsHash?: string;
7
+ participants?: string[];
8
+ blocked?: string[];
9
+ messagesCount?: number;
10
+ messagesCountSystem?: number;
11
+ createdAt?: string;
12
+ lastActivity?: string;
13
+ /** how the conversation was started. 'support' = backend attaches the support team. */
14
+ operationMode?: 'default' | 'support';
15
+ new?: boolean;
16
+ }
package/src/List.ts CHANGED
@@ -14,12 +14,12 @@ export interface List {
14
14
  description?: string
15
15
  mode: 'contact' | 'content' | 'reservation' | 'shopping'
16
16
 
17
- start?: Date
18
- end?: Date
19
-
20
- payment?: 'optional' | 'required' | 'free'
21
-
22
- participants?: {
17
+ start?: string
18
+ end?: string
19
+
20
+ location?: string
21
+
22
+ participants?: {
23
23
  max?: number
24
24
  confirmed?: number
25
25
  reserved?: number