alepha 0.11.12 → 0.12.0

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/README.md CHANGED
@@ -126,8 +126,7 @@ $ npx alepha init --react
126
126
  Create a file `src/main.tsx`:
127
127
 
128
128
  ```tsx
129
- // src/main.tsx
130
- import { run, t } from "alepha";
129
+ import { Alepha, run, t } from "alepha";
131
130
  import { $page } from "@alepha/react";
132
131
  import { useState } from "react";
133
132
 
@@ -163,7 +162,7 @@ Run the development server:
163
162
  $ npx alepha dev
164
163
  ```
165
164
 
166
- Open your browser at `http://localhost:3000/` and see your React application in action.
165
+ Open your browser at `http://localhost:5173/` and see your React application in action.
167
166
 
168
167
  ## What's next?
169
168
 
@@ -2,7 +2,7 @@ import * as alepha14 from "alepha";
2
2
  import { Alepha, FileLike, Static, TNull, TObject, TOptional, TSchema, TUnion } from "alepha";
3
3
  import { DateTime, DateTimeProvider, DurationLike } from "alepha/datetime";
4
4
  import { UserAccount, UserAccountToken } from "alepha/security";
5
- import * as typebox22 from "typebox";
5
+ import * as typebox53 from "typebox";
6
6
  import * as alepha_orm16 from "alepha/orm";
7
7
  import { Page } from "alepha/orm";
8
8
  import * as alepha_server0 from "alepha/server";
@@ -15,37 +15,37 @@ import "alepha/retry";
15
15
  import "alepha/lock";
16
16
 
17
17
  //#region src/api-files/entities/files.d.ts
