@containify-platform/sdk 1.0.316 → 1.0.317

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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +53 -4
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -147,7 +147,7 @@ export interface paths {
147
147
  head?: never;
148
148
  /**
149
149
  * Update a workspace
150
- * @description Renames a workspace, changes its default deployment region, or sets how long its environments keep logs and traces and how many images its apps keep for rollback by default. At least one field is required, and the region must be an enabled, visible location.
150
+ * @description Renames a workspace, sets or clears its logo, changes its default deployment region, or sets how long its environments keep logs and traces and how many images its apps keep for rollback by default. At least one field is required, and the region must be an enabled, visible location.
151
151
  */
152
152
  patch: operations["updateWorkspace"];
153
153
  trace?: never;
@@ -192,14 +192,14 @@ export interface paths {
192
192
  post?: never;
193
193
  /**
194
194
  * Delete a project
195
- * @description Soft-deletes a project, cascading to its environments and apps. Only workspace owners can do this.
195
+ * @description Soft-deletes a project, cascading to its environments and apps. Workspace owners can do this, and service accounts with the Admin role (for automation that creates and removes projects).
196
196
  */
197
197
  delete: operations["deleteProject"];
198
198
  options?: never;
199
199
  head?: never;
200
200
  /**
201
201
  * Update a project
202
- * @description Renames a project, changes its default environment and/or the environment pull requests get previews of, and bumps its revision. Records project.rename, project.default_environment or project.previews activity entries for what changed.
202
+ * @description Renames a project, sets its description or logo, changes its default environment and/or the environment pull requests get previews of, and bumps its revision. Records project.rename, project.default_environment or project.previews activity entries for what changed.
203
203
  */
204
204
  patch: operations["updateProject"];
205
205
  trace?: never;
@@ -347,7 +347,7 @@ export interface paths {
347
347
  head?: never;
348
348
  /**
349
349
  * Update an environment
350
- * @description Renames the environment, changes whether it's protected or applies changes automatically, sets when it expires (null for never), and/or how long its logs and traces are kept. Only admins can change a protected environment, or protect one. The project's default environment can't expire. A longer retention applies to logs and traces from then on; a shorter one also deletes what's older than it.
350
+ * @description Renames the environment, sets its colour, changes whether it's protected or applies changes automatically, sets when it expires (null for never), and/or how long its logs and traces are kept. Only admins can change a protected environment, or protect one. The project's default environment can't expire. A longer retention applies to logs and traces from then on; a shorter one also deletes what's older than it.
351
351
  */
352
352
  patch: operations["renameEnvironment"];
353
353
  trace?: never;
@@ -3528,6 +3528,8 @@ export interface components {
3528
3528
  WorkspaceListed: {
3529
3529
  id: string;
3530
3530
  name: string;
3531
+ /** @description https URL of its logo; null shows its initial */
3532
+ iconUrl?: string | null;
3531
3533
  /** @description Where new apps are placed by default */
3532
3534
  defaultLocationId: string;
3533
3535
  /** @description Days its environments keep logs unless they say otherwise; null for the platform's 14 */
@@ -3554,6 +3556,8 @@ export interface components {
3554
3556
  Workspace: {
3555
3557
  id: string;
3556
3558
  name: string;
3559
+ /** @description https URL of its logo; null shows its initial */
3560
+ iconUrl?: string | null;
3557
3561
  /** @description Where new apps are placed by default */
3558
3562
  defaultLocationId: string;
3559
3563
  /** @description Days its environments keep logs unless they say otherwise; null for the platform's 14 */
@@ -3570,6 +3574,10 @@ export interface components {
3570
3574
  ProjectListed: {
3571
3575
  id: string;
3572
3576
  name: string;
3577
+ /** @description What it is, shown on the dashboard; null for none */
3578
+ description: string | null;
3579
+ /** @description https URL of its logo on the dashboard; null for none */
3580
+ iconUrl: string | null;
3573
3581
  /** @description Null while the project is unclaimed (made by `containify up` signed out) */
3574
3582
  workspaceId: string | null;
3575
3583
  /** @description Where the dashboard opens and the CLI acts when no environment is named; null uses the oldest environment */
@@ -3611,6 +3619,8 @@ export interface components {
3611
3619
  logRetentionDays?: number | null;
3612
3620
  /** @description Days its apps' trace spans are kept; null for the workspace's */
3613
3621
  traceRetentionDays?: number | null;
3622
+ /** @description Its accent on the environment switcher and canvas; null for none */
3623
+ color: ("SLATE" | "BLUE" | "VIOLET" | "EMERALD" | "AMBER" | "ROSE" | "CYAN") | null;
3614
3624
  _count: {
3615
3625
  /** @description Live apps */
3616
3626
  apps: number;
@@ -3624,6 +3634,10 @@ export interface components {
3624
3634
  ProjectCreated: {
3625
3635
  id: string;
3626
3636
  name: string;
3637
+ /** @description What it is, shown on the dashboard; null for none */
3638
+ description: string | null;
3639
+ /** @description https URL of its logo on the dashboard; null for none */
3640
+ iconUrl: string | null;
3627
3641
  /** @description Null while the project is unclaimed (made by `containify up` signed out) */
3628
3642
  workspaceId: string | null;
3629
3643
  /** @description Where the dashboard opens and the CLI acts when no environment is named; null uses the oldest environment */
@@ -3667,10 +3681,16 @@ export interface components {
3667
3681
  logRetentionDays?: number | null;
3668
3682
  /** @description Days its apps' trace spans are kept; null for the workspace's */
3669
3683
  traceRetentionDays?: number | null;
3684
+ /** @description Its accent on the environment switcher and canvas; null for none */
3685
+ color: ("SLATE" | "BLUE" | "VIOLET" | "EMERALD" | "AMBER" | "ROSE" | "CYAN") | null;
3670
3686
  };
3671
3687
  ProjectDetail: {
3672
3688
  id: string;
3673
3689
  name: string;
3690
+ /** @description What it is, shown on the dashboard; null for none */
3691
+ description: string | null;
3692
+ /** @description https URL of its logo on the dashboard; null for none */
3693
+ iconUrl: string | null;
3674
3694
  /** @description Null while the project is unclaimed (made by `containify up` signed out) */
3675
3695
  workspaceId: string | null;
3676
3696
  /** @description Where the dashboard opens and the CLI acts when no environment is named; null uses the oldest environment */
@@ -3712,6 +3732,8 @@ export interface components {
3712
3732
  logRetentionDays?: number | null;
3713
3733
  /** @description Days its apps' trace spans are kept; null for the workspace's */
3714
3734
  traceRetentionDays?: number | null;
3735
+ /** @description Its accent on the environment switcher and canvas; null for none */
3736
+ color: ("SLATE" | "BLUE" | "VIOLET" | "EMERALD" | "AMBER" | "ROSE" | "CYAN") | null;
3715
3737
  variables: components["schemas"]["Variable"][];
3716
3738
  apps: {
3717
3739
  id: string;
@@ -3828,6 +3850,10 @@ export interface components {
3828
3850
  Project: {
3829
3851
  id: string;
3830
3852
  name: string;
3853
+ /** @description What it is, shown on the dashboard; null for none */
3854
+ description: string | null;
3855
+ /** @description https URL of its logo on the dashboard; null for none */
3856
+ iconUrl: string | null;
3831
3857
  /** @description Null while the project is unclaimed (made by `containify up` signed out) */
3832
3858
  workspaceId: string | null;
3833
3859
  /** @description Where the dashboard opens and the CLI acts when no environment is named; null uses the oldest environment */
@@ -3870,6 +3896,8 @@ export interface components {
3870
3896
  logRetentionDays?: number | null;
3871
3897
  /** @description Days its apps' trace spans are kept; null for the workspace's */
3872
3898
  traceRetentionDays?: number | null;
3899
+ /** @description Its accent on the environment switcher and canvas; null for none */
3900
+ color: ("SLATE" | "BLUE" | "VIOLET" | "EMERALD" | "AMBER" | "ROSE" | "CYAN") | null;
3873
3901
  variables: components["schemas"]["Variable"][];
3874
3902
  _count: {
3875
3903
  /** @description Live apps */
@@ -5092,6 +5120,8 @@ export interface operations {
5092
5120
  * @default my-project
5093
5121
  */
5094
5122
  name?: string;
5123
+ /** @description What the project is, e.g. package.json's description */
5124
+ description?: string;
5095
5125
  /** @description From GET /anonymous/challenge */
5096
5126
  challenge: string;
5097
5127
  /** @description Solves the challenge */
@@ -5324,6 +5354,8 @@ export interface operations {
5324
5354
  "application/json": {
5325
5355
  /** @description New workspace name; surrounding whitespace is trimmed */
5326
5356
  name?: string;
5357
+ /** @description https URL of a logo shown instead of its initial; null clears it */
5358
+ iconUrl?: string | null;
5327
5359
  /** @description ID of the default deployment region; must be an enabled, visible location */
5328
5360
  defaultLocationId?: string;
5329
5361
  /** @description Days logs are kept in environments that don't set their own: 1, 7, 14, 30, 90; null for the platform's 14. Shortening it deletes older logs */
@@ -5457,6 +5489,13 @@ export interface operations {
5457
5489
  /** @description ID of the workspace to create the project in */
5458
5490
  workspaceId: string;
5459
5491
  labels?: components["schemas"]["Labels"];
5492
+ /** @description What the project is, shown on the dashboard */
5493
+ description?: string;
5494
+ /**
5495
+ * Format: uri
5496
+ * @description https URL of a logo for the dashboard
5497
+ */
5498
+ iconUrl?: string;
5460
5499
  };
5461
5500
  };
5462
5501
  };
@@ -5651,6 +5690,10 @@ export interface operations {
5651
5690
  defaultEnvironmentId?: string;
5652
5691
  /** @description The environment each pull request gets a preview copy of (needs the GitHub App installed on the repository); null turns previews off */
5653
5692
  previewSourceId?: string | null;
5693
+ /** @description What the project is, shown on the dashboard; null or empty clears it */
5694
+ description?: string | null;
5695
+ /** @description https URL of a logo for the dashboard; null clears it */
5696
+ iconUrl?: string | null;
5654
5697
  };
5655
5698
  };
5656
5699
  };
@@ -6048,6 +6091,11 @@ export interface operations {
6048
6091
  * @description When to tear the environment down with its apps and volumes (ISO 8601), e.g. for a preview
6049
6092
  */
6050
6093
  expiresAt?: string;
6094
+ /**
6095
+ * @description An accent on the environment switcher and canvas, such as ROSE for production, so it is hard to mistake
6096
+ * @enum {string}
6097
+ */
6098
+ color?: "SLATE" | "BLUE" | "VIOLET" | "EMERALD" | "AMBER" | "ROSE" | "CYAN";
6051
6099
  };
6052
6100
  };
6053
6101
  };
@@ -6297,6 +6345,7 @@ export interface operations {
6297
6345
  logRetentionDays?: number | null;
6298
6346
  /** @description Days its apps' trace spans are kept: 1, 7, 14, 30; null for the workspace's. Shortening it deletes older spans */
6299
6347
  traceRetentionDays?: number | null;
6348
+ color?: ("SLATE" | "BLUE" | "VIOLET" | "EMERALD" | "AMBER" | "ROSE" | "CYAN") | null;
6300
6349
  };
6301
6350
  };
6302
6351
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@containify-platform/sdk",
3
- "version": "1.0.316",
3
+ "version": "1.0.317",
4
4
  "description": "TypeScript client for the Containify API: typed routes, safe retries, operations and webhook signatures",
5
5
  "type": "module",
6
6
  "license": "MIT",