Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit 1317b2b

Browse files
authored
chore: Standardize types folder -> utils (#80)
Resolves OGB-36
1 parent dd6b2bd commit 1317b2b

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

modules/auth/scripts/verify_email_passwordless.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
RuntimeError,
44
ScriptContext,
55
} from "../_gen/scripts/verify_email_passwordless.ts";
6-
import { TokenWithSecret } from "../../tokens/types/common.ts";
6+
import { TokenWithSecret } from "../../tokens/utils/types.ts";
77

88
export interface Request {
99
verificationId: string;

modules/friends/scripts/list_friends.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ScriptContext } from "../_gen/scripts/list_friends.ts";
2-
import { Friend, friendFromRow } from "../types/common.ts";
2+
import { Friend, friendFromRow } from "../utils/types.ts";
33

44
export interface Request {
55
userToken: string;

modules/friends/scripts/list_incoming_friend_requests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ScriptContext } from "../_gen/scripts/list_incoming_friend_requests.ts";
2-
import { FriendRequest, friendRequestFromRow } from "../types/common.ts";
2+
import { FriendRequest, friendRequestFromRow } from "../utils/types.ts";
33

44
export interface Request {
55
userToken: string;

modules/friends/scripts/list_outgoing_friend_requests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ScriptContext } from "../_gen/scripts/list_outgoing_friend_requests.ts";
2-
import { FriendRequest, friendRequestFromRow } from "../types/common.ts";
2+
import { FriendRequest, friendRequestFromRow } from "../utils/types.ts";
33

44
export interface Request {
55
userToken: string;

modules/friends/scripts/send_request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { RuntimeError, ScriptContext } from "../_gen/scripts/send_request.ts";
2-
import { FriendRequest, friendRequestFromRow } from "../types/common.ts";
2+
import { FriendRequest, friendRequestFromRow } from "../utils/types.ts";
33

44
export interface Request {
55
userToken: string;
File renamed without changes.

modules/tokens/scripts/create.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ScriptContext } from "../_gen/scripts/create.ts";
2-
import { TokenWithSecret } from "../types/common.ts";
3-
import { tokenFromRow } from "../types/common.ts";
2+
import { TokenWithSecret } from "../utils/types.ts";
3+
import { tokenFromRow } from "../utils/types.ts";
44

55
export interface Request {
66
type: string;

modules/tokens/scripts/get.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ScriptContext } from "../_gen/scripts/get.ts";
2-
import { Token } from "../types/common.ts";
3-
import { tokenFromRow } from "../types/common.ts";
2+
import { Token } from "../utils/types.ts";
3+
import { tokenFromRow } from "../utils/types.ts";
44

55
export interface Request {
66
tokenIds: string[];

modules/tokens/scripts/get_by_token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ScriptContext } from "../_gen/scripts/get_by_token.ts";
2-
import { Token, tokenFromRow } from "../types/common.ts";
2+
import { Token, tokenFromRow } from "../utils/types.ts";
33

44
export interface Request {
55
tokens: string[];

modules/tokens/scripts/validate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { RuntimeError, ScriptContext } from "../_gen/scripts/validate.ts";
2-
import { Token } from "../types/common.ts";
2+
import { Token } from "../utils/types.ts";
33

44
export interface Request {
55
token: string;

0 commit comments

Comments
 (0)