@universe/models
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -86,6 +86,6 @@ import { Database } from 'better-sqlite3'; | ||
Score: { | ||
getById: (personId: string, name: string, value: number) => Models.IScore | null; | ||
getById: (personId: string, name: string) => Models.IScore | null; | ||
insert: (data: Models.IPartialScore | Models.IPartialSQLScore) => Models.CreateDiff<Models.ModelType.SCORE>; | ||
upsert: (data: Models.IPartialScore | Models.IPartialSQLScore) => Models.CreateDiff<Models.ModelType.SCORE> | Models.UpdateDiff<Models.ModelType.SCORE> | null; | ||
delete: (personId: string, name: string, value: number) => Models.DeleteDiff<Models.ModelType.SCORE> | null; | ||
delete: (personId: string, name: string) => Models.DeleteDiff<Models.ModelType.SCORE> | null; | ||
apply(diff: Models.Diff<Models.ModelType.SCORE>): Models.Diff<Models.ModelType.SCORE> | null; | ||
@@ -92,0 +92,0 @@ rollback(diff: Models.Diff<Models.ModelType.SCORE>): Models.Diff<Models.ModelType.SCORE> | null; |
{ | ||
"name": "@universe/models", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"main": "dist/src/index.js", | ||
@@ -21,3 +21,3 @@ "description": "Universe data models.", | ||
"generate": "gql-gen", | ||
"pretest": "yarn run build", | ||
"pretest": "rm ./test.db && yarn run build", | ||
"test": "mocha dist/test", | ||
@@ -24,0 +24,0 @@ "watch": "watch 'yarn run test' './src' './test' './plugins' --wait=3", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
15020
1883074