quidproquo-webserver
Advanced tools
Comparing version 0.0.66 to 0.0.67
@@ -11,1 +11,6 @@ export declare enum QPQWebServerConfigSettingType { | ||
} | ||
export interface CacheSettings { | ||
minTTLInSeconds: number; | ||
maxTTLInSeconds: number; | ||
defaultTTLInSeconds: number; | ||
} |
import { QPQConfigSetting, QPQConfigAdvancedSettings } from 'quidproquo-core'; | ||
import { CacheSettings } from '../QPQConfig'; | ||
export interface SeoCacheSettings extends CacheSettings { | ||
headers: string[]; | ||
} | ||
export interface QPQConfigAdvancedSeoSettings extends QPQConfigAdvancedSettings { | ||
webEntry?: string; | ||
cache?: SeoCacheSettings; | ||
} | ||
@@ -11,3 +16,4 @@ export interface SeoQPQWebServerConfigSetting extends QPQConfigSetting { | ||
webEntry?: string; | ||
cache: SeoCacheSettings; | ||
} | ||
export declare const defineSeo: (path: string, src: string, runtime: string, options?: QPQConfigAdvancedSeoSettings) => SeoQPQWebServerConfigSetting; |
@@ -13,3 +13,9 @@ "use strict"; | ||
deprecated: (options === null || options === void 0 ? void 0 : options.deprecated) || false, | ||
cache: (options === null || options === void 0 ? void 0 : options.cache) || { | ||
defaultTTLInSeconds: 86400, | ||
minTTLInSeconds: 900, | ||
maxTTLInSeconds: 172800, | ||
headers: [], | ||
}, | ||
}); | ||
exports.defineSeo = defineSeo; |
import { QPQConfigSetting, QPQConfigAdvancedSettings } from 'quidproquo-core'; | ||
import { CacheSettings } from '../QPQConfig'; | ||
export interface WebDomainOptions { | ||
@@ -10,2 +11,4 @@ subDomainName?: string; | ||
} | ||
export interface CacheOptions extends CacheSettings { | ||
} | ||
export interface QPQConfigAdvancedWebEntrySettings extends QPQConfigAdvancedSettings { | ||
@@ -15,2 +18,3 @@ buildPath?: string; | ||
storageDrive?: StorageDriveOptions; | ||
cache?: CacheOptions; | ||
domain?: WebDomainOptions; | ||
@@ -24,2 +28,3 @@ indexRoot?: string; | ||
domain: WebDomainOptions; | ||
cache: CacheOptions; | ||
buildPath?: string; | ||
@@ -26,0 +31,0 @@ seoBuildPath?: string; |
@@ -16,2 +16,7 @@ "use strict"; | ||
}, | ||
cache: (options === null || options === void 0 ? void 0 : options.cache) || { | ||
defaultTTLInSeconds: 86400, | ||
minTTLInSeconds: 900, | ||
maxTTLInSeconds: 172800, | ||
}, | ||
buildPath: options === null || options === void 0 ? void 0 : options.buildPath, | ||
@@ -18,0 +23,0 @@ seoBuildPath: options === null || options === void 0 ? void 0 : options.seoBuildPath, |
export * from './HTTPEvent'; | ||
export * from './SEOEvent'; | ||
export * from './constants'; |
@@ -19,1 +19,2 @@ "use strict"; | ||
__exportStar(require("./SEOEvent"), exports); | ||
__exportStar(require("./constants"), exports); |
{ | ||
"name": "quidproquo-webserver", | ||
"version": "0.0.66", | ||
"version": "0.0.67", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
35364
52
723