@fxjs/orm
Advanced tools
Comparing version 1.6.4 to 1.6.5
@@ -307,4 +307,4 @@ /// <reference types="fibjs" /> | ||
export interface FibOrmFixedModelInstanceFn { | ||
(model: Model, opts: object): FibOrmFixedModelInstance | ||
new(model: Model, opts: object): FibOrmFixedModelInstance | ||
(model: Model, opts: object): Instance | ||
new(model: Model, opts: object): Instance | ||
} | ||
@@ -436,2 +436,4 @@ | ||
(...ids: any[]): Instance; | ||
new(): Instance; | ||
new(...ids: any[]): Instance; | ||
@@ -479,8 +481,2 @@ properties: { [property: string]: OrigDetailedModelProperty }; | ||
/* fix or patch :start */ | ||
(): Model; | ||
(...ids: any[]): Model; | ||
new(): FibOrmFixedModelInstance; | ||
new(...ids: any[]): FibOrmFixedModelInstance; | ||
allProperties: { [key: string]: OrigDetailedModelProperty } | ||
@@ -522,8 +518,8 @@ | ||
/* all fixed: start */ | ||
on(event: string, callback): FibOrmFixedModelInstance; | ||
on(event: string, callback): Instance; | ||
save(callback?: ORMMethod__CommonCallback): Instance; | ||
save(data: { [property: string]: any; }, callback?: ORMMethod__CommonCallback): FibOrmFixedModelInstance; | ||
save(data: { [property: string]: any; }, options: any, callback?: ORMMethod__CommonCallback): FibOrmFixedModelInstance; | ||
save(data: { [property: string]: any; }, callback?: ORMMethod__CommonCallback): Instance; | ||
save(data: { [property: string]: any; }, options: any, callback?: ORMMethod__CommonCallback): Instance; | ||
saved(): boolean; | ||
remove(callback?: ORMMethod__CommonCallback): FibOrmFixedModelInstance; | ||
remove(callback?: ORMMethod__CommonCallback): Instance; | ||
@@ -550,4 +546,4 @@ /** | ||
set: Function; | ||
markAsDirty: Function; | ||
dirtyProperties: object; | ||
markAsDirty: (propName?) => void; | ||
dirtyProperties: {[key: string]: any}; | ||
@@ -567,3 +563,4 @@ /** | ||
*/ | ||
model: Model; | ||
// model: Model; | ||
model(): Model; | ||
@@ -570,0 +567,0 @@ /* missing fix: end */ |
v1.6.4 / 2018-11-30 | ||
v1.6.5 / 2018-11-30 | ||
================== | ||
* typo fix. | ||
* add appyeor ci badget. | ||
* add appveyor ci config. | ||
v1.6.4 / 2018-11-30 | ||
=================== | ||
* Release v1.6.4 | ||
* typo clean. | ||
@@ -6,0 +14,0 @@ * add some test cases. |
{ | ||
"name": "@fxjs/orm", | ||
"version": "1.6.4", | ||
"version": "1.6.5", | ||
"description": "Object Relational Mapping for fibjs", | ||
@@ -29,3 +29,3 @@ "main": "lib", | ||
"ci": { | ||
"type": "travis", | ||
"type": "travis, appveyor", | ||
"version": [ | ||
@@ -32,0 +32,0 @@ "0.21.0", |
## Object Relational Mapping for fibjs | ||
[![NPM version](https://img.shields.io/npm/v/@fxjs/orm.svg)](https://www.npmjs.org/package/@fxjs/orm) | ||
[![Build Status](https://travis-ci.org/fxjs-modules/orm.svg)](https://travis-ci.org/fxjs-modules/orm) | ||
[![NPM version](https://img.shields.io/npm/v/@fxjs/orm.svg)](https://www.npmjs.org/package/@fxjs/orm) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/gjqno52nm2ff2a92?svg=true)](https://ci.appveyor.com/project/richardo2016/orm) | ||
@@ -6,0 +7,0 @@ ## Install |
262717
43
845
6514