@uniformdev/canvas 20.74.4 → 20.74.6-alpha.1

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
@@ -2223,6 +2223,11 @@ interface components$o {
2223
2223
  * @description Modified date string for this definition
2224
2224
  */
2225
2225
  modified: string;
2226
+ /**
2227
+ * Format: date-time
2228
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
2229
+ */
2230
+ deletedAt?: string;
2226
2231
  /**
2227
2232
  * @description True if the entry is a pattern (which can be referenced on other entries)
2228
2233
  * @default false
@@ -2789,6 +2794,14 @@ interface components$o {
2789
2794
  * If versionId is passed, this is always enabled.
2790
2795
  */
2791
2796
  editions: "auto" | "all" | "raw";
2797
+ /**
2798
+ * @description Controls filtering of trashed items.
2799
+ *
2800
+ * exclude: (default) Only return items not in trash.
2801
+ * only: Only return trashed items (for trash view).
2802
+ * include: Return both trashed and non-trashed items.
2803
+ */
2804
+ deleted: "exclude" | "only" | "include";
2792
2805
  };
2793
2806
  requestBodies: never;
2794
2807
  headers: never;
@@ -3385,6 +3398,14 @@ interface paths$k {
3385
3398
  * If versionId is passed, this is always enabled.
3386
3399
  */
3387
3400
  editions?: components$m["parameters"]["editions"];
3401
+ /**
3402
+ * @description Controls filtering of trashed items.
3403
+ *
3404
+ * exclude: (default) Only return items not in trash.
3405
+ * only: Only return trashed items (for trash view).
3406
+ * include: Return both trashed and non-trashed items.
3407
+ */
3408
+ deleted?: components$m["parameters"]["deleted"];
3388
3409
  };
3389
3410
  header?: never;
3390
3411
  path?: never;
@@ -4066,6 +4087,11 @@ interface components$m {
4066
4087
  * @description Modified date string for this definition
4067
4088
  */
4068
4089
  modified: string;
4090
+ /**
4091
+ * Format: date-time
4092
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
4093
+ */
4094
+ deletedAt?: string;
4069
4095
  /**
4070
4096
  * @description True if the entry is a pattern (which can be referenced on other entries)
4071
4097
  * @default false
@@ -4370,6 +4396,14 @@ interface components$m {
4370
4396
  * If versionId is passed, this is always enabled.
4371
4397
  */
4372
4398
  editions: "auto" | "all" | "raw";
4399
+ /**
4400
+ * @description Controls filtering of trashed items.
4401
+ *
4402
+ * exclude: (default) Only return items not in trash.
4403
+ * only: Only return trashed items (for trash view).
4404
+ * include: Return both trashed and non-trashed items.
4405
+ */
4406
+ deleted: "exclude" | "only" | "include";
4373
4407
  };
4374
4408
  requestBodies: never;
4375
4409
  headers: never;
