@smallstack/common
Advanced tools
Comparing version 0.7.28 to 0.7.29
import { DataBridge } from "../../../index"; | ||
import { SmallstackModel, Type } from "../../../index"; | ||
import { PersistentSmallstackModel, Type } from "../../../index"; | ||
import { Configuration } from "../../models/Configuration"; | ||
@@ -10,3 +10,3 @@ export interface IConfiguration { | ||
} | ||
export declare class GeneratedConfiguration implements IConfiguration, SmallstackModel { | ||
export declare class GeneratedConfiguration implements IConfiguration, PersistentSmallstackModel { | ||
protected dataBridge: DataBridge; | ||
@@ -13,0 +13,0 @@ _id: string; |
@@ -10,2 +10,7 @@ export interface SmallstackModel { | ||
} | ||
export interface PersistentSmallstackModel extends SmallstackModel { | ||
delete(): Promise<number>; | ||
update(): Promise<number>; | ||
save(): Promise<string>; | ||
} | ||
export interface SmallstackModelStatic { | ||
@@ -12,0 +17,0 @@ new (): SmallstackModel; |
import { DataBridge } from "../../../../index"; | ||
import { SmallstackModel, Type } from "../../../../index"; | ||
import { PersistentSmallstackModel, Type } from "../../../../index"; | ||
import { NavigationEntry } from "../../models/NavigationEntry"; | ||
@@ -25,3 +25,3 @@ import { QueryOptions } from "../../../../index"; | ||
} | ||
export declare class GeneratedNavigationEntry implements INavigationEntry, SmallstackModel { | ||
export declare class GeneratedNavigationEntry implements INavigationEntry, PersistentSmallstackModel { | ||
protected dataBridge: DataBridge; | ||
@@ -28,0 +28,0 @@ _id: string; |
import { DataBridge } from "../../../../index"; | ||
import { SmallstackModel, Type } from "../../../../index"; | ||
import { PersistentSmallstackModel, Type } from "../../../../index"; | ||
import { NavigationTree } from "../../models/NavigationTree"; | ||
@@ -12,3 +12,3 @@ export interface INavigationTree { | ||
} | ||
export declare class GeneratedNavigationTree implements INavigationTree, SmallstackModel { | ||
export declare class GeneratedNavigationTree implements INavigationTree, PersistentSmallstackModel { | ||
protected dataBridge: DataBridge; | ||
@@ -15,0 +15,0 @@ _id: string; |
{ | ||
"name": "@smallstack/common", | ||
"version": "0.7.28", | ||
"version": "0.7.29", | ||
"description": "common functionality for smallstack projects", | ||
@@ -5,0 +5,0 @@ "main": "dist/bundle/smallstack_common.umd.js", |
388131
2090