Skip to content

Commit

Permalink
refactor: remove application commit query
Browse files Browse the repository at this point in the history
  • Loading branch information
joaotonaco committed Nov 4, 2024
1 parent 70b4afa commit df0a13d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/giant-squids-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@squarecloud/api-types": patch
---

Remove `RESTPostAPIApplicationCommitQuery` due to API changes
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"clean": "rimraf {common,payloads,rest}/**/*.{*js,d.*ts,*map} {utils,v*}.{*js,d.*ts,*map}",
"lint": "biome check --fix .",
"tsc": "tsup",
"check-types": "tsc --noEmit",
"prepublishOnly": "run-s clean lint build",
"postpublish": "npm run clean",
"release": "npm run build && changeset publish"
Expand Down
7 changes: 0 additions & 7 deletions rest/v2/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ export interface RESTPostAPIApplicationCommitFormDataBody {
file: unknown;
}

/**
* @see https://docs.squarecloud.app/api-reference/endpoint/apps/commit
*/
export interface RESTPostAPIApplicationCommitQuery {
restart?: boolean;
}

export interface RESTPostAPIApplicationCommitResultPayload
extends APIPayloadStatusOnly {
message?: string;
Expand Down

0 comments on commit df0a13d

Please sign in to comment.