-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…mark-components [EASI-1499] Fully connected the bookmarking frontend components to the backend
- Loading branch information
Showing
20 changed files
with
429 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export default gql` | ||
mutation CreateCedarSystemBookmark($input: CreateCedarSystemBookmarkInput!) { | ||
createCedarSystemBookmark(input: $input) { | ||
cedarSystemBookmark { | ||
cedarSystemId | ||
} | ||
} | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export default gql` | ||
mutation DeleteCedarSystemBookmark($input: CreateCedarSystemBookmarkInput!) { | ||
deleteCedarSystemBookmark(input: $input) { | ||
cedarSystemId | ||
} | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export default gql` | ||
query GetCedarSystemBookmarks { | ||
cedarSystemBookmarks { | ||
euaUserId | ||
cedarSystemId | ||
} | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export default gql` | ||
query GetCedarSystemsAndBookmarks { | ||
cedarSystemBookmarks { | ||
euaUserId | ||
cedarSystemId | ||
} | ||
cedarSystems { | ||
id | ||
name | ||
description | ||
acronym | ||
status | ||
businessOwnerOrg | ||
businessOwnerOrgComp | ||
systemMaintainerOrg | ||
systemMaintainerOrgComp | ||
} | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
// @generated | ||
// This file was automatically generated and should not be edited. | ||
|
||
import { CreateCedarSystemBookmarkInput } from "./../../types/graphql-global-types"; | ||
|
||
// ==================================================== | ||
// GraphQL mutation operation: CreateCedarSystemBookmark | ||
// ==================================================== | ||
|
||
export interface CreateCedarSystemBookmark_createCedarSystemBookmark_cedarSystemBookmark { | ||
__typename: "CedarSystemBookmark"; | ||
cedarSystemId: string; | ||
} | ||
|
||
export interface CreateCedarSystemBookmark_createCedarSystemBookmark { | ||
__typename: "CreateCedarSystemBookmarkPayload"; | ||
cedarSystemBookmark: CreateCedarSystemBookmark_createCedarSystemBookmark_cedarSystemBookmark | null; | ||
} | ||
|
||
export interface CreateCedarSystemBookmark { | ||
createCedarSystemBookmark: CreateCedarSystemBookmark_createCedarSystemBookmark | null; | ||
} | ||
|
||
export interface CreateCedarSystemBookmarkVariables { | ||
input: CreateCedarSystemBookmarkInput; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
// @generated | ||
// This file was automatically generated and should not be edited. | ||
|
||
import { CreateCedarSystemBookmarkInput } from "./../../types/graphql-global-types"; | ||
|
||
// ==================================================== | ||
// GraphQL mutation operation: DeleteCedarSystemBookmark | ||
// ==================================================== | ||
|
||
export interface DeleteCedarSystemBookmark_deleteCedarSystemBookmark { | ||
__typename: "DeleteCedarSystemBookmarkPayload"; | ||
cedarSystemId: string; | ||
} | ||
|
||
export interface DeleteCedarSystemBookmark { | ||
deleteCedarSystemBookmark: DeleteCedarSystemBookmark_deleteCedarSystemBookmark | null; | ||
} | ||
|
||
export interface DeleteCedarSystemBookmarkVariables { | ||
input: CreateCedarSystemBookmarkInput; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
// @generated | ||
// This file was automatically generated and should not be edited. | ||
|
||
// ==================================================== | ||
// GraphQL query operation: GetCedarSystemBookmarks | ||
// ==================================================== | ||
|
||
export interface GetCedarSystemBookmarks_cedarSystemBookmarks { | ||
__typename: "CedarSystemBookmark"; | ||
euaUserId: string; | ||
cedarSystemId: string; | ||
} | ||
|
||
export interface GetCedarSystemBookmarks { | ||
cedarSystemBookmarks: GetCedarSystemBookmarks_cedarSystemBookmarks[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
// @generated | ||
// This file was automatically generated and should not be edited. | ||
|
||
// ==================================================== | ||
// GraphQL query operation: GetCedarSystemsAndBookmarks | ||
// ==================================================== | ||
|
||
export interface GetCedarSystemsAndBookmarks_cedarSystemBookmarks { | ||
__typename: "CedarSystemBookmark"; | ||
euaUserId: string; | ||
cedarSystemId: string; | ||
} | ||
|
||
export interface GetCedarSystemsAndBookmarks_cedarSystems { | ||
__typename: "CedarSystem"; | ||
id: string; | ||
name: string; | ||
description: string | null; | ||
acronym: string | null; | ||
status: string | null; | ||
businessOwnerOrg: string | null; | ||
businessOwnerOrgComp: string | null; | ||
systemMaintainerOrg: string | null; | ||
systemMaintainerOrgComp: string | null; | ||
} | ||
|
||
export interface GetCedarSystemsAndBookmarks { | ||
cedarSystemBookmarks: GetCedarSystemsAndBookmarks_cedarSystemBookmarks[]; | ||
cedarSystems: (GetCedarSystemsAndBookmarks_cedarSystems | null)[] | null; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.