alepha 0.11.0 → 0.11.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/api/files.d.ts CHANGED
@@ -2,92 +2,92 @@ import { BucketDescriptor } from "alepha/bucket";
2
2
  import * as _alepha_core1 from "alepha";
3
3
  import { Alepha, FileLike, Static } from "alepha";
4
4
  import "alepha/server/security";
5
- import * as _alepha_postgres65 from "alepha/postgres";
5
+ import * as _alepha_postgres16 from "alepha/postgres";
6
6
  import { Page } from "alepha/postgres";
7
7
  import * as _alepha_server0 from "alepha/server";
8
8
  import { Ok } from "alepha/server";
9
9
  import { DateTime, DateTimeProvider, DurationLike } from "alepha/datetime";
10
10
  import * as _alepha_logger0 from "alepha/logger";
11
11
  import { UserAccountToken } from "alepha/security";
12
- import * as typebox188 from "typebox";
13
- import * as dayjs15 from "dayjs";
12
+ import * as typebox25 from "typebox";
13
+ import * as dayjs2 from "dayjs";
14
14
 
15
15
  //#region src/entities/files.d.ts
16
- declare const files: _alepha_postgres65.EntityDescriptor<typebox188.TObject<{
17
- id: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TString, typeof _alepha_postgres65.PG_PRIMARY_KEY>, typeof _alepha_postgres65.PG_DEFAULT>;
18
- version: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TInteger, typeof _alepha_postgres65.PG_VERSION>, typeof _alepha_postgres65.PG_DEFAULT>;
19
- createdAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_CREATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
20
- updatedAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_UPDATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
21
- blobId: typebox188.TString;
22
- creator: typebox188.TOptional<typebox188.TString>;
23
- creatorRealm: typebox188.TOptional<typebox188.TString>;
24
- creatorName: typebox188.TOptional<typebox188.TString>;
25
- bucket: typebox188.TString;
26
- expirationDate: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
27
- name: typebox188.TString;
28
- size: typebox188.TNumber;
29
- mimeType: typebox188.TString;
30
- tags: typebox188.TOptional<typebox188.TArray<typebox188.TString>>;
31
- checksum: typebox188.TOptional<typebox188.TString>;
16
+ declare const files: _alepha_postgres16.EntityDescriptor<typebox25.TObject<{
17
+ id: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TString, typeof _alepha_postgres16.PG_PRIMARY_KEY>, typeof _alepha_postgres16.PG_DEFAULT>;
18
+ version: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TInteger, typeof _alepha_postgres16.PG_VERSION>, typeof _alepha_postgres16.PG_DEFAULT>;
19
+ createdAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_CREATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
20
+ updatedAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_UPDATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
21
+ blobId: typebox25.TString;
22
+ creator: typebox25.TOptional<typebox25.TString>;
23
+ creatorRealm: typebox25.TOptional<typebox25.TString>;
24
+ creatorName: typebox25.TOptional<typebox25.TString>;
25
+ bucket: typebox25.TString;
26
+ expirationDate: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
27
+ name: typebox25.TString;
28
+ size: typebox25.TNumber;
29
+ mimeType: typebox25.TString;
30
+ tags: typebox25.TOptional<typebox25.TArray<typebox25.TString>>;
31
+ checksum: typebox25.TOptional<typebox25.TString>;
32
32
  }>>;
33
33
  type FileEntity = Static<typeof files.schema>;
34
34
  //#endregion
35
35
  //#region src/schemas/fileQuerySchema.d.ts
36
- declare const fileQuerySchema: typebox188.TObject<{
37
- page: typebox188.TOptional<typebox188.TInteger>;
38
- size: typebox188.TOptional<typebox188.TInteger>;
39
- sort: typebox188.TOptional<typebox188.TString>;
40
- bucket: typebox188.TOptional<typebox188.TString>;
41
- tags: typebox188.TOptional<typebox188.TArray<typebox188.TString>>;
42
- name: typebox188.TOptional<typebox188.TString>;
43
- mimeType: typebox188.TOptional<typebox188.TString>;
44
- creator: typebox188.TOptional<typebox188.TString>;
45
- createdAfter: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
46
- createdBefore: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
36
+ declare const fileQuerySchema: typebox25.TObject<{
37
+ page: typebox25.TOptional<typebox25.TInteger>;
38
+ size: typebox25.TOptional<typebox25.TInteger>;
39
+ sort: typebox25.TOptional<typebox25.TString>;
40
+ bucket: typebox25.TOptional<typebox25.TString>;
41
+ tags: typebox25.TOptional<typebox25.TArray<typebox25.TString>>;
42
+ name: typebox25.TOptional<typebox25.TString>;
43
+ mimeType: typebox25.TOptional<typebox25.TString>;
44
+ creator: typebox25.TOptional<typebox25.TString>;
45
+ createdAfter: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
46
+ createdBefore: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
47
47
  }>;
48
48
  type FileQuery = Static<typeof fileQuerySchema>;
49
49
  //#endregion
50
50
  //#region src/schemas/fileResourceSchema.d.ts
51
- declare const fileResourceSchema: typebox188.TObject<{
52
- id: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TString, typeof _alepha_postgres65.PG_PRIMARY_KEY>, typeof _alepha_postgres65.PG_DEFAULT>;
53
- version: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TInteger, typeof _alepha_postgres65.PG_VERSION>, typeof _alepha_postgres65.PG_DEFAULT>;
54
- createdAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_CREATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
55
- updatedAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_UPDATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
56
- blobId: typebox188.TString;
57
- creator: typebox188.TOptional<typebox188.TString>;
58
- creatorRealm: typebox188.TOptional<typebox188.TString>;
59
- creatorName: typebox188.TOptional<typebox188.TString>;
60
- bucket: typebox188.TString;
61
- expirationDate: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
62
- name: typebox188.TString;
63
- size: typebox188.TNumber;
64
- mimeType: typebox188.TString;
65
- tags: typebox188.TOptional<typebox188.TArray<typebox188.TString>>;
66
- checksum: typebox188.TOptional<typebox188.TString>;
51
+ declare const fileResourceSchema: typebox25.TObject<{
52
+ id: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TString, typeof _alepha_postgres16.PG_PRIMARY_KEY>, typeof _alepha_postgres16.PG_DEFAULT>;
53
+ version: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TInteger, typeof _alepha_postgres16.PG_VERSION>, typeof _alepha_postgres16.PG_DEFAULT>;
54
+ createdAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_CREATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
55
+ updatedAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_UPDATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
56
+ blobId: typebox25.TString;
57
+ creator: typebox25.TOptional<typebox25.TString>;
58
+ creatorRealm: typebox25.TOptional<typebox25.TString>;
59
+ creatorName: typebox25.TOptional<typebox25.TString>;
60
+ bucket: typebox25.TString;
61
+ expirationDate: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
62
+ name: typebox25.TString;
63
+ size: typebox25.TNumber;
64
+ mimeType: typebox25.TString;
65
+ tags: typebox25.TOptional<typebox25.TArray<typebox25.TString>>;
66
+ checksum: typebox25.TOptional<typebox25.TString>;
67
67
  }>;
68
68
  type FileResource = Static<typeof fileResourceSchema>;
69
69
  //#endregion
70
70
  //#region src/schemas/storageStatsSchema.d.ts
71
- declare const bucketStatsSchema: typebox188.TObject<{
72
- bucket: typebox188.TString;
73
- totalSize: typebox188.TNumber;
74
- fileCount: typebox188.TNumber;
71
+ declare const bucketStatsSchema: typebox25.TObject<{
72
+ bucket: typebox25.TString;
73
+ totalSize: typebox25.TNumber;
74
+ fileCount: typebox25.TNumber;
75
75
  }>;
76
- declare const mimeTypeStatsSchema: typebox188.TObject<{
77
- mimeType: typebox188.TString;
78
- fileCount: typebox188.TNumber;
76
+ declare const mimeTypeStatsSchema: typebox25.TObject<{
77
+ mimeType: typebox25.TString;
78
+ fileCount: typebox25.TNumber;
79
79
  }>;
80
- declare const storageStatsSchema: typebox188.TObject<{
81
- totalSize: typebox188.TNumber;
82
- totalFiles: typebox188.TNumber;
83
- byBucket: typebox188.TArray<typebox188.TObject<{
84
- bucket: typebox188.TString;
85
- totalSize: typebox188.TNumber;
86
- fileCount: typebox188.TNumber;
80
+ declare const storageStatsSchema: typebox25.TObject<{
81
+ totalSize: typebox25.TNumber;
82
+ totalFiles: typebox25.TNumber;
83
+ byBucket: typebox25.TArray<typebox25.TObject<{
84
+ bucket: typebox25.TString;
85
+ totalSize: typebox25.TNumber;
86
+ fileCount: typebox25.TNumber;
87
87
  }>>;
88
- byMimeType: typebox188.TArray<typebox188.TObject<{
89
- mimeType: typebox188.TString;
90
- fileCount: typebox188.TNumber;
88
+ byMimeType: typebox25.TArray<typebox25.TObject<{
89
+ mimeType: typebox25.TString;
90
+ fileCount: typebox25.TNumber;
91
91
  }>>;
92
92
  }>;
93
93
  type BucketStats = Static<typeof bucketStatsSchema>;
@@ -98,22 +98,22 @@ type StorageStats = Static<typeof storageStatsSchema>;
98
98
  declare class FileService {
99
99
  protected readonly alepha: Alepha;
100
100
  protected readonly log: _alepha_logger0.Logger;
101
- protected readonly fileRepository: _alepha_postgres65.RepositoryDescriptor<typebox188.TObject<{
102
- id: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TString, typeof _alepha_postgres65.PG_PRIMARY_KEY>, typeof _alepha_postgres65.PG_DEFAULT>;
103
- version: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TInteger, typeof _alepha_postgres65.PG_VERSION>, typeof _alepha_postgres65.PG_DEFAULT>;
104
- createdAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_CREATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
105
- updatedAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_UPDATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
106
- blobId: typebox188.TString;
107
- creator: typebox188.TOptional<typebox188.TString>;
108
- creatorRealm: typebox188.TOptional<typebox188.TString>;
109
- creatorName: typebox188.TOptional<typebox188.TString>;
110
- bucket: typebox188.TString;
111
- expirationDate: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
112
- name: typebox188.TString;
113
- size: typebox188.TNumber;
114
- mimeType: typebox188.TString;
115
- tags: typebox188.TOptional<typebox188.TArray<typebox188.TString>>;
116
- checksum: typebox188.TOptional<typebox188.TString>;
101
+ protected readonly fileRepository: _alepha_postgres16.RepositoryDescriptor<typebox25.TObject<{
102
+ id: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TString, typeof _alepha_postgres16.PG_PRIMARY_KEY>, typeof _alepha_postgres16.PG_DEFAULT>;
103
+ version: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TInteger, typeof _alepha_postgres16.PG_VERSION>, typeof _alepha_postgres16.PG_DEFAULT>;
104
+ createdAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_CREATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
105
+ updatedAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_UPDATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
106
+ blobId: typebox25.TString;
107
+ creator: typebox25.TOptional<typebox25.TString>;
108
+ creatorRealm: typebox25.TOptional<typebox25.TString>;
109
+ creatorName: typebox25.TOptional<typebox25.TString>;
110
+ bucket: typebox25.TString;
111
+ expirationDate: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
112
+ name: typebox25.TString;
113
+ size: typebox25.TNumber;
114
+ mimeType: typebox25.TString;
115
+ tags: typebox25.TOptional<typebox25.TArray<typebox25.TString>>;
116
+ checksum: typebox25.TOptional<typebox25.TString>;
117
117
  }>>;
118
118
  protected readonly dateTimeProvider: DateTimeProvider;
119
119
  protected readonly defaultBucket: BucketDescriptor;
@@ -252,34 +252,34 @@ declare class FileController {
252
252
  * Supports filtering by bucket and tags.
253
253
  */
254
254
  readonly findFiles: _alepha_server0.ActionDescriptorFn<{
255
- query: typebox188.TObject<{
256
- page: typebox188.TOptional<typebox188.TInteger>;
257
- size: typebox188.TOptional<typebox188.TInteger>;
258
- sort: typebox188.TOptional<typebox188.TString>;
259
- bucket: typebox188.TOptional<typebox188.TString>;
260
- tags: typebox188.TOptional<typebox188.TArray<typebox188.TString>>;
261
- name: typebox188.TOptional<typebox188.TString>;
262
- mimeType: typebox188.TOptional<typebox188.TString>;
263
- creator: typebox188.TOptional<typebox188.TString>;
264
- createdAfter: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
265
- createdBefore: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
255
+ query: typebox25.TObject<{
256
+ page: typebox25.TOptional<typebox25.TInteger>;
257
+ size: typebox25.TOptional<typebox25.TInteger>;
258
+ sort: typebox25.TOptional<typebox25.TString>;
259
+ bucket: typebox25.TOptional<typebox25.TString>;
260
+ tags: typebox25.TOptional<typebox25.TArray<typebox25.TString>>;
261
+ name: typebox25.TOptional<typebox25.TString>;
262
+ mimeType: typebox25.TOptional<typebox25.TString>;
263
+ creator: typebox25.TOptional<typebox25.TString>;
264
+ createdAfter: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
265
+ createdBefore: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
266
266
  }>;
267
- response: _alepha_postgres65.TPage<typebox188.TObject<{
268
- id: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TString, typeof _alepha_postgres65.PG_PRIMARY_KEY>, typeof _alepha_postgres65.PG_DEFAULT>;
269
- version: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TInteger, typeof _alepha_postgres65.PG_VERSION>, typeof _alepha_postgres65.PG_DEFAULT>;
270
- createdAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_CREATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
271
- updatedAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_UPDATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
272
- blobId: typebox188.TString;
273
- creator: typebox188.TOptional<typebox188.TString>;
274
- creatorRealm: typebox188.TOptional<typebox188.TString>;
275
- creatorName: typebox188.TOptional<typebox188.TString>;
276
- bucket: typebox188.TString;
277
- expirationDate: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
278
- name: typebox188.TString;
279
- size: typebox188.TNumber;
280
- mimeType: typebox188.TString;
281
- tags: typebox188.TOptional<typebox188.TArray<typebox188.TString>>;
282
- checksum: typebox188.TOptional<typebox188.TString>;
267
+ response: _alepha_postgres16.TPage<typebox25.TObject<{
268
+ id: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TString, typeof _alepha_postgres16.PG_PRIMARY_KEY>, typeof _alepha_postgres16.PG_DEFAULT>;
269
+ version: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TInteger, typeof _alepha_postgres16.PG_VERSION>, typeof _alepha_postgres16.PG_DEFAULT>;
270
+ createdAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_CREATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
271
+ updatedAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_UPDATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
272
+ blobId: typebox25.TString;
273
+ creator: typebox25.TOptional<typebox25.TString>;
274
+ creatorRealm: typebox25.TOptional<typebox25.TString>;
275
+ creatorName: typebox25.TOptional<typebox25.TString>;
276
+ bucket: typebox25.TString;
277
+ expirationDate: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
278
+ name: typebox25.TString;
279
+ size: typebox25.TNumber;
280
+ mimeType: typebox25.TString;
281
+ tags: typebox25.TOptional<typebox25.TArray<typebox25.TString>>;
282
+ checksum: typebox25.TOptional<typebox25.TString>;
283
283
  }>>;
284
284
  }>;
285
285
  /**
@@ -287,13 +287,13 @@ declare class FileController {
287
287
  * Removes the file from the bucket and cleans up the database record.
288
288
  */
289
289
  readonly deleteFile: _alepha_server0.ActionDescriptorFn<{
290
- params: typebox188.TObject<{
291
- id: typebox188.TString;
290
+ params: typebox25.TObject<{
291
+ id: typebox25.TString;
292
292
  }>;
293
- response: typebox188.TObject<{
294
- ok: typebox188.TBoolean;
295
- id: typebox188.TOptional<typebox188.TUnion<[typebox188.TString, typebox188.TInteger]>>;
296
- count: typebox188.TOptional<typebox188.TNumber>;
293
+ response: typebox25.TObject<{
294
+ ok: typebox25.TBoolean;
295
+ id: typebox25.TOptional<typebox25.TUnion<[typebox25.TString, typebox25.TInteger]>>;
296
+ count: typebox25.TOptional<typebox25.TNumber>;
297
297
  }>;
298
298
  }>;
299
299
  /**
@@ -302,29 +302,29 @@ declare class FileController {
302
302
  * Optionally specify bucket and expiration date.
303
303
  */
304
304
  readonly uploadFile: _alepha_server0.ActionDescriptorFn<{
305
- body: typebox188.TObject<{
305
+ body: typebox25.TObject<{
306
306
  file: _alepha_core1.TFile;
307
307
  }>;
308
- query: typebox188.TObject<{
309
- expirationDate: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
310
- bucket: typebox188.TOptional<typebox188.TString>;
308
+ query: typebox25.TObject<{
309
+ expirationDate: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
310
+ bucket: typebox25.TOptional<typebox25.TString>;
311
311
  }>;
312
- response: typebox188.TObject<{
313
- id: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TString, typeof _alepha_postgres65.PG_PRIMARY_KEY>, typeof _alepha_postgres65.PG_DEFAULT>;
314
- version: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TInteger, typeof _alepha_postgres65.PG_VERSION>, typeof _alepha_postgres65.PG_DEFAULT>;
315
- createdAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_CREATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
316
- updatedAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_UPDATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
317
- blobId: typebox188.TString;
318
- creator: typebox188.TOptional<typebox188.TString>;
319
- creatorRealm: typebox188.TOptional<typebox188.TString>;
320
- creatorName: typebox188.TOptional<typebox188.TString>;
321
- bucket: typebox188.TString;
322
- expirationDate: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
323
- name: typebox188.TString;
324
- size: typebox188.TNumber;
325
- mimeType: typebox188.TString;
326
- tags: typebox188.TOptional<typebox188.TArray<typebox188.TString>>;
327
- checksum: typebox188.TOptional<typebox188.TString>;
312
+ response: typebox25.TObject<{
313
+ id: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TString, typeof _alepha_postgres16.PG_PRIMARY_KEY>, typeof _alepha_postgres16.PG_DEFAULT>;
314
+ version: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TInteger, typeof _alepha_postgres16.PG_VERSION>, typeof _alepha_postgres16.PG_DEFAULT>;
315
+ createdAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_CREATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
316
+ updatedAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_UPDATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
317
+ blobId: typebox25.TString;
318
+ creator: typebox25.TOptional<typebox25.TString>;
319
+ creatorRealm: typebox25.TOptional<typebox25.TString>;
320
+ creatorName: typebox25.TOptional<typebox25.TString>;
321
+ bucket: typebox25.TString;
322
+ expirationDate: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
323
+ name: typebox25.TString;
324
+ size: typebox25.TNumber;
325
+ mimeType: typebox25.TString;
326
+ tags: typebox25.TOptional<typebox25.TArray<typebox25.TString>>;
327
+ checksum: typebox25.TOptional<typebox25.TString>;
328
328
  }>;
329
329
  }>;
330
330
  /**
@@ -332,30 +332,30 @@ declare class FileController {
332
332
  * Allows updating name, tags, and expiration date without modifying file content.
333
333
  */
334
334
  readonly updateFile: _alepha_server0.ActionDescriptorFn<{
335
- params: typebox188.TObject<{
336
- id: typebox188.TString;
335
+ params: typebox25.TObject<{
336
+ id: typebox25.TString;
337
337
  }>;
338
- body: typebox188.TObject<{
339
- name: typebox188.TOptional<typebox188.TString>;
340
- tags: typebox188.TOptional<typebox188.TArray<typebox188.TString>>;
341
- expirationDate: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
338
+ body: typebox25.TObject<{
339
+ name: typebox25.TOptional<typebox25.TString>;
340
+ tags: typebox25.TOptional<typebox25.TArray<typebox25.TString>>;
341
+ expirationDate: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
342
342
  }>;
343
- response: typebox188.TObject<{
344
- id: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TString, typeof _alepha_postgres65.PG_PRIMARY_KEY>, typeof _alepha_postgres65.PG_DEFAULT>;
345
- version: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TInteger, typeof _alepha_postgres65.PG_VERSION>, typeof _alepha_postgres65.PG_DEFAULT>;
346
- createdAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_CREATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
347
- updatedAt: _alepha_postgres65.PgAttr<_alepha_postgres65.PgAttr<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>, typeof _alepha_postgres65.PG_UPDATED_AT>, typeof _alepha_postgres65.PG_DEFAULT>;
348
- blobId: typebox188.TString;
349
- creator: typebox188.TOptional<typebox188.TString>;
350
- creatorRealm: typebox188.TOptional<typebox188.TString>;
351
- creatorName: typebox188.TOptional<typebox188.TString>;
352
- bucket: typebox188.TString;
353
- expirationDate: typebox188.TOptional<typebox188.TCodec<typebox188.TString, dayjs15.Dayjs>>;
354
- name: typebox188.TString;
355
- size: typebox188.TNumber;
356
- mimeType: typebox188.TString;
357
- tags: typebox188.TOptional<typebox188.TArray<typebox188.TString>>;
358
- checksum: typebox188.TOptional<typebox188.TString>;
343
+ response: typebox25.TObject<{
344
+ id: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TString, typeof _alepha_postgres16.PG_PRIMARY_KEY>, typeof _alepha_postgres16.PG_DEFAULT>;
345
+ version: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TInteger, typeof _alepha_postgres16.PG_VERSION>, typeof _alepha_postgres16.PG_DEFAULT>;
346
+ createdAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_CREATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
347
+ updatedAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_UPDATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
348
+ blobId: typebox25.TString;
349
+ creator: typebox25.TOptional<typebox25.TString>;
350
+ creatorRealm: typebox25.TOptional<typebox25.TString>;
351
+ creatorName: typebox25.TOptional<typebox25.TString>;
352
+ bucket: typebox25.TString;
353
+ expirationDate: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
354
+ name: typebox25.TString;
355
+ size: typebox25.TNumber;
356
+ mimeType: typebox25.TString;
357
+ tags: typebox25.TOptional<typebox25.TArray<typebox25.TString>>;
358
+ checksum: typebox25.TOptional<typebox25.TString>;
359
359
  }>;
360
360
  }>;
361
361
  /**
@@ -364,8 +364,8 @@ declare class FileController {
364
364
  * Cached with ETag support for 1 year (immutable).
365
365
  */
366
366
  readonly streamFile: _alepha_server0.ActionDescriptorFn<{
367
- params: typebox188.TObject<{
368
- id: typebox188.TString;
367
+ params: typebox25.TObject<{
368
+ id: typebox25.TString;
369
369
  }>;
370
370
  response: _alepha_core1.TFile;
371
371
  }>;
@@ -386,17 +386,17 @@ declare class StorageStatsController {
386
386
  * and breakdowns by bucket and MIME type.
387
387
  */
388
388
  readonly getStats: _alepha_server0.ActionDescriptorFn<{
389
- response: typebox188.TObject<{
390
- totalSize: typebox188.TNumber;
391
- totalFiles: typebox188.TNumber;
392
- byBucket: typebox188.TArray<typebox188.TObject<{
393
- bucket: typebox188.TString;
394
- totalSize: typebox188.TNumber;
395
- fileCount: typebox188.TNumber;
389
+ response: typebox25.TObject<{
390
+ totalSize: typebox25.TNumber;
391
+ totalFiles: typebox25.TNumber;
392
+ byBucket: typebox25.TArray<typebox25.TObject<{
393
+ bucket: typebox25.TString;
394
+ totalSize: typebox25.TNumber;
395
+ fileCount: typebox25.TNumber;
396
396
  }>>;
397
- byMimeType: typebox188.TArray<typebox188.TObject<{
398
- mimeType: typebox188.TString;
399
- fileCount: typebox188.TNumber;
397
+ byMimeType: typebox25.TArray<typebox25.TObject<{
398
+ mimeType: typebox25.TString;
399
+ fileCount: typebox25.TNumber;
400
400
  }>>;
401
401
  }>;
402
402
  }>;