Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 41 additions & 16 deletions openhexa/graphql/schema.generated.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1042,8 +1042,8 @@ input CreatePipelineInput {
name: String!
notebookPath: String
tags: [String!]
version: CreatePipelineVersionInput
workspaceSlug: String!
zipfile: String
}

"""Represents the input for adding a recipient to a pipeline."""
Expand Down Expand Up @@ -1079,9 +1079,12 @@ input CreatePipelineTemplateVersionInput {
code: String
config: String
description: String
documentation: String
extractDocumentationFromReadme: Boolean
name: String
pipelineId: UUID!
pipelineVersionId: UUID!
versionName: String
workspaceSlug: String!
}

Expand All @@ -1092,20 +1095,6 @@ type CreatePipelineTemplateVersionResult {
success: Boolean!
}

"""
Configures the first pipeline version, created atomically alongside the pipeline.
Providing this sub-input signals that a first version should be created.
"""
input CreatePipelineVersionInput {
config: JSON
description: String
externalLink: URL
name: String
parameters: [ParameterInput!]
timeout: Int
zipfile: String!
}

"""
The CreateTeamError enum represents the possible errors that can occur during the createTeam mutation.
"""
Expand Down Expand Up @@ -3265,6 +3254,7 @@ type OrganizationWorkspaceInvitation {
"""Represents an input parameter of a pipeline."""
input ParameterInput {
choices: [Generic!]
choicesFromFile: PipelineParameterChoicesFromFileInput
code: String!
connection: String
default: Generic
Expand Down Expand Up @@ -3427,6 +3417,7 @@ enum PipelineOrderBy {
"""Represents a parameter of a pipeline."""
type PipelineParameter {
choices: [Generic!]
choicesFromFile: PipelineParameterChoicesFromFile
code: String!
connection: String
default: Generic
Expand All @@ -3439,6 +3430,28 @@ type PipelineParameter {
widget: ParameterWidget
}

"""File format for a dynamic choices source."""
enum PipelineParameterChoicesFileFormat {
csv
json
yaml
yml
}

"""Describes a dynamic choices source backed by a workspace file."""
type PipelineParameterChoicesFromFile {
column: String
format: PipelineParameterChoicesFileFormat
path: String!
}

"""Input for a dynamic choices source backed by a workspace file."""
input PipelineParameterChoicesFromFileInput {
column: String
format: PipelineParameterChoicesFileFormat
path: String!
}

"""Represents the permissions for a pipeline."""
type PipelinePermissions {
createTemplateVersion: CreateTemplateVersionPermission!
Expand Down Expand Up @@ -3552,6 +3565,7 @@ type PipelineTemplate {
config: String
currentVersion: PipelineTemplateVersion
description: String
documentation: String
functionalType: PipelineFunctionalType
id: UUID!
name: String!
Expand Down Expand Up @@ -3611,8 +3625,10 @@ type PipelineTemplateResultPage {
type PipelineTemplateVersion {
changelog: String
createdAt: DateTime!
documentation: String
id: UUID!
isLatestVersion: Boolean!
name: String
permissions: PipelineTemplateVersionPermissions!
sourcePipelineVersion: PipelineVersion!
template: PipelineTemplate!
Expand Down Expand Up @@ -3887,6 +3903,12 @@ type Query {
"""Retrieves a pipeline by workspace slug and code."""
pipelineByCode(code: String!, workspaceSlug: String!): Pipeline

"""
Resolves the list of choices for a parameter backed by a workspace file.
Returns a list of string values read from the file at the time of the call.
"""
pipelineParameterChoices(parameterCode: String!, pipelineVersionId: UUID!): [String!]

"""Retrieves a pipeline run by ID."""
pipelineRun(id: UUID!): PipelineRun

Expand Down Expand Up @@ -4997,6 +5019,7 @@ type UpdatePipelineResult {
Enum representing the possible errors that can occur when updating a pipeline version.
"""
enum UpdatePipelineVersionError {
INVALID_CONFIG
NOT_FOUND
PERMISSION_DENIED
}
Expand Down Expand Up @@ -5093,7 +5116,9 @@ enum UpdateTemplateVersionError {
"""Represents the input for updating a template version."""
input UpdateTemplateVersionInput {
changelog: String
documentation: String
id: UUID!
name: String
}

"""Represents the result of updating a template version."""
Expand Down Expand Up @@ -5672,4 +5697,4 @@ type WriteFileContentResult {
filePath: String
size: Int
success: Boolean!
}
}
Loading