@squared-functions/types
Advanced tools
Comparing version 4.9.9 to 4.9.10
@@ -220,2 +220,3 @@ /// <reference path="./lib/type.d.ts" /> | ||
interface THRESHOLD { | ||
FILEMANAGER_INTERVAL: number; | ||
WATCH_INTERVAL: number; | ||
@@ -226,2 +227,3 @@ WATCH_CHANGE: number; | ||
const THRESHOLD: { | ||
FILEMANAGER_INTERVAL: number; | ||
WATCH_INTERVAL: number; | ||
@@ -228,0 +230,0 @@ WATCH_CHANGE: number; |
@@ -248,2 +248,3 @@ "use strict"; | ||
(function (THRESHOLD) { | ||
THRESHOLD[THRESHOLD["FILEMANAGER_INTERVAL"] = 100] = "FILEMANAGER_INTERVAL"; | ||
THRESHOLD[THRESHOLD["WATCH_INTERVAL"] = 500] = "WATCH_INTERVAL"; | ||
@@ -250,0 +251,0 @@ THRESHOLD[THRESHOLD["WATCH_CHANGE"] = 100] = "WATCH_CHANGE"; |
@@ -252,6 +252,10 @@ import type { PermissionAction, PermissionSettings, PermittedDirectories } from './core'; | ||
export interface WatchModule extends HandlerModule, ServerInfo { | ||
export interface WatchModule<T = WatchSettings> extends HandlerModule<T>, ServerInfo { | ||
interval?: NumString; | ||
} | ||
export interface WatchSettings<T = PlainObject> extends PlainObject { | ||
users?: ObjectMap<ObjectMap<T>>; | ||
} | ||
export interface CompressModule<U = CompressSettings> extends HandlerSettings<U> { | ||
@@ -258,0 +262,0 @@ /** @deprecated settings.gzip_level */ |
{ | ||
"name": "@squared-functions/types", | ||
"version": "4.9.9", | ||
"version": "4.9.10", | ||
"description": "Type definitions for squared-functions.", | ||
@@ -5,0 +5,0 @@ "types": "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
178985
4100