18
- declare const files: alepha_orm16.EntityDescriptor<typebox22.TObject<{
19
- id: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_PRIMARY_KEY>, typeof alepha_orm16.PG_DEFAULT>;
20
- version: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TInteger, typeof alepha_orm16.PG_VERSION>, typeof alepha_orm16.PG_DEFAULT>;
21
- createdAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_CREATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
22
- updatedAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_UPDATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
23
- blobId: typebox22.TString;
24
- creator: typebox22.TOptional<typebox22.TString>;
25
- creatorRealm: typebox22.TOptional<typebox22.TString>;
26
- creatorName: typebox22.TOptional<typebox22.TString>;
27
- bucket: typebox22.TString;
28
- expirationDate: typebox22.TOptional<typebox22.TString>;
29
- name: typebox22.TString;
30
- size: typebox22.TNumber;
31
- mimeType: typebox22.TString;
32
- tags: typebox22.TOptional<typebox22.TArray<typebox22.TString>>;
33
- checksum: typebox22.TOptional<typebox22.TString>;
18
+ declare const files: alepha_orm16.EntityDescriptor<typebox53.TObject<{
19
+ id: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_PRIMARY_KEY>, typeof alepha_orm16.PG_DEFAULT>;
20
+ version: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TInteger, typeof alepha_orm16.PG_VERSION>, typeof alepha_orm16.PG_DEFAULT>;
21
+ createdAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_CREATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
22
+ updatedAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_UPDATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
23
+ blobId: typebox53.TString;
24
+ creator: typebox53.TOptional<typebox53.TString>;
25
+ creatorRealm: typebox53.TOptional<typebox53.TString>;
26
+ creatorName: typebox53.TOptional<typebox53.TString>;
27
+ bucket: typebox53.TString;
28
+ expirationDate: typebox53.TOptional<typebox53.TString>;
29
+ name: typebox53.TString;
30
+ size: typebox53.TNumber;
31
+ mimeType: typebox53.TString;
32
+ tags: typebox53.TOptional<typebox53.TArray<typebox53.TString>>;
33
+ checksum: typebox53.TOptional<typebox53.TString>;
34
34
  }>>;
35
35
  type FileEntity = Static<typeof files.schema>;
36
36
  //#endregion
37
37
  //#region src/api-files/schemas/fileQuerySchema.d.ts
38
- declare const fileQuerySchema: typebox22.TObject<{
39
- page: typebox22.TOptional<typebox22.TInteger>;
40
- size: typebox22.TOptional<typebox22.TInteger>;
41
- sort: typebox22.TOptional<typebox22.TString>;
42
- bucket: typebox22.TOptional<typebox22.TString>;
43
- tags: typebox22.TOptional<typebox22.TArray<typebox22.TString>>;
44
- name: typebox22.TOptional<typebox22.TString>;
45
- mimeType: typebox22.TOptional<typebox22.TString>;
46
- creator: typebox22.TOptional<typebox22.TString>;
47
- createdAfter: typebox22.TOptional<typebox22.TString>;
48
- createdBefore: typebox22.TOptional<typebox22.TString>;
38
+ declare const fileQuerySchema: typebox53.TObject<{
39
+ page: typebox53.TOptional<typebox53.TInteger>;
40
+ size: typebox53.TOptional<typebox53.TInteger>;
41
+ sort: typebox53.TOptional<typebox53.TString>;
42
+ bucket: typebox53.TOptional<typebox53.TString>;
43
+ tags: typebox53.TOptional<typebox53.TArray<typebox53.TString>>;
44
+ name: typebox53.TOptional<typebox53.TString>;
45
+ mimeType: typebox53.TOptional<typebox53.TString>;
46
+ creator: typebox53.TOptional<typebox53.TString>;
47
+ createdAfter: typebox53.TOptional<typebox53.TString>;
48
+ createdBefore: typebox53.TOptional<typebox53.TString>;
49
49
  }>;
50
50
  type FileQuery = Static<typeof fileQuerySchema>;
51
51
  //#endregion
@@ -289,8 +289,8 @@ declare const envSchema: alepha14.TObject<{
289
289
  /**
290
290
  * Configuration options for the Node.js SQLite database provider.
291
291
  */
292
- declare const nodeSqliteOptions: alepha14.Atom<typebox22.TObject<{
293
- path: typebox22.TOptional<typebox22.TString>;
292
+ declare const nodeSqliteOptions: alepha14.Atom<typebox53.TObject<{
293
+ path: typebox53.TOptional<typebox53.TString>;
294
294
  }>, "alepha.postgres.node-sqlite.options">;
295
295
  type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
296
296
  declare module "alepha" {
@@ -374,46 +374,46 @@ declare module "alepha" {
374
374
  }
375
375
  //#endregion
376
376
  //#region src/api-files/schemas/fileResourceSchema.d.ts
377
- declare const fileResourceSchema: typebox22.TObject<{
378
- id: PgAttr<PgAttr<typebox22.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
379
- version: PgAttr<PgAttr<typebox22.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
380
- createdAt: PgAttr<PgAttr<typebox22.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
381
- updatedAt: PgAttr<PgAttr<typebox22.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
382
- blobId: typebox22.TString;
383
- creator: typebox22.TOptional<typebox22.TString>;
384
- creatorRealm: typebox22.TOptional<typebox22.TString>;
385
- creatorName: typebox22.TOptional<typebox22.TString>;
386
- bucket: typebox22.TString;
387
- expirationDate: typebox22.TOptional<typebox22.TString>;
388
- name: typebox22.TString;
389
- size: typebox22.TNumber;
390
- mimeType: typebox22.TString;
391
- tags: typebox22.TOptional<typebox22.TArray<typebox22.TString>>;
392
- checksum: typebox22.TOptional<typebox22.TString>;
377
+ declare const fileResourceSchema: typebox53.TObject<{
378
+ id: PgAttr<PgAttr<typebox53.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
379
+ version: PgAttr<PgAttr<typebox53.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
380
+ createdAt: PgAttr<PgAttr<typebox53.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
381
+ updatedAt: PgAttr<PgAttr<typebox53.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
382
+ blobId: typebox53.TString;
383
+ creator: typebox53.TOptional<typebox53.TString>;
384
+ creatorRealm: typebox53.TOptional<typebox53.TString>;
385
+ creatorName: typebox53.TOptional<typebox53.TString>;
386
+ bucket: typebox53.TString;
387
+ expirationDate: typebox53.TOptional<typebox53.TString>;
388
+ name: typebox53.TString;
389
+ size: typebox53.TNumber;
390
+ mimeType: typebox53.TString;
391
+ tags: typebox53.TOptional<typebox53.TArray<typebox53.TString>>;
392
+ checksum: typebox53.TOptional<typebox53.TString>;
393
393
  }>;
394
394
  type FileResource = Static<typeof fileResourceSchema>;
395
395
  //#endregion
396
396
  //#region src/api-files/schemas/storageStatsSchema.d.ts
397
- declare const bucketStatsSchema: typebox22.TObject<{
398
- bucket: typebox22.TString;
399
- totalSize: typebox22.TNumber;
400
- fileCount: typebox22.TNumber;
397
+ declare const bucketStatsSchema: typebox53.TObject<{
398
+ bucket: typebox53.TString;
399
+ totalSize: typebox53.TNumber;
400
+ fileCount: typebox53.TNumber;
401
401
  }>;
402
- declare const mimeTypeStatsSchema: typebox22.TObject<{
403
- mimeType: typebox22.TString;
404
- fileCount: typebox22.TNumber;
402
+ declare const mimeTypeStatsSchema: typebox53.TObject<{
403
+ mimeType: typebox53.TString;
404
+ fileCount: typebox53.TNumber;
405
405
  }>;
406
- declare const storageStatsSchema: typebox22.TObject<{
407
- totalSize: typebox22.TNumber;
408
- totalFiles: typebox22.TNumber;
409
- byBucket: typebox22.TArray<typebox22.TObject<{
410
- bucket: typebox22.TString;
411
- totalSize: typebox22.TNumber;
412
- fileCount: typebox22.TNumber;
406
+ declare const storageStatsSchema: typebox53.TObject<{
407
+ totalSize: typebox53.TNumber;
408
+ totalFiles: typebox53.TNumber;
409
+ byBucket: typebox53.TArray<typebox53.TObject<{
410
+ bucket: typebox53.TString;
411
+ totalSize: typebox53.TNumber;
412
+ fileCount: typebox53.TNumber;
413
413
  }>>;
414
- byMimeType: typebox22.TArray<typebox22.TObject<{
415
- mimeType: typebox22.TString;
416
- fileCount: typebox22.TNumber;
414
+ byMimeType: typebox53.TArray<typebox53.TObject<{
415
+ mimeType: typebox53.TString;
416
+ fileCount: typebox53.TNumber;
417
417
  }>>;
418
418
  }>;
419
419
  type BucketStats = Static<typeof bucketStatsSchema>;
@@ -424,22 +424,22 @@ type StorageStats = Static<typeof storageStatsSchema>;
424
424
  declare class FileService {
425
425
  protected readonly alepha: Alepha;
426
426
  protected readonly log: alepha_logger0.Logger;
427
- protected readonly fileRepository: alepha_orm16.Repository<typebox22.TObject<{
428
- id: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_PRIMARY_KEY>, typeof alepha_orm16.PG_DEFAULT>;
429
- version: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TInteger, typeof alepha_orm16.PG_VERSION>, typeof alepha_orm16.PG_DEFAULT>;
430
- createdAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_CREATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
431
- updatedAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_UPDATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
432
- blobId: typebox22.TString;
433
- creator: typebox22.TOptional<typebox22.TString>;
434
- creatorRealm: typebox22.TOptional<typebox22.TString>;
435
- creatorName: typebox22.TOptional<typebox22.TString>;
436
- bucket: typebox22.TString;
437
- expirationDate: typebox22.TOptional<typebox22.TString>;
438
- name: typebox22.TString;
439
- size: typebox22.TNumber;
440
- mimeType: typebox22.TString;
441
- tags: typebox22.TOptional<typebox22.TArray<typebox22.TString>>;
442
- checksum: typebox22.TOptional<typebox22.TString>;
427
+ protected readonly fileRepository: alepha_orm16.Repository<typebox53.TObject<{
428
+ id: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_PRIMARY_KEY>, typeof alepha_orm16.PG_DEFAULT>;
429
+ version: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TInteger, typeof alepha_orm16.PG_VERSION>, typeof alepha_orm16.PG_DEFAULT>;
430
+ createdAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_CREATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
431
+ updatedAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_UPDATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
432
+ blobId: typebox53.TString;
433
+ creator: typebox53.TOptional<typebox53.TString>;
434
+ creatorRealm: typebox53.TOptional<typebox53.TString>;
435
+ creatorName: typebox53.TOptional<typebox53.TString>;
436
+ bucket: typebox53.TString;
437
+ expirationDate: typebox53.TOptional<typebox53.TString>;
438
+ name: typebox53.TString;
439
+ size: typebox53.TNumber;
440
+ mimeType: typebox53.TString;
441
+ tags: typebox53.TOptional<typebox53.TArray<typebox53.TString>>;
442
+ checksum: typebox53.TOptional<typebox53.TString>;
443
443
  }>>;
444
444
  protected readonly dateTimeProvider: DateTimeProvider;
445
445
  protected readonly defaultBucket: BucketDescriptor;
@@ -578,34 +578,34 @@ declare class FileController {
578
578
  * Supports filtering by bucket and tags.
579
579
  */
580
580
  readonly findFiles: alepha_server0.ActionDescriptorFn<{
581
- query: typebox22.TObject<{
582
- page: typebox22.TOptional<typebox22.TInteger>;
583
- size: typebox22.TOptional<typebox22.TInteger>;
584
- sort: typebox22.TOptional<typebox22.TString>;
585
- bucket: typebox22.TOptional<typebox22.TString>;
586
- tags: typebox22.TOptional<typebox22.TArray<typebox22.TString>>;
587
- name: typebox22.TOptional<typebox22.TString>;
588
- mimeType: typebox22.TOptional<typebox22.TString>;
589
- creator: typebox22.TOptional<typebox22.TString>;
590
- createdAfter: typebox22.TOptional<typebox22.TString>;
591
- createdBefore: typebox22.TOptional<typebox22.TString>;
581
+ query: typebox53.TObject<{
582
+ page: typebox53.TOptional<typebox53.TInteger>;
583
+ size: typebox53.TOptional<typebox53.TInteger>;
584
+ sort: typebox53.TOptional<typebox53.TString>;
585
+ bucket: typebox53.TOptional<typebox53.TString>;
586
+ tags: typebox53.TOptional<typebox53.TArray<typebox53.TString>>;
587
+ name: typebox53.TOptional<typebox53.TString>;
588
+ mimeType: typebox53.TOptional<typebox53.TString>;
589
+ creator: typebox53.TOptional<typebox53.TString>;
590
+ createdAfter: typebox53.TOptional<typebox53.TString>;
591
+ createdBefore: typebox53.TOptional<typebox53.TString>;
592
592
  }>;
593
- response: alepha14.TPage<typebox22.TObject<{
594
- id: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_PRIMARY_KEY>, typeof alepha_orm16.PG_DEFAULT>;
595
- version: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TInteger, typeof alepha_orm16.PG_VERSION>, typeof alepha_orm16.PG_DEFAULT>;
596
- createdAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_CREATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
597
- updatedAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_UPDATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
598
- blobId: typebox22.TString;
599
- creator: typebox22.TOptional<typebox22.TString>;
600
- creatorRealm: typebox22.TOptional<typebox22.TString>;
601
- creatorName: typebox22.TOptional<typebox22.TString>;
602
- bucket: typebox22.TString;
603
- expirationDate: typebox22.TOptional<typebox22.TString>;
604
- name: typebox22.TString;
605
- size: typebox22.TNumber;
606
- mimeType: typebox22.TString;
607
- tags: typebox22.TOptional<typebox22.TArray<typebox22.TString>>;
608
- checksum: typebox22.TOptional<typebox22.TString>;
593
+ response: alepha14.TPage<typebox53.TObject<{
594
+ id: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_PRIMARY_KEY>, typeof alepha_orm16.PG_DEFAULT>;
595
+ version: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TInteger, typeof alepha_orm16.PG_VERSION>, typeof alepha_orm16.PG_DEFAULT>;
596
+ createdAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_CREATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
597
+ updatedAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_UPDATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
598
+ blobId: typebox53.TString;
599
+ creator: typebox53.TOptional<typebox53.TString>;
600
+ creatorRealm: typebox53.TOptional<typebox53.TString>;
601
+ creatorName: typebox53.TOptional<typebox53.TString>;
602
+ bucket: typebox53.TString;
603
+ expirationDate: typebox53.TOptional<typebox53.TString>;
604
+ name: typebox53.TString;
605
+ size: typebox53.TNumber;
606
+ mimeType: typebox53.TString;
607
+ tags: typebox53.TOptional<typebox53.TArray<typebox53.TString>>;
608
+ checksum: typebox53.TOptional<typebox53.TString>;
609
609
  }>>;
610
610
  }>;
611
611
  /**
@@ -613,13 +613,13 @@ declare class FileController {
613
613
  * Removes the file from the bucket and cleans up the database record.
614
614
  */
615
615
  readonly deleteFile: alepha_server0.ActionDescriptorFn<{
616
- params: typebox22.TObject<{
617
- id: typebox22.TString;
616
+ params: typebox53.TObject<{
617
+ id: typebox53.TString;
618
618
  }>;
619
- response: typebox22.TObject<{
620
- ok: typebox22.TBoolean;
621
- id: typebox22.TOptional<typebox22.TUnion<[typebox22.TString, typebox22.TInteger]>>;
622
- count: typebox22.TOptional<typebox22.TNumber>;
619
+ response: typebox53.TObject<{
620
+ ok: typebox53.TBoolean;
621
+ id: typebox53.TOptional<typebox53.TUnion<[typebox53.TString, typebox53.TInteger]>>;
622
+ count: typebox53.TOptional<typebox53.TNumber>;
623
623
  }>;
624
624
  }>;
625
625
  /**
@@ -628,29 +628,29 @@ declare class FileController {
628
628
  * Optionally specify bucket and expiration date.
629
629
  */
630
630
  readonly uploadFile: alepha_server0.ActionDescriptorFn<{
631
- body: typebox22.TObject<{
631
+ body: typebox53.TObject<{
632
632
  file: alepha14.TFile;
633
633
  }>;
634
- query: typebox22.TObject<{
635
- expirationDate: typebox22.TOptional<typebox22.TString>;
636
- bucket: typebox22.TOptional<typebox22.TString>;
634
+ query: typebox53.TObject<{
635
+ expirationDate: typebox53.TOptional<typebox53.TString>;
636
+ bucket: typebox53.TOptional<typebox53.TString>;
637
637
  }>;
638
- response: typebox22.TObject<{
639
- id: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_PRIMARY_KEY>, typeof alepha_orm16.PG_DEFAULT>;
640
- version: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TInteger, typeof alepha_orm16.PG_VERSION>, typeof alepha_orm16.PG_DEFAULT>;
641
- createdAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_CREATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
642
- updatedAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_UPDATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
643
- blobId: typebox22.TString;
644
- creator: typebox22.TOptional<typebox22.TString>;
645
- creatorRealm: typebox22.TOptional<typebox22.TString>;
646
- creatorName: typebox22.TOptional<typebox22.TString>;
647
- bucket: typebox22.TString;
648
- expirationDate: typebox22.TOptional<typebox22.TString>;
649
- name: typebox22.TString;
650
- size: typebox22.TNumber;
651
- mimeType: typebox22.TString;
652
- tags: typebox22.TOptional<typebox22.TArray<typebox22.TString>>;
653
- checksum: typebox22.TOptional<typebox22.TString>;
638
+ response: typebox53.TObject<{
639
+ id: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_PRIMARY_KEY>, typeof alepha_orm16.PG_DEFAULT>;
640
+ version: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TInteger, typeof alepha_orm16.PG_VERSION>, typeof alepha_orm16.PG_DEFAULT>;
641
+ createdAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_CREATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
642
+ updatedAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_UPDATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
643
+ blobId: typebox53.TString;
644
+ creator: typebox53.TOptional<typebox53.TString>;
645
+ creatorRealm: typebox53.TOptional<typebox53.TString>;
646
+ creatorName: typebox53.TOptional<typebox53.TString>;
647
+ bucket: typebox53.TString;
648
+ expirationDate: typebox53.TOptional<typebox53.TString>;
649
+ name: typebox53.TString;
650
+ size: typebox53.TNumber;
651
+ mimeType: typebox53.TString;
652
+ tags: typebox53.TOptional<typebox53.TArray<typebox53.TString>>;
653
+ checksum: typebox53.TOptional<typebox53.TString>;
654
654
  }>;
655
655
  }>;
656
656
  /**
@@ -658,30 +658,30 @@ declare class FileController {
658
658
  * Allows updating name, tags, and expiration date without modifying file content.
659
659
  */
660
660
  readonly updateFile: alepha_server0.ActionDescriptorFn<{
661
- params: typebox22.TObject<{
662
- id: typebox22.TString;
661
+ params: typebox53.TObject<{
662
+ id: typebox53.TString;
663
663
  }>;
664
- body: typebox22.TObject<{
665
- name: typebox22.TOptional<typebox22.TString>;
666
- tags: typebox22.TOptional<typebox22.TArray<typebox22.TString>>;
667
- expirationDate: typebox22.TOptional<typebox22.TString>;
664
+ body: typebox53.TObject<{
665
+ name: typebox53.TOptional<typebox53.TString>;
666
+ tags: typebox53.TOptional<typebox53.TArray<typebox53.TString>>;
667
+ expirationDate: typebox53.TOptional<typebox53.TString>;
668
668
  }>;
669
- response: typebox22.TObject<{
670
- id: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_PRIMARY_KEY>, typeof alepha_orm16.PG_DEFAULT>;
671
- version: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TInteger, typeof alepha_orm16.PG_VERSION>, typeof alepha_orm16.PG_DEFAULT>;
672
- createdAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_CREATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
673
- updatedAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox22.TString, typeof alepha_orm16.PG_UPDATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
674
- blobId: typebox22.TString;
675
- creator: typebox22.TOptional<typebox22.TString>;
676
- creatorRealm: typebox22.TOptional<typebox22.TString>;
677
- creatorName: typebox22.TOptional<typebox22.TString>;
678
- bucket: typebox22.TString;
679
- expirationDate: typebox22.TOptional<typebox22.TString>;
680
- name: typebox22.TString;
681
- size: typebox22.TNumber;
682
- mimeType: typebox22.TString;
683
- tags: typebox22.TOptional<typebox22.TArray<typebox22.TString>>;
684
- checksum: typebox22.TOptional<typebox22.TString>;
669
+ response: typebox53.TObject<{
670
+ id: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_PRIMARY_KEY>, typeof alepha_orm16.PG_DEFAULT>;
671
+ version: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TInteger, typeof alepha_orm16.PG_VERSION>, typeof alepha_orm16.PG_DEFAULT>;
672
+ createdAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_CREATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
673
+ updatedAt: alepha_orm16.PgAttr<alepha_orm16.PgAttr<typebox53.TString, typeof alepha_orm16.PG_UPDATED_AT>, typeof alepha_orm16.PG_DEFAULT>;
674
+ blobId: typebox53.TString;
675
+ creator: typebox53.TOptional<typebox53.TString>;
676
+ creatorRealm: typebox53.TOptional<typebox53.TString>;
677
+ creatorName: typebox53.TOptional<typebox53.TString>;
678
+ bucket: typebox53.TString;
679
+ expirationDate: typebox53.TOptional<typebox53.TString>;
680
+ name: typebox53.TString;
681
+ size: typebox53.TNumber;
682
+ mimeType: typebox53.TString;
683
+ tags: typebox53.TOptional<typebox53.TArray<typebox53.TString>>;
684
+ checksum: typebox53.TOptional<typebox53.TString>;
685
685
  }>;
686
686
  }>;
687
687
  /**
@@ -690,8 +690,8 @@ declare class FileController {
690
690
  * Cached with ETag support for 1 year (immutable).
691
691
  */
692
692
  readonly streamFile: alepha_server0.ActionDescriptorFn<{
693
- params: typebox22.TObject<{
694
- id: typebox22.TString;
693
+ params: typebox53.TObject<{
694
+ id: typebox53.TString;
695
695
  }>;
696
696
  response: alepha14.TFile;
697
697
  }>;
@@ -769,17 +769,17 @@ declare class StorageStatsController {
769
769
  * and breakdowns by bucket and MIME type.
770
770
  */
771
771
  readonly getStats: alepha_server0.ActionDescriptorFn<{
772
- response: typebox22.TObject<{
773
- totalSize: typebox22.TNumber;
774
- totalFiles: typebox22.TNumber;
775
- byBucket: typebox22.TArray<typebox22.TObject<{
776
- bucket: typebox22.TString;
777
- totalSize: typebox22.TNumber;
778
- fileCount: typebox22.TNumber;
772
+ response: typebox53.TObject<{
773
+ totalSize: typebox53.TNumber;
774
+ totalFiles: typebox53.TNumber;
775
+ byBucket: typebox53.TArray<typebox53.TObject<{
776
+ bucket: typebox53.TString;
777
+ totalSize: typebox53.TNumber;
778
+ fileCount: typebox53.TNumber;
779
779
  }>>;
780
- byMimeType: typebox22.TArray<typebox22.TObject<{
781
- mimeType: typebox22.TString;
782
- fileCount: typebox22.TNumber;
780
+ byMimeType: typebox53.TArray<typebox53.TObject<{
781
+ mimeType: typebox53.TString;
782
+ fileCount: typebox53.TNumber;
783
783
  }>>;
784
784
  }>;
785
785
  }>;