@lovable.dev/sdk 1.9.1 → 1.10.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.
@@ -2817,7 +2817,14 @@ export interface components {
2817
2817
  */
2818
2818
  project_type?: "project" | "library";
2819
2819
  /**
2820
- * @description Who can access the published app. Separate from editor sharing. More values may be added; clients must tolerate unknown values.
2820
+ * @description Who can open the published app, using the same values as the visibility field on the publish routes. Omitted while the app is not published. More values may be added; clients must tolerate unknown values.
2821
+ * @example public
2822
+ * @enum {string}
2823
+ */
2824
+ publish_audience?: "public" | "workspace" | "custom";
2825
+ /**
2826
+ * @deprecated
2827
+ * @description Deprecated: use publish_audience. Stored app-access setting; private covers both the workspace and custom audiences. More values may be added; clients must tolerate unknown values.
2821
2828
  * @example public
2822
2829
  * @enum {string}
2823
2830
  */
@@ -3982,7 +3989,14 @@ export interface components {
3982
3989
  */
3983
3990
  project_type?: "project" | "library";
3984
3991
  /**
3985
- * @description Who can access the published app. Separate from editor sharing. More values may be added; clients must tolerate unknown values.
3992
+ * @description Who can open the published app, using the same values as the visibility field on the publish routes. Omitted while the app is not published. More values may be added; clients must tolerate unknown values.
3993
+ * @example public
3994
+ * @enum {string}
3995
+ */
3996
+ publish_audience?: "public" | "workspace" | "custom";
3997
+ /**
3998
+ * @deprecated
3999
+ * @description Deprecated: use publish_audience. Stored app-access setting; private covers both the workspace and custom audiences. More values may be added; clients must tolerate unknown values.
3986
4000
  * @example public
3987
4001
  * @enum {string}
3988
4002
  */
@@ -4494,7 +4508,14 @@ export interface components {
4494
4508
  */
4495
4509
  project_type?: "project" | "library";
4496
4510
  /**
4497
- * @description Who can access the published app. Separate from editor sharing. More values may be added; clients must tolerate unknown values.
4511
+ * @description Who can open the published app, using the same values as the visibility field on the publish routes. Omitted while the app is not published. More values may be added; clients must tolerate unknown values.
4512
+ * @example public
4513
+ * @enum {string}
4514
+ */
4515
+ publish_audience?: "public" | "workspace" | "custom";
4516
+ /**
4517
+ * @deprecated
4518
+ * @description Deprecated: use publish_audience. Stored app-access setting; private covers both the workspace and custom audiences. More values may be added; clients must tolerate unknown values.
4498
4519
  * @example public
4499
4520
  * @enum {string}
4500
4521
  */
@@ -5319,7 +5340,14 @@ export interface components {
5319
5340
  /** @description Project owner's display name, when available. */
5320
5341
  owner?: components["schemas"]["WorkspaceInsightsOwner"];
5321
5342
  /**
5322
- * @description Who can access the published site. Separate from editor sharing. More values may be added; clients must tolerate unknown values.
5343
+ * @description Who can open the published site, using the same values as the visibility field on the publish routes. Omitted while the site is not published. More values may be added; clients must tolerate unknown values.
5344
+ * @example public
5345
+ * @enum {string}
5346
+ */
5347
+ publish_audience?: "public" | "workspace" | "custom";
5348
+ /**
5349
+ * @deprecated
5350
+ * @description Deprecated: use publish_audience. Stored app-access setting; private covers both the workspace and custom audiences. More values may be added; clients must tolerate unknown values.
5323
5351
  * @example public
5324
5352
  * @enum {string}
5325
5353
  */
@@ -7091,8 +7119,8 @@ export interface operations {
7091
7119
  user_id?: string;
7092
7120
  /** @description Filter projects by editor-sharing scope. Omit to include every scope you can access. */
7093
7121
  visibility?: "personal" | "workspace" | "public" | "all";
7094
- /** @description Filter by publication state and audience. Audience-specific filters require an explicit app-access setting; projects without one remain in the broader publication-state results. Omit to include every state. */
7095
- publish_status?: "any" | "published" | "internal" | "external" | "not_published";
7122
+ /** @description Filter by publication state and audience. workspace matches published apps limited to workspace members or a selected audience; public matches apps anyone can open. Deprecated aliases: internal (use workspace), external (use public). Audience-specific filters require an explicit app-access setting; projects without one remain in the broader publication-state results. Omit to include every state. */
7123
+ publish_status?: "any" | "published" | "workspace" | "public" | "internal" | "external" | "not_published";
7096
7124
  /** @description Filter by folder ID */
7097
7125
  folder_id?: string;
7098
7126
  /** @description Filter by project type. Design-system libraries and reusable templates exclude personal drafts unless the sharing filter selects them. Omit to include every type. */
@@ -9881,8 +9909,8 @@ export interface operations {
9881
9909
  contains_pii?: boolean;
9882
9910
  /** @description Set true to include only projects with a connected service. False or omitted applies no filter. */
9883
9911
  has_connectors?: boolean;
9884
- /** @description Filter by published site access. Restricted sites may also have selected external viewers. Repeat to match any selected status; omit for no filter. */
9885
- publish_status?: ("external" | "workspace" | "not_published")[] | null;
9912
+ /** @description Filter by published site access. workspace matches sites limited to workspace members or a selected audience; public matches sites anyone can open. Deprecated aliases: external (use public). Repeat to match any selected status; omit for no filter. */
9913
+ publish_status?: ("public" | "workspace" | "external" | "not_published")[] | null;
9886
9914
  /** @description Filter projects by Security Center review priority. Repeat to match any selected priority. Omit to include every project, including those not yet scored. */
9887
9915
  review_priority?: ("needs_review" | "review_recommended" | "no_review_needed")[] | null;
9888
9916
  /** @description Finding type IDs returned by GET /v1/workspaces/{workspace_id}/security-center/insights. Repeat to match any selected type. Unknown IDs return 400. Types requiring personal data detection are ignored when that feature is unavailable. */
@@ -1,2 +1,2 @@
1
1
  // Generated by scripts/generate-public-paths.mjs — do not edit.
2
- export const SDK_VERSION = "1.9.1";
2
+ export const SDK_VERSION = "1.10.0";
@@ -314,6 +314,11 @@ export const ProjectSummarySchema = z.object({
314
314
  name: z.string().optional(),
315
315
  og_image_url: z.string().optional(),
316
316
  project_type: z.enum(['project', 'library']).optional(),
317
+ publish_audience: z.enum([
318
+ 'public',
319
+ 'workspace',
320
+ 'custom'
321
+ ]).optional(),
317
322
  publish_visibility: z.enum([
318
323
  'public',
319
324
  'private',
@@ -999,6 +1004,11 @@ export const V1CreateProjectResponseSchema = z.object({
999
1004
  og_image_url: z.string().optional(),
1000
1005
  preview_url: z.string().optional(),
1001
1006
  project_type: z.enum(['project', 'library']).optional(),
1007
+ publish_audience: z.enum([
1008
+ 'public',
1009
+ 'workspace',
1010
+ 'custom'
1011
+ ]).optional(),
1002
1012
  publish_visibility: z.enum([
1003
1013
  'public',
1004
1014
  'private',
@@ -1299,6 +1309,11 @@ export const ProjectSchema = z.object({
1299
1309
  og_image_url: z.string().optional(),
1300
1310
  preview_url: z.string().optional(),
1301
1311
  project_type: z.enum(['project', 'library']).optional(),
1312
+ publish_audience: z.enum([
1313
+ 'public',
1314
+ 'workspace',
1315
+ 'custom'
1316
+ ]).optional(),
1302
1317
  publish_visibility: z.enum([
1303
1318
  'public',
1304
1319
  'private',
@@ -1848,6 +1863,11 @@ export const WorkspaceInsightsProjectSchema = z.object({
1848
1863
  name: z.string().optional(),
1849
1864
  og_image_url: z.string().optional(),
1850
1865
  owner: WorkspaceInsightsOwnerSchema.optional(),
1866
+ publish_audience: z.enum([
1867
+ 'public',
1868
+ 'workspace',
1869
+ 'custom'
1870
+ ]).optional(),
1851
1871
  publish_visibility: z.enum([
1852
1872
  'public',
1853
1873
  'private',