@squared-functions/types
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -146,7 +146,6 @@ /// <reference path="type.d.ts" /> | ||
hasImageService(): boolean; | ||
removeFormat(compress: Undef<squared.base.CompressFormat[]>, format: string): void; | ||
parseSizeRange(value: string): [number, number]; | ||
withinSizeRange(filepath: string, value: Undef<string>): boolean; | ||
tryFile(data: internal.FileData, format: FileCompressFormat, preCompress?: FileManagerPerformAsyncTaskCallback, postWrite?: FileManagerCompleteAsyncTaskCallback): void; | ||
tryImage(filepath: string, callback: FileOutputCallback): void; | ||
tryImage(data: internal.FileData, callback: FileOutputCallback): void; | ||
} | ||
@@ -218,3 +217,3 @@ | ||
transformCss(file: ExpressAsset, content: string): Undef<string>; | ||
newImage(data: internal.FileData, mimeType: string, ouputType: string, saveAs: string, command?: string): string; | ||
newImage(data: internal.FileData, ouputType: string, saveAs: string, command?: string): string; | ||
replaceImage(data: internal.FileData, output: string, command: string): void; | ||
@@ -247,2 +246,3 @@ transformBuffer(data: internal.FileData): Promise<void>; | ||
replaceExtension(value: string, ext: string): string; | ||
getTempDir(): string; | ||
writeFail(description: string, message: unknown): void; | ||
@@ -273,3 +273,4 @@ } | ||
write(output: string, options?: internal.ImageUsingOptions): void; | ||
constructor(instance: T, filepath: string, command?: string); | ||
finalize(output: string, callback: (result: string) => void): void; | ||
constructor(instance: T, filepath: string, command?: string, finalAs?: string); | ||
} | ||
@@ -276,0 +277,0 @@ |
{ | ||
"name": "@squared-functions/types", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Type definitions for squared-functions", | ||
@@ -5,0 +5,0 @@ "types": "lib/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14641
315