Skip to content

Commit b78e1b1

Browse files
committed
set schema to 1.11.0
1 parent a537dee commit b78e1b1

2 files changed

Lines changed: 39 additions & 84 deletions

File tree

openhexa/graphql/queries.graphql

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -305,39 +305,39 @@ mutation DeleteConnection($input: DeleteConnectionInput!) {
305305
}
306306
}
307307

308-
query Organization($id: UUID!) {
309-
organization(id: $id) {
310-
id
311-
name
312-
shortName
313-
workspaces {
314-
items {
315-
slug
316-
name
317-
countries {
318-
code
319-
}
320-
}
321-
}
322-
permissions {
323-
createWorkspace
324-
archiveWorkspace
325-
}
326-
}
327-
}
328-
329-
query Organizations {
330-
organizations {
331-
id
332-
name
333-
workspaces {
334-
items {
335-
slug
336-
name
337-
}
338-
}
339-
}
340-
}
308+
#query Organization($id: UUID!) {
309+
# organization(id: $id) {
310+
# id
311+
# name
312+
# shortName
313+
# workspaces {
314+
# items {
315+
# slug
316+
# name
317+
# countries {
318+
# code
319+
# }
320+
# }
321+
# }
322+
# permissions {
323+
# createWorkspace
324+
# archiveWorkspace
325+
# }
326+
# }
327+
#}
328+
#
329+
#query Organizations {
330+
# organizations {
331+
# id
332+
# name
333+
# workspaces {
334+
# items {
335+
# slug
336+
# name
337+
# }
338+
# }
339+
# }
340+
#}
341341

342342
query GetUsers($query: String!, $workspaceSlug: String!) {
343343
users(query: $query, workspaceSlug: $workspaceSlug) {

openhexa/graphql/schema.generated.graphql

Lines changed: 6 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,6 @@ input CreateWorkspaceInput {
890890
description: String
891891
loadSampleData: Boolean
892892
name: String!
893-
organizationId: UUID
894893
slug: String
895894
}
896895

@@ -2452,26 +2451,14 @@ type Organization {
24522451
"""The unique identifier of the organization."""
24532452
id: UUID!
24542453

2455-
"""The members of the organization."""
2456-
members(page: Int, perPage: Int): OrganizationMembershipPage!
2457-
24582454
"""The name of the organization."""
24592455
name: String!
24602456

2461-
"""The permissions the current user has in the organization."""
2462-
permissions: OrganizationPermissions!
2463-
2464-
"""The short name of the organization."""
2465-
shortName: String
2466-
24672457
"""The type of the organization."""
24682458
type: String!
24692459

24702460
"""The URL of the organization."""
24712461
url: String!
2472-
2473-
"""The workspaces associated with the organization."""
2474-
workspaces(page: Int, perPage: Int): WorkspacePage!
24752462
}
24762463

24772464
"""
@@ -2494,36 +2481,6 @@ input OrganizationInput {
24942481
url: String
24952482
}
24962483

2497-
"""Represents a membership in an organization."""
2498-
type OrganizationMembership {
2499-
createdAt: DateTime!
2500-
id: UUID!
2501-
organization: Organization!
2502-
role: OrganizationMembershipRole!
2503-
updatedAt: DateTime
2504-
user: User!
2505-
}
2506-
2507-
"""Represents a page of organization memberships."""
2508-
type OrganizationMembershipPage {
2509-
items: [WorkspaceMembership!]!
2510-
pageNumber: Int!
2511-
totalItems: Int!
2512-
totalPages: Int!
2513-
}
2514-
2515-
"""Represents the role of a organization membership."""
2516-
enum OrganizationMembershipRole {
2517-
ADMIN
2518-
MEMBER
2519-
OWNER
2520-
}
2521-
2522-
type OrganizationPermissions {
2523-
archiveWorkspace: Boolean!
2524-
createWorkspace: Boolean!
2525-
}
2526-
25272484
"""Represents an input parameter of a pipeline."""
25282485
input ParameterInput {
25292486
choices: [Generic!]
@@ -3063,7 +3020,6 @@ type Query {
30633020
me: Me!
30643021
metadataAttributes(targetId: OpaqueID!): [MetadataAttribute]!
30653022
notebooksUrl: URL!
3066-
organization(id: UUID!): Organization
30673023

30683024
"""Retrieves a list of organizations."""
30693025
organizations: [Organization!]!
@@ -3086,11 +3042,11 @@ type Query {
30863042

30873043
"""Retrieves a page of pipelines ordered by relevant name."""
30883044
pipelines(name: String, page: Int, perPage: Int, search: String, workspaceSlug: String): PipelinesPage!
3089-
searchDatabaseTables(organizationId: UUID, page: Int = 1, perPage: Int = 15, query: String!, workspaceSlugs: [String]): DatabaseTableResultPage!
3090-
searchDatasets(organizationId: UUID, page: Int = 1, perPage: Int = 15, query: String!, workspaceSlugs: [String]): DatasetResultPage!
3091-
searchFiles(organizationId: UUID, page: Int = 1, perPage: Int = 15, query: String!, workspaceSlugs: [String]): FileResultPage!
3092-
searchPipelineTemplates(organizationId: UUID, page: Int = 1, perPage: Int = 15, query: String!, workspaceSlugs: [String]): PipelineTemplateResultPage!
3093-
searchPipelines(organizationId: UUID, page: Int = 1, perPage: Int = 15, query: String!, workspaceSlugs: [String]): PipelineResultPage!
3045+
searchDatabaseTables(page: Int = 1, perPage: Int = 15, query: String!, workspaceSlugs: [String]!): DatabaseTableResultPage!
3046+
searchDatasets(page: Int = 1, perPage: Int = 15, query: String!, workspaceSlugs: [String]!): DatasetResultPage!
3047+
searchFiles(page: Int = 1, perPage: Int = 15, query: String!, workspaceSlugs: [String]!): FileResultPage!
3048+
searchPipelineTemplates(page: Int = 1, perPage: Int = 15, query: String!, workspaceSlugs: [String]!): PipelineTemplateResultPage!
3049+
searchPipelines(page: Int = 1, perPage: Int = 15, query: String!, workspaceSlugs: [String]!): PipelineResultPage!
30943050
team(id: UUID!): Team
30953051
teams(page: Int, perPage: Int, term: String): TeamPage!
30963052

@@ -3104,7 +3060,7 @@ type Query {
31043060
webapp(id: UUID!): Webapp
31053061
webapps(favorite: Boolean, page: Int, perPage: Int, workspaceSlug: String): WebappsPage!
31063062
workspace(slug: String!): Workspace
3107-
workspaces(organizationId: UUID, page: Int, perPage: Int, query: String): WorkspacePage!
3063+
workspaces(page: Int, perPage: Int, query: String): WorkspacePage!
31083064
}
31093065

31103066
"""
@@ -4147,7 +4103,6 @@ type Workspace {
41474103
invitations(includeAccepted: Boolean, page: Int, perPage: Int): WorkspaceInvitationPage!
41484104
members(page: Int, perPage: Int): WorkspaceMembershipPage!
41494105
name: String!
4150-
organization: Organization
41514106
permissions: WorkspacePermissions!
41524107
slug: String!
41534108
updatedAt: DateTime

0 commit comments

Comments
 (0)