@michelangelo-ai/core 0.9.0 → 0.10.0-rc.1

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 (133) hide show
  1. package/dist/components/actions/types.d.ts +14 -1
  2. package/dist/components/actions/types.d.ts.map +1 -1
  3. package/dist/components/box/collapsible-box.d.ts.map +1 -1
  4. package/dist/components/form/fields/select/select-field.d.ts +1 -1
  5. package/dist/components/form/fields/select/select-field.d.ts.map +1 -1
  6. package/dist/components/form/fields/select/types.d.ts +9 -0
  7. package/dist/components/form/fields/select/types.d.ts.map +1 -1
  8. package/dist/components/form/fields/string/components/single-string-field.d.ts +1 -1
  9. package/dist/components/form/fields/string/components/single-string-field.d.ts.map +1 -1
  10. package/dist/components/form/fields/string/types.d.ts +6 -0
  11. package/dist/components/form/fields/string/types.d.ts.map +1 -1
  12. package/dist/components/row/components/row-item.d.ts.map +1 -1
  13. package/dist/components/text-editor/text-editor.d.ts +1 -1
  14. package/dist/components/text-editor/text-editor.d.ts.map +1 -1
  15. package/dist/components/text-editor/types.d.ts +5 -0
  16. package/dist/components/text-editor/types.d.ts.map +1 -1
  17. package/dist/components/views/phase-entity-view/entity-table.d.ts +1 -1
  18. package/dist/components/views/phase-entity-view/entity-table.d.ts.map +1 -1
  19. package/dist/components/views/phase-entity-view/phase-entity-view.d.ts.map +1 -1
  20. package/dist/components/views/phase-entity-view/types.d.ts +3 -0
  21. package/dist/components/views/phase-entity-view/types.d.ts.map +1 -1
  22. package/dist/components/views/phase-entity-view/utils/__tests__/inject-list-options.test.d.ts +2 -0
  23. package/dist/components/views/phase-entity-view/utils/__tests__/inject-list-options.test.d.ts.map +1 -0
  24. package/dist/components/views/phase-entity-view/utils/inject-list-options.d.ts +0 -4
  25. package/dist/components/views/phase-entity-view/utils/inject-list-options.d.ts.map +1 -1
  26. package/dist/components/views/project/components/phase-card.d.ts.map +1 -1
  27. package/dist/components/views/project/constants.d.ts +4 -1
  28. package/dist/components/views/project/constants.d.ts.map +1 -1
  29. package/dist/components/views/project/project-list.d.ts.map +1 -1
  30. package/dist/components/views/project/types.d.ts +12 -0
  31. package/dist/components/views/project/types.d.ts.map +1 -0
  32. package/dist/config/entities/deployment/create-deployment-form.d.ts +3 -0
  33. package/dist/config/entities/deployment/create-deployment-form.d.ts.map +1 -0
  34. package/dist/config/entities/deployment/deployment-revision-card-field.d.ts +7 -0
  35. package/dist/config/entities/deployment/deployment-revision-card-field.d.ts.map +1 -0
  36. package/dist/config/entities/deployment/deployment-revision-card.d.ts +3 -3
  37. package/dist/config/entities/deployment/deployment-revision-card.d.ts.map +1 -1
  38. package/dist/config/entities/deployment/deployment.d.ts.map +1 -1
  39. package/dist/config/entities/deployment/model-family-revision-fields.d.ts +10 -0
  40. package/dist/config/entities/deployment/model-family-revision-fields.d.ts.map +1 -0
  41. package/dist/config/entities/deployment/types.d.ts +62 -0
  42. package/dist/config/entities/deployment/types.d.ts.map +1 -1
  43. package/dist/config/entities/model/__tests__/model-detail-page.test.d.ts +2 -0
  44. package/dist/config/entities/model/__tests__/model-detail-page.test.d.ts.map +1 -0
  45. package/dist/config/entities/model/detail.d.ts +3 -0
  46. package/dist/config/entities/model/detail.d.ts.map +1 -0
  47. package/dist/config/entities/model/model-info-page.d.ts +5 -0
  48. package/dist/config/entities/model/model-info-page.d.ts.map +1 -0
  49. package/dist/config/entities/model/model.d.ts.map +1 -1
  50. package/dist/config/entities/model/types.d.ts +34 -0
  51. package/dist/config/entities/model/types.d.ts.map +1 -0
  52. package/dist/config/entities/pipeline/__tests__/format-trigger-schedule.test.d.ts +2 -0
  53. package/dist/config/entities/pipeline/__tests__/format-trigger-schedule.test.d.ts.map +1 -0
  54. package/dist/config/entities/pipeline/__tests__/run-trigger-form.test.d.ts +2 -0
  55. package/dist/config/entities/pipeline/__tests__/run-trigger-form.test.d.ts.map +1 -0
  56. package/dist/config/entities/pipeline/create-pipeline-run-form.d.ts +7 -0
  57. package/dist/config/entities/pipeline/create-pipeline-run-form.d.ts.map +1 -1
  58. package/dist/config/entities/pipeline/detail.d.ts.map +1 -1
  59. package/dist/config/entities/pipeline/format-trigger-schedule.d.ts +10 -0
  60. package/dist/config/entities/pipeline/format-trigger-schedule.d.ts.map +1 -0
  61. package/dist/config/entities/pipeline/pipeline.d.ts.map +1 -1
  62. package/dist/config/entities/pipeline/resume-run-fields.d.ts +16 -0
  63. package/dist/config/entities/pipeline/resume-run-fields.d.ts.map +1 -0
  64. package/dist/config/entities/pipeline/resume-step-option.d.ts +12 -0
  65. package/dist/config/entities/pipeline/resume-step-option.d.ts.map +1 -0
  66. package/dist/config/entities/pipeline/run-trigger-fields.d.ts +15 -0
  67. package/dist/config/entities/pipeline/run-trigger-fields.d.ts.map +1 -0
  68. package/dist/config/entities/pipeline/run-trigger-form.d.ts +13 -0
  69. package/dist/config/entities/pipeline/run-trigger-form.d.ts.map +1 -0
  70. package/dist/config/entities/pipeline/shared.d.ts +4 -0
  71. package/dist/config/entities/pipeline/shared.d.ts.map +1 -1
  72. package/dist/config/entities/pipeline/types.d.ts +39 -0
  73. package/dist/config/entities/pipeline/types.d.ts.map +1 -1
  74. package/dist/config/entities/pipeline/utils/validate-emails.d.ts +3 -0
  75. package/dist/config/entities/pipeline/utils/validate-emails.d.ts.map +1 -0
  76. package/dist/config/entities/run/__tests__/run-page.test.d.ts +2 -0
  77. package/dist/config/entities/run/__tests__/run-page.test.d.ts.map +1 -0
  78. package/dist/config/entities/run/__tests__/run-retry-action.test.d.ts +2 -0
  79. package/dist/config/entities/run/__tests__/run-retry-action.test.d.ts.map +1 -0
  80. package/dist/config/entities/run/__tests__/run-triggered-by.test.d.ts +2 -0
  81. package/dist/config/entities/run/__tests__/run-triggered-by.test.d.ts.map +1 -0
  82. package/dist/config/entities/run/__tests__/run.test.d.ts +2 -0
  83. package/dist/config/entities/run/__tests__/run.test.d.ts.map +1 -0
  84. package/dist/config/entities/run/detail.d.ts.map +1 -1
  85. package/dist/config/entities/run/list.d.ts.map +1 -1
  86. package/dist/config/entities/run/run-configuration-page.d.ts +5 -0
  87. package/dist/config/entities/run/run-configuration-page.d.ts.map +1 -0
  88. package/dist/config/entities/run/run-info-page.d.ts +5 -0
  89. package/dist/config/entities/run/run-info-page.d.ts.map +1 -0
  90. package/dist/config/entities/run/run.d.ts.map +1 -1
  91. package/dist/config/entities/run/shared.d.ts +43 -0
  92. package/dist/config/entities/run/shared.d.ts.map +1 -1
  93. package/dist/config/entities/run/types.d.ts +157 -0
  94. package/dist/config/entities/run/types.d.ts.map +1 -1
  95. package/dist/config/entities/targets/create-inference-server-form.d.ts +3 -0
  96. package/dist/config/entities/targets/create-inference-server-form.d.ts.map +1 -0
  97. package/dist/config/entities/targets/inference-server-owner-fields.d.ts +6 -0
  98. package/dist/config/entities/targets/inference-server-owner-fields.d.ts.map +1 -0
  99. package/dist/config/entities/targets/shared.d.ts +17 -0
  100. package/dist/config/entities/targets/shared.d.ts.map +1 -1
  101. package/dist/config/entities/targets/target.d.ts.map +1 -1
  102. package/dist/config/entities/targets/types.d.ts +32 -0
  103. package/dist/config/entities/targets/types.d.ts.map +1 -0
  104. package/dist/config/entities/trigger/__tests__/trigger-recent-runs.test.d.ts +2 -0
  105. package/dist/config/entities/trigger/__tests__/trigger-recent-runs.test.d.ts.map +1 -0
  106. package/dist/config/entities/trigger/detail.d.ts.map +1 -1
  107. package/dist/config/entities/trigger/types.d.ts +77 -0
  108. package/dist/config/entities/trigger/types.d.ts.map +1 -1
  109. package/dist/config/phases/deploy.d.ts.map +1 -1
  110. package/dist/michelangelo-core.cjs +16 -16
  111. package/dist/michelangelo-core.js +10915 -9636
  112. package/dist/primitives.cjs +1 -1
  113. package/dist/primitives.js +23 -23
  114. package/dist/providers/service-provider/__tests__/service-provider.tests.d.ts +2 -0
  115. package/dist/providers/service-provider/__tests__/service-provider.tests.d.ts.map +1 -0
  116. package/dist/providers/service-provider/service-provider.d.ts +1 -1
  117. package/dist/providers/service-provider/service-provider.d.ts.map +1 -1
  118. package/dist/providers/service-provider/types.d.ts +23 -0
  119. package/dist/providers/service-provider/types.d.ts.map +1 -1
  120. package/dist/providers/service-provider/with-ownership-enrichment.d.ts +9 -0
  121. package/dist/providers/service-provider/with-ownership-enrichment.d.ts.map +1 -0
  122. package/dist/{theme-provider-Ba4vmtVx.js → theme-provider-BLwt8TXI.js} +1937 -1889
  123. package/dist/{theme-provider-H-LNQYdH.cjs → theme-provider-OUbecRuK.cjs} +93 -93
  124. package/dist/tsconfig.tsbuildinfo +1 -1
  125. package/dist/types/common/studio-types.d.ts +6 -1
  126. package/dist/types/common/studio-types.d.ts.map +1 -1
  127. package/dist/utils/crd-utils.d.ts +36 -0
  128. package/dist/utils/crd-utils.d.ts.map +1 -1
  129. package/dist/utils/environment-utils.d.ts +1 -0
  130. package/dist/utils/environment-utils.d.ts.map +1 -1
  131. package/dist/utils/time-utils.d.ts +11 -0
  132. package/dist/utils/time-utils.d.ts.map +1 -1
  133. package/package.json +2 -2
