@lustre/sdk 3.0.0-dev.7 → 3.0.0-dev.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lustre/sdk",
3
- "version": "3.0.0-dev.7",
3
+ "version": "3.0.0-dev.8",
4
4
  "repository": "github:parli/typescript-sdk",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -34,14 +34,14 @@ export interface ListResponse<T> {
34
34
  results: T[];
35
35
  }
36
36
  export type SortedListResponse<T> = ListResponse<T>;
37
- export type UpdatableResponse<Data, Update = null, Error = null> = UpdatableResponseStream<Data, Update, Error> | UpdatableResponseComplete<Data, Update, Error>;
37
+ export type UpdatableResponse<Data, Update = null, Error = null> = UpdatableResponseInsert<Data, Update, Error> | UpdatableResponseComplete<Data, Update, Error>;
38
38
  interface UpdatableResponseBase<Data, Update, Error> {
39
- kind: "stream" | "complete";
39
+ kind: "insert" | "complete";
40
40
  statusLog: StatusUpdate<Update, Error>[];
41
41
  data: Data | null;
42
42
  }
43
- interface UpdatableResponseStream<Data, Update, Error> extends UpdatableResponseBase<Data, Update, Error> {
44
- kind: "stream";
43
+ interface UpdatableResponseInsert<Data, Update, Error> extends UpdatableResponseBase<Data, Update, Error> {
44
+ kind: "insert";
45
45
  statusLog: StatusUpdate<Update, Error>[];
46
46
  data: null;
47
47
  }