@plyaz/types 1.38.2 → 1.39.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/api/debugger/types.d.ts +10 -0
- package/dist/api/endpoints/files/schemas.d.ts +4 -0
- package/dist/api/index.cjs +4 -4
- package/dist/api/index.cjs.map +1 -1
- package/dist/api/index.js +4 -4
- package/dist/api/index.js.map +1 -1
- package/dist/core/domain/files/schemas.d.ts +3 -0
- package/dist/core/index.cjs +4 -2
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +4 -2
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -189,6 +189,16 @@ export interface DebugEventsConfig {
|
|
|
189
189
|
autoGenerateDebugInfo?: boolean;
|
|
190
190
|
/** Interval for debug info generation (ms) */
|
|
191
191
|
debugInfoInterval?: number;
|
|
192
|
+
/**
|
|
193
|
+
* Enable comprehensive debug report logging to console
|
|
194
|
+
* Default: false
|
|
195
|
+
*/
|
|
196
|
+
comprehensiveReport?: boolean;
|
|
197
|
+
/**
|
|
198
|
+
* Enable verbose API logging
|
|
199
|
+
* Default: false
|
|
200
|
+
*/
|
|
201
|
+
verbose?: boolean;
|
|
192
202
|
}
|
|
193
203
|
/**
|
|
194
204
|
* Alert types for monitoring
|
|
@@ -374,6 +374,7 @@ export declare const GenerateDocumentResponseSchema: z.ZodObject<{
|
|
|
374
374
|
export type GenerateDocumentResponse = z.infer<typeof GenerateDocumentResponseSchema>;
|
|
375
375
|
/**
|
|
376
376
|
* Get file params schema
|
|
377
|
+
* Note: id can be a UUID or a storage path (e.g., "entity/uuid/category/filename")
|
|
377
378
|
*/
|
|
378
379
|
export declare const GetFileParamsSchema: z.ZodObject<{
|
|
379
380
|
id: z.ZodString;
|
|
@@ -409,6 +410,7 @@ export declare const GetFileResponseSchema: z.ZodObject<{
|
|
|
409
410
|
export type GetFileResponse = z.infer<typeof GetFileResponseSchema>;
|
|
410
411
|
/**
|
|
411
412
|
* Download file params schema
|
|
413
|
+
* Note: id can be a UUID or a storage path (e.g., "entity/uuid/category/filename")
|
|
412
414
|
*/
|
|
413
415
|
export declare const DownloadFileParamsSchema: z.ZodObject<{
|
|
414
416
|
id: z.ZodString;
|
|
@@ -433,6 +435,7 @@ export declare const DownloadFileResponseSchema: z.ZodObject<{
|
|
|
433
435
|
export type DownloadFileResponse = z.infer<typeof DownloadFileResponseSchema>;
|
|
434
436
|
/**
|
|
435
437
|
* Delete file params schema
|
|
438
|
+
* Note: id can be a UUID or a storage path (e.g., "entity/uuid/category/filename")
|
|
436
439
|
*/
|
|
437
440
|
export declare const DeleteFileParamsSchema: z.ZodObject<{
|
|
438
441
|
id: z.ZodString;
|
|
@@ -454,6 +457,7 @@ export declare const DeleteFileResponseSchema: z.ZodObject<{
|
|
|
454
457
|
export type DeleteFileResponse = z.infer<typeof DeleteFileResponseSchema>;
|
|
455
458
|
/**
|
|
456
459
|
* Get signed URL params schema
|
|
460
|
+
* Note: id can be a UUID or a storage path (e.g., "entity/uuid/category/filename")
|
|
457
461
|
*/
|
|
458
462
|
export declare const GetSignedUrlParamsSchema: z.ZodObject<{
|
|
459
463
|
id: z.ZodString;
|
package/dist/api/index.cjs
CHANGED
|
@@ -648,7 +648,7 @@ var GenerateDocumentResponseSchema = zod.z.object({
|
|
|
648
648
|
size: zod.z.number().nonnegative()
|
|
649
649
|
});
|
|
650
650
|
var GetFileParamsSchema = zod.z.object({
|
|
651
|
-
id: zod.z.string().
|
|
651
|
+
id: zod.z.string().min(1)
|
|
652
652
|
});
|
|
653
653
|
var GetFileRequestSchema = GetFileParamsSchema;
|
|
654
654
|
var GetFileResponseSchema = zod.z.object({
|
|
@@ -669,7 +669,7 @@ var GetFileResponseSchema = zod.z.object({
|
|
|
669
669
|
expiresAt: zod.z.string().optional()
|
|
670
670
|
});
|
|
671
671
|
var DownloadFileParamsSchema = zod.z.object({
|
|
672
|
-
id: zod.z.string().
|
|
672
|
+
id: zod.z.string().min(1)
|
|
673
673
|
});
|
|
674
674
|
var DownloadFileRequestSchema = DownloadFileParamsSchema;
|
|
675
675
|
var DownloadFileResponseSchema = zod.z.object({
|
|
@@ -680,14 +680,14 @@ var DownloadFileResponseSchema = zod.z.object({
|
|
|
680
680
|
filename: zod.z.string().optional()
|
|
681
681
|
});
|
|
682
682
|
var DeleteFileParamsSchema = zod.z.object({
|
|
683
|
-
id: zod.z.string().
|
|
683
|
+
id: zod.z.string().min(1)
|
|
684
684
|
});
|
|
685
685
|
var DeleteFileRequestSchema = DeleteFileParamsSchema;
|
|
686
686
|
var DeleteFileResponseSchema = zod.z.object({
|
|
687
687
|
success: zod.z.boolean()
|
|
688
688
|
});
|
|
689
689
|
var GetSignedUrlParamsSchema = zod.z.object({
|
|
690
|
-
id: zod.z.string().
|
|
690
|
+
id: zod.z.string().min(1)
|
|
691
691
|
});
|
|
692
692
|
var GetSignedUrlQuerySchema = zod.z.object({
|
|
693
693
|
expiresIn: zod.z.number().positive().optional()
|