Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge branch 'Vincit:main' into feat/Vincit#2615
Browse files Browse the repository at this point in the history
  • Loading branch information
cesumilo authored Mar 1, 2024
2 parents 3b826e3 + 43d0b9c commit 250b32d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions typings/objection/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1473,6 +1473,9 @@ declare namespace Objection {
fromJson(json: object, opt?: ModelOptions): M;
fromDatabaseJson(json: object): M;

columnNameToPropertyName(columnName: string): string;
propertyNameToColumnName(propertyName: string): string;

createValidator(): Validator;
createValidationError(args: CreateValidationErrorArgs): Error;
createNotFoundError(queryContext: QueryContext, args: CreateNotFoundErrorArgs): Error;
Expand Down Expand Up @@ -1583,6 +1586,9 @@ declare namespace Objection {
static fromJson<M extends Model>(this: Constructor<M>, json: object, opt?: ModelOptions): M;
static fromDatabaseJson<M extends Model>(this: Constructor<M>, json: object): M;

static columnNameToPropertyName(columnName: string): string;
static propertyNameToColumnName(propertyName: string): string;

static createValidator(): Validator;
static createValidationError(args: CreateValidationErrorArgs): Error;
static createNotFoundError(queryContext: QueryContext, args: CreateNotFoundErrorArgs): Error;
Expand Down

0 comments on commit 250b32d

Please sign in to comment.