Skip to content

Commit

Permalink
ci: Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Jan 9, 2024
1 parent 12d82bd commit 40c3145
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/pages/api/internal/api_keys/create.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { z } from "zod"

import { withRouteSpec } from "lib/middleware/with-route-spec.ts"
import { api_key } from "lib/zod/api_key.ts"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { withRouteSpec } from "lib/middleware/with-route-spec.ts"
import { z } from "zod"

import { withRouteSpec } from "lib/middleware/with-route-spec.ts"

export default withRouteSpec({
auth: "cst_ak_pk", // TODO: admin
methods: ["POST", "PUT"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { z } from "zod"

import { withRouteSpec } from "lib/middleware/with-route-spec.ts"
import { endpoint_schema } from "lib/zod/endpoints.ts"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { withRouteSpec } from "lib/middleware/with-route-spec.ts"
import { z } from "zod"

import { withRouteSpec } from "lib/middleware/with-route-spec.ts"

export default withRouteSpec({
auth: "cst_ak_pk", // TODO: client_session
methods: ["POST"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { z } from "zod"

import { withRouteSpec } from "lib/middleware/with-route-spec.ts"
import {
invitation_schema,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { z } from "zod"

import { withRouteSpec } from "lib/middleware/with-route-spec.ts"
import { endpoint_schema } from "lib/zod/endpoints.ts"

Expand Down
1 change: 1 addition & 0 deletions src/pages/api/internal/workspaces/create.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { z } from "zod"

import { withRouteSpec } from "lib/middleware/with-route-spec.ts"
import { workspace } from "lib/zod/workspace.ts"

Expand Down
3 changes: 2 additions & 1 deletion src/pages/api/user_identities/add_acs_user.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { withRouteSpec } from "lib/middleware/with-route-spec.ts"
import { z } from "zod"

import { withRouteSpec } from "lib/middleware/with-route-spec.ts"

export const route_spec = {
methods: ["POST", "PUT"],
auth: "cst_ak_pk",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/user_identities/create.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BadRequestException } from "nextlove"
import { z } from "zod"

import { withRouteSpec } from "lib/middleware/with-route-spec.ts"

export const user_identity = z.object({
Expand Down

0 comments on commit 40c3145

Please sign in to comment.