@limetech/lime-web-components-commands
Advanced tools
Comparing version 4.23.3-alpha.0 to 4.23.3-alpha.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [4.23.3-alpha.1](https://github.com/Lundalogik/lime-web-components/compare/v4.23.3-alpha.0...v4.23.3-alpha.1) (2021-09-28) | ||
**Note:** Version bump only for package @limetech/lime-web-components-commands | ||
## [4.23.3-alpha.0](https://github.com/Lundalogik/lime-web-components/compare/v4.23.2...v4.23.3-alpha.0) (2021-09-27) | ||
@@ -8,0 +16,0 @@ |
@@ -15,1 +15,3 @@ "use strict"; | ||
__exportStar(require("./limetype"), exports); | ||
__exportStar(require("./limeobject"), exports); | ||
__exportStar(require("./query"), exports); |
@@ -1,23 +0,9 @@ | ||
import { Limetype, Property } from './limetype.interface'; | ||
import { LimeObject as Base } from '../../lime-web-components/src'; | ||
import { Property } from './limetype.interface'; | ||
/** | ||
* Interface for the Lime object | ||
* @deprecated has been renamed to better align with the Python class from | ||
* `lime-core`. Use `LimeObject` from `@limetech/lime-web-components` instead. | ||
*/ | ||
export interface LimeObject { | ||
export interface LimeObject extends Base { | ||
/** | ||
* Id of the limeobject | ||
*/ | ||
id: number; | ||
/** | ||
* The created time of the limeobject | ||
*/ | ||
createdtime: string; | ||
/** | ||
* The last time the limeobject updated | ||
*/ | ||
timestamp: string; | ||
/** | ||
* Descriptive of the limeobject | ||
*/ | ||
descriptive: string; | ||
/** | ||
* Get related data of the object | ||
@@ -29,23 +15,2 @@ * | ||
getRelation(property: Property): LimeObject; | ||
/** | ||
* Get the value of a property by name | ||
* | ||
* @param {string} name name of property to get the value of. Allows a path | ||
* to be specified using dot notation to get the value of a related | ||
* property | ||
* | ||
* @returns {any} the value of the specified property. If it is a relation, | ||
* the related `LimeObject` will be returned | ||
*/ | ||
getValue?(name: string): any; | ||
/** | ||
* Get the limetype of the object | ||
* | ||
* @returns {Limetype} the limetype | ||
*/ | ||
getLimetype(): Limetype; | ||
/** | ||
* Dynamic properties of the limeobject | ||
*/ | ||
[property: string]: any; | ||
} |
@@ -1,22 +0,20 @@ | ||
export interface Query { | ||
limetype: string; | ||
limit?: number; | ||
offset?: number; | ||
orderBy?: object[]; | ||
filter?: Expression; | ||
responseFormat: { | ||
object?: object; | ||
aggregates?: object; | ||
}; | ||
import { Query as BaseQuery, QueryResponse as BaseQueryResponse, Expression as BaseExpression, Filter as BaseFilter } from '../../lime-web-components/src'; | ||
/** | ||
* @deprecated moved to `@limetech/lime-web-components` | ||
*/ | ||
export interface Query extends BaseQuery { | ||
} | ||
export interface QueryResponse { | ||
objects: any[]; | ||
aggregates: any; | ||
/** | ||
* @deprecated moved to `@limetech/lime-web-components` | ||
*/ | ||
export interface QueryResponse extends BaseQueryResponse { | ||
} | ||
export interface Expression { | ||
key?: string; | ||
op: Operator; | ||
exp: any; | ||
type?: 'filter'; | ||
/** | ||
* @deprecated moved to `@limetech/lime-web-components` | ||
*/ | ||
export interface Expression extends BaseExpression { | ||
} | ||
/** | ||
* @deprecated moved to `@limetech/lime-web-components` | ||
*/ | ||
export declare enum Operator { | ||
@@ -35,9 +33,6 @@ AND = "AND", | ||
} | ||
export interface Filter { | ||
id: string; | ||
limetype: string; | ||
name: { | ||
[language: string]: string; | ||
}; | ||
filter: Expression; | ||
/** | ||
* @deprecated moved to `@limetech/lime-web-components` | ||
*/ | ||
export interface Filter extends BaseFilter { | ||
} |
@@ -1,2 +0,4 @@ | ||
// eslint-disable-next-line no-shadow | ||
/** | ||
* @deprecated moved to `@limetech/lime-web-components` | ||
*/ | ||
export var Operator; | ||
@@ -3,0 +5,0 @@ (function (Operator) { |
export * from './core'; | ||
export * from './limetype'; | ||
export * from './limeobject'; | ||
export * from './query'; |
export * from './core'; | ||
export * from './limetype'; | ||
export * from './limeobject'; | ||
export * from './query'; |
{ | ||
"name": "@limetech/lime-web-components-commands", | ||
"version": "4.23.3-alpha.0", | ||
"version": "4.23.3-alpha.1", | ||
"author": "Lime Technologies", | ||
@@ -34,5 +34,5 @@ "homepage": "https://github.com/Lundalogik/lime-web-components", | ||
"dependencies": { | ||
"@limetech/lime-web-components-interfaces": "^4.23.3-alpha.0" | ||
"@limetech/lime-web-components-interfaces": "^4.23.3-alpha.1" | ||
}, | ||
"gitHead": "5e32edf054e24ad0b4e0fb30c8e9cfcf61f43b50" | ||
"gitHead": "551b85eb981dbd66e306688e5302446d62e1759a" | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
94172
139
2284
0