1
+ export default CFG ;
2
+ /**
3
+ * <T>
4
+ */
5
+ export type ValueOf < T > = T [ keyof T ] ;
6
+ export type FSApi = {
7
+ unlink : ( path : string , cb : import ( 'fs' ) . NoParamCallback ) => void ;
8
+ } ;
9
+ export type ConfigValues = {
10
+ DEBUG : boolean ;
11
+ cacheDatabaseInstances : boolean ;
12
+ autoName : boolean ;
13
+ fullIDLSupport : boolean ;
14
+ checkOrigin : boolean ;
15
+ cursorPreloadPackSize : number ;
16
+ UnicodeIDStart : string ;
17
+ UnicodeIDContinue : string ;
18
+ registerSCA : ( preset : import ( 'typeson' ) . Preset ) => import ( 'typeson' ) . Preset ;
19
+ avoidAutoShim : boolean ;
20
+ win : {
21
+ openDatabase : ( name : string , version : string , displayName : string , estimatedSize : number ) => any ;
22
+ } ;
23
+ DEFAULT_DB_SIZE : number ;
24
+ useSQLiteIndexes : boolean ;
25
+ fs : FSApi ;
26
+ addNonIDBGlobals : boolean ;
27
+ replaceNonIDBGlobals : boolean ;
28
+ escapeDatabaseName : ( name : string ) => string ;
29
+ unescapeDatabaseName : ( name : string ) => string ;
30
+ databaseCharacterEscapeList : string | false ;
31
+ databaseNameLengthLimit : number | false ;
32
+ escapeNFDForDatabaseNames : boolean ;
33
+ addSQLiteExtension : boolean ;
34
+ memoryDatabase : string ;
35
+ deleteDatabaseFiles : boolean ;
36
+ databaseBasePath : string ;
37
+ sysDatabaseBasePath : string ;
38
+ sqlBusyTimeout : number ;
39
+ sqlTrace : ( ) => void ;
40
+ sqlProfile : ( ) => void ;
41
+ createIndexes : boolean ;
42
+ } ;
43
+ export type ConfigValue = ValueOf < ConfigValues > ;
44
+ export type KeyofConfigValues = keyof ConfigValues ;
45
+ export type Config = KeyofConfigValues [ ] ;
46
+ declare namespace CFG {
47
+ const DEBUG : boolean ;
48
+ const cacheDatabaseInstances : boolean ;
49
+ const autoName : boolean ;
50
+ const fullIDLSupport : boolean ;
51
+ const checkOrigin : boolean ;
52
+ const cursorPreloadPackSize : number ;
53
+ const UnicodeIDStart : string ;
54
+ const UnicodeIDContinue : string ;
55
+ const registerSCA : ( preset : import ( "typeson" ) . Preset ) => import ( "typeson" ) . Preset ;
56
+ const avoidAutoShim : boolean ;
57
+ const win : {
58
+ openDatabase : ( name : string , version : string , displayName : string , estimatedSize : number ) => any ;
59
+ } ;
60
+ const DEFAULT_DB_SIZE : number ;
61
+ const useSQLiteIndexes : boolean ;
62
+ const fs : FSApi ;
63
+ const addNonIDBGlobals : boolean ;
64
+ const replaceNonIDBGlobals : boolean ;
65
+ const escapeDatabaseName : ( name : string ) => string ;
66
+ const unescapeDatabaseName : ( name : string ) => string ;
67
+ const databaseCharacterEscapeList : string | false ;
68
+ const databaseNameLengthLimit : number | false ;
69
+ const escapeNFDForDatabaseNames : boolean ;
70
+ const addSQLiteExtension : boolean ;
71
+ const memoryDatabase : string ;
72
+ const deleteDatabaseFiles : boolean ;
73
+ const databaseBasePath : string ;
74
+ const sysDatabaseBasePath : string ;
75
+ const sqlBusyTimeout : number ;
76
+ const sqlTrace : ( ) => void ;
77
+ const sqlProfile : ( ) => void ;
78
+ const createIndexes : boolean ;
79
+ }
80
+ //# sourceMappingURL=CFG.d.ts.map
0 commit comments