mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+6
-6
@@ -3,7 +3,7 @@
|
||||
// Definitions by: freshp86 <https://github.com/freshp86>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module lf {
|
||||
declare namespace lf {
|
||||
export enum Order { ASC, DESC }
|
||||
|
||||
export enum Type {
|
||||
@@ -75,7 +75,7 @@ declare module lf {
|
||||
update(table: schema.Table): query.Update
|
||||
}
|
||||
|
||||
module query {
|
||||
namespace query {
|
||||
export interface Builder {
|
||||
bind(...values: any[]): Builder
|
||||
exec(): Promise<Array<Object>>
|
||||
@@ -112,7 +112,7 @@ declare module lf {
|
||||
} // module query
|
||||
|
||||
|
||||
module raw {
|
||||
namespace raw {
|
||||
export interface BackStore {
|
||||
getRawDBInstance(): any
|
||||
getRawTransaction(): any
|
||||
@@ -131,7 +131,7 @@ declare module lf {
|
||||
} // module raw
|
||||
|
||||
|
||||
module schema {
|
||||
namespace schema {
|
||||
export enum DataStoreType {
|
||||
FIREBASE,
|
||||
INDEXED_DB,
|
||||
@@ -208,14 +208,14 @@ declare module lf {
|
||||
} // module schema
|
||||
|
||||
|
||||
module op {
|
||||
namespace op {
|
||||
function and(...args: Predicate[]): Predicate;
|
||||
function not(operand: Predicate): Predicate;
|
||||
function or(...args: Predicate[]): Predicate;
|
||||
} // module op
|
||||
|
||||
|
||||
module fn {
|
||||
namespace fn {
|
||||
function avg(column: schema.Column): schema.Column
|
||||
function count(column?: schema.Column): schema.Column
|
||||
function distinct(column: schema.Column): schema.Column
|
||||
|
||||
Reference in New Issue
Block a user