@uniformdev/canvas 20.87.0 → 20.87.1-alpha.20.sha-e5c7a15309

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
@@ -3634,6 +3634,12 @@ interface paths$l {
3634
3634
  releaseId?: string;
3635
3635
  /** The state to delete (0 = draft, 64 = published [causes unpublishing], unspecified = all) */
3636
3636
  state?: number;
3637
+ /**
3638
+ * Bypass the trash and permanently delete the entry.
3639
+ * Requires team admin rights.
3640
+ * Cannot be combined with releaseId.
3641
+ */
3642
+ permanent?: boolean;
3637
3643
  };
3638
3644
  };
3639
3645
  };
@@ -6836,10 +6842,8 @@ interface components$f {
6836
6842
  * * If still ambiguous, the first matching route arbitrarily wins
6837
6843
  *
6838
6844
  * Invalid paths:
6839
- * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes:
6840
- * * contains consecutive slashes (for example "/en//about" or "//en/about")
6841
- * * has a path segment that is too long to match any route. The limit depends on the characters used,
6842
- * and is generally 150-220 characters per segment.
6845
+ * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes,
6846
+ * contains consecutive slashes (for example "/en//about" or "//en/about").
6843
6847
  *
6844
6848
  * Probe paths:
6845
6849
  * On uniform.global, paths ending in an archive, backup or database file extension (for example "/site.zip",
@@ -7468,6 +7472,12 @@ interface paths$d {
7468
7472
  releaseId?: string;
7469
7473
  /** The state to delete (0 = draft, 64 = published [causes unpublishing], unspecified = all) */
7470
7474
  state?: number;
7475
+ /**
7476
+ * Bypass the trash and permanently delete the composition.
7477
+ * Requires team admin rights.
7478
+ * Cannot be combined with releaseId.
7479
+ */
7480
+ permanent?: boolean;
7471
7481
  };
7472
7482
  };
7473
7483
  };
