Skip to content

Commit fbe0ec7

Browse files
committed
Changes at the search result definition
1 parent ae7f572 commit fbe0ec7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

freebase/freebase.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,7 @@ module Minduca.Freebase {
165165

166166
export interface IFreebaseInvokeOptions {
167167
done(data: any, textStatus: string, jqXHR: JQueryXHR): any;
168-
fail? (jqXHR: JQueryXHR, textStatus: string, errorThrow: string, data?: any): any;
169-
fail? (jqXHR: JQueryXHR, textStatus: string, errorThrow: string, data?: IFreebaseResultError): any;
168+
fail? (jqXHR: JQueryXHR, textStatus: string, errorThrow: string): any;
170169
always? (jqXHR: JQueryXHR, textStatus: string): any;
171170
async?: boolean;
172171
}
@@ -178,7 +177,6 @@ module Minduca.Freebase {
178177
cursor: number;
179178
cost: number;
180179
hits: number;
181-
output?: { [prop: string]: any };
182180
}
183181

184182
export interface IFreebaseSearchResultItem {
@@ -191,7 +189,7 @@ module Minduca.Freebase {
191189
};
192190
lang: string;
193191
score: string;
194-
output?: any;
192+
output?: { [prop: string]: any };
195193
}
196194

197195
export interface IFreebaseResultError {
@@ -201,6 +199,8 @@ module Minduca.Freebase {
201199
domain: string;
202200
reason: string;
203201
message: string;
202+
location?: string;
203+
locationtype?: string;
204204
}[];
205205
code: string;
206206
message: string;

0 commit comments

Comments
 (0)