diff --git a/package.json b/package.json index 3c713b442516e690cb35941861142d7dd07b5da3..735e71093ff8dfdb318615f2e2a67d3106296664 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "@epoc/epoc-specs", - "version": "2.0.0", + "version": "2.0.0-beta-2", "description": "ePoc (Electronic Pocket Open Course) types specifications", "main": "dist/index.ts", "types": "dist/index.d.ts", "scripts": { - "prepublish": "tsc" + "publish": "tsc && npm publish --access=public" }, "repository": { "type": "git", diff --git a/src/v1/content.ts b/src/v1/content.ts index e7a717a9e04278116e485066ea8c2f31b7949e0c..e64415b2abda9b39d675788d37d2308f5bb9e2c8 100644 --- a/src/v1/content.ts +++ b/src/v1/content.ts @@ -1,7 +1,6 @@ import {html, uid} from './types'; export interface Content { - id: uid; type: 'html' | 'assessment' | 'video' | 'simple-question' | 'choice'; title: string; subtitle?: string;