-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
31 lines (29 loc) · 1009 Bytes
/
index.ts
File metadata and controls
31 lines (29 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
// index.ts - export drivers classes, utilities, types
//
// include ONLY packages used by drivers
// do NOT include anything related to gateway or bun or express
// connection-tls does not want/need to load on browser and is loaded dynamically by Database
// connection-ws does not want/need to load on node and is loaded dynamically by Database
export { Database } from './drivers/database'
export { SQLiteCloudConnection } from './drivers/connection'
export {
type SQLiteCloudConfig,
type SQLiteCloudSafeIntegerMode,
type SQLCloudRowsetMetadata,
SQLiteCloudError,
type ResultsCallback,
type ErrorCallback,
type SQLiteCloudDataTypes
} from './drivers/types'
export { SQLiteCloudRowset, SQLiteCloudRow } from './drivers/rowset'
export {
parseconnectionstring,
validateConfiguration,
getInitializationCommands,
sanitizeSQLiteIdentifier,
parseSafeIntegerMode,
encodeBigIntMarkers,
decodeBigIntMarkers
} from './drivers/utilities'
export * as protocol from './drivers/protocol'