Skip to content

Commit 5e84636

Browse files
committed
remove Application#gitIntegration
1 parent bb0e3ce commit 5e84636

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"node": ">=18.0.0"
1717
},
1818
"dependencies": {
19-
"@squarecloud/api-types": "^0.2.0",
19+
"@squarecloud/api-types": "^0.2.1",
2020
"form-data": "^4.0.0",
2121
"zod": "^3.22.4"
2222
},

src/assertions/application.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const applicationSchema = z
1111
ram: z.number(),
1212
language: z.nativeEnum(ApplicationLanguage),
1313
isWebsite: z.boolean(),
14-
gitIntegration: z.boolean(),
1514
})
1615
.passthrough();
1716

src/structures/application/application.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ export class Application {
4545
* - `php`
4646
*/
4747
language: ApplicationLanguage;
48-
/** Whether this application has GitHub integration configured or not */
49-
gitIntegration: boolean;
5048
/** Files manager for this application */
5149
files = new ApplicationFilesManager(this);
5250
/** Backup manager for this application */
@@ -62,15 +60,14 @@ export class Application {
6260
) {
6361
assertApplication(data);
6462

65-
const { id, name, desc, cluster, ram, language, gitIntegration } = data;
63+
const { id, name, desc, cluster, ram, language } = data;
6664

6765
this.id = id;
6866
this.name = name;
6967
this.description = desc;
7068
this.cluster = cluster;
7169
this.ram = ram;
7270
this.language = language;
73-
this.gitIntegration = gitIntegration;
7471
this.url = `https://squarecloud.app/dashboard/app/${id}`;
7572
}
7673

0 commit comments

Comments
 (0)