@@ -0,0 +1,12 @@
1
+ import type { PipelineRunStepInfo } from '../../../config/entities/run/types';
2
+ /**
3
+ * One row in the resume step picker: task name, when it ran, how long it took,
4
+ * and how it ended.
5
+ *
6
+ * Steps that never started show an em dash rather than a zeroed timestamp — a
7
+ * skipped step has no meaningful start, end, or duration.
8
+ */
9
+ export declare const ResumeStepOption: ({ step }: {
10
+ step?: PipelineRunStepInfo;
11
+ }) => import("react/jsx-runtime").JSX.Element | null;
12
+ //# sourceMappingURL=resume-step-option.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resume-step-option.d.ts","sourceRoot":"","sources":["../../../../config/entities/pipeline/resume-step-option.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAE3E;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,aAAc;IAAE,IAAI,CAAC,EAAE,mBAAmB,CAAA;CAAE,mDAqCxE,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { ManifestTrigger } from '../../../config/entities/trigger/types';
2
+ /**
3
+ * Fields whose behavior depends on the currently-selected trigger and the backfill toggle,
4
+ * split out so those reads don't force the whole dialog (including the async trigger fetch)
5
+ * to re-render on every keystroke.
6
+ *
7
+ * `autoFlip` is shown but disabled — that feature hasn't launched yet. The submit handler
8
+ * sends the field's value (see run-trigger-form.tsx), which stays at its initial `false`
9
+ * because the disabled radio can't be changed; enabling the radio is all it takes to make
10
+ * the choice real once the feature ships.
11
+ */
12
+ export declare function RunTriggerFields({ triggerMap }: {
13
+ triggerMap: Record<string, ManifestTrigger>;
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ //# sourceMappingURL=run-trigger-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-trigger-fields.d.ts","sourceRoot":"","sources":["../../../../config/entities/pipeline/run-trigger-fields.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAE3E;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;CAAE,2CA2E/F"}
@@ -0,0 +1,13 @@
1
+ import type { ActionComponentProps } from '../../../components/actions/types';
2
+ import type { Pipeline } from './types';
3
+ /**
4
+ * Runs a pipeline from one of the triggers declared in its manifest — either on the
5
+ * trigger's own schedule, or as a one-off backfill over a chosen time window.
6
+ *
7
+ * The dropdown is populated from a `GetPipeline` fetch made when the dialog opens, rather
8
+ * than from the record the action was opened with: the whole trigger definition is copied
9
+ * into the created TriggerRun, so it should come from the pipeline's current manifest, not
10
+ * from a row that may have been sitting in a stale list.
11
+ */
12
+ export declare const RunTriggerForm: ({ record, onClose }: ActionComponentProps<Pipeline>) => import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=run-trigger-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-trigger-form.d.ts","sourceRoot":"","sources":["../../../../config/entities/pipeline/run-trigger-form.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAG3E,OAAO,KAAK,EAAE,QAAQ,EAAwB,MAAM,SAAS,CAAC;AAE9D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,wBAAyB,oBAAoB,CAAC,QAAQ,CAAC,4CAmFjF,CAAC"}
@@ -1,4 +1,8 @@
1
1
  import type { Cell } from '../../../components/cell/types';
2
+ /** `CRITERION_OPERATOR_EQUAL` from `proto/api/list.proto`. */
3
+ export declare const CRITERION_OPERATOR_EQUAL = 1;
4
+ /** Criterion field name for the pipeline a PipelineRun belongs to. */
5
+ export declare const PIPELINE_RUN_PIPELINE_NAME_FIELD = "pipeline_run.pipeline_name";
2
6
  export declare const PIPELINE_STATE_CELL: Cell;
3
7
  export declare const PIPELINE_TYPE_CELL: Cell;
4
8
  //# sourceMappingURL=shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../config/entities/pipeline/shared.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,mBAAmB,EAAE,IAkBjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,IAsBhC,CAAC"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../config/entities/pipeline/shared.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAExD,8DAA8D;AAC9D,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAE1C,sEAAsE;AACtE,eAAO,MAAM,gCAAgC,+BAA+B,CAAC;AAE7E,eAAO,MAAM,mBAAmB,EAAE,IAkBjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,IAsBhC,CAAC"}
@@ -1,3 +1,5 @@
1
+ import type { PipelineRun } from '../../../config/entities/run/types';
2
+ import type { ManifestTrigger } from '../../../config/entities/trigger/types';
1
3
  export interface Pipeline {
2
4
  metadata: {
3
5
  name: string;
@@ -7,6 +9,43 @@ export interface Pipeline {
7
9
  owner: {
8
10
  name: string;
9
11
  };
12
+ /** Optional because a pipeline can be registered without a manifest. */
13
+ manifest?: {
14
+ /** Named triggers declared for this pipeline, keyed by trigger name. */
15
+ triggerMap?: Record<string, ManifestTrigger>;
16
+ };
10
17
  };
11
18
  }
19
+ /**
20
+ * Form-only shape submitted by {@link CreatePipelineRunForm}.
21
+ *
22
+ * The notification fields here have no proto counterpart — `notifyOnCompletion` is a UI-only
23
+ * toggle, and the email/Slack lists are the raw tag values from a `StringField multi`. All three
24
+ * are read out of the form values and discarded; `handleRunSubmit` builds the real
25
+ * `PipelineRunNotification[]` from them instead of forwarding them as-is.
26
+ */
27
+ export type PipelineRunFormValues = PipelineRun & {
28
+ notifyOnCompletion?: boolean;
29
+ notificationEmails?: string[];
30
+ notificationSlackDestinations?: string[];
31
+ };
32
+ /**
33
+ * Values held by {@link RunTriggerForm}.
34
+ *
35
+ * `isBackfill`, `startTimestamp`, `endTimestamp`, `selectedParams`, and
36
+ * `maxConcurrencyOverride` only matter once `isBackfill` is set — the backfill fields are
37
+ * hidden otherwise and never reach the submit handler with a meaningful value.
38
+ *
39
+ * Declared as a type alias rather than an interface so it satisfies the `FormData`
40
+ * (`Record<string, unknown>`) constraint on `FormDialog`.
41
+ */
42
+ export type RunTriggerFormValues = {
43
+ sourceTriggerName: string;
44
+ autoFlip?: boolean;
45
+ isBackfill?: boolean;
46
+ startTimestamp?: string;
47
+ endTimestamp?: string;
48
+ selectedParams?: string[];
49
+ maxConcurrencyOverride?: number;
50
+ };
12
51
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../config/entities/pipeline/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QA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CACjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FieldValidator } from '../../../../components/form/validation/types';
2
+ export declare const validateEmails: FieldValidator;
3
+ //# sourceMappingURL=validate-emails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-emails.d.ts","sourceRoot":"","sources":["../../../../../config/entities/pipeline/utils/validate-emails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAI7E,eAAO,MAAM,cAAc,EAAE,cAI5B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=run-page.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-page.test.d.ts","sourceRoot":"","sources":["../../../../../config/entities/run/__tests__/run-page.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=run-retry-action.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-retry-action.test.d.ts","sourceRoot":"","sources":["../../../../../config/entities/run/__tests__/run-retry-action.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=run-triggered-by.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-triggered-by.test.d.ts","sourceRoot":"","sources":["../../../../../config/entities/run/__tests__/run-triggered-by.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=run.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run.test.d.ts","sourceRoot":"","sources":["../../../../../config/entities/run/__tests__/run.test.tsx"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"detail.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/detail.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,iBAAiB,EAAE,gBAyH/B,CAAC"}
1
+ {"version":3,"file":"detail.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/detail.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,iBAAiB,EAAE,gBA4G/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/list.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,eAAO,MAAM,wBAAwB,EAAE,YAAY,CAAC,MAAM,CAAC,EAgB1D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,MAAM,CAKlD,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/list.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,eAAO,MAAM,wBAAwB,EAAE,YAAY,CAAC,MAAM,CAAC,EA4C1D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,MAAM,CAKlD,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare function RunConfigurationPage({ data, isLoading }: {
2
+ data?: object;
3
+ isLoading: boolean;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=run-configuration-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-configuration-page.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/run-configuration-page.tsx"],"names":[],"mappings":"AAYA,wBAAgB,oBAAoB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,2CAiD9F"}
@@ -0,0 +1,5 @@
1
+ export declare function RunInfoPage({ data, isLoading }: {
2
+ data?: object;
3
+ isLoading: boolean;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=run-info-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-info-page.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/run-info-page.tsx"],"names":[],"mappings":"AA0BA,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,2CA+ErF"}
@@ -1 +1 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/run.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,eAAO,MAAM,iBAAiB,EAAE,iBAM/B,CAAC"}
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/run.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAyEzE,eAAO,MAAM,iBAAiB,EAAE,iBAiD/B,CAAC"}
@@ -1,4 +1,47 @@
1
1
  import type { Cell } from '../../../components/cell/types';
2
+ import type { TagColor } from '../../../components/tag/types';
3
+ /**
4
+ * Labels for `PipelineRunStepState`, keyed by the proto enum value.
5
+ * Shared by the Steps tab and the resume step picker so a step reads
6
+ * the same wherever it appears.
7
+ */
8
+ export declare const STEP_STATE_TEXT_MAP: Record<number, string>;
9
+ /** Colors matching {@link STEP_STATE_TEXT_MAP}, keyed by the proto enum value. */
10
+ export declare const STEP_STATE_COLOR_MAP: Record<number, TagColor>;
11
+ /**
12
+ * Labels for `PipelineRunState`, keyed by the proto enum value.
13
+ * Distinct from {@link STEP_STATE_TEXT_MAP} — a run reads "Succeeded" where a step
14
+ * reads "Success", and state 0 is a queued run but a pending step.
15
+ */
16
+ export declare const RUN_STATE_TEXT_MAP: Record<number, string>;
17
+ /** Colors matching {@link RUN_STATE_TEXT_MAP}, keyed by the proto enum value. */
18
+ export declare const RUN_STATE_COLOR_MAP: Record<number, TagColor>;
19
+ /** Created-date cell, shared between the run list and detail pages. */
20
+ export declare const RUN_CREATED_COLUMN: Cell;
21
+ /** Pipeline (and revision) cell, shared between the run list and detail pages. */
22
+ export declare const RUN_PIPELINE_COLUMN: Cell;
23
+ /** Run actor cell, shared between the run list and detail pages. */
24
+ export declare const RUN_STARTED_BY_COLUMN: Cell;
25
+ /** Run state cell, shared between the run list and detail pages. */
26
+ export declare const RUN_STATE_COLUMN: Cell;
27
+ /**
28
+ * Label stamped on every pipeline run spawned by a trigger, holding the name of the
29
+ * originating TriggerRun. Written by the trigger workflow — keep in sync with
30
+ * `TriggerredByLabel` in go/worker/workflows/trigger/cron_trigger_workflows.go.
31
+ *
32
+ * Doubles as the filter key for listing the runs a trigger produced, via
33
+ * `listOptions.labelSelector`.
34
+ */
35
+ export declare const TRIGGERED_BY_LABEL = "pipelinerun.michelangelo/triggered-by";
36
+ /**
37
+ * Links a pipeline run back to the trigger that spawned it.
38
+ *
39
+ * Manually started runs carry no trigger label, so the value renders empty and the URL
40
+ * resolves to '' — which {@link LinkCell} renders as plain text rather than a dead link.
41
+ * That case is the majority, so it is handled explicitly here instead of relying on a
42
+ * failed string interpolation.
43
+ */
44
+ export declare const RUN_TRIGGERED_BY_COLUMN: Cell;
2
45
  /**
3
46
  * Cell configurations rendered for Pipeline Runs:
4
47
  * - Columns for list view
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/shared.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,IAAI,EA4CxC,CAAC"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/shared.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAQtD,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAQzD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAQrD,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAQxD,CAAC;AAEF,uEAAuE;AACvE,eAAO,MAAM,kBAAkB,EAAE,IAIhC,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,mBAAmB,EAAE,IAajC,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,qBAAqB,EAAE,IAInC,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,gBAAgB,EAAE,IAM9B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,0CAA0C,CAAC;AAE1E;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,EAAE,IAYrC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,IAAI,EAMxC,CAAC"}
@@ -1,7 +1,49 @@
1
+ /**
2
+ * Mirrors proto Notification.NotificationType enum (notification.proto).
3
+ *
4
+ * Numeric values matter here, not just the names: requests are built via `create()` from
5
+ * `@bufbuild/protobuf`, which serializes enum fields by their proto number, not by name.
6
+ */
7
+ export declare enum NotificationType {
8
+ EMAIL = 1,
9
+ SLACK = 2
10
+ }
11
+ /**
12
+ * Mirrors proto Notification.EventType enum (notification.proto), restricted to the events a
13
+ * pipeline run notification can fire on. See {@link NotificationType} for why the numbers matter.
14
+ */
15
+ export declare enum NotificationEventType {
16
+ PIPELINE_RUN_STATE_SUCCEEDED = 1,
17
+ PIPELINE_RUN_STATE_KILLED = 2,
18
+ PIPELINE_RUN_STATE_FAILED = 3,
19
+ PIPELINE_RUN_STATE_SKIPPED = 4,
20
+ PIPELINE_RUN_STATE_STARTED = 11
21
+ }
22
+ /**
23
+ * Mirrors proto Notification.ResourceType enum (notification.proto).
24
+ */
25
+ export declare enum NotificationResourceType {
26
+ PIPELINE_RUN = 1
27
+ }
28
+ /**
29
+ * Mirrors proto message Notification (notification.proto).
30
+ *
31
+ * Field names must match the generated protobuf-es message's camelCase `localName`s exactly:
32
+ * `create()` looks fields up by that name, and silently drops anything that doesn't match
33
+ * (rather than erroring), so a wrong name here fails silently instead of at compile time.
34
+ */
35
+ export type PipelineRunNotification = {
36
+ notificationType: NotificationType;
37
+ eventTypes: NotificationEventType[];
38
+ resourceType: NotificationResourceType;
39
+ emails: string[];
40
+ slackDestinations: string[];
41
+ };
1
42
  export type PipelineRun = {
2
43
  metadata: {
3
44
  name: string;
4
45
  namespace: string;
46
+ labels?: Record<string, string>;
5
47
  };
6
48
  spec: {
7
49
  /** Populated server-side from the `x-user-name` request header, not set by the client. */
@@ -14,6 +56,121 @@ export type PipelineRun = {
14
56
  };
15
57
  /** Optional human-readable description for this run. */
16
58
  description?: string;
59
+ /**
60
+ * Continues execution from a previous run instead of starting over.
61
+ *
62
+ * `resumeUpTo` and `forceResume` exist on the proto message but are read by
63
+ * nothing in the platform, so they are deliberately unrepresented here.
64
+ * See `proto/api/v2/pipeline_run.proto` (message `Resume`).
65
+ */
66
+ resume?: Resume;
67
+ /** Inline pipeline spec for dev runs; regular runs reference a Pipeline instead. */
68
+ pipelineSpec?: PipelineSnapshotSpec;
69
+ notifications?: PipelineRunNotification[];
70
+ };
71
+ status?: {
72
+ /** Snapshot of the pipeline this run executes, captured when the run starts. */
73
+ sourcePipeline?: {
74
+ pipeline?: {
75
+ spec?: PipelineSnapshotSpec;
76
+ };
77
+ draftPipeline?: {
78
+ spec?: PipelineSnapshotSpec;
79
+ };
80
+ };
81
+ };
82
+ };
83
+ export type PipelineSnapshotSpec = {
84
+ manifest?: PipelineManifest;
85
+ };
86
+ export type PipelineManifest = {
87
+ /** PipelineManifest.Type enum, decoded to its numeric discriminant. */
88
+ type?: number;
89
+ filePath?: string;
90
+ /**
91
+ * Pipeline configuration, unpacked from its Any/TypedStruct envelope by the rpc layer:
92
+ * typeUrl names the config type, value is the config itself as plain JSON.
93
+ */
94
+ content?: {
95
+ typeUrl?: string;
96
+ value?: Record<string, unknown>;
17
97
  };
18
98
  };
99
+ export type Resume = {
100
+ /** The run being resumed from. Required whenever `resume` is set. */
101
+ pipelineRun: {
102
+ name: string;
103
+ namespace: string;
104
+ };
105
+ /**
106
+ * DAG tasks to re-execute, identified by sub-step `displayName` — never `name`,
107
+ * which carries the task path. Empty means continue from wherever the source run
108
+ * stopped, reusing every cached output.
109
+ */
110
+ resumeFrom?: string[];
111
+ };
112
+ /** Mirrors proto PipelineRunState enum (pipeline_run.proto). */
113
+ export declare enum PipelineRunState {
114
+ QUEUED = 0,
115
+ PENDING = 1,
116
+ RUNNING = 2,
117
+ SUCCEEDED = 3,
118
+ KILLED = 4,
119
+ FAILED = 5,
120
+ SKIPPED = 6
121
+ }
122
+ /**
123
+ * States in which a run has stopped for good.
124
+ *
125
+ * A run must be terminal before it can be resumed from: the resume cache is built only
126
+ * from sub-steps that already succeeded, so a queued, pending, or running run has
127
+ * nothing settled to offer.
128
+ */
129
+ export declare const TERMINAL_RUN_STATES: ReadonlySet<PipelineRunState>;
130
+ /** Timestamp as returned by the API for pipeline run steps. */
131
+ type StepTimestamp = {
132
+ seconds?: string;
133
+ };
134
+ /** The subset of `PipelineRunStepInfo` the resume step picker and information tab read. */
135
+ export type PipelineRunStepInfo = {
136
+ name?: string;
137
+ displayName?: string;
138
+ state?: number;
139
+ startTime?: StepTimestamp;
140
+ endTime?: StepTimestamp;
141
+ logUrl?: string;
142
+ subSteps?: PipelineRunStepInfo[];
143
+ };
144
+ /** The subset of a PipelineRun the resume fields and information tab read from list and get responses. */
145
+ export type PipelineRunSummary = {
146
+ metadata?: {
147
+ name?: string;
148
+ namespace?: string;
149
+ creationTimestamp?: StepTimestamp;
150
+ labels?: Record<string, string>;
151
+ };
152
+ spec?: {
153
+ pipeline?: {
154
+ name?: string;
155
+ };
156
+ resume?: {
157
+ pipelineRun?: {
158
+ name?: string;
159
+ };
160
+ };
161
+ };
162
+ status?: {
163
+ state?: number;
164
+ steps?: PipelineRunStepInfo[];
165
+ };
166
+ };
167
+ export type ListPipelineRunResponse = {
168
+ pipelineRunList?: {
169
+ items?: PipelineRunSummary[];
170
+ };
171
+ };
172
+ export type GetPipelineRunResponse = {
173
+ pipelineRun?: PipelineRunSummary;
174
+ };
175
+ export {};
19
176
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,IAAI,EAAE;QACJ,0FAA0F;QAC1F,KAAK,CAAC,EAAE;YACN,IAAI,EAAE,MAAM,CAAC;SACd,CAAC;QACF,QAAQ,EAAE;YACR,IAAI,EAAE,MAAM,CAAC;YACb,SAAS,EAAE,MAAM,CAAC;SACnB,CAAC;QACF,wDAAwD;QACxD,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../config/entities/run/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,oBAAY,gBAAgB;IAC1B,KAAK,IAAI;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QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAC;CAClC,CAAC;AAEF,0GAA0G;AAC1G,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE;QACT,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,iBAAiB,CAAC,EAAE,aAAa,CAAC;QAClC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACjC,CAAC;IACF,IAAI,CAAC,EAAE;QACL,QAAQ,CAAC,EAAE;YACT,IAAI,CAAC,EAAE,MAAM,CAAC;SACf,CAAC;QACF,MAAM,CAAC,EAAE;YACP,WAAW,CAAC,EAAE;gBACZ,IAAI,CAAC,EAAE,MAAM,CAAC;aACf,CAAC;SACH,CAAC;KACH,CAAC;IACF,MAAM,CAAC,EAAE;QACP,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,mBAAmB,EAAE,CAAC;KAC/B,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,eAAe,CAAC,EAAE;QAChB,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;KAC9B,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAClC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { CreateActionComponentProps } from '../../../components/actions/types';
2
+ export declare const CreateInferenceServerForm: ({ onClose }: CreateActionComponentProps) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=create-inference-server-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-inference-server-form.d.ts","sourceRoot":"","sources":["../../../../config/entities/targets/create-inference-server-form.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AASjF,eAAO,MAAM,yBAAyB,gBAAiB,0BAA0B,4CAmFhF,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Fields shown only for multi-tenant inference servers. Reads the current tenancy
3
+ * type from form state rather than props, since it can change after mount.
4
+ */
5
+ export declare function InferenceServerOwnerFields(): import("react/jsx-runtime").JSX.Element | null;
6
+ //# sourceMappingURL=inference-server-owner-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inference-server-owner-fields.d.ts","sourceRoot":"","sources":["../../../../config/entities/targets/inference-server-owner-fields.tsx"],"names":[],"mappings":"AAWA;;;GAGG;AACH,wBAAgB,0BAA0B,mDAyBzC"}
@@ -15,5 +15,22 @@ export declare const CONDITION_STATUS: {
15
15
  readonly TRUE: 1;
16
16
  readonly FALSE: 2;
17
17
  };
18
+ export declare const TENANCY_TYPE: {
19
+ readonly INVALID: 0;
20
+ readonly DEDICATED: 1;
21
+ readonly MULTI_TENANT: 2;
22
+ };
23
+ export declare const BACKEND_TYPE: {
24
+ readonly INVALID: 0;
25
+ readonly TRITON: 1;
26
+ readonly LLM_D: 2;
27
+ readonly DYNAMO: 3;
28
+ readonly TORCHSERVE: 4;
29
+ };
30
+ export declare const CONTAINER_BUILD_TEMPLATE: {
31
+ readonly DEFAULT_TRITON: "default_triton";
32
+ readonly DEFAULT_TRITON_GPU: "default_triton_gpu";
33
+ readonly DEFAULT_TRITON_PYTHON: "default_triton_python";
34
+ };
18
35
  export declare const INFERENCE_SERVER_STATE_CELL: Cell;
19
36
  //# sourceMappingURL=shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../config/entities/targets/shared.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,sBAAsB;;;;;;;;;;CAUzB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AAEX,eAAO,MAAM,2BAA2B,EAAE,IA0BzC,CAAC"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../config/entities/targets/shared.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,sBAAsB;;;;;;;;;;CAUzB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AAEX,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;CAMf,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AAEX,eAAO,MAAM,2BAA2B,EAAE,IA0BzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../config/entities/targets/target.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,eAAO,MAAM,oBAAoB,EAAE,iBAMlC,CAAC"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../config/entities/targets/target.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,eAAO,MAAM,oBAAoB,EAAE,iBAUlC,CAAC"}
@@ -0,0 +1,32 @@
1
+ export type InferenceServer = {
2
+ metadata: {
3
+ name: string;
4
+ namespace: string;
5
+ };
6
+ spec: {
7
+ tenancyType: number;
8
+ backendType: number;
9
+ ownerSpec?: {
10
+ ownerInfo?: {
11
+ owningTeam?: string;
12
+ owners?: string[];
13
+ ownerGroups?: string[];
14
+ };
15
+ tier?: number;
16
+ };
17
+ initSpec: {
18
+ resourceSpec: {
19
+ cpu: number;
20
+ memory: string;
21
+ diskSize: string;
22
+ gpu: number;
23
+ };
24
+ servingSpec?: {
25
+ version?: string;
26
+ containerBuildTemplate?: string;
27
+ };
28
+ numInstances: number;
29
+ };
30
+ };
31
+ };
32
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../config/entities/targets/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,IAAI,EAAE;QACJ,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE;YACV,SAAS,CAAC,EAAE;gBACV,UAAU,CAAC,EAAE,MAAM,CAAC;gBACpB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;gBAClB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;aACxB,CAAC;YACF,IAAI,CAAC,EAAE,MAAM,CAAC;SACf,CAAC;QACF,QAAQ,EAAE;YACR,YAAY,EAAE;gBACZ,GAAG,EAAE,MAAM,CAAC;gBACZ,MAAM,EAAE,MAAM,CAAC;gBACf,QAAQ,EAAE,MAAM,CAAC;gBACjB,GAAG,EAAE,MAAM,CAAC;aACb,CAAC;YACF,WAAW,CAAC,EAAE;gBACZ,OAAO,CAAC,EAAE,MAAM,CAAC;gBACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;aACjC,CAAC;YACF,YAAY,EAAE,MAAM,CAAC;SACtB,CAAC;KACH,CAAC;CACH,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=trigger-recent-runs.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trigger-recent-runs.test.d.ts","sourceRoot":"","sources":["../../../../../config/entities/trigger/__tests__/trigger-recent-runs.test.tsx"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"detail.d.ts","sourceRoot":"","sources":["../../../../config/entities/trigger/detail.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,qBAAqB,EAAE,gBAkCnC,CAAC"}
1
+ {"version":3,"file":"detail.d.ts","sourceRoot":"","sources":["../../../../config/entities/trigger/detail.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAUrE,eAAO,MAAM,qBAAqB,EAAE,gBAoCnC,CAAC"}
@@ -14,6 +14,81 @@ export type Trigger = {
14
14
  };
15
15
  };
16
16
  };
17
+ /**
18
+ * A trigger declared in a pipeline's manifest (`PipelineManifest.trigger_map`), as
19
+ * protobuf-es decodes the proto `Trigger` message: the `oneof trigger_type` becomes a
20
+ * tagged `{ case, value }` union.
21
+ *
22
+ * The whole object is copied (and, for a backfill run, partially overridden) into
23
+ * {@link RunTriggerPayload.spec.trigger} on submit, so fields not read directly by the UI
24
+ * still survive the round trip via object spread — they just aren't typed here individually
25
+ * unless a form field needs to read or override them (see `parametersMap`, `maxConcurrency`).
26
+ */
27
+ export type ManifestTrigger = {
28
+ triggerType?: {
29
+ case: 'cronSchedule';
30
+ value: {
31
+ cron?: string;
32
+ };
33
+ } | {
34
+ case: 'intervalSchedule';
35
+ value: {
36
+ interval?: {
37
+ seconds?: bigint | number | string;
38
+ };
39
+ };
40
+ } | {
41
+ case: 'batchRerun';
42
+ value: BatchRerun;
43
+ };
44
+ /** Dynamic pipeline parameters this trigger can run with, keyed by parameter ID. */
45
+ parametersMap?: Record<string, unknown>;
46
+ /** Default cap on concurrent runs for this trigger; overridable for a backfill run. */
47
+ maxConcurrency?: number;
48
+ };
49
+ /** Reruns a set of existing pipeline runs, optionally from/up to specific DAG nodes (proto `BatchRerun`). */
50
+ export type BatchRerun = {
51
+ /** The pipeline runs to rerun. */
52
+ pipelineRuns?: {
53
+ name?: string;
54
+ namespace?: string;
55
+ }[];
56
+ /** DAG nodes execution resumes from. */
57
+ resumeFrom?: string[];
58
+ /** DAG nodes execution runs up to (inclusive). */
59
+ resumeUpTo?: string[];
60
+ };
61
+ /**
62
+ * Payload for `CreateTriggerRun` when running a pipeline from a manifest trigger — either on
63
+ * its declared schedule, or as a one-off backfill over a time window.
64
+ *
65
+ * `spec.trigger` carries the schedule and is what actually drives execution — the
66
+ * reconciler reads it directly (`GetTriggerType` in go/components/triggerrun/util.go) and
67
+ * falls through to `TriggerTypeUnknown` if it is absent, leaving the TriggerRun inert.
68
+ * `spec.sourceTriggerName` is provenance only; nothing on the backend resolves it.
69
+ */
70
+ export type RunTriggerPayload = {
71
+ metadata: {
72
+ name: string;
73
+ namespace: string;
74
+ };
75
+ spec: {
76
+ pipeline: {
77
+ name: string;
78
+ namespace: string;
79
+ };
80
+ trigger: ManifestTrigger;
81
+ sourceTriggerName: string;
82
+ autoFlip: boolean;
83
+ /** Epoch-seconds window bounds; present only for a backfill run. */
84
+ startTimestamp?: {
85
+ seconds: string;
86
+ };
87
+ endTimestamp?: {
88
+ seconds: string;
89
+ };
90
+ };
91
+ };
17
92
  export type TriggerRun = {
18
93
  metadata: {
19
94
  name: string;
@@ -31,6 +106,8 @@ export type TriggerRun = {
31
106
  actor: {
32
107
  name: string;
33
108
  };
109
+ /** The trigger definition this run executes; its `triggerType` decides the schedule. */
110
+ trigger?: ManifestTrigger;
34
111
  sourceTriggerName: string;
35
112
  autoFlip: boolean;
36
113
  notifications: unknown[];