@zerotal/media 1.14.3 → 1.15.0
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/api-surface.md +5 -2
- package/package.json +4 -4
package/api-surface.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
<!-- AUTO-GENERATED by scripts/api-surface.ts. Do not edit by hand.
|
|
4
4
|
Run `bun run api:surface` to regenerate after an intentional API change. -->
|
|
5
5
|
|
|
6
|
+
> Not a guide — this is a flat, alphabetical snapshot used to detect unintended
|
|
7
|
+
> API changes. For how to use these, read the [documentation](https://zerotal.dev/docs).
|
|
8
|
+
|
|
6
9
|
## . `(./src/index.ts)`
|
|
7
10
|
|
|
8
11
|
class BunImageDriver = {
|
|
@@ -134,7 +137,7 @@ class MediaItem = {
|
|
|
134
137
|
conversion: (name: string) => GeneratedConversion | null
|
|
135
138
|
conversionNames: () => string[]
|
|
136
139
|
conversionsDisk: string | null
|
|
137
|
-
createdAt?:
|
|
140
|
+
createdAt?: Carbon
|
|
138
141
|
customProperties: Record<string, unknown>
|
|
139
142
|
decrement: (column: 'id' | 'name' | 'size' | 'createdAt' | 'updatedAt' | '__isZerotalModel' | 'fill' | 'forceFill' | 'save' | 'delete' | 'load' | 'loadMissing' | 'fresh' | 'refresh' | 'replicate' | 'touch' | 'is' | 'isNot' | 'increment' | 'decrement' | 'loadCount' | 'loadSum' | 'loadAvg' | 'loadMin' | 'loadMax' | 'makeHidden' | 'makeVisible' | 'append' | 'associate' | 'dissociate' | 'isDirty' | '$dirty' | 'markDirty' | 'toJSON' | 'modelType' | 'modelId' | 'uuid' | 'collectionName' | 'fileName' | 'mimeType' | 'disk' | 'conversionsDisk' | 'manipulations' | 'customProperties' | 'generatedConversions' | 'responsiveImages' | 'orderColumn' | 'originalDisk' | 'derivedDisk' | 'getPath' | 'getResponsivePath' | 'getUrl' | 'getTemporaryUrl' | 'hasConversion' | 'conversion' | 'conversionNames' | 'responsiveSet' | 'srcset' | 'placeholder' | 'getCustomProperty' | 'setCustomProperty' | 'forgetCustomProperty' | 'bytes' | 'fileExists' | 'deleteFiles', amount?: number) => Promise<MediaItem>
|
|
140
143
|
delete: () => Promise<void>
|
|
@@ -189,7 +192,7 @@ class MediaItem = {
|
|
|
189
192
|
srcset: () => string
|
|
190
193
|
toJSON: () => Record<string, unknown>
|
|
191
194
|
touch: () => Promise<MediaItem>
|
|
192
|
-
updatedAt?:
|
|
195
|
+
updatedAt?: Carbon
|
|
193
196
|
uuid: string
|
|
194
197
|
}
|
|
195
198
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zerotal/media",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"maturity": "stable",
|
|
6
6
|
"private": false,
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"typecheck": "tsc --noEmit"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@zerotal/core": "1.
|
|
36
|
-
"@zerotal/orm": "1.
|
|
35
|
+
"@zerotal/core": "1.15.0",
|
|
36
|
+
"@zerotal/orm": "1.15.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@zerotal/queue": "^1.0.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@zerotal/queue": "1.
|
|
51
|
+
"@zerotal/queue": "1.15.0",
|
|
52
52
|
"sharp": "^0.34.0",
|
|
53
53
|
"typescript": "^5.8.0"
|
|
54
54
|
},
|