1 |
|
2 |
|
3 | declare namespace FxOrmPatch {
|
4 | interface PatchedSyncfiedModelOrInstance {
|
5 | |
6 |
|
7 |
|
8 |
|
9 |
|
10 | countSync: Function;
|
11 | firstSync: Function;
|
12 | lastSync: Function;
|
13 | allSync: Function;
|
14 | whereSync: Function;
|
15 | findSync: Function;
|
16 | removeSync: Function;
|
17 | runSync: Function;
|
18 | }
|
19 |
|
20 | interface PatchedSyncfiedInstanceWithDbWriteOperation extends PatchedSyncfiedModelOrInstance {
|
21 | saveSync: Function;
|
22 | removeSync: Function;
|
23 | validateSync: Function;
|
24 | modelSync: Function;
|
25 | }
|
26 |
|
27 | interface PatchedSyncfiedInstanceWithAssociations {
|
28 | |
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 | [associationFunc: string]: Function;
|
37 | }
|
38 |
|
39 | type PatchedDMLDriver = FxOrmDMLDriver.DMLDriver;
|
40 |
|
41 | interface PatchedORMInstance {
|
42 | driver: FxOrmPatch.PatchedDMLDriver;
|
43 | }
|
44 |
|
45 | interface PatchedSyncfiedInstantce extends FxOrmPatch.PatchedSyncfiedInstanceWithDbWriteOperation, FxOrmPatch.PatchedSyncfiedInstanceWithAssociations {
|
46 | }
|
47 | } |
\ | No newline at end of file |