initial
This commit is contained in:
37
ts/index.ts
37
ts/index.ts
@@ -1,3 +1,36 @@
|
||||
import * as plugins from './plugins.js';
|
||||
/**
|
||||
* @push.rocks/devicemanager
|
||||
* A device manager for discovering and communicating with network scanners and printers
|
||||
*/
|
||||
|
||||
export let demoExport = 'Hi there! :) This is an exported string';
|
||||
// Main exports
|
||||
export {
|
||||
DeviceManager,
|
||||
MdnsDiscovery,
|
||||
NetworkScanner,
|
||||
Scanner,
|
||||
Printer,
|
||||
SERVICE_TYPES,
|
||||
} from './devicemanager.classes.devicemanager.js';
|
||||
|
||||
// Abstract/base classes
|
||||
export { Device } from './abstract/device.abstract.js';
|
||||
|
||||
// Protocol implementations
|
||||
export { EsclProtocol, SaneProtocol } from './scanner/scanner.classes.scanner.js';
|
||||
export { IppProtocol } from './printer/printer.classes.printer.js';
|
||||
|
||||
// Helpers
|
||||
export { withRetry, createRetryable, defaultRetryOptions } from './helpers/helpers.retry.js';
|
||||
export {
|
||||
isValidIp,
|
||||
ipToNumber,
|
||||
numberToIp,
|
||||
ipRangeToIps,
|
||||
cidrToIps,
|
||||
getLocalSubnet,
|
||||
countIpsInCidr,
|
||||
} from './helpers/helpers.iprange.js';
|
||||
|
||||
// All interfaces and types
|
||||
export * from './interfaces/index.js';
|
||||
|
||||
Reference in New Issue
Block a user