mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
refactor: rename superblocks.ts to curriculum (#55624)
This commit is contained in:
committed by
GitHub
parent
6d1debec1c
commit
1e25cfdf83
@@ -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,7 +1,7 @@
|
||||
import {
|
||||
type SuperBlocks,
|
||||
getAuditedSuperBlocks
|
||||
} from '../../shared/config/superblocks';
|
||||
} from '../../shared/config/curriculum';
|
||||
|
||||
export function isAuditedSuperBlock(
|
||||
language: string,
|
||||
|
||||
Reference in New Issue
Block a user