Skip to content

Commit f79b2d9

Browse files
committed
Drop unused files, pass linter
1 parent b1c8c53 commit f79b2d9

File tree

5 files changed

+2
-122
lines changed

5 files changed

+2
-122
lines changed

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { createSharedSchemaFiles } from "./sharedSchema.js"
1010
import { CodeFacts, FieldFacts } from "./typeFacts.js"
1111
import { RedwoodPaths } from "./types.js"
1212

13-
export * from "./main.js"
1413
export * from "./types.js"
1514

1615
import { basename, join } from "node:path"

src/main.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/prismaModeller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const prismaModeller = (schema: PrismaSchemaBlocks) => {
3939
leadingFieldComments.push(p.text.replace("/// ", "").replace("// ", ""))
4040
} else if (p.type === "break") {
4141
leadingFieldComments.push("")
42-
} else if (p.type === "attribute" || p.type === "field") {
42+
} else {
4343
properties.set(p.name, {
4444
leadingComments: leadingFieldComments.join("\n"),
4545
property: p,

src/run.ts

Lines changed: 0 additions & 116 deletions
This file was deleted.

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ export interface RedwoodPaths {
4141
// }
4242
}
4343
scripts: string
44-
web: any
44+
web: object
4545
}

0 commit comments

Comments
 (0)