@oaknational/oak-curriculum-schema-v2 0.0.11-alpha → 0.0.13-alpha
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.
- package/README.md +3 -1
- package/cjs/index.cjs +145 -67
- package/cjs/index.cjs.map +1 -1
- package/esm/index.js +146 -68
- package/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +3 -1
- package/src/rendered-schema/draft-downloadables-with-status-by-lesson.ts +18 -0
- package/src/rendered-schema/published-downloadables-with-release-by-lesson.ts +16 -0
- package/src/rendered-schema/tags-by-lesson.ts +10 -0
- package/src/rendered-schema/utils/assert-drizzle-contract.ts +18 -0
- package/src/rendered-schema/utils/assert-graphql-contract.ts +53 -0
- package/src/rendered-schema/utils/from-graphql.ts +20 -0
- package/src/rendered-schema/utils/require-local-database.ts +8 -0
- package/src/rendered-schema/utils/view-contract.ts +9 -0
- package/types.d.ts +5426 -4018
- package/src/rendered-schema/published-document-with-release-by-lesson-and-document-type.ts +0 -17
- package/src/schema/published-document-with-release-by-lesson-and-document-type.ts +0 -17
package/README.md
CHANGED
|
@@ -51,12 +51,14 @@ list of columns.
|
|
|
51
51
|
| `draftLessonWithStatusSchema` | `DraftLessonWithStatusType` | `draftLessonWithStatusCamelSchema` | `DraftLessonWithStatusCamelType` |
|
|
52
52
|
| `draftLessonVideoWithStatusByLessonSchema` | `DraftLessonVideoWithStatusByLessonType` | `draftLessonVideoWithStatusByLessonCamelSchema` | `DraftLessonVideoWithStatusByLessonCamelType` |
|
|
53
53
|
| `draftDocumentsWithStatusByLessonSchema` | `DraftDocumentsWithStatusByLessonType` | `draftDocumentsWithStatusByLessonCamelSchema` | `DraftDocumentsWithStatusByLessonCamelType` |
|
|
54
|
-
| `publishedDocumentWithReleaseByLessonAndDocumentTypeSchema` | `PublishedDocumentWithReleaseByLessonAndDocumentTypeType` | `publishedDocumentWithReleaseByLessonAndDocumentTypeCamelSchema` | `PublishedDocumentWithReleaseByLessonAndDocumentTypeCamelType` |
|
|
55
54
|
| `publishedDocumentsWithReleaseByLessonSchema` | `PublishedDocumentsWithReleaseByLessonType` | `publishedDocumentsWithReleaseByLessonCamelSchema` | `PublishedDocumentsWithReleaseByLessonCamelType` |
|
|
56
55
|
| `draftLessonVideoWithStatusByLessonSchema` | `DraftLessonVideoWithStatusByLessonType` | `draftLessonVideoWithStatusByLessonCamelSchema` | `DraftLessonVideoWithStatusByLessonCamelType` |
|
|
57
56
|
| `publishedLessonVideoWithReleaseByLessonSchema` | `PublishedLessonVideoWithReleaseByLessonType` | `publishedLessonVideoWithReleaseByLessonCamelSchema` | `PublishedLessonVideoWithReleaseByLessonCamelType` |
|
|
58
57
|
| `unitContextsByUnitSchema` | `UnitContextsByUnitType` | `unitContextsByUnitCamelSchema` | `UnitContextsByUnitCamelType` |
|
|
59
58
|
| `unitsByLessonSchema` | `UnitsByLessonType` | `unitsByLessonCamelSchema` | `UnitsByLessonCamelType` |
|
|
59
|
+
| `draftDownloadablesWithStatusByLessonSchema` | `DraftDownloadablesWithStatusByLessonType` | `draftDownloadablesWithStatusByLessonCamelSchema` | `DraftDownloadablesWithStatusByLessonCamelType` |
|
|
60
|
+
| `publishedDownloadablesWithReleaseByLessonSchema` | `PublishedDownloadablesWithReleaseByLessonType` | `publishedDownloadablesWithReleaseByLessonCamelSchema` | `PublishedDownloadablesWithReleaseByLessonCamelType` |
|
|
61
|
+
| `tagsByLessonSchema` | `TagsByLessonType` | `tagsByLessonCamelSchema` | `TagsByLessonCamelType` |
|
|
60
62
|
|
|
61
63
|
## Links
|
|
62
64
|
|