mirror of
https://scm.univ-tours.fr/22107988t/rappaurio-sae501_502.git
synced 2025-08-30 05:55:57 +02:00
Revert "permet l'ajout des frameworks et des routes"
This reverts commit 361112699c
This commit is contained in:
37
app/node_modules/express-handlebars/dist/express-handlebars.d.ts
generated
vendored
37
app/node_modules/express-handlebars/dist/express-handlebars.d.ts
generated
vendored
@@ -1,37 +0,0 @@
|
||||
/// <reference types="node" />
|
||||
/// <reference types="handlebars" />
|
||||
import type { UnknownObject, HelperDelegateObject, ConfigOptions, Engine, TemplateSpecificationObject, TemplateDelegateObject, FsCache, PartialTemplateOptions, PartialsDirObject, RenderOptions, RenderViewOptions, RenderCallback, HandlebarsImport, CompiledCache, PrecompiledCache } from "../types";
|
||||
export default class ExpressHandlebars {
|
||||
config: ConfigOptions;
|
||||
engine: Engine;
|
||||
encoding: BufferEncoding;
|
||||
layoutsDir: string;
|
||||
extname: string;
|
||||
compiled: CompiledCache;
|
||||
precompiled: PrecompiledCache;
|
||||
_fsCache: FsCache;
|
||||
partialsDir: string | PartialsDirObject | (string | PartialsDirObject)[];
|
||||
compilerOptions: CompileOptions;
|
||||
runtimeOptions: RuntimeOptions;
|
||||
helpers: HelperDelegateObject;
|
||||
defaultLayout: string;
|
||||
handlebars: HandlebarsImport;
|
||||
constructor(config?: ConfigOptions);
|
||||
getPartials(options?: PartialTemplateOptions): Promise<TemplateSpecificationObject | TemplateDelegateObject>;
|
||||
getTemplate(filePath: string, options?: PartialTemplateOptions): Promise<HandlebarsTemplateDelegate | TemplateSpecification>;
|
||||
getTemplates(dirPath: string, options?: PartialTemplateOptions): Promise<HandlebarsTemplateDelegate | TemplateSpecification>;
|
||||
render(filePath: string, context?: UnknownObject, options?: RenderOptions): Promise<string>;
|
||||
renderView(viewPath: string): Promise<string>;
|
||||
renderView(viewPath: string, options: RenderViewOptions): Promise<string>;
|
||||
renderView(viewPath: string, callback: RenderCallback): Promise<null>;
|
||||
renderView(viewPath: string, options: RenderViewOptions, callback: RenderCallback): Promise<null>;
|
||||
resetCache(filePathsOrFilter?: string | string[] | ((template: string) => boolean)): void;
|
||||
protected _compileTemplate(template: string, options?: RuntimeOptions): HandlebarsTemplateDelegate;
|
||||
protected _precompileTemplate(template: string, options?: RuntimeOptions): TemplateSpecification;
|
||||
protected _renderTemplate(template: HandlebarsTemplateDelegate, context?: UnknownObject, options?: RuntimeOptions): string;
|
||||
private _getDir;
|
||||
private _getFile;
|
||||
private _getTemplateName;
|
||||
private _resolveViewsPath;
|
||||
private _resolveLayoutPath;
|
||||
}
|
Reference in New Issue
Block a user