blob: 935f35fcd98b85b01da38f4915b5060f629b8a54 (
plain)
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
32
33
|
import { allOf } from './utils';
/**
* The possible definitions related to databases.
*/
export interface DatabaseDefinitions {
/**
* Database Engine
*/
engine: string[];
/**
* Database Collation
*/
collation: string[];
/**
* Column names
*/
column: string[];
/**
* Column types
*/
type: string[];
}
/**
* Internal: A list of all keys for the DatabaseDefinitions.
*/
export const DATABASE = allOf<keyof DatabaseDefinitions>()(
'collation',
'column',
'engine',
'type'
);
|