Skip to content

Commit c3c3b08

Browse files
chore: wip
1 parent 40ffd16 commit c3c3b08

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

eslint.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const config: ESLintConfig = stacks({
1212
yaml: true,
1313
ignores: [
1414
'fixtures/**',
15+
'**/*.md',
1516
],
1617
})
1718

src/migrations.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ export function generateDiffSql(previous: MigrationPlan | undefined, next: Migra
279279
const t = nextTables[tableName]
280280
chunks.push(`CREATE TABLE ${q(t.table)} (\n ${t.columns.map((c) => {
281281
// Reuse column rendering from generateSql
282-
const plan: MigrationPlan = { dialect: next.dialect, tables: [] }
283282
const tmp: ColumnPlan = c
284283
const typeSql = (() => {
285284
switch (tmp.type) {

test/client.hooks-softdeletes-relations-cursor.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const User = defineModel({
1111
name: { validation: { rule: { validate: (v: string) => typeof v === 'string' } as any } },
1212
email: { validation: { rule: { validate: (v: string) => typeof v === 'string' } as any } },
1313
created_at: { validation: { rule: { validate: (v: string) => typeof v === 'string' } as any } },
14-
deleted_at: { validation: { rule: { validate: (v: string | null) => true } as any } },
14+
deleted_at: { validation: { rule: { validate: (_v: string | null) => true } as any } },
1515
role: { validation: { rule: { validate: (v: string) => typeof v === 'string' } as any } },
1616
},
1717
hasMany: { posts: 'Post' },

test/client.like-json-helpers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const User = defineModel({
99
attributes: {
1010
id: { validation: { rule: { validate: (v: number) => typeof v === 'number' } as any } },
1111
name: { validation: { rule: { validate: (v: string) => typeof v === 'string' } as any } },
12-
prefs: { validation: { rule: { validate: (v: unknown) => true } as any } },
12+
prefs: { validation: { rule: { validate: (_v: unknown) => true } as any } },
1313
},
1414
} as const)
1515

0 commit comments

Comments
 (0)