@confed/db-types 0.1.0 → 0.2.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +28 -0
  2. package/package.json +4 -2
package/dist/index.d.ts CHANGED
@@ -250,3 +250,31 @@ export interface NewCeCourseDeptMap {
250
250
  createdAt?: string | null;
251
251
  updatedAt?: string | null;
252
252
  }
253
+ export interface OlTextbook {
254
+ id: number;
255
+ courseId: string;
256
+ courseCode: string | null;
257
+ registeringCode: string | null;
258
+ title: string;
259
+ author: string | null;
260
+ publisher: string | null;
261
+ edition: string | null;
262
+ isbn: string | null;
263
+ etext: string | null;
264
+ specialInstruction: string | null;
265
+ createdAt: string | null;
266
+ }
267
+ export interface NewOlTextbook {
268
+ id?: number;
269
+ courseId: string;
270
+ courseCode?: string | null;
271
+ registeringCode?: string | null;
272
+ title: string;
273
+ author?: string | null;
274
+ publisher?: string | null;
275
+ edition?: string | null;
276
+ isbn?: string | null;
277
+ etext?: string | null;
278
+ specialInstruction?: string | null;
279
+ createdAt?: string | null;
280
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/db-types",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "TypeScript types for the CC Courses Sync D1 database",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -9,7 +9,9 @@
9
9
  "types": "./dist/index.d.ts"
10
10
  }
11
11
  },
12
- "files": ["dist"],
12
+ "files": [
13
+ "dist"
14
+ ],
13
15
  "scripts": {
14
16
  "build": "tsc",
15
17
  "prepublishOnly": "npm run build"