@prefecthq/prefect-ui-library 2.9.16 → 2.9.17

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.
@@ -67,6 +67,8 @@ export declare const localization: {
67
67
  updateWorkPoolQueue: string;
68
68
  updateWorkQueue: string;
69
69
  variableAlreadyExists: string;
70
+ automationToggle: (enabled: boolean) => "Sorry, something went wrong enabling your automation" | "Sorry, something went wrong disabling your automation";
71
+ automationDelete: string;
70
72
  };
71
73
  success: {
72
74
  activateDeployment: string;
@@ -110,6 +112,8 @@ export declare const localization: {
110
112
  updateWorkPool: string;
111
113
  updateWorkPoolQueue: string;
112
114
  updateWorkQueue: string;
115
+ automationEnable: (enabled?: boolean) => "Automation enabled" | "Automation disabled";
116
+ automationDelete: string;
113
117
  };
114
118
  info: {
115
119
  form: string;
@@ -67,6 +67,8 @@ export declare const en: {
67
67
  updateWorkPoolQueue: string;
68
68
  updateWorkQueue: string;
69
69
  variableAlreadyExists: string;
70
+ automationToggle: (enabled: boolean) => "Sorry, something went wrong enabling your automation" | "Sorry, something went wrong disabling your automation";
71
+ automationDelete: string;
70
72
  };
71
73
  success: {
72
74
  activateDeployment: string;
@@ -110,6 +112,8 @@ export declare const en: {
110
112
  updateWorkPool: string;
111
113
  updateWorkPoolQueue: string;
112
114
  updateWorkQueue: string;
115
+ automationEnable: (enabled?: boolean) => "Automation enabled" | "Automation disabled";
116
+ automationDelete: string;
113
117
  };
114
118
  info: {
115
119
  form: string;
@@ -5,5 +5,7 @@ export declare class WorkspaceAutomationsApi extends WorkspaceApi {
5
5
  protected routePrefix: string;
6
6
  getAutomation(automationId: string): Promise<Automation>;
7
7
  getAutomations(filter?: AutomationsFilter): Promise<Automation[]>;
8
+ deleteAutomation(automationId: string): Promise<void>;
9
+ enableAutomation(automationId: string, enabled?: boolean): Promise<void>;
8
10
  validateTemplate(template: string): Promise<string | true>;
9
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefecthq/prefect-ui-library",
3
- "version": "2.9.16",
3
+ "version": "2.9.17",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",