Skip to content

Commit 75dbf00

Browse files
committed
remove unused imports in linkry module
1 parent ea31d19 commit 75dbf00

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

src/api/routes/linkry.ts

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,26 @@ import {
77
DatabaseFetchError,
88
DatabaseInsertError,
99
NotFoundError,
10-
UnauthenticatedError,
1110
UnauthorizedError,
1211
ValidationError,
1312
} from "../../common/errors/index.js";
1413
import { NoDataRequest } from "../types.js";
1514
import {
16-
DynamoDBClient,
1715
QueryCommand,
18-
DeleteItemCommand,
19-
ScanCommand,
2016
TransactWriteItemsCommand,
21-
AttributeValue,
2217
TransactWriteItem,
23-
GetItemCommand,
2418
TransactionCanceledException,
2519
} from "@aws-sdk/client-dynamodb";
2620
import { CloudFrontKeyValueStoreClient } from "@aws-sdk/client-cloudfront-keyvaluestore";
27-
import {
28-
genericConfig,
29-
EVENT_CACHED_DURATION,
30-
LinkryGroupUUIDToGroupNameMap,
31-
} from "../../common/config.js";
21+
import { genericConfig } from "../../common/config.js";
3222
import { marshall, unmarshall } from "@aws-sdk/util-dynamodb";
3323
import rateLimiter from "api/plugins/rateLimiter.js";
3424
import {
3525
deleteKey,
3626
getLinkryKvArn,
3727
setKey,
3828
} from "api/functions/cloudfrontKvStore.js";
39-
import { zodToJsonSchema } from "zod-to-json-schema";
40-
import { createRequest, getRequest } from "common/types/linkry.js";
29+
import { createRequest } from "common/types/linkry.js";
4130
import {
4231
extractUniqueSlugs,
4332
fetchOwnerRecords,

0 commit comments

Comments
 (0)