@common-stack/store-mongo
Advanced tools
Comparing version 0.2.29 to 0.2.30
@@ -216,17 +216,17 @@ /******/ (() => { // webpackBootstrap | ||
(function (IBaseServiceCommands) { | ||
IBaseServiceCommands["count"] = "count"; | ||
IBaseServiceCommands["get"] = "get"; | ||
IBaseServiceCommands["getAll"] = "getAll"; | ||
IBaseServiceCommands["getByIds"] = "getByIds"; | ||
IBaseServiceCommands["create"] = "create"; | ||
IBaseServiceCommands["insert"] = "insert"; | ||
IBaseServiceCommands["bulkCreate"] = "bulkCreate"; | ||
IBaseServiceCommands["update"] = "update"; | ||
IBaseServiceCommands["delete"] = "delete"; | ||
IBaseServiceCommands["getAllWithCount"] = "getAllWithCount"; | ||
IBaseServiceCommands["Count"] = "count"; | ||
IBaseServiceCommands["Get"] = "get"; | ||
IBaseServiceCommands["GetAll"] = "getAll"; | ||
IBaseServiceCommands["GetByIds"] = "getByIds"; | ||
IBaseServiceCommands["Create"] = "create"; | ||
IBaseServiceCommands["Insert"] = "insert"; | ||
IBaseServiceCommands["BulkCreate"] = "bulkCreate"; | ||
IBaseServiceCommands["Update"] = "update"; | ||
IBaseServiceCommands["Delete"] = "delete"; | ||
IBaseServiceCommands["GetAllWithCount"] = "getAllWithCount"; | ||
})(IBaseServiceCommands = exports.IBaseServiceCommands || (exports.IBaseServiceCommands = {})); | ||
var ICacheControlScope; | ||
(function (ICacheControlScope) { | ||
ICacheControlScope["PUBLIC"] = "PUBLIC"; | ||
ICacheControlScope["PRIVATE"] = "PRIVATE"; | ||
ICacheControlScope["Public"] = "PUBLIC"; | ||
ICacheControlScope["Private"] = "PRIVATE"; | ||
})(ICacheControlScope = exports.ICacheControlScope || (exports.ICacheControlScope = {})); | ||
@@ -236,8 +236,8 @@ /** All Moleculer Topic names are extended from this. */ | ||
(function (IMoleculerServiceName) { | ||
IMoleculerServiceName["dummy"] = "dummy"; | ||
IMoleculerServiceName["Dummy"] = "dummy"; | ||
})(IMoleculerServiceName = exports.IMoleculerServiceName || (exports.IMoleculerServiceName = {})); | ||
var ISortEnum; | ||
(function (ISortEnum) { | ||
ISortEnum["ASC"] = "ASC"; | ||
ISortEnum["DESC"] = "DESC"; | ||
ISortEnum["Asc"] = "ASC"; | ||
ISortEnum["Desc"] = "DESC"; | ||
})(ISortEnum = exports.ISortEnum || (exports.ISortEnum = {})); | ||
@@ -317,3 +317,3 @@ | ||
actions: { | ||
[interfaces_1.IBaseServiceCommands.get]: { | ||
[interfaces_1.IBaseServiceCommands.Get]: { | ||
params: { | ||
@@ -324,3 +324,3 @@ id: 'string', | ||
}, | ||
[interfaces_1.IBaseServiceCommands.count]: { | ||
[interfaces_1.IBaseServiceCommands.Count]: { | ||
params: { | ||
@@ -331,3 +331,3 @@ criteria: { type: 'object', optional: true }, | ||
}, | ||
[interfaces_1.IBaseServiceCommands.bulkCreate]: { | ||
[interfaces_1.IBaseServiceCommands.BulkCreate]: { | ||
params: { | ||
@@ -338,3 +338,3 @@ data: { type: 'array', items: 'object' }, | ||
}, | ||
[interfaces_1.IBaseServiceCommands.create]: { | ||
[interfaces_1.IBaseServiceCommands.Create]: { | ||
params: { | ||
@@ -345,3 +345,3 @@ data: 'object', | ||
}, | ||
[interfaces_1.IBaseServiceCommands.delete]: { | ||
[interfaces_1.IBaseServiceCommands.Delete]: { | ||
params: { | ||
@@ -352,3 +352,3 @@ id: 'string', | ||
}, | ||
[interfaces_1.IBaseServiceCommands.getAll]: { | ||
[interfaces_1.IBaseServiceCommands.GetAll]: { | ||
params: { | ||
@@ -363,3 +363,3 @@ criteria: 'object|optional', | ||
}, | ||
[interfaces_1.IBaseServiceCommands.getAllWithCount]: { | ||
[interfaces_1.IBaseServiceCommands.GetAllWithCount]: { | ||
params: { | ||
@@ -374,3 +374,3 @@ criteria: 'object|optional', | ||
}, | ||
[interfaces_1.IBaseServiceCommands.insert]: { | ||
[interfaces_1.IBaseServiceCommands.Insert]: { | ||
params: { | ||
@@ -382,3 +382,3 @@ data: 'object', | ||
}, | ||
[interfaces_1.IBaseServiceCommands.update]: { | ||
[interfaces_1.IBaseServiceCommands.Update]: { | ||
params: { | ||
@@ -440,30 +440,30 @@ id: 'string', | ||
bulkCreate(data) { | ||
return this.callAction(interfaces_1.IBaseServiceCommands.bulkCreate, { data }); | ||
return this.callAction(interfaces_1.IBaseServiceCommands.BulkCreate, { data }); | ||
} | ||
count(criteria) { | ||
return this.callAction(interfaces_1.IBaseServiceCommands.count, { criteria }); | ||
return this.callAction(interfaces_1.IBaseServiceCommands.Count, { criteria }); | ||
} | ||
create(data) { | ||
return this.callAction(interfaces_1.IBaseServiceCommands.create, { data }); | ||
return this.callAction(interfaces_1.IBaseServiceCommands.Create, { data }); | ||
} | ||
delete(id) { | ||
return this.callAction(interfaces_1.IBaseServiceCommands.delete, { id }); | ||
return this.callAction(interfaces_1.IBaseServiceCommands.Delete, { id }); | ||
} | ||
get(id) { | ||
return this.callAction(interfaces_1.IBaseServiceCommands.get, { id }); | ||
return this.callAction(interfaces_1.IBaseServiceCommands.Get, { id }); | ||
} | ||
getAll(options) { | ||
return this.callAction(interfaces_1.IBaseServiceCommands.getAll, options); | ||
return this.callAction(interfaces_1.IBaseServiceCommands.GetAll, options); | ||
} | ||
getByIds(ids) { | ||
return this.callAction(interfaces_1.IBaseServiceCommands.getByIds, { ids }); | ||
return this.callAction(interfaces_1.IBaseServiceCommands.GetByIds, { ids }); | ||
} | ||
getAllWithCount(options) { | ||
return this.callAction(interfaces_1.IBaseServiceCommands.getAllWithCount, options); | ||
return this.callAction(interfaces_1.IBaseServiceCommands.GetAllWithCount, options); | ||
} | ||
insert(data, overwrite) { | ||
return this.callAction(interfaces_1.IBaseServiceCommands.insert, { data, overwrite }); | ||
return this.callAction(interfaces_1.IBaseServiceCommands.Insert, { data, overwrite }); | ||
} | ||
update(id, data, overwrite) { | ||
return this.callAction(interfaces_1.IBaseServiceCommands.update, { id, data, overwrite }); | ||
return this.callAction(interfaces_1.IBaseServiceCommands.Update, { id, data, overwrite }); | ||
} | ||
@@ -470,0 +470,0 @@ async callAction(command, params) { |
@@ -35,16 +35,16 @@ export declare type Maybe<T> = T | null; | ||
export declare enum IBaseServiceCommands { | ||
count = "count", | ||
get = "get", | ||
getAll = "getAll", | ||
getByIds = "getByIds", | ||
create = "create", | ||
insert = "insert", | ||
bulkCreate = "bulkCreate", | ||
update = "update", | ||
delete = "delete", | ||
getAllWithCount = "getAllWithCount" | ||
Count = "count", | ||
Get = "get", | ||
GetAll = "getAll", | ||
GetByIds = "getByIds", | ||
Create = "create", | ||
Insert = "insert", | ||
BulkCreate = "bulkCreate", | ||
Update = "update", | ||
Delete = "delete", | ||
GetAllWithCount = "getAllWithCount" | ||
} | ||
export declare enum ICacheControlScope { | ||
PUBLIC = "PUBLIC", | ||
PRIVATE = "PRIVATE" | ||
Public = "PUBLIC", | ||
Private = "PRIVATE" | ||
} | ||
@@ -63,3 +63,3 @@ /** Represents a null return value. */ | ||
export declare enum IMoleculerServiceName { | ||
dummy = "dummy" | ||
Dummy = "dummy" | ||
} | ||
@@ -84,3 +84,3 @@ export declare type IMutation = { | ||
}; | ||
export declare type IQuerynodeArgs = { | ||
export declare type IQueryNodeArgs = { | ||
id: Scalars['ID']; | ||
@@ -93,4 +93,4 @@ }; | ||
export declare enum ISortEnum { | ||
ASC = "ASC", | ||
DESC = "DESC" | ||
Asc = "ASC", | ||
Desc = "DESC" | ||
} | ||
@@ -97,0 +97,0 @@ export declare type ISubscription = { |
{ | ||
"name": "@common-stack/store-mongo", | ||
"version": "0.2.29", | ||
"version": "0.2.30", | ||
"description": "Sample core for higher packages to depend on", | ||
@@ -22,3 +22,3 @@ "license": "ISC", | ||
"dependencies": { | ||
"@common-stack/core": "^0.2.29" | ||
"@common-stack/core": "0.2.30" | ||
}, | ||
@@ -35,3 +35,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "17094254db6df420ff63eee3e8157c86667c71d4" | ||
"gitHead": "dc66512a9c1ed3e49ae49db8acc6b32071fdaf22" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93134
+ Added@common-stack/core@0.2.30(transitive)
- Removed@common-stack/core@0.2.32(transitive)
Updated@common-stack/core@0.2.30