refactor: rename superblocks.ts to curriculum (#55624)

This commit is contained in:
Oliver Eyton-Williams
2024-07-23 18:04:02 +02:00
committed by GitHub
parent 6d1debec1c
commit 1e25cfdf83
37 changed files with 43 additions and 44 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { SuperBlocks } from '../../shared/config/superblocks';
import { SuperBlocks } from '../../shared/config/curriculum';
/**
* Certifications are not equivalent to superblocks. Each superblock corresponds
@@ -7,7 +7,7 @@ import {
createSuperBlockMap,
createFlatSuperBlockMap,
getAuditedSuperBlocks
} from './superblocks';
} from './curriculum';
describe('superBlockOrder', () => {
it('should contain all SuperBlocks', () => {
@@ -1,4 +1,6 @@
import { Languages } from '../config/i18n';
// TODO: eventually this should all flow from the curriculum service, since it
// defines the top-level structure of the curriculum.
import { Languages } from './i18n';
// all superblocks
export enum SuperBlocks {
+1 -1
View File
@@ -1,7 +1,7 @@
import {
type SuperBlocks,
getAuditedSuperBlocks
} from '../../shared/config/superblocks';
} from '../../shared/config/curriculum';
export function isAuditedSuperBlock(
language: string,