Skip to content

Commit

Permalink
Feat: cancel newest concurrency strategey (#512)
Browse files Browse the repository at this point in the history
* feat: cancel newest concurrency strategy

* release: 0.18.0
  • Loading branch information
grutt authored Dec 19, 2024
1 parent bddc7d8 commit be37adc
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hatchet-dev/typescript-sdk",
"version": "0.17.1",
"version": "0.18.0",
"description": "Background task orchestration & visibility for developers",
"types": "dist/index.d.ts",
"files": [
Expand Down
37 changes: 36 additions & 1 deletion src/clients/rest/generated/Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1124,10 +1124,30 @@ export class Api<SecurityDataType = unknown> extends HttpClient<SecurityDataType
* @request GET:/api/v1/tenants/{tenant}/workflows
* @secure
*/
workflowList = (tenant: string, params: RequestParams = {}) =>
workflowList = (
tenant: string,
query?: {
/**
* The number to skip
* @format int
* @default 0
*/
offset?: number;
/**
* The number to limit by
* @format int
* @default 50
*/
limit?: number;
/** Search by name */
name?: string;
},
params: RequestParams = {}
) =>
this.request<WorkflowList, APIErrors>({
path: `/api/v1/tenants/${tenant}/workflows`,
method: 'GET',
query: query,
secure: true,
format: 'json',
...params,
Expand Down Expand Up @@ -2124,4 +2144,19 @@ export class Api<SecurityDataType = unknown> extends HttpClient<SecurityDataType
format: 'json',
...params,
});
/**
* @description Triggers a workflow to check the status of the instance
*
* @name MonitoringPostRunProbe
* @summary Detailed Health Probe For the Instance
* @request POST:/api/v1/monitoring/{tenant}/probe
* @secure
*/
monitoringPostRunProbe = (tenant: string, params: RequestParams = {}) =>
this.request<void, APIErrors>({
path: `/api/v1/monitoring/${tenant}/probe`,
method: 'POST',
secure: true,
...params,
});
}
2 changes: 1 addition & 1 deletion src/protoc/dispatcher/dispatcher.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/protoc/events/events.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/protoc/google/protobuf/timestamp.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion src/protoc/workflows/workflows.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit be37adc

Please sign in to comment.