Skip to content

Commit 0d2be67

Browse files
committed
📚 Rename (#1995)
1 parent c46c68b commit 0d2be67

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

src/lib/clients/aizu_online_judge.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
import { ContestSiteApiClient } from '$lib/clients/common';
2-
import { AOJ_API_BASE_URL } from '$lib/constants/urls';
1+
import { ContestSiteApiClient } from '$lib/clients/http_client';
32
import { Cache, type ApiClientConfig } from '$lib/clients/cache';
43

54
import type { ContestForImport, ContestsForImport } from '$lib/types/contest';
65
import type { TasksForImport } from '$lib/types/task';
76

7+
import { AOJ_API_BASE_URL } from '$lib/constants/urls';
8+
89
/**
910
* Represents the response structure from AOJ Course API
1011
* @typedef {Object} AOJCourseAPI

src/lib/clients/atcoder_problems.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
import { ContestSiteApiClient } from '$lib/clients/common';
2-
import { ATCODER_PROBLEMS_API_BASE_URL } from '$lib/constants/urls';
1+
import { ContestSiteApiClient } from '$lib/clients/http_client';
2+
33
import type { ContestsForImport } from '$lib/types/contest';
44
import type { TasksForImport } from '$lib/types/task';
55

6+
import { ATCODER_PROBLEMS_API_BASE_URL } from '$lib/constants/urls';
7+
68
/**
79
* The `AtCoderProblemsApiClient` class provides methods to interact with the AtCoder Problems API.
810
* It extends the `ContestSiteApiClient` class and includes methods to fetch contests and tasks.

src/test/lib/clients/aizu_online_judge.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import { describe, test, expect } from 'vitest';
22

33
import { loadMockData } from '../common/test_helpers';
44

5-
import { ContestSiteApiClient } from '$lib/clients/common';
5+
import { ContestSiteApiClient } from '$lib/clients/http_client';
66
import { AojApiClient } from '$lib/clients/aizu_online_judge';
7+
78
import type { ContestsForImport } from '$lib/types/contest';
89
import type { TasksForImport } from '$lib/types/task';
910

src/test/lib/clients/atcoder_problems.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import { describe, test, expect } from 'vitest';
22

33
import { loadMockData } from '../common/test_helpers';
44

5-
import { ContestSiteApiClient } from '$lib/clients/common';
5+
import { ContestSiteApiClient } from '$lib/clients/http_client';
66
import { AtCoderProblemsApiClient } from '$lib/clients/atcoder_problems';
7+
78
import type { ContestsForImport } from '$lib/types/contest';
89
import type { TasksForImport } from '$lib/types/task';
910

src/test/lib/clients/record_requests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import path from 'path';
55
import nock from 'nock';
66
import fs from 'fs';
77

8-
import type { ContestSiteApiClient } from '$lib/clients/common';
8+
import type { ContestSiteApiClient } from '$lib/clients/http_client';
99
import { AtCoderProblemsApiClient } from '$lib/clients/atcoder_problems';
1010
import { AojApiClient } from '$lib/clients/aizu_online_judge';
1111

0 commit comments

Comments
 (0)