Skip to content

Commit

Permalink
Remove public folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kihuha committed Mar 16, 2021
1 parent b175397 commit a6016e0
Show file tree
Hide file tree
Showing 25 changed files with 82 additions and 3,262 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,8 @@ dist
.pnp.*

# IDE
.idea
.idea


# Build
public/
73 changes: 73 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
declare module "data/countyData" {
export interface Details {
male: number;
female: number;
intersex: number;
households: number;
averageHouseholds: number;
popDensity: {
landArea: number;
density: number;
};
}
export interface County {
[key: string]: Details;
}
export const counties: County;
}
declare module "data/subcountyData" {
interface Details {
male: number;
female: number;
intersex: number;
popDensity: {
landArea: number;
density: number | null;
};
total: number;
}
export interface SubCounty {
[key: string]: {
[key: string]: Details;
};
}
export const subCounties: SubCounty;
}
declare module "data/country" {
export const country: {
total: number;
male: number;
female: number;
intersex: number;
populationIn2009: number;
popChange: number;
households: number;
averageHouseholds: number;
popDensity: {
landArea: number;
density: number;
};
};
}
declare module "data/index" {
import { counties } from "data/countyData";
import { subCounties } from "data/subcountyData";
import { country } from "data/country";
export { counties, subCounties, country };
}
declare module "routers/country" {
const router: import("express-serve-static-core").Router;
export default router;
}
declare module "routers/counties" {
const router: import("express-serve-static-core").Router;
export default router;
}
declare module "app" {
const app: import("express-serve-static-core").Express;
export default app;
}
declare module "index" { }
declare module "test/counties.test" { }
declare module "test/country.test" { }
declare module "test/subcounties.test" { }
2 changes: 0 additions & 2 deletions public/app.d.ts

This file was deleted.

15 changes: 0 additions & 15 deletions public/app.js

This file was deleted.

14 changes: 0 additions & 14 deletions public/data/country.d.ts

This file was deleted.

14 changes: 0 additions & 14 deletions public/data/country.js

This file was deleted.

15 changes: 0 additions & 15 deletions public/data/countyData.d.ts

This file was deleted.

Loading

0 comments on commit a6016e0

Please sign in to comment.