Adaption chemin inclusion script déclarant les interfaces
This commit is contained in:
parent
2b57e40b76
commit
d90e38d5dc
@ -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
|
||||
|
@ -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";
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
const errors = require("./errors.js");
|
||||
|
||||
import { RemoteSources, RemoteSourceSettings } from "./freeDatas2HTMLInterfaces";
|
||||
import { RemoteSources, RemoteSourceSettings } from "./interfaces";
|
||||
|
||||
export class RemoteSource implements RemoteSources
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user