Skip to content

Commit

Permalink
Merge branch 'master' of github.com:hubbleprotocol/hubble-common into…
Browse files Browse the repository at this point in the history
… vali/autodrift-support
  • Loading branch information
alittlezz committed Oct 27, 2023
2 parents 5442a4a + 3226734 commit 505f481
Show file tree
Hide file tree
Showing 21 changed files with 579 additions and 159 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
"version": "2.2.33",
"version": "2.2.41",
"command": {
"publish": {
"ignoreChanges": [
Expand Down
2 changes: 1 addition & 1 deletion packages/hubble-db/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hubble-db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Hubble Protocol database models",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"version": "2.1.10",
"version": "2.2.37",
"scripts": {
"build": "tsc",
"build:watch": "tsc -w"
Expand Down
5 changes: 5 additions & 0 deletions packages/hubble-db/src/models/PriceTypeEntity.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface PriceTypeEntity {
id: number;
name: string;
}
export default PriceTypeEntity;
2 changes: 2 additions & 0 deletions packages/hubble-db/src/models/TokenEntity.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export interface TokenEntity {
id: number;
name: string;
mint: string | null;
price_type_id: number | null;
}

export default TokenEntity;
2 changes: 2 additions & 0 deletions packages/hubble-db/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export * from './KlendReserveStateEntity';
export * from './KaminoInstructionEntity';
export * from './InstructionEntity';
export * from './UserMetricsEntity';
export * from './PriceTypeEntity';

export const CLUSTER_TABLE: string = 'cluster';
export const COLLATERAL_TABLE: string = 'collateral';
Expand Down Expand Up @@ -86,4 +87,5 @@ export const KLEND_OBLIGATION_STATE_TABLE = 'klend_obligation_state';
export const KAMINO_INSTRUCTION_TABLE = 'kamino_instruction';
export const INSTRUCTION_TABLE = 'instruction';
export const USER_METRICS_TABLE = 'user_metrics';
export const PRICE_TYPE_TABLE = 'price_type';
export const API_SCHEMA: string = 'api';
2 changes: 1 addition & 1 deletion packages/hubble-idl/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hubble-idl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@hubbleprotocol/hubble-idl",
"description": "Hubble Protocol IDL (Interface Description Language)",
"main": "dist/index.js",
"version": "2.2.17",
"version": "2.2.40",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
Expand Down
Loading

0 comments on commit 505f481

Please sign in to comment.