@paroicms/internal-anywhere-lib 1.28.0 → 1.29.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.
@@ -0,0 +1,11 @@
1
+ import type { MFile, MImageVariant, MSourceImage } from "@paroicms/public-anywhere-lib";
2
+ export type BoMedia = BoFile | BoImage;
3
+ export interface BoImage {
4
+ kind: "image";
5
+ source: MSourceImage;
6
+ thumb: MImageVariant;
7
+ }
8
+ export interface BoFile {
9
+ kind: "file";
10
+ source: MFile;
11
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=bo-media.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bo-media.types.js","sourceRoot":"","sources":["../src/bo-media.types.ts"],"names":[],"mappings":""}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from "./bo-media.types.js";
1
2
  export * from "./constants.js";
2
3
  export * from "./number-localization.js";
3
4
  export * from "./parts.helper.js";
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export * from "./bo-media.types.js";
1
2
  export * from "./constants.js";
2
3
  export * from "./number-localization.js";
3
4
  export * from "./parts.helper.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paroicms/internal-anywhere-lib",
3
- "version": "1.28.0",
3
+ "version": "1.29.1",
4
4
  "description": "Front lib for Paroi CMS.",
5
5
  "author": "Paroi Team",
6
6
  "keywords": [
@@ -20,16 +20,16 @@
20
20
  "clear": "rimraf dist/*",
21
21
  "dev": "tsc --watch --preserveWatchOutput",
22
22
  "test": "vitest",
23
- "test:run": "vitest run"
23
+ "test:once": "vitest run"
24
24
  },
25
25
  "dependencies": {
26
26
  "@paroi/data-formatters-lib": "~0.4.0",
27
- "@paroicms/public-anywhere-lib": "0.22.0"
27
+ "@paroicms/public-anywhere-lib": "0.23.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "rimraf": "~6.0.1",
31
31
  "typescript": "~5.8.3",
32
- "vitest": "~3.1.1"
32
+ "vitest": "~3.2.3"
33
33
  },
34
34
  "files": [
35
35
  "dist",