Big replacement: bool with boolean

This commit is contained in:
Boris Yankov
2013-08-07 16:59:39 +03:00
parent bded8a8af5
commit dd35f69637
128 changed files with 4254 additions and 4240 deletions
+19 -19
View File
@@ -27,10 +27,10 @@ interface PouchApi {
interface PouchGetOptions {
rev?: string;
revs?: bool;
revs_info?: bool;
conflicts?: bool;
attachments?: bool;
revs?: boolean;
revs_info?: boolean;
conflicts?: boolean;
attachments?: boolean;
}
interface PouchGetResponse {
@@ -42,9 +42,9 @@ interface PouchGetResponse {
interface PouchAllDocsOptions {
startkey?: string;
endKey?: string;
descending?: bool;
include_docs?: bool;
conflicts?: bool;
descending?: boolean;
include_docs?: boolean;
conflicts?: boolean;
}
interface PouchAllDocsItem {
@@ -74,11 +74,11 @@ interface PouchBulkDocsRequest {
}
interface PouchUpdateOptions {
new_edits?: bool;
new_edits?: boolean;
}
interface PouchUpdateResponse {
ok: bool;
ok: boolean;
id: string;
rev: string;
}
@@ -110,10 +110,10 @@ interface PouchFilter {
interface PouchQueryOptions {
complete?: any;
include_docs?: bool;
include_docs?: boolean;
error?: (err: PouchError) => void;
descending?: bool;
reduce?: bool;
descending?: boolean;
reduce?: boolean;
}
interface PouchQueryResponse {
@@ -131,7 +131,7 @@ interface PouchApi {
}
interface PouchAttachmentOptions {
decode?: bool;
decode?: boolean;
}
interface PouchApi {
@@ -150,11 +150,11 @@ interface PouchChangesOptions {
complete?: (err: PouchError, res: PouchChanges) => void;
seq?: number;
since?: number;
descending?: bool;
descending?: boolean;
filter?: PouchFilter;
continuous?: bool;
include_docs?: bool;
conflicts?: bool;
continuous?: boolean;
include_docs?: boolean;
conflicts?: boolean;
}
interface PouchChange {
@@ -177,14 +177,14 @@ interface PouchRevsDiffOptions {
}
interface PouchReplicateOptions {
continuous?: bool;
continuous?: boolean;
onChange?: (any) => void;
filter?: any; // Can be either string or PouchFilter
complete?: (err: PouchError, res: PouchChanges) => void;
}
interface PouchReplicateResponse {
ok: bool;
ok: boolean;
start_time: Date;
end_time: Date;
docs_read: number;