@livechat/developer-studio-api 2.0.9 → 2.0.10

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/index.d.mts CHANGED
@@ -782,14 +782,15 @@ type LinkAppRepositoryGitHubData = {
782
782
  type: "existing";
783
783
  fullName: string;
784
784
  branch: string;
785
- target?: "node";
786
785
  };
787
786
  type LinkAppRepositoryGitLabData = {};
788
- type LinkAppRepositoryData = ({
787
+ type LinkAppRepositoryData = {
788
+ target: AppRepositoryTarget | undefined;
789
+ } & (({
789
790
  provider: "github";
790
791
  } & LinkAppRepositoryGitHubData) | ({
791
792
  provider: "gitlab";
792
- } & LinkAppRepositoryGitLabData);
793
+ } & LinkAppRepositoryGitLabData));
793
794
  type LinkAppRepositoryPayload = {
794
795
  appId: string;
795
796
  appName: string;
@@ -1284,7 +1285,7 @@ interface UpdateApplicationIconPayload {
1284
1285
  }
1285
1286
 
1286
1287
  type AppRepositoryProvider = "github" | "gitlab";
1287
- type AppRepositoryTarget = "node";
1288
+ type AppRepositoryTarget = "node" | "nextjs";
1288
1289
  type AppDeploymentProvider = "internal" | "netlify" | "vercel" | "heroku" | "custom";
1289
1290
  type AppDeploymentMode = "local" | "provider";
1290
1291
  type AppLoggerProvider = "sentry" | "amplitude";
package/dist/index.d.ts CHANGED
@@ -782,14 +782,15 @@ type LinkAppRepositoryGitHubData = {
782
782
  type: "existing";
783
783
  fullName: string;
784
784
  branch: string;
785
- target?: "node";
786
785
  };
787
786
  type LinkAppRepositoryGitLabData = {};
788
- type LinkAppRepositoryData = ({
787
+ type LinkAppRepositoryData = {
788
+ target: AppRepositoryTarget | undefined;
789
+ } & (({
789
790
  provider: "github";
790
791
  } & LinkAppRepositoryGitHubData) | ({
791
792
  provider: "gitlab";
792
- } & LinkAppRepositoryGitLabData);
793
+ } & LinkAppRepositoryGitLabData));
793
794
  type LinkAppRepositoryPayload = {
794
795
  appId: string;
795
796
  appName: string;
@@ -1284,7 +1285,7 @@ interface UpdateApplicationIconPayload {
1284
1285
  }
1285
1286
 
1286
1287
  type AppRepositoryProvider = "github" | "gitlab";
1287
- type AppRepositoryTarget = "node";
1288
+ type AppRepositoryTarget = "node" | "nextjs";
1288
1289
  type AppDeploymentProvider = "internal" | "netlify" | "vercel" | "heroku" | "custom";
1289
1290
  type AppDeploymentMode = "local" | "provider";
1290
1291
  type AppLoggerProvider = "sentry" | "amplitude";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,9 +18,9 @@
18
18
  "tsup": "^7.1.0",
19
19
  "typescript": "^5.1.6",
20
20
  "config": "0.0.0",
21
+ "tsconfig": "0.0.0",
21
22
  "eslint-config-custom-lib": "0.0.1",
22
- "types": "0.0.1",
23
- "tsconfig": "0.0.0"
23
+ "types": "0.0.1"
24
24
  },
25
25
  "scripts": {
26
26
  "build": "tsup src/index.ts --format esm,cjs --dts",