@twin.org/logging-rest-client 0.0.1-next.10 → 0.0.1-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.cjs
CHANGED
|
@@ -46,7 +46,6 @@ class LoggingClient extends apiCore.BaseRestClient {
|
|
|
46
46
|
* @param pageSize The maximum number of entities in a page.
|
|
47
47
|
* @returns All the entities for the storage matching the conditions,
|
|
48
48
|
* and a cursor which can be used to request more entities.
|
|
49
|
-
* @throws NotImplementedError if the implementation does not support retrieval.
|
|
50
49
|
*/
|
|
51
50
|
async query(level, source, timeStart, timeEnd, cursor, pageSize) {
|
|
52
51
|
const response = await this.fetch("/", "GET", {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -44,7 +44,6 @@ class LoggingClient extends BaseRestClient {
|
|
|
44
44
|
* @param pageSize The maximum number of entities in a page.
|
|
45
45
|
* @returns All the entities for the storage matching the conditions,
|
|
46
46
|
* and a cursor which can be used to request more entities.
|
|
47
|
-
* @throws NotImplementedError if the implementation does not support retrieval.
|
|
48
47
|
*/
|
|
49
48
|
async query(level, source, timeStart, timeEnd, cursor, pageSize) {
|
|
50
49
|
const response = await this.fetch("/", "GET", {
|
|
@@ -30,7 +30,6 @@ export declare class LoggingClient extends BaseRestClient implements ILoggingCom
|
|
|
30
30
|
* @param pageSize The maximum number of entities in a page.
|
|
31
31
|
* @returns All the entities for the storage matching the conditions,
|
|
32
32
|
* and a cursor which can be used to request more entities.
|
|
33
|
-
* @throws NotImplementedError if the implementation does not support retrieval.
|
|
34
33
|
*/
|
|
35
34
|
query(level?: LogLevel, source?: string, timeStart?: number, timeEnd?: number, cursor?: string, pageSize?: number): Promise<{
|
|
36
35
|
/**
|
package/docs/changelog.md
CHANGED
|
@@ -125,10 +125,6 @@ The maximum number of entities in a page.
|
|
|
125
125
|
All the entities for the storage matching the conditions,
|
|
126
126
|
and a cursor which can be used to request more entities.
|
|
127
127
|
|
|
128
|
-
#### Throws
|
|
129
|
-
|
|
130
|
-
NotImplementedError if the implementation does not support retrieval.
|
|
131
|
-
|
|
132
128
|
#### Implementation of
|
|
133
129
|
|
|
134
130
|
`ILoggingComponent.query`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/logging-rest-client",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.11",
|
|
4
4
|
"description": "Logging contract implementation which can connect to REST endpoints",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@twin.org/api-models": "next",
|
|
19
19
|
"@twin.org/core": "next",
|
|
20
20
|
"@twin.org/entity": "next",
|
|
21
|
-
"@twin.org/logging-models": "0.0.1-next.
|
|
21
|
+
"@twin.org/logging-models": "0.0.1-next.11",
|
|
22
22
|
"@twin.org/nameof": "next"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/cjs/index.cjs",
|