@@ -6582,6 +6616,11 @@ interface components$e {
6582
6616
  * @description Modified date string for this composition
6583
6617
  */
6584
6618
  modified: string;
6619
+ /**
6620
+ * Format: date-time
6621
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
6622
+ */
6623
+ deletedAt?: string;
6585
6624
  /** @description User name of the creator of this composition */
6586
6625
  creator?: string;
6587
6626
  /** @description User name of the last editor of this composition */
@@ -7067,6 +7106,14 @@ interface paths$c {
7067
7106
  * If versionId is passed, this is always enabled.
7068
7107
  */
7069
7108
  editions?: components$d["parameters"]["editions"];
7109
+ /**
7110
+ * @description Controls filtering of trashed items.
7111
+ *
7112
+ * exclude: (default) Only return items not in trash.
7113
+ * only: Only return trashed items (for trash view).
7114
+ * include: Return both trashed and non-trashed items.
7115
+ */
7116
+ deleted?: components$d["parameters"]["deleted"];
7070
7117
  };
7071
7118
  header?: never;
7072
7119
  path?: never;
@@ -7314,6 +7361,11 @@ interface components$d {
7314
7361
  * @description Modified date string for this composition
7315
7362
  */
7316
7363
  modified: string;
7364
+ /**
7365
+ * Format: date-time
7366
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
7367
+ */
7368
+ deletedAt?: string;
7317
7369
  /** @description User name of the creator of this composition */
7318
7370
  creator?: string;
7319
7371
  /** @description User name of the last editor of this composition */
@@ -8172,6 +8224,14 @@ interface components$d {
8172
8224
  * If versionId is passed, this is always enabled.
8173
8225
  */
8174
8226
  editions: "auto" | "all" | "raw";
8227
+ /**
8228
+ * @description Controls filtering of trashed items.
8229
+ *
8230
+ * exclude: (default) Only return items not in trash.
8231
+ * only: Only return trashed items (for trash view).
8232
+ * include: Return both trashed and non-trashed items.
8233
+ */
8234
+ deleted: "exclude" | "only" | "include";
8175
8235
  };
8176
8236
  requestBodies: never;
8177
8237
  headers: never;
@@ -8995,6 +9055,11 @@ interface components$b {
8995
9055
  * @description Modified date string for this composition
8996
9056
  */
8997
9057
  modified: string;
9058
+ /**
9059
+ * Format: date-time
9060
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
9061
+ */
9062
+ deletedAt?: string;
8998
9063
  /** @description User name of the creator of this composition */
8999
9064
  creator?: string;
9000
9065
  /** @description User name of the last editor of this composition */
@@ -9225,6 +9290,11 @@ interface components$b {
9225
9290
  * @description Modified date string for this definition
9226
9291
  */
9227
9292
  modified: string;
9293
+ /**
9294
+ * Format: date-time
9295
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
9296
+ */
9297
+ deletedAt?: string;
9228
9298
  /**
9229
9299
  * @description True if the entry is a pattern (which can be referenced on other entries)
9230
9300
  * @default false
@@ -10421,6 +10491,11 @@ interface components$a {
10421
10491
  * @description Modified date string for this composition
10422
10492
  */
10423
10493
  modified: string;
10494
+ /**
10495
+ * Format: date-time
10496
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
10497
+ */
10498
+ deletedAt?: string;
10424
10499
  /** @description User name of the creator of this composition */
10425
10500
  creator?: string;
10426
10501
  /** @description User name of the last editor of this composition */
@@ -10784,7 +10859,7 @@ type CanvasDefinitions = {
10784
10859
  webhooks?: Array<WebhookDefinition>;
10785
10860
  };
10786
10861
  /** Defines shared parameters for requests getting a single composition */
10787
- type CompositionGetOneSharedParameters = Pick<CompositionGetParameters, 'state' | 'skipEnhance' | 'skipPatternResolution' | 'withComponentIDs' | 'withUIStatus' | 'withWorkflowDefinition' | 'withProjectMapNodes' | 'withTotalCount' | 'skipOverridesResolution' | 'withContentSourceMap' | 'versionId' | 'locale' | 'releaseId' | 'editions' | 'pattern' | 'withPatternType'>;
10862
+ type CompositionGetOneSharedParameters = Pick<CompositionGetParameters, 'state' | 'skipEnhance' | 'skipPatternResolution' | 'withComponentIDs' | 'withUIStatus' | 'withWorkflowDefinition' | 'withProjectMapNodes' | 'withTotalCount' | 'skipOverridesResolution' | 'withContentSourceMap' | 'versionId' | 'locale' | 'releaseId' | 'editions' | 'deleted' | 'pattern' | 'withPatternType'>;
10788
10863
  type CompositionGetBy<RequiredParameters extends keyof CompositionGetParameters> = CompositionGetOneSharedParameters & Required<Pick<CompositionGetParameters, RequiredParameters>>;
10789
10864
  type SpecificProjectMap = {
10790
10865
  projectMapId?: string;
@@ -12131,6 +12206,14 @@ interface paths$5 {
12131
12206
  limit?: number;
12132
12207
  /** @description Matches release contents where their public ID is one of a list */
12133
12208
  publicIDs?: components$5["schemas"]["PublicIdProperty"][];
12209
+ /**
12210
+ * @description Controls filtering of trashed items.
12211
+ *
12212
+ * exclude: (default) Only return items not in trash.
12213
+ * only: Only return trashed items (for trash view).
12214
+ * include: Return both trashed and non-trashed items.
12215
+ */
12216
+ deleted?: components$5["parameters"]["deleted"];
12134
12217
  };
12135
12218
  header?: never;
12136
12219
  path?: never;
@@ -12317,7 +12400,16 @@ interface components$5 {
12317
12400
  content?: never;
12318
12401
  };
12319
12402
  };
12320
- parameters: never;
12403
+ parameters: {
12404
+ /**
12405
+ * @description Controls filtering of trashed items.
12406
+ *
12407
+ * exclude: (default) Only return items not in trash.
12408
+ * only: Only return trashed items (for trash view).
12409
+ * include: Return both trashed and non-trashed items.
12410
+ */
12411
+ deleted: "exclude" | "only" | "include";
12412
+ };
12321
12413
  requestBodies: never;
12322
12414
  headers: never;
12323
12415
  pathItems: never;
@@ -15058,7 +15150,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
15058
15150
  */
15059
15151
  declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable', offset: number) => void | false): number;
15060
15152
 
15061
- declare const version = "20.74.4";
15153
+ declare const version = "20.74.5";
15062
15154
 
15063
15155
  /** API client to enable managing workflow definitions */
15064
15156
  declare class WorkflowClient extends ApiClient {
package/dist/index.d.ts CHANGED
@@ -2223,6 +2223,11 @@ interface components$o {
2223
2223
  * @description Modified date string for this definition
2224
2224
  */
2225
2225
  modified: string;
2226
+ /**
2227
+ * Format: date-time
2228
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
2229
+ */
2230
+ deletedAt?: string;
2226
2231
  /**
2227
2232
  * @description True if the entry is a pattern (which can be referenced on other entries)
2228
2233
  * @default false
@@ -2789,6 +2794,14 @@ interface components$o {
2789
2794
  * If versionId is passed, this is always enabled.
2790
2795
  */
2791
2796
  editions: "auto" | "all" | "raw";
2797
+ /**
2798
+ * @description Controls filtering of trashed items.
2799
+ *
2800
+ * exclude: (default) Only return items not in trash.
2801
+ * only: Only return trashed items (for trash view).
2802
+ * include: Return both trashed and non-trashed items.
2803
+ */
2804
+ deleted: "exclude" | "only" | "include";
2792
2805
  };
2793
2806
  requestBodies: never;
2794
2807
  headers: never;
@@ -3385,6 +3398,14 @@ interface paths$k {
3385
3398
  * If versionId is passed, this is always enabled.
3386
3399
  */
3387
3400
  editions?: components$m["parameters"]["editions"];
3401
+ /**
3402
+ * @description Controls filtering of trashed items.
3403
+ *
3404
+ * exclude: (default) Only return items not in trash.
3405
+ * only: Only return trashed items (for trash view).
3406
+ * include: Return both trashed and non-trashed items.
3407
+ */
3408
+ deleted?: components$m["parameters"]["deleted"];
3388
3409
  };
3389
3410
  header?: never;
3390
3411
  path?: never;
@@ -4066,6 +4087,11 @@ interface components$m {
4066
4087
  * @description Modified date string for this definition
4067
4088
  */
4068
4089
  modified: string;
4090
+ /**
4091
+ * Format: date-time
4092
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
4093
+ */
4094
+ deletedAt?: string;
4069
4095
  /**
4070
4096
  * @description True if the entry is a pattern (which can be referenced on other entries)
4071
4097
  * @default false
@@ -4370,6 +4396,14 @@ interface components$m {
4370
4396
  * If versionId is passed, this is always enabled.
4371
4397
  */
4372
4398
  editions: "auto" | "all" | "raw";
4399
+ /**
4400
+ * @description Controls filtering of trashed items.
4401
+ *
4402
+ * exclude: (default) Only return items not in trash.
4403
+ * only: Only return trashed items (for trash view).
4404
+ * include: Return both trashed and non-trashed items.
4405
+ */
4406
+ deleted: "exclude" | "only" | "include";
4373
4407
  };
4374
4408
  requestBodies: never;
4375
4409
  headers: never;
@@ -6582,6 +6616,11 @@ interface components$e {
6582
6616
  * @description Modified date string for this composition
6583
6617
  */
6584
6618
  modified: string;
6619
+ /**
6620
+ * Format: date-time
6621
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
6622
+ */
6623
+ deletedAt?: string;
6585
6624
  /** @description User name of the creator of this composition */
6586
6625
  creator?: string;
6587
6626
  /** @description User name of the last editor of this composition */
@@ -7067,6 +7106,14 @@ interface paths$c {
7067
7106
  * If versionId is passed, this is always enabled.
7068
7107
  */
7069
7108
  editions?: components$d["parameters"]["editions"];
7109
+ /**
7110
+ * @description Controls filtering of trashed items.
7111
+ *
7112
+ * exclude: (default) Only return items not in trash.
7113
+ * only: Only return trashed items (for trash view).
7114
+ * include: Return both trashed and non-trashed items.
7115
+ */
7116
+ deleted?: components$d["parameters"]["deleted"];
7070
7117
  };
7071
7118
  header?: never;
7072
7119
  path?: never;
@@ -7314,6 +7361,11 @@ interface components$d {
7314
7361
  * @description Modified date string for this composition
7315
7362
  */
7316
7363
  modified: string;
7364
+ /**
7365
+ * Format: date-time
7366
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
7367
+ */
7368
+ deletedAt?: string;
7317
7369
  /** @description User name of the creator of this composition */
7318
7370
  creator?: string;
7319
7371
  /** @description User name of the last editor of this composition */
@@ -8172,6 +8224,14 @@ interface components$d {
8172
8224
  * If versionId is passed, this is always enabled.
8173
8225
  */
8174
8226
  editions: "auto" | "all" | "raw";
8227
+ /**
8228
+ * @description Controls filtering of trashed items.
8229
+ *
8230
+ * exclude: (default) Only return items not in trash.
8231
+ * only: Only return trashed items (for trash view).
8232
+ * include: Return both trashed and non-trashed items.
8233
+ */
8234
+ deleted: "exclude" | "only" | "include";
8175
8235
  };
8176
8236
  requestBodies: never;
8177
8237
  headers: never;
@@ -8995,6 +9055,11 @@ interface components$b {
8995
9055
  * @description Modified date string for this composition
8996
9056
  */
8997
9057
  modified: string;
9058
+ /**
9059
+ * Format: date-time
9060
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
9061
+ */
9062
+ deletedAt?: string;
8998
9063
  /** @description User name of the creator of this composition */
8999
9064
  creator?: string;
9000
9065
  /** @description User name of the last editor of this composition */
@@ -9225,6 +9290,11 @@ interface components$b {
9225
9290
  * @description Modified date string for this definition
9226
9291
  */
9227
9292
  modified: string;
9293
+ /**
9294
+ * Format: date-time
9295
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
9296
+ */
9297
+ deletedAt?: string;
9228
9298
  /**
9229
9299
  * @description True if the entry is a pattern (which can be referenced on other entries)
9230
9300
  * @default false
@@ -10421,6 +10491,11 @@ interface components$a {
10421
10491
  * @description Modified date string for this composition
10422
10492
  */
10423
10493
  modified: string;
10494
+ /**
10495
+ * Format: date-time
10496
+ * @description Timestamp when the item was moved to trash. Omitted if not in trash.
10497
+ */
10498
+ deletedAt?: string;
10424
10499
  /** @description User name of the creator of this composition */
10425
10500
  creator?: string;
10426
10501
  /** @description User name of the last editor of this composition */
@@ -10784,7 +10859,7 @@ type CanvasDefinitions = {
10784
10859
  webhooks?: Array<WebhookDefinition>;
10785
10860
  };
10786
10861
  /** Defines shared parameters for requests getting a single composition */
10787
- type CompositionGetOneSharedParameters = Pick<CompositionGetParameters, 'state' | 'skipEnhance' | 'skipPatternResolution' | 'withComponentIDs' | 'withUIStatus' | 'withWorkflowDefinition' | 'withProjectMapNodes' | 'withTotalCount' | 'skipOverridesResolution' | 'withContentSourceMap' | 'versionId' | 'locale' | 'releaseId' | 'editions' | 'pattern' | 'withPatternType'>;
10862
+ type CompositionGetOneSharedParameters = Pick<CompositionGetParameters, 'state' | 'skipEnhance' | 'skipPatternResolution' | 'withComponentIDs' | 'withUIStatus' | 'withWorkflowDefinition' | 'withProjectMapNodes' | 'withTotalCount' | 'skipOverridesResolution' | 'withContentSourceMap' | 'versionId' | 'locale' | 'releaseId' | 'editions' | 'deleted' | 'pattern' | 'withPatternType'>;
10788
10863
  type CompositionGetBy<RequiredParameters extends keyof CompositionGetParameters> = CompositionGetOneSharedParameters & Required<Pick<CompositionGetParameters, RequiredParameters>>;
10789
10864
  type SpecificProjectMap = {
10790
10865
  projectMapId?: string;
@@ -12131,6 +12206,14 @@ interface paths$5 {
12131
12206
  limit?: number;
12132
12207
  /** @description Matches release contents where their public ID is one of a list */
12133
12208
  publicIDs?: components$5["schemas"]["PublicIdProperty"][];
12209
+ /**
12210
+ * @description Controls filtering of trashed items.
12211
+ *
12212
+ * exclude: (default) Only return items not in trash.
12213
+ * only: Only return trashed items (for trash view).
12214
+ * include: Return both trashed and non-trashed items.
12215
+ */
12216
+ deleted?: components$5["parameters"]["deleted"];
12134
12217
  };
12135
12218
  header?: never;
12136
12219
  path?: never;
@@ -12317,7 +12400,16 @@ interface components$5 {
12317
12400
  content?: never;
12318
12401
  };
12319
12402
  };
12320
- parameters: never;
12403
+ parameters: {
12404
+ /**
12405
+ * @description Controls filtering of trashed items.
12406
+ *
12407
+ * exclude: (default) Only return items not in trash.
12408
+ * only: Only return trashed items (for trash view).
12409
+ * include: Return both trashed and non-trashed items.
12410
+ */
12411
+ deleted: "exclude" | "only" | "include";
12412
+ };
12321
12413
  requestBodies: never;
12322
12414
  headers: never;
12323
12415
  pathItems: never;
@@ -15058,7 +15150,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
15058
15150
  */
15059
15151
  declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable', offset: number) => void | false): number;
15060
15152
 
15061
- declare const version = "20.74.4";
15153
+ declare const version = "20.74.5";
15062
15154
 
15063
15155
  /** API client to enable managing workflow definitions */
15064
15156
  declare class WorkflowClient extends ApiClient {
package/dist/index.esm.js CHANGED
@@ -3375,7 +3375,7 @@ function handleRichTextNodeBinding(object, options) {
3375
3375
  import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
3376
3376
 
3377
3377
  // src/.version.ts
3378
- var version = "20.74.4";
3378
+ var version = "20.74.5";
3379
3379
 
3380
3380
  // src/WorkflowClient.ts
3381
3381
  import { ApiClient as ApiClient17 } from "@uniformdev/context/api";
package/dist/index.js CHANGED
@@ -3584,7 +3584,7 @@ function handleRichTextNodeBinding(object, options) {
3584
3584
  var import_api19 = require("@uniformdev/context/api");
3585
3585
 
3586
3586
  // src/.version.ts
3587
- var version = "20.74.4";
3587
+ var version = "20.74.5";
3588
3588
 
3589
3589
  // src/WorkflowClient.ts
3590
3590
  var import_api18 = require("@uniformdev/context/api");
package/dist/index.mjs CHANGED
@@ -3375,7 +3375,7 @@ function handleRichTextNodeBinding(object, options) {
3375
3375
  import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
3376
3376
 
3377
3377
  // src/.version.ts
3378
- var version = "20.74.4";
3378
+ var version = "20.74.5";
3379
3379
 
3380
3380
  // src/WorkflowClient.ts
3381
3381
  import { ApiClient as ApiClient17 } from "@uniformdev/context/api";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "20.74.4",
3
+ "version": "20.74.6-alpha.1+4cdd3b417d",
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.74.4",
40
- "@uniformdev/context": "20.74.4",
41
- "@uniformdev/richtext": "20.74.4",
39
+ "@uniformdev/assets": "20.74.6-alpha.1+4cdd3b417d",
40
+ "@uniformdev/context": "20.74.6-alpha.1+4cdd3b417d",
41
+ "@uniformdev/richtext": "20.74.6-alpha.1+4cdd3b417d",
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": "a929ae8eded833daa45768fe470bed14b5e6af65"
53
+ "gitHead": "4cdd3b417d4e8dbedf060014c9a3eb88ee44a4d4"
54
54
  }