@nomalism-com/types 1.3.50 → 1.3.52

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.
@@ -7,6 +7,7 @@ export interface IFindResponse extends Pick<Entity, "id" | "number" | "pin" | "i
7
7
  user: Pick<Users, "id">;
8
8
  main_persona: Pick<Persona, "id" | "name" | "email">;
9
9
  sidemenu_highlights: string[];
10
+ has_saft_document: boolean;
10
11
  }
11
12
  export interface ICreateRequest {
12
13
  main_persona_name: string;
@@ -849,6 +849,16 @@ export type ProductBaseVirtuals = {
849
849
  last_avg_unit_cost: number;
850
850
  margin: number | null;
851
851
  };
852
+ /**
853
+ * Model ProductSaftLockVirtuals
854
+ *
855
+ * Ponto 9.1 — isolada de ProductBaseVirtuals/ProductVirtuals de propósito
856
+ * (ver nota no schema.prisma / nomalism-db/productSheetSaftLockView).
857
+ */
858
+ export type ProductSaftLockVirtuals = {
859
+ product_id: string;
860
+ has_saft_document: boolean;
861
+ };
852
862
  /**
853
863
  * Model ProductVirtuals
854
864
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "1.3.50",
4
+ "version": "1.3.52",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "devDependencies": {
27
27
  "@eslint/js": "^10.0.1",
28
28
  "@swc/core": "^1.16.2",
29
- "@types/node": "^26.6.2",
29
+ "@types/node": "^26.6.3",
30
30
  "@typescript-eslint/eslint-plugin": "^8.62.0",
31
31
  "@typescript-eslint/parser": "^8.62.0",
32
32
  "eslint": "^10.11.0",
@@ -34,7 +34,7 @@
34
34
  "eslint-plugin-simple-import-sort": "^14.0.0",
35
35
  "globals": "^17.12.0",
36
36
  "husky": "^9.1.7",
37
- "lint-staged": "^17.5.1",
37
+ "lint-staged": "^17.6.0",
38
38
  "prettier": "^3.9.9",
39
39
  "tsup": "^8.5.1",
40
40
  "typescript-eslint": "^8.70.1"