@galaxy-tool-util/schema 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/README.md +13 -0
  2. package/dist/index.d.ts +69 -0
  3. package/dist/index.d.ts.map +1 -0
  4. package/dist/index.js +69 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/schema/bundle-types.d.ts +249 -0
  7. package/dist/schema/bundle-types.d.ts.map +1 -0
  8. package/dist/schema/bundle-types.js +74 -0
  9. package/dist/schema/bundle-types.js.map +1 -0
  10. package/dist/schema/index.d.ts +6 -0
  11. package/dist/schema/index.d.ts.map +1 -0
  12. package/dist/schema/index.js +6 -0
  13. package/dist/schema/index.js.map +1 -0
  14. package/dist/schema/model-factory.d.ts +14 -0
  15. package/dist/schema/model-factory.d.ts.map +1 -0
  16. package/dist/schema/model-factory.js +96 -0
  17. package/dist/schema/model-factory.js.map +1 -0
  18. package/dist/schema/parameters/base.d.ts +62 -0
  19. package/dist/schema/parameters/base.d.ts.map +1 -0
  20. package/dist/schema/parameters/base.js +51 -0
  21. package/dist/schema/parameters/base.js.map +1 -0
  22. package/dist/schema/parameters/gx-baseurl.d.ts +2 -0
  23. package/dist/schema/parameters/gx-baseurl.d.ts.map +1 -0
  24. package/dist/schema/parameters/gx-baseurl.js +16 -0
  25. package/dist/schema/parameters/gx-baseurl.js.map +1 -0
  26. package/dist/schema/parameters/gx-boolean.d.ts +2 -0
  27. package/dist/schema/parameters/gx-boolean.d.ts.map +1 -0
  28. package/dist/schema/parameters/gx-boolean.js +29 -0
  29. package/dist/schema/parameters/gx-boolean.js.map +1 -0
  30. package/dist/schema/parameters/gx-color.d.ts +2 -0
  31. package/dist/schema/parameters/gx-color.d.ts.map +1 -0
  32. package/dist/schema/parameters/gx-color.js +26 -0
  33. package/dist/schema/parameters/gx-color.js.map +1 -0
  34. package/dist/schema/parameters/gx-conditional.d.ts +2 -0
  35. package/dist/schema/parameters/gx-conditional.d.ts.map +1 -0
  36. package/dist/schema/parameters/gx-conditional.js +56 -0
  37. package/dist/schema/parameters/gx-conditional.js.map +1 -0
  38. package/dist/schema/parameters/gx-data-collection.d.ts +2 -0
  39. package/dist/schema/parameters/gx-data-collection.d.ts.map +1 -0
  40. package/dist/schema/parameters/gx-data-collection.js +146 -0
  41. package/dist/schema/parameters/gx-data-collection.js.map +1 -0
  42. package/dist/schema/parameters/gx-data-column.d.ts +2 -0
  43. package/dist/schema/parameters/gx-data-column.d.ts.map +1 -0
  44. package/dist/schema/parameters/gx-data-column.js +49 -0
  45. package/dist/schema/parameters/gx-data-column.js.map +1 -0
  46. package/dist/schema/parameters/gx-data.d.ts +2 -0
  47. package/dist/schema/parameters/gx-data.d.ts.map +1 -0
  48. package/dist/schema/parameters/gx-data.js +107 -0
  49. package/dist/schema/parameters/gx-data.js.map +1 -0
  50. package/dist/schema/parameters/gx-directory-uri.d.ts +2 -0
  51. package/dist/schema/parameters/gx-directory-uri.d.ts.map +1 -0
  52. package/dist/schema/parameters/gx-directory-uri.js +19 -0
  53. package/dist/schema/parameters/gx-directory-uri.js.map +1 -0
  54. package/dist/schema/parameters/gx-drill-down.d.ts +2 -0
  55. package/dist/schema/parameters/gx-drill-down.d.ts.map +1 -0
  56. package/dist/schema/parameters/gx-drill-down.js +40 -0
  57. package/dist/schema/parameters/gx-drill-down.js.map +1 -0
  58. package/dist/schema/parameters/gx-float.d.ts +2 -0
  59. package/dist/schema/parameters/gx-float.d.ts.map +1 -0
  60. package/dist/schema/parameters/gx-float.js +46 -0
  61. package/dist/schema/parameters/gx-float.js.map +1 -0
  62. package/dist/schema/parameters/gx-genomebuild.d.ts +2 -0
  63. package/dist/schema/parameters/gx-genomebuild.d.ts.map +1 -0
  64. package/dist/schema/parameters/gx-genomebuild.js +23 -0
  65. package/dist/schema/parameters/gx-genomebuild.js.map +1 -0
  66. package/dist/schema/parameters/gx-group-tag.d.ts +2 -0
  67. package/dist/schema/parameters/gx-group-tag.d.ts.map +1 -0
  68. package/dist/schema/parameters/gx-group-tag.js +23 -0
  69. package/dist/schema/parameters/gx-group-tag.js.map +1 -0
  70. package/dist/schema/parameters/gx-hidden.d.ts +2 -0
  71. package/dist/schema/parameters/gx-hidden.d.ts.map +1 -0
  72. package/dist/schema/parameters/gx-hidden.js +33 -0
  73. package/dist/schema/parameters/gx-hidden.js.map +1 -0
  74. package/dist/schema/parameters/gx-integer.d.ts +2 -0
  75. package/dist/schema/parameters/gx-integer.d.ts.map +1 -0
  76. package/dist/schema/parameters/gx-integer.js +47 -0
  77. package/dist/schema/parameters/gx-integer.js.map +1 -0
  78. package/dist/schema/parameters/gx-repeat.d.ts +2 -0
  79. package/dist/schema/parameters/gx-repeat.d.ts.map +1 -0
  80. package/dist/schema/parameters/gx-repeat.js +30 -0
  81. package/dist/schema/parameters/gx-repeat.js.map +1 -0
  82. package/dist/schema/parameters/gx-rules.d.ts +2 -0
  83. package/dist/schema/parameters/gx-rules.d.ts.map +1 -0
  84. package/dist/schema/parameters/gx-rules.js +91 -0
  85. package/dist/schema/parameters/gx-rules.js.map +1 -0
  86. package/dist/schema/parameters/gx-section.d.ts +2 -0
  87. package/dist/schema/parameters/gx-section.d.ts.map +1 -0
  88. package/dist/schema/parameters/gx-section.js +17 -0
  89. package/dist/schema/parameters/gx-section.js.map +1 -0
  90. package/dist/schema/parameters/gx-select.d.ts +2 -0
  91. package/dist/schema/parameters/gx-select.d.ts.map +1 -0
  92. package/dist/schema/parameters/gx-select.js +63 -0
  93. package/dist/schema/parameters/gx-select.js.map +1 -0
  94. package/dist/schema/parameters/gx-text.d.ts +2 -0
  95. package/dist/schema/parameters/gx-text.d.ts.map +1 -0
  96. package/dist/schema/parameters/gx-text.js +22 -0
  97. package/dist/schema/parameters/gx-text.js.map +1 -0
  98. package/dist/schema/parameters/index.d.ts +21 -0
  99. package/dist/schema/parameters/index.d.ts.map +1 -0
  100. package/dist/schema/parameters/index.js +24 -0
  101. package/dist/schema/parameters/index.js.map +1 -0
  102. package/dist/schema/parameters/registry.d.ts +6 -0
  103. package/dist/schema/parameters/registry.d.ts.map +1 -0
  104. package/dist/schema/parameters/registry.js +18 -0
  105. package/dist/schema/parameters/registry.js.map +1 -0
  106. package/dist/schema/state-representations.d.ts +14 -0
  107. package/dist/schema/state-representations.d.ts.map +1 -0
  108. package/dist/schema/state-representations.js +61 -0
  109. package/dist/schema/state-representations.js.map +1 -0
  110. package/dist/schema/validators/empty-field.d.ts +2 -0
  111. package/dist/schema/validators/empty-field.d.ts.map +1 -0
  112. package/dist/schema/validators/empty-field.js +12 -0
  113. package/dist/schema/validators/empty-field.js.map +1 -0
  114. package/dist/schema/validators/expression.d.ts +2 -0
  115. package/dist/schema/validators/expression.d.ts.map +1 -0
  116. package/dist/schema/validators/expression.js +42 -0
  117. package/dist/schema/validators/expression.js.map +1 -0
  118. package/dist/schema/validators/in-range.d.ts +2 -0
  119. package/dist/schema/validators/in-range.d.ts.map +1 -0
  120. package/dist/schema/validators/in-range.js +36 -0
  121. package/dist/schema/validators/in-range.js.map +1 -0
  122. package/dist/schema/validators/index.d.ts +8 -0
  123. package/dist/schema/validators/index.d.ts.map +1 -0
  124. package/dist/schema/validators/index.js +10 -0
  125. package/dist/schema/validators/index.js.map +1 -0
  126. package/dist/schema/validators/length.d.ts +2 -0
  127. package/dist/schema/validators/length.d.ts.map +1 -0
  128. package/dist/schema/validators/length.js +29 -0
  129. package/dist/schema/validators/length.js.map +1 -0
  130. package/dist/schema/validators/no-options.d.ts +2 -0
  131. package/dist/schema/validators/no-options.d.ts.map +1 -0
  132. package/dist/schema/validators/no-options.js +10 -0
  133. package/dist/schema/validators/no-options.js.map +1 -0
  134. package/dist/schema/validators/regex.d.ts +27 -0
  135. package/dist/schema/validators/regex.d.ts.map +1 -0
  136. package/dist/schema/validators/regex.js +100 -0
  137. package/dist/schema/validators/regex.js.map +1 -0
  138. package/dist/schema/validators/registry.d.ts +19 -0
  139. package/dist/schema/validators/registry.d.ts.map +1 -0
  140. package/dist/schema/validators/registry.js +29 -0
  141. package/dist/schema/validators/registry.js.map +1 -0
  142. package/dist/workflow/clean.d.ts +13 -0
  143. package/dist/workflow/clean.d.ts.map +1 -0
  144. package/dist/workflow/clean.js +131 -0
  145. package/dist/workflow/clean.js.map +1 -0
  146. package/dist/workflow/detect-format.d.ts +5 -0
  147. package/dist/workflow/detect-format.d.ts.map +1 -0
  148. package/dist/workflow/detect-format.js +11 -0
  149. package/dist/workflow/detect-format.js.map +1 -0
  150. package/dist/workflow/index.d.ts +9 -0
  151. package/dist/workflow/index.d.ts.map +1 -0
  152. package/dist/workflow/index.js +11 -0
  153. package/dist/workflow/index.js.map +1 -0
  154. package/dist/workflow/legacy-encoding.d.ts +40 -0
  155. package/dist/workflow/legacy-encoding.d.ts.map +1 -0
  156. package/dist/workflow/legacy-encoding.js +81 -0
  157. package/dist/workflow/legacy-encoding.js.map +1 -0
  158. package/dist/workflow/lint.d.ts +49 -0
  159. package/dist/workflow/lint.d.ts.map +1 -0
  160. package/dist/workflow/lint.js +402 -0
  161. package/dist/workflow/lint.js.map +1 -0
  162. package/dist/workflow/normalized/comments.d.ts +21 -0
  163. package/dist/workflow/normalized/comments.d.ts.map +1 -0
  164. package/dist/workflow/normalized/comments.js +80 -0
  165. package/dist/workflow/normalized/comments.js.map +1 -0
  166. package/dist/workflow/normalized/ensure.d.ts +21 -0
  167. package/dist/workflow/normalized/ensure.d.ts.map +1 -0
  168. package/dist/workflow/normalized/ensure.js +43 -0
  169. package/dist/workflow/normalized/ensure.js.map +1 -0
  170. package/dist/workflow/normalized/expanded.d.ts +62 -0
  171. package/dist/workflow/normalized/expanded.d.ts.map +1 -0
  172. package/dist/workflow/normalized/expanded.js +173 -0
  173. package/dist/workflow/normalized/expanded.js.map +1 -0
  174. package/dist/workflow/normalized/format2.d.ts +149 -0
  175. package/dist/workflow/normalized/format2.d.ts.map +1 -0
  176. package/dist/workflow/normalized/format2.js +416 -0
  177. package/dist/workflow/normalized/format2.js.map +1 -0
  178. package/dist/workflow/normalized/index.d.ts +9 -0
  179. package/dist/workflow/normalized/index.d.ts.map +1 -0
  180. package/dist/workflow/normalized/index.js +9 -0
  181. package/dist/workflow/normalized/index.js.map +1 -0
  182. package/dist/workflow/normalized/labels.d.ts +27 -0
  183. package/dist/workflow/normalized/labels.d.ts.map +1 -0
  184. package/dist/workflow/normalized/labels.js +59 -0
  185. package/dist/workflow/normalized/labels.js.map +1 -0
  186. package/dist/workflow/normalized/native.d.ts +97 -0
  187. package/dist/workflow/normalized/native.d.ts.map +1 -0
  188. package/dist/workflow/normalized/native.js +189 -0
  189. package/dist/workflow/normalized/native.js.map +1 -0
  190. package/dist/workflow/normalized/toFormat2.d.ts +11 -0
  191. package/dist/workflow/normalized/toFormat2.d.ts.map +1 -0
  192. package/dist/workflow/normalized/toFormat2.js +416 -0
  193. package/dist/workflow/normalized/toFormat2.js.map +1 -0
  194. package/dist/workflow/normalized/toNative.d.ts +11 -0
  195. package/dist/workflow/normalized/toNative.d.ts.map +1 -0
  196. package/dist/workflow/normalized/toNative.js +576 -0
  197. package/dist/workflow/normalized/toNative.js.map +1 -0
  198. package/dist/workflow/raw/gxformat2.d.ts +402 -0
  199. package/dist/workflow/raw/gxformat2.d.ts.map +1 -0
  200. package/dist/workflow/raw/gxformat2.effect.d.ts +1140 -0
  201. package/dist/workflow/raw/gxformat2.effect.d.ts.map +1 -0
  202. package/dist/workflow/raw/gxformat2.effect.js +453 -0
  203. package/dist/workflow/raw/gxformat2.effect.js.map +1 -0
  204. package/dist/workflow/raw/gxformat2.js +3 -0
  205. package/dist/workflow/raw/gxformat2.js.map +1 -0
  206. package/dist/workflow/raw/index.d.ts +5 -0
  207. package/dist/workflow/raw/index.d.ts.map +1 -0
  208. package/dist/workflow/raw/index.js +4 -0
  209. package/dist/workflow/raw/index.js.map +1 -0
  210. package/dist/workflow/raw/native.d.ts +439 -0
  211. package/dist/workflow/raw/native.d.ts.map +1 -0
  212. package/dist/workflow/raw/native.effect.d.ts +947 -0
  213. package/dist/workflow/raw/native.effect.d.ts.map +1 -0
  214. package/dist/workflow/raw/native.effect.js +474 -0
  215. package/dist/workflow/raw/native.effect.js.map +1 -0
  216. package/dist/workflow/raw/native.js +20 -0
  217. package/dist/workflow/raw/native.js.map +1 -0
  218. package/dist/workflow/replacement-scan.d.ts +21 -0
  219. package/dist/workflow/replacement-scan.d.ts.map +1 -0
  220. package/dist/workflow/replacement-scan.js +92 -0
  221. package/dist/workflow/replacement-scan.js.map +1 -0
  222. package/dist/workflow/state-merge.d.ts +49 -0
  223. package/dist/workflow/state-merge.d.ts.map +1 -0
  224. package/dist/workflow/state-merge.js +248 -0
  225. package/dist/workflow/state-merge.js.map +1 -0
  226. package/package.json +45 -0
