storyloco 1.14.0 → 1.14.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storyloco",
3
- "version": "1.14.0",
3
+ "version": "1.14.2",
4
4
  "description": "A collection of slick Storyblok field plugins built with Svelte 5, TypeScript, and Tailwind CSS",
5
5
  "keywords": [
6
6
  "storyblok",
@@ -1,4 +1,4 @@
1
- import type { R2AssetResource } from 'moxyloco/r2'
1
+ import type { R2Asset, R2AssetAttributes } from 'moxyloco/r2'
2
2
 
3
3
  interface StoryblokAsset {
4
4
  /* The numeric ID */
@@ -49,22 +49,22 @@ export interface Asset extends Omit<StoryblokAsset, 'id'> {
49
49
  id: string
50
50
 
51
51
  /* The width of the asset */
52
- width?: R2AssetResource['attributes']['width']
52
+ width?: R2AssetAttributes['width']
53
53
 
54
54
  /* The height of the asset */
55
- height?: R2AssetResource['attributes']['height']
55
+ height?: R2AssetAttributes['height']
56
56
 
57
57
  /* The format of the asset */
58
- format?: R2AssetResource['attributes']['format']
58
+ format?: R2AssetAttributes['format']
59
59
 
60
60
  /* Content type of the asset */
61
- content_type?: R2AssetResource['attributes']['content_type']
61
+ content_type?: R2AssetAttributes['content_type']
62
62
 
63
63
  /* The size of the asset in bytes */
64
- size_bytes: R2AssetResource['attributes']['size_bytes']
64
+ size_bytes: R2AssetAttributes['size_bytes']
65
65
 
66
66
  /* The raw data from the database */
67
- _data: R2AssetResource
67
+ _data: R2Asset
68
68
 
69
69
  /* The name of the asset ('Description' in Storyblok UI) */
70
70
  name?: string