@builder.io/ai-utils 0.48.1 → 0.49.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.48.1",
3
+ "version": "0.49.0",
4
4
  "description": "Builder.io AI utils",
5
5
  "files": [
6
6
  "src"
@@ -3,7 +3,6 @@ export const BUILDER_TARGETS = {
3
3
  "builder.codes": "https://test.projects.builder.codes/proxy-health",
4
4
  "api.builder.io": "https://api.builder.io/codegen/health",
5
5
  "cdn.builder.io": "https://cdn.builder.io/api/v1/image/assets/TEMP/75a212ab82b6175c9862b125e0e23db8d369a58a?width=100",
6
- "builderio.xyz": "https://builderio.xyz/health",
7
6
  "health.builderio.xyz": "https://health.builderio.xyz/health",
8
7
  "fly.dev": "https://fly.dev",
9
8
  };
@@ -1,5 +1,5 @@
1
1
  export type Source = "local" | "cloud" | "static-ip";
2
- export type TestId = "builder.io" | "builder.codes" | "api.builder.io" | "cdn.builder.io" | "builderio.xyz" | "health.builderio.xyz" | "fly.dev" | "git-host:http" | "git-host:dns" | "git-host:tcp" | "git-host:tls" | "git-host:ssh";
2
+ export type TestId = "builder.io" | "builder.codes" | "api.builder.io" | "cdn.builder.io" | "health.builderio.xyz" | "fly.dev" | "git-host:http" | "git-host:dns" | "git-host:tcp" | "git-host:tls" | "git-host:ssh";
3
3
  export interface Test {
4
4
  source: Source;
5
5
  testId: TestId;
package/src/projects.d.ts CHANGED
@@ -563,6 +563,10 @@ export interface ProjectAccessControl {
563
563
  roles: Record<string, ProjectRolePermissions | null>;
564
564
  users: Record<string, ProjectRolePermissions>;
565
565
  }
566
+ export interface PreviewPasswordProtection {
567
+ enabled: boolean;
568
+ password?: string;
569
+ }
566
570
  export interface Project {
567
571
  id: string;
568
572
  name: string;
@@ -686,6 +690,7 @@ export interface Project {
686
690
  /** VPC peering ID for this project. Overrides the space-level defaultVpcPeering.
687
691
  * References a document in the vpcPeerings collection. */
688
692
  vpcPeering?: string;
693
+ previewPasswordProtection?: PreviewPasswordProtection;
689
694
  };
690
695
  screenshot: string | null;
691
696
  isExample?: boolean;