Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,084 changes: 548 additions & 536 deletions playground/app/providers.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default defineNuxtConfig({
apiVersion: 'v7',
},
directus: {
baseURL: 'http://localhost:8055/assets/',
baseURL: 'https://example.directus.app/assets/',
},
fastly: {
baseURL: 'https://www.fastly.io',
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/__snapshots__/caisy.json5
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"requests": [
"https://assets.caisy.io/assets/b76210be-a043-4989-98df-ecaf6c6e68d8/056c27e2-81f5-4cd3-b728-cef181dfe7dc/d83ea6f0-f90a-462c-aebd-b8bc615fdce0pexelsmiguelapadrinan1591056.jpg?w=500&h=500&q=90",
"https://assets.caisy.io/assets/b76210be-a043-4989-98df-ecaf6c6e68d8/2d99a80a-92a9-4865-b666-149431eb1732/edcbb3ec-660b-4683-ac8d-56b428da55e1pexelscottonbrostudio4965822.jpg?w=500&h=500&q=90",
],
"sources": [
"https://assets.caisy.io/assets/b76210be-a043-4989-98df-ecaf6c6e68d8/056c27e2-81f5-4cd3-b728-cef181dfe7dc/d83ea6f0-f90a-462c-aebd-b8bc615fdce0pexelsmiguelapadrinan1591056.jpg?w=500&h=500&q=90",
"https://assets.caisy.io/assets/b76210be-a043-4989-98df-ecaf6c6e68d8/2d99a80a-92a9-4865-b666-149431eb1732/edcbb3ec-660b-4683-ac8d-56b428da55e1pexelscottonbrostudio4965822.jpg?w=500&h=500&q=90",
],
}
4 changes: 2 additions & 2 deletions test/e2e/__snapshots__/cloudimage.json5
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"requests": [
"https://demo.cloudimg.io/v7/https://2412819702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlIgyYELwJG6odLEyCM6i%2Fuploads%2FAHcbuKRYbIlBWO4cJ88b%2Fimage.png?alt=media&token=62ff753d-83eb-4e3f-932c-96eb72d455f1?width=400&height=250&force_format=webp&q=65&func=fit",
"https://demo.cloudimg.io/v7/https://2412819702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlIgyYELwJG6odLEyCM6i%2Fuploads%2FAHcbuKRYbIlBWO4cJ88b%2Fimage.png?alt=media?width=400&height=250&force_format=webp&q=65&func=fit",
"https://demo.cloudimg.io/v7/sample.li/bag.jpg?width=500&height=500&func=fit",
"https://demo.cloudimg.io/v7/sample.li/boat.jpg?width=800&height=800&q=75&func=crop",
"https://demo.cloudimg.io/v7/sample.li/img.jpg?width=300&height=300&force_format=webp&func=cover",
],
"sources": [
"https://demo.cloudimg.io/v7/https://2412819702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlIgyYELwJG6odLEyCM6i%2Fuploads%2FAHcbuKRYbIlBWO4cJ88b%2Fimage.png?alt=media&token=62ff753d-83eb-4e3f-932c-96eb72d455f1?width=400&height=250&force_format=webp&q=65&func=fit",
"https://demo.cloudimg.io/v7/https://2412819702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlIgyYELwJG6odLEyCM6i%2Fuploads%2FAHcbuKRYbIlBWO4cJ88b%2Fimage.png?alt=media?width=400&height=250&force_format=webp&q=65&func=fit",
"https://demo.cloudimg.io/v7/sample.li/bag.jpg?width=500&height=500&func=fit",
"https://demo.cloudimg.io/v7/sample.li/boat.jpg?width=800&height=800&q=75&func=crop",
"https://demo.cloudimg.io/v7/sample.li/img.jpg?width=300&height=300&force_format=webp&func=cover",
Expand Down
16 changes: 8 additions & 8 deletions test/e2e/__snapshots__/directus.json5
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"requests": [
"http://localhost:8055/assets/ad514db1-eb90-4523-8183-46781437e7ee",
"http://localhost:8055/assets/ad514db1-eb90-4523-8183-46781437e7ee.jpg?withoutEnlargement=true&width=1024&height=256&fit=cover",
"http://localhost:8055/assets/ad514db1-eb90-4523-8183-46781437e7ee?width=256&format=webp",
"http://localhost:8055/assets/ad514db1-eb90-4523-8183-46781437e7ee?withoutEnlargement=true&transforms=%5B%5B%22blur%22%2C4%5D%2C%5B%22negate%22%5D%5D&width=256&format=webp",
"https://example.directus.app/assets/39ff62fd-902e-458c-808f-702460c51309",
"https://example.directus.app/assets/39ff62fd-902e-458c-808f-702460c51309.jpg?withoutEnlargement=true&width=1024&height=256&fit=cover",
"https://example.directus.app/assets/39ff62fd-902e-458c-808f-702460c51309?width=256&format=webp",
"https://example.directus.app/assets/39ff62fd-902e-458c-808f-702460c51309?withoutEnlargement=true&transforms=%5B%5B%22blur%22%2C4%5D%2C%5B%22negate%22%5D%5D&width=256&format=webp",
],
"sources": [
"http://localhost:8055/assets/ad514db1-eb90-4523-8183-46781437e7ee",
"http://localhost:8055/assets/ad514db1-eb90-4523-8183-46781437e7ee.jpg?withoutEnlargement=true&width=1024&height=256&fit=cover",
"http://localhost:8055/assets/ad514db1-eb90-4523-8183-46781437e7ee?width=256&format=webp",
"http://localhost:8055/assets/ad514db1-eb90-4523-8183-46781437e7ee?withoutEnlargement=true&transforms=%5B%5B%22blur%22%2C4%5D%2C%5B%22negate%22%5D%5D&width=256&format=webp",
"https://example.directus.app/assets/39ff62fd-902e-458c-808f-702460c51309",
"https://example.directus.app/assets/39ff62fd-902e-458c-808f-702460c51309.jpg?withoutEnlargement=true&width=1024&height=256&fit=cover",
"https://example.directus.app/assets/39ff62fd-902e-458c-808f-702460c51309?width=256&format=webp",
"https://example.directus.app/assets/39ff62fd-902e-458c-808f-702460c51309?withoutEnlargement=true&transforms=%5B%5B%22blur%22%2C4%5D%2C%5B%22negate%22%5D%5D&width=256&format=webp",
],
}
10 changes: 6 additions & 4 deletions test/e2e/__snapshots__/fastly.json5
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"requests": [
"https://www.fastly.io/image.jpg",
"https://www.fastly.io/plant.jpeg",
"https://www.fastly.io/image.gif?v=123&height=100",
"https://www.fastly.io/image.jpg?width=400",
"https://www.fastly.io/image.png?height=250",
],
"sources": [
"https://www.fastly.io/image.jpg",
"https://www.fastly.io/plant.jpeg",
"https://www.fastly.io/image.jpg?width=400",
"https://www.fastly.io/image.png?height=250",
"https://www.fastly.io/image.gif?v=123&height=100",
],
}
Loading
Loading