@tulip-systems/drive 0.10.2 → 0.10.3
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/lib/dto.d.mts +2 -2
- package/dist/lib/validators.d.mts +9 -9
- package/dist/providers/google/config/filters.d.mts +1 -1
- package/dist/providers/google/lib/router.server.d.mts +15 -15
- package/dist/providers/google/lib/search-params.d.mts +1 -1
- package/dist/providers/google/lib/validators.d.mts +13 -13
- package/dist/providers/local/config/filters.d.mts +1 -1
- package/dist/providers/local/lib/router.server.d.mts +20 -20
- package/dist/providers/local/lib/schema.d.mts +2 -2
- package/dist/providers/local/lib/search-params.d.mts +1 -1
- package/dist/providers/local/lib/service.server.d.mts +16 -16
- package/dist/providers/local/lib/validators.d.mts +21 -21
- package/package.json +2 -2
package/dist/lib/dto.d.mts
CHANGED
|
@@ -13,8 +13,8 @@ type DriveNodeProvider = z.infer<typeof driveNodeProviderSchema>;
|
|
|
13
13
|
* Drive node type
|
|
14
14
|
*/
|
|
15
15
|
declare const driveNodeTypeSchema: z.ZodEnum<{
|
|
16
|
-
file: "file";
|
|
17
16
|
folder: "folder";
|
|
17
|
+
file: "file";
|
|
18
18
|
}>;
|
|
19
19
|
type DriveNodeType = z.infer<typeof driveNodeTypeSchema>;
|
|
20
20
|
/**
|
|
@@ -63,8 +63,8 @@ declare const driveNodeSchema: z.ZodObject<{
|
|
|
63
63
|
name: z.ZodString;
|
|
64
64
|
namespace: z.ZodString;
|
|
65
65
|
type: z.ZodEnum<{
|
|
66
|
-
file: "file";
|
|
67
66
|
folder: "folder";
|
|
67
|
+
file: "file";
|
|
68
68
|
}>;
|
|
69
69
|
subtype: z.ZodEnum<{
|
|
70
70
|
image: "image";
|
|
@@ -51,8 +51,8 @@ type PresignDriveFileSchema = z.infer<typeof presignDriveFileInputSchema>;
|
|
|
51
51
|
*/
|
|
52
52
|
declare const driveTableFiltersSchema: z.ZodPipe<z.ZodObject<{
|
|
53
53
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
54
|
-
file: "file";
|
|
55
54
|
folder: "folder";
|
|
55
|
+
file: "file";
|
|
56
56
|
}>>>>;
|
|
57
57
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
58
58
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -63,13 +63,13 @@ declare const driveTableFiltersSchema: z.ZodPipe<z.ZodObject<{
|
|
|
63
63
|
isArchived: boolean;
|
|
64
64
|
namespace: string;
|
|
65
65
|
parentId: string | null;
|
|
66
|
-
types?: ("
|
|
66
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
67
67
|
contentTypes?: string[] | null | undefined;
|
|
68
68
|
nodeIds?: string[] | null | undefined;
|
|
69
69
|
}, {
|
|
70
70
|
namespace: string;
|
|
71
71
|
parentId: string | null;
|
|
72
|
-
types?: ("
|
|
72
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
73
73
|
contentTypes?: string[] | null | undefined;
|
|
74
74
|
nodeIds?: string[] | null | undefined;
|
|
75
75
|
isArchived?: boolean | null | undefined;
|
|
@@ -89,8 +89,8 @@ declare const listDriveTreeInputSchema: z.ZodObject<{
|
|
|
89
89
|
search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
90
|
filters: z.ZodPipe<z.ZodObject<{
|
|
91
91
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
92
|
-
file: "file";
|
|
93
92
|
folder: "folder";
|
|
93
|
+
file: "file";
|
|
94
94
|
}>>>>;
|
|
95
95
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
96
96
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -101,13 +101,13 @@ declare const listDriveTreeInputSchema: z.ZodObject<{
|
|
|
101
101
|
isArchived: boolean;
|
|
102
102
|
namespace: string;
|
|
103
103
|
parentId: string | null;
|
|
104
|
-
types?: ("
|
|
104
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
105
105
|
contentTypes?: string[] | null | undefined;
|
|
106
106
|
nodeIds?: string[] | null | undefined;
|
|
107
107
|
}, {
|
|
108
108
|
namespace: string;
|
|
109
109
|
parentId: string | null;
|
|
110
|
-
types?: ("
|
|
110
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
111
111
|
contentTypes?: string[] | null | undefined;
|
|
112
112
|
nodeIds?: string[] | null | undefined;
|
|
113
113
|
isArchived?: boolean | null | undefined;
|
|
@@ -127,8 +127,8 @@ declare const getNodesByParentIdInputSchema: z.ZodObject<{
|
|
|
127
127
|
}>>>;
|
|
128
128
|
filters: z.ZodPipe<z.ZodObject<{
|
|
129
129
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
130
|
-
file: "file";
|
|
131
130
|
folder: "folder";
|
|
131
|
+
file: "file";
|
|
132
132
|
}>>>>;
|
|
133
133
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
134
134
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -139,13 +139,13 @@ declare const getNodesByParentIdInputSchema: z.ZodObject<{
|
|
|
139
139
|
isArchived: boolean;
|
|
140
140
|
namespace: string;
|
|
141
141
|
parentId: string | null;
|
|
142
|
-
types?: ("
|
|
142
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
143
143
|
contentTypes?: string[] | null | undefined;
|
|
144
144
|
nodeIds?: string[] | null | undefined;
|
|
145
145
|
}, {
|
|
146
146
|
namespace: string;
|
|
147
147
|
parentId: string | null;
|
|
148
|
-
types?: ("
|
|
148
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
149
149
|
contentTypes?: string[] | null | undefined;
|
|
150
150
|
nodeIds?: string[] | null | undefined;
|
|
151
151
|
isArchived?: boolean | null | undefined;
|
|
@@ -4,8 +4,8 @@ import * as _tulip_systems_core_data_tables0 from "@tulip-systems/core/data-tabl
|
|
|
4
4
|
//#region src/providers/google/config/filters.d.ts
|
|
5
5
|
declare const googleDriveTreeFilters: {
|
|
6
6
|
types: _tulip_systems_core_data_tables0.ParseFilter<zod.ZodArray<zod.ZodEnum<{
|
|
7
|
-
file: "file";
|
|
8
7
|
folder: "folder";
|
|
8
|
+
file: "file";
|
|
9
9
|
}>>>;
|
|
10
10
|
contentTypes: _tulip_systems_core_data_tables0.ParseFilter<zod.ZodArray<zod.ZodString>>;
|
|
11
11
|
nodeIds: _tulip_systems_core_data_tables0.ParseFilter<zod.ZodArray<zod.ZodString>>;
|
|
@@ -16,8 +16,8 @@ declare const googleDriveRouterContract: {
|
|
|
16
16
|
name: z.ZodString;
|
|
17
17
|
namespace: z.ZodString;
|
|
18
18
|
type: z.ZodEnum<{
|
|
19
|
-
file: "file";
|
|
20
19
|
folder: "folder";
|
|
20
|
+
file: "file";
|
|
21
21
|
}>;
|
|
22
22
|
subtype: z.ZodEnum<{
|
|
23
23
|
image: "image";
|
|
@@ -62,8 +62,8 @@ declare const googleDriveRouterContract: {
|
|
|
62
62
|
name: z.ZodString;
|
|
63
63
|
namespace: z.ZodString;
|
|
64
64
|
type: z.ZodEnum<{
|
|
65
|
-
file: "file";
|
|
66
65
|
folder: "folder";
|
|
66
|
+
file: "file";
|
|
67
67
|
}>;
|
|
68
68
|
subtype: z.ZodEnum<{
|
|
69
69
|
image: "image";
|
|
@@ -115,8 +115,8 @@ declare const googleDriveRouterContract: {
|
|
|
115
115
|
}>>>;
|
|
116
116
|
filters: z.ZodPipe<z.ZodObject<{
|
|
117
117
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
118
|
-
file: "file";
|
|
119
118
|
folder: "folder";
|
|
119
|
+
file: "file";
|
|
120
120
|
}>>>>;
|
|
121
121
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
122
122
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -127,13 +127,13 @@ declare const googleDriveRouterContract: {
|
|
|
127
127
|
isArchived: boolean;
|
|
128
128
|
namespace: string;
|
|
129
129
|
parentId: string | null;
|
|
130
|
-
types?: ("
|
|
130
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
131
131
|
contentTypes?: string[] | null | undefined;
|
|
132
132
|
nodeIds?: string[] | null | undefined;
|
|
133
133
|
}, {
|
|
134
134
|
namespace: string;
|
|
135
135
|
parentId: string | null;
|
|
136
|
-
types?: ("
|
|
136
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
137
137
|
contentTypes?: string[] | null | undefined;
|
|
138
138
|
nodeIds?: string[] | null | undefined;
|
|
139
139
|
isArchived?: boolean | null | undefined;
|
|
@@ -145,8 +145,8 @@ declare const googleDriveRouterContract: {
|
|
|
145
145
|
name: z.ZodString;
|
|
146
146
|
namespace: z.ZodString;
|
|
147
147
|
type: z.ZodEnum<{
|
|
148
|
-
file: "file";
|
|
149
148
|
folder: "folder";
|
|
149
|
+
file: "file";
|
|
150
150
|
}>;
|
|
151
151
|
subtype: z.ZodEnum<{
|
|
152
152
|
image: "image";
|
|
@@ -199,8 +199,8 @@ declare const googleDriveRouterContract: {
|
|
|
199
199
|
search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
200
|
filters: z.ZodPipe<z.ZodObject<{
|
|
201
201
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
202
|
-
file: "file";
|
|
203
202
|
folder: "folder";
|
|
203
|
+
file: "file";
|
|
204
204
|
}>>>>;
|
|
205
205
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
206
206
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -211,13 +211,13 @@ declare const googleDriveRouterContract: {
|
|
|
211
211
|
isArchived: boolean;
|
|
212
212
|
namespace: string;
|
|
213
213
|
parentId: string | null;
|
|
214
|
-
types?: ("
|
|
214
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
215
215
|
contentTypes?: string[] | null | undefined;
|
|
216
216
|
nodeIds?: string[] | null | undefined;
|
|
217
217
|
}, {
|
|
218
218
|
namespace: string;
|
|
219
219
|
parentId: string | null;
|
|
220
|
-
types?: ("
|
|
220
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
221
221
|
contentTypes?: string[] | null | undefined;
|
|
222
222
|
nodeIds?: string[] | null | undefined;
|
|
223
223
|
isArchived?: boolean | null | undefined;
|
|
@@ -230,8 +230,8 @@ declare const googleDriveRouterContract: {
|
|
|
230
230
|
name: z.ZodString;
|
|
231
231
|
namespace: z.ZodString;
|
|
232
232
|
type: z.ZodEnum<{
|
|
233
|
-
file: "file";
|
|
234
233
|
folder: "folder";
|
|
234
|
+
file: "file";
|
|
235
235
|
}>;
|
|
236
236
|
subtype: z.ZodEnum<{
|
|
237
237
|
image: "image";
|
|
@@ -307,8 +307,8 @@ declare const googleDriveRouterContract: {
|
|
|
307
307
|
name: z.ZodString;
|
|
308
308
|
namespace: z.ZodString;
|
|
309
309
|
type: z.ZodEnum<{
|
|
310
|
-
file: "file";
|
|
311
310
|
folder: "folder";
|
|
311
|
+
file: "file";
|
|
312
312
|
}>;
|
|
313
313
|
subtype: z.ZodEnum<{
|
|
314
314
|
image: "image";
|
|
@@ -363,8 +363,8 @@ declare const googleDriveRouterContract: {
|
|
|
363
363
|
name: z.ZodString;
|
|
364
364
|
namespace: z.ZodString;
|
|
365
365
|
type: z.ZodEnum<{
|
|
366
|
-
file: "file";
|
|
367
366
|
folder: "folder";
|
|
367
|
+
file: "file";
|
|
368
368
|
}>;
|
|
369
369
|
subtype: z.ZodEnum<{
|
|
370
370
|
image: "image";
|
|
@@ -416,8 +416,8 @@ declare const googleDriveRouterContract: {
|
|
|
416
416
|
name: z.ZodString;
|
|
417
417
|
namespace: z.ZodString;
|
|
418
418
|
type: z.ZodEnum<{
|
|
419
|
-
file: "file";
|
|
420
419
|
folder: "folder";
|
|
420
|
+
file: "file";
|
|
421
421
|
}>;
|
|
422
422
|
subtype: z.ZodEnum<{
|
|
423
423
|
image: "image";
|
|
@@ -468,8 +468,8 @@ declare const googleDriveRouterContract: {
|
|
|
468
468
|
name: z.ZodString;
|
|
469
469
|
namespace: z.ZodString;
|
|
470
470
|
type: z.ZodEnum<{
|
|
471
|
-
file: "file";
|
|
472
471
|
folder: "folder";
|
|
472
|
+
file: "file";
|
|
473
473
|
}>;
|
|
474
474
|
subtype: z.ZodEnum<{
|
|
475
475
|
image: "image";
|
|
@@ -520,8 +520,8 @@ declare const googleDriveRouterContract: {
|
|
|
520
520
|
name: z.ZodString;
|
|
521
521
|
namespace: z.ZodString;
|
|
522
522
|
type: z.ZodEnum<{
|
|
523
|
-
file: "file";
|
|
524
523
|
folder: "folder";
|
|
524
|
+
file: "file";
|
|
525
525
|
}>;
|
|
526
526
|
subtype: z.ZodEnum<{
|
|
527
527
|
image: "image";
|
|
@@ -5,7 +5,7 @@ import * as nuqs_server0 from "nuqs/server";
|
|
|
5
5
|
* Filters
|
|
6
6
|
*/
|
|
7
7
|
declare const googleDriveTreeFilterSearchParams: {
|
|
8
|
-
readonly types: nuqs_server0.SingleParserBuilder<("
|
|
8
|
+
readonly types: nuqs_server0.SingleParserBuilder<("folder" | "file")[] | null>;
|
|
9
9
|
readonly contentTypes: nuqs_server0.SingleParserBuilder<string[] | null>;
|
|
10
10
|
readonly nodeIds: nuqs_server0.SingleParserBuilder<string[] | null>;
|
|
11
11
|
readonly isArchived: nuqs_server0.SingleParserBuilder<boolean | null>;
|
|
@@ -13,8 +13,8 @@ declare const googleDriveNodeSchema: z$1.ZodObject<{
|
|
|
13
13
|
name: z$1.ZodString;
|
|
14
14
|
namespace: z$1.ZodString;
|
|
15
15
|
type: z$1.ZodEnum<{
|
|
16
|
-
file: "file";
|
|
17
16
|
folder: "folder";
|
|
17
|
+
file: "file";
|
|
18
18
|
}>;
|
|
19
19
|
subtype: z$1.ZodEnum<{
|
|
20
20
|
image: "image";
|
|
@@ -79,8 +79,8 @@ declare const googleDriveTreeResponseSchema: z$1.ZodObject<{
|
|
|
79
79
|
name: z$1.ZodString;
|
|
80
80
|
namespace: z$1.ZodString;
|
|
81
81
|
type: z$1.ZodEnum<{
|
|
82
|
-
file: "file";
|
|
83
82
|
folder: "folder";
|
|
83
|
+
file: "file";
|
|
84
84
|
}>;
|
|
85
85
|
subtype: z$1.ZodEnum<{
|
|
86
86
|
image: "image";
|
|
@@ -141,8 +141,8 @@ declare const googleDriveNodeWithChildrenSchema: z$1.ZodObject<{
|
|
|
141
141
|
name: z$1.ZodString;
|
|
142
142
|
namespace: z$1.ZodString;
|
|
143
143
|
type: z$1.ZodEnum<{
|
|
144
|
-
file: "file";
|
|
145
144
|
folder: "folder";
|
|
145
|
+
file: "file";
|
|
146
146
|
}>;
|
|
147
147
|
subtype: z$1.ZodEnum<{
|
|
148
148
|
image: "image";
|
|
@@ -187,8 +187,8 @@ declare const googleDriveNodeWithChildrenSchema: z$1.ZodObject<{
|
|
|
187
187
|
name: z$1.ZodString;
|
|
188
188
|
namespace: z$1.ZodString;
|
|
189
189
|
type: z$1.ZodEnum<{
|
|
190
|
-
file: "file";
|
|
191
190
|
folder: "folder";
|
|
191
|
+
file: "file";
|
|
192
192
|
}>;
|
|
193
193
|
subtype: z$1.ZodEnum<{
|
|
194
194
|
image: "image";
|
|
@@ -268,8 +268,8 @@ type UploadGoogleDriveFileSchema = z$1.infer<typeof uploadGoogleDriveFileInputSc
|
|
|
268
268
|
*/
|
|
269
269
|
declare const googleDriveTableFiltersSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
270
270
|
types: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodEnum<{
|
|
271
|
-
file: "file";
|
|
272
271
|
folder: "folder";
|
|
272
|
+
file: "file";
|
|
273
273
|
}>>>>;
|
|
274
274
|
contentTypes: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
275
275
|
nodeIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
@@ -280,13 +280,13 @@ declare const googleDriveTableFiltersSchema: z$1.ZodPipe<z$1.ZodObject<{
|
|
|
280
280
|
isArchived: boolean;
|
|
281
281
|
namespace: string;
|
|
282
282
|
parentId: string | null;
|
|
283
|
-
types?: ("
|
|
283
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
284
284
|
contentTypes?: string[] | null | undefined;
|
|
285
285
|
nodeIds?: string[] | null | undefined;
|
|
286
286
|
}, {
|
|
287
287
|
namespace: string;
|
|
288
288
|
parentId: string | null;
|
|
289
|
-
types?: ("
|
|
289
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
290
290
|
contentTypes?: string[] | null | undefined;
|
|
291
291
|
nodeIds?: string[] | null | undefined;
|
|
292
292
|
isArchived?: boolean | null | undefined;
|
|
@@ -308,8 +308,8 @@ declare const listGoogleDriveTreeInputSchema: z$1.ZodObject<{
|
|
|
308
308
|
search: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
309
309
|
filters: z$1.ZodPipe<z$1.ZodObject<{
|
|
310
310
|
types: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodEnum<{
|
|
311
|
-
file: "file";
|
|
312
311
|
folder: "folder";
|
|
312
|
+
file: "file";
|
|
313
313
|
}>>>>;
|
|
314
314
|
contentTypes: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
315
315
|
nodeIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
@@ -320,13 +320,13 @@ declare const listGoogleDriveTreeInputSchema: z$1.ZodObject<{
|
|
|
320
320
|
isArchived: boolean;
|
|
321
321
|
namespace: string;
|
|
322
322
|
parentId: string | null;
|
|
323
|
-
types?: ("
|
|
323
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
324
324
|
contentTypes?: string[] | null | undefined;
|
|
325
325
|
nodeIds?: string[] | null | undefined;
|
|
326
326
|
}, {
|
|
327
327
|
namespace: string;
|
|
328
328
|
parentId: string | null;
|
|
329
|
-
types?: ("
|
|
329
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
330
330
|
contentTypes?: string[] | null | undefined;
|
|
331
331
|
nodeIds?: string[] | null | undefined;
|
|
332
332
|
isArchived?: boolean | null | undefined;
|
|
@@ -347,8 +347,8 @@ declare const getGoogleDriveNodesByParentIdInputSchema: z$1.ZodObject<{
|
|
|
347
347
|
}>>>;
|
|
348
348
|
filters: z$1.ZodPipe<z$1.ZodObject<{
|
|
349
349
|
types: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodEnum<{
|
|
350
|
-
file: "file";
|
|
351
350
|
folder: "folder";
|
|
351
|
+
file: "file";
|
|
352
352
|
}>>>>;
|
|
353
353
|
contentTypes: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
354
354
|
nodeIds: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
@@ -359,13 +359,13 @@ declare const getGoogleDriveNodesByParentIdInputSchema: z$1.ZodObject<{
|
|
|
359
359
|
isArchived: boolean;
|
|
360
360
|
namespace: string;
|
|
361
361
|
parentId: string | null;
|
|
362
|
-
types?: ("
|
|
362
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
363
363
|
contentTypes?: string[] | null | undefined;
|
|
364
364
|
nodeIds?: string[] | null | undefined;
|
|
365
365
|
}, {
|
|
366
366
|
namespace: string;
|
|
367
367
|
parentId: string | null;
|
|
368
|
-
types?: ("
|
|
368
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
369
369
|
contentTypes?: string[] | null | undefined;
|
|
370
370
|
nodeIds?: string[] | null | undefined;
|
|
371
371
|
isArchived?: boolean | null | undefined;
|
|
@@ -14,8 +14,8 @@ declare const localDriveFilters: {
|
|
|
14
14
|
}>>>;
|
|
15
15
|
hidden: _tulip_systems_core_data_tables0.ParseFilter<z$1.ZodBoolean>;
|
|
16
16
|
types: _tulip_systems_core_data_tables0.ParseFilter<z$1.ZodArray<z$1.ZodEnum<{
|
|
17
|
-
file: "file";
|
|
18
17
|
folder: "folder";
|
|
18
|
+
file: "file";
|
|
19
19
|
}>>>;
|
|
20
20
|
contentTypes: _tulip_systems_core_data_tables0.ParseFilter<z$1.ZodArray<z$1.ZodString>>;
|
|
21
21
|
nodeIds: _tulip_systems_core_data_tables0.ParseFilter<z$1.ZodArray<z$1.ZodString>>;
|
|
@@ -22,8 +22,8 @@ declare const localDriveRouterContract: {
|
|
|
22
22
|
name: z.ZodString;
|
|
23
23
|
namespace: z.ZodString;
|
|
24
24
|
type: z.ZodEnum<{
|
|
25
|
-
file: "file";
|
|
26
25
|
folder: "folder";
|
|
26
|
+
file: "file";
|
|
27
27
|
}>;
|
|
28
28
|
subtype: z.ZodEnum<{
|
|
29
29
|
image: "image";
|
|
@@ -60,8 +60,8 @@ declare const localDriveRouterContract: {
|
|
|
60
60
|
name: z.ZodString;
|
|
61
61
|
namespace: z.ZodString;
|
|
62
62
|
type: z.ZodEnum<{
|
|
63
|
-
file: "file";
|
|
64
63
|
folder: "folder";
|
|
64
|
+
file: "file";
|
|
65
65
|
}>;
|
|
66
66
|
subtype: z.ZodEnum<{
|
|
67
67
|
image: "image";
|
|
@@ -115,8 +115,8 @@ declare const localDriveRouterContract: {
|
|
|
115
115
|
}>>>>;
|
|
116
116
|
hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
117
117
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
118
|
-
file: "file";
|
|
119
118
|
folder: "folder";
|
|
119
|
+
file: "file";
|
|
120
120
|
}>>>>;
|
|
121
121
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
122
122
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -129,7 +129,7 @@ declare const localDriveRouterContract: {
|
|
|
129
129
|
namespace: string;
|
|
130
130
|
parentId: string | null;
|
|
131
131
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
132
|
-
types?: ("
|
|
132
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
133
133
|
contentTypes?: string[] | null | undefined;
|
|
134
134
|
nodeIds?: string[] | null | undefined;
|
|
135
135
|
}, {
|
|
@@ -137,7 +137,7 @@ declare const localDriveRouterContract: {
|
|
|
137
137
|
parentId: string | null;
|
|
138
138
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
139
139
|
hidden?: boolean | null | undefined;
|
|
140
|
-
types?: ("
|
|
140
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
141
141
|
contentTypes?: string[] | null | undefined;
|
|
142
142
|
nodeIds?: string[] | null | undefined;
|
|
143
143
|
isArchived?: boolean | null | undefined;
|
|
@@ -149,8 +149,8 @@ declare const localDriveRouterContract: {
|
|
|
149
149
|
name: z.ZodString;
|
|
150
150
|
namespace: z.ZodString;
|
|
151
151
|
type: z.ZodEnum<{
|
|
152
|
-
file: "file";
|
|
153
152
|
folder: "folder";
|
|
153
|
+
file: "file";
|
|
154
154
|
}>;
|
|
155
155
|
subtype: z.ZodEnum<{
|
|
156
156
|
image: "image";
|
|
@@ -205,8 +205,8 @@ declare const localDriveRouterContract: {
|
|
|
205
205
|
}>>>>;
|
|
206
206
|
hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
207
207
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
208
|
-
file: "file";
|
|
209
208
|
folder: "folder";
|
|
209
|
+
file: "file";
|
|
210
210
|
}>>>>;
|
|
211
211
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
212
212
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -219,7 +219,7 @@ declare const localDriveRouterContract: {
|
|
|
219
219
|
namespace: string;
|
|
220
220
|
parentId: string | null;
|
|
221
221
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
222
|
-
types?: ("
|
|
222
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
223
223
|
contentTypes?: string[] | null | undefined;
|
|
224
224
|
nodeIds?: string[] | null | undefined;
|
|
225
225
|
}, {
|
|
@@ -227,7 +227,7 @@ declare const localDriveRouterContract: {
|
|
|
227
227
|
parentId: string | null;
|
|
228
228
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
229
229
|
hidden?: boolean | null | undefined;
|
|
230
|
-
types?: ("
|
|
230
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
231
231
|
contentTypes?: string[] | null | undefined;
|
|
232
232
|
nodeIds?: string[] | null | undefined;
|
|
233
233
|
isArchived?: boolean | null | undefined;
|
|
@@ -240,8 +240,8 @@ declare const localDriveRouterContract: {
|
|
|
240
240
|
name: z.ZodString;
|
|
241
241
|
namespace: z.ZodString;
|
|
242
242
|
type: z.ZodEnum<{
|
|
243
|
-
file: "file";
|
|
244
243
|
folder: "folder";
|
|
244
|
+
file: "file";
|
|
245
245
|
}>;
|
|
246
246
|
subtype: z.ZodEnum<{
|
|
247
247
|
image: "image";
|
|
@@ -583,8 +583,8 @@ declare const localDriveRouterContract: {
|
|
|
583
583
|
}>>>>;
|
|
584
584
|
hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
585
585
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
586
|
-
file: "file";
|
|
587
586
|
folder: "folder";
|
|
587
|
+
file: "file";
|
|
588
588
|
}>>>>;
|
|
589
589
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
590
590
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -594,14 +594,14 @@ declare const localDriveRouterContract: {
|
|
|
594
594
|
hidden: boolean;
|
|
595
595
|
isArchived: boolean;
|
|
596
596
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
597
|
-
types?: ("
|
|
597
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
598
598
|
contentTypes?: string[] | null | undefined;
|
|
599
599
|
nodeIds?: string[] | null | undefined;
|
|
600
600
|
namespace?: string | undefined;
|
|
601
601
|
}, {
|
|
602
602
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
603
603
|
hidden?: boolean | null | undefined;
|
|
604
|
-
types?: ("
|
|
604
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
605
605
|
contentTypes?: string[] | null | undefined;
|
|
606
606
|
nodeIds?: string[] | null | undefined;
|
|
607
607
|
isArchived?: boolean | null | undefined;
|
|
@@ -615,8 +615,8 @@ declare const localDriveRouterContract: {
|
|
|
615
615
|
name: z.ZodString;
|
|
616
616
|
namespace: z.ZodString;
|
|
617
617
|
type: z.ZodEnum<{
|
|
618
|
-
file: "file";
|
|
619
618
|
folder: "folder";
|
|
619
|
+
file: "file";
|
|
620
620
|
}>;
|
|
621
621
|
subtype: z.ZodEnum<{
|
|
622
622
|
image: "image";
|
|
@@ -1349,8 +1349,8 @@ declare const localDriveRouterContract: {
|
|
|
1349
1349
|
name: z.ZodString;
|
|
1350
1350
|
namespace: z.ZodString;
|
|
1351
1351
|
type: z.ZodEnum<{
|
|
1352
|
-
file: "file";
|
|
1353
1352
|
folder: "folder";
|
|
1353
|
+
file: "file";
|
|
1354
1354
|
}>;
|
|
1355
1355
|
subtype: z.ZodEnum<{
|
|
1356
1356
|
image: "image";
|
|
@@ -1400,8 +1400,8 @@ declare const localDriveRouterContract: {
|
|
|
1400
1400
|
name: z.ZodString;
|
|
1401
1401
|
namespace: z.ZodString;
|
|
1402
1402
|
type: z.ZodEnum<{
|
|
1403
|
-
file: "file";
|
|
1404
1403
|
folder: "folder";
|
|
1404
|
+
file: "file";
|
|
1405
1405
|
}>;
|
|
1406
1406
|
subtype: z.ZodEnum<{
|
|
1407
1407
|
image: "image";
|
|
@@ -1445,8 +1445,8 @@ declare const localDriveRouterContract: {
|
|
|
1445
1445
|
name: z.ZodString;
|
|
1446
1446
|
namespace: z.ZodString;
|
|
1447
1447
|
type: z.ZodEnum<{
|
|
1448
|
-
file: "file";
|
|
1449
1448
|
folder: "folder";
|
|
1449
|
+
file: "file";
|
|
1450
1450
|
}>;
|
|
1451
1451
|
subtype: z.ZodEnum<{
|
|
1452
1452
|
image: "image";
|
|
@@ -1490,8 +1490,8 @@ declare const localDriveRouterContract: {
|
|
|
1490
1490
|
name: z.ZodString;
|
|
1491
1491
|
namespace: z.ZodString;
|
|
1492
1492
|
type: z.ZodEnum<{
|
|
1493
|
-
file: "file";
|
|
1494
1493
|
folder: "folder";
|
|
1494
|
+
file: "file";
|
|
1495
1495
|
}>;
|
|
1496
1496
|
subtype: z.ZodEnum<{
|
|
1497
1497
|
image: "image";
|
|
@@ -1534,8 +1534,8 @@ declare const localDriveRouterContract: {
|
|
|
1534
1534
|
name: z.ZodString;
|
|
1535
1535
|
namespace: z.ZodString;
|
|
1536
1536
|
type: z.ZodEnum<{
|
|
1537
|
-
file: "file";
|
|
1538
1537
|
folder: "folder";
|
|
1538
|
+
file: "file";
|
|
1539
1539
|
}>;
|
|
1540
1540
|
subtype: z.ZodEnum<{
|
|
1541
1541
|
image: "image";
|
|
@@ -1578,8 +1578,8 @@ declare const localDriveRouterContract: {
|
|
|
1578
1578
|
name: z.ZodString;
|
|
1579
1579
|
namespace: z.ZodString;
|
|
1580
1580
|
type: z.ZodEnum<{
|
|
1581
|
-
file: "file";
|
|
1582
1581
|
folder: "folder";
|
|
1582
|
+
file: "file";
|
|
1583
1583
|
}>;
|
|
1584
1584
|
subtype: z.ZodEnum<{
|
|
1585
1585
|
image: "image";
|
|
@@ -49,7 +49,7 @@ declare const nodes: drizzle_orm_pg_core0.PgTableWithColumns<{
|
|
|
49
49
|
tableName: "nodes";
|
|
50
50
|
dataType: "string";
|
|
51
51
|
columnType: "PgEnumColumn";
|
|
52
|
-
data: "
|
|
52
|
+
data: "folder" | "file";
|
|
53
53
|
driverParam: string;
|
|
54
54
|
notNull: false;
|
|
55
55
|
hasDefault: false;
|
|
@@ -604,7 +604,7 @@ declare const driveSchema: {
|
|
|
604
604
|
tableName: "nodes";
|
|
605
605
|
dataType: "string";
|
|
606
606
|
columnType: "PgEnumColumn";
|
|
607
|
-
data: "
|
|
607
|
+
data: "folder" | "file";
|
|
608
608
|
driverParam: string;
|
|
609
609
|
notNull: false;
|
|
610
610
|
hasDefault: false;
|
|
@@ -4,7 +4,7 @@ import * as nuqs_server0 from "nuqs/server";
|
|
|
4
4
|
declare const localDriveTreeFilterSearchParams: {
|
|
5
5
|
readonly subtypes: nuqs_server0.SingleParserBuilder<("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null>;
|
|
6
6
|
readonly hidden: nuqs_server0.SingleParserBuilder<boolean | null>;
|
|
7
|
-
readonly types: nuqs_server0.SingleParserBuilder<("
|
|
7
|
+
readonly types: nuqs_server0.SingleParserBuilder<("folder" | "file")[] | null>;
|
|
8
8
|
readonly contentTypes: nuqs_server0.SingleParserBuilder<string[] | null>;
|
|
9
9
|
readonly nodeIds: nuqs_server0.SingleParserBuilder<string[] | null>;
|
|
10
10
|
readonly isArchived: nuqs_server0.SingleParserBuilder<boolean | null>;
|
|
@@ -109,7 +109,7 @@ declare class LocalDrive<TSchema extends TDatabaseSchema> implements DriveReader
|
|
|
109
109
|
parentId: string | null;
|
|
110
110
|
contentType: string | null;
|
|
111
111
|
size: number | null;
|
|
112
|
-
type: "
|
|
112
|
+
type: "folder" | "file" | null;
|
|
113
113
|
readonly: boolean | null;
|
|
114
114
|
id: string;
|
|
115
115
|
subtype: "image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other";
|
|
@@ -172,7 +172,7 @@ declare class LocalDrive<TSchema extends TDatabaseSchema> implements DriveReader
|
|
|
172
172
|
updatedAt: Date;
|
|
173
173
|
name: string;
|
|
174
174
|
namespace: string;
|
|
175
|
-
type: "
|
|
175
|
+
type: "folder" | "file";
|
|
176
176
|
subtype: "image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other";
|
|
177
177
|
size: number | null;
|
|
178
178
|
contentType: string | null;
|
|
@@ -211,7 +211,7 @@ declare class LocalDrive<TSchema extends TDatabaseSchema> implements DriveReader
|
|
|
211
211
|
updatedAt: Date;
|
|
212
212
|
name: string;
|
|
213
213
|
namespace: string;
|
|
214
|
-
type: "
|
|
214
|
+
type: "folder" | "file";
|
|
215
215
|
subtype: "image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other";
|
|
216
216
|
size: number | null;
|
|
217
217
|
contentType: string | null;
|
|
@@ -247,22 +247,22 @@ declare class LocalDrive<TSchema extends TDatabaseSchema> implements DriveReader
|
|
|
247
247
|
presignedUrl: string;
|
|
248
248
|
node: LocalDriveFileNode;
|
|
249
249
|
asset: {
|
|
250
|
-
key: string;
|
|
251
|
-
id: string;
|
|
252
250
|
metadata: unknown;
|
|
251
|
+
uploadId: string;
|
|
253
252
|
name: string | null;
|
|
254
|
-
|
|
255
|
-
contentType: string | null;
|
|
253
|
+
visibility: "private" | "public";
|
|
256
254
|
size: number | null;
|
|
257
|
-
|
|
258
|
-
updatedAt: Date;
|
|
255
|
+
contentType: string | null;
|
|
259
256
|
provider: "s3";
|
|
260
|
-
uploadId: string;
|
|
261
|
-
visibility: "private" | "public";
|
|
262
257
|
bucket: string;
|
|
258
|
+
key: string;
|
|
259
|
+
status: "error" | "pending" | "ready";
|
|
263
260
|
etag: string | null;
|
|
264
261
|
uploadedAt: Date;
|
|
265
262
|
deletedAt: Date | null;
|
|
263
|
+
id: string;
|
|
264
|
+
createdAt: Date;
|
|
265
|
+
updatedAt: Date;
|
|
266
266
|
};
|
|
267
267
|
}>;
|
|
268
268
|
/**
|
|
@@ -332,7 +332,7 @@ declare class LocalDrive<TSchema extends TDatabaseSchema> implements DriveReader
|
|
|
332
332
|
updatedAt: Date;
|
|
333
333
|
name: string;
|
|
334
334
|
namespace: string;
|
|
335
|
-
type: "
|
|
335
|
+
type: "folder" | "file";
|
|
336
336
|
subtype: "image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other";
|
|
337
337
|
size: number | null;
|
|
338
338
|
contentType: string | null;
|
|
@@ -367,7 +367,7 @@ declare class LocalDrive<TSchema extends TDatabaseSchema> implements DriveReader
|
|
|
367
367
|
updatedAt: Date;
|
|
368
368
|
name: string;
|
|
369
369
|
namespace: string;
|
|
370
|
-
type: "
|
|
370
|
+
type: "folder" | "file";
|
|
371
371
|
subtype: "image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other";
|
|
372
372
|
size: number | null;
|
|
373
373
|
contentType: string | null;
|
|
@@ -401,7 +401,7 @@ declare class LocalDrive<TSchema extends TDatabaseSchema> implements DriveReader
|
|
|
401
401
|
updatedAt: Date;
|
|
402
402
|
name: string;
|
|
403
403
|
namespace: string;
|
|
404
|
-
type: "
|
|
404
|
+
type: "folder" | "file";
|
|
405
405
|
subtype: "image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other";
|
|
406
406
|
size: number | null;
|
|
407
407
|
contentType: string | null;
|
|
@@ -435,7 +435,7 @@ declare class LocalDrive<TSchema extends TDatabaseSchema> implements DriveReader
|
|
|
435
435
|
updatedAt: Date;
|
|
436
436
|
name: string;
|
|
437
437
|
namespace: string;
|
|
438
|
-
type: "
|
|
438
|
+
type: "folder" | "file";
|
|
439
439
|
subtype: "image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other";
|
|
440
440
|
size: number | null;
|
|
441
441
|
contentType: string | null;
|
|
@@ -466,7 +466,7 @@ declare class LocalDrive<TSchema extends TDatabaseSchema> implements DriveReader
|
|
|
466
466
|
updatedAt: Date;
|
|
467
467
|
name: string;
|
|
468
468
|
namespace: string;
|
|
469
|
-
type: "
|
|
469
|
+
type: "folder" | "file";
|
|
470
470
|
subtype: "image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other";
|
|
471
471
|
size: number | null;
|
|
472
472
|
contentType: string | null;
|
|
@@ -17,8 +17,8 @@ declare const localDriveNodeSchema: z.ZodObject<{
|
|
|
17
17
|
name: z.ZodString;
|
|
18
18
|
namespace: z.ZodString;
|
|
19
19
|
type: z.ZodEnum<{
|
|
20
|
-
file: "file";
|
|
21
20
|
folder: "folder";
|
|
21
|
+
file: "file";
|
|
22
22
|
}>;
|
|
23
23
|
subtype: z.ZodEnum<{
|
|
24
24
|
image: "image";
|
|
@@ -141,8 +141,8 @@ declare const localDriveNodeWithAssetSchema: z.ZodObject<{
|
|
|
141
141
|
name: z.ZodString;
|
|
142
142
|
namespace: z.ZodString;
|
|
143
143
|
type: z.ZodEnum<{
|
|
144
|
-
file: "file";
|
|
145
144
|
folder: "folder";
|
|
145
|
+
file: "file";
|
|
146
146
|
}>;
|
|
147
147
|
subtype: z.ZodEnum<{
|
|
148
148
|
image: "image";
|
|
@@ -788,8 +788,8 @@ declare const localDriveTreeResponseSchema: z.ZodObject<{
|
|
|
788
788
|
name: z.ZodString;
|
|
789
789
|
namespace: z.ZodString;
|
|
790
790
|
type: z.ZodEnum<{
|
|
791
|
-
file: "file";
|
|
792
791
|
folder: "folder";
|
|
792
|
+
file: "file";
|
|
793
793
|
}>;
|
|
794
794
|
subtype: z.ZodEnum<{
|
|
795
795
|
image: "image";
|
|
@@ -1115,8 +1115,8 @@ declare const localDriveFlatResponseSchema: z.ZodObject<{
|
|
|
1115
1115
|
name: z.ZodString;
|
|
1116
1116
|
namespace: z.ZodString;
|
|
1117
1117
|
type: z.ZodEnum<{
|
|
1118
|
-
file: "file";
|
|
1119
1118
|
folder: "folder";
|
|
1119
|
+
file: "file";
|
|
1120
1120
|
}>;
|
|
1121
1121
|
subtype: z.ZodEnum<{
|
|
1122
1122
|
image: "image";
|
|
@@ -1444,8 +1444,8 @@ declare const localDriveNodeWithChildrenSchema: z.ZodObject<{
|
|
|
1444
1444
|
name: z.ZodString;
|
|
1445
1445
|
namespace: z.ZodString;
|
|
1446
1446
|
type: z.ZodEnum<{
|
|
1447
|
-
file: "file";
|
|
1448
1447
|
folder: "folder";
|
|
1448
|
+
file: "file";
|
|
1449
1449
|
}>;
|
|
1450
1450
|
subtype: z.ZodEnum<{
|
|
1451
1451
|
image: "image";
|
|
@@ -1482,8 +1482,8 @@ declare const localDriveNodeWithChildrenSchema: z.ZodObject<{
|
|
|
1482
1482
|
name: z.ZodString;
|
|
1483
1483
|
namespace: z.ZodString;
|
|
1484
1484
|
type: z.ZodEnum<{
|
|
1485
|
-
file: "file";
|
|
1486
1485
|
folder: "folder";
|
|
1486
|
+
file: "file";
|
|
1487
1487
|
}>;
|
|
1488
1488
|
subtype: z.ZodEnum<{
|
|
1489
1489
|
image: "image";
|
|
@@ -1603,8 +1603,8 @@ declare const localDriveTreeFiltersSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1603
1603
|
}>>>>;
|
|
1604
1604
|
hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1605
1605
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1606
|
-
file: "file";
|
|
1607
1606
|
folder: "folder";
|
|
1607
|
+
file: "file";
|
|
1608
1608
|
}>>>>;
|
|
1609
1609
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1610
1610
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -1617,7 +1617,7 @@ declare const localDriveTreeFiltersSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1617
1617
|
namespace: string;
|
|
1618
1618
|
parentId: string | null;
|
|
1619
1619
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
1620
|
-
types?: ("
|
|
1620
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
1621
1621
|
contentTypes?: string[] | null | undefined;
|
|
1622
1622
|
nodeIds?: string[] | null | undefined;
|
|
1623
1623
|
}, {
|
|
@@ -1625,7 +1625,7 @@ declare const localDriveTreeFiltersSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1625
1625
|
parentId: string | null;
|
|
1626
1626
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
1627
1627
|
hidden?: boolean | null | undefined;
|
|
1628
|
-
types?: ("
|
|
1628
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
1629
1629
|
contentTypes?: string[] | null | undefined;
|
|
1630
1630
|
nodeIds?: string[] | null | undefined;
|
|
1631
1631
|
isArchived?: boolean | null | undefined;
|
|
@@ -1646,8 +1646,8 @@ declare const localDriveFlatFiltersSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1646
1646
|
}>>>>;
|
|
1647
1647
|
hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1648
1648
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1649
|
-
file: "file";
|
|
1650
1649
|
folder: "folder";
|
|
1650
|
+
file: "file";
|
|
1651
1651
|
}>>>>;
|
|
1652
1652
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1653
1653
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -1657,14 +1657,14 @@ declare const localDriveFlatFiltersSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1657
1657
|
hidden: boolean;
|
|
1658
1658
|
isArchived: boolean;
|
|
1659
1659
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
1660
|
-
types?: ("
|
|
1660
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
1661
1661
|
contentTypes?: string[] | null | undefined;
|
|
1662
1662
|
nodeIds?: string[] | null | undefined;
|
|
1663
1663
|
namespace?: string | undefined;
|
|
1664
1664
|
}, {
|
|
1665
1665
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
1666
1666
|
hidden?: boolean | null | undefined;
|
|
1667
|
-
types?: ("
|
|
1667
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
1668
1668
|
contentTypes?: string[] | null | undefined;
|
|
1669
1669
|
nodeIds?: string[] | null | undefined;
|
|
1670
1670
|
isArchived?: boolean | null | undefined;
|
|
@@ -1694,8 +1694,8 @@ declare const listLocalDriveTreeInputSchema: z.ZodObject<{
|
|
|
1694
1694
|
}>>>>;
|
|
1695
1695
|
hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1696
1696
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1697
|
-
file: "file";
|
|
1698
1697
|
folder: "folder";
|
|
1698
|
+
file: "file";
|
|
1699
1699
|
}>>>>;
|
|
1700
1700
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1701
1701
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -1708,7 +1708,7 @@ declare const listLocalDriveTreeInputSchema: z.ZodObject<{
|
|
|
1708
1708
|
namespace: string;
|
|
1709
1709
|
parentId: string | null;
|
|
1710
1710
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
1711
|
-
types?: ("
|
|
1711
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
1712
1712
|
contentTypes?: string[] | null | undefined;
|
|
1713
1713
|
nodeIds?: string[] | null | undefined;
|
|
1714
1714
|
}, {
|
|
@@ -1716,7 +1716,7 @@ declare const listLocalDriveTreeInputSchema: z.ZodObject<{
|
|
|
1716
1716
|
parentId: string | null;
|
|
1717
1717
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
1718
1718
|
hidden?: boolean | null | undefined;
|
|
1719
|
-
types?: ("
|
|
1719
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
1720
1720
|
contentTypes?: string[] | null | undefined;
|
|
1721
1721
|
nodeIds?: string[] | null | undefined;
|
|
1722
1722
|
isArchived?: boolean | null | undefined;
|
|
@@ -1748,8 +1748,8 @@ declare const listLocalDriveFlatInputSchema: z.ZodObject<{
|
|
|
1748
1748
|
}>>>>;
|
|
1749
1749
|
hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1750
1750
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1751
|
-
file: "file";
|
|
1752
1751
|
folder: "folder";
|
|
1752
|
+
file: "file";
|
|
1753
1753
|
}>>>>;
|
|
1754
1754
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1755
1755
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -1759,14 +1759,14 @@ declare const listLocalDriveFlatInputSchema: z.ZodObject<{
|
|
|
1759
1759
|
hidden: boolean;
|
|
1760
1760
|
isArchived: boolean;
|
|
1761
1761
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
1762
|
-
types?: ("
|
|
1762
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
1763
1763
|
contentTypes?: string[] | null | undefined;
|
|
1764
1764
|
nodeIds?: string[] | null | undefined;
|
|
1765
1765
|
namespace?: string | undefined;
|
|
1766
1766
|
}, {
|
|
1767
1767
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
1768
1768
|
hidden?: boolean | null | undefined;
|
|
1769
|
-
types?: ("
|
|
1769
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
1770
1770
|
contentTypes?: string[] | null | undefined;
|
|
1771
1771
|
nodeIds?: string[] | null | undefined;
|
|
1772
1772
|
isArchived?: boolean | null | undefined;
|
|
@@ -1796,8 +1796,8 @@ declare const getLocalDriveNodesByParentIdInputSchema: z.ZodObject<{
|
|
|
1796
1796
|
}>>>>;
|
|
1797
1797
|
hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1798
1798
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1799
|
-
file: "file";
|
|
1800
1799
|
folder: "folder";
|
|
1800
|
+
file: "file";
|
|
1801
1801
|
}>>>>;
|
|
1802
1802
|
contentTypes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1803
1803
|
nodeIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -1810,7 +1810,7 @@ declare const getLocalDriveNodesByParentIdInputSchema: z.ZodObject<{
|
|
|
1810
1810
|
namespace: string;
|
|
1811
1811
|
parentId: string | null;
|
|
1812
1812
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
1813
|
-
types?: ("
|
|
1813
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
1814
1814
|
contentTypes?: string[] | null | undefined;
|
|
1815
1815
|
nodeIds?: string[] | null | undefined;
|
|
1816
1816
|
}, {
|
|
@@ -1818,7 +1818,7 @@ declare const getLocalDriveNodesByParentIdInputSchema: z.ZodObject<{
|
|
|
1818
1818
|
parentId: string | null;
|
|
1819
1819
|
subtypes?: ("image" | "document" | "spreadsheet" | "video" | "audio" | "archive" | "other")[] | null | undefined;
|
|
1820
1820
|
hidden?: boolean | null | undefined;
|
|
1821
|
-
types?: ("
|
|
1821
|
+
types?: ("folder" | "file")[] | null | undefined;
|
|
1822
1822
|
contentTypes?: string[] | null | undefined;
|
|
1823
1823
|
nodeIds?: string[] | null | undefined;
|
|
1824
1824
|
isArchived?: boolean | null | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tulip-systems/drive",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"uuid": "^14.0.0",
|
|
66
66
|
"vaul": "^1.1.2",
|
|
67
67
|
"zod": "^4.4.3",
|
|
68
|
-
"@tulip-systems/core": "0.10.
|
|
68
|
+
"@tulip-systems/core": "0.10.3"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"@tailwindcss/typography": "^0.5.19",
|