akeyless-types-commons 1.0.34 → 1.0.36

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.
@@ -162,7 +162,7 @@ export interface Car {
162
162
  internal_comments?: string;
163
163
  comments?: string;
164
164
  link_token?: string;
165
- maker_icon_url?: string;
165
+ maker_icon?: string;
166
166
  }
167
167
  export interface LastLocationCar {
168
168
  car_number: string;
@@ -1 +1,2 @@
1
1
  export * from "./global";
2
+ export * from "./socket";
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./global"), exports);
18
+ __exportStar(require("./socket"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB"}
@@ -0,0 +1,20 @@
1
+ export declare const COLLECTION_KEY_MAP: Record<string, string>;
2
+ export type RedisUpdateType = "update" | "add" | "delete";
3
+ export interface RedisUpdatePayload<UpdateType extends RedisUpdateType, DataType = any> {
4
+ key: string;
5
+ collection_name: string;
6
+ update_type: UpdateType;
7
+ data: DataType;
8
+ firebase?: {
9
+ merge?: boolean;
10
+ };
11
+ update_time: number;
12
+ }
13
+ export interface SocketCallbackResponse {
14
+ success: boolean;
15
+ found: boolean;
16
+ message?: string;
17
+ key?: string;
18
+ data?: any;
19
+ saved_in?: "redis" | "firebase";
20
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.COLLECTION_KEY_MAP = void 0;
4
+ exports.COLLECTION_KEY_MAP = {
5
+ boards: "imei",
6
+ };
7
+ //# sourceMappingURL=socket.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"socket.js","sourceRoot":"","sources":["../../src/types/socket.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAA2B;IACtD,MAAM,EAAE,MAAM;CACjB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akeyless-types-commons",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "scripts": {