Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Commit

Permalink
Fix typescript imports (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItamarM authored and MrRefactoring committed Dec 12, 2019
1 parent 3c4f767 commit 63fb6f1
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 21 deletions.
2 changes: 1 addition & 1 deletion types/api/applicationProperties.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Callback } from "types";
import { Callback } from "../callback";

export class ApplicationProperties {
getProperties(
Expand Down
4 changes: 2 additions & 2 deletions types/api/attachment.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Callback } from "types";
import { AttachmentMetadata } from 'types/models';
import { Callback } from "../callback";
import { AttachmentMetadata } from "../models";

export class Attachment {
getAttachment(
Expand Down
2 changes: 1 addition & 1 deletion types/api/backlog.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Callback } from "types";
import { Callback } from "../callback";

export class Backlog {
moveIssuesToBacklog(
Expand Down
4 changes: 2 additions & 2 deletions types/api/board.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Callback } from "types";
import { Board as BoardModel } from "types/models";
import { Callback } from "../callback";
import { Board as BoardModel } from "../models";

export class Board {
getAllBoards(
Expand Down
2 changes: 1 addition & 1 deletion types/api/epic.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Callback } from 'types';
import { Callback } from "../callback";

export class Epic {
getIssuesWithoutEpic(opts?: {
Expand Down
2 changes: 1 addition & 1 deletion types/api/issue.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Callback } from 'types';
import { Callback } from "../callback";

export interface HistoryMetadataParticipant {
[key: string]: any;
Expand Down
4 changes: 2 additions & 2 deletions types/api/issueType.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Callback } from 'types';
import { IssueType as IssueTypeModel } from 'types/models';
import { Callback } from "../callback";
import { IssueType as IssueTypeModel } from "../models";

export class IssueType {
getAllIssueTypes(
Expand Down
4 changes: 2 additions & 2 deletions types/api/labels.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Callback } from 'types';
import { PageBeanString } from 'types/models';
import { Callback } from "../callback";
import { PageBeanString } from "../models";

export class Labels {
getLabels(
Expand Down
4 changes: 2 additions & 2 deletions types/api/project.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Callback } from "types";
import { PageBeanVersion } from 'types/models';
import { Callback } from "../callback";
import { PageBeanVersion } from "../models";

export class Project {
getAllProjects(
Expand Down
4 changes: 3 additions & 1 deletion types/api/search.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Callback } from "types";
import { Callback } from "../callback";

export interface IssueResponse {
expand: string;
Expand Down Expand Up @@ -40,6 +40,8 @@ export class Search {
expand?: string[];
properties?: string[];
fieldsByKeys?: boolean;
timeout?: number;
fields?: string[];
},
callback?: Callback<SearchResult>
): Promise<SearchResult>;
Expand Down
4 changes: 2 additions & 2 deletions types/api/sprint.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Callback } from 'types';
import { Sprint as SprintModel } from 'types/models';
import { Callback } from "../callback";
import { Sprint as SprintModel } from "../models";

export type SprintId = string | number;

Expand Down
2 changes: 1 addition & 1 deletion types/api/user.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Callback } from "types";
import { Callback } from "../callback";

export interface UserInfo {
self: string;
Expand Down
4 changes: 2 additions & 2 deletions types/api/version.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Callback } from "types";
import { Version as VersionModel } from 'types/models';
import { Callback } from "../callback";
import { Version as VersionModel } from "../models";

export class Version {
createVersion(
Expand Down
3 changes: 2 additions & 1 deletion types/models/temp.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { IssuesStatusForFixVersion, Operation } from "types";
import { IssuesStatusForFixVersion, Operation } from "./version";


export interface Sprint {
id: string;
Expand Down

0 comments on commit 63fb6f1

Please sign in to comment.