@squared-functions/types
Advanced tools
Comparing version 0.3.7 to 0.3.8
@@ -56,2 +56,3 @@ /// <reference path="type.d.ts" /> | ||
format?: string; | ||
tasks?: string[]; | ||
preserve?: boolean; | ||
@@ -147,5 +148,5 @@ inlineContent?: string; | ||
interface IChrome extends IModule { | ||
modules: Undef<ChromeModules>; | ||
findPlugin(settings: ObjectMap<StandardMap>, name: string): internal.PluginConfig; | ||
findTranspiler(settings: ObjectMap<StandardMap>, name: string, category: ExternalCategory, transpileMap?: TranspileMap): internal.PluginConfig; | ||
modules?: ChromeModules; | ||
findPlugin(settings: Undef<ObjectMap<StandardMap>>, name: string): internal.PluginConfig; | ||
findTranspiler(settings: Undef<ObjectMap<StandardMap>>, name: string, category: ExternalCategory, transpileMap?: TranspileMap): internal.PluginConfig; | ||
createTranspiler(value: string): Null<FunctionType<string>>; | ||
@@ -161,2 +162,8 @@ createConfig(value: string): Undef<StandardMap | string>; | ||
interface ChromeConstructor { | ||
new(modules?: ChromeModules): IChrome; | ||
} | ||
const Chrome: ChromeConstructor; | ||
interface IFileManager extends IModule { | ||
@@ -168,2 +175,4 @@ serverRoot: string; | ||
productionRelease: boolean; | ||
Gulp?: StringMap; | ||
Chrome?: IChrome; | ||
readonly files: Set<string>; | ||
@@ -178,2 +187,3 @@ readonly filesQueued: Set<string>; | ||
readonly requestMain?: ExpressAsset; | ||
install(name: string, ...args: any[]): void; | ||
add(value: string): void; | ||
@@ -202,7 +212,7 @@ delete(value: string): void; | ||
processAssets(): void; | ||
finalizeAssets(release: boolean): Promise<void[]>; | ||
finalizeAssets(release: boolean): Promise<unknown>; | ||
} | ||
interface FileManagerConstructor { | ||
checkPermissions(res: Response, dirname: string): boolean; | ||
checkPermissions(dirname: string, res?: Response): boolean; | ||
loadSettings(value: Settings, ignorePermissions?: boolean): void; | ||
@@ -212,3 +222,2 @@ moduleNode(): INode; | ||
moduleImage(): IImage; | ||
moduleChrome(): IChrome; | ||
new(dirname: string, assets: ExpressAsset[], postFinalize: (this: IFileManager) => void, productionRelease?: boolean): IFileManager; | ||
@@ -249,2 +258,3 @@ } | ||
routing?: Routing; | ||
gulp?: StringMap; | ||
chrome?: ChromeModules; | ||
@@ -251,0 +261,0 @@ } |
{ | ||
"name": "@squared-functions/types", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"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
13324
281