Skip to content

Commit

Permalink
Faster, better History Tools (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkamysz authored May 24, 2023
1 parent a672afd commit d4d4495
Show file tree
Hide file tree
Showing 201 changed files with 3,129 additions and 15,579 deletions.
11,809 changes: 0 additions & 11,809 deletions package-lock.json

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alien-worlds/api-history-tools",
"version": "0.0.98",
"version": "0.0.113",
"description": "",
"packageManager": "[email protected]",
"main": "build/index.js",
Expand Down Expand Up @@ -35,7 +35,7 @@
"typescript": "^4.8.2"
},
"dependencies": {
"@alien-worlds/api-core": "^0.0.87",
"@alien-worlds/api-core": "^0.0.101",
"@eosrio/node-abieos": "^1",
"amqplib": "^0.10.3",
"async": "^3.2.4",
Expand Down
3 changes: 0 additions & 3 deletions src/api/api.config.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/api/api.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import { log, Route } from '@alien-worlds/api-core';
import express, { Express } from 'express';
import { ApiConfig } from './api.config';
import { ApiConfig } from './api.types';

export class Api {
private app: Express;
Expand Down
6 changes: 6 additions & 0 deletions src/api/api.types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { MongoConfig } from '@alien-worlds/api-core';

export type ApiConfig = {
port: number;
mongo: MongoConfig;
};
2 changes: 1 addition & 1 deletion src/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './api';
export * from './api.config';
export * from './api.types';
export * from './start-api';
export * as ApiEndpoints from './endpoints';
2 changes: 1 addition & 1 deletion src/api/start-api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Route } from '@alien-worlds/api-core';
import { Api } from './api';
import { ApiConfig } from './api.config';
import { ApiConfig } from './api.types';

export const startApi = async (config: ApiConfig, routes: Route[] = []) => {
const api = new Api(config);
Expand Down
26 changes: 0 additions & 26 deletions src/block-range/block-range.config.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/block-range/block-range.consts.ts

This file was deleted.

7 changes: 0 additions & 7 deletions src/block-range/block-range.types.ts

This file was deleted.

59 changes: 0 additions & 59 deletions src/block-range/block-range.worker-loader.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/block-range/index.ts

This file was deleted.

43 changes: 0 additions & 43 deletions src/block-range/service/block-range.default-service.ts

This file was deleted.

46 changes: 0 additions & 46 deletions src/block-range/service/block-range.registry.ts

This file was deleted.

110 changes: 0 additions & 110 deletions src/block-range/service/block-range.replay-service.ts

This file was deleted.

Loading

0 comments on commit d4d4495

Please sign in to comment.