Source

types/investigation/enums.js

/**
 * Investigation-specific Enums
 *
 * This file contains all enums related to investigations.
 */
/**
 * Investigation Status Enum
 * @category Types
 * @enum {string}
 */
export var InvestigationStatus;
(function (InvestigationStatus) {
    InvestigationStatus["DRAFT_INCOMPLETE"] = "draft_incomplete";
    InvestigationStatus["DRAFT_NON_CONTRADICTORY_COMPLETE"] = "draft_non_contradictory_complete";
    InvestigationStatus["DRAFT_CONTRADICTORY_COMPLETE"] = "draft_contradictory_complete";
    InvestigationStatus["IN_DEVELOPMENT"] = "in_development";
    InvestigationStatus["PUBLISHED"] = "published";
    InvestigationStatus["UNPUBLISHED"] = "unpublished";
})(InvestigationStatus || (InvestigationStatus = {}));
/**
 * Investigation List Section Type Enum
 * Defines how investigations are grouped in the main list view
 * @category Types
 * @enum {string}
 */
export var InvestigationSectionType;
(function (InvestigationSectionType) {
    InvestigationSectionType["CHANGE_DATE"] = "changeDate";
    InvestigationSectionType["CURRICULUM_GRADE"] = "curriculumGrade";
    InvestigationSectionType["GRADE"] = "grade";
    InvestigationSectionType["CURRICULUM_STATUS"] = "curriculumStatus";
    InvestigationSectionType["AUTHOR"] = "author";
})(InvestigationSectionType || (InvestigationSectionType = {}));
/**
 * Investigation List Group Type Enum
 * Defines sub-grouping options within sections
 * @category Types
 * @enum {string}
 */
export var InvestigationGroupType;
(function (InvestigationGroupType) {
    InvestigationGroupType["SUBJECTS"] = "subjects";
    InvestigationGroupType["UNITS"] = "units";
    InvestigationGroupType["UNITS_LESSONS"] = "unitsLessons";
})(InvestigationGroupType || (InvestigationGroupType = {}));
/**
 * Investigation Sort By Field Enum
 * Defines which field to sort investigations by
 * @category Types
 * @enum {string}
 */
export var InvestigationSortBy;
(function (InvestigationSortBy) {
    InvestigationSortBy["CREATED_AT"] = "createdAt";
    InvestigationSortBy["UPDATED_AT"] = "updatedAt";
    InvestigationSortBy["TITLE"] = "title";
    InvestigationSortBy["ACTIVITY"] = "activity";
    InvestigationSortBy["TIME_IN_DEVELOPMENT"] = "timeInDevelopment";
    InvestigationSortBy["VIEWS"] = "views";
    InvestigationSortBy["COMPLETIONS"] = "completions";
})(InvestigationSortBy || (InvestigationSortBy = {}));
/**
 * Sort Order Enum
 * Defines the sort direction
 * @category Types
 * @enum {string}
 */
export var SortOrder;
(function (SortOrder) {
    SortOrder["ASC"] = "asc";
    SortOrder["DESC"] = "desc";
})(SortOrder || (SortOrder = {}));