@uniformdev/canvas 20.72.3-alpha.45 → 20.72.3-alpha.52

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
@@ -2186,6 +2186,11 @@ interface components$o {
2186
2186
  * @description Modified date string for this definition
2187
2187
  */
2188
2188
  modified: string;
2189
+ /**
2190
+ * Format: date-time
2191
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
2192
+ */
2193
+ deletedAt?: string;
2189
2194
  /**
2190
2195
  * @description True if the entry is a pattern (which can be referenced on other entries)
2191
2196
  * @default false
@@ -2771,6 +2776,14 @@ interface components$o {
2771
2776
  * If versionId is passed, this is always enabled.
2772
2777
  */
2773
2778
  editions: "auto" | "all" | "raw";
2779
+ /**
2780
+ * @description Controls filtering of trashed items.
2781
+ *
2782
+ * exclude: (default) Only return items not in trash.
2783
+ * only: Only return trashed items (for trash view).
2784
+ * include: Return both trashed and non-trashed items.
2785
+ */
2786
+ deleted: "exclude" | "only" | "include";
2774
2787
  };
2775
2788
  requestBodies: never;
2776
2789
  headers: never;
@@ -3388,6 +3401,14 @@ interface paths$k {
3388
3401
  * and component `_id`s removed.
3389
3402
  */
3390
3403
  format?: components$m["parameters"]["format"];
3404
+ /**
3405
+ * @description Controls filtering of trashed items.
3406
+ *
3407
+ * exclude: (default) Only return items not in trash.
3408
+ * only: Only return trashed items (for trash view).
3409
+ * include: Return both trashed and non-trashed items.
3410
+ */
3411
+ deleted?: components$m["parameters"]["deleted"];
3391
3412
  };
3392
3413
  header?: never;
3393
3414
  path?: never;
@@ -4069,6 +4090,11 @@ interface components$m {
4069
4090
  * @description Modified date string for this definition
4070
4091
  */
4071
4092
  modified: string;
4093
+ /**
4094
+ * Format: date-time
4095
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
4096
+ */
4097
+ deletedAt?: string;
4072
4098
  /**
4073
4099
  * @description True if the entry is a pattern (which can be referenced on other entries)
4074
4100
  * @default false
@@ -4392,6 +4418,14 @@ interface components$m {
4392
4418
  * and component `_id`s removed.
4393
4419
  */
4394
4420
  format: "canonical" | "editor" | "delivery";
4421
+ /**
4422
+ * @description Controls filtering of trashed items.
4423
+ *
4424
+ * exclude: (default) Only return items not in trash.
4425
+ * only: Only return trashed items (for trash view).
4426
+ * include: Return both trashed and non-trashed items.
4427
+ */
4428
+ deleted: "exclude" | "only" | "include";
4395
4429
  };
4396
4430
  requestBodies: never;
4397
4431
  headers: never;
