clarion-shared-types 1.0.49 → 1.0.50

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.
@@ -16,4 +16,6 @@ export interface AudioFileUploadOptions {
16
16
  targetQualities?: ('high' | 'medium' | 'low')[];
17
17
  enableStreaming?: boolean;
18
18
  preserveOriginalName?: boolean;
19
+ userId: number;
20
+ organizationId: number;
19
21
  }
@@ -37,6 +37,7 @@ export interface AudioFile {
37
37
  createdAt: Date;
38
38
  updatedAt: Date;
39
39
  deletedAt?: Date;
40
+ organizationId: number;
40
41
  signedUrl?: string;
41
42
  }
42
43
  export interface AudioQualityVariant {
@@ -7,4 +7,6 @@ export interface DocumentFileUploadOptions {
7
7
  description?: string;
8
8
  preserveOriginalName?: boolean;
9
9
  enableVersioning?: boolean;
10
+ userId: number;
11
+ organizationId: number;
10
12
  }
@@ -21,5 +21,6 @@ export interface DocumentFile {
21
21
  createdAt: Date;
22
22
  updatedAt: Date;
23
23
  deletedAt?: Date;
24
+ organizationId: number;
24
25
  signedUrl?: string;
25
26
  }
@@ -8,4 +8,7 @@ export interface ImageFileUploadOptions {
8
8
  tags?: string[];
9
9
  alt?: string;
10
10
  caption?: string;
11
+ description?: string;
12
+ userId: number;
13
+ organizationId: number;
11
14
  }
@@ -14,6 +14,7 @@ export interface ImageFile {
14
14
  status: FileStatus;
15
15
  alt?: string;
16
16
  caption?: string;
17
+ description?: string;
17
18
  tags?: string[];
18
19
  metadata?: Record<string, any>;
19
20
  userId: number;
@@ -25,4 +26,5 @@ export interface ImageFile {
25
26
  updatedAt: Date;
26
27
  deletedAt?: Date;
27
28
  signedUrl?: string;
29
+ organizationId: number;
28
30
  }
@@ -27,8 +27,8 @@ export interface FileUploadItemResult {
27
27
  data?: any;
28
28
  }
29
29
  export interface MultiFileUploadOptions {
30
- userId: string;
31
- organizationId: string;
30
+ userId: number;
31
+ organizationId: number;
32
32
  tags?: string[];
33
33
  description?: string;
34
34
  isPublic?: boolean;
@@ -12,4 +12,6 @@ export interface VideoFileUploadOptions {
12
12
  targetQualities?: ('1080p' | '720p' | '480p' | '360p' | '240p')[];
13
13
  enableStreaming?: boolean;
14
14
  preserveOriginalName?: boolean;
15
+ userId: number;
16
+ organizationId: number;
15
17
  }
@@ -34,6 +34,7 @@ export interface VideoFile {
34
34
  createdAt: Date;
35
35
  updatedAt: Date;
36
36
  deletedAt?: Date;
37
+ organizationId: number;
37
38
  signedUrl?: string;
38
39
  }
39
40
  export interface VideoQualityVariant {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarion-shared-types",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",