Adaption chemin inclusion script déclarant les interfaces

This commit is contained in:
Fabrice PENHOËT 2021-10-18 10:37:44 +02:00
parent 2b57e40b76
commit d90e38d5dc
10 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@ const Papa=require("papaparse");
const errors= require("./errors.js");
import { RemoteSource } from "./freeDatas2HTMLRemoteSource";
import { ParseResults, Parsers, RemoteSources, RemoteSourceSettings } from "./freeDatas2HTMLInterfaces";
import { ParseResults, Parsers, RemoteSources, RemoteSourceSettings } from "./interfaces";
// Options de Papa Parse
// cf. https://www.papaparse.com/docs#config

View File

@ -1,7 +1,7 @@
const { compare }=require('natural-orderby');
const errors=require("./errors.js");
import { Counter, Datas, DatasRenders, DOMElement, Paginations, Parsers, ParseErrors, RemoteSources, Selectors, SortingFields, SortingFunctions } from "./freeDatas2HTMLInterfaces";
import { Counter, Datas, DatasRenders, DOMElement, Paginations, Parsers, ParseErrors, RemoteSources, Selectors, SortingFields, SortingFunctions } from "./interfaces";
import { Pagination} from "./freeDatas2HTMLPagination";
import { ParserForCSV} from "./ParserForCSV";
import { ParserForHTML} from "./freeDatas2HTMLParserForHTML";

View File

@ -1,5 +1,5 @@
const errors = require("./errors.js");
import { DOMElement, Paginations, PaginationsOptions, PaginationsPages } from "./freeDatas2HTMLInterfaces";
import { DOMElement, Paginations, PaginationsOptions, PaginationsPages } from "./interfaces";
import { FreeDatas2HTML } from "./freeDatas2HTML";
export class Pagination implements Paginations

View File

@ -1,5 +1,5 @@
const errors=require("./errors.js");
import { ParseErrors, ParseResults, Parsers, RemoteSources, RemoteSourceSettings } from "./freeDatas2HTMLInterfaces";
import { ParseErrors, ParseResults, Parsers, RemoteSources, RemoteSourceSettings } from "./interfaces";
import { RemoteSource } from "./freeDatas2HTMLRemoteSource";
export class ParserForHTML implements Parsers

View File

@ -1,7 +1,7 @@
const errors = require("./errors.js");
import { RemoteSource } from "./freeDatas2HTMLRemoteSource";
import { ParseErrors, ParseResults, Parsers, RemoteSources, RemoteSourceSettings } from "./freeDatas2HTMLInterfaces";
import { ParseErrors, ParseResults, Parsers, RemoteSources, RemoteSourceSettings } from "./interfaces";
export class ParserForJSON implements Parsers
{

View File

@ -1,6 +1,6 @@
const errors = require("./errors.js");
import { RemoteSources, RemoteSourceSettings } from "./freeDatas2HTMLInterfaces";
import { RemoteSources, RemoteSourceSettings } from "./interfaces";
export class RemoteSource implements RemoteSources
{

View File

@ -1,5 +1,5 @@
const errors = require("./errors.js");
import { DatasRenders, DatasRendersSettings } from "./freeDatas2HTMLInterfaces";
import { DatasRenders, DatasRendersSettings } from "./interfaces";
import { FreeDatas2HTML } from "./freeDatas2HTML";
export class Render implements DatasRenders

View File

@ -1,6 +1,6 @@
const { compare }= require('natural-orderby');
const errors = require("./errors.js");
import { DOMElement, Selectors } from "./freeDatas2HTMLInterfaces";
import { DOMElement, Selectors } from "./interfaces";
import { FreeDatas2HTML } from "./freeDatas2HTML";
export class Selector implements Selectors

View File

@ -1,6 +1,6 @@
const { compare }=require('natural-orderby');
const errors=require("./errors.js");
import { SortingFields } from "./freeDatas2HTMLInterfaces";
import { SortingFields } from "./interfaces";
import { FreeDatas2HTML } from "./freeDatas2HTML";
export class SortingField implements SortingFields

View File

@ -1,5 +1,5 @@
const Papa=require("papaparse");
import { RemoteSourceSettings } from "../src/freeDatas2HTMLInterfaces";
import { RemoteSourceSettings } from "../src/interfaces";
import { ParserForCSV as Parser } from "../src/ParserForCSV";
const errors=require("../src/errors.js");