@milaboratories/pl-model-middle-layer 1.6.9 → 1.6.11

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,4 +1,6 @@
1
- import { PFrameFactoryAPI, PFrameReadAPIV2 } from './index';
1
+ import { PFrameFactoryAPI } from './api_factory';
2
+ import { PFrameReadAPIV2 } from './api_read';
3
+ export type Logger = (level: 'info' | 'warn' | 'error', message: string) => void;
2
4
  export interface PFrameV2 extends PFrameFactoryAPI, PFrameReadAPIV2 {
3
5
  }
4
6
  //# sourceMappingURL=pframe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pframe.d.ts","sourceRoot":"","sources":["../../../src/pframe/internal_api/pframe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE5D,MAAM,WAAW,QAAS,SAAQ,gBAAgB,EAAE,eAAe;CAClE"}
1
+ {"version":3,"file":"pframe.d.ts","sourceRoot":"","sources":["../../../src/pframe/internal_api/pframe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,MAAM,GAAG,CACnB,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,EAChC,OAAO,EAAE,MAAM,KACZ,IAAI,CAAC;AAEV,MAAM,WAAW,QAAS,SAAQ,gBAAgB,EAAE,eAAe;CAAG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/pl-model-middle-layer",
3
- "version": "1.6.9",
3
+ "version": "1.6.11",
4
4
  "description": "Common model between middle layer and non-block UI code",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -17,10 +17,10 @@
17
17
  "./src/**/*"
18
18
  ],
19
19
  "dependencies": {
20
- "remeda": "^2.17.4",
20
+ "remeda": "^2.18.0",
21
21
  "zod": "~3.23.8",
22
22
  "utility-types": "^3.11.0",
23
- "@milaboratories/pl-model-common": "^1.10.2"
23
+ "@milaboratories/pl-model-common": "^1.10.3"
24
24
  },
25
25
  "devDependencies": {
26
26
  "typescript": "~5.5.4",
@@ -1,4 +1,9 @@
1
- import { PFrameFactoryAPI, PFrameReadAPIV2 } from './index';
1
+ import type { PFrameFactoryAPI } from './api_factory';
2
+ import type { PFrameReadAPIV2 } from './api_read';
2
3
 
3
- export interface PFrameV2 extends PFrameFactoryAPI, PFrameReadAPIV2 {
4
- }
4
+ export type Logger = (
5
+ level: 'info' | 'warn' | 'error',
6
+ message: string
7
+ ) => void;
8
+
9
+ export interface PFrameV2 extends PFrameFactoryAPI, PFrameReadAPIV2 {}