@pitcher/canvas-ui 2025.12.4-162127 → 2025.12.4-164350-beta

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.
@@ -276,6 +276,7 @@ declare const _default: () => {
276
276
  readonly canvases_count: number;
277
277
  readonly canvas_thumbnail_urls: readonly string[];
278
278
  }[];
279
+ readonly parent_folder_id: string | null;
279
280
  readonly folders: readonly {
280
281
  readonly id: string;
281
282
  readonly name: string;
@@ -293,6 +294,7 @@ declare const _default: () => {
293
294
  readonly name: string;
294
295
  readonly status: FileStatusEnum;
295
296
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
297
+ readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
296
298
  readonly thumbnail_url: string;
297
299
  readonly original_url: string | null;
298
300
  readonly original_extension: string | null;
@@ -414,6 +416,7 @@ declare const _default: () => {
414
416
  readonly name: string;
415
417
  readonly status: FileStatusEnum;
416
418
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
419
+ readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
417
420
  readonly thumbnail_url: string;
418
421
  readonly original_url: string | null;
419
422
  readonly original_extension: string | null;
@@ -714,6 +717,7 @@ declare const _default: () => {
714
717
  readonly canvases_count: number;
715
718
  readonly canvas_thumbnail_urls: Array<string>;
716
719
  }[];
720
+ readonly parent_folder_id: string | null;
717
721
  readonly folders: {
718
722
  readonly id: string;
719
723
  name: string;
@@ -731,6 +735,7 @@ declare const _default: () => {
731
735
  readonly name: string;
732
736
  readonly status: FileStatusEnum;
733
737
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
738
+ access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
734
739
  readonly thumbnail_url: string;
735
740
  readonly original_url: string | null;
736
741
  readonly original_extension: string | null;
@@ -806,6 +811,7 @@ declare const _default: () => {
806
811
  readonly name: string;
807
812
  readonly status: FileStatusEnum;
808
813
  readonly content_type: import('../../../../types/openapi').FileContentTypeEnum;
814
+ access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined;
809
815
  readonly thumbnail_url: string;
810
816
  readonly original_url: string | null;
811
817
  readonly original_extension: string | null;
@@ -1013,7 +1013,7 @@ export default function useCanvas(): {
1013
1013
  short_url?: string | null | undefined;
1014
1014
  };
1015
1015
  account?: {
1016
- id: string;
1016
+ id?: string | undefined;
1017
1017
  name?: string | undefined;
1018
1018
  } | null | undefined;
1019
1019
  readonly events: {
@@ -1076,7 +1076,7 @@ export default function useCanvas(): {
1076
1076
  short_url?: string | null | undefined;
1077
1077
  };
1078
1078
  account?: {
1079
- id: string;
1079
+ id?: string | undefined;
1080
1080
  name?: string | undefined;
1081
1081
  } | null | undefined;
1082
1082
  readonly events: {
@@ -5974,6 +5974,5 @@ export default function useCanvas(): {
5974
5974
  } | null>;
5975
5975
  getSafeContext: (context?: any, _temporaryContextKeys?: string[]) => any;
5976
5976
  watchCanvas: () => import('vue').WatchHandle;
5977
- mergeWithArrayReplacement: (...sources: any[]) => any;
5978
5977
  };
5979
5978
  export {};
@@ -53,7 +53,7 @@ export default function useCanvasBlocks(): {
53
53
  readonly short_url?: string | null | undefined;
54
54
  };
55
55
  readonly account?: {
56
- readonly id: string;
56
+ readonly id?: string | undefined;
57
57
  readonly name?: string | undefined;
58
58
  } | null | undefined;
59
59
  readonly events: readonly {
@@ -130,7 +130,7 @@ export default function useCanvasBlocks(): {
130
130
  readonly short_url?: string | null | undefined;
131
131
  };
132
132
  readonly account?: {
133
- readonly id: string;
133
+ readonly id?: string | undefined;
134
134
  readonly name?: string | undefined;
135
135
  } | null | undefined;
136
136
  readonly events: readonly {
@@ -106,7 +106,7 @@ export default function useCanvasTheme(): {
106
106
  readonly picture: string | null;
107
107
  timezone?: string | undefined;
108
108
  tags?: (Array<string> | null) | undefined;
109
- readonly connection?: string | null | undefined;
109
+ readonly connection: string | null;
110
110
  };
111
111
  created_by: {
112
112
  readonly id: number;
@@ -134,7 +134,7 @@ export default function useCanvasTheme(): {
134
134
  readonly picture: string | null;
135
135
  timezone?: string | undefined;
136
136
  tags?: (Array<string> | null) | undefined;
137
- readonly connection?: string | null | undefined;
137
+ readonly connection: string | null;
138
138
  };
139
139
  modified_by?: {
140
140
  readonly id: number;
@@ -162,7 +162,7 @@ export default function useCanvasTheme(): {
162
162
  readonly picture: string | null;
163
163
  timezone?: string | undefined;
164
164
  tags?: (Array<string> | null) | undefined;
165
- readonly connection?: string | null | undefined;
165
+ readonly connection: string | null;
166
166
  } | undefined;
167
167
  logo?: {
168
168
  id: string;
@@ -220,7 +220,7 @@ export default function useCanvasTheme(): {
220
220
  readonly picture: string | null;
221
221
  timezone?: string | undefined;
222
222
  tags?: (Array<string> | null) | undefined;
223
- readonly connection?: string | null | undefined;
223
+ readonly connection: string | null;
224
224
  };
225
225
  created_by: {
226
226
  readonly id: number;
@@ -248,7 +248,7 @@ export default function useCanvasTheme(): {
248
248
  readonly picture: string | null;
249
249
  timezone?: string | undefined;
250
250
  tags?: (Array<string> | null) | undefined;
251
- readonly connection?: string | null | undefined;
251
+ readonly connection: string | null;
252
252
  };
253
253
  modified_by?: {
254
254
  readonly id: number;
@@ -276,7 +276,7 @@ export default function useCanvasTheme(): {
276
276
  readonly picture: string | null;
277
277
  timezone?: string | undefined;
278
278
  tags?: (Array<string> | null) | undefined;
279
- readonly connection?: string | null | undefined;
279
+ readonly connection: string | null;
280
280
  } | undefined;
281
281
  logo?: {
282
282
  id: string;
@@ -491,7 +491,7 @@ export default function useCanvasTheme(): {
491
491
  readonly picture: string | null;
492
492
  timezone?: string | undefined;
493
493
  tags?: (Array<string> | null) | undefined;
494
- readonly connection?: string | null | undefined;
494
+ readonly connection: string | null;
495
495
  };
496
496
  created_by: {
497
497
  readonly id: number;
@@ -519,7 +519,7 @@ export default function useCanvasTheme(): {
519
519
  readonly picture: string | null;
520
520
  timezone?: string | undefined;
521
521
  tags?: (Array<string> | null) | undefined;
522
- readonly connection?: string | null | undefined;
522
+ readonly connection: string | null;
523
523
  };
524
524
  modified_by?: {
525
525
  readonly id: number;
@@ -547,7 +547,7 @@ export default function useCanvasTheme(): {
547
547
  readonly picture: string | null;
548
548
  timezone?: string | undefined;
549
549
  tags?: (Array<string> | null) | undefined;
550
- readonly connection?: string | null | undefined;
550
+ readonly connection: string | null;
551
551
  } | undefined;
552
552
  logo?: {
553
553
  id: string;
@@ -605,7 +605,7 @@ export default function useCanvasTheme(): {
605
605
  readonly picture: string | null;
606
606
  timezone?: string | undefined;
607
607
  tags?: (Array<string> | null) | undefined;
608
- readonly connection?: string | null | undefined;
608
+ readonly connection: string | null;
609
609
  };
610
610
  created_by: {
611
611
  readonly id: number;
@@ -633,7 +633,7 @@ export default function useCanvasTheme(): {
633
633
  readonly picture: string | null;
634
634
  timezone?: string | undefined;
635
635
  tags?: (Array<string> | null) | undefined;
636
- readonly connection?: string | null | undefined;
636
+ readonly connection: string | null;
637
637
  };
638
638
  modified_by?: {
639
639
  readonly id: number;
@@ -661,7 +661,7 @@ export default function useCanvasTheme(): {
661
661
  readonly picture: string | null;
662
662
  timezone?: string | undefined;
663
663
  tags?: (Array<string> | null) | undefined;
664
- readonly connection?: string | null | undefined;
664
+ readonly connection: string | null;
665
665
  } | undefined;
666
666
  logo?: {
667
667
  id: string;
@@ -727,7 +727,7 @@ export default function useCanvasTheme(): {
727
727
  readonly picture: string | null;
728
728
  timezone?: string | undefined;
729
729
  tags?: (Array<string> | null) | undefined;
730
- readonly connection?: string | null | undefined;
730
+ readonly connection: string | null;
731
731
  };
732
732
  created_by: {
733
733
  readonly id: number;
@@ -755,7 +755,7 @@ export default function useCanvasTheme(): {
755
755
  readonly picture: string | null;
756
756
  timezone?: string | undefined;
757
757
  tags?: (Array<string> | null) | undefined;
758
- readonly connection?: string | null | undefined;
758
+ readonly connection: string | null;
759
759
  };
760
760
  modified_by?: {
761
761
  readonly id: number;
@@ -783,7 +783,7 @@ export default function useCanvasTheme(): {
783
783
  readonly picture: string | null;
784
784
  timezone?: string | undefined;
785
785
  tags?: (Array<string> | null) | undefined;
786
- readonly connection?: string | null | undefined;
786
+ readonly connection: string | null;
787
787
  } | undefined;
788
788
  logo?: {
789
789
  id: string;
@@ -841,7 +841,7 @@ export default function useCanvasTheme(): {
841
841
  readonly picture: string | null;
842
842
  timezone?: string | undefined;
843
843
  tags?: (Array<string> | null) | undefined;
844
- readonly connection?: string | null | undefined;
844
+ readonly connection: string | null;
845
845
  };
846
846
  created_by: {
847
847
  readonly id: number;
@@ -869,7 +869,7 @@ export default function useCanvasTheme(): {
869
869
  readonly picture: string | null;
870
870
  timezone?: string | undefined;
871
871
  tags?: (Array<string> | null) | undefined;
872
- readonly connection?: string | null | undefined;
872
+ readonly connection: string | null;
873
873
  };
874
874
  modified_by?: {
875
875
  readonly id: number;
@@ -897,7 +897,7 @@ export default function useCanvasTheme(): {
897
897
  readonly picture: string | null;
898
898
  timezone?: string | undefined;
899
899
  tags?: (Array<string> | null) | undefined;
900
- readonly connection?: string | null | undefined;
900
+ readonly connection: string | null;
901
901
  } | undefined;
902
902
  logo?: {
903
903
  id: string;
@@ -29,7 +29,7 @@ export default function useApp(): {
29
29
  short_url?: string | null | undefined;
30
30
  };
31
31
  account?: {
32
- id: string;
32
+ id?: string | undefined;
33
33
  name?: string | undefined;
34
34
  } | null | undefined;
35
35
  folder_id?: string | null | undefined;
@@ -76,7 +76,7 @@ export default function useApp(): {
76
76
  short_url?: string | null | undefined;
77
77
  };
78
78
  account?: {
79
- id: string;
79
+ id?: string | undefined;
80
80
  name?: string | undefined;
81
81
  } | null | undefined;
82
82
  folder_id?: string | null | undefined;
@@ -123,7 +123,7 @@ export default function useApp(): {
123
123
  short_url?: string | null | undefined;
124
124
  };
125
125
  account?: {
126
- id: string;
126
+ id?: string | undefined;
127
127
  name?: string | undefined;
128
128
  } | null | undefined;
129
129
  folder_id?: string | null | undefined;
@@ -170,7 +170,7 @@ export default function useApp(): {
170
170
  short_url?: string | null | undefined;
171
171
  };
172
172
  account?: {
173
- id: string;
173
+ id?: string | undefined;
174
174
  name?: string | undefined;
175
175
  } | null | undefined;
176
176
  folder_id?: string | null | undefined;
@@ -223,7 +223,7 @@ export default function useApp(): {
223
223
  short_url?: string | null | undefined;
224
224
  };
225
225
  account?: {
226
- id: string;
226
+ id?: string | undefined;
227
227
  name?: string | undefined;
228
228
  } | null | undefined;
229
229
  folder_id?: string | null | undefined;
@@ -270,7 +270,7 @@ export default function useApp(): {
270
270
  short_url?: string | null | undefined;
271
271
  };
272
272
  account?: {
273
- id: string;
273
+ id?: string | undefined;
274
274
  name?: string | undefined;
275
275
  } | null | undefined;
276
276
  folder_id?: string | null | undefined;
@@ -317,7 +317,7 @@ export default function useApp(): {
317
317
  short_url?: string | null | undefined;
318
318
  };
319
319
  account?: {
320
- id: string;
320
+ id?: string | undefined;
321
321
  name?: string | undefined;
322
322
  } | null | undefined;
323
323
  folder_id?: string | null | undefined;
@@ -364,7 +364,7 @@ export default function useApp(): {
364
364
  short_url?: string | null | undefined;
365
365
  };
366
366
  account?: {
367
- id: string;
367
+ id?: string | undefined;
368
368
  name?: string | undefined;
369
369
  } | null | undefined;
370
370
  folder_id?: string | null | undefined;
@@ -412,7 +412,7 @@ export default function useApp(): {
412
412
  short_url?: string | null | undefined;
413
413
  };
414
414
  account?: {
415
- id: string;
415
+ id?: string | undefined;
416
416
  name?: string | undefined;
417
417
  } | null | undefined;
418
418
  folder_id?: string | null | undefined;
@@ -458,7 +458,7 @@ export default function useApp(): {
458
458
  short_url?: string | null | undefined;
459
459
  };
460
460
  account?: {
461
- id: string;
461
+ id?: string | undefined;
462
462
  name?: string | undefined;
463
463
  } | null | undefined;
464
464
  folder_id?: string | null | undefined;
@@ -505,7 +505,7 @@ export default function useApp(): {
505
505
  short_url?: string | null | undefined;
506
506
  };
507
507
  account?: {
508
- id: string;
508
+ id?: string | undefined;
509
509
  name?: string | undefined;
510
510
  } | null | undefined;
511
511
  folder_id?: string | null | undefined;
@@ -552,7 +552,7 @@ export default function useApp(): {
552
552
  short_url?: string | null | undefined;
553
553
  };
554
554
  account?: {
555
- id: string;
555
+ id?: string | undefined;
556
556
  name?: string | undefined;
557
557
  } | null | undefined;
558
558
  folder_id?: string | null | undefined;
@@ -599,7 +599,7 @@ export default function useApp(): {
599
599
  short_url?: string | null | undefined;
600
600
  };
601
601
  account?: {
602
- id: string;
602
+ id?: string | undefined;
603
603
  name?: string | undefined;
604
604
  } | null | undefined;
605
605
  folder_id?: string | null | undefined;
@@ -646,7 +646,7 @@ export default function useApp(): {
646
646
  short_url?: string | null | undefined;
647
647
  };
648
648
  account?: {
649
- id: string;
649
+ id?: string | undefined;
650
650
  name?: string | undefined;
651
651
  } | null | undefined;
652
652
  folder_id?: string | null | undefined;
@@ -91,7 +91,7 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
91
91
  short_url?: string | null | undefined;
92
92
  };
93
93
  account?: {
94
- id: string;
94
+ id?: string | undefined;
95
95
  name?: string | undefined;
96
96
  } | null | undefined;
97
97
  readonly events: {
@@ -174,7 +174,7 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
174
174
  short_url?: string | null | undefined;
175
175
  };
176
176
  account?: {
177
- id: string;
177
+ id?: string | undefined;
178
178
  name?: string | undefined;
179
179
  } | null | undefined;
180
180
  readonly events: {
@@ -237,7 +237,7 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
237
237
  short_url?: string | null | undefined;
238
238
  };
239
239
  account?: {
240
- id: string;
240
+ id?: string | undefined;
241
241
  name?: string | undefined;
242
242
  } | null | undefined;
243
243
  readonly events: {
@@ -301,7 +301,7 @@ export default function useSmartFolders(emit?: (event: 'open', ...args: any[]) =
301
301
  short_url?: string | null | undefined;
302
302
  };
303
303
  account?: {
304
- id: string;
304
+ id?: string | undefined;
305
305
  name?: string | undefined;
306
306
  } | null | undefined;
307
307
  readonly events: {
@@ -13,6 +13,7 @@ export interface GetCanvasesParams {
13
13
  page_size?: number;
14
14
  section_ids?: string[];
15
15
  tags__in?: string[];
16
+ tags__not_in?: string[];
16
17
  id__in?: string;
17
18
  access_type?: string;
18
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitcher/canvas-ui",
3
- "version": "2025.12.4-162127",
3
+ "version": "2025.12.4-164350-beta",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,4 +1,4 @@
1
1
  export type Account = {
2
- id: string;
2
+ id?: string;
3
3
  name?: string;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  export type AccountRequest = {
2
- id: string;
2
+ id?: string;
3
3
  name?: string;
4
4
  };
@@ -11,6 +11,7 @@ export type DeletedFolder = {
11
11
  readonly file_thumbnail_urls: Array<string>;
12
12
  readonly thumbnail_url: string | null;
13
13
  path: string;
14
+ readonly parent_folder_id: string | null;
14
15
  readonly created_at: string;
15
16
  readonly created_by: MiniUser;
16
17
  readonly modified_at: string;
@@ -11,6 +11,7 @@ export type Folder = {
11
11
  readonly file_thumbnail_urls: Array<string>;
12
12
  readonly thumbnail_url: string | null;
13
13
  path: string;
14
+ readonly parent_folder_id: string | null;
14
15
  readonly created_at: string;
15
16
  readonly created_by: MiniUser;
16
17
  readonly modified_at: string;
@@ -19,6 +19,9 @@ export type FolderCreate = {
19
19
  access_type?: AccessTypeEnum;
20
20
  rules?: Array<FolderRule>;
21
21
  readonly owned_by: MiniUser;
22
+ /**
23
+ * Override to apply user permissions when filtering files for thumbnails.
24
+ */
22
25
  readonly file_thumbnail_urls: Array<string>;
23
26
  readonly thumbnail_url: string | null;
24
27
  readonly path: Array<FolderFolder>;
@@ -1,3 +1,4 @@
1
+ import { AccessTypeEnum } from './AccessTypeEnum';
1
2
  import { FileContentTypeEnum } from './FileContentTypeEnum';
2
3
  import { FilePermission } from './FilePermission';
3
4
  import { FileStatusEnum } from './FileStatusEnum';
@@ -7,6 +8,7 @@ export type FolderFile = {
7
8
  readonly name: string;
8
9
  readonly status: FileStatusEnum;
9
10
  readonly content_type: FileContentTypeEnum;
11
+ access_type?: AccessTypeEnum;
10
12
  readonly thumbnail_url: string;
11
13
  readonly original_url: string | null;
12
14
  readonly original_extension: string | null;
@@ -14,9 +14,13 @@ export type FolderRetrieve = {
14
14
  access_type?: AccessTypeEnum;
15
15
  rules?: Array<FolderRule>;
16
16
  readonly owned_by: MiniUser;
17
+ /**
18
+ * Override to apply user permissions when filtering files for thumbnails.
19
+ */
17
20
  readonly file_thumbnail_urls: Array<string>;
18
21
  readonly thumbnail_url: string | null;
19
22
  readonly path: Array<FolderFolder>;
23
+ readonly parent_folder_id: string | null;
20
24
  readonly folders: Array<FolderFolder>;
21
25
  readonly files: Array<FolderFile>;
22
26
  readonly canvases: Array<FolderCanvas>;
@@ -18,6 +18,9 @@ export type FolderUpdate = {
18
18
  access_type?: AccessTypeEnum;
19
19
  rules?: Array<FolderRule>;
20
20
  readonly owned_by: MiniUser;
21
+ /**
22
+ * Override to apply user permissions when filtering files for thumbnails.
23
+ */
21
24
  readonly file_thumbnail_urls: Array<string>;
22
25
  readonly thumbnail_url: string | null;
23
26
  readonly path: Array<FolderFolder>;
@@ -7,4 +7,5 @@ export type InstanceMembershipUser = {
7
7
  readonly instance_last_login: string;
8
8
  picture: string;
9
9
  readonly tags: Array<string> | null;
10
+ readonly connection: string | null;
10
11
  };
@@ -9,6 +9,7 @@ export type OfflineSyncFolder = {
9
9
  readonly depth: number;
10
10
  readonly owned_by: MiniUser;
11
11
  readonly thumbnail_id: string | null;
12
+ readonly parent_folder_id: string;
12
13
  readonly created_at: string;
13
14
  readonly created_by: MiniUser;
14
15
  readonly modified_at: string;
@@ -3,6 +3,9 @@ import { LanguageEnum } from './LanguageEnum';
3
3
  import { UserRoleEnum } from './UserRoleEnum';
4
4
  export type User = {
5
5
  readonly id: number;
6
+ /**
7
+ * Get user name without connection info - connection info is available in the 'connection' field.
8
+ */
6
9
  readonly name: string;
7
10
  first_name?: string;
8
11
  last_name?: string;
@@ -19,5 +22,5 @@ export type User = {
19
22
  readonly picture: string | null;
20
23
  timezone?: string;
21
24
  tags?: Array<string> | null;
22
- readonly connection?: string | null;
25
+ readonly connection: string | null;
23
26
  };