@prefecthq/prefect-ui-library 1.5.0 → 1.5.2

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.
@@ -35,6 +35,7 @@ export declare const localization: {
35
35
  delete: (type: string) => string;
36
36
  deleteSavedSearch: string;
37
37
  editVariable: string;
38
+ invalidJSON: string;
38
39
  pauseDeployment: string;
39
40
  pauseFlowRun: string;
40
41
  pauseNotification: string;
@@ -138,6 +139,7 @@ export declare const localization: {
138
139
  invalidData: (docsUrl: string) => string;
139
140
  noResults: string;
140
141
  none: string;
142
+ infraOverrides: string;
141
143
  terminalTaskRunNoArtifacts: string;
142
144
  nonTerminalTaskRunNoArtifacts: string;
143
145
  terminalFlowRunNoArtifacts: string;
@@ -35,6 +35,7 @@ export declare const en: {
35
35
  delete: (type: string) => string;
36
36
  deleteSavedSearch: string;
37
37
  editVariable: string;
38
+ invalidJSON: string;
38
39
  pauseDeployment: string;
39
40
  pauseFlowRun: string;
40
41
  pauseNotification: string;
@@ -138,6 +139,7 @@ export declare const en: {
138
139
  invalidData: (docsUrl: string) => string;
139
140
  noResults: string;
140
141
  none: string;
142
+ infraOverrides: string;
141
143
  terminalTaskRunNoArtifacts: string;
142
144
  nonTerminalTaskRunNoArtifacts: string;
143
145
  terminalFlowRunNoArtifacts: string;
@@ -106,6 +106,7 @@ export declare const maps: {
106
106
  infrastructure_document_id: string | null;
107
107
  work_queue_name: string | null;
108
108
  work_pool_name: string | null;
109
+ infra_overrides: Record<string, unknown> | null;
109
110
  }>>;
110
111
  };
111
112
  EmpiricalPolicy: {
@@ -7,14 +7,27 @@ type Base = {
7
7
  tags?: string[] | null;
8
8
  workQueueName?: string | null;
9
9
  workPoolName?: string | null;
10
+ infrastructureOverrides?: Record<string, unknown> | null;
11
+ };
12
+ type BaseEdit = Omit<Base, 'infrastructureOverrides'> & {
13
+ infrastructureOverrides?: string;
10
14
  };
11
15
  type WithoutParameters = Base & {
12
16
  schema?: never;
13
17
  parameters?: never;
14
18
  };
19
+ type WithoutParametersEdit = BaseEdit & {
20
+ schema?: never;
21
+ parameters?: never;
22
+ };
15
23
  type WithParameters = Base & {
16
24
  schema: Schema;
17
25
  parameters: SchemaValues;
18
26
  };
27
+ type WithParametersEdit = BaseEdit & {
28
+ schema: Schema;
29
+ parameters: SchemaValues;
30
+ };
19
31
  export type DeploymentUpdate = WithoutParameters | WithParameters;
32
+ export type DeploymentEdit = WithoutParametersEdit | WithParametersEdit;
20
33
  export {};
@@ -12,4 +12,5 @@ export type DeploymentUpdateRequest = Partial<{
12
12
  infrastructure_document_id: string | null;
13
13
  work_queue_name: string | null;
14
14
  work_pool_name: string | null;
15
+ infra_overrides: Record<string, unknown> | null;
15
16
  }>;
@@ -130,6 +130,7 @@ export declare const mapper: Mapper<{
130
130
  infrastructure_document_id: string | null;
131
131
  work_queue_name: string | null;
132
132
  work_pool_name: string | null;
133
+ infra_overrides: Record<string, unknown> | null;
133
134
  }>>;
134
135
  };
135
136
  EmpiricalPolicy: {
@@ -3,11 +3,11 @@ import { SchemaPropertyComponentWithProps } from '../../../services/schemas/util
3
3
  import { SchemaValue } from '../../../types/schemas';
4
4
  import { ValidationMethodFactory } from '../../../utilities/validation';
5
5
  export declare class SchemaPropertyString extends SchemaPropertyService {
6
+ protected get component(): SchemaPropertyComponentWithProps;
7
+ protected get default(): SchemaValue;
6
8
  protected get validators(): ValidationMethodFactory[];
7
9
  protected request(value: SchemaValue): unknown;
8
10
  protected response(value: SchemaValue): unknown;
9
- protected get default(): SchemaValue;
10
- protected get component(): SchemaPropertyComponentWithProps;
11
11
  private requestDateValue;
12
12
  private responseDateValue;
13
13
  private requestDateTimeValue;
@@ -1,4 +1,4 @@
1
- import { l as c, J as b, X as O, f as k } from "./index-d9d3a498.mjs";
1
+ import { f as c, $ as b, X as O, c as k } from "./index-04f45c48.mjs";
2
2
  import "vue";
3
3
  import "@prefecthq/vue-charts";
4
4
  import "@prefecthq/prefect-design";
@@ -975,7 +975,7 @@ class G extends d {
975
975
  this.snapping = null, super.resume();
976
976
  }
977
977
  }
978
- const J = {
978
+ const $ = {
979
979
  percent: 0.1,
980
980
  smooth: !1,
981
981
  interrupt: !0,
@@ -989,7 +989,7 @@ const J = {
989
989
  };
990
990
  class N extends d {
991
991
  constructor(t, e = {}) {
992
- super(t), this.options = Object.assign({}, J, e), this.keyIsPressed = !1, this.options.keyToPress && this.handleKeyPresses(this.options.keyToPress);
992
+ super(t), this.options = Object.assign({}, $, e), this.keyIsPressed = !1, this.options.keyToPress && this.handleKeyPresses(this.options.keyToPress);
993
993
  }
994
994
  handleKeyPresses(t) {
995
995
  window.addEventListener("keydown", (e) => {
@@ -1078,7 +1078,7 @@ class N extends d {
1078
1078
  return !this.parent.options.passiveWheel;
1079
1079
  }
1080
1080
  }
1081
- class $ {
1081
+ class J {
1082
1082
  constructor(t) {
1083
1083
  this.viewport = t, this.touches = [], this.addListeners();
1084
1084
  }
@@ -1285,7 +1285,7 @@ class C extends k {
1285
1285
  { divWheel: document.body },
1286
1286
  et,
1287
1287
  t
1288
- ), this.screenWidth = this.options.screenWidth, this.screenHeight = this.options.screenHeight, this._worldWidth = this.options.worldWidth, this._worldHeight = this.options.worldHeight, this.forceHitArea = this.options.forceHitArea, this.threshold = this.options.threshold, this.options.divWheel = this.options.divWheel || document.body, this.options.disableOnContextMenu && this.options.divWheel.addEventListener("contextmenu", this._disableOnContextMenu), this.options.noTicker || (this.tickerFunction = () => this.update(this.options.ticker.elapsedMS), this.options.ticker.add(this.tickerFunction)), this.input = new $(this), this.plugins = new tt(this);
1288
+ ), this.screenWidth = this.options.screenWidth, this.screenHeight = this.options.screenHeight, this._worldWidth = this.options.worldWidth, this._worldHeight = this.options.worldHeight, this.forceHitArea = this.options.forceHitArea, this.threshold = this.options.threshold, this.options.divWheel = this.options.divWheel || document.body, this.options.disableOnContextMenu && this.options.divWheel.addEventListener("contextmenu", this._disableOnContextMenu), this.options.noTicker || (this.tickerFunction = () => this.update(this.options.ticker.elapsedMS), this.options.ticker.add(this.tickerFunction)), this.input = new J(this), this.plugins = new tt(this);
1289
1289
  }
1290
1290
  destroy(t) {
1291
1291
  !this.options.noTicker && this.tickerFunction && this.options.ticker.remove(this.tickerFunction), this.options.disableOnContextMenu && this.options.divWheel.removeEventListener("contextmenu", this._disableOnContextMenu), this.input.destroy(), super.destroy(t);
@@ -1525,7 +1525,7 @@ export {
1525
1525
  V as Decelerate,
1526
1526
  M as Drag,
1527
1527
  j as Follow,
1528
- $ as InputManager,
1528
+ J as InputManager,
1529
1529
  q as MouseEdges,
1530
1530
  y as Pinch,
1531
1531
  d as Plugin,
@@ -1535,4 +1535,4 @@ export {
1535
1535
  C as Viewport,
1536
1536
  N as Wheel
1537
1537
  };
1538
- //# sourceMappingURL=viewport.es-14935be0-cad7f008.mjs.map
1538
+ //# sourceMappingURL=viewport.es-87938ebd-a4dd3056.mjs.map