@gallop.software/studio 0.1.72 → 0.1.74

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.
@@ -1,79 +0,0 @@
1
- /**
2
- * Image size variants
3
- */
4
- type ImageSize = 'small' | 'medium' | 'large' | 'full';
5
- /**
6
- * Size entry with path and dimensions
7
- */
8
- interface SizeEntry {
9
- path: string;
10
- width: number;
11
- height: number;
12
- }
13
- /**
14
- * CDN sync status
15
- */
16
- interface CdnStatus {
17
- synced: boolean;
18
- baseUrl: string;
19
- syncedAt: string;
20
- }
21
- /**
22
- * Image entry in meta
23
- */
24
- interface ImageEntry {
25
- original: {
26
- path: string;
27
- width: number;
28
- height: number;
29
- fileSize: number;
30
- };
31
- sizes: Record<ImageSize, SizeEntry>;
32
- blurhash: string;
33
- dominantColor: string;
34
- cdn: CdnStatus | null;
35
- }
36
- /**
37
- * Studio meta schema
38
- */
39
- interface StudioMeta {
40
- $schema: string;
41
- version: number;
42
- generatedAt: string;
43
- images: Record<string, ImageEntry>;
44
- }
45
- /**
46
- * File/folder item for browser
47
- */
48
- interface FileItem {
49
- name: string;
50
- path: string;
51
- type: 'file' | 'folder';
52
- size?: number;
53
- dimensions?: {
54
- width: number;
55
- height: number;
56
- };
57
- cdnSynced?: boolean;
58
- fileCount?: number;
59
- totalSize?: number;
60
- thumbnail?: string;
61
- hasThumbnail?: boolean;
62
- }
63
- /**
64
- * Studio configuration
65
- */
66
- interface StudioConfig {
67
- r2AccountId?: string;
68
- r2AccessKeyId?: string;
69
- r2SecretAccessKey?: string;
70
- r2BucketName?: string;
71
- r2PublicUrl?: string;
72
- thumbnailSizes?: {
73
- small: number;
74
- medium: number;
75
- large: number;
76
- };
77
- }
78
-
79
- export type { CdnStatus as C, FileItem as F, ImageSize as I, SizeEntry as S, ImageEntry as a, StudioMeta as b, StudioConfig as c };