@quicktalog/common 1.3.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/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { layouts, themes } from "./constants";
2
- export type Status = "active" | "inactive" | "draft";
2
+ export type Status = "active" | "inactive" | "draft" | "in preparation";
3
3
  export type CookiePreferences = {
4
4
  accepted: boolean;
5
5
  essential: boolean;
@@ -48,7 +48,7 @@ export type Catalogue = {
48
48
  updated_at?: string;
49
49
  source?: string;
50
50
  };
51
- export type ServicesFormData = Omit<Catalogue, "id" | "created_by" | "">;
51
+ export type CatalogueFormData = Omit<Catalogue, "id" | "created_by" | "">;
52
52
  export type Legal = {
53
53
  name?: string;
54
54
  address?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktalog/common",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
package/src/types.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { layouts, themes } from "./constants";
2
2
 
3
- export type Status = "active" | "inactive" | "draft";
3
+ export type Status = "active" | "inactive" | "draft" | "in preparation";
4
4
 
5
5
  export type CookiePreferences = {
6
6
  accepted: boolean;
@@ -56,7 +56,7 @@ export type Catalogue = {
56
56
  source?: string;
57
57
  };
58
58
 
59
- export type ServicesFormData = Omit<Catalogue, "id" | "created_by" | "">;
59
+ export type CatalogueFormData = Omit<Catalogue, "id" | "created_by" | "">;
60
60
 
61
61
  export type Legal = {
62
62
  name?: string;