@tyleretters/discography 0.0.5 → 0.0.7

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.
@@ -125,7 +125,7 @@
125
125
  credits: |
126
126
  Laws & Etters, mmxxi
127
127
 
128
- - title: FCV
128
+ - title: FCIV
129
129
  project: Sidereal Lobby
130
130
  released: 02021-09-04
131
131
  type: Triple LP
package/src/index.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { Release, Track } from './types'
2
+ import { discography } from './discography'
3
+
4
+ export default discography
5
+ export type { Release, Track }
package/src/types.ts ADDED
@@ -0,0 +1,23 @@
1
+ export interface Release {
2
+ title: string
3
+ project: string
4
+ released: string
5
+ type: string
6
+ format: string
7
+ role: string
8
+ label: string
9
+ tracks: Array<Track>
10
+ notes: string
11
+ credits: string
12
+ release_slug: string
13
+ project_slug: string
14
+ id: string
15
+ }
16
+
17
+ export interface Track {
18
+ number: number
19
+ title: string
20
+ length: string
21
+ track_slug: string
22
+ id: string
23
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "compilerOptions": {
3
+ "outDir": "dist",
4
+ "module": "esnext",
5
+ "target": "es5",
6
+ "lib": ["es6", "dom", "es2016", "es2017"],
7
+ "sourceMap": true,
8
+ "allowJs": false,
9
+ "declaration": true,
10
+ "moduleResolution": "node",
11
+ "forceConsistentCasingInFileNames": true
12
+ },
13
+ "include": ["src/**/*.ts"],
14
+ "exclude": ["node_modules", "dist", "rollup.config.js"]
15
+ }