Skip to content

Commit aa504cd

Browse files
chore(*): added basic operation tests
Co-authored-by: Yaman KATBY <[email protected]>
1 parent a95fe51 commit aa504cd

File tree

16 files changed

+4360
-4068
lines changed

16 files changed

+4360
-4068
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,7 @@ firebase-debug.*.log*
8383
.firebase/
8484
.DS_Store
8585
yarn.lock
86+
87+
88+
#vscode
89+
.vscode

docs/storage-image-processing-api/types/colorspace.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ as alpha channels.
2020

2121
**srgb**
2222

23-
**fourier**
23+
**Fourier**
2424

2525
**rgb16**
2626

docs/storage-image-processing-api/types/gravity.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Enum of the gravity location.
66

77
**center**
88

9-
**centre**
9+
**center**
1010

1111
**north**
1212

docs/storage-image-processing-api/types/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This page contains an assorted list of types and enums that are used throughout
1616

1717
### [OperationResizeFit](/storage-image-processing-api/types/operationResizeFit)
1818

19-
### [OperationResizeKernal](/storage-image-processing-api/types/operationResizeKernal)
19+
### [OperationResizeKernel](/storage-image-processing-api/types/operationResizeKernel)
2020

2121
### [OperationResizePosition](/storage-image-processing-api/types/operationResizePosition)
2222

docs/storage-image-processing-api/types/operationResizeKernel.mdx

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,22 @@
22

33
#### **Options**
44

5-
**nearest**
5+
**Nearest**
66

7-
**cubic**
7+
Use nearest neighbour interpolation.
88

9-
**mitchell**
9+
**Cubic**
1010

11-
**lanczos2**
11+
Use a Catmull-Rom spline.
1212

13-
**lanczos3**
13+
**Mitchell**
14+
15+
Use a Mitchell-Netravali spline .
16+
17+
**Lanczos2**
18+
19+
Use a Lanczos kernel with a=2.
20+
21+
**Lanczos3**
22+
23+
Use a Lanczos kernel with a=3 (the default).

extensions/storage-image-processing-api/functions/__tests__/e2e.test.ts

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)