@milaboratories/pl-model-common 1.3.11 → 1.3.13

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.
@@ -1,6 +1,5 @@
1
- declare const __brand: unique symbol;
2
1
  type Brand<B> = {
3
- [__brand]: B;
2
+ __pl_model_brand__: B;
4
3
  };
5
4
  export type Branded<T, B> = T & Brand<B>;
6
5
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"branding.d.ts","sourceRoot":"","sources":["../src/branding.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,OAAO,EAAE,OAAO,MAAM,CAAC;AACrC,KAAK,KAAK,CAAC,CAAC,IAAI;IAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC;AAEjC,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"branding.d.ts","sourceRoot":"","sources":["../src/branding.ts"],"names":[],"mappings":"AAAA,KAAK,KAAK,CAAC,CAAC,IAAI;IAAE,kBAAkB,EAAE,CAAC,CAAA;CAAE,CAAC;AAE1C,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/pl-model-common",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "description": "Platforma SDK Model",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "zod": "^3.23.8"
21
21
  },
22
22
  "devDependencies": {
23
- "typescript": "~5.6.2",
23
+ "typescript": "~5.5.4",
24
24
  "vite": "^5.4.7",
25
25
  "@milaboratories/platforma-build-configs": "1.0.1"
26
26
  },
package/src/branding.ts CHANGED
@@ -1,4 +1,3 @@
1
- declare const __brand: unique symbol;
2
- type Brand<B> = { [__brand]: B };
1
+ type Brand<B> = { __pl_model_brand__: B };
3
2
 
4
3
  export type Branded<T, B> = T & Brand<B>;