Skip to content

Commit

Permalink
add more options for content
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter Andersson committed Mar 12, 2024
1 parent da9cbae commit 82256e9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/content/content.gql.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export const contentGqlSchema = /* GraphQL */ `
image: String
position: String
width: String
imageRef: String
categories: String
tags: String
}
Expand All @@ -55,7 +54,6 @@ export const contentGqlSchema = /* GraphQL */ `
image: String
position: String
width: String
imageRef: String
categories: String
tags: String
}
Expand Down
1 change: 0 additions & 1 deletion src/content/content.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ it('should normalize invalid composition', () => {
image: '',
width: '100%',
position: 'top',
imageRef: '',
categories: '',
tags: '',
},
Expand Down
1 change: 0 additions & 1 deletion src/content/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const createEmptyModule = (): ContentModule => ({
width: '100%',
categories: '',
tags: '',
imageRef: '',
})

export const createEmptyComposition = (): ViewComposition => ({
Expand Down
1 change: 0 additions & 1 deletion src/content/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export type ContentModule = {
image: string
position: 'top' | 'bottom' | 'left' | 'right'
width: string
imageRef: string
categories: string
tags: string
}

0 comments on commit 82256e9

Please sign in to comment.