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");
|
const errors= require("./errors.js");
|
||||||
import { RemoteSource } from "./freeDatas2HTMLRemoteSource";
|
import { RemoteSource } from "./freeDatas2HTMLRemoteSource";
|
||||||
|
|
||||||
import { ParseResults, Parsers, RemoteSources, RemoteSourceSettings } from "./freeDatas2HTMLInterfaces";
|
import { ParseResults, Parsers, RemoteSources, RemoteSourceSettings } from "./interfaces";
|
||||||
|
|
||||||
// Options de Papa Parse
|
// Options de Papa Parse
|
||||||
// cf. https://www.papaparse.com/docs#config
|
// cf. https://www.papaparse.com/docs#config
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
const { compare }=require('natural-orderby');
|
const { compare }=require('natural-orderby');
|
||||||
const errors=require("./errors.js");
|
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 { Pagination} from "./freeDatas2HTMLPagination";
|
||||||
import { ParserForCSV} from "./ParserForCSV";
|
import { ParserForCSV} from "./ParserForCSV";
|
||||||
import { ParserForHTML} from "./freeDatas2HTMLParserForHTML";
|
import { ParserForHTML} from "./freeDatas2HTMLParserForHTML";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
const errors = require("./errors.js");
|
const errors = require("./errors.js");
|
||||||
import { DOMElement, Paginations, PaginationsOptions, PaginationsPages } from "./freeDatas2HTMLInterfaces";
|
import { DOMElement, Paginations, PaginationsOptions, PaginationsPages } from "./interfaces";
|
||||||
import { FreeDatas2HTML } from "./freeDatas2HTML";
|
import { FreeDatas2HTML } from "./freeDatas2HTML";
|
||||||
|
|
||||||
export class Pagination implements Paginations
|
export class Pagination implements Paginations
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
const errors=require("./errors.js");
|
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";
|
import { RemoteSource } from "./freeDatas2HTMLRemoteSource";
|
||||||
|
|
||||||
export class ParserForHTML implements Parsers
|
export class ParserForHTML implements Parsers
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
const errors = require("./errors.js");
|
const errors = require("./errors.js");
|
||||||
import { RemoteSource } from "./freeDatas2HTMLRemoteSource";
|
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
|
export class ParserForJSON implements Parsers
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
const errors = require("./errors.js");
|
const errors = require("./errors.js");
|
||||||
|
|
||||||
import { RemoteSources, RemoteSourceSettings } from "./freeDatas2HTMLInterfaces";
|
import { RemoteSources, RemoteSourceSettings } from "./interfaces";
|
||||||
|
|
||||||
export class RemoteSource implements RemoteSources
|
export class RemoteSource implements RemoteSources
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
const errors = require("./errors.js");
|
const errors = require("./errors.js");
|
||||||
import { DatasRenders, DatasRendersSettings } from "./freeDatas2HTMLInterfaces";
|
import { DatasRenders, DatasRendersSettings } from "./interfaces";
|
||||||
import { FreeDatas2HTML } from "./freeDatas2HTML";
|
import { FreeDatas2HTML } from "./freeDatas2HTML";
|
||||||
|
|
||||||
export class Render implements DatasRenders
|
export class Render implements DatasRenders
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
const { compare }= require('natural-orderby');
|
const { compare }= require('natural-orderby');
|
||||||
const errors = require("./errors.js");
|
const errors = require("./errors.js");
|
||||||
import { DOMElement, Selectors } from "./freeDatas2HTMLInterfaces";
|
import { DOMElement, Selectors } from "./interfaces";
|
||||||
import { FreeDatas2HTML } from "./freeDatas2HTML";
|
import { FreeDatas2HTML } from "./freeDatas2HTML";
|
||||||
|
|
||||||
export class Selector implements Selectors
|
export class Selector implements Selectors
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
const { compare }=require('natural-orderby');
|
const { compare }=require('natural-orderby');
|
||||||
const errors=require("./errors.js");
|
const errors=require("./errors.js");
|
||||||
import { SortingFields } from "./freeDatas2HTMLInterfaces";
|
import { SortingFields } from "./interfaces";
|
||||||
import { FreeDatas2HTML } from "./freeDatas2HTML";
|
import { FreeDatas2HTML } from "./freeDatas2HTML";
|
||||||
|
|
||||||
export class SortingField implements SortingFields
|
export class SortingField implements SortingFields
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
const Papa=require("papaparse");
|
const Papa=require("papaparse");
|
||||||
import { RemoteSourceSettings } from "../src/freeDatas2HTMLInterfaces";
|
import { RemoteSourceSettings } from "../src/interfaces";
|
||||||
import { ParserForCSV as Parser } from "../src/ParserForCSV";
|
import { ParserForCSV as Parser } from "../src/ParserForCSV";
|
||||||
const errors=require("../src/errors.js");
|
const errors=require("../src/errors.js");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user