@@ -1042,8 +1042,8 @@ input CreatePipelineInput {
10421042 name : String !
10431043 notebookPath : String
10441044 tags : [String ! ]
1045- version : CreatePipelineVersionInput
10461045 workspaceSlug : String !
1046+ zipfile : String
10471047}
10481048
10491049"""Represents the input for adding a recipient to a pipeline."""
@@ -1079,9 +1079,12 @@ input CreatePipelineTemplateVersionInput {
10791079 code : String
10801080 config : String
10811081 description : String
1082+ documentation : String
1083+ extractDocumentationFromReadme : Boolean
10821084 name : String
10831085 pipelineId : UUID !
10841086 pipelineVersionId : UUID !
1087+ versionName : String
10851088 workspaceSlug : String !
10861089}
10871090
@@ -1092,20 +1095,6 @@ type CreatePipelineTemplateVersionResult {
10921095 success : Boolean !
10931096}
10941097
1095- """
1096- Configures the first pipeline version, created atomically alongside the pipeline.
1097- Providing this sub-input signals that a first version should be created.
1098- """
1099- input CreatePipelineVersionInput {
1100- config : JSON
1101- description : String
1102- externalLink : URL
1103- name : String
1104- parameters : [ParameterInput ! ]
1105- timeout : Int
1106- zipfile : String !
1107- }
1108-
11091098"""
11101099The CreateTeamError enum represents the possible errors that can occur during the createTeam mutation.
11111100"""
@@ -3265,6 +3254,7 @@ type OrganizationWorkspaceInvitation {
32653254"""Represents an input parameter of a pipeline."""
32663255input ParameterInput {
32673256 choices : [Generic ! ]
3257+ choicesFromFile : PipelineParameterChoicesFromFileInput
32683258 code : String !
32693259 connection : String
32703260 default : Generic
@@ -3427,6 +3417,7 @@ enum PipelineOrderBy {
34273417"""Represents a parameter of a pipeline."""
34283418type PipelineParameter {
34293419 choices : [Generic ! ]
3420+ choicesFromFile : PipelineParameterChoicesFromFile
34303421 code : String !
34313422 connection : String
34323423 default : Generic
@@ -3439,6 +3430,28 @@ type PipelineParameter {
34393430 widget : ParameterWidget
34403431}
34413432
3433+ """File format for a dynamic choices source."""
3434+ enum PipelineParameterChoicesFileFormat {
3435+ csv
3436+ json
3437+ yaml
3438+ yml
3439+ }
3440+
3441+ """Describes a dynamic choices source backed by a workspace file."""
3442+ type PipelineParameterChoicesFromFile {
3443+ column : String
3444+ format : PipelineParameterChoicesFileFormat
3445+ path : String !
3446+ }
3447+
3448+ """Input for a dynamic choices source backed by a workspace file."""
3449+ input PipelineParameterChoicesFromFileInput {
3450+ column : String
3451+ format : PipelineParameterChoicesFileFormat
3452+ path : String !
3453+ }
3454+
34423455"""Represents the permissions for a pipeline."""
34433456type PipelinePermissions {
34443457 createTemplateVersion : CreateTemplateVersionPermission !
@@ -3552,6 +3565,7 @@ type PipelineTemplate {
35523565 config : String
35533566 currentVersion : PipelineTemplateVersion
35543567 description : String
3568+ documentation : String
35553569 functionalType : PipelineFunctionalType
35563570 id : UUID !
35573571 name : String !
@@ -3611,8 +3625,10 @@ type PipelineTemplateResultPage {
36113625type PipelineTemplateVersion {
36123626 changelog : String
36133627 createdAt : DateTime !
3628+ documentation : String
36143629 id : UUID !
36153630 isLatestVersion : Boolean !
3631+ name : String
36163632 permissions : PipelineTemplateVersionPermissions !
36173633 sourcePipelineVersion : PipelineVersion !
36183634 template : PipelineTemplate !
@@ -3887,6 +3903,12 @@ type Query {
38873903 """Retrieves a pipeline by workspace slug and code."""
38883904 pipelineByCode (code : String ! , workspaceSlug : String ! ): Pipeline
38893905
3906+ """
3907+ Resolves the list of choices for a parameter backed by a workspace file.
3908+ Returns a list of string values read from the file at the time of the call.
3909+ """
3910+ pipelineParameterChoices (parameterCode : String ! , pipelineVersionId : UUID ! ): [String ! ]
3911+
38903912 """Retrieves a pipeline run by ID."""
38913913 pipelineRun (id : UUID ! ): PipelineRun
38923914
@@ -4997,6 +5019,7 @@ type UpdatePipelineResult {
49975019Enum representing the possible errors that can occur when updating a pipeline version.
49985020"""
49995021enum UpdatePipelineVersionError {
5022+ INVALID_CONFIG
50005023 NOT_FOUND
50015024 PERMISSION_DENIED
50025025}
@@ -5093,7 +5116,9 @@ enum UpdateTemplateVersionError {
50935116"""Represents the input for updating a template version."""
50945117input UpdateTemplateVersionInput {
50955118 changelog : String
5119+ documentation : String
50965120 id : UUID !
5121+ name : String
50975122}
50985123
50995124"""Represents the result of updating a template version."""
@@ -5672,4 +5697,4 @@ type WriteFileContentResult {
56725697 filePath : String
56735698 size : Int
56745699 success : Boolean !
5675- }
5700+ }
0 commit comments