Skip to content

Commit

Permalink
Clean up collection.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
envis10n committed Mar 21, 2022
1 parent 14da501 commit 9191285
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions collection.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { axiod } from "./deps.ts";
import { ArangoCursor, CursorOptions } from "./cursor.ts";
import { Edge, EdgeResponse } from "./edge.ts";

/**
* Define Document methods.
Expand All @@ -10,13 +9,6 @@ export interface DocumentBase {
delete(): Promise<boolean>;
}

export type DocumentResponse<T> = {
code?: number;
error?: boolean;
errorMessage?: string;
errorNum?: number;
} & Partial<Document<T>>;

/**
* Join DocumentData<T> and DocumentBase
*/
Expand Down

0 comments on commit 9191285

Please sign in to comment.