@@ -0,0 +1,947 @@
1
+ import { Schema } from "effect";
2
+ /**
3
+ * Salad data types are based on Avro schema declarations. Refer to the
4
+ [Avro schema declaration documentation](https://avro.apache.org/docs/current/spec.html#schemas) for
5
+ detailed information.
6
+
7
+ null: no value
8
+ boolean: a binary value
9
+ int: 32-bit signed integer
10
+ long: 64-bit signed integer
11
+ float: single precision (32-bit) IEEE 754 floating-point number
12
+ double: double precision (64-bit) IEEE 754 floating-point number
13
+ string: Unicode character sequence
14
+ */
15
+ export declare const PrimitiveTypeSchema: Schema.Literal<["null", "boolean", "int", "long", "float", "double", "string"]>;
16
+ export type PrimitiveType = typeof PrimitiveTypeSchema.Type;
17
+ /**
18
+ * Step module types in the native Galaxy workflow format.
19
+ data_input: A single dataset input to the workflow.
20
+ data_collection_input: A dataset collection input to the workflow.
21
+ parameter_input: A typed parameter input (text, integer, float, boolean, color).
22
+ tool: A Galaxy tool execution step.
23
+ subworkflow: An embedded or referenced sub-workflow.
24
+ pause: A manual pause point that halts execution until user intervention.
25
+ pick_value: Select the first non-null value from multiple inputs.
26
+ */
27
+ export declare const NativeStepTypeSchema: Schema.Literal<["data_input", "data_collection_input", "parameter_input", "tool", "subworkflow", "pause", "pick_value"]>;
28
+ export type NativeStepType = typeof NativeStepTypeSchema.Type;
29
+ export declare const DocumentedSchema: Schema.Struct<{
30
+ /** A documentation string for this object, or an array of strings which should be concatenated. */
31
+ doc: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String, Schema.Array$<typeof Schema.String>]>>;
32
+ }>;
33
+ export type Documented = typeof DocumentedSchema.Type;
34
+ export declare const RecordSchemaSchema: Schema.Struct<{
35
+ /** Defines the fields of the record. */
36
+ fields: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.suspend<any, any, never>>]>>;
37
+ /** Must be `record` */
38
+ type: Schema.Literal<["record"]>;
39
+ }>;
40
+ export type RecordSchema = typeof RecordSchemaSchema.Type;
41
+ /**
42
+ * Define an enumerated type.
43
+ */
44
+ export declare const EnumSchemaSchema: Schema.Struct<{
45
+ /** Defines the set of valid symbols. */
46
+ symbols: Schema.Array$<typeof Schema.String>;
47
+ /** Must be `enum` */
48
+ type: Schema.Literal<["enum"]>;
49
+ }>;
50
+ export type EnumSchema = typeof EnumSchemaSchema.Type;
51
+ export declare const ArraySchemaSchema: Schema.Struct<{
52
+ /** Defines the type of the array elements. */
53
+ items: Schema.Union<[Schema.Literal<["null", "boolean", "int", "long", "float", "double", "string"]>, Schema.Struct<{
54
+ /** Defines the fields of the record. */
55
+ fields: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.suspend<any, any, never>>]>>;
56
+ /** Must be `record` */
57
+ type: Schema.Literal<["record"]>;
58
+ }>, Schema.Struct<{
59
+ /** Defines the set of valid symbols. */
60
+ symbols: Schema.Array$<typeof Schema.String>;
61
+ /** Must be `enum` */
62
+ type: Schema.Literal<["enum"]>;
63
+ }>, Schema.suspend<any, any, never>, typeof Schema.String, Schema.Array$<Schema.Union<[Schema.Literal<["null", "boolean", "int", "long", "float", "double", "string"]>, Schema.Struct<{
64
+ /** Defines the fields of the record. */
65
+ fields: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.suspend<any, any, never>>]>>;
66
+ /** Must be `record` */
67
+ type: Schema.Literal<["record"]>;
68
+ }>, Schema.Struct<{
69
+ /** Defines the set of valid symbols. */
70
+ symbols: Schema.Array$<typeof Schema.String>;
71
+ /** Must be `enum` */
72
+ type: Schema.Literal<["enum"]>;
73
+ }>, Schema.suspend<any, any, never>, typeof Schema.String]>>]>;
74
+ /** Must be `array` */
75
+ type: Schema.Literal<["array"]>;
76
+ }>;
77
+ export type ArraySchema = typeof ArraySchemaSchema.Type;
78
+ /**
79
+ * A field of a record.
80
+ */
81
+ export declare const RecordFieldSchema: Schema.Struct<{
82
+ /** The name of the field */
83
+ name: typeof Schema.String;
84
+ /** The field type */
85
+ type: Schema.Union<[Schema.Literal<["null", "boolean", "int", "long", "float", "double", "string"]>, Schema.Struct<{
86
+ /** Defines the fields of the record. */
87
+ fields: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.suspend<any, any, never>>]>>;
88
+ /** Must be `record` */
89
+ type: Schema.Literal<["record"]>;
90
+ }>, Schema.Struct<{
91
+ /** Defines the set of valid symbols. */
92
+ symbols: Schema.Array$<typeof Schema.String>;
93
+ /** Must be `enum` */
94
+ type: Schema.Literal<["enum"]>;
95
+ }>, Schema.Struct<{
96
+ /** Defines the type of the array elements. */
97
+ items: Schema.Union<[Schema.Literal<["null", "boolean", "int", "long", "float", "double", "string"]>, Schema.Struct<{
98
+ /** Defines the fields of the record. */
99
+ fields: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.suspend<any, any, never>>]>>;
100
+ /** Must be `record` */
101
+ type: Schema.Literal<["record"]>;
102
+ }>, Schema.Struct<{
103
+ /** Defines the set of valid symbols. */
104
+ symbols: Schema.Array$<typeof Schema.String>;
105
+ /** Must be `enum` */
106
+ type: Schema.Literal<["enum"]>;
107
+ }>, Schema.suspend<any, any, never>, typeof Schema.String, Schema.Array$<Schema.Union<[Schema.Literal<["null", "boolean", "int", "long", "float", "double", "string"]>, Schema.Struct<{
108
+ /** Defines the fields of the record. */
109
+ fields: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.suspend<any, any, never>>]>>;
110
+ /** Must be `record` */
111
+ type: Schema.Literal<["record"]>;
112
+ }>, Schema.Struct<{
113
+ /** Defines the set of valid symbols. */
114
+ symbols: Schema.Array$<typeof Schema.String>;
115
+ /** Must be `enum` */
116
+ type: Schema.Literal<["enum"]>;
117
+ }>, Schema.suspend<any, any, never>, typeof Schema.String]>>]>;
118
+ /** Must be `array` */
119
+ type: Schema.Literal<["array"]>;
120
+ }>, typeof Schema.String, Schema.Array$<Schema.Union<[Schema.Literal<["null", "boolean", "int", "long", "float", "double", "string"]>, Schema.Struct<{
121
+ /** Defines the fields of the record. */
122
+ fields: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.suspend<any, any, never>>]>>;
123
+ /** Must be `record` */
124
+ type: Schema.Literal<["record"]>;
125
+ }>, Schema.Struct<{
126
+ /** Defines the set of valid symbols. */
127
+ symbols: Schema.Array$<typeof Schema.String>;
128
+ /** Must be `enum` */
129
+ type: Schema.Literal<["enum"]>;
130
+ }>, Schema.Struct<{
131
+ /** Defines the type of the array elements. */
132
+ items: Schema.Union<[Schema.Literal<["null", "boolean", "int", "long", "float", "double", "string"]>, Schema.Struct<{
133
+ /** Defines the fields of the record. */
134
+ fields: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.suspend<any, any, never>>]>>;
135
+ /** Must be `record` */
136
+ type: Schema.Literal<["record"]>;
137
+ }>, Schema.Struct<{
138
+ /** Defines the set of valid symbols. */
139
+ symbols: Schema.Array$<typeof Schema.String>;
140
+ /** Must be `enum` */
141
+ type: Schema.Literal<["enum"]>;
142
+ }>, Schema.suspend<any, any, never>, typeof Schema.String, Schema.Array$<Schema.Union<[Schema.Literal<["null", "boolean", "int", "long", "float", "double", "string"]>, Schema.Struct<{
143
+ /** Defines the fields of the record. */
144
+ fields: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.suspend<any, any, never>>]>>;
145
+ /** Must be `record` */
146
+ type: Schema.Literal<["record"]>;
147
+ }>, Schema.Struct<{
148
+ /** Defines the set of valid symbols. */
149
+ symbols: Schema.Array$<typeof Schema.String>;
150
+ /** Must be `enum` */
151
+ type: Schema.Literal<["enum"]>;
152
+ }>, Schema.suspend<any, any, never>, typeof Schema.String]>>]>;
153
+ /** Must be `array` */
154
+ type: Schema.Literal<["array"]>;
155
+ }>, typeof Schema.String]>>]>;
156
+ doc: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String, Schema.Array$<typeof Schema.String>]>>;
157
+ }>;
158
+ export type RecordField = typeof RecordFieldSchema.Type;
159
+ export declare const HasUUIDSchema: Schema.Struct<{
160
+ /** UUID uniquely representing this element. */
161
+ uuid: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
162
+ }>;
163
+ export type HasUUID = typeof HasUUIDSchema.Type;
164
+ export declare const HasStepErrorsSchema: Schema.Struct<{
165
+ /** During Galaxy export there may be some problem validating the tool state, tool used, etc.. that will be indicated by this field. The Galaxy user should be warned of these problems before the workfl... */
166
+ errors: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
167
+ }>;
168
+ export type HasStepErrors = typeof HasStepErrorsSchema.Type;
169
+ /**
170
+ * This field specifies the location of the step's node when rendered in the workflow editor.
171
+ */
172
+ export declare const StepPositionSchema: Schema.Struct<{
173
+ /** Relative vertical position of the step's node when rendered in the workflow editor. */
174
+ top: typeof Schema.Number;
175
+ /** Relative horizontal position of the step's node when rendered in the workflow editor. */
176
+ left: typeof Schema.Number;
177
+ }>;
178
+ export type StepPosition = typeof StepPositionSchema.Type;
179
+ export declare const HasStepPositionSchema: Schema.Struct<{
180
+ position: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
181
+ /** Relative vertical position of the step's node when rendered in the workflow editor. */
182
+ top: typeof Schema.Number;
183
+ /** Relative horizontal position of the step's node when rendered in the workflow editor. */
184
+ left: typeof Schema.Number;
185
+ }>]>>;
186
+ }>;
187
+ export type HasStepPosition = typeof HasStepPositionSchema.Type;
188
+ export declare const ToolShedRepositorySchema: Schema.Struct<{
189
+ /** The name of the tool shed repository this tool can be found in. */
190
+ name: typeof Schema.String;
191
+ /** The revision of the tool shed repository this tool can be found in. */
192
+ changeset_revision: typeof Schema.String;
193
+ /** The owner of the tool shed repository this tool can be found in. */
194
+ owner: typeof Schema.String;
195
+ /** The URI of the tool shed containing the repository this tool can be found in - typically this should be toolshed.g2.bx.psu.edu. */
196
+ tool_shed: typeof Schema.String;
197
+ }>;
198
+ export type ToolShedRepository = typeof ToolShedRepositorySchema.Type;
199
+ export declare const ReferencesToolSchema: Schema.Struct<{
200
+ /** The tool ID used to run this step of the workflow (e.g. 'cat1' or 'toolshed.g2.bx.psu.edu/repos/nml/collapse_collections/collapse_dataset/4.0'). */
201
+ tool_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
202
+ /** The Galaxy Tool Shed repository that should be installed in order to use this tool. */
203
+ tool_shed_repository: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
204
+ /** The name of the tool shed repository this tool can be found in. */
205
+ name: typeof Schema.String;
206
+ /** The revision of the tool shed repository this tool can be found in. */
207
+ changeset_revision: typeof Schema.String;
208
+ /** The owner of the tool shed repository this tool can be found in. */
209
+ owner: typeof Schema.String;
210
+ /** The URI of the tool shed containing the repository this tool can be found in - typically this should be toolshed.g2.bx.psu.edu. */
211
+ tool_shed: typeof Schema.String;
212
+ }>]>>;
213
+ /** The tool version corresponding used to run this step of the workflow. For tool shed installed tools, the ID generally uniquely specifies a version and this field is optional. */
214
+ tool_version: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
215
+ }>;
216
+ export type ReferencesTool = typeof ReferencesToolSchema.Type;
217
+ /**
218
+ * Describes an input parameter on a step. This is metadata about the input,
219
+ not the connection wiring (which is in ``input_connections``).
220
+ */
221
+ export declare const NativeStepInputSchema: Schema.Struct<{
222
+ /** Name of the input parameter. */
223
+ name: typeof Schema.String;
224
+ /** Human-readable description of this input. */
225
+ description: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
226
+ }>;
227
+ export type NativeStepInput = typeof NativeStepInputSchema.Type;
228
+ /**
229
+ * Declares an output produced by a step, with its name and datatype.
230
+ */
231
+ export declare const NativeStepOutputSchema: Schema.Struct<{
232
+ /** Name of the output. */
233
+ name: typeof Schema.String;
234
+ /** Galaxy datatype extension for the output (e.g. ``bam``, ``txt``, ``tabular``). The value ``input`` means the type is determined at runtime from the input data. */
235
+ type: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
236
+ }>;
237
+ export type NativeStepOutput = typeof NativeStepOutputSchema.Type;
238
+ /**
239
+ * Designates a step output as a workflow-level output. These appear in the
240
+ ``workflow_outputs`` array on each step.
241
+ */
242
+ export declare const NativeWorkflowOutputSchema: Schema.Struct<{
243
+ /** User-visible label for this workflow output. Must be unique across the workflow. */
244
+ label: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
245
+ /** Name of the step output to expose as a workflow output. */
246
+ output_name: typeof Schema.String;
247
+ /** UUID for this workflow output. */
248
+ uuid: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
249
+ }>;
250
+ export type NativeWorkflowOutput = typeof NativeWorkflowOutputSchema.Type;
251
+ /**
252
+ * Describes a connection from one step's output to another step's input.
253
+ These objects appear as values in the ``input_connections`` dictionary.
254
+
255
+ For multi-valued inputs, the value is an array of these objects rather
256
+ than a single object.
257
+ */
258
+ export declare const NativeInputConnectionSchema: Schema.Struct<{
259
+ /** Step ID of the source step providing the data. */
260
+ id: typeof Schema.Number;
261
+ /** Name of the output on the source step (typically ``"output"`` for input steps). */
262
+ output_name: typeof Schema.String;
263
+ /** For subworkflow steps, the internal step ID within the subworkflow that this connection routes to. Maps the parent connection to the correct input step inside the subworkflow. */
264
+ input_subworkflow_step_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
265
+ }>;
266
+ export type NativeInputConnection = typeof NativeInputConnectionSchema.Type;
267
+ /**
268
+ * An action applied to a step's output after tool execution. These objects
269
+ appear as values in the ``post_job_actions`` dictionary, keyed by
270
+ compound strings of the form ``{ActionType}{OutputName}``
271
+ (e.g. ``HideDatasetActionout_pairs``).
272
+
273
+ Common action types: ``HideDatasetAction``, ``RenameDatasetAction``,
274
+ ``DeleteIntermediatesAction``, ``ChangeDatatypeAction``,
275
+ ``TagDatasetAction``, ``ColumnSetAction``.
276
+ */
277
+ export declare const NativePostJobActionSchema: Schema.Struct<{
278
+ /** The action type identifier (e.g. ``HideDatasetAction``). */
279
+ action_type: typeof Schema.String;
280
+ /** The step output this action applies to. */
281
+ output_name: typeof Schema.String;
282
+ /** Action-specific arguments. For ``RenameDatasetAction``: ``{"newname": "..."}``; for ``ChangeDatatypeAction``: ``{"newtype": "tabular"}``; for ``TagDatasetAction``: ``{"tags": "name:tag"}``. Empty o... */
283
+ action_arguments: Schema.optional<Schema.Union<[Schema.Record$<typeof Schema.String, typeof Schema.Unknown>, typeof Schema.Null]>>;
284
+ }>;
285
+ export type NativePostJobAction = typeof NativePostJobActionSchema.Type;
286
+ /**
287
+ * Data payload for a text comment.
288
+ */
289
+ export declare const NativeTextCommentDataSchema: Schema.Struct<{
290
+ /** The text content. */
291
+ text: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
292
+ /** Whether the text is displayed in bold. */
293
+ bold: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Boolean]>>;
294
+ /** Whether the text is displayed in italic. */
295
+ italic: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Boolean]>>;
296
+ /** Font size of the text. */
297
+ size: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
298
+ }>;
299
+ export type NativeTextCommentData = typeof NativeTextCommentDataSchema.Type;
300
+ /**
301
+ * Data payload for a markdown comment.
302
+ */
303
+ export declare const NativeMarkdownCommentDataSchema: Schema.Struct<{
304
+ /** Markdown content. */
305
+ text: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
306
+ }>;
307
+ export type NativeMarkdownCommentData = typeof NativeMarkdownCommentDataSchema.Type;
308
+ /**
309
+ * Data payload for a frame comment.
310
+ */
311
+ export declare const NativeFrameCommentDataSchema: Schema.Struct<{
312
+ /** Title displayed on the frame header. */
313
+ title: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
314
+ }>;
315
+ export type NativeFrameCommentData = typeof NativeFrameCommentDataSchema.Type;
316
+ /**
317
+ * Data payload for a freehand comment.
318
+ */
319
+ export declare const NativeFreehandCommentDataSchema: Schema.Struct<{
320
+ /** Array of ``[x, y]`` coordinate pairs defining the freehand line path. */
321
+ line: Schema.optional<Schema.Union<[Schema.Array$<Schema.Array$<typeof Schema.Number>>, typeof Schema.Null]>>;
322
+ /** Line thickness. */
323
+ thickness: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
324
+ }>;
325
+ export type NativeFreehandCommentData = typeof NativeFreehandCommentDataSchema.Type;
326
+ /**
327
+ * Base fields shared by all comment types.
328
+ */
329
+ export declare const BaseNativeCommentSchema: Schema.Struct<{
330
+ /** Numeric identifier for this comment (order index). */
331
+ id: typeof Schema.Number;
332
+ /** Position on the editor canvas as ``[x, y]`` coordinates. */
333
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
334
+ /** Size as ``[width, height]``. */
335
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
336
+ /** Display color (e.g. ``"none"``, ``"blue"``). */
337
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
338
+ }>;
339
+ export type BaseNativeComment = typeof BaseNativeCommentSchema.Type;
340
+ /**
341
+ * A plain text annotation in the workflow editor.
342
+ */
343
+ export declare const NativeTextCommentSchema: Schema.Struct<{
344
+ /** Comment type (``text``). */
345
+ type: Schema.Literal<["text"]>;
346
+ /** Text content data: ``text``, ``bold``, ``italic``, ``size``. */
347
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
348
+ /** The text content. */
349
+ text: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
350
+ /** Whether the text is displayed in bold. */
351
+ bold: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Boolean]>>;
352
+ /** Whether the text is displayed in italic. */
353
+ italic: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Boolean]>>;
354
+ /** Font size of the text. */
355
+ size: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
356
+ }>]>>;
357
+ id: typeof Schema.Number;
358
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
359
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
360
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
361
+ }>;
362
+ export type NativeTextComment = typeof NativeTextCommentSchema.Type;
363
+ /**
364
+ * A Markdown-rendered annotation in the workflow editor.
365
+ */
366
+ export declare const NativeMarkdownCommentSchema: Schema.Struct<{
367
+ /** Comment type (``markdown``). */
368
+ type: Schema.Literal<["markdown"]>;
369
+ /** Markdown content data: ``text``. */
370
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
371
+ /** Markdown content. */
372
+ text: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
373
+ }>]>>;
374
+ id: typeof Schema.Number;
375
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
376
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
377
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
378
+ }>;
379
+ export type NativeMarkdownComment = typeof NativeMarkdownCommentSchema.Type;
380
+ /**
381
+ * A rectangular grouping box that visually contains steps and other comments.
382
+ */
383
+ export declare const NativeFrameCommentSchema: Schema.Struct<{
384
+ /** Comment type (``frame``). */
385
+ type: Schema.Literal<["frame"]>;
386
+ /** Frame content data: ``title``. */
387
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
388
+ /** Title displayed on the frame header. */
389
+ title: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
390
+ }>]>>;
391
+ /** Step IDs contained within this frame. */
392
+ child_steps: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<typeof Schema.Number>]>>;
393
+ /** Comment IDs contained within this frame. */
394
+ child_comments: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<typeof Schema.Number>]>>;
395
+ id: typeof Schema.Number;
396
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
397
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
398
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
399
+ }>;
400
+ export type NativeFrameComment = typeof NativeFrameCommentSchema.Type;
401
+ /**
402
+ * A freehand drawn line on the editor canvas.
403
+ */
404
+ export declare const NativeFreehandCommentSchema: Schema.Struct<{
405
+ /** Comment type (``freehand``). */
406
+ type: Schema.Literal<["freehand"]>;
407
+ /** Freehand content data: ``line``, ``thickness``. */
408
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
409
+ /** Array of ``[x, y]`` coordinate pairs defining the freehand line path. */
410
+ line: Schema.optional<Schema.Union<[Schema.Array$<Schema.Array$<typeof Schema.Number>>, typeof Schema.Null]>>;
411
+ /** Line thickness. */
412
+ thickness: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
413
+ }>]>>;
414
+ id: typeof Schema.Number;
415
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
416
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
417
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
418
+ }>;
419
+ export type NativeFreehandComment = typeof NativeFreehandCommentSchema.Type;
420
+ /**
421
+ * Provenance tracking for workflows imported from external sources.
422
+ Contains either a direct URL or TRS (Tool Registry Service) metadata,
423
+ depending on how the workflow was imported.
424
+
425
+ For URL imports, only ``url`` is set. For TRS imports (Dockstore,
426
+ WorkflowHub), ``trs_tool_id``, ``trs_version_id``, and ``trs_url``
427
+ are set, with ``trs_server`` optionally identifying the server.
428
+ */
429
+ export declare const NativeSourceMetadataSchema: Schema.Struct<{
430
+ /** URL from which the workflow was directly imported. */
431
+ url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
432
+ /** Tool identifier in the Tool Registry Service (e.g. ``"#workflow/github.com/user/repo/workflow"`` or ``"109"``). */
433
+ trs_tool_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
434
+ /** Version identifier in the TRS (e.g. ``"master"``, ``"5"``). */
435
+ trs_version_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
436
+ /** TRS server name (e.g. ``"dockstore"``, ``"workflowhub"``). Optional even for TRS imports. */
437
+ trs_server: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
438
+ /** Complete TRS API endpoint URL for this workflow version. */
439
+ trs_url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
440
+ }>;
441
+ export type NativeSourceMetadata = typeof NativeSourceMetadataSchema.Type;
442
+ /**
443
+ * Workflow invocation report template.
444
+ */
445
+ export declare const NativeReportSchema: Schema.Struct<{
446
+ /** Galaxy-flavored Markdown content for the invocation report. Supports template directives like ``history_dataset_as_image(output="...")``. */
447
+ markdown: typeof Schema.String;
448
+ }>;
449
+ export type NativeReport = typeof NativeReportSchema.Type;
450
+ /**
451
+ * Base fields shared by all creator types, corresponding to schema.org
452
+ Thing properties common to both Person and Organization.
453
+ */
454
+ export declare const BaseNativeCreatorSchema: Schema.Struct<{
455
+ /** Full name of the person or organization. */
456
+ name: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
457
+ /** Persistent identifier, typically an ORCID URL (e.g. ``https://orcid.org/0000-0001-2345-6789``) or bare ORCID. */
458
+ identifier: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
459
+ /** Website or profile URL. */
460
+ url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
461
+ /** Email address. May include a ``mailto:`` prefix. */
462
+ email: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
463
+ /** URL to an image or avatar. */
464
+ image: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
465
+ /** Physical or mailing address. */
466
+ address: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
467
+ /** An alternate name or alias. */
468
+ alternateName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
469
+ /** Telephone number. */
470
+ telephone: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
471
+ /** Fax number. */
472
+ faxNumber: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
473
+ }>;
474
+ export type BaseNativeCreator = typeof BaseNativeCreatorSchema.Type;
475
+ /**
476
+ * A person who created or contributed to the workflow.
477
+ Corresponds to a `schema.org Person <https://schema.org/Person>`_.
478
+ */
479
+ export declare const NativeCreatorPersonSchema: Schema.Struct<{
480
+ /** Creator type discriminator (``Person``). */
481
+ class: Schema.Literal<["Person"]>;
482
+ /** Given (first) name. */
483
+ givenName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
484
+ /** Family (last) name. */
485
+ familyName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
486
+ /** Honorific prefix (e.g. ``Dr``, ``Prof``). */
487
+ honorificPrefix: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
488
+ /** Honorific suffix (e.g. ``M.D.``, ``PhD``). */
489
+ honorificSuffix: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
490
+ /** Job title or role. */
491
+ jobTitle: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
492
+ name: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
493
+ identifier: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
494
+ url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
495
+ email: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
496
+ image: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
497
+ address: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
498
+ alternateName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
499
+ telephone: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
500
+ faxNumber: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
501
+ }>;
502
+ export type NativeCreatorPerson = typeof NativeCreatorPersonSchema.Type;
503
+ /**
504
+ * An organization that created or contributed to the workflow.
505
+ Corresponds to a `schema.org Organization <https://schema.org/Organization>`_.
506
+ */
507
+ export declare const NativeCreatorOrganizationSchema: Schema.Struct<{
508
+ /** Creator type discriminator (``Organization``). */
509
+ class: Schema.Literal<["Organization"]>;
510
+ name: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
511
+ identifier: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
512
+ url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
513
+ email: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
514
+ image: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
515
+ address: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
516
+ alternateName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
517
+ telephone: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
518
+ faxNumber: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
519
+ }>;
520
+ export type NativeCreatorOrganization = typeof NativeCreatorOrganizationSchema.Type;
521
+ /**
522
+ * A Galaxy native workflow document (.ga format). This is the canonical
523
+ serialization format used internally by Galaxy.
524
+
525
+ The native format mirrors the database schema directly -- steps are keyed
526
+ by numeric IDs, connections reference step IDs, and tool state is stored
527
+ as double-encoded JSON strings.
528
+
529
+ The format version has been ``"0.1"`` since inception. New features are
530
+ added without version bumps.
531
+ */
532
+ export declare const NativeGalaxyWorkflowSchema: Schema.Struct<{
533
+ /** Workflow display name. */
534
+ name: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
535
+ class: Schema.Literal<["NativeGalaxyWorkflow"]>;
536
+ /** Format marker. Always the string ``"true"``. */
537
+ a_galaxy_workflow: typeof Schema.String;
538
+ /** Format version. Always ``"0.1"`` currently. In the JSON document this field is written as ``format-version``. */
539
+ "format-version": typeof Schema.String;
540
+ /** Human-readable workflow description. */
541
+ annotation: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
542
+ /** Classification tags for the workflow. */
543
+ tags: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<typeof Schema.String>]>>;
544
+ /** Internal revision counter. */
545
+ version: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
546
+ /** SPDX license identifier (e.g. ``"MIT"``, ``"CC-BY-4.0"``). */
547
+ license: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
548
+ /** Semantic version for published workflows. */
549
+ release: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
550
+ /** Creator(s) of this workflow. An array of schema.org NativeCreatorPerson or NativeCreatorOrganization objects, dispatched via the ``class`` field (``Person`` or ``Organization``). */
551
+ creator: Schema.optional<Schema.Union<[Schema.Array$<Schema.Union<[Schema.Struct<{
552
+ /** Creator type discriminator (``Person``). */
553
+ class: Schema.Literal<["Person"]>;
554
+ /** Given (first) name. */
555
+ givenName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
556
+ /** Family (last) name. */
557
+ familyName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
558
+ /** Honorific prefix (e.g. ``Dr``, ``Prof``). */
559
+ honorificPrefix: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
560
+ /** Honorific suffix (e.g. ``M.D.``, ``PhD``). */
561
+ honorificSuffix: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
562
+ /** Job title or role. */
563
+ jobTitle: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
564
+ name: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
565
+ identifier: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
566
+ url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
567
+ email: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
568
+ image: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
569
+ address: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
570
+ alternateName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
571
+ telephone: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
572
+ faxNumber: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
573
+ }>, Schema.Struct<{
574
+ /** Creator type discriminator (``Organization``). */
575
+ class: Schema.Literal<["Organization"]>;
576
+ name: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
577
+ identifier: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
578
+ url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
579
+ email: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
580
+ image: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
581
+ address: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
582
+ alternateName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
583
+ telephone: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
584
+ faxNumber: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
585
+ }>]>>, typeof Schema.Null]>>;
586
+ /** Workflow invocation report template. */
587
+ report: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
588
+ /** Galaxy-flavored Markdown content for the invocation report. Supports template directives like ``history_dataset_as_image(output="...")``. */
589
+ markdown: typeof Schema.String;
590
+ }>]>>;
591
+ /** Detailed workflow description in Markdown. */
592
+ readme: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
593
+ /** Help text in Markdown. */
594
+ help: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
595
+ /** URL to workflow logo image. */
596
+ logo_url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
597
+ /** Associated DOIs. */
598
+ doi: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<typeof Schema.String>]>>;
599
+ /** Provenance tracking metadata for workflows imported from TRS or URLs. */
600
+ source_metadata: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
601
+ /** URL from which the workflow was directly imported. */
602
+ url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
603
+ /** Tool identifier in the Tool Registry Service (e.g. ``"#workflow/github.com/user/repo/workflow"`` or ``"109"``). */
604
+ trs_tool_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
605
+ /** Version identifier in the TRS (e.g. ``"master"``, ``"5"``). */
606
+ trs_version_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
607
+ /** TRS server name (e.g. ``"dockstore"``, ``"workflowhub"``). Optional even for TRS imports. */
608
+ trs_server: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
609
+ /** Complete TRS API endpoint URL for this workflow version. */
610
+ trs_url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
611
+ }>]>>;
612
+ /** Visual annotations in the workflow editor. */
613
+ comments: Schema.optional<Schema.Union<[Schema.Array$<Schema.Union<[Schema.Struct<{
614
+ /** Comment type (``text``). */
615
+ type: Schema.Literal<["text"]>;
616
+ /** Text content data: ``text``, ``bold``, ``italic``, ``size``. */
617
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
618
+ /** The text content. */
619
+ text: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
620
+ /** Whether the text is displayed in bold. */
621
+ bold: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Boolean]>>;
622
+ /** Whether the text is displayed in italic. */
623
+ italic: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Boolean]>>;
624
+ /** Font size of the text. */
625
+ size: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
626
+ }>]>>;
627
+ id: typeof Schema.Number;
628
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
629
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
630
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
631
+ }>, Schema.Struct<{
632
+ /** Comment type (``markdown``). */
633
+ type: Schema.Literal<["markdown"]>;
634
+ /** Markdown content data: ``text``. */
635
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
636
+ /** Markdown content. */
637
+ text: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
638
+ }>]>>;
639
+ id: typeof Schema.Number;
640
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
641
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
642
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
643
+ }>, Schema.Struct<{
644
+ /** Comment type (``frame``). */
645
+ type: Schema.Literal<["frame"]>;
646
+ /** Frame content data: ``title``. */
647
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
648
+ /** Title displayed on the frame header. */
649
+ title: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
650
+ }>]>>;
651
+ /** Step IDs contained within this frame. */
652
+ child_steps: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<typeof Schema.Number>]>>;
653
+ /** Comment IDs contained within this frame. */
654
+ child_comments: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<typeof Schema.Number>]>>;
655
+ id: typeof Schema.Number;
656
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
657
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
658
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
659
+ }>, Schema.Struct<{
660
+ /** Comment type (``freehand``). */
661
+ type: Schema.Literal<["freehand"]>;
662
+ /** Freehand content data: ``line``, ``thickness``. */
663
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
664
+ /** Array of ``[x, y]`` coordinate pairs defining the freehand line path. */
665
+ line: Schema.optional<Schema.Union<[Schema.Array$<Schema.Array$<typeof Schema.Number>>, typeof Schema.Null]>>;
666
+ /** Line thickness. */
667
+ thickness: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
668
+ }>]>>;
669
+ id: typeof Schema.Number;
670
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
671
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
672
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
673
+ }>]>>, typeof Schema.Null]>>;
674
+ /** Step dictionary keyed by string integers (``"0"``, ``"1"``, ...). Values are NativeStep objects. Steps are processed in sorted numeric order during import. */
675
+ steps: Schema.optional<Schema.Union<[Schema.Record$<typeof Schema.String, Schema.suspend<any, any, never>>, typeof Schema.Null]>>;
676
+ /** Map of locally-defined subworkflow dicts, used during format conversion. */
677
+ subworkflows: Schema.optional<Schema.Union<[Schema.Record$<typeof Schema.String, Schema.suspend<any, any, never>>, typeof Schema.Null]>>;
678
+ uuid: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
679
+ }>;
680
+ export type NativeGalaxyWorkflow = typeof NativeGalaxyWorkflowSchema.Type;
681
+ /**
682
+ * A step in a native Galaxy workflow. Steps are keyed by string integers
683
+ (``"0"``, ``"1"``, ...) in the ``steps`` dictionary. The key serves as
684
+ an external ID for connection wiring.
685
+
686
+ The ``type`` field determines the step's behavior. All step types share
687
+ common fields; type-specific fields are optional and only relevant for
688
+ their respective type.
689
+
690
+ # Tool State
691
+
692
+ The ``tool_state`` field contains the tool's parameter configuration.
693
+ Traditionally this is a JSON-encoded string (double-encoded: each top-level
694
+ value is itself a JSON string), but it may also be a plain dictionary when
695
+ unencoded tool state is used. Connected parameters are represented as
696
+ ``{"__class__": "ConnectedValue"}``, runtime parameters as
697
+ ``{"__class__": "RuntimeValue"}``.
698
+ */
699
+ export declare const NativeStepSchema: Schema.Struct<{
700
+ /** Display name. For tool steps this is the tool's name; for input steps it is the generic type name (e.g. "Input dataset"). */
701
+ name: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
702
+ /** Step ID. Matches the dictionary key in the ``steps`` object. */
703
+ id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
704
+ /** Step module type. */
705
+ type: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Literal<["data_input", "data_collection_input", "parameter_input", "tool", "subworkflow", "pause", "pick_value"]>]>>;
706
+ /** User-friendly step label. Must be unique within the workflow. */
707
+ label: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
708
+ /** Human-readable step description. */
709
+ annotation: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
710
+ /** Conditional execution expression. Typically ``$(inputs.when)`` paired with a boolean input connection on the ``when`` key. */
711
+ when: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
712
+ /** Tool ID or content identifier. Same as ``tool_id`` for tool steps; may reference a subworkflow key for subworkflow steps. */
713
+ content_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
714
+ /** Tool parameter configuration. Traditionally a JSON-encoded string (double-encoded: each top-level value is itself a JSON string), but may also be a plain dict when ``encode_tool_state`` is disabled... */
715
+ tool_state: Schema.optional<Schema.Union<[typeof Schema.String, Schema.Record$<typeof Schema.String, typeof Schema.Unknown>, typeof Schema.Null]>>;
716
+ /** UUID for dynamic (inline-defined) tools. */
717
+ tool_uuid: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
718
+ /** Connection wiring from other steps' outputs to this step's inputs. Keys are input parameter names (using ``|`` for nested parameters). Values are a NativeInputConnection object or an array of them ... */
719
+ input_connections: Schema.optional<Schema.Union<[Schema.Record$<typeof Schema.String, Schema.Union<[Schema.Struct<{
720
+ /** Step ID of the source step providing the data. */
721
+ id: typeof Schema.Number;
722
+ /** Name of the output on the source step (typically ``"output"`` for input steps). */
723
+ output_name: typeof Schema.String;
724
+ /** For subworkflow steps, the internal step ID within the subworkflow that this connection routes to. Maps the parent connection to the correct input step inside the subworkflow. */
725
+ input_subworkflow_step_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
726
+ }>, Schema.Array$<Schema.Struct<{
727
+ /** Step ID of the source step providing the data. */
728
+ id: typeof Schema.Number;
729
+ /** Name of the output on the source step (typically ``"output"`` for input steps). */
730
+ output_name: typeof Schema.String;
731
+ /** For subworkflow steps, the internal step ID within the subworkflow that this connection routes to. Maps the parent connection to the correct input step inside the subworkflow. */
732
+ input_subworkflow_step_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
733
+ }>>]>>, typeof Schema.Null]>>;
734
+ /** Input parameter metadata (descriptions, not connections). */
735
+ inputs: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.Struct<{
736
+ /** Name of the input parameter. */
737
+ name: typeof Schema.String;
738
+ /** Human-readable description of this input. */
739
+ description: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
740
+ }>>]>>;
741
+ /** Output declarations with names and datatypes. */
742
+ outputs: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.Struct<{
743
+ /** Name of the output. */
744
+ name: typeof Schema.String;
745
+ /** Galaxy datatype extension for the output (e.g. ``bam``, ``txt``, ``tabular``). The value ``input`` means the type is determined at runtime from the input data. */
746
+ type: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
747
+ }>>]>>;
748
+ /** Outputs designated as workflow-level outputs. Steps with an empty array have all their outputs hidden by default. */
749
+ workflow_outputs: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<Schema.Struct<{
750
+ /** User-visible label for this workflow output. Must be unique across the workflow. */
751
+ label: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
752
+ /** Name of the step output to expose as a workflow output. */
753
+ output_name: typeof Schema.String;
754
+ /** UUID for this workflow output. */
755
+ uuid: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
756
+ }>>]>>;
757
+ /** Post-job actions applied to outputs after tool execution. Keys are compound strings of the form ``{ActionType}{OutputName}``. Values are NativePostJobAction objects. */
758
+ post_job_actions: Schema.optional<Schema.Union<[Schema.Record$<typeof Schema.String, Schema.Struct<{
759
+ /** The action type identifier (e.g. ``HideDatasetAction``). */
760
+ action_type: typeof Schema.String;
761
+ /** The step output this action applies to. */
762
+ output_name: typeof Schema.String;
763
+ /** Action-specific arguments. For ``RenameDatasetAction``: ``{"newname": "..."}``; for ``ChangeDatatypeAction``: ``{"newtype": "tabular"}``; for ``TagDatasetAction``: ``{"tags": "name:tag"}``. Empty o... */
764
+ action_arguments: Schema.optional<Schema.Union<[Schema.Record$<typeof Schema.String, typeof Schema.Unknown>, typeof Schema.Null]>>;
765
+ }>>, typeof Schema.Null]>>;
766
+ /** Embedded subworkflow definition. A complete native workflow document (with ``a_galaxy_workflow``, ``format-version``, ``steps``, etc.) nested inside this step. */
767
+ subworkflow: Schema.optional<Schema.Union<[Schema.Struct<{
768
+ /** Workflow display name. */
769
+ name: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
770
+ class: Schema.Literal<["NativeGalaxyWorkflow"]>;
771
+ /** Format marker. Always the string ``"true"``. */
772
+ a_galaxy_workflow: typeof Schema.String;
773
+ /** Format version. Always ``"0.1"`` currently. In the JSON document this field is written as ``format-version``. */
774
+ "format-version": typeof Schema.String;
775
+ /** Human-readable workflow description. */
776
+ annotation: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
777
+ /** Classification tags for the workflow. */
778
+ tags: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<typeof Schema.String>]>>;
779
+ /** Internal revision counter. */
780
+ version: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
781
+ /** SPDX license identifier (e.g. ``"MIT"``, ``"CC-BY-4.0"``). */
782
+ license: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
783
+ /** Semantic version for published workflows. */
784
+ release: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
785
+ /** Creator(s) of this workflow. An array of schema.org NativeCreatorPerson or NativeCreatorOrganization objects, dispatched via the ``class`` field (``Person`` or ``Organization``). */
786
+ creator: Schema.optional<Schema.Union<[Schema.Array$<Schema.Union<[Schema.Struct<{
787
+ /** Creator type discriminator (``Person``). */
788
+ class: Schema.Literal<["Person"]>;
789
+ /** Given (first) name. */
790
+ givenName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
791
+ /** Family (last) name. */
792
+ familyName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
793
+ /** Honorific prefix (e.g. ``Dr``, ``Prof``). */
794
+ honorificPrefix: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
795
+ /** Honorific suffix (e.g. ``M.D.``, ``PhD``). */
796
+ honorificSuffix: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
797
+ /** Job title or role. */
798
+ jobTitle: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
799
+ name: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
800
+ identifier: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
801
+ url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
802
+ email: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
803
+ image: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
804
+ address: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
805
+ alternateName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
806
+ telephone: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
807
+ faxNumber: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
808
+ }>, Schema.Struct<{
809
+ /** Creator type discriminator (``Organization``). */
810
+ class: Schema.Literal<["Organization"]>;
811
+ name: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
812
+ identifier: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
813
+ url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
814
+ email: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
815
+ image: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
816
+ address: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
817
+ alternateName: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
818
+ telephone: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
819
+ faxNumber: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
820
+ }>]>>, typeof Schema.Null]>>;
821
+ /** Workflow invocation report template. */
822
+ report: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
823
+ /** Galaxy-flavored Markdown content for the invocation report. Supports template directives like ``history_dataset_as_image(output="...")``. */
824
+ markdown: typeof Schema.String;
825
+ }>]>>;
826
+ /** Detailed workflow description in Markdown. */
827
+ readme: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
828
+ /** Help text in Markdown. */
829
+ help: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
830
+ /** URL to workflow logo image. */
831
+ logo_url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
832
+ /** Associated DOIs. */
833
+ doi: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<typeof Schema.String>]>>;
834
+ /** Provenance tracking metadata for workflows imported from TRS or URLs. */
835
+ source_metadata: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
836
+ /** URL from which the workflow was directly imported. */
837
+ url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
838
+ /** Tool identifier in the Tool Registry Service (e.g. ``"#workflow/github.com/user/repo/workflow"`` or ``"109"``). */
839
+ trs_tool_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
840
+ /** Version identifier in the TRS (e.g. ``"master"``, ``"5"``). */
841
+ trs_version_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
842
+ /** TRS server name (e.g. ``"dockstore"``, ``"workflowhub"``). Optional even for TRS imports. */
843
+ trs_server: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
844
+ /** Complete TRS API endpoint URL for this workflow version. */
845
+ trs_url: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
846
+ }>]>>;
847
+ /** Visual annotations in the workflow editor. */
848
+ comments: Schema.optional<Schema.Union<[Schema.Array$<Schema.Union<[Schema.Struct<{
849
+ /** Comment type (``text``). */
850
+ type: Schema.Literal<["text"]>;
851
+ /** Text content data: ``text``, ``bold``, ``italic``, ``size``. */
852
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
853
+ /** The text content. */
854
+ text: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
855
+ /** Whether the text is displayed in bold. */
856
+ bold: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Boolean]>>;
857
+ /** Whether the text is displayed in italic. */
858
+ italic: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Boolean]>>;
859
+ /** Font size of the text. */
860
+ size: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
861
+ }>]>>;
862
+ id: typeof Schema.Number;
863
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
864
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
865
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
866
+ }>, Schema.Struct<{
867
+ /** Comment type (``markdown``). */
868
+ type: Schema.Literal<["markdown"]>;
869
+ /** Markdown content data: ``text``. */
870
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
871
+ /** Markdown content. */
872
+ text: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
873
+ }>]>>;
874
+ id: typeof Schema.Number;
875
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
876
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
877
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
878
+ }>, Schema.Struct<{
879
+ /** Comment type (``frame``). */
880
+ type: Schema.Literal<["frame"]>;
881
+ /** Frame content data: ``title``. */
882
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
883
+ /** Title displayed on the frame header. */
884
+ title: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
885
+ }>]>>;
886
+ /** Step IDs contained within this frame. */
887
+ child_steps: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<typeof Schema.Number>]>>;
888
+ /** Comment IDs contained within this frame. */
889
+ child_comments: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Array$<typeof Schema.Number>]>>;
890
+ id: typeof Schema.Number;
891
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
892
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
893
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
894
+ }>, Schema.Struct<{
895
+ /** Comment type (``freehand``). */
896
+ type: Schema.Literal<["freehand"]>;
897
+ /** Freehand content data: ``line``, ``thickness``. */
898
+ data: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
899
+ /** Array of ``[x, y]`` coordinate pairs defining the freehand line path. */
900
+ line: Schema.optional<Schema.Union<[Schema.Array$<Schema.Array$<typeof Schema.Number>>, typeof Schema.Null]>>;
901
+ /** Line thickness. */
902
+ thickness: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.Number]>>;
903
+ }>]>>;
904
+ id: typeof Schema.Number;
905
+ position: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
906
+ size: Schema.optional<Schema.Union<[Schema.Array$<typeof Schema.Number>, typeof Schema.Null]>>;
907
+ color: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
908
+ }>]>>, typeof Schema.Null]>>;
909
+ /** Step dictionary keyed by string integers (``"0"``, ``"1"``, ...). Values are NativeStep objects. Steps are processed in sorted numeric order during import. */
910
+ steps: Schema.optional<Schema.Union<[Schema.Record$<typeof Schema.String, Schema.suspend<any, any, never>>, typeof Schema.Null]>>;
911
+ /** Map of locally-defined subworkflow dicts, used during format conversion. */
912
+ subworkflows: Schema.optional<Schema.Union<[Schema.Record$<typeof Schema.String, Schema.suspend<any, any, never>>, typeof Schema.Null]>>;
913
+ uuid: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
914
+ }>, typeof Schema.Null]>>;
915
+ /** Embedded tool definition for user-defined (dynamic) tools. Present when the step uses a ``GalaxyUserTool`` instead of a registered tool. Contains the full tool definition including ``class: GalaxyU... */
916
+ tool_representation: Schema.optional<Schema.Union<[Schema.Record$<typeof Schema.String, typeof Schema.Unknown>, typeof Schema.Null]>>;
917
+ /** Default values for step inputs. Keys are parameter names, values are objects with a ``default`` key. */
918
+ in: Schema.optional<Schema.Union<[Schema.Record$<typeof Schema.String, typeof Schema.Unknown>, typeof Schema.Null]>>;
919
+ tool_id: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
920
+ tool_shed_repository: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
921
+ /** The name of the tool shed repository this tool can be found in. */
922
+ name: typeof Schema.String;
923
+ /** The revision of the tool shed repository this tool can be found in. */
924
+ changeset_revision: typeof Schema.String;
925
+ /** The owner of the tool shed repository this tool can be found in. */
926
+ owner: typeof Schema.String;
927
+ /** The URI of the tool shed containing the repository this tool can be found in - typically this should be toolshed.g2.bx.psu.edu. */
928
+ tool_shed: typeof Schema.String;
929
+ }>]>>;
930
+ tool_version: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
931
+ uuid: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
932
+ position: Schema.optional<Schema.Union<[typeof Schema.Null, Schema.Struct<{
933
+ /** Relative vertical position of the step's node when rendered in the workflow editor. */
934
+ top: typeof Schema.Number;
935
+ /** Relative horizontal position of the step's node when rendered in the workflow editor. */
936
+ left: typeof Schema.Number;
937
+ }>]>>;
938
+ errors: Schema.optional<Schema.Union<[typeof Schema.Null, typeof Schema.String]>>;
939
+ }>;
940
+ export type NativeStep = typeof NativeStepSchema.Type;
941
+ export declare function isNativeCreatorPerson(v: NativeCreatorPerson | NativeCreatorOrganization): v is NativeCreatorPerson;
942
+ export declare function isNativeCreatorOrganization(v: NativeCreatorPerson | NativeCreatorOrganization): v is NativeCreatorOrganization;
943
+ export declare function isNativeTextComment(v: NativeTextComment | NativeMarkdownComment | NativeFrameComment | NativeFreehandComment): v is NativeTextComment;
944
+ export declare function isNativeMarkdownComment(v: NativeTextComment | NativeMarkdownComment | NativeFrameComment | NativeFreehandComment): v is NativeMarkdownComment;
945
+ export declare function isNativeFrameComment(v: NativeTextComment | NativeMarkdownComment | NativeFrameComment | NativeFreehandComment): v is NativeFrameComment;
946
+ export declare function isNativeFreehandComment(v: NativeTextComment | NativeMarkdownComment | NativeFrameComment | NativeFreehandComment): v is NativeFreehandComment;
947
+ //# sourceMappingURL=native.effect.d.ts.map