Skip to content

Commit 4faccae

Browse files
committed
feat(@invertase/image-processing-api): support local path type
1 parent e982879 commit 4faccae

File tree

1 file changed

+6
-0
lines changed
  • extensions/image-processing-api/lib/src

1 file changed

+6
-0
lines changed

extensions/image-processing-api/lib/src/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ class ImageProcessingApi {
139139
type: 'url',
140140
url: options.url,
141141
};
142+
} else if ('path' in options) {
143+
this.#input = {
144+
operation: 'input',
145+
type: 'path',
146+
path: options.path,
147+
};
142148
} else {
143149
this.#input = {
144150
operation: 'input',

0 commit comments

Comments
 (0)