Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,10 @@
"description": "bucket for ocw-next storage data",
"required": false
},
"OCW_OFFLINE_DELIVERY": {
"description": "Enable offline delivery of OCW courses",
"required": false
},
"PGBOUNCER_DEFAULT_POOL_SIZE": {
"value": "50"
},
Expand Down
78 changes: 41 additions & 37 deletions frontends/api/src/generated/v0/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,40 @@ export const CurrentEducationEnum = {
export type CurrentEducationEnum =
(typeof CurrentEducationEnum)[keyof typeof CurrentEducationEnum]

/**
* * `online` - Online * `hybrid` - Hybrid * `in_person` - In-Person * `offline` - Offline
* @export
* @enum {string}
*/

export const DeliveryEnumDescriptions = {
online: "Online",
hybrid: "Hybrid",
in_person: "In-Person",
offline: "Offline",
} as const

export const DeliveryEnum = {
/**
* Online
*/
Online: "online",
/**
* Hybrid
*/
Hybrid: "hybrid",
/**
* In-Person
*/
InPerson: "in_person",
/**
* Offline
*/
Offline: "offline",
} as const

export type DeliveryEnum = (typeof DeliveryEnum)[keyof typeof DeliveryEnum]

/**
* Serializer for Channel model of type department
* @export
Expand Down Expand Up @@ -1048,36 +1082,6 @@ export const GoalsEnum = {

export type GoalsEnum = (typeof GoalsEnum)[keyof typeof GoalsEnum]

/**
* * `online` - Online * `hybrid` - Hybrid * `in_person` - In-Person
* @export
* @enum {string}
*/

export const LearningFormatEnumDescriptions = {
online: "Online",
hybrid: "Hybrid",
in_person: "In-Person",
} as const

export const LearningFormatEnum = {
/**
* Online
*/
Online: "online",
/**
* Hybrid
*/
Hybrid: "hybrid",
/**
* In-Person
*/
InPerson: "in_person",
} as const

export type LearningFormatEnum =
(typeof LearningFormatEnum)[keyof typeof LearningFormatEnum]

/**
* Serializer for a minimal preview of Learning Paths
* @export
Expand Down Expand Up @@ -1679,10 +1683,10 @@ export interface PatchedProfileRequest {
time_commitment?: PatchedProfileRequestTimeCommitment
/**
*
* @type {Array<LearningFormatEnum>}
* @type {Array<DeliveryEnum>}
* @memberof PatchedProfileRequest
*/
learning_format?: Array<LearningFormatEnum>
delivery?: Array<DeliveryEnum>
}
/**
* @type PatchedProfileRequestCertificateDesired
Expand Down Expand Up @@ -1915,7 +1919,7 @@ export interface PreferencesSearch {
* @type {Array<string>}
* @memberof PreferencesSearch
*/
learning_format?: Array<string>
delivery?: Array<string>
}
/**
* Serializer for Profile
Expand Down Expand Up @@ -2033,10 +2037,10 @@ export interface Profile {
time_commitment?: PatchedProfileRequestTimeCommitment
/**
*
* @type {Array<LearningFormatEnum>}
* @type {Array<DeliveryEnum>}
* @memberof Profile
*/
learning_format?: Array<LearningFormatEnum>
delivery?: Array<DeliveryEnum>
/**
*
* @type {PreferencesSearch}
Expand Down Expand Up @@ -2136,10 +2140,10 @@ export interface ProfileRequest {
time_commitment?: PatchedProfileRequestTimeCommitment
/**
*
* @type {Array<LearningFormatEnum>}
* @type {Array<DeliveryEnum>}
* @memberof ProfileRequest
*/
learning_format?: Array<LearningFormatEnum>
delivery?: Array<DeliveryEnum>
}
/**
* Serializer for Program Certificates
Expand Down
Loading