@superblocksteam/sdk 2.0.9 → 2.0.10-next.1

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/src/sdk.ts CHANGED
@@ -11,6 +11,7 @@ import {
11
11
  fetchCurrentUser,
12
12
  pushApi,
13
13
  pushApplication,
14
+ pushApplicationCodeMode,
14
15
  registerComponents,
15
16
  uploadComponents,
16
17
  validateGitSetup,
@@ -297,6 +298,34 @@ export class SuperblocksSdk {
297
298
  applicationConfig,
298
299
  });
299
300
  }
301
+
302
+ async pushApplicationCodeMode({
303
+ applicationId,
304
+ localDirectoryPath,
305
+ branch,
306
+ commitId,
307
+ commitMessage,
308
+ forcePush,
309
+ }: {
310
+ applicationId: string;
311
+ localDirectoryPath: string;
312
+ branch: string;
313
+ commitId: string;
314
+ commitMessage: string;
315
+ forcePush?: boolean;
316
+ }) {
317
+ return pushApplicationCodeMode({
318
+ applicationId,
319
+ token: this.token,
320
+ superblocksBaseUrl: this.superblocksBaseUrl,
321
+ branch,
322
+ localDirectoryPath,
323
+ commitId,
324
+ commitMessage,
325
+ forcePush,
326
+ });
327
+ }
328
+
300
329
  async pushApi({
301
330
  apiId,
302
331
  apiConfig,