@@ -6606,6 +6640,11 @@ interface components$e {
6606
6640
  * @description Modified date string for this composition
6607
6641
  */
6608
6642
  modified: string;
6643
+ /**
6644
+ * Format: date-time
6645
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
6646
+ */
6647
+ deletedAt?: string;
6609
6648
  /** @description User name of the creator of this composition */
6610
6649
  creator?: string;
6611
6650
  /** @description User name of the last editor of this composition */
@@ -7110,6 +7149,14 @@ interface paths$c {
7110
7149
  * and component `_id`s removed.
7111
7150
  */
7112
7151
  format?: components$d["parameters"]["format"];
7152
+ /**
7153
+ * @description Controls filtering of trashed items.
7154
+ *
7155
+ * exclude: (default) Only return items not in trash.
7156
+ * only: Only return trashed items (for trash view).
7157
+ * include: Return both trashed and non-trashed items.
7158
+ */
7159
+ deleted?: components$d["parameters"]["deleted"];
7113
7160
  };
7114
7161
  header?: never;
7115
7162
  path?: never;
@@ -7357,6 +7404,11 @@ interface components$d {
7357
7404
  * @description Modified date string for this composition
7358
7405
  */
7359
7406
  modified: string;
7407
+ /**
7408
+ * Format: date-time
7409
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
7410
+ */
7411
+ deletedAt?: string;
7360
7412
  /** @description User name of the creator of this composition */
7361
7413
  creator?: string;
7362
7414
  /** @description User name of the last editor of this composition */
@@ -8234,6 +8286,14 @@ interface components$d {
8234
8286
  * If versionId is passed, this is always enabled.
8235
8287
  */
8236
8288
  editions: "auto" | "all" | "raw";
8289
+ /**
8290
+ * @description Controls filtering of trashed items.
8291
+ *
8292
+ * exclude: (default) Only return items not in trash.
8293
+ * only: Only return trashed items (for trash view).
8294
+ * include: Return both trashed and non-trashed items.
8295
+ */
8296
+ deleted: "exclude" | "only" | "include";
8237
8297
  };
8238
8298
  requestBodies: never;
8239
8299
  headers: never;
@@ -9059,6 +9119,11 @@ interface components$b {
9059
9119
  * @description Modified date string for this composition
9060
9120
  */
9061
9121
  modified: string;
9122
+ /**
9123
+ * Format: date-time
9124
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
9125
+ */
9126
+ deletedAt?: string;
9062
9127
  /** @description User name of the creator of this composition */
9063
9128
  creator?: string;
9064
9129
  /** @description User name of the last editor of this composition */
@@ -9289,6 +9354,11 @@ interface components$b {
9289
9354
  * @description Modified date string for this definition
9290
9355
  */
9291
9356
  modified: string;
9357
+ /**
9358
+ * Format: date-time
9359
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
9360
+ */
9361
+ deletedAt?: string;
9292
9362
  /**
9293
9363
  * @description True if the entry is a pattern (which can be referenced on other entries)
9294
9364
  * @default false
@@ -10489,6 +10559,11 @@ interface components$a {
10489
10559
  * @description Modified date string for this composition
10490
10560
  */
10491
10561
  modified: string;
10562
+ /**
10563
+ * Format: date-time
10564
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
10565
+ */
10566
+ deletedAt?: string;
10492
10567
  /** @description User name of the creator of this composition */
10493
10568
  creator?: string;
10494
10569
  /** @description User name of the last editor of this composition */
@@ -10852,7 +10927,7 @@ type CanvasDefinitions = {
10852
10927
  webhooks?: Array<WebhookDefinition>;
10853
10928
  };
10854
10929
  /** Defines shared parameters for requests getting a single composition */
10855
- type CompositionGetOneSharedParameters = Pick<CompositionGetParameters, 'state' | 'skipEnhance' | 'skipPatternResolution' | 'withComponentIDs' | 'withUIStatus' | 'withWorkflowDefinition' | 'withProjectMapNodes' | 'withTotalCount' | 'skipOverridesResolution' | 'withContentSourceMap' | 'versionId' | 'locale' | 'releaseId' | 'editions' | 'pattern' | 'withPatternType'>;
10930
+ type CompositionGetOneSharedParameters = Pick<CompositionGetParameters, 'state' | 'skipEnhance' | 'skipPatternResolution' | 'withComponentIDs' | 'withUIStatus' | 'withWorkflowDefinition' | 'withProjectMapNodes' | 'withTotalCount' | 'skipOverridesResolution' | 'withContentSourceMap' | 'versionId' | 'locale' | 'releaseId' | 'editions' | 'deleted' | 'pattern' | 'withPatternType'>;
10856
10931
  type CompositionGetBy<RequiredParameters extends keyof CompositionGetParameters> = CompositionGetOneSharedParameters & Required<Pick<CompositionGetParameters, RequiredParameters>>;
10857
10932
  type SpecificProjectMap = {
10858
10933
  projectMapId?: string;
@@ -12226,6 +12301,14 @@ interface paths$5 {
12226
12301
  limit?: number;
12227
12302
  /** @description Matches release contents where their public ID is one of a list */
12228
12303
  publicIDs?: components$5["schemas"]["PublicIdProperty"][];
12304
+ /**
12305
+ * @description Controls filtering of trashed items.
12306
+ *
12307
+ * exclude: (default) Only return items not in trash.
12308
+ * only: Only return trashed items (for trash view).
12309
+ * include: Return both trashed and non-trashed items.
12310
+ */
12311
+ deleted?: components$5["parameters"]["deleted"];
12229
12312
  };
12230
12313
  header?: never;
12231
12314
  path?: never;
@@ -12412,7 +12495,16 @@ interface components$5 {
12412
12495
  content?: never;
12413
12496
  };
12414
12497
  };
12415
- parameters: never;
12498
+ parameters: {
12499
+ /**
12500
+ * @description Controls filtering of trashed items.
12501
+ *
12502
+ * exclude: (default) Only return items not in trash.
12503
+ * only: Only return trashed items (for trash view).
12504
+ * include: Return both trashed and non-trashed items.
12505
+ */
12506
+ deleted: "exclude" | "only" | "include";
12507
+ };
12416
12508
  requestBodies: never;
12417
12509
  headers: never;
12418
12510
  pathItems: never;
@@ -15565,7 +15657,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
15565
15657
  */
15566
15658
  declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable', offset: number) => void | false): number;
15567
15659
 
15568
- declare const version = "20.74.1";
15660
+ declare const version = "20.74.5";
15569
15661
 
15570
15662
  /** API client to enable managing workflow definitions */
15571
15663
  declare class WorkflowClient extends ApiClient {
package/dist/index.d.ts CHANGED
@@ -2186,6 +2186,11 @@ interface components$o {
2186
2186
  * @description Modified date string for this definition
2187
2187
  */
2188
2188
  modified: string;
2189
+ /**
2190
+ * Format: date-time
2191
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
2192
+ */
2193
+ deletedAt?: string;
2189
2194
  /**
2190
2195
  * @description True if the entry is a pattern (which can be referenced on other entries)
2191
2196
  * @default false
@@ -2771,6 +2776,14 @@ interface components$o {
2771
2776
  * If versionId is passed, this is always enabled.
2772
2777
  */
2773
2778
  editions: "auto" | "all" | "raw";
2779
+ /**
2780
+ * @description Controls filtering of trashed items.
2781
+ *
2782
+ * exclude: (default) Only return items not in trash.
2783
+ * only: Only return trashed items (for trash view).
2784
+ * include: Return both trashed and non-trashed items.
2785
+ */
2786
+ deleted: "exclude" | "only" | "include";
2774
2787
  };
2775
2788
  requestBodies: never;
2776
2789
  headers: never;
@@ -3388,6 +3401,14 @@ interface paths$k {
3388
3401
  * and component `_id`s removed.
3389
3402
  */
3390
3403
  format?: components$m["parameters"]["format"];
3404
+ /**
3405
+ * @description Controls filtering of trashed items.
3406
+ *
3407
+ * exclude: (default) Only return items not in trash.
3408
+ * only: Only return trashed items (for trash view).
3409
+ * include: Return both trashed and non-trashed items.
3410
+ */
3411
+ deleted?: components$m["parameters"]["deleted"];
3391
3412
  };
3392
3413
  header?: never;
3393
3414
  path?: never;
@@ -4069,6 +4090,11 @@ interface components$m {
4069
4090
  * @description Modified date string for this definition
4070
4091
  */
4071
4092
  modified: string;
4093
+ /**
4094
+ * Format: date-time
4095
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
4096
+ */
4097
+ deletedAt?: string;
4072
4098
  /**
4073
4099
  * @description True if the entry is a pattern (which can be referenced on other entries)
4074
4100
  * @default false
@@ -4392,6 +4418,14 @@ interface components$m {
4392
4418
  * and component `_id`s removed.
4393
4419
  */
4394
4420
  format: "canonical" | "editor" | "delivery";
4421
+ /**
4422
+ * @description Controls filtering of trashed items.
4423
+ *
4424
+ * exclude: (default) Only return items not in trash.
4425
+ * only: Only return trashed items (for trash view).
4426
+ * include: Return both trashed and non-trashed items.
4427
+ */
4428
+ deleted: "exclude" | "only" | "include";
4395
4429
  };
4396
4430
  requestBodies: never;
4397
4431
  headers: never;
@@ -6606,6 +6640,11 @@ interface components$e {
6606
6640
  * @description Modified date string for this composition
6607
6641
  */
6608
6642
  modified: string;
6643
+ /**
6644
+ * Format: date-time
6645
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
6646
+ */
6647
+ deletedAt?: string;
6609
6648
  /** @description User name of the creator of this composition */
6610
6649
  creator?: string;
6611
6650
  /** @description User name of the last editor of this composition */
@@ -7110,6 +7149,14 @@ interface paths$c {
7110
7149
  * and component `_id`s removed.
7111
7150
  */
7112
7151
  format?: components$d["parameters"]["format"];
7152
+ /**
7153
+ * @description Controls filtering of trashed items.
7154
+ *
7155
+ * exclude: (default) Only return items not in trash.
7156
+ * only: Only return trashed items (for trash view).
7157
+ * include: Return both trashed and non-trashed items.
7158
+ */
7159
+ deleted?: components$d["parameters"]["deleted"];
7113
7160
  };
7114
7161
  header?: never;
7115
7162
  path?: never;
@@ -7357,6 +7404,11 @@ interface components$d {
7357
7404
  * @description Modified date string for this composition
7358
7405
  */
7359
7406
  modified: string;
7407
+ /**
7408
+ * Format: date-time
7409
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
7410
+ */
7411
+ deletedAt?: string;
7360
7412
  /** @description User name of the creator of this composition */
7361
7413
  creator?: string;
7362
7414
  /** @description User name of the last editor of this composition */
@@ -8234,6 +8286,14 @@ interface components$d {
8234
8286
  * If versionId is passed, this is always enabled.
8235
8287
  */
8236
8288
  editions: "auto" | "all" | "raw";
8289
+ /**
8290
+ * @description Controls filtering of trashed items.
8291
+ *
8292
+ * exclude: (default) Only return items not in trash.
8293
+ * only: Only return trashed items (for trash view).
8294
+ * include: Return both trashed and non-trashed items.
8295
+ */
8296
+ deleted: "exclude" | "only" | "include";
8237
8297
  };
8238
8298
  requestBodies: never;
8239
8299
  headers: never;
@@ -9059,6 +9119,11 @@ interface components$b {
9059
9119
  * @description Modified date string for this composition
9060
9120
  */
9061
9121
  modified: string;
9122
+ /**
9123
+ * Format: date-time
9124
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
9125
+ */
9126
+ deletedAt?: string;
9062
9127
  /** @description User name of the creator of this composition */
9063
9128
  creator?: string;
9064
9129
  /** @description User name of the last editor of this composition */
@@ -9289,6 +9354,11 @@ interface components$b {
9289
9354
  * @description Modified date string for this definition
9290
9355
  */
9291
9356
  modified: string;
9357
+ /**
9358
+ * Format: date-time
9359
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
9360
+ */
9361
+ deletedAt?: string;
9292
9362
  /**
9293
9363
  * @description True if the entry is a pattern (which can be referenced on other entries)
9294
9364
  * @default false
@@ -10489,6 +10559,11 @@ interface components$a {
10489
10559
  * @description Modified date string for this composition
10490
10560
  */
10491
10561
  modified: string;
10562
+ /**
10563
+ * Format: date-time
10564
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
10565
+ */
10566
+ deletedAt?: string;
10492
10567
  /** @description User name of the creator of this composition */
10493
10568
  creator?: string;
10494
10569
  /** @description User name of the last editor of this composition */
@@ -10852,7 +10927,7 @@ type CanvasDefinitions = {
10852
10927
  webhooks?: Array<WebhookDefinition>;
10853
10928
  };
10854
10929
  /** Defines shared parameters for requests getting a single composition */
10855
- type CompositionGetOneSharedParameters = Pick<CompositionGetParameters, 'state' | 'skipEnhance' | 'skipPatternResolution' | 'withComponentIDs' | 'withUIStatus' | 'withWorkflowDefinition' | 'withProjectMapNodes' | 'withTotalCount' | 'skipOverridesResolution' | 'withContentSourceMap' | 'versionId' | 'locale' | 'releaseId' | 'editions' | 'pattern' | 'withPatternType'>;
10930
+ type CompositionGetOneSharedParameters = Pick<CompositionGetParameters, 'state' | 'skipEnhance' | 'skipPatternResolution' | 'withComponentIDs' | 'withUIStatus' | 'withWorkflowDefinition' | 'withProjectMapNodes' | 'withTotalCount' | 'skipOverridesResolution' | 'withContentSourceMap' | 'versionId' | 'locale' | 'releaseId' | 'editions' | 'deleted' | 'pattern' | 'withPatternType'>;
10856
10931
  type CompositionGetBy<RequiredParameters extends keyof CompositionGetParameters> = CompositionGetOneSharedParameters & Required<Pick<CompositionGetParameters, RequiredParameters>>;
10857
10932
  type SpecificProjectMap = {
10858
10933
  projectMapId?: string;
@@ -12226,6 +12301,14 @@ interface paths$5 {
12226
12301
  limit?: number;
12227
12302
  /** @description Matches release contents where their public ID is one of a list */
12228
12303
  publicIDs?: components$5["schemas"]["PublicIdProperty"][];
12304
+ /**
12305
+ * @description Controls filtering of trashed items.
12306
+ *
12307
+ * exclude: (default) Only return items not in trash.
12308
+ * only: Only return trashed items (for trash view).
12309
+ * include: Return both trashed and non-trashed items.
12310
+ */
12311
+ deleted?: components$5["parameters"]["deleted"];
12229
12312
  };
12230
12313
  header?: never;
12231
12314
  path?: never;
@@ -12412,7 +12495,16 @@ interface components$5 {
12412
12495
  content?: never;
12413
12496
  };
12414
12497
  };
12415
- parameters: never;
12498
+ parameters: {
12499
+ /**
12500
+ * @description Controls filtering of trashed items.
12501
+ *
12502
+ * exclude: (default) Only return items not in trash.
12503
+ * only: Only return trashed items (for trash view).
12504
+ * include: Return both trashed and non-trashed items.
12505
+ */
12506
+ deleted: "exclude" | "only" | "include";
12507
+ };
12416
12508
  requestBodies: never;
12417
12509
  headers: never;
12418
12510
  pathItems: never;
@@ -15565,7 +15657,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
15565
15657
  */
15566
15658
  declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable', offset: number) => void | false): number;
15567
15659
 
15568
- declare const version = "20.74.1";
15660
+ declare const version = "20.74.5";
15569
15661
 
15570
15662
  /** API client to enable managing workflow definitions */
15571
15663
  declare class WorkflowClient extends ApiClient {
package/dist/index.esm.js CHANGED
@@ -3998,7 +3998,7 @@ function handleRichTextNodeBinding(object, options) {
3998
3998
  import { ApiClientError as ApiClientError5 } from "@uniformdev/context/api";
3999
3999
 
4000
4000
  // src/.version.ts
4001
- var version = "20.74.1";
4001
+ var version = "20.74.5";
4002
4002
 
4003
4003
  // src/WorkflowClient.ts
4004
4004
  import { ApiClient as ApiClient18 } from "@uniformdev/context/api";
package/dist/index.js CHANGED
@@ -4213,7 +4213,7 @@ function handleRichTextNodeBinding(object, options) {
4213
4213
  var import_api27 = require("@uniformdev/context/api");
4214
4214
 
4215
4215
  // src/.version.ts
4216
- var version = "20.74.1";
4216
+ var version = "20.74.5";
4217
4217
 
4218
4218
  // src/WorkflowClient.ts
4219
4219
  var import_api26 = require("@uniformdev/context/api");
package/dist/index.mjs CHANGED
@@ -3998,7 +3998,7 @@ function handleRichTextNodeBinding(object, options) {
3998
3998
  import { ApiClientError as ApiClientError5 } from "@uniformdev/context/api";
3999
3999
 
4000
4000
  // src/.version.ts
4001
- var version = "20.74.1";
4001
+ var version = "20.74.5";
4002
4002
 
4003
4003
  // src/WorkflowClient.ts
4004
4004
  import { ApiClient as ApiClient18 } from "@uniformdev/context/api";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "20.72.3-alpha.45+2b8b05d58a",
3
+ "version": "20.72.3-alpha.52+f01685e1ef",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -36,9 +36,9 @@
36
36
  "svix": "1.96.0"
37
37
  },
38
38
  "dependencies": {
39
- "@uniformdev/assets": "20.72.3-alpha.45+2b8b05d58a",
40
- "@uniformdev/context": "20.72.3-alpha.45+2b8b05d58a",
41
- "@uniformdev/richtext": "20.72.3-alpha.45+2b8b05d58a",
39
+ "@uniformdev/assets": "20.72.3-alpha.52+f01685e1ef",
40
+ "@uniformdev/context": "20.72.3-alpha.52+f01685e1ef",
41
+ "@uniformdev/richtext": "20.72.3-alpha.52+f01685e1ef",
42
42
  "immer": "10.2.0",
43
43
  "p-limit": "6.2.0",
44
44
  "p-retry": "6.2.1",
@@ -50,5 +50,5 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "gitHead": "2b8b05d58ab275b4d29a9647feeaad47b0ab5cce"
53
+ "gitHead": "f01685e1ef0aeb05dc200ccdcdd5aba6f6cfc437"
54
54
  }