Skip to content

Commit 36196fa

Browse files
committed
updated ts import flavour
1 parent 38e4778 commit 36196fa

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

src/ControllerMethodArgs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { debug } from "./utils/logger.ts";
2-
import { type Context, type RouteContext } from "@oak/oak";
2+
import type { Context, RouteContext } from "@oak/oak";
33
import { ERR_UNSUPPORTED_CLASS_METHOD_DECORATOR_RUNTIME_BEHAVIOR } from "./Constants.ts";
44

55
/**

src/Delete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { debug } from "./utils/logger.ts";
22
import { register } from "./Store.ts";
33
import { getUserSuppliedDecoratedMethodName } from "./utils/getUserSuppliedDecoratedMethodName.ts";
4-
import { type OakOpenApiSpec } from "./utils/schema_utils.ts";
4+
import type { OakOpenApiSpec } from "./utils/schema_utils.ts";
55
import { updateOas } from "./oasStore.ts";
66

77
type MethodDecorator = (

src/Get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { debug } from "./utils/logger.ts";
22
import { register } from "./Store.ts";
33
import { getUserSuppliedDecoratedMethodName } from "./utils/getUserSuppliedDecoratedMethodName.ts";
4-
import { type OakOpenApiSpec } from "./utils/schema_utils.ts";
4+
import type { OakOpenApiSpec } from "./utils/schema_utils.ts";
55
import { updateOas } from "./oasStore.ts";
66

77
type MethodDecorator = (

src/Head.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { debug } from "./utils/logger.ts";
22
import { register } from "./Store.ts";
33
import { getUserSuppliedDecoratedMethodName } from "./utils/getUserSuppliedDecoratedMethodName.ts";
4-
import { type OakOpenApiSpec } from "./utils/schema_utils.ts";
4+
import type { OakOpenApiSpec } from "./utils/schema_utils.ts";
55
import { updateOas } from "./oasStore.ts";
66

77
type MethodDecorator = (

src/Options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { debug } from "./utils/logger.ts";
22
import { register } from "./Store.ts";
33
import { getUserSuppliedDecoratedMethodName } from "./utils/getUserSuppliedDecoratedMethodName.ts";
4-
import { type OakOpenApiSpec } from "./utils/schema_utils.ts";
4+
import type { OakOpenApiSpec } from "./utils/schema_utils.ts";
55
import { updateOas } from "./oasStore.ts";
66

77
type MethodDecorator = (

src/Patch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { debug } from "./utils/logger.ts";
22
import { register } from "./Store.ts";
33
import { getUserSuppliedDecoratedMethodName } from "./utils/getUserSuppliedDecoratedMethodName.ts";
4-
import { type OakOpenApiSpec } from "./utils/schema_utils.ts";
4+
import type { OakOpenApiSpec } from "./utils/schema_utils.ts";
55
import { updateOas } from "./oasStore.ts";
66

77
type MethodDecorator = (

src/Post.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { debug } from "./utils/logger.ts";
22
import { register } from "./Store.ts";
33
import { getUserSuppliedDecoratedMethodName } from "./utils/getUserSuppliedDecoratedMethodName.ts";
4-
import { type OakOpenApiSpec } from "./utils/schema_utils.ts";
4+
import type { OakOpenApiSpec } from "./utils/schema_utils.ts";
55
import { updateOas } from "./oasStore.ts";
66

77
type MethodDecorator = (

src/Put.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { debug } from "./utils/logger.ts";
22
import { register } from "./Store.ts";
33
import { getUserSuppliedDecoratedMethodName } from "./utils/getUserSuppliedDecoratedMethodName.ts";
4-
import { type OakOpenApiSpec } from "./utils/schema_utils.ts";
4+
import type { OakOpenApiSpec } from "./utils/schema_utils.ts";
55
import { updateOas } from "./oasStore.ts";
66

77
type MethodDecorator = (

src/oasStore.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { type RouteConfig } from "@asteasolutions/zod-to-openapi";
2-
import { type OakOpenApiSpec } from "./utils/schema_utils.ts";
3-
import { SupportedVerb } from "./Store.ts";
1+
import type { RouteConfig } from "@asteasolutions/zod-to-openapi";
2+
import type { OakOpenApiSpec } from "./utils/schema_utils.ts";
3+
import type { SupportedVerb } from "./Store.ts";
44
import { debug } from "./utils/logger.ts";
55

66
// fnName|method|path => OasRouteConfig

src/useOas.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { Application } from "@oak/oak";
1+
import type { Application } from "@oak/oak";
22
import { oasStore } from "./oasStore.ts";
33
import {
44
OpenApiGeneratorV3,
55
OpenAPIRegistry,
66
type RouteConfig,
77
} from "@asteasolutions/zod-to-openapi";
8-
import { type OpenAPIObjectConfig } from "@asteasolutions/zod-to-openapi/dist/v3.0/openapi-generator";
8+
import type { OpenAPIObjectConfig } from "@asteasolutions/zod-to-openapi/dist/v3.0/openapi-generator";
99
import { debug } from "./utils/logger.ts";
1010
import { inspect } from "./utils/inspect.ts";
1111

0 commit comments

Comments
 (0)