Skip to content

Commit

Permalink
Merge pull request #1127 from serlo/remove-navigation
Browse files Browse the repository at this point in the history
refactor!: Remove unused navigation fields
  • Loading branch information
kulla authored Nov 22, 2023
2 parents 004ab2e + f7a8323 commit ceb07f1
Show file tree
Hide file tree
Showing 20 changed files with 8 additions and 958 deletions.
18 changes: 0 additions & 18 deletions __fixtures__/uuid/abstract-navigation-node.ts
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
import { Payload } from '~/internals/model'
import { Instance } from '~/types'

export const navigation: Payload<'serlo', 'getNavigationPayload'> = {
data: [
{
label: 'Mathematik',
id: 19767,
children: [
{
label: 'Alle Themen',
id: 5,
},
],
},
],
instance: Instance.De,
}
1 change: 0 additions & 1 deletion __fixtures__/uuid/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from './abstract-navigation-node'
export * from './applet'
export * from './article'
export * from './course'
Expand Down
11 changes: 0 additions & 11 deletions __tests-pacts__/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,17 +317,6 @@ const pactSpec: PactSpec = {
],
],
},
NavigationQuery: {
examples: [
[
{ instance: Instance.De },
{
instance: Instance.De,
data: [{ label: 'Mathematik', children: [{ label: 'Alle Themen' }] }],
},
],
],
},
NotificationsQuery: {
examples: [
[
Expand Down
Loading

0 comments on commit ceb07f1

Please sign in to comment.