forked from cerc-io/snowballtools-base
Update environment variable entity schema to update them individually (#53)
* Change environment field to enum instead of array * Update gql client for get environment variables query --------- Co-authored-by: neeraj <neeraj.rtly@gmail.com>
This commit is contained in:
committed by
Ashwin Phatak
co-authored by
neeraj
parent
8ead083ab3
commit
2f8d21baf5
@@ -122,14 +122,6 @@ query {
|
||||
email
|
||||
}
|
||||
}
|
||||
environmentVariables {
|
||||
id
|
||||
environments
|
||||
key
|
||||
value
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
@@ -171,7 +163,7 @@ export const getEnvironmentVariables = gql`
|
||||
query ($projectId: String!) {
|
||||
environmentVariables(projectId: $projectId) {
|
||||
createdAt
|
||||
environments
|
||||
environment
|
||||
id
|
||||
key
|
||||
updatedAt
|
||||
|
||||
@@ -30,7 +30,7 @@ export enum DomainStatus {
|
||||
|
||||
export type EnvironmentVariable = {
|
||||
id: string
|
||||
environments: Environment[]
|
||||
environment: Environment
|
||||
key: string
|
||||
value: string
|
||||
createdAt: string
|
||||
|
||||
Reference in New Issue
Block a user