@e-mc/types 0.4.1 → 0.5.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/constant.d.ts +1 -1
- package/lib/compat-v4.d.ts +1 -0
- package/lib/index.d.ts +0 -2
- package/lib/squared.d.ts +1 -1
- package/package.json +1 -1
package/constant.d.ts
CHANGED
package/lib/compat-v4.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export interface ModuleCompatV4Constructor extends ModuleConstructor, IModuleLib
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
export interface IFileManagerCompatV4<T extends ExternalAsset = ExternalAsset> extends IFileManager<T> {
|
|
61
|
+
archiving: boolean;
|
|
61
62
|
cacheHttpRequest: boolean | FirstOf<string>;
|
|
62
63
|
cacheHttpRequestBuffer: IHttpMemoryCache<T>;
|
|
63
64
|
fetchTimeout: number;
|
package/lib/index.d.ts
CHANGED
|
@@ -342,7 +342,6 @@ declare namespace functions {
|
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
interface IFileManager<T extends ExternalAsset = ExternalAsset> extends IHost, Set<string> {
|
|
345
|
-
archiving: boolean;
|
|
346
345
|
finalizeState: number;
|
|
347
346
|
processTimeout: number;
|
|
348
347
|
cacheToDisk: IHttpDiskCache<T>;
|
|
@@ -493,7 +492,6 @@ declare namespace functions {
|
|
|
493
492
|
readonly prototype: IFileManager<T>;
|
|
494
493
|
new(baseDirectory: string, config: RequestData<T>, postFinalize?: PostFinalizeCallback): IFileManager<T>;
|
|
495
494
|
new(baseDirectory: string, config: RequestData<T>, permission?: IPermission, postFinalize?: PostFinalizeCallback): IFileManager<T>;
|
|
496
|
-
new(baseDirectory: string, config: RequestData<T>, archiving: boolean, postFinalize?: PostFinalizeCallback): IFileManager<T>;
|
|
497
495
|
}
|
|
498
496
|
|
|
499
497
|
interface IHost extends IModule {
|
package/lib/squared.d.ts
CHANGED
|
@@ -342,7 +342,7 @@ export interface ControllerSettingsDirectoryUI {
|
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
export type WebSocketEvent = "close" | "error";
|
|
345
|
-
export type IncrementalMatch = "none" | "etag" | "exists";
|
|
345
|
+
export type IncrementalMatch = "none" | "staging" | "etag" | "exists";
|
|
346
346
|
export type TextEncoding = "utf-8" | "utf-16" | "utf-16be" | "utf-16le" | "latin1";
|
|
347
347
|
export type AttributeMap = ObjectMap<unknown>;
|
|
348
348
|
export type WatchValue = boolean | WatchInterval;
|