@stashfin/mysql2 1.4.175 → 1.4.177

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.
@@ -275,6 +275,27 @@ export interface CommentsTable {
275
275
  comment: string;
276
276
  created_at?: Date;
277
277
  }
278
+ interface Rule {
279
+ key: string;
280
+ operator: string;
281
+ value: string;
282
+ }
283
+ interface BannersTable {
284
+ id: number;
285
+ sequence: string;
286
+ title: string;
287
+ url: string;
288
+ type: 'banner' | 'widget';
289
+ screen: string;
290
+ rules?: Rule[];
291
+ segment_id: number;
292
+ action_type: 'web' | 'app';
293
+ action_url: string;
294
+ created_at: string;
295
+ updated_at: string;
296
+ }
297
+ export interface BannersModel extends BannersTable, RowDataPacket {
298
+ }
278
299
  export interface CommentsModel extends CommentsTable, RowDataPacket {
279
300
  }
280
301
  export interface CustomerAppModel extends CustomerAppTable, RowDataPacket {
@@ -307,3 +328,4 @@ export interface AaDetailsModel extends AaDetailsTable, RowDataPacket {
307
328
  }
308
329
  export interface ThirdPartyLogModel extends ThirdPartyLogTable, RowDataPacket {
309
330
  }
331
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.175",
3
+ "version": "1.4.177",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",