@fto-consult/common
Version:
Un ensemble de bibliothèques et d'utilistaires communs pour le développement d'applications javascript
50 lines (42 loc) • 1.17 kB
JavaScript
// Copyright 2022 @fto-consult/Boris Fouomene. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Copyright 2022 @fto-consult/Boris Fouomene. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
import parseDBName from "./utils/parseDBName";
import getDB from "./getDB";
import CONSTANTS from "./constants";
import getData from "./getDB/getData";
import pouch from "./pouchdb";
import sync from "./sync";
import common from "./common";
import getAllData from "./getDB/getAllData";
import { getCompany,setCompany } from "./common";
export * from "./utils";
export {default as dataFileManager} from "./dataFileManager";
const PouchDB = pouch.PouchDB;
export * from "./getDB";
export {
getDB,
getCompany,
setCompany,
common,
CONSTANTS,
getData,
parseDBName,
PouchDB,
sync,
getAllData,
}
export default {
getDB,
getCompany,
setCompany,
common,
CONSTANTS,
getData,
parseDBName,
sync,
getAllData,
}