@livechat/developer-studio-api 3.0.17 → 3.0.19

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
@@ -1248,14 +1248,17 @@ type LinkAppStorageNeonData = {
1248
1248
  type: "new";
1249
1249
  projectName?: string;
1250
1250
  databaseName?: string;
1251
- } | {
1251
+ } | ({
1252
1252
  type: "existing";
1253
1253
  projectId: string;
1254
- databaseId?: number;
1255
- databaseName: string;
1256
1254
  branchId: string;
1257
- databaseType: "new" | "existing";
1258
- };
1255
+ } & ({
1256
+ databaseType: "new";
1257
+ databaseName?: string;
1258
+ } | {
1259
+ databaseType: "existing";
1260
+ databaseName: string;
1261
+ }));
1259
1262
  type LinkAppStorageData = (({
1260
1263
  provider: "planetscale";
1261
1264
  } & LinkAppStoragePlanetScaleData) | ({
@@ -1948,7 +1951,7 @@ interface UpdateApplicationIconPayload {
1948
1951
  }
1949
1952
 
1950
1953
  type AppRepositoryProvider = "github";
1951
- type AppRepositoryTarget = "node" | "nextjs";
1954
+ type AppRepositoryTarget = "browser" | "nextjs";
1952
1955
  type AppDeploymentProvider = "netlify" | "vercel" | "custom";
1953
1956
  type AppStorageProvider = "planetscale" | "neon";
1954
1957
  interface AppRepositoryBlockConfig {
package/dist/index.d.ts CHANGED
@@ -1248,14 +1248,17 @@ type LinkAppStorageNeonData = {
1248
1248
  type: "new";
1249
1249
  projectName?: string;
1250
1250
  databaseName?: string;
1251
- } | {
1251
+ } | ({
1252
1252
  type: "existing";
1253
1253
  projectId: string;
1254
- databaseId?: number;
1255
- databaseName: string;
1256
1254
  branchId: string;
1257
- databaseType: "new" | "existing";
1258
- };
1255
+ } & ({
1256
+ databaseType: "new";
1257
+ databaseName?: string;
1258
+ } | {
1259
+ databaseType: "existing";
1260
+ databaseName: string;
1261
+ }));
1259
1262
  type LinkAppStorageData = (({
1260
1263
  provider: "planetscale";
1261
1264
  } & LinkAppStoragePlanetScaleData) | ({
@@ -1948,7 +1951,7 @@ interface UpdateApplicationIconPayload {
1948
1951
  }
1949
1952
 
1950
1953
  type AppRepositoryProvider = "github";
1951
- type AppRepositoryTarget = "node" | "nextjs";
1954
+ type AppRepositoryTarget = "browser" | "nextjs";
1952
1955
  type AppDeploymentProvider = "netlify" | "vercel" | "custom";
1953
1956
  type AppStorageProvider = "planetscale" | "neon";
1954
1957
  interface AppRepositoryBlockConfig {
package/dist/index.js CHANGED
@@ -3315,7 +3315,7 @@ var appRepositoryTemplates = {
3315
3315
  tags: ["Auth", "Agent App SDK", "Moments"],
3316
3316
  repository: {
3317
3317
  name: "livechat/developer-app-template-vite",
3318
- target: "node"
3318
+ target: "browser"
3319
3319
  }
3320
3320
  },
3321
3321
  saas: {
package/dist/index.mjs CHANGED
@@ -3213,7 +3213,7 @@ var appRepositoryTemplates = {
3213
3213
  tags: ["Auth", "Agent App SDK", "Moments"],
3214
3214
  repository: {
3215
3215
  name: "livechat/developer-app-template-vite",
3216
- target: "node"
3216
+ target: "browser"
3217
3217
  }
3218
3218
  },
3219
3219
  saas: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.0.17",
3
+ "version": "3.0.19",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",