Skip to content

Commit

Permalink
Update typescript types
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarvelle committed Nov 26, 2024
1 parent 02987ed commit 11dc320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions project/myndlaapi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ object myndlaapi extends Module {
"ConfigMetaRestricted",
"no.ndla.common.model.api.myndla.MyNDLAUser",
"no.ndla.common.model.api.myndla.UpdatedMyNDLAUser",
"no.ndla.common.model.domain.ResourceType",
"config.ConfigMeta",
"Folder",
"FolderData",
Expand Down
2 changes: 1 addition & 1 deletion typescript/types-backend/myndla-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,4 @@ export interface IUserFolder {
sharedFolders: IFolder[]
}

export type ResourceType = ("concept" | "image" | "audio" | "multidisciplinary" | "article" | "learningpath" | "video")
export type ResourceType = ("article" | "audio" | "concept" | "image" | "learningpath" | "multidisciplinary" | "topic" | "video")

0 comments on commit 11dc320

Please sign in to comment.