Skip to content

Commit

Permalink
some optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
abhayymishraa committed Mar 3, 2025
1 parent c09ef31 commit 1002e0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions frontend/src/api/queries/snapshotQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@ import { gql } from '@apollo/client'
export const GET_SNAPSHOT_DETAILS = gql`
query GetSnapshotDetails($key: String!) {
snapshot(key: $key) {
title
endAt
key
updatedAt
createdAt
startAt
endAt
status
errorMessage
title
newReleases {
name
publishedAt
Expand Down
8 changes: 2 additions & 6 deletions frontend/src/types/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,10 @@ export interface ReleaseType {
}

export interface SnapshotDetailsProps {
title: string
endAt: string
key: string
updatedAt: string
createdAt: string
startAt: string
endAt: string
status: string
errorMessage: string
title: string
newReleases: ReleaseType[]
newProjects: ProjectTypeGraphql[]
newChapters: ChapterTypeGraphQL[]
Expand Down

0 comments on commit 1002e0a

Please sign in to comment.