@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.
- package/dist/{FlowRunsPageWithDefaultFilter-BxmCUU7j.mjs → FlowRunsPageWithDefaultFilter-Yf_xOdMk.mjs} +2 -2
- package/dist/{FlowRunsPageWithDefaultFilter-BxmCUU7j.mjs.map → FlowRunsPageWithDefaultFilter-Yf_xOdMk.mjs.map} +1 -1
- package/dist/{index-Xy1pGn6S.mjs → index-BKg42Hh6.mjs} +6836 -6658
- package/dist/index-BKg42Hh6.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +902 -898
- package/dist/prefect-ui-library.umd.js +50 -50
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/src/automations/components/AutomationMenu.vue.d.ts +27 -0
- package/dist/types/src/automations/components/AutomationToggle.vue.d.ts +20 -0
- package/dist/types/src/automations/components/AutomationTriggerDescription.vue.d.ts +15 -0
- package/dist/types/src/automations/components/AutomationsPageEmptyState.vue.d.ts +2 -0
- package/dist/types/src/automations/components/index.d.ts +4 -0
- package/dist/types/src/localization/index.d.ts +4 -0
- package/dist/types/src/localization/locale/en.d.ts +4 -0
- package/dist/types/src/services/WorkspaceAutomationsApi.d.ts +2 -0
- package/package.json +1 -1
- package/dist/index-Xy1pGn6S.mjs.map +0 -1
|
@@ -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
|
}
|