@taiger-common/model 1.0.18 → 1.0.20
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.
|
@@ -6,7 +6,7 @@ var core_1 = require("@taiger-common/core");
|
|
|
6
6
|
var ObjectId = mongoose_1.Schema.Types.ObjectId;
|
|
7
7
|
var SCHOOL_TAG_KEYS = Object.keys(core_1.SCHOOL_TAGS);
|
|
8
8
|
exports.PROGRAM_SUBJECT_KEYS = Object.keys(core_1.PROGRAM_SUBJECTS);
|
|
9
|
-
exports.DIFFICULTY_KEYS = Object.keys(DIFFICULTY);
|
|
9
|
+
exports.DIFFICULTY_KEYS = Object.keys(core_1.DIFFICULTY);
|
|
10
10
|
// export type ProgramModule = {
|
|
11
11
|
// [key: string]: any; // Allows dynamic key access
|
|
12
12
|
// } & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from 'mongoose';
|
|
2
|
-
import { PROGRAM_SUBJECTS, SCHOOL_TAGS, SCHOOL_TYPES } from '@taiger-common/core';
|
|
2
|
+
import { DIFFICULTY, PROGRAM_SUBJECTS, SCHOOL_TAGS, SCHOOL_TYPES } from '@taiger-common/core';
|
|
3
3
|
var ObjectId = Schema.Types.ObjectId;
|
|
4
4
|
var SCHOOL_TAG_KEYS = Object.keys(SCHOOL_TAGS);
|
|
5
5
|
export var PROGRAM_SUBJECT_KEYS = Object.keys(PROGRAM_SUBJECTS);
|
|
@@ -25,11 +25,6 @@
|
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
27
|
export declare const PROGRAM_SUBJECT_KEYS: string[];
|
|
28
|
-
export declare enum DIFFICULTY {
|
|
29
|
-
EASY = "EASY",
|
|
30
|
-
MEDIUM = "MEDIUM",
|
|
31
|
-
HARD = "HARD"
|
|
32
|
-
}
|
|
33
28
|
export declare const DIFFICULTY_KEYS: string[];
|
|
34
29
|
export declare const programModule: {
|
|
35
30
|
isArchiv: BooleanConstructor;
|