@lilaquadrat/interfaces 1.25.0 → 1.26.1

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.26.1](https://github.com/lilaquadrat/interfaces/compare/v1.26.0...v1.26.1) (2025-04-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **ListCategory:** readded id ([6983857](https://github.com/lilaquadrat/interfaces/commit/6983857877110347c394734af601e82b9a1f3607))
11
+
12
+ ## [1.26.0](https://github.com/lilaquadrat/interfaces/compare/v1.25.0...v1.26.0) (2025-04-02)
13
+
14
+
15
+ ### Features
16
+
17
+ * **cart:** add 'finished' state to Cart interface ([56702b9](https://github.com/lilaquadrat/interfaces/commit/56702b9e8ebf9ec98cc4860b6fe8b24c47a8d3b0))
18
+
5
19
  ## [1.25.0](https://github.com/lilaquadrat/interfaces/compare/v1.24.0...v1.25.0) (2025-04-01)
6
20
 
7
21
 
package/lib/cjs/Cart.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ObjectId } from "mongodb";
2
2
  import { CartItem } from "./CartItem";
3
3
  export interface Cart {
4
4
  items?: CartItem[];
5
- state: 'open' | 'closed' | 'checkout';
5
+ state: 'open' | 'closed' | 'checkout' | 'finished';
6
6
  company: string;
7
7
  project: string;
8
8
  attributes?: {
@@ -2,6 +2,7 @@ import { ObjectId } from "mongodb";
2
2
  import Price from "./Price";
3
3
  export interface ListCategory {
4
4
  _id: ObjectId;
5
+ id: string;
5
6
  name: string;
6
7
  description?: string;
7
8
  externalId?: string;
package/lib/esm/Cart.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ObjectId } from "mongodb";
2
2
  import { CartItem } from "./CartItem";
3
3
  export interface Cart {
4
4
  items?: CartItem[];
5
- state: 'open' | 'closed' | 'checkout';
5
+ state: 'open' | 'closed' | 'checkout' | 'finished';
6
6
  company: string;
7
7
  project: string;
8
8
  attributes?: {
@@ -2,6 +2,7 @@ import { ObjectId } from "mongodb";
2
2
  import Price from "./Price";
3
3
  export interface ListCategory {
4
4
  _id: ObjectId;
5
+ id: string;
5
6
  name: string;
6
7
  description?: string;
7
8
  externalId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilaquadrat/interfaces",
3
- "version": "1.25.0",
3
+ "version": "1.26.1",
4
4
  "description": "interfaces in context of lilaquadrat STUDIO",
5
5
  "author": {
6
6
  "email": "m.schuebel@lila2.de",
package/src/Cart.ts CHANGED
@@ -4,7 +4,7 @@ export interface Cart {
4
4
 
5
5
  items?: CartItem[]
6
6
 
7
- state: 'open' | 'closed' | 'checkout'
7
+ state: 'open' | 'closed' | 'checkout' | 'finished'
8
8
 
9
9
  company: string
10
10
  project: string
@@ -3,7 +3,8 @@ import Price from "./Price";
3
3
 
4
4
  export interface ListCategory {
5
5
 
6
- _id: ObjectId;
6
+ _id: ObjectId
7
+ id: string
7
8
  name: string
8
9
  description?: string
9
10
  externalId?: string