@@ -9893,10 +9903,8 @@ interface components$c {
9893
9903
  * * If still ambiguous, the first matching route arbitrarily wins
9894
9904
  *
9895
9905
  * Invalid paths:
9896
- * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes:
9897
- * * contains consecutive slashes (for example "/en//about" or "//en/about")
9898
- * * has a path segment that is too long to match any route. The limit depends on the characters used,
9899
- * and is generally 150-220 characters per segment.
9906
+ * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes,
9907
+ * contains consecutive slashes (for example "/en//about" or "//en/about").
9900
9908
  *
9901
9909
  * Probe paths:
9902
9910
  * On uniform.global, paths ending in an archive, backup or database file extension (for example "/site.zip",
@@ -10077,10 +10085,8 @@ interface paths$b {
10077
10085
  * * If still ambiguous, the first matching route arbitrarily wins
10078
10086
  *
10079
10087
  * Invalid paths:
10080
- * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes:
10081
- * * contains consecutive slashes (for example "/en//about" or "//en/about")
10082
- * * has a path segment that is too long to match any route. The limit depends on the characters used,
10083
- * and is generally 150-220 characters per segment.
10088
+ * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes,
10089
+ * contains consecutive slashes (for example "/en//about" or "//en/about").
10084
10090
  *
10085
10091
  * Probe paths:
10086
10092
  * On uniform.global, paths ending in an archive, backup or database file extension (for example "/site.zip",
@@ -10970,10 +10976,8 @@ interface components$b {
10970
10976
  * * If still ambiguous, the first matching route arbitrarily wins
10971
10977
  *
10972
10978
  * Invalid paths:
10973
- * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes:
10974
- * * contains consecutive slashes (for example "/en//about" or "//en/about")
10975
- * * has a path segment that is too long to match any route. The limit depends on the characters used,
10976
- * and is generally 150-220 characters per segment.
10979
+ * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes,
10980
+ * contains consecutive slashes (for example "/en//about" or "//en/about").
10977
10981
  *
10978
10982
  * Probe paths:
10979
10983
  * On uniform.global, paths ending in an archive, backup or database file extension (for example "/site.zip",
@@ -11086,6 +11090,16 @@ interface paths$a {
11086
11090
  sort?: string[];
11087
11091
  shared: boolean;
11088
11092
  icon?: string;
11093
+ display?: {
11094
+ /** @enum {string} */
11095
+ layout?: "grid" | "list";
11096
+ list?: {
11097
+ visibility: {
11098
+ [key: string]: boolean;
11099
+ };
11100
+ order: string[];
11101
+ };
11102
+ };
11089
11103
  id: string;
11090
11104
  projectId: string;
11091
11105
  /** @enum {string} */
@@ -11107,7 +11121,7 @@ interface paths$a {
11107
11121
  500: components$a["responses"]["InternalServerError"];
11108
11122
  };
11109
11123
  };
11110
- /** Create-or-replace a saved view by id. The caller mints the UUID. Omitted optional fields are cleared. `shared` may only be promoted (personal → shared); demotion returns 400. `projectId` and `resourceType` are immutable after create. */
11124
+ /** Create-or-replace a saved view by id. The caller mints the UUID. Omitted optional fields are cleared. `shared` may only be promoted (personal → shared); demotion returns 400. `resourceType` is immutable after create. */
11111
11125
  put: {
11112
11126
  parameters: {
11113
11127
  query?: never;
@@ -11130,6 +11144,16 @@ interface paths$a {
11130
11144
  sort?: string[];
11131
11145
  shared: boolean;
11132
11146
  icon?: string;
11147
+ display?: {
11148
+ /** @enum {string} */
11149
+ layout?: "grid" | "list";
11150
+ list?: {
11151
+ visibility: {
11152
+ [key: string]: boolean;
11153
+ };
11154
+ order: string[];
11155
+ };
11156
+ };
11133
11157
  id: string;
11134
11158
  projectId: string;
11135
11159
  /** @enum {string} */
@@ -11157,6 +11181,16 @@ interface paths$a {
11157
11181
  sort?: string[];
11158
11182
  shared: boolean;
11159
11183
  icon?: string;
11184
+ display?: {
11185
+ /** @enum {string} */
11186
+ layout?: "grid" | "list";
11187
+ list?: {
11188
+ visibility: {
11189
+ [key: string]: boolean;
11190
+ };
11191
+ order: string[];
11192
+ };
11193
+ };
11160
11194
  id: string;
11161
11195
  projectId: string;
11162
11196
  /** @enum {string} */
@@ -13116,6 +13150,11 @@ interface components$5 {
13116
13150
  * NOTE: This is only required if the release content has an edition ID
13117
13151
  */
13118
13152
  editionId?: string;
13153
+ /**
13154
+ * Bypass the trash and permanently delete the release content.
13155
+ * Requires team admin rights.
13156
+ */
13157
+ permanent?: boolean;
13119
13158
  /**
13120
13159
  * Entity type (i.e. composition, entry, asset, ...).
13121
13160
  * NOTE: New values may be added to this list without being considered a breaking API change.
package/dist/index.d.ts CHANGED
@@ -3634,6 +3634,12 @@ interface paths$l {
3634
3634
  releaseId?: string;
3635
3635
  /** The state to delete (0 = draft, 64 = published [causes unpublishing], unspecified = all) */
3636
3636
  state?: number;
3637
+ /**
3638
+ * Bypass the trash and permanently delete the entry.
3639
+ * Requires team admin rights.
3640
+ * Cannot be combined with releaseId.
3641
+ */
3642
+ permanent?: boolean;
3637
3643
  };
3638
3644
  };
3639
3645
  };
@@ -6836,10 +6842,8 @@ interface components$f {
6836
6842
  * * If still ambiguous, the first matching route arbitrarily wins
6837
6843
  *
6838
6844
  * Invalid paths:
6839
- * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes:
6840
- * * contains consecutive slashes (for example "/en//about" or "//en/about")
6841
- * * has a path segment that is too long to match any route. The limit depends on the characters used,
6842
- * and is generally 150-220 characters per segment.
6845
+ * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes,
6846
+ * contains consecutive slashes (for example "/en//about" or "//en/about").
6843
6847
  *
6844
6848
  * Probe paths:
6845
6849
  * On uniform.global, paths ending in an archive, backup or database file extension (for example "/site.zip",
@@ -7468,6 +7472,12 @@ interface paths$d {
7468
7472
  releaseId?: string;
7469
7473
  /** The state to delete (0 = draft, 64 = published [causes unpublishing], unspecified = all) */
7470
7474
  state?: number;
7475
+ /**
7476
+ * Bypass the trash and permanently delete the composition.
7477
+ * Requires team admin rights.
7478
+ * Cannot be combined with releaseId.
7479
+ */
7480
+ permanent?: boolean;
7471
7481
  };
7472
7482
  };
7473
7483
  };
@@ -9893,10 +9903,8 @@ interface components$c {
9893
9903
  * * If still ambiguous, the first matching route arbitrarily wins
9894
9904
  *
9895
9905
  * Invalid paths:
9896
- * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes:
9897
- * * contains consecutive slashes (for example "/en//about" or "//en/about")
9898
- * * has a path segment that is too long to match any route. The limit depends on the characters used,
9899
- * and is generally 150-220 characters per segment.
9906
+ * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes,
9907
+ * contains consecutive slashes (for example "/en//about" or "//en/about").
9900
9908
  *
9901
9909
  * Probe paths:
9902
9910
  * On uniform.global, paths ending in an archive, backup or database file extension (for example "/site.zip",
@@ -10077,10 +10085,8 @@ interface paths$b {
10077
10085
  * * If still ambiguous, the first matching route arbitrarily wins
10078
10086
  *
10079
10087
  * Invalid paths:
10080
- * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes:
10081
- * * contains consecutive slashes (for example "/en//about" or "//en/about")
10082
- * * has a path segment that is too long to match any route. The limit depends on the characters used,
10083
- * and is generally 150-220 characters per segment.
10088
+ * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes,
10089
+ * contains consecutive slashes (for example "/en//about" or "//en/about").
10084
10090
  *
10085
10091
  * Probe paths:
10086
10092
  * On uniform.global, paths ending in an archive, backup or database file extension (for example "/site.zip",
@@ -10970,10 +10976,8 @@ interface components$b {
10970
10976
  * * If still ambiguous, the first matching route arbitrarily wins
10971
10977
  *
10972
10978
  * Invalid paths:
10973
- * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes:
10974
- * * contains consecutive slashes (for example "/en//about" or "//en/about")
10975
- * * has a path segment that is too long to match any route. The limit depends on the characters used,
10976
- * and is generally 150-220 characters per segment.
10979
+ * The request fails with HTTP 400 when the path, ignoring its query string and trailing slashes,
10980
+ * contains consecutive slashes (for example "/en//about" or "//en/about").
10977
10981
  *
10978
10982
  * Probe paths:
10979
10983
  * On uniform.global, paths ending in an archive, backup or database file extension (for example "/site.zip",
@@ -11086,6 +11090,16 @@ interface paths$a {
11086
11090
  sort?: string[];
11087
11091
  shared: boolean;
11088
11092
  icon?: string;
11093
+ display?: {
11094
+ /** @enum {string} */
11095
+ layout?: "grid" | "list";
11096
+ list?: {
11097
+ visibility: {
11098
+ [key: string]: boolean;
11099
+ };
11100
+ order: string[];
11101
+ };
11102
+ };
11089
11103
  id: string;
11090
11104
  projectId: string;
11091
11105
  /** @enum {string} */
@@ -11107,7 +11121,7 @@ interface paths$a {
11107
11121
  500: components$a["responses"]["InternalServerError"];
11108
11122
  };
11109
11123
  };
11110
- /** Create-or-replace a saved view by id. The caller mints the UUID. Omitted optional fields are cleared. `shared` may only be promoted (personal → shared); demotion returns 400. `projectId` and `resourceType` are immutable after create. */
11124
+ /** Create-or-replace a saved view by id. The caller mints the UUID. Omitted optional fields are cleared. `shared` may only be promoted (personal → shared); demotion returns 400. `resourceType` is immutable after create. */
11111
11125
  put: {
11112
11126
  parameters: {
11113
11127
  query?: never;
@@ -11130,6 +11144,16 @@ interface paths$a {
11130
11144
  sort?: string[];
11131
11145
  shared: boolean;
11132
11146
  icon?: string;
11147
+ display?: {
11148
+ /** @enum {string} */
11149
+ layout?: "grid" | "list";
11150
+ list?: {
11151
+ visibility: {
11152
+ [key: string]: boolean;
11153
+ };
11154
+ order: string[];
11155
+ };
11156
+ };
11133
11157
  id: string;
11134
11158
  projectId: string;
11135
11159
  /** @enum {string} */
@@ -11157,6 +11181,16 @@ interface paths$a {
11157
11181
  sort?: string[];
11158
11182
  shared: boolean;
11159
11183
  icon?: string;
11184
+ display?: {
11185
+ /** @enum {string} */
11186
+ layout?: "grid" | "list";
11187
+ list?: {
11188
+ visibility: {
11189
+ [key: string]: boolean;
11190
+ };
11191
+ order: string[];
11192
+ };
11193
+ };
11160
11194
  id: string;
11161
11195
  projectId: string;
11162
11196
  /** @enum {string} */
@@ -13116,6 +13150,11 @@ interface components$5 {
13116
13150
  * NOTE: This is only required if the release content has an edition ID
13117
13151
  */
13118
13152
  editionId?: string;
13153
+ /**
13154
+ * Bypass the trash and permanently delete the release content.
13155
+ * Requires team admin rights.
13156
+ */
13157
+ permanent?: boolean;
13119
13158
  /**
13120
13159
  * Entity type (i.e. composition, entry, asset, ...).
13121
13160
  * NOTE: New values may be added to this list without being considered a breaking API change.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "20.87.0",
3
+ "version": "20.87.1-alpha.20.sha-e5c7a15309",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -37,9 +37,9 @@
37
37
  "@uniformdev/tsc7": "20.87.0"
38
38
  },
39
39
  "dependencies": {
40
- "@uniformdev/assets": "20.87.0",
41
- "@uniformdev/context": "20.87.0",
42
- "@uniformdev/richtext": "20.87.0",
40
+ "@uniformdev/assets": "20.87.1-alpha.20.sha-e5c7a15309",
41
+ "@uniformdev/context": "20.87.1-alpha.20.sha-e5c7a15309",
42
+ "@uniformdev/richtext": "20.87.1-alpha.20.sha-e5c7a15309",
43
43
  "immer": "10.2.0",
44
44
  "p-limit": "6.2.0",
45
45
  "p-retry": "6.2.1",
@@ -51,5 +51,5 @@
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
- "gitHead": "7dd72324381089a6fdfd46fe0e99f5aeb5f22b18"
54
+ "gitHead": "e5c7a15309b330c91e0a8639469e18b15d0183a6"
